WarzoneMC / tgm

Team Game Manager - Minecraft PVP Suite
https://warzone.network
40 stars 37 forks source link

Add /staff Command #766

Closed Atdit closed 3 years ago

Atdit commented 3 years ago

Everyone with the permission tgm.viewstaff will be able to view online staff members. The ranks are listed by priority descending.

Before (and if) this PR will be merged, we can discuss if all players should be allowed to view online staff members or if only other staff members (and maybe even VIPs) should get the permission. Making it usable for all players only requires the removal of line 32, which can easily be done by a maintainer before merging.

Screenshots: image

image

image The message, which appears if no staff members are online. Should this be red?

Atdit commented 3 years ago

image

Edit: The new AFK timer implementation broke the game by randomly sending players to spectators even though the time threshold wasn't reached. I reverted that part. Everything else works fine.

jorgeberrex commented 3 years ago

Regarding your comment:

Before (and if) this PR will be merged, we can discuss if all players should be allowed to view online staff members or if only other staff members (and maybe even VIPs) should get the permission. Making it usable for all players only requires the removal of line 32, which can easily be done by a maintainer before merging.

Discussing the use of these features in our production server is out of scope for this repository