Jump to content
  • 0

PLEASE HELP Multi Homes


bigboyfAkE

Question

4 answers to this question

Recommended Posts

  • 0

Moved to Community Support. Please use the correct categories for future reference.

 

Are you using Skript for this? If it shows up like that and it is a scripted command, you have not added an argument. The command should be similar to this:

command /home [<string>]:
	permission: node
	permission message: no permission
	aliases: /h
	usage: /home (number)
	description: Go home
	trigger:	
    	if arg 1 is set:
			set {_numParse} to arg-1 parsed as number
            if {_numParse} is a number:
				if {home::%{_numParse}%::%player's UUID%} is set:
               		teleport player to {home::%{_numParse}%::%player's UUID%}
                    send "&aYou have been sent to home ##%{home::%{_numParse}%::%player's UUID%}!"
              	else:
                	send "&cYou do not have a home that matches that number."
           	else:
				send "&cThat is not a number!"
      	else:
			send "&cUsage: /home (##)"
command /sethome [<string>]:
	permission: node
	permission message: no permission
	aliases: /sh
	usage: /sethome (number)
	description: Set your home
	trigger:
		if arg 1 is set:
			set {_numParse} to arg-1 parsed as number
			if {_numParse} is a number:
				set {home::%{_numParse}%::%player's UUID%} to player's location
               	send "&aYour home ##%{_numParse}% has been set."
                add 1 to {total::homes::%player's UUID%}
           	else:
            	send "&cThat is not a number!"
       	else:
        	send "&cUsage: /sethome (##)"
                 

 

This is not exact, but just a general idea. 

 

If you're not using Skript, there is  a place in the essentials config to set up multi-homes.

Yes I used to be [ADMIN]. I resigned from that position

Subscribe on YouTube (truly epic content)
Follow me on Twitter

 

 

Link to comment
Share on other sites

  • 0

🔐 Topic locked.

Please do not reply on threads that have been inactive for over a month.

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...