Admin support for servers?

dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
Is there any admin scripts and so on inside the server folder?

Is there any mods that will allow me to add a admin list into the game.

As far as I see there's a lack of support for servers that aren't ran on the computer you're using.

Comments

  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    edited November 2012
    The web panel is pretty good, but what are you looking to do? I'm not exactly sure what you mean... There is also the ServerAdmin.json, that allows in server administration. DAK admin expands on some of those functions as well.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011050:date=Nov 5 2012, 06:12 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 06:12 AM) <a href="index.php?act=findpost&pid=2011050"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The web panel is pretty good, but what are you looking to do? I'm not exactly sure what you mean... There is also the ServerAdmin.json, that allows in server administration. DAK admin expands on some of those functions as well.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I ment making admins in my game server?

    I was looking at the ServerAdmin.lua but I can't seem to understand it much (Newbie somewhat)
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    The file you are looking for is ServerAdmin.<i>json</i>. It is the list of admins. It should be in the same directory as your other configs. The way to set it up is located in the Dedicated_server_usage.txt file. The <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Dedicated_Server#ServerAdmin.json" target="_blank">wiki</a> is also useful.
  • VitdomVitdom Join Date: 2012-04-30 Member: 151345Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, WC 2013 - Shadow
    edited November 2012
    <!--quoteo(post=2011141:date=Nov 5 2012, 04:21 PM:name=dazzn91)--><div class='quotetop'>QUOTE (dazzn91 @ Nov 5 2012, 04:21 PM) <a href="index.php?act=findpost&pid=2011141"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I ment making admins in my game server?

    I was looking at the ServerAdmin.lua but I can't seem to understand it much (Newbie somewhat)<!--QuoteEnd--></div><!--QuoteEEnd-->
    ServerAdmin.lua is the game's code and is interpreted by the engine. If you change it your game might not work.

    The file you are looking for is the ServerAdmin.json configuration file.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011181:date=Nov 5 2012, 07:50 AM:name=Vitdom)--><div class='quotetop'>QUOTE (Vitdom @ Nov 5 2012, 07:50 AM) <a href="index.php?act=findpost&pid=2011181"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->ServerAdmin.lua is the game's code and is interpreted by the engine. If you change it your game might not work.

    The file you are looking for is the ServerAdmin.json configuration file.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I see, But I can't see this .json file at all? I've been through every folder and there's not one sign of it.

    I can see Dedicated_Server_Usage.txt though.
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    Do you have access to the entirety of the server's files (i.e. using a more restricted server panel)? You could try setting the -config_path line of your server to something that you can see. From there, the server should set you up a new config directory and generate new files at the selected location.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011203:date=Nov 5 2012, 08:04 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 08:04 AM) <a href="index.php?act=findpost&pid=2011203"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Do you have access to the entirety of the server's files (i.e. using a more restricted server panel)? You could try setting the -config_path line of your server to something that you can see. From there, the server should set you up a new config directory and generate new files at the selected location.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I access my files via a program called FZ or FillaZilla.
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    Alright, but can you see/do you have access to your server's start up command line? The -config_path would really help you. If that is set, then the following parameter is the directory you are looking for, if it is not, try to set it if you know the absolute path to where you want your config directory to be.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011224:date=Nov 5 2012, 08:20 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 08:20 AM) <a href="index.php?act=findpost&pid=2011224"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Alright, but can you see/do you have access to your server's start up command line? The -config_path would really help you. If that is set, then the following parameter is the directory you are looking for, if it is not, try to set it if you know the absolute path to where you want your config directory to be.<!--QuoteEnd--></div><!--QuoteEEnd-->

    The only thing I really have access too is the main server configuation (server.txt) But because my server is hosted somewhere in the uk by a company called Game servers they dont have a console for NS2.
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    Ah yes, their "Custom Control Panel" might not be ready. Odd though, most of the other panels are compatible with NS2. In any event, I suppose you need to submit a ticket asking for your config directory to be made visible to you and/or to be moved to a location where you can access it.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011248:date=Nov 5 2012, 08:32 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 08:32 AM) <a href="index.php?act=findpost&pid=2011248"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Ah yes, their "Custom Control Panel" might not be ready. Odd though, most of the other panels are compatible with NS2. In any event, I suppose you need to submit a ticket asking for your config directory to be made visible to you and/or to be moved to a location where you can access it.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Nevermind, I asked for support. They updated the game and boom, I have a config folder and a ServerConfig.json file and a ServerAdmin.json etc.
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    Good to hear you have it working. Odd that they did not have it visible in the first place.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011258:date=Nov 5 2012, 08:37 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 08:37 AM) <a href="index.php?act=findpost&pid=2011258"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Good to hear you have it working. Odd that they did not have it visible in the first place.<!--QuoteEnd--></div><!--QuoteEEnd-->

    So just edit this?
    {
    "groups": {
    "mod_group": {
    "commands": [ "sv_reset", "sv_ban" ],
    "type": "allowed"
    },
    "admin_group": {
    "commands": [ ],
    "type": "disallowed"
    }
    },
    "users": {
    "NsPlayer": {
    "id": 10000001,
    "groups": [ "admin_group" ]
    }
    }
    }
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    Yes, that is all that you have to change. Just add entries in the way the template indicates.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011263:date=Nov 5 2012, 08:41 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 08:41 AM) <a href="index.php?act=findpost&pid=2011263"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Yes, that is all that you have to change. Just add entries in the way the template indicates.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I tried and once I try to join it goes "Invalid data"
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    That does not sound like a problem from the administration system. I am unsure as to the cause, and I will try to find out.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011282:date=Nov 5 2012, 08:53 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 08:53 AM) <a href="index.php?act=findpost&pid=2011282"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->That does not sound like a problem from the administration system. I am unsure as to the cause, and I will try to find out.<!--QuoteEnd--></div><!--QuoteEEnd-->

    I just noticed that NS2 needs a special Steam ID to work. I got my ID fixed and I'll try it again.
  • Silent262Silent262 Join Date: 2012-09-21 Member: 160267Members
    Given the response time, I suppose it worked.
  • dazzn91dazzn91 Join Date: 2012-11-05 Member: 167138Members
    <!--quoteo(post=2011334:date=Nov 5 2012, 09:41 AM:name=Silent262)--><div class='quotetop'>QUOTE (Silent262 @ Nov 5 2012, 09:41 AM) <a href="index.php?act=findpost&pid=2011334"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Given the response time, I suppose it worked.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Everything is working, Sorted. Full server already, So thanks for your help!
Sign In or Register to comment.