Subscriber JohnDory Posted February 8, 2012 Subscriber Share Posted February 8, 2012 Silent use's the admin.cfg file to store users guid's and levels.Can you confirm that this is the default admin.cfg [admin] name = name of the admin (can be left empty) guid = full 32 character PB GUID (this field is used to identify players in the database) sguid = full 32 character GUID silent (this field is used to identify players in the database) level = level number personal admin flags = flags (can be left empty) personal greeting = greeting (can be left empty) greeting_sound = path to personal greeting sound (can be left empty) Also which guid should we use the PB, Silent or both. If we should use only one should the other line be deleted ? Quote Link to comment Share on other sites More sharing options...
Dragonji Posted February 8, 2012 Share Posted February 8, 2012 http://mygamingtalk.com/wiki/index.php/Silent_Shrubbot#.21readadmins Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted February 8, 2012 Management Share Posted February 8, 2012 As Dragon posted. The file is not used to store admins but it is used to add admins to the databse if they haven't been on the server yet. Using the !readadmins command. The block is correct one for the use. You can use either one of the GUID fields to insert admins. You should know, however, that if you use the silEnT GUID then the admins PB GUID will not be inserted to the database later even if he would have one. You don't need to delete any lines from the block, you can just leave the value empty. Quote Link to comment Share on other sites More sharing options...
Subscriber JohnDory Posted February 8, 2012 Author Subscriber Share Posted February 8, 2012 Got ya thanks So once someone has been added to the database there is no need to keep the admin.cfg file Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted February 8, 2012 Management Share Posted February 8, 2012 Yes. Quote Link to comment Share on other sites More sharing options...
PIPICHE Posted March 16, 2012 Share Posted March 16, 2012 Hello,I have a problem.If I go through the command in the console setLevel it makes me very rights that I ask.But we have many users in our shrubbot I shrubbot therefore depends on which I put some below.Quans but I did that he could not recognize the levels to people and I have the following error messsage.Could you help me I'm in 0.5.1.Thank you in advance Shrubbot [admin] name = |^2M^3T^1C^7|^2*^eSerial Killer^2* guid = EEC9825DE6C064C5EE3E0C2930D75CDA level = 7 flags = greeting = greeting_sound = [admin] name = ^7|^2M^3T^1C^7|^s*^IM^+y^+r^qe^s* guid = C96EF89F34B0218CB43FD2CD52F151AF level = 7 flags = greeting = greeting_sound = Console message readconfig: [level] parse error near [admin] on line 2372 readconfig: [level] parse error near guid on line 2375 readconfig: [level] parse error near = on line 2375 readconfig: [level] parse error near EEC9825DE6C064C5EE3E0C2930D75CDA on line 2376 readconfig: [level] parse error near [admin] on line 2384 readconfig: [level] parse error near guid on line 2387 readconfig: [level] parse error near = on line 2387 readconfig: [level] parse error near C96EF89F34B0218CB43FD2CD52F151AF on line 2388 readconfig: loaded 8 levels, 64 bans, 0 subnet bans, 49 commands and 0 warnings Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted March 16, 2012 Management Share Posted March 16, 2012 You need to put the admin blocks into a separate file named admins.cfg. Then you need to use the !readadmins command. The !readconfig command does not recognize admin blocks. The reason for that is that if it would, it would overwrite all the changes made with the online admin commands. LarryWall 1 Quote Link to comment Share on other sites More sharing options...
PIPICHE Posted March 17, 2012 Share Posted March 17, 2012 ok great thank you very much Quote Link to comment Share on other sites More sharing options...
LarryWall Posted January 9, 2014 Share Posted January 9, 2014 You need to put the admin blocks into a separate file named admins.cfg. Then you need to use the !readadmins command. The !readconfig command does not recognize admin blocks. The reason for that is that if it would, it would overwrite all the changes made with the online admin commands.What do I put into admins.cfg, and where would I put that file exactly? Is there examples somewhere? Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 9, 2014 Management Share Posted January 9, 2014 If you previously had an ETPub server, you can add the old admins to the silEnT database usig this method. You need to copy the admin blocks from the ETPub shrubbot.cfg to a file named admins.cfg and place that file to the database folder. When you issue the !readadmins command, the admin blocks are read from the admins.cfg file and added to the silEnT database. http://mygamingtalk.com/wiki/index.php/Silent_Shrubbot#.21readadmins Quote Link to comment Share on other sites More sharing options...
LarryWall Posted January 9, 2014 Share Posted January 9, 2014 If you previously had an ETPub server, you can add the old admins to the silEnT database usig this method. You need to copy the admin blocks from the ETPub shrubbot.cfg to a file named admins.cfg and place that file to the database folder. When you issue the !readadmins command, the admin blocks are read from the admins.cfg file and added to the silEnT database. http://mygamingtalk.com/wiki/index.php/Silent_Shrubbot#.21readadminsYes, the problem is I need to see what an example admins.cfg file actually looks like...I can't seem to find an example one anywhere via google! =( Quote Link to comment Share on other sites More sharing options...
Dragonji Posted January 9, 2014 Share Posted January 9, 2014 Yes, the problem is I need to see what an example admins.cfg file actually looks like...I can't seem to find an example one anywhere via google! =([admin] name = ETPlayer sguid = 12345678912345678912345678912345 guid = 98765432198765432198765432198765 level = 5 flags = greeting = greeting_sound = [admin] name = sguid = 98765432198765432198765432198765 guid = 12345678912345678912345678912345 level = 3 flags = AbC greeting = greeting_sound = hellreturn and LarryWall 2 Quote Link to comment Share on other sites More sharing options...
LarryWall Posted January 9, 2014 Share Posted January 9, 2014 [admin] name = ETPlayer sguid = 12345678912345678912345678912345 guid = 98765432198765432198765432198765 level = 5 flags = greeting = greeting_sound = [admin] name = sguid = 98765432198765432198765432198765 guid = 12345678912345678912345678912345 level = 3 flags = AbC greeting = greeting_sound =Can you tell me where to find these 'guid' and 'sguid' numbers please? Quote Link to comment Share on other sites More sharing options...
Dragonji Posted January 9, 2014 Share Posted January 9, 2014 Can you tell me where to find these 'guid' and 'sguid' numbers please?I don't know if you can get them in-game but they surely can be found in your server log:19:42:18 Userinfo: \cg_ident\1234567891234567\cg_etver\1\cg_c\0.8.1\cg_cmodbuild\win-x86 Nov 11 2013\cg_uinfo\13 0 100\sil_guid\<your_sguid>:2\g_password\none\cl_guid\<your_guid>\cl_punkbuster\1\cl_anonymous\0\snaps\20\rate\45000\name\ETPlayer\cl_wwwDownload\1\ip\x.x.x.x:27960 LarryWall 1 Quote Link to comment Share on other sites More sharing options...
LarryWall Posted January 9, 2014 Share Posted January 9, 2014 I don't know if you can get them in-game but they surely can be found in your server log:Where can I find this server log? /var/log or ? Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 9, 2014 Management Share Posted January 9, 2014 The log is usually in the fs_basepath/fs_game folder. But why do you need the !readadmins command? This is relevant only when you had old server from where you copy admins without them visiting the new server. For a new server, first set yourself to the highest admin level by doing !setlevel as rcon to yourself. After that, you can continue with !setlevel to all the admins when they come. Or if they are not online, but have already visited the server, using the !useredit command. http://mygamingtalk.com/wiki/index.php/Silent_Shrubbot#.21setlevelhttp://mygamingtalk.com/wiki/index.php/Silent_Shrubbot#.21useredit Quote Link to comment Share on other sites More sharing options...
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.