Constructor and Description |
---|
SubEditServerEvent(java.util.UUID player,
Server server,
NamedContainer<java.lang.String,?> edit,
boolean permanent)
Server Edit Event
|
Modifier and Type | Method and Description |
---|---|
NamedContainer<java.lang.String,YAMLValue> |
getEdit()
Gets the edit to be made
|
java.util.UUID |
getPlayer()
Gets the player that triggered the Event
|
Server |
getServer()
Gets the Server to be Edited
|
boolean |
isCancelled()
Gets the Cancelled Status
|
boolean |
isPermanent()
Gets if the edit is permanent
|
void |
setCancelled(boolean value)
Sets the Cancelled Status
|
public SubEditServerEvent(java.util.UUID player, Server server, NamedContainer<java.lang.String,?> edit, boolean permanent)
player
- Player Adding Serverserver
- Server to be Editededit
- Edit to makepermanent
- If the change is permanentpublic Server getServer()
public java.util.UUID getPlayer()
public NamedContainer<java.lang.String,YAMLValue> getEdit()
public boolean isPermanent()
public boolean isCancelled()
isCancelled
in interface net.md_5.bungee.api.plugin.Cancellable
public void setCancelled(boolean value)
setCancelled
in interface net.md_5.bungee.api.plugin.Cancellable