ModsJava
Toggleable Events - Skript
The control of your server is just one toggle away.
⬇ Download on Spigot
[- FAQ -]
- What does Toggleable Events do?
Toggleable Events lets admins (and developers) easily enable/disable certain events such as PvP damage, or opening inventories (such as chests).
If you run /tevents and it returns the credits for the script, then it works.
- An event that I want to be toggleable isn't in the script!
If you want to suggest an event, then leave a comment on the resource, and I will consider adding it. And while you're there, please consider leaving a review!
[- Permissions List -]
Showcase of it working:
- What does Toggleable Events do?
Toggleable Events lets admins (and developers) easily enable/disable certain events such as PvP damage, or opening inventories (such as chests).
Spoiler: For Developers:
- How do I know that it's working?
- How do I use this in my own scripts?
In order to use these events in your own scripts, all you have to do is change any of the variables in the "variables:" section of ToggleableEvents.sk. In your own script, set the variable(s) to either true (on), or false (off).
In order to use these events in your own scripts, all you have to do is change any of the variables in the "variables:" section of ToggleableEvents.sk. In your own script, set the variable(s) to either true (on), or false (off).
If you run /tevents and it returns the credits for the script, then it works.
- An event that I want to be toggleable isn't in the script!
If you want to suggest an event, then leave a comment on the resource, and I will consider adding it. And while you're there, please consider leaving a review!

[- Permissions List -]
Spoiler: Permissions List
- tevents.admin - All permissions.
- tevents.reload - Permission to reload the plugin. (Only works if you have the Skript permission)
- tevents.edit - All edit permissions.
- tevents.on - Permission to turn on events.
- tevents.off - Permission to turn off events.
- tevents.toggle - Permission to toggle events.
- tevents.events.all - All event permissions.
- tevents.events.pvp - Permission to edit the PvP event.
- tevents.events.falldamage - Permission to edit the Fall Damage event.
- tevents.events.crafting - Permission to edit the Crafting event.
- tevents.events.hunger - Permission to edit the Hunger event.
- tevents.events.inventoryopen - Permission to edit the Inventory Open event.
- tevents.reload - Permission to reload the plugin. (Only works if you have the Skript permission)
- tevents.edit - All edit permissions.
- tevents.on - Permission to turn on events.
- tevents.off - Permission to turn off events.
- tevents.toggle - Permission to toggle events.
- tevents.events.all - All event permissions.
- tevents.events.pvp - Permission to edit the PvP event.
- tevents.events.falldamage - Permission to edit the Fall Damage event.
- tevents.events.crafting - Permission to edit the Crafting event.
- tevents.events.hunger - Permission to edit the Hunger event.
- tevents.events.inventoryopen - Permission to edit the Inventory Open event.
Showcase of it working:
Spoiler: Example Image
Toggleable Events - Skript is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 108 times (via Spigot). Download it and open it directly in the game.
