mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Added per world PVP setting support.
This commit is contained in:
parent
6ed9db18b7
commit
5315ea2595
1 changed files with 12 additions and 0 deletions
|
@ -496,6 +496,18 @@ public interface World {
|
|||
*/
|
||||
public long getSeed();
|
||||
|
||||
/**
|
||||
* Gets the current PVP setting for this world.
|
||||
* @return
|
||||
*/
|
||||
public boolean getPVP();
|
||||
|
||||
/**
|
||||
* Sets the PVP setting for this world.
|
||||
* @param pvp True/False whether PVP should be Enabled.
|
||||
*/
|
||||
public void setPVP(boolean pvp);
|
||||
|
||||
/**
|
||||
* Saves world to disk
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue