#Help

1 messages · Page 1 of 1 (latest)

worthy maple
#

`'home_1':
material: oraxen-6
slot: 11
priority: 1
view_requirement:
requirements:
set:
type: 'string equals'
input: '%deluxemenus_meta_homehas1_STRING_no%'
output: 'yes'
display_name: '&8« &#65907f&lʜᴏᴍᴇ &#65907f#1 &8»'
lore:
- ''
- '&#65907f• &7Teleport to your home.'
- ''
- '&#65907f• &7World: &#86c2a9%deluxemenus_meta_homeworld1_STRING_none%'
- '&#65907f• &7XYZ: &#86c2a9%deluxemenus_meta_homeX1_STRING_0% &7/ &#86c2a9%deluxemenus_meta_homeY1_STRING_0% &7/ &#86c2a9%deluxemenus_meta_homeZ1_STRING_0% '
- ''
- ''
left_click_commands:
- '[close]'
- '[console] execute in %deluxemenus_meta_homeworld1_STRING_none% run teleport %player_name% %deluxemenus_meta_homeX1_STRING_0% %deluxemenus_meta_homeY1_STRING_0% %deluxemenus_meta_homeZ1_STRING_0%'
- '[sound] BLOCK_WOODEN_DOOR_CLOSE'
- '[message] &#65907f&lʜ&#6d9d8a&lᴏ&#76a994&lᴍ&#7eb69f&lᴇ&#86c2a9&ls &8» &7Teleporting to your &#65907f#1 &7Home.'
shift_left_click_commands:
- '[meta] set homehas1 STRING no'
- '[message] &#65907f&lʜ&#6d9d8a&lᴏ&#76a994&lᴍ&#7eb69f&lᴇ&#86c2a9&ls &8» &7You removed your &#65907f#1 &7Home.'
- '[sound] BLOCK_WOODEN_DOOR_CLOSE '
- '[refresh]'

'no_home_1':
material: oraxen-overworld
slot: 11
priority: 2
display_name: '&8« &#65907f&lʜᴏᴍᴇ &#65907f#1 &8»'
lore:
- ''
- '&#65907f• &7No home set. '
- ''
click_commands:
- '[sound] BLOCK_STONE_BUTTON_CLICK_ON'
- '[meta] set homeworld1 STRING %changeoutput_equals_input:{player_world}_matcher:world_ifmatch:overworld_else:{player_world}%'
- '[meta] set homeX1 STRING %player_x%'
- '[meta] set homeY1 STRING %player_y%'
- '[meta] set homeZ1 STRING %player_z%'
- '[meta] set homehas1 STRING yes'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
- '[refresh]'`

#

Hello, I have a problem with my house configuration, when I want to go back to my house which is in the overworld, but I don't go back there

If in the overworld, the teleportation will be according to the coordinates in the overworld, and if in the nether, the coordinates will remain the same but the teleportation will still be to the nether and will not move to the overworld.

#

How to fix?, what do you know?

#

Sorry my English bad

#

I don't know why the execution system is useless

azure plover
#

I am wondering why are you setting the world name to overworld when its name is world? Does the player_world placeholder not return the correct world name?