mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-08-04 08:59:33 +07:00
Fixed #1445
This commit is contained in:
@ -172,8 +172,8 @@ public class NetClient implements ApplicationListener{
|
||||
}
|
||||
|
||||
//special case; graphical server needs to see its message
|
||||
if(!headless && player == Vars.player){
|
||||
Vars.ui.chatfrag.addMessage(message, colorizeName(player.id, player.name));
|
||||
if(!headless){
|
||||
sendMessage(message, colorizeName(player.id, player.name), player);
|
||||
}
|
||||
|
||||
//server console logging
|
||||
|
@ -420,7 +420,7 @@ public class Administration{
|
||||
crashReport("Whether to send crash reports.", false, "crashreport"),
|
||||
logging("Whether to log everything to files.", true),
|
||||
strict("Whether strict mode is on - corrects positions and prevents duplicate UUIDs.", true),
|
||||
antiSpam("Whether spammers are automatically kicked and rate-limited.", true),
|
||||
antiSpam("Whether spammers are automatically kicked and rate-limited.", headless),
|
||||
messageRateLimit("Message rate limit in seconds. 0 to disable.", 0),
|
||||
messageSpamKick("How many times a player must send a message before the cooldown to get kicked. 0 to disable.", 3),
|
||||
socketInput("Allows a local application to control this server through a local TCP socket.", false, "socket", () -> Events.fire(Trigger.socketConfigChanged)),
|
||||
|
Reference in New Issue
Block a user