public interface WorldGuardPlatform
| Modifier and Type | Method and Description |
|---|---|
void |
addPlatformReports(com.sk89q.worldedit.util.report.ReportList report)
Adds reports specific to this platform.
|
void |
broadcastNotification(java.lang.String message)
Notifies all with the worldguard.notify permission.
|
java.nio.file.Path |
getConfigDir()
Gets the configuration directory.
|
DebugHandler |
getDebugHandler()
Gets the handler for debug commands.
|
com.sk89q.worldedit.world.gamemode.GameMode |
getDefaultGameMode()
Gets the servers default game mode.
|
ConfigurationManager |
getGlobalStateManager()
Get the global ConfigurationManager.
|
StringMatcher |
getMatcher()
Gets an instance of the matcher, which handles matching
worlds, players, colours, etc from strings.
|
java.lang.String |
getPlatformName()
Gets the name of the platform.
|
java.lang.String |
getPlatformVersion()
Gets the version of the platform.
|
RegionContainer |
getRegionContainer()
Gets a RegionContainer.
|
SessionManager |
getSessionManager()
Gets the session manager.
|
void |
load()
Load the platform
|
void |
notifyFlagContextCreate(FlagContext.FlagContextBuilder flagContextBuilder)
Notifies the platform when a flag context is created.
|
void |
stackPlayerInventory(LocalPlayer localPlayer)
Stack the inventory of the player
|
void |
unload()
Unload the platform
|
java.lang.String getPlatformName()
java.lang.String getPlatformVersion()
void notifyFlagContextCreate(FlagContext.FlagContextBuilder flagContextBuilder)
flagContextBuilder - The flag contextConfigurationManager getGlobalStateManager()
StringMatcher getMatcher()
SessionManager getSessionManager()
void broadcastNotification(java.lang.String message)
message - The notification to broadcastvoid load()
void unload()
RegionContainer getRegionContainer()
DebugHandler getDebugHandler()
com.sk89q.worldedit.world.gamemode.GameMode getDefaultGameMode()
java.nio.file.Path getConfigDir()
void stackPlayerInventory(LocalPlayer localPlayer)
localPlayer - The playervoid addPlatformReports(com.sk89q.worldedit.util.report.ReportList report)
report - The reportlist