Phantom Of Rogue-Gon Posted August 19, 2013 Posted August 19, 2013 can i requesting script auto kick when the player login :Dbut not gm normal account Quote
Patskie Posted August 19, 2013 Posted August 19, 2013 Try - script Sample -1,{ OnPCLoginEvent: if ( getgmlevel() ) end; atcommand "@kick " +strcharinfo(0); end; } Quote
Emistry Posted August 20, 2013 Posted August 20, 2013 conf/login_athena.conf#L74 // Minimum account group id required to connect to server. // Will not function if group_id_to_connect config is enabled. // -1: disabled // 0 or more: group id min_group_id_to_connect: -1 Quote
Checkmate Posted August 20, 2013 Posted August 20, 2013 Sir.. Emistry..How can we put only co admin,admin and gm event only in game using this // Minimum account group id required to connect to server.// Will not function if group_id_to_connect config is enabled.// -1: disabled// 0 or more: group idmin_group_id_to_connect: -1 I try to put this // Minimum account group id required to connect to server.// Will not function if group_id_to_connect config is enabled.// -1: disabled// 0 or more: group idmin_group_id_to_connect: 99 10 5 Did i put the right connection?.? Quote
Emistry Posted August 20, 2013 Posted August 20, 2013 just set all your GM Group ID above 0 .....and set minimum group id to connect to 1 ... Quote
Phantom Of Rogue-Gon Posted August 21, 2013 Author Posted August 21, 2013 min_group_id_to_connect: -1? Quote
Capuche Posted August 21, 2013 Posted August 21, 2013 >.< // -1: disabled Put your min group id allowed to connect to your server example : min_group_id_to_connect: 2 allow the groups ID 2, 3.. 99 and above to connect (all group ID above or equal to 2 are allowed to connect on) Groups ID 0, 1 can't connect I believe you must restart your server to enable this setting (@reloadscript doesn't reload this setting) Quote
Question
Phantom Of Rogue-Gon
can i requesting script auto kick when the player login :Dbut not gm normal account
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.