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

Different Inventories / Creative Plots

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
Credits to GreenBoy for making the world inventory
  • cmd create gm
  • cmd add gm load %cw%
  • cmd add gm load %sw%
  • cmd add gm let %pl% = %p%
  • cmd add gm let %inv% = playerinventory(%p%)
  • cmd add gm let %status% = playerstatus(%p%)
  • cmd add gm let %world% = %status%["world"]
  • cmd add gm if %world% = "plots" then goto 18
  • cmd add gm if %world% = "world" then goto 10
  • cmd add gm if %world% = "plots" then goto 24
  • cmd add gm if %world% = "world" then goto 25
  • cmd add gm exit
  • cmd add gm # Survival World
  • cmd add gm let %sw%[%pl%] = %inv%
  • cmd add gm if varset(%cw%[%pl%]) = %false% then goto 14
  • cmd add gm carry %pl% %cw%[%pl%]
  • cmd add gm asop /tpworld plots
  • cmd add gm save %cw%
  • cmd add gm save %sw%
  • cmd add gm exit
  • cmd add gm #Creative World
  • cmd add gm let %cw%[%pl%] = %inv%
  • cmd add gm if varset(%sw%[%pl%]) = %false% then goto 23
  • cmd add gm carry %pl% %sw%[%pl%]
  • cmd add gm asop /tpworld world
  • cmd add gm ascon /gamemode c %p%
  • cmd add gm ascon /gamemode s %p%
  • cmd add gm save %cw%
  • cmd add gm save %sw%
  • cmd add gm exit
 

madhon

MadCommands Dev
#6
Replace %status%["world"] with %status%["level"]

The two ifs have probably wrong line numbers after goto, but it's difficult to guess what the correction should be without you explaining how it is supposed to work.
 
#7
Edit Line 6 from %status%["world"] to %status%["level"]

UPDATE FIXED
cmd create gm
cmd add gm load %cw%
cmd add gm load %sw%
cmd add gm let %pl% = %p%
cmd add gm let %inv% = playerinventory(%p%)
cmd add gm let %status% = playerstatus(%p%)
cmd add gm let %world% = %status%["level"]
cmd add gm if %world% = "plots" then goto 20
cmd add gm if %world% = "world" then goto 12
cmd add gm if %world% = "plots" then goto 25
cmd add gm if %world% = "world" then goto 26
cmd add gm exit
cmd add gm # Survival World
cmd add gm let %sw%[%pl%] = %inv%
cmd add gm if varset(%cw%[%pl%]) = %false% then goto 16
cmd add gm carry %pl% %cw%[%pl%]
cmd add gm asop /tpworld plots
cmd add gm save %cw%
cmd add gm save %sw%
cmd add gm exit
cmd add gm #Creative World
cmd add gm let %cw%[%pl%] = %inv%
cmd add gm if varset(%sw%[%pl%]) = %false% then goto 24
cmd add gm carry %pl% %sw%[%pl%]
cmd add gm asop /tpworld world
cmd add gm ascon /gamemode c %p%
cmd add gm ascon /gamemode s %p%
cmd add gm save %cw%
cmd add gm save %sw%
cmd add gm exit