Commit Graph

11 Commits

Author SHA1 Message Date
nikthechampiongr 3a3715648b Implement a playerpanel (#30238)
* Basic structure for the player panel ui

* Ensure basic functionality

Player panel now receives and displays basic info

* Make whitelistcommands accept user ids

* Make PlayerPanel use GUIDs where possible

* Add functionality to most playerpanel buttons

* Implement remaining playerpanel features

* Localize everything

* Finish up

* Put command arguments in quotes

I am not sure if it's even possible to have something like a space in
them considering they are guids and usernames but sure why not

* Make playerpanel a verb

* Add Logs button to player panel

* Change Notesbutton text and make whitelistbutton a confirmtion button

* Add freeze button that does not mute the player

* Add sharedconnections counter to playerpanel

* Make the playetime format clearer

* Allow for copying of the a player's username

* Do minor cleanup

* Rearrange buttons

* Fix unfreeze button not updating

* Fix wrong localisation text

* "Fix" the same role ban counting multiple times

The way rolebans are stored is horrible.
As such if you ban someone from a departmenrt or something
role bans are individually placed for every role.
The only way I found to distinguish them is the bantime.
This is horrible but I do not want to rewrite how all the bans are
stored right now.

* Add Delete and Rejuvenate buttons to player panel

By popular demand

* Marginally improve ui

* Add logs

* review update

* Fix verb

* Fix double notes

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-08-09 19:04:58 +01:00
Null a2a3bcbb86
Whitelistremoves now requires either ban or whitelist, not both (#994) 2024-03-27 23:53:09 +00:00
LordCarve ad35a2fda3
Obsolete refactor - ConnectedClient to Channel (#24409)
(cherry picked from commit 05a2e6b3a21e5fb3198432d885bbe28506d85b9c)
2024-01-27 23:44:02 +01:00
Debug b4c06fb528
Seperate flag for whitelist commands (#637)
* Update AdminFlags.cs

Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>

* Update WhitelistCommands.cs

Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>

* Update WhitelistCommands.cs

Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>

---------

Signed-off-by: Debug <49997488+DebugOk@users.noreply.github.com>
2024-01-02 23:48:29 +00:00
Debug 4e714951a1
Whitelist refactor number 5834 (#291) 2023-10-25 16:15:05 +02:00
DrSmugleaf 098ca0f63b Fix whitelist commands not giving feedback with 0 arguments, trim names, add [player] completion hint (#21152) 2023-10-23 23:53:27 +02:00
Debug c37a4d53c8
Role whitelists (#191)
* Add job whitelists

* Redo whitelist system with jobrequirements

* Remove unused function

* Fix linter errors

* Remove unused dependency and whitespace
2023-10-19 00:23:17 +02:00
metalgearsloth 9ec4b0867e
Whitelist shell feedback (#10694)
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
2022-08-18 23:42:47 -07:00
wrexbe bc68ac96dd
Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
mirrorcult ec4d4688c7
Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
mirrorcult af785f873f
Optional server whitelists (#5979) 2022-01-05 00:37:06 +11:00