sirhamsteralot / HaE-PBLimiter

Profiles pb's and damages them when their runtime goes over a set value
MIT License
11 stars 5 forks source link

[Feature request] Add Admin command to see PBs of other player or Faction #25

Closed LordTylus closed 6 days ago

LordTylus commented 4 years ago

Hello there,

I would like a command to have easy access to the PB Limiter metrics as admin either via discord bridge plugin or ingame.

I wont always want to connect to my Root Server, navigate the Torch UI to do check PBs out.

So a command for ingame display would be very much appreciated.

sirhamsteralot commented 4 years ago

something like !statistics \<playername>?

LordTylus commented 4 years ago

Well !statistics is pretty generic

but something along those lines

I mean a !pblimiter statistics could output all PBs ordered descending by runtime !pblimiter statistics player <Playername> filters for player !pblimiter statistics faction <FactionTag> filters for faction

And in all caseses the response should show a grand total at the end.

When I am online I expect a dialog to open as its easier to read. When console executes someting (so player == null) I would expect to get a context respond in chat. But not for every PB (as it tends to crash discord)

Similar to how I do it in my plugins I just write everything to a StringBuilder and either send it as dialog or context respond.

sirhamsteralot commented 6 days ago

I will look into this soon

sirhamsteralot commented 6 days ago

Implemented in 2024-1 release branch, example usage: !pblimiter investigate