Sponge: Causing player selector in Minecraft command
Currently Minecraft supports several target selectors such as @p, @r, @a. I wonder if Sponge can add a new selector to target the cause of the command.
For example, if I put a button on a command block, and set the command block to /tp @c 100 100 100, the command block will teleport the exact player that pressed the button. At the moment, the best I can do is to set tp @p 100 100 100, which is quite problematic in crowded area.
If Sponge can really override the player target mechanism of Minecraft, the same @c may also be used with other plugins such as Command Sign.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 3
- Comments: 25 (13 by maintainers)
I believe Sponge already has all facility to implement the function. In my opinion, having a another plugin just to merge two built-in Sponge functions feel a bit overkill. I am aware that there can be compatibility issue when Minecraft moves forward. That’s why I really hope to hear from Sponge team to know if they will go ahead with the implementation or I should build something on my own. This has been here for more than 2 weeks already.
I can look into writing API and implementation if the Sponge developers think it would be worthwhile.