Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@a, @p or @r in player and console-sent commands #223

Open
LadyCailinBot opened this issue Sep 7, 2013 · 3 comments
Open

@a, @p or @r in player and console-sent commands #223

LadyCailinBot opened this issue Sep 7, 2013 · 3 comments

Comments

@LadyCailinBot
Copy link

CMDBOOK-2312 - Reported by killjoy1221

This works in vanilla, but bukkit has yet to implement it. You could do "/give @A fish" to give everyone some fish. You could also do "/slay @r" to kill a random player.

Currently, this is impossible without using commandblocks.

@LadyCailinBot
Copy link
Author

Comment by wizjany

this isn't really possible? those are parsed by the server before getting sent to plugins i thought.

@LadyCailinBot
Copy link
Author

Comment by killjoy1221

I tried doing the command /tp @A @p (tps everyone to you) in bukkit with no plugins and it returned "unable to find player @A"

If it's prefered, I could submit this as a bug to bukkit.

@LadyCailinBot
Copy link
Author

Comment by wizjany

ah ok, probably only checks it for commandblocks i guess. this might be difficult though unless bukkit exposes api for it or else we have to do all the calculations ourselves and so on...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant