public class InventoryEditManager extends AbstractInventoryEditManager implements org.bukkit.event.Listener
| Constructor and Description |
|---|
InventoryEditManager(TriggerReactorCore plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
continueEdit(IPlayer player) |
void |
discardEdit(IPlayer player) |
void |
onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent e) |
void |
onQuit(org.bukkit.event.player.PlayerQuitEvent event) |
void |
reload()
Reload all triggers
|
void |
saveAll()
Save all triggers
|
void |
saveEdit(IPlayer player) |
void |
startEdit(IPlayer player,
InventoryTrigger trigger) |
replaceItems, stopEditdisable, getManagerspublic InventoryEditManager(TriggerReactorCore plugin)
public void reload()
Managerpublic void saveAll()
Managerpublic void startEdit(IPlayer player, InventoryTrigger trigger)
startEdit in class AbstractInventoryEditManagerpublic void continueEdit(IPlayer player)
continueEdit in class AbstractInventoryEditManagerpublic void discardEdit(IPlayer player)
discardEdit in class AbstractInventoryEditManagerpublic void saveEdit(IPlayer player)
saveEdit in class AbstractInventoryEditManagerpublic void onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent e)
public void onQuit(org.bukkit.event.player.PlayerQuitEvent event)