This project is not under active development. That means I am not adding features and not fixing issues. However, I will review and potentially merge Pull Requests.
When uploading more than a thousand racks to your server, you'll see more and more how it goes slower and slower. Now more players are joining, the CPU goes to 100% at scoretable and synchronisation. This mod tries to tackle that performance issue. The idea is to only have 5 tracks in the tracklist of the server at the same time, while all other tracks are dynamically added and removed by this mod
As explained above, this plugin adds and removes the maps from the tracklist to keep it small. It chooses the tracks from special folder in your /GameData/Tracks/ folder. Jukeboxing is also possible and you can see all the tracks on the server (but not in the tracklist ;)).
This could be a bit hard to understand, so I created a sketch to visualize it ;) https://abload.de/image.php?img=dynmaps7qpc5.png
MUST READ. Because it's a mod, the installation is not as trivial as a normal plugin. Here we go:
<plugin>askuri.dynmaps.php</plugin>
That's very important! Adding it after them, you may get errors about undefined functions or anything else.This is easily done. Go to your server folder and open GameData/Tracks/Challenges/. Create a folder called dynmaps. Put all your tracks there. No limits, no performance loss (ok, it takes more time on caching challenge information. But that's only when manually do this, or on startup (set
When adding and removing tracks, run /dyn_cacherefresh ingame for changes to take effect.
Important: You should only have 1 track in your real matchsettings, normally saved at /MatchSettings/tracklist.txt. This plugin doesn't change anything there, it's just to get the server started. It would complain if there was no track at all. The track added this tracklist should be in the dynmaps folder mentioned above.