Thread Rating:
  • 10 Vote(s) - 4.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release NoReconnect Plugin
#31
(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
[Image: azuw.jpg]
Reply

#32
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
Reply

#33
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
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#34
(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.
[Image: azuw.jpg]
Reply

#35
(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
Reply

#36
This has stopped working for me.
Reply

#37
(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.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#38
(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.
[Image: azuw.jpg]
Reply

#39
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)


Attached Files
.zip   NoReconnect11b.zip (Size: 2.57 KB / Downloads: 11)
Had a life, Got a modem..
Reply

#40
(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.
[Image: azuw.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 3,921 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,387 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 38,615 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,292 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 4,673 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 58,099 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 17,506 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,545 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 30,800 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 2,880 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.