ItsMods

Full Version: NoReconnect Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
(03-07-2012, 11:22)Snowy Leopard Wrote: [ -> ]I'm having a problem with this plugin on linux.

Whatever I do, people can rejoin Sad

I've set DenyReconnect to 1, but it doesn't work.

Nothing in console or data.log

regards, Snowy Leopard

Paste sv_config.ini
Code:
[SERVER]
Ranked=0
//Control if the server is ranked or not by default [0-1]
TimedMessages=1
//Enable or disable timed messages [0-1]
SpecsFix=1
//Disable the CPU/Bandwidth check [0-1]
[LOG]
ConsoleLog=1
//Enable logging to the 'console.log' file [0-1]
[SCRIPT]
Enabled=0
//Enable the server script [0-1]
Script=example.script
//Server script to run
[DEBUG]
ExceptionLogging=1
//Enable logging of crashes [Turn off to prevent false detections] [0-1]
[UPDATER]
Enable=1
AutoUpdate=0
//Enable checking for updates [0-1]
//Don't add spaces after commas!
//CASE SENSITIVE!
//Don't remove the User & Admin groups!

[Permission]
//You can add more user groups here
Usergroups=Admin,Moderator,User,Leader,Co-Leader,Member
Leader_xuids=0110000101c9571b
Leader_commands=*ALL*
Co-Leader_xuids=0110000103244d57
Co-Leader_commands=*ALL*
Admin_xuids=011000010240537d
//Admins can use all commands (Do not change!).
Admin_commands=*ALL*
//Add moderator xuids here
Moderator_xuids=0110000104934fea,01100001039a6d8e,011000010498d69c,0110000103d41cdd,0110000104669b93
//Add commands moderators can use here
Moderator_commands=*ALL*
Member_xuids=0110000105342067,0110000101abd34f,0110000104070289
Member_commands=!help,!xuid,!ping,!maxping,!minping,!ver,!rules,!warn,!pi,!unwarn,!reserved,!pm,!yell,!addword,!maxfps
//Add commands everyone can use
User_commands=!help,!xuid,!ping,!maxping,!minping,!ver,!rules,!maxfps
//Everyone who isn't in any other group is a user (Do not change!).
User_xuids=*EVERYONE*

[ServerAdmin]
kickwarnings=3
usePermissions=true
useLangFilter=true
warningTTL=12
pmRules=true
warningtempban=true
kickmessage=^1<playername> ^3has been kicked for ^1<reason> ^3by ^2<issuer>
banmessage=^1<playername> ^3has been banned by ^2<issuer>
connectmessage=^3Say hi to: ^1<rank> ^2<playername>, ^3Please use !rules to view the rules.
tmpbanmessage=^1<playername> ^3has been tempbanned by ^2<issuer> ^3for: ^1<length> ^3Minutes.
//message to display when someone is warnkicked
warnkickmessage=^1<playername> ^2was kicked for ^3<reason>
//message for the warning
warnmessage=^1<playername> ^2was warned for ^3<reason>^2. Warning ^3<warningcount>^2/^13^2.
//removing a warning
unwarnmessage=^1<playername> ^2had a warning ^3removed.

[Yu]
dspl=infected
// your dspl-file
dsr=infected1, infected2, infected3, infected4, infected5
// your dsr-file (files)
weights=1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
// your map weights
xuids=0110000101c9571b, 0110000103244d57
// your admin GUIDs

[NoReconnect]
DenyReconnect=1 //Player is not allowed to reconnect, change to 0 to disable
ImmunePlayers=0110000101c9571b
NotifyReconnect=1 //If DenyReconnect is 0 and this 1, server will notify when a player is reconnecting
try

[NoReconnect]
DenyReconnect=1
//Player is not allowed to reconnect, change to 0 to disable
ImmunePlayers=011000010457xxxx
//Players allowed to reconnect, add xuids seperated by a ,
NotifyReconnect=1
//If DenyReconnect is 0 and this 1, server will notify when a player is reconnecting
(03-07-2012, 18:37)Snowy Leopard Wrote: [ -> ][NoReconnect]
DenyReconnect=1 //Player is not allowed to reconnect, change to 0 to disable
ImmunePlayers=0110000101c9571b
NotifyReconnect=1 //If DenyReconnect is 0 and this 1, server will notify when a player is reconnecting
[/code]

Just FYI, the server addon takes everything that isn't // commented out.

If you look now you see that your settings, ex. DenyReconnect has the value "1[SPACE]". Of course this will not work because the value needs to be "1".

@hillbilly already posted the solution, just wanted to clear it up.
(03-08-2012, 07:53)zxz0O0 Wrote: [ -> ]
(03-07-2012, 18:37)Snowy Leopard Wrote: [ -> ][NoReconnect]
DenyReconnect=1 //Player is not allowed to reconnect, change to 0 to disable
ImmunePlayers=0110000101c9571b
NotifyReconnect=1 //If DenyReconnect is 0 and this 1, server will notify when a player is reconnecting
[/code]

Just FYI, the server addon takes everything that isn't // commented out.

If you look now you see that your settings, ex. DenyReconnect has the value "1[SPACE]". Of course this will not work because the value needs to be "1".

@hillbilly already posted the solution, just wanted to clear it up.

Thanks, that worked Smile
This has stopped working for me.
(03-12-2012, 09:03)dthem_2000 Wrote: [ -> ]This has stopped working for me.

i have noticed that even with notify of reconnect at 0 it has started to do so.
(03-12-2012, 09:03)dthem_2000 Wrote: [ -> ]This has stopped working for me.
(03-12-2012, 10:50)hillbilly Wrote: [ -> ]
(03-12-2012, 09:03)dthem_2000 Wrote: [ -> ]This has stopped working for me.

i have noticed that even with notify of reconnect at 0 it has started to do so.

Post your sv_config.ini and server addon version.
hey zx i hope you dont mind but ive done some modifications to it

serverconsole logging (serverprint)
flush players on fastrestart (NoInfected plugin)

My version of the code (Click to View)
(03-21-2012, 12:02)pieter Wrote: [ -> ]hey zx i hope you dont mind but ive done some modifications to it

serverconsole logging (serverprint)
flush players on fastrestart (NoInfected plugin)

My version of the code (Click to View)

Nice, but there's an error in OnPlayerConnect. The ServerPrint will always be processed no matter if it's a reconnect or not. If you only want it for reconnect you need to use { } bracket.
Pages: 1 2 3 4 5 6