Web Based Server Admin Panel

msleepermsleeper Join Date: 2009-10-13 Member: 69034Members
<div class="IPBDescription">Like in Killing Floor and other Unreal games</div>A web-based server administration panel would be an excellent and welcome addition to the NS2 server. Unreal based games, such as Killing Floor, include this and it makes adding changes on the fly spectacularly easy. Obviously this doesn't replace modifying files and uploading via FTP, but it's great to do a quick change to something.

Here's a screenshot for example.

<img src="http://i30.tinypic.com/n1cy9c.png" border="0" class="linked-image" />

Comments

  • TquilaTquila Join Date: 2010-02-26 Member: 70738Members, NS2 Playtester
    Seems like a pretty neat thing. But isn't that more server hosting company services? I know I'd be able to knoc that up pretty quick in PHP and then merely making it alter a config file.
  • msleepermsleeper Join Date: 2009-10-13 Member: 69034Members
    In KF and other Unreal games, this webpanel is built into the game itself. It's not a PHP script running on some web browser, it's running directly from the game server process. No apache or PHP install required.
  • TquilaTquila Join Date: 2010-02-26 Member: 70738Members, NS2 Playtester
    edited July 2010
    ah my bad so it's less web-based and more an ingame GUI for the server settings? (though the UI seems to be some sort of HTML shizzle but, point being it's in the said game)
  • msleepermsleeper Join Date: 2009-10-13 Member: 69034Members
    It's not in-game, either. It allows you to access the server from the web. In one of the other tabs, you can kick players and chat in-game and so on. But like I said, it's running on the same process that the game server is, and the physical machine does not need apache or PHP or anything installed on it for this to run.

    For example, my game server is on 1.2.3.4:27015. I use that IP to connect to the server in-game. I could then use the built-in web admin by going to <a href="http://1.2.3.4:27016/" target="_blank">http://1.2.3.4:27016/</a> or whatever the web admin port would be, and I load up what I posted in my screenshot.
  • spellman23spellman23 NS1 Theorycraft Expert Join Date: 2007-05-17 Member: 60920Members
    edited July 2010
    Hm, a browser based GUI for server management. Kinda neato.

    +1 once we get around to it.
  • msleepermsleeper Join Date: 2009-10-13 Member: 69034Members
    Saw this on the progress page:

    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Add web based interface for server admin<!--QuoteEnd--></div><!--QuoteEEnd-->

    You guys rock.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    Its like a Disk Station or your Router Configuration pages, they have their own little mini virtual web servers.
  • Racer1Racer1 Join Date: 2002-11-22 Member: 9615Members
    +1

    Wishlist:
    1. Requires https authentication
    2. Requires user to be in "web-admin" group
    3. Allows access to server logs
    4. Ability to restart server
  • SN.WolfSN.Wolf Join Date: 2010-03-29 Member: 71115Members
    edited August 2010
    I have been a long time fan of these tools for trackmania, almost like black bag ops for battlefield but the database allows a web-site interface.



    Servermania Remote control: <img src="http://cyrlaur.free.fr/ServerMania/img/093_feature.jpg" border="0" class="linked-image" />

    Web interface: <img src="http://forum.deepsilver.com/forum_data/img_service/4205448f607f391247.jpg" border="0" class="linked-image" />

    +1
    I agree with racer and maybe some custom add in features as well/\.

    EDIT: WOOT!!!! Just seen this posted on front page:
    Kurt just finished a first pass on a dedicated server web administration interface. Should be pretty slick and powerful. #fb about 1 hour ago via TweetDeck

    Can't wait to see what we can do with it!!!
  • slayer.faithslayer.faith Join Date: 2007-12-10 Member: 63127Members, Constellation, Reinforced - Shadow
    I know it's too late now but Id like to add two things:

    * -100 on this idea
    * can we have a 'dedicated server' subforum? ;-)

    A web interface might be easy, but it has a couple of drawbacks:

    * it's *another* admin tool we need to use
    * it does not work with all the current server admin tools
    * it's more difficult to script
    * it's hard to have it display logs/chat/monitor in real time

    Standards are a good thing, so if you just added the 'rcon' protocol from halflife and used their commands for map change/status and server log output, then we could use all our existing server access tools to run ns2 servers.

    Wouldnt it be 1000 times better to just be able to fire up hlsw and point it to your ns2 server?

    Unix has a philosophy "build tools not finished applications" which means 'make a small thing that other things can use, dont write a whole massive program that does everything but cant be used by other tools'.

    There are *plenty* of libraries for talking 'rcon' to servers, so making a little mini script to translate web <-> rcon would be bog easy!

    What would you rather have:

    * web server *INSIDE* the game engine, cant be scripted (have to do everything manually), wont talk to hlsw
    * just works out of the box with existing halflife server tools?

    At the very least can the engine netcode please be coded to handle 'rcon' type packets? That way someone (like me) could check an rcon hook into the lua code. *cross fingers*

    You dont have to use halflife rcon, but *please* just add a simple console access hooks and let other people write the web gui tools for managing the server! (Admins will write stuff to solve their problems, so please put in the hooks!)
  • PlasmaPlasma Join Date: 2003-04-26 Member: 15855Members, Constellation, Squad Five Blue
    I hope the priority is really just fixing the netcode thats totally awful atm :(
  • SchreqSchreq Join Date: 2010-07-27 Member: 73252Members
    edited August 2010
    <!--quoteo(post=1794858:date=Aug 18 2010, 03:46 AM:name=slayer.faith)--><div class='quotetop'>QUOTE (slayer.faith @ Aug 18 2010, 03:46 AM) <a href="index.php?act=findpost&pid=1794858"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I know it's too late now but Id like to add two things:

    * -100 on this idea
    * can we have a 'dedicated server' subforum? ;-)

    A web interface might be easy, but it has a couple of drawbacks:

    * it's *another* admin tool we need to use
    * it does not work with all the current server admin tools
    * it's more difficult to script
    * it's hard to have it display logs/chat/monitor in real time

    Standards are a good thing, so if you just added the 'rcon' protocol from halflife and used their commands for map change/status and server log output, then we could use all our existing server access tools to run ns2 servers.

    Wouldnt it be 1000 times better to just be able to fire up hlsw and point it to your ns2 server?

    Unix has a philosophy "build tools not finished applications" which means 'make a small thing that other things can use, dont write a whole massive program that does everything but cant be used by other tools'.

    There are *plenty* of libraries for talking 'rcon' to servers, so making a little mini script to translate web <-> rcon would be bog easy!

    What would you rather have:

    * web server *INSIDE* the game engine, cant be scripted (have to do everything manually), wont talk to hlsw
    * just works out of the box with existing halflife server tools?

    At the very least can the engine netcode please be coded to handle 'rcon' type packets? That way someone (like me) could check an rcon hook into the lua code. *cross fingers*

    You dont have to use halflife rcon, but *please* just add a simple console access hooks and let other people write the web gui tools for managing the server! (Admins will write stuff to solve their problems, so please put in the hooks!)<!--QuoteEnd--></div><!--QuoteEEnd-->
    ^ all listen to him!

    I was working with UE2.5 servers for quite some time now. Webinterfaces can be handy sometimes but overall it's just a platform so that even noobs can make settings to a server (sorry, don't want to offend anybody but it's true actually). Stuff like rcon will always be faster and more flexible, though. So if you are ingame for example, it's a lot more convenient to just open the console and make some settings, instead of having to alttab and use a webinterface, because the game lacks good console commands. Something like rcon plus a good auto completion for the ingame console is one thing EVERY game should have.

    oh, and HI... first post :)
  • MartinMartin Join Date: 2010-07-27 Member: 73229Members
    I for one support the idea of RCON for sure. However I like the idea of some way to do data extraction other than the AS2 queries, if they put in data extraction at all and not just things like changing the map and what not.
  • slayer.faithslayer.faith Join Date: 2007-12-10 Member: 63127Members, Constellation, Reinforced - Shadow
    edited October 2010
    Please please please add an rcon interface (in addition or instead) so that we admins can use the exact same tools we already have/use.

    Rcon is a documented protocol and means we can just plug it into our existing server tools.

    Pleeeeeeeeeeeeeeeeeeeeeeeeeesae?!?!

    edit: reworded to sound less like a whining poster ;-)
  • SN.WolfSN.Wolf Join Date: 2010-03-29 Member: 71115Members
    <!--quoteo(post=1802784:date=Oct 26 2010, 12:32 AM:name=slayer.faith)--><div class='quotetop'>QUOTE (slayer.faith @ Oct 26 2010, 12:32 AM) <a href="index.php?act=findpost&pid=1802784"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Please please please add an rcon interface (in addition or instead) so that we admins can use the exact same tools we already have/use.

    Rcon is a documented protocol and means we can just plug it into our existing server tools.

    Pleeeeeeeeeeeeeeeeeeeeeeeeeesae?!?!

    edit: reworded to sound less like a whining poster ;-)<!--QuoteEnd--></div><!--QuoteEEnd-->

    As i posted under your post in the change log. Maybe in game can be done easier.

    Example: The Trackmania series has a Remote Web Admin, A remote Control interface ("servermania" like black bag ops from bf series), as well as an overlay hud using plugins and the same SQL that runs the server web interface that can be toggled by the admin in game. Since they are including web administration it shouldn't be to hard to implement a hud interface that can be toggled as the framework is already there to build off of.

    I rarely use RCON so maybe my words are mute and i am spoiled by menus and buttons rather than strings of commands.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    You can still use HLSW even with a web interface there, The query port is already there its always 1 digit up/down? <i>"i forget"</i> from your selected port for example if its running on 27015 HLSW would need to query 27016. The whole thing still needs lots & lots of work and its not the highest priority yet.

    The server its self has no means of interactive input @ console at the moment.
    The web interface has nothing to do with the availability of rcon from in game or via a tool nor does it replace it but gives an alternative for now, it was quick to impliment this input, besides Its benefit is that many hosts these days are trying to roll every games controlability into a single Web API on their websites so you can log into one panel and manage all your games running on a server and restart servers all in one place.
    It is actually the opposite of easy to write a script to talk to a server not designed for it. The web API introduced changes this compleatly, I have found it incredibly easy to compleatly alter, you can use anything that is able to send AUTH and HTML _POST or _GET fields.

    <i>You will see many places now where you no longer need to contact your host to get your whole server rebooted because means have been intrduced where you can login to a webpage on your hosts site and hit reboot. Hosts will be over the moon with a custumisable web API already intergrated, I know cause I do this for hosts for a living now as their customers have more than accepted the idea of being able to login to their account and manage Everything with it.</i>


    And yes, live realtime updates with a web API <u>is</u> doable, Live chat is doable.
Sign In or Register to comment.