AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [REQ] Auto kick in connect (https://forums.alliedmods.net/showthread.php?t=269991)

lolx 08-13-2015 10:37

[REQ] Auto kick in connect
 
hi
i want simple plugin if someone trying to connect to my server he will get kick with reason .

wickedd 08-13-2015 11:13

Re: [REQ] Auto kick in connect
 
Do you want to kick everyone who try to join your server?

lolx 08-13-2015 11:15

Re: [REQ] Auto kick in connect
 
YESS

Mordekay 08-13-2015 11:19

Re: [REQ] Auto kick in connect
 
Then simply close the server and no one can connect, no plugin needed.

Gh05t04 08-13-2015 11:21

Re: [REQ] Auto kick in connect
 
Just change sv_password "YOUR PASSWORD"

lolx 08-13-2015 11:29

Re: [REQ] Auto kick in connect
 
its not good ideas guys
Because my server ip changed, And I want to put the new ip in the kick reason lol

wickedd 08-13-2015 11:53

Re: [REQ] Auto kick in connect
 
You don't need a plugin for that, just edit the amxx.cfg
Code:

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 2

Then look in the amxmodx/data/lang folder and edit the admin.txt file.

Code:

NO_ENTRY = You have no entry to the server...
:arrow:

Code:

NO_ENTRY = Our new IP is 12.345.67....

ArabicMan 08-13-2015 12:01

Re: [REQ] Auto kick in connect
 
Quote:

Originally Posted by lolx (Post 2332726)
its not good ideas guys
Because my server ip changed, And I want to put the new ip in the kick reason lol

Suggestion:

You can put team Join that all player join spec then change motd to refer to your new server also make an hud permanent message say that we have new IP and you can make also a console message to tell player new address ... All redirect now not work since last update and anyone work not supported here.

lolx 08-13-2015 12:24

Re: [REQ] Auto kick in connect
 
Quote:

Originally Posted by wickedd (Post 2332736)
You don't need a plugin for that, just edit the amxx.cfg
Code:

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 2

Then look in the amxmodx/configs/data/lang folder and edit the admin.txt file.

Code:

NO_ENTRY = You have no entry to the server...
:arrow:

Code:

NO_ENTRY = Our new IP is 12.345.67....

thank you bro
very simple very useful !

wickedd 08-13-2015 13:18

Re: [REQ] Auto kick in connect
 
Make sure you remove your admins from the users.ini so they will not be able to join.

P.S. The correct path is amxmodx/data/lang


All times are GMT -4. The time now is 05:10.

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