public class SubEditServerEvent extends Event
Constructor and Description |
---|
SubEditServerEvent(java.util.UUID player,
java.lang.String 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
|
java.lang.String |
getServer()
Gets the Server to be Edited
|
boolean |
isPermanent()
Gets if the edit is permanent
|
getAPI, getHandlers, getPlugin, toString
public SubEditServerEvent(java.util.UUID player, java.lang.String server, NamedContainer<java.lang.String,?> edit, boolean permanent)
player
- Player Adding Serverserver
- Server to be Editededit
- Edit to makepermanent
- If the change is permanentpublic java.lang.String getServer()
public java.util.UUID getPlayer()
public NamedContainer<java.lang.String,YAMLValue> getEdit()
public boolean isPermanent()