Hover messages/commands

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

icebergOfficial

New Member
Dec 30, 2017
8
0
0
Hello,

So I was just playing around with Skript and was wondering if there is a way to send the player a message with hoverable messages and commands in 1.7. I've looked up on the internet and found json.sk but when I run it, it does nothing.


For example:
code_language.skript:
on right click on a entity:
    if player is holding a book named "&b&lInspect Inventory ":
        if {staff.%player%} is true:
            cancel event
            message "&bClick to despawn this &f%target entity%&b."

I'm not sure how to make it so when the staff hovers over this message it shows them "Click here" and when they click it, it would despawn whatever entity the player is looking at. Any help would be appreciated

Thanks,
 
Hello,

So I was just playing around with Skript and was wondering if there is a way to send the player a message with hoverable messages and commands in 1.7. I've looked up on the internet and found json.sk but when I run it, it does nothing.


For example:
code_language.skript:
on right click on a entity:
    if player is holding a book named "&b&lInspect Inventory ":
        if {staff.%player%} is true:
            cancel event
            message "&bClick to despawn this &f%target entity%&b."

I'm not sure how to make it so when the staff hovers over this message it shows them "Click here" and when they click it, it would despawn whatever entity the player is looking at. Any help would be appreciated

Thanks,
To my knowledge, you need jason.sk for that. You may be able to get it to work with an older version of jasonsk. I can confirm it works on MC 1.12.2, but not sure about 1.7.
 
Status
Not open for further replies.