mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-19 06:42:02 +01:00
Added set/getSpawnRadius in Server
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
b02e6095bd
commit
93406ae5d2
@ -271,4 +271,18 @@ public interface Server {
|
||||
* @return Map of aliases to command names
|
||||
*/
|
||||
public Map<String, String> getCommandAliases();
|
||||
|
||||
/**
|
||||
* Gets the radius, in blocks, around each worlds spawn point to protect
|
||||
*
|
||||
* @return Spawn radius, or 0 if none
|
||||
*/
|
||||
public int getSpawnRadius();
|
||||
|
||||
/**
|
||||
* Sets the radius, in blocks, around each worlds spawn point to protect
|
||||
*
|
||||
* @param value New spawn radius, or 0 if none
|
||||
*/
|
||||
public void setSpawnRadius(int value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user