AutoReferee

AutoReferee

9.1k Downloads

Custom Map Database

Adohgg opened this issue ยท 1 comments

commented

A cool feature to have would be a section in the Autoref config to link a custom map server owned by you. For example, link to my own webserver with all my maps.

commented

Use the config.yml setting server-mode.map-repo to change where it loads from. You'll need to setup your directory in the same way that the official AutoReferee repository is setup (as generated by mapsync.sh, though you'll want to comment out the last line that syncs it with my Amazon S3 account).

This is the format of the generated list.csv:

ArcaneRealms;1.11r;ArcaneRealms-v1.11r.zip;12bae645fab18c38d57caa318c6cbda5
CorruptLands;1.1;CorruptLands-v1.1.zip;95cdaa7a850a3086a9347dcabb412d56
DirectFire;1.0;DirectFire-v1.0.zip;42eb1822dcfc6f6e80cab7c7579bcbce
DividedTogether;1.2.1b;DividedTogether-v1.2.1b.zip;c35a46d302eb2a648e5dc1c766310f32
FallingRuins;1.0;FallingRuins-v1.0.zip;4ed4eecc78e1ddcc7b2fba164635004c
ModernWoolfare;2.0;ModernWoolfare-v2.0.zip;9efc7bbf1e20f84641bfce77f8fd73ea
MountainMayhem;1.1.4c;MountainMayhem-v1.1.4c.zip;b3aaf248a6314cd9bac1977883cb631e
OWBOX;1.1r;OWBOX-v1.1r.zip;99e224dee8c34156fef4fab110991f09
PeacefulParadise;1.0r;PeacefulParadise-v1.0r.zip;5b97c0dac65765544cddcff0ce2de6f9
Revolution;1.2b;Revolution-v1.2b.zip;39fce5c0ac0742431f3759872fa130da
RiteofPassage;1.3.2;RiteofPassage-v1.3.2.zip;a4d89fecb8f30cb1668df8fb4bacb233
SphericRuins;1.5r;SphericRuins-v1.5r.zip;6894dc2fea8ea06bdcd610d1fc01e3a3
TwistedDesert;1.0.7c;TwistedDesert-v1.0.7c.zip;556174a0ab10137b98175c5fa7b3c589
UncivilEngineering;1.1;UncivilEngineering-v1.1.zip;b9a48509137445c983e04ab8c798d005

Each line contains (semicolon-seperated):

  • Map name (no spaces)
  • Current version number
  • Name of file in this directory (the zip file generated by /autoref archive zip)
  • MD5 sum of the file (to ensure downloads work properly)

Consider, however, if this is only for a single, local server, you need only put the map zips/folders into your maps/ folder in your server root. Even if these files aren't available in the central repository, they will load and execute properly, removing the need for all the hassle above.