DedicatedServer tags usage

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
User avatar
magnetik
Nadeo
Nadeo
Posts: 1678
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

DedicatedServer tags usage

Post by magnetik »

Hi,

As you may know there is the ability to tag your server using the XML-RPC method SetServerTag(string key, string value).

In order to make this feature usable for everyone, I suggest that we keep a list of common keys that can be used accross different server controlers.

For instance I've started a light ManiaLive plugin which synchronize every MatchSettings settings (it will allow us to make filters by settings for instance). You can check it out here.

I've also made a little plugin to add a tag for the controller, and the controller version using the keys nl.controller and nl.controller.version.


Current "reserved keys" are :
  • S_*: MatchSettings settings
  • nl.controller: name of the controller
  • nl.controller.version: version of the controller
  • nl.mappack: name of the current mappack
  • nl.mappack.version: version of the current used mappack
If you want to store complex values, please json encode them.

This is only a first draft, do not hesitate to comment :thumbsup:
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: DedicatedServer tags usage

Post by steeffeen »

to suggest which tags could be useful we need to know where/how they can be accessed?
for example via the ingame server browser or the web service api?

i could think of a tag showing the team running the server
or a tag showing that a server belongs to a specific tournament
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    magnetik
    Nadeo
    Nadeo
    Posts: 1678
    Joined: 01 Feb 2012, 19:13
    Location: Bordeaux
    Contact:

    Re: DedicatedServer tags usage

    Post by magnetik »

    I think it will be available on the API first, we also have some pratical usage in mind, you'll see it quite soon :thumbsup:
    ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
    User avatar
    Slig
    Posts: 640
    Joined: 15 Jun 2010, 11:52
    Location: TraXicoLand

    Re: DedicatedServer tags usage

    Post by Slig »

    I'm not sure what it is supposed to be used for. Those tags and values would be visible or usable somewhere within the game (like in server lists, filtering servers, on in server connection infos) ? Or it is supposed to be used between controllers and managers to share infos ? Or... ?
    User avatar
    magnetik
    Nadeo
    Nadeo
    Posts: 1678
    Joined: 01 Feb 2012, 19:13
    Location: Bordeaux
    Contact:

    Re: DedicatedServer tags usage

    Post by magnetik »

    So, the tag are stored on master server side, so we can use them for different purposes, such as:
    • creating custom server filter (based on MatchSettings, on the installed server controller or whatever)
    • doing statistics (how many servers runs ManiaLive, XAseco..?)
    Your turn to imagine what we can do with this feature :thumbsup:
    ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
    User avatar
    magnetik
    Nadeo
    Nadeo
    Posts: 1678
    Joined: 01 Feb 2012, 19:13
    Location: Bordeaux
    Contact:

    Re: DedicatedServer tags usage

    Post by magnetik »

    I've added a key 'nl.mappack' to store the current mappack used by the server so we can filter on this in the browser.
    ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
    User avatar
    w1lla
    Posts: 2396
    Joined: 15 Jun 2010, 11:09
    Location: Netherlands
    Contact:

    Re: DedicatedServer tags usage

    Post by w1lla »

    Hi,

    A few proposals;

    a nl.pluginlist tag:

    Server tag for all the plugins the server controller is running. In the current case only server controller is sent but not the plugins. For Server admins, or Server controller developers it might come in handy to get data from servers and see what are the favourite plugins and which aren't.

    a nl.relayserver tag:

    Let the serverviewer also show Relays for a custom server/relay filter. (NoOne seems to care about Relays/ManiaChannels)
    TM² Info
    SM Info
    QM Info

    OS: Windows 10 x64 Professional
    MB: MSI 970A-G46
    Processor: AMD FX-6300 3500 mHz
    RAM Memory: 16 GB DDR3
    Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
    KB: Logitech G510s
    Mouse: Logitech G300s
    Mode Creation
    ManiaScript Docs
    User avatar
    Xymph
    Posts: 1426
    Joined: 15 Jun 2010, 20:35
    Contact:

    Re: DedicatedServer tags usage

    Post by Xymph »

    What does 'nl' stand for, anyway?
    I won't presumptuously assume it's the Netherlands country code. ;)

    And I'm with Slig on this, it's still not clear to me what this is good for, and whether/how I should deal with it in XAseco2. Then again, I didn't study/experiment with the underlying methods yet, either.
    Last edited by Xymph on 10 Jul 2013, 14:28, edited 1 time in total.
    Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
    Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
    User avatar
    Blueplayer
    Posts: 170
    Joined: 05 Apr 2011, 17:34

    Re: DedicatedServer tags usage

    Post by Blueplayer »

    nl = nadeolive
    Post Reply

    Return to “Dedicated Server Tools”

    Who is online

    Users browsing this forum: No registered users and 1 guest