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

Maddcommand (startkit with 10 mints cooldown)

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.
#1

~~~
/cmd create startkit
/cmd add startkit load %cooldown%
/cmd add startkit let %index% = lowercase(%p%)
/cmd add startkit if varset(%cooldown%) = 0 then goto 8
/cmd add startkit if varset(%cooldown%[%index%]) = 0 then goto 8
/cmd add startkit if %cooldown%[%index%] = 0 then goto 8
/cmd add startkit message %p% [notice] You Can claim a kit every 10 minutes.
/cmd add startkit exit
/cmd add startkit # tools
/cmd add startkit let %inv% = playerinventory(%p%) + playerarmor(%p%)
/cmd add startkit wear %p% 0
/cmd add startkit sleep 1

/cmd add startkit let %tools% = array(274, 275)
/cmd add startkit %armore% = array(305, 304, 303, 302)
/cmd add startkit let %newinv% = %inv% + %tools%
/cmd add startkit carry %p% %newinv%
/cmd add startkit wear %p% %armore%


/cmd add startkit let %cooldown%[%index%] = 1
/cmd add startkit save %cooldown%
/cmd add startkit message %p% You now have to wait 10minutes to Get a Kit Again.
/cmd add startkit sleep 600
/cmd add startkit load %cooldown%
/cmd add startkit let %cooldown%[%index%] = 0
/cmd add startkit save %cooldown%
/cmd add startkit message %p% You can now Get a START KIT.
/cmd add startkit exit
~~~
 
#4

~~~
/cmd create startkit
/cmd add startkit load %cooldown%
/cmd add startkit let %index% = lowercase(%p%)
/cmd add startkit if varset(%cooldown%) = 0 then goto 8
/cmd add startkit if varset(%cooldown%[%index%]) = 0 then goto 8
/cmd add startkit if %cooldown%[%index%] = 0 then goto 8
/cmd add startkit message %p% [notice] You Can claim a kit every 10 minutes.
/cmd add startkit exit
/cmd add startkit # tools
/cmd add startkit let %inv% = playerinventory(%p%) + playerarmor(%p%)
/cmd add startkit wear %p% 0
/cmd add startkit sleep 1

/cmd add startkit let %tools% = array(274, 275)
/cmd add startkit %armore% = array(305, 304, 303, 302)
/cmd add startkit let %newinv% = %inv% + %tools%
/cmd add startkit carry %p% %newinv%
/cmd add startkit wear %p% %armore%


/cmd add startkit let %cooldown%[%index%] = 1
/cmd add startkit save %cooldown%
/cmd add startkit message %p% You now have to wait 10minutes to Get a Kit Again.
/cmd add startkit sleep 600
/cmd add startkit load %cooldown%
/cmd add startkit let %cooldown%[%index%] = 0
/cmd add startkit save %cooldown%
/cmd add startkit message %p% You can now Get a START KIT.
/cmd add startkit exit
~~~
Can we make it into a one time command? (As in you can only use it once)