• Automatically reload plugins when uploaded.
• Automatically load plugins when uploaded.
• Automatically reload a plugins dependencies.
• Supports small, large & modded servers.
• Supports small and large plugins.
• Fully configurable messages.
• Fully configurable settings.
• Toggle-able alert messages.
• Ignore specified plugins.
• Tab completion support!
• No dependencies!
• Alert messages for:
» Automatically reload plugins.
» Automatically load plugins.
• Folia support.
Code (Text):
• AutoPluginLoader.Alerts » Get alerts when a plugin is automatically reloaded/loaded.
• AutoPluginLoader.Commands » View & use the commands. (Required to use any other command)
• AutoPluginLoader.Load » Load a plugin.
• AutoPluginLoader.Unload » Unload a plugin.
• AutoPluginLoader.Reload » Reload a plugin.
• AutoPluginLoader.Usage » View the commands for a plugin.
• AutoPluginLoader.Info » View the info on a plugin.
• AutoPluginLoader.List » View the list of plugins.
• AutoPluginLoader.ReloadConfig » Reload the config.yml.
• AutoPluginLoader.Version » View APL's currently loaded version.
• AutoPluginLoader.History » View the sessions APL history.
# ============================================================================= # Core Settings # ============================================================================= settings: # ------------------------------------------------------------------------- # ► Target plugins folder # ------------------------------------------------------------------------- # Folder where your plugins (*.jar) are stored. # Usually this should remain as 'plugins'. Your-Plugins-Folder: 'plugins'
# ------------------------------------------------------------------------- # ► Auto-load / Auto-update behavior # ------------------------------------------------------------------------- Automatically-Load-Plugins: true
Automatically-Update-Plugins: true
# NOTE: # This DOES NOT mean that when an update is released online it will be # automatically downloaded and uploaded to your server. # # This option refers to the scenario where you replace or drag an updated # jar into the plugins folder (e.g., a new WorldEdit jar). APL detects the # changed file and reloads the plugin's code, updating the currently # loaded version WITHOUT needing a full server restart. # # Sorry for any confusion — this is purely local file-based detection.
# ------------------------------------------------------------------------- # ► Task timings (in seconds) # ------------------------------------------------------------------------- Load-Data-Delay: 5
# Seconds – must be < Timer-Delay Task:
Timer-Delay: 10
# Seconds – must be > Load-Data-Delay (initial wait before first scan) Timer: 1
# Seconds – interval between plugin folder checks
# Minimum age (seconds) a modified jar must have before APL triggers a reload: Seconds-Before-Reloading: 5
# Delay (seconds) to wait after uploading a NEW *.jar before attempting to load it: Seconds-Before-Loading: 5
# ------------------------------------------------------------------------- # ► Dependency behavior & alerts # ------------------------------------------------------------------------- Always-Reload-A-Plugins-Dependencies: true
# If false, use “-d” flag when unloading to reload deps Send-Players-Alerts: true
# Players need AutoPluginLoader.Alerts permission
• APLMain.PluginAPI.loadPlugin(File plugin);
» Loads a plugin. (Must be done before enabling a plugin)
• APLMain.PluginAPI.enablePlugin(Plugin plugin);
» Enable a plugin. (Must be loaded)
• APLMain.PluginAPI.getPlugin(String s);
» Make a string return as a Plugin.
• APLMain.PluginAPI.getPlugins();
» Returns all plugins as an ArrayList<Plugin>().
• APLMain.PluginAPI.getPluginsInAlphabeticalOrder();
» Returns all plugins as an ArrayList<Plugin>(), but in alphabetical order.
• APLMain.PluginAPI.disablePlugin(Plugin plugin);
» Disables a plugin. (Recommend to unload it 1st)
• APLMain.PluginAPI.reloadPlugin(Plugin plugin);
» Disables and then enables a plugin. (Doesn't refresh new code in a plugin)
• APLMain.PluginAPI.unloadPlugin(Plugin plugin, Boolean ReloadDependents);
» Unload a plugin and have the option to reload the plugins that plugin depends on.
• APLMain.PluginAPI.getDescription(File file);
» Returns the PluginDescriptionFile of a file.
• APLMain.PluginAPI.getFile(JavaPlugin plugin);
» Grab the file from a plugin.
The quickest way to get support for any of my resources
would be to join my Resource Discord.
»
https://discord.gg/2vUqykD
Note »
Please
DO NOT leave bad reviews for any issues
that you have. Please simply PM me or leave it
in the discussion tab. Thank you.