#actions

1 messages · Page 1 of 1 (latest)

merry rampart
#

is this the right way to add the actions?

      '1':
        material: apple
        model_data: 42
        slot: 20
        display_name: '&6Informations'
        lore:
        - '&4 click to get information about the server'  
        actions:
        - '[console] tp %player_name% 582 67 362'
warped robin
#

that will teleport them at that coordinates but on the world they are in

#

so I suggest to use a warp

merry rampart
#

but its not working

#

i am clicking and nothing is happening

#

not even the the console log

warped robin
#

ah, you want click_actions, not actions

merry rampart
#

ohh

#

ok ill try it

#

do i put left or right before click_actions?

warped robin
#

nah you can use click_actions and it will work for all clicks

merry rampart
#

still nothing

#
        material: apple
        model_data: 42
        slot: 20
        display_name: '&6Informations'
        lore:
        - '&4 click to get information about the server'  
        click_actions:
        - '[console] tp %player_name% 582 67 362'
warped robin
#

omg what am I doing, it is click_commands facepalm

merry rampart
#

oh

#

lol

#

ok