geforkt von Mirrors/Paper
Add a custom shutdown message set in bukkit.yml. Addresses BUKKIT-3031
By: feildmaster <admin@feildmaster.com>
Dieser Commit ist enthalten in:
Ursprung
8c0f05c6ef
Commit
d54778d339
@ -930,6 +930,10 @@ public final class CraftServer implements Server {
|
||||
return configuration.getInt("settings.spawn-radius", -1);
|
||||
}
|
||||
|
||||
public String getShutdownMessage() {
|
||||
return configuration.getString("settings.shutdown-message");
|
||||
}
|
||||
|
||||
public int getSpawnRadius() {
|
||||
return ((DedicatedServer) console).propertyManager.getInt("spawn-protection", 16);
|
||||
}
|
||||
|
@ -24,6 +24,7 @@ settings:
|
||||
connection-throttle: 4000
|
||||
query-plugins: true
|
||||
deprecated-verbose: default
|
||||
shutdown-message: Server closed
|
||||
spawn-limits:
|
||||
monsters: 70
|
||||
animals: 15
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren