Closed ge0rdie closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue was closed because it has been stalled for several days with no activity.
Summary OK, so this request could be a bit of a stretch.
I would like to be able to configure the parameters for a map that is not in the current map cycle.
This could possibly be achieved by adding a "meta-data" section to each map config in the mapcycle.txt file that could be interpreted by Spunkybot with the rest being passed through to the game server as actual config items.
ie: Spunky bot reads the mapcycle.txt file, grabs the meta data section, decides if the map should be in the rotation, if it is, passes the rest of the config on to the server, if not, skips to the next map.
Motivation
There would be two benefits:
1) being able to configure the parameters for a map that is not in the current map cycle 2) It would allow a shortcut name for a map to enable an easier for admins to select it\
Additional context
Current format of mapcycle.txt entry:
Possible solution:
Implement a "meta-data" section for each map in the mapcycle.txt, that is interpreted by spunkybot but is not passed onto the game server:
I could then use the command: "!setnext map turnpike" and SB would interpret the metadata (short name etc), but then load the defined config and we would be playing the turnpike map in CTF mode with friendly fire switched on.
Not sure if this is doable, but I can only ask :-)
--ge0rdie