Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by RestrictedPower, Apr 20, 2016.
Is it possible to disable the mcmmo pvp abilities for a player(permissions or api)
There's an option in the configs to turn them on and off for the whole server...I'm not seeing anything currently in McMMO that lets you set PvP toggles per-player (via permissions or anything else)...but I don't think it'd be too hard to change the code in McMMO's source to switch from a config check to permission check before using an ability...McMMO is open source, but I'm not sure on their license conditions on creating derivatives.
The hardest part would be if you have two players, if Player1 has PvP perms, and Player2 doesn't...who's perms will take priority to keep things fair and balanced if they should start to fight? Probably the main reason it hasn't been done...
I don't really wanna edit their code because my time is limited and it needs a lot of research ty btw...
Ik looking for the same thing, just for mining skills.