sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
334 stars 174 forks source link

[Feature Request] Move communication commands to SourceMod Comms option menu #649

Open crashzk opened 4 years ago

crashzk commented 4 years ago

Currently when we install SourceBans++ it creates a comms menu in the admin menu.

However, it would already have a comms menu from SourceMod itself, SourceBans++ creates a new menu.

Would it be possible to do that, when installing SourceBans++, the standard SourceMod comms menu would be removed automatically, and display only SourceBans++?

Here is a print showing the two options I mentioned: print

Anyway, would it be possible to automatically disable the mute and gag option of SourceMod when SourceBans++ is active on the server, that is, disable it from the player commands menu?

Why this request

Some players use the default option of SourceMod to apply mutes and gags, thus it does not show the nick / name of the player registered in the SourceBans, but as a CONSOLE that had applied some mute / gag.

crashzk commented 4 years ago

I believe that you don't even need to remove it, since in this menu you have other options that administrators have inside the server, in this case you could move the communication commands to the player commands menu, like this the option for bans.

TheByKotik commented 4 years ago

sbpp_comms use natives from basecomms. basecomms provide Gag/Mute menu for Player Commands. I think is better totally rewrite sbpp_comms.

crashzk commented 4 years ago

I understand, I would love to, but I don't have a lot of knowledge, maybe in the near future.

I'll see if I learn a little about SourcePawn / SourceMod and how to code, in any case thanks.