• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Let specific groups use a command

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.

Viny1212

Tree Puncher
#1
Alot of you probably know this mini code but for the people that don’t know, this is for you! Make sure to change the ranks in the array that matches up to your server and that you want access to your selected command.
/cmd create command
/cmd edit command 1 let %rank% = array(\”Member\”, \”Hero\”, \”VIP\”, \”Legend\”, \”Superior\”)
/cmd edit command 2 let %allow% = playergroup(%p%)
/cmd edit command 3 if %allow% in %rank% then goto 6
/cmd edit command 4 message %p% §cYou don’t have permission to use this command.
/cmd edit command 5 exit
/cmd edit command 6 (This line will be the start of your command that you want the groups in the array to have access to)