[Skript] PLUGIN CONTROL - enable/disable or reload plugins icon

[Skript] PLUGIN CONTROL - enable/disable or reload plugins -----

PLUGIN CONTROL SKRIPT - enable/disable or reload plugins



This Skript adds admin commands that let you
ENABLE, DISABLE, RELOAD, and CHECK the STATUS of
server plugins directly from chat, similar to the
PlugMan plugin (Safe Mode only).

It uses skript-reflect to call Bukkit’s internal
PluginManager functions for clean, controlled
plugin management — no hard reloads or class
unloading.​


⚙️ COMMANDS
----------------------------------------
/plugctl status <plugin>
➜ Shows whether the specified plugin is enabled or disabled.

/plugctl enable <plugin>
➜ Enables the specified plugin.

/plugctl disable <plugin>
➜ Disables the specified plugin (will refuse to disable Skript itself).

/plugctl reload <plugin>
➜ Disables and re-enables the specified plugin.

If you type just `/plugctl`, it shows usage help.


PERMISSIONS
----------------------------------------
Base permission:
plugin.control


REQUIRED ADDONS
----------------------------------------
• Skript (2.12.2 or newer)
• skript-reflect (2.6.1 or newer)

These are mandatory, since skript-reflect provides
the Java reflection bridge used to call Bukkit API
methods.


SERVER COMPATIBILITY
----------------------------------------
• Tested on Paper / Spigot servers
• Minecraft 1.20+ (Java 17 or newer)
• Recommended: Java 21 for latest builds


⚠️ WARNING / DISCLAIMER
----------------------------------------
• This Skript uses Bukkit's enable/disable methods —
it does NOT unload or reload plugin classes.

• While it’s safe for most plugins, a full server
restart is always the most reliable way
to apply
changes or reload plugins, especially after major
config edits or plugin updates.

• Avoid disabling core plugins like Skript, LuckPerms,
Vault, or other dependencies during runtime.

• Use these commands only if you understand their
impact. Unexpected behavior can occur with poorly
designed plugins when disabled mid-operation.​
Resource Information
Author:
----------
Total Downloads: 10
First Release: Oct 31, 2025
Last Update: Oct 31, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings