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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinal @Nullable ChunkGeneratorgetDefaultWorldGenerator(@NonNull String worldName, @Nullable String id) getGenerator(@NonNull String world, @Nullable String name) getPlatformWorld(@NonNull String worldName) injector()booleanvoidvoidonEnable()@NonNull PlayerManager<? extends PlotPlayer<Player>,? extends Player> int @NonNull []voidsetGenerator(@NonNull String worldName) voidvoidshutdown()voidtoLegacyPlatformString(@NonNull Component component) voidunregister(@NonNull PlotPlayer<?> player) intintwrapPlotGenerator(@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, toStringMethods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.plotsquared.core.PlotPlatform
backupManager, chunkManager, defaultGenerator, econHandler, globalBlockQueue, hybridUtils, permissionHandler, placeholderRegistry, regionManager, servicePipeline, setupUtils, worldUtilMethods inherited from interface org.bukkit.plugin.Plugin
getLog4JLogger, getSLF4JLogger
-
Constructor Details
-
BukkitPlatform
public BukkitPlatform()
-
-
Method Details
-
serverVersion
- Specified by:
serverVersionin interfacePlotPlatform<Player>
-
versionMinHeight
public int versionMinHeight()- Specified by:
versionMinHeightin interfacePlotPlatform<Player>
-
versionMaxHeight
public int versionMaxHeight()- Specified by:
versionMaxHeightin interfacePlotPlatform<Player>
-
serverImplementation
- Specified by:
serverImplementationin interfacePlotPlatform<Player>
-
onEnable
public void onEnable()- Specified by:
onEnablein interfacePlugin- Overrides:
onEnablein classJavaPlugin
-
onDisable
public void onDisable()- Specified by:
onDisablein interfacePlugin- Overrides:
onDisablein classJavaPlugin
-
shutdown
public void shutdown()- Specified by:
shutdownin interfacePlotPlatform<Player>
-
getDirectory
- Specified by:
getDirectoryin interfacePlotPlatform<Player>
-
worldContainer
- Specified by:
worldContainerin interfacePlotPlatform<Player>
-
getDefaultWorldGenerator
public final @Nullable ChunkGenerator getDefaultWorldGenerator(@NonNull String worldName, @Nullable String id) - Specified by:
getDefaultWorldGeneratorin interfacePlugin- Overrides:
getDefaultWorldGeneratorin classJavaPlugin
-
getGenerator
- Specified by:
getGeneratorin interfacePlotPlatform<Player>
-
startMetrics
public void startMetrics()- Specified by:
startMetricsin interfacePlotPlatform<Player>
-
unregister
- Specified by:
unregisterin interfacePlotPlatform<Player>
-
setGenerator
- Specified by:
setGeneratorin interfacePlotPlatform<Player>
-
serverNativePackage
- Specified by:
serverNativePackagein interfacePlotPlatform<Player>
-
wrapPlotGenerator
public @NonNull GeneratorWrapper<?> wrapPlotGenerator(@NonNull String world, @NonNull IndependentPlotGenerator generator) - Specified by:
wrapPlotGeneratorin interfacePlotPlatform<Player>
-
pluginsFormatted
- Specified by:
pluginsFormattedin interfacePlotPlatform<Player>
-
worldEditImplementations
- Specified by:
worldEditImplementationsin interfacePlotPlatform<Player>
-
getPlatformWorld
- Specified by:
getPlatformWorldin interfacePlotPlatform<Player>
-
consoleAudience
- Specified by:
consoleAudiencein interfacePlotPlatform<Player>
-
pluginName
- Specified by:
pluginNamein interfacePlotPlatform<Player>
-
getSingleWorldListener
-
injector
- Specified by:
injectorin interfacePlotPlatform<Player>
-
plotAreaManager
- Specified by:
plotAreaManagerin interfacePlotPlatform<Player>
-
getLocale
- Specified by:
getLocalein interfaceLocaleHolder
-
setLocale
- Specified by:
setLocalein interfaceLocaleHolder
-
worldManager
- Specified by:
worldManagerin interfacePlotPlatform<Player>
-
playerManager
- Specified by:
playerManagerin interfacePlotPlatform<Player>
-
copyCaptionMaps
public void copyCaptionMaps()- Specified by:
copyCaptionMapsin interfacePlotPlatform<Player>
-
toLegacyPlatformString
- Specified by:
toLegacyPlatformStringin interfacePlotPlatform<Player>
-
isFaweHooking
public boolean isFaweHooking()- Specified by:
isFaweHookingin interfacePlotPlatform<Player>
-