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
|
//special case; graphical server needs to see its message
|
||||||
if(!headless && player == Vars.player){
|
if(!headless){
|
||||||
Vars.ui.chatfrag.addMessage(message, colorizeName(player.id, player.name));
|
sendMessage(message, colorizeName(player.id, player.name), player);
|
||||||
}
|
}
|
||||||
|
|
||||||
//server console logging
|
//server console logging
|
||||||
|
|||||||
@@ -420,7 +420,7 @@ public class Administration{
|
|||||||
crashReport("Whether to send crash reports.", false, "crashreport"),
|
crashReport("Whether to send crash reports.", false, "crashreport"),
|
||||||
logging("Whether to log everything to files.", true),
|
logging("Whether to log everything to files.", true),
|
||||||
strict("Whether strict mode is on - corrects positions and prevents duplicate UUIDs.", 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),
|
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),
|
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)),
|
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