3/19/2024 0 Comments Minecraft server pluginsgradlew build Developer API Repository / Dependency Run the project with gradle build to compile it with dependencies.There are two ways to compile ServerUtils: 1. Improper cleanup, or improper startup practises may break plugin (re/un)loading as well. Please note that reloading may not be compatible with each and every plugin! Plugins which depend on a reloaded plugin, are likely to be error-prone for reloading. Then the plugin will be unloaded from the memory, so the plugin won't appear at all anymore in the /plugin list.After disabling, the plugin is still loaded in memory, but it is seen "red" in the /plugin list. This causes the plugin to lose all of it's features, like commands, event listeners, etc. This causes the plugin to spit all sorts of things in the console (which the developer found important to notify you about at startup), like database connections being setup etc.įully disabling a plugin (like closing the server) At the second step, a plugin is enabled.The plugin is now "red" in the /plugin list, because it is not yet enabled. To understand the difference between loading / enabling / disabling / unloading of plugins, I will describe the load stages below: Fully loading a plugin (like at startup): Please take a look at the Bukkit and Bungee events! Plugins can listen for changes! ServerUtils offers an event API which can notify plugins precisely what component has been loaded, enabled, disabled or unloaded - all with a Pre and Post stage. This feature is disabled by default, but can be precisely configured per config. The plugin can be configured to automatically download & install new updates of the plugin on server boot or when updates are checked. Please note: currently, this only works on 1.8 - 1.16. Spigot/Paper configs are not reloaded, you can reload those with /paper reload or /spigot reload. Reload the bukkit configuration on the fly without performing a whole reload or restart on the server! Please note: some configuration options may not be reloaded, please contact me if you think this is an error.Reload commands.yml on the fly without performing a whole reload or restart on the server! Useful to quickly make aliases :) Please note: currently, this only works on 1.8 - 1.16.ServerUtils can also restart / update itself, as a gimmick (:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |