veldik/AdventureMapManager — reverse-engineered prompt
Reverse engineered prompt
Build me a Minecraft Spigot plugin for running one adventure map server cleanly.
I want server owners to configure one adventure map in a config file with its name, Minecraft version, world name, download link, resource pack link and sha1, website, author, and player limit. When the server starts, it should download the configured world zip and reset the map back to a fresh state. When everyone leaves the server, it should shut the server down so a host or restart script can bring it back up fresh.
Players should see a message about the map when they join, and there should be a simple /map command that shows the current map info. The plugin should enforce the configured player limit. It should also be able to force a resource pack, kicking players who refuse it if that option is enabled.
Please include placeholder support for the map fields, and an option to download the right PaperMC server jar based on the configured map Minecraft version. Use Java and make it build as a normal Spigot plugin.
Want more depth? Deep Reverse