Package com.plotsquared.bukkit
Class BukkitPlatform
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.plotsquared.bukkit.BukkitPlatform
- All Implemented Interfaces:
LocaleHolder
,PlotPlatform<Player>
,CommandExecutor
,TabCompleter
,TabExecutor
,Listener
,Plugin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
final @Nullable ChunkGenerator
getDefaultWorldGenerator
(@NonNull String worldName, @Nullable String id) getGenerator
(@NonNull String world, @Nullable String name) getPlatformWorld
(@NonNull String worldName) injector()
boolean
void
void
onEnable()
@NonNull PlayerManager<? extends PlotPlayer<Player>,
? extends Player> int @NonNull []
void
setGenerator
(@NonNull String worldName) void
void
shutdown()
void
void
toLegacyPlatformString
(@NonNull Component component) void
unregister
(@NonNull PlotPlayer<?> player) int
int
wrapPlotGenerator
(@NonNull String world, @NonNull IndependentPlotGenerator generator) Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.plotsquared.core.PlotPlatform
backupManager, chunkManager, defaultGenerator, econHandler, expireManager, globalBlockQueue, hybridUtils, permissionHandler, placeholderRegistry, regionManager, servicePipeline, setupUtils, worldUtil
Methods inherited from interface org.bukkit.plugin.Plugin
getLog4JLogger, getSLF4JLogger
-
Constructor Details
-
BukkitPlatform
public BukkitPlatform()
-
-
Method Details
-
serverVersion
- Specified by:
serverVersion
in interfacePlotPlatform<Player>
-
versionMinHeight
- Specified by:
versionMinHeight
in interfacePlotPlatform<Player>
-
versionMaxHeight
- Specified by:
versionMaxHeight
in interfacePlotPlatform<Player>
-
serverImplementation
- Specified by:
serverImplementation
in interfacePlotPlatform<Player>
-
onEnable
- Specified by:
onEnable
in interfacePlugin
- Overrides:
onEnable
in classJavaPlugin
-
onDisable
- Specified by:
onDisable
in interfacePlugin
- Overrides:
onDisable
in classJavaPlugin
-
shutdown
- Specified by:
shutdown
in interfacePlotPlatform<Player>
-
shutdownServer
- Specified by:
shutdownServer
in interfacePlotPlatform<Player>
-
getDirectory
- Specified by:
getDirectory
in interfacePlotPlatform<Player>
-
worldContainer
- Specified by:
worldContainer
in interfacePlotPlatform<Player>
-
getDefaultWorldGenerator
public final @Nullable ChunkGenerator getDefaultWorldGenerator(@NonNull String worldName, @Nullable String id) - Specified by:
getDefaultWorldGenerator
in interfacePlugin
- Overrides:
getDefaultWorldGenerator
in classJavaPlugin
-
getGenerator
- Specified by:
getGenerator
in interfacePlotPlatform<Player>
-
startMetrics
- Specified by:
startMetrics
in interfacePlotPlatform<Player>
-
unregister
- Specified by:
unregister
in interfacePlotPlatform<Player>
-
setGenerator
- Specified by:
setGenerator
in interfacePlotPlatform<Player>
-
serverNativePackage
- Specified by:
serverNativePackage
in interfacePlotPlatform<Player>
-
wrapPlotGenerator
public @NonNull GeneratorWrapper<?> wrapPlotGenerator(@NonNull String world, @NonNull IndependentPlotGenerator generator) - Specified by:
wrapPlotGenerator
in interfacePlotPlatform<Player>
-
pluginsFormatted
- Specified by:
pluginsFormatted
in interfacePlotPlatform<Player>
-
worldEditImplementations
- Specified by:
worldEditImplementations
in interfacePlotPlatform<Player>
-
getPlatformWorld
- Specified by:
getPlatformWorld
in interfacePlotPlatform<Player>
-
consoleAudience
- Specified by:
consoleAudience
in interfacePlotPlatform<Player>
-
pluginName
- Specified by:
pluginName
in interfacePlotPlatform<Player>
-
getSingleWorldListener
-
injector
- Specified by:
injector
in interfacePlotPlatform<Player>
-
plotAreaManager
- Specified by:
plotAreaManager
in interfacePlotPlatform<Player>
-
getLocale
- Specified by:
getLocale
in interfaceLocaleHolder
-
setLocale
- Specified by:
setLocale
in interfaceLocaleHolder
-
worldManager
- Specified by:
worldManager
in interfacePlotPlatform<Player>
-
playerManager
- Specified by:
playerManager
in interfacePlotPlatform<Player>
-
copyCaptionMaps
- Specified by:
copyCaptionMaps
in interfacePlotPlatform<Player>
-
toLegacyPlatformString
- Specified by:
toLegacyPlatformString
in interfacePlotPlatform<Player>
-
isFaweHooking
- Specified by:
isFaweHooking
in interfacePlotPlatform<Player>
-