-
Notifications
You must be signed in to change notification settings - Fork 0
BukkitUtils
Fulminazzo edited this page Oct 2, 2023
·
2 revisions
BukkitUtils is a series of functions to work with plugins. The most important ones are:
-
isPluginEnabled(): returns true or false if the plugin is enabled or not. It supportsString pluginNameandPlugin pluginas parameters; -
reloadPlugin(Plugin plugin): a combination ofunloadPlugin()andloadPlugin(); -
loadPlugin(): loads a plugin; It supportsString pluginName,File jarFileandJavaPlugin pluginas parameters; -
unloadPlugin(Plugin plugin): tries to unload a plugin (follows the same methodology of PlugManX).
There are also available: - ```isPaper()```: returns true if the server is on [Paper](https://papermc.io/); - ```getMaterialValues()```: returns an array containing the result of ```Material.values()```.
- Home
- How to start a plugin
- Work with Configuration Files
- Work with Enums
- Work with Commands
- Work with Custom Players
- Work with Messaging Channels
- Creating custom SavableObjects
- Timers
- General Utils
- Placeholders
- Bukkit Utils
- Velocity Utils