Page 1 of 1

DedicatedServer tags usage

Posted: 08 Jul 2013, 17:15
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:

Re: DedicatedServer tags usage

Posted: 08 Jul 2013, 17:42
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

Re: DedicatedServer tags usage

Posted: 08 Jul 2013, 20:56
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:

Re: DedicatedServer tags usage

Posted: 08 Jul 2013, 23:40
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... ?

Re: DedicatedServer tags usage

Posted: 09 Jul 2013, 16:45
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:

Re: DedicatedServer tags usage

Posted: 10 Jul 2013, 08:53
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.

Re: DedicatedServer tags usage

Posted: 10 Jul 2013, 10:57
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)

Re: DedicatedServer tags usage

Posted: 10 Jul 2013, 14:27
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.

Re: DedicatedServer tags usage

Posted: 10 Jul 2013, 14:28
by Blueplayer
nl = nadeolive