On command block command:

  • 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 comminuty!

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

Lego_freak1999

Well-Known Member
Jan 26, 2017
658
45
28
25
HTTP-410
Hey i would like to get a special event for the command event executed by a command block.

Why? you ask you can use on command: Yes indeed i could but i need a other output.

I would like to recieve the event location of the command block. You currently can't get it it will return <none>.

I know this is possible to do in java.

This bukkit thread has the sollution of making this: https://bukkit.org/threads/command-block-location.447821/

Is there any addon that wants to attribute to this?

Thanks in advance.
 
This sort of feature should be in Skript itself, not in an addon.

For the time being, you should be able to achieve this in skript-mirror by using sender.getBlock() in a command event.