mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 08:02:13 -07:00
Add a custom shutdown message set in bukkit.yml. Addresses BUKKIT-3031
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user