Uses of Interface
com.welcome234.pluginsystem.PluginJava
Packages that use PluginJava
Package
Description
This is the main package of the API, containing general classes
-
Uses of PluginJava in com.welcome234.pluginsystem
Methods in com.welcome234.pluginsystem that return PluginJavaModifier and TypeMethodDescriptionstatic PluginJavaTasks.getOwner(int id)Gets the plugin that runs this task for the specified ID numberTaskScheduler.getOwner()Gets the plugin that runs this taskstatic PluginJavaGets the plugin instance from the namestatic PluginJava[]PluginInfo.getPlugins()Gets all plugins currently loadedMethods in com.welcome234.pluginsystem with parameters of type PluginJavaModifier and TypeMethodDescriptionstatic voidTasks.cancelTasks(PluginJava plugin)Cancels all tasks for the specified plugin instancestatic ConfigurationPluginInfo.getConfiguration(String name, PluginJava plugin)Gets a configuration for the specified name, used for saving and retrieving datastatic LoggerPluginInfo.getLogger(PluginJava plugin)Gets the logger for the specified pluginstatic StringPluginInfo.getName(PluginJava plugin)Gets the name of a pluginstatic FilePluginInfo.getPluginFolder(PluginJava plugin)Gets the directory of a plugin, for saving plugin files, configurations and resourcesstatic StringPluginInfo.getVersion(PluginJava plugin)Gets the version of a pluginstatic booleanPluginInfo.isEnabled(PluginJava plugin)Gets whether the plugin is currently enabledstatic voidPluginInfo.registerCommand(String command, Command commandclass, PluginJava plugin)Registers a new command with the Command instancestatic voidPluginInfo.registerCustomChunkGenerator(String generatorName, CustomGenerator generator, PluginJava plugin)Registers a new custom chunk generator type with the CustomGenerator instancestatic voidPluginInfo.registerCustomGenerator(String generatorName, CustomGenerator generator, PluginJava plugin)Deprecated.Worlds are now infinite, use registerCustomChunkGenerator insteadstatic voidPluginInfo.registerListener(EventsListener listener, PluginJava plugin)Registers a new event listener with an EventsListener instancevoidTaskScheduler.runLater(PluginJava plugin, int delay)Runs this task delayed after the specified tick countvoidTaskScheduler.runTimer(PluginJava plugin, int delay, int period)Runs this task repeatedly with the specified tick interval