Closed Amunak closed 9 years ago
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 ?
/join
?
Good idea. :)
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.
This is possible but can lead to conflicts in some cases, because the team name can contain spaces (ex: with a player named the
, two teams the team name
and team name
, if I execute /uh team join the team name
with the player name optional...). But it's not a big problem I think.
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).
I think I'll add permission for each subcommand; with this implemented, the permission would be uh.team.join
; I'll add also the permissions uh.team.join.self
and uh.team.leave.self
.
team name can contain spaces (ex: with a player named the, two teams the team name and team name, if I execute /uh team join the team name with the player name optional...).
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:
/team Notch Notch Crew
and not just /team Notch Crew
because team Crew doesn't exist.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 /uh tp team
command :p .
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 tellraw
-like formatting.
/uh team chatgui [player]
And with an option to display this “chat UI” when a player out of any team joins, after a configurable delay.
/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).