Sponsor: Sponsor on Github
Donate: Donate via Paypal
This plug-in defines commands to be executed at the console when a specific permission is added or removed from a player.
It will work without a permission plugin but performs best with Groupmanager 2.6+ or LuckPerms 5.1+.
After first run it will create a demo perm_triggers.json in the plugin/PermTriggers/ folder.
You can set to load (and refresh) from a json file or to pull the file from a webserver.
The only command you will need when making changes to the triggers is '/ptreload', or wait for it to refresh (default 60 minutes).
# This file contains permission triggers.
#
# Triggers are sets of commands to be issue at the console
# when a permission is added to, or removed from a player.
#
# Commands can have prefixes to perform specific tasks.
# '#broadcast' '#tell'
{
"player.creative": {
"forced": true,
"added": [
"gamemode creative {player}",
"#broadcast {player} has become enlightened!"
],
"removed": [
"gamemode survival {player}",
"#broadcast {player} has equipped leaded boots."
]
},
"player.speed": {
"added": [
"effect give {player} speed 1700 5 true",
"effect give {player} haste 1700 3 true",
"#tell You have become fast!"
],
"removed": [
"effect clear {player} speed",
"effect clear {player} haste",
"#tell Slow down speedy!"
]
},
"player.op": {
"added": [
"op {player}"
],
"removed": [
"deop {player}"
]
}
}
Bug reports
https://github.com/ElgarL/PermTrigger/issues
Support
I have setup a Discord for support, but I also
hang out on the Towny Discord if anyone needs help
https://discord.gg/BdGxVmu
Ratings
Please leave a ✮✮✮✮✮ rating if you enjoy the plug-in! For issues use the Discord link or create a ticket on Github.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta