mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Allow any ASCII character in server name/motd, fixes #443 (Thanks Pear)
This commit is contained in:
parent
5262b48800
commit
79f8940cf0
@ -170,12 +170,12 @@ namespace MCGalaxy {
|
||||
[ConfigBool("tablist-bots", "Tablist", null, false)]
|
||||
public static bool TablistBots = false;
|
||||
|
||||
[ConfigString("server-name", "General", null,
|
||||
"[MCGalaxy] Default", false, "![]&:.,{}~-+()?_/\\' ", 64)]
|
||||
const string asciiChars = " !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
|
||||
[ConfigString("server-name", "General", null, "[MCGalaxy] Default", false, asciiChars, 64)]
|
||||
public static string name = "[MCGalaxy] Default";
|
||||
[ConfigString("motd", "General", null, "Welcome",
|
||||
false, "=![]&:.,{}~-+()?_/\\' ", 128)]
|
||||
[ConfigString("motd", "General", null, "Welcome", false, asciiChars, 128)]
|
||||
public static string motd = "Welcome!";
|
||||
|
||||
[ConfigInt("max-players", "Server", null, 12, 1, 128)]
|
||||
public static int players = 12;
|
||||
[ConfigInt("max-guests", "Server", null, 10, 1, 128)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user