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

Custom Homes

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
Hey guys, recently i found a file with some old code i believe @ALEXMINERPRO had made, for Custom Homes, that allowed a home to be set in any world, and accessed from any world; As currently, theres an issue with multi-world homes.... I tried it, and it didn't work very well, so ive overhauled it, and here it is. Everything works, and all you need to edit, is the messages (even then, only if you feel the need)
Code:
cmd create sethome Create a home
cmd add sethome if varset(%args%[1]) then goto 4
cmd add sethome message %p% §cUsage: /sethome <name>
cmd add sethome exit
cmd add sethome %home% = %args%[1]
cmd add sethome load %phomes%
cmd add sethome if %home% in %phomes%[%p%] then message %p% §cYou already have a home called %home%! Choose a different name.
cmd add sethome if %home% in %phomes%[%p%] then exit
cmd add sethome asop /setwarp %home% -p
cmd add sethome message %p% §aSet a home called %home% !
cmd add sethome load %phomes%
cmd add sethome let %phomes%[%p%] = %phomes%[%p%] + %home%
cmd add sethome save %phomes%
cmd add sethome exit

cmd create delhome Delete a home
cmd add delhome load %phomes%
cmd add delhome if varset(%args%[1]) then goto 5
cmd add delhome message %p% §cUsage: /delhome <name>
cmd add delhome exit
cmd add delhome load %phomes%
cmd add delhome %home% = %args%[1]
cmd add delhome if %home% in %phomes%[%p%] then goto 10
cmd add delhome message %p% §cNo home found with name %home%
cmd add delhome exit
cmd add delhome asop /delwarp %home% -p
cmd add delhome %phomes%[%p%] = %phomes%[%p%] - %home%
cmd add delhome save %phomes%
cmd add delhome message %p% Deleted home %home%
cmd add delhome exit

cmd create home Teleport home
cmd add home load %phomes%
cmd add home if varset(%args%[1]) then goto 5
cmd add home message %p% §cUsage: /home <name>
cmd add home exit
cmd add home load %phomes%
cmd add home %home% = %args%[1]
cmd add home if %home% in %phomes%[%p%] then goto 10
cmd add home message %p% §cNo home found with name %home%
cmd add home exit
cmd add home asop /warp %home% -p
cmd add home exit

cmd create homes View your Homes
cmd add homes load %phomes%
cmd add homes if varset(%phomes%[%p%]) = %false% then goto 6
cmd add homes %homes% = %phomes%[%p%]
cmd add homes message %p% §fYour homes are: §a%homes%
cmd add homes exit
cmd add homes message %p% §aYou don't have any homes set! Make one by typing /sethome <Name>
cmd add homes exit