AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Is it possible to replace the game engine's ban message with sourcebans? (https://forums.alliedmods.net/showthread.php?t=333759)

Darkwob 08-03-2021 06:50

Is it possible to replace the game engine's ban message with sourcebans?
 
Hello, when a player I have banned with Sourcebans wants to re-login to the game in less than 5 minutes, the Game engine's ban kicks in and it doesn't look pretty from a view point of view. I want to replace this message with Sourcebans message. i.e. instead of engine ban message, I want continuous sourcebans message to appear. I believe the pictures below will tell you everything.

This article appears when a Player is banned.

https://forums.alliedmods.net/image-...322d312e6a7067

but the text in this picture appears when she tries to log in to the server again.
https://forums.alliedmods.net/image-...382d312e6a7067

Sreaper 08-03-2021 12:02

Re: Is it possible to replace the game engine's ban message with sourcebans?
 
Then edit the Sourcebans source code to always kick the player instead of banning them. You can only display custom messages when kicking players.

Darkwob 08-04-2021 14:25

Re: Is it possible to replace the game engine's ban message with sourcebans?
 
Quote:

Originally Posted by Sreaper (Post 2754440)
Then edit the Sourcebans source code to always kick the player instead of banning them. You can only display custom messages when kicking players.

Where should I make the changes? so which banclint code should i replace with kickclient?

Sreaper 08-04-2021 20:43

Re: Is it possible to replace the game engine's ban message with sourcebans?
 
Quote:

Originally Posted by Darkwob (Post 2754520)
Where should I make the changes? so which banclint code should i replace with kickclient?

Yes. Just make it like the other kick is.


All times are GMT -4. The time now is 15:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.