Alderon-Games / pot-community-servers

Bug Reporting and Wiki for Community Servers
16 stars 0 forks source link

Add wordfilters to RCON (please) - Because it gets cluttered up with wrong stuff #26

Closed menix1337 closed 1 year ago

menix1337 commented 3 years ago

When you use a admin command - lets say:

/grow menix 1.0 (Fictional command - happens for all)

then this here gets posted - as chat through RCON:

[12.29.21] Clappa: setattr stamina clappa 0 [12.29.36] Clappa: setattr clappa stamina 0 [12.29.43] Clappa: setattr clappa stamina 1345 [12.33.51] Clappa: whisper menix on screen

[12.29.21] Clappa [Admin Command]: setattr stamina clappa 0 [12.29.36] Clappa [Admin Command]: setattr clappa stamina 0 [12.29.43] Clappa [Admin Command]: setattr clappa stamina 1345 [12.33.51] Clappa [Admin Command]: whisper menix on screen

image

Or something? So you can through your bot filter out the 'bad' words - such as in this case i would love to filter out the string 'Admin Command' through my regex; so it wouldn't appear for our chats since its an command - and not a actual ingame message.

Because this is the webhook

image

and theres just no need for it to show through RCON - so lets say, higher up admins cant do private work or stuff without their entire admin team can see (obviously unless you hide the channel)

AlderonWombat commented 1 year ago

Closing as this is already a feature.