phogue / Potato

Procon 2 is a (long promised and often postponed) second release of the Procon admin tool for gameservers. Once released, it will allow managing several games and automating tasks via plugins.
https://myrcon.com/
Apache License 2.0
20 stars 4 forks source link

Include AbbreviatedName in game mode #67

Closed phogue closed 10 years ago

phogue commented 10 years ago

The configs for BF3/BF4 require an additional field in each game mode (just the top definitions)

{
            "Name": "SquadDeathMatch0",
            "FriendlyName": "Squad Deathmatch",
            "TeamCount": "4",
            "DefaultGroups": [
                {
                    "Uid": "0",
                    "Type": "Squad"
                }
            ]
        }

Using the following the abbreviated name would be "SQDM", conquest "CQST" - whatever keeps it short and understandable to people that have played the game long enough to rent a server.

It's not limited to 4 chars. Just as short as possible while still making sense.

{
            "Name": "SquadDeathMatch0",
            "FriendlyName": "Squad Deathmatch",
            "AbbreviatedName": "SQDM",
            "TeamCount": "4",
            "DefaultGroups": [
                {
                    "Uid": "0",
                    "Type": "Squad"
                }
            ]
        }

The resulting config should be run through http://jsonformatter.curiousconcept.com/ or another json validator to ensure the merge is a success :)

@EBassie can you have a look at this?

EBassie commented 10 years ago

Done

phogue commented 10 years ago

69 and #68 close this issue