Phantom Of Rogue-Gon Posted August 19, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Share Posted August 19, 2013 can i requesting script auto kick when the player login :Dbut not gm normal account Quote Link to comment Share on other sites More sharing options...
Patskie Posted August 19, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 17 hours ago Share Posted August 19, 2013 Try - script Sample -1,{ OnPCLoginEvent: if ( getgmlevel() ) end; atcommand "@kick " +strcharinfo(0); end; } Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 20, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
Checkmate Posted August 20, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted August 20, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 20, 2013 just set all your GM Group ID above 0 .....and set minimum group id to connect to 1 ... Quote Link to comment Share on other sites More sharing options...
Phantom Of Rogue-Gon Posted August 21, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Author Share Posted August 21, 2013 min_group_id_to_connect: -1? Quote Link to comment Share on other sites More sharing options...
Capuche Posted August 21, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
Question
Phantom Of Rogue-Gon
can i requesting script auto kick when the player login :Dbut not gm normal account
Link to comment
Share on other sites
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.