-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add a command for use by players to just join a team (and a chat-based GUI) #47
Comments
This is possible but can lead to conflicts in some cases, because the team name can contain spaces (ex: with a player named
I think I'll add permission for each subcommand; with this implemented, the permission would be |
Oh ok. I like to just keep them named as the colors, it is easier to manage that way. There are several non-elegant solutions:
This is probably so minor issue that you can use the third approach :p |
Actually, I currently use the third approach when needed, as example in the |
Related: a command (+API) displaying the teams available to a player; the player just have to click the name of the team to join this team. With the
And with an option to display this “chat UI” when a player out of any team joins, after a configurable delay. |
Autocompletion and permissions included.
Fixed: unwanted leave-team notification (forgot to commit, oops). Misc: fixed pom.xml formatting.
Fixed: unwanted leave-team notification (forgot to commit, oops). Misc: fixed pom.xml formatting.
/join
and/leave
/join
without argument or/uh team chatgui [player]
to open the GUI;I think it would be nice to have a shortcut command to /uh team join , since it is probably the most used command and it is quite hard to type. Maybe just /team ?
It would be also great if it came in the variant with just (i.e. making default to current player), so it would be /uh team join [player=amunak] and /team [player=amunak] respectively.
Ideally it would also have separate permissions (uh.team would give you full "team management" permissions as it is now and uh.team.self would give you the ability to join a team, but none of the other team commands).
The text was updated successfully, but these errors were encountered: