• 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.

Demote 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.

abced

Tree Puncher
#1
Simple Code For Firing Abusive Staff.
My First Code I Worked On. I Hope People Like It.
/cmd create demote §fFire Abusive Staff (§eHeads Of Staff Only)!
load %hstaff%
let %hstaff% = array(\"HeadAdmin\",\"HeadBuilder\",\"Owner\",\"HeadDev\")
%gr% = playergroup(%p%)
if %gr% notin %hstaff% then message %p% §4You Do Not Have Permission To Use This Command!
save %hstaff%
if varset(%args%[2]) = %false% then message %p% §4Usage §e/demote [player] [reason]
if varset(%args%[2]) = %false% then exit
load %play%
let %play% = %p%
let %play% = %args%[1]
save %play%
load %reason%
let %reason% = join(%args%[2+], \" \")
/setgroup %play% Guest
message onlineplayers() §4%play% §eHas Been Demoted For §4%reason%!

Made By UniDucky