mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Added set/getSpawnRadius in Server
This commit is contained in:
parent
30ee49f209
commit
686606543e
1 changed files with 14 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue