ABANDONED
A lightweight solution for multiworld support. Enables creating, teleporting to, and deleting multiple worlds with a few simple commands
Update is in active development - includes load file manager - teleportation delay and configuration file
Usage
Disclaimer : While this plugin is very safe, it is possible to accidentally delete your worlds. Backups are recommended
To automatically load a world on server start edit the configuration file found at /plugins/SimpleWorldPlugin/load.cfg If you created a world called "end2" with environment "end" it would look like this :
Quote from load.cfg:worldname:end2|end
The world will then be loaded into memory automatically upon server start/reload
Commands and Permissions
command | description | usage | permission |
---|---|---|---|
createworld | create world with args | /createworld [name] [environment] [generate buildings (true/false)] | simpleworld.create |
switchworld | teleport to world [name] | /switchworld [name] | simpleworld.switch |
listworlds | list all worlds currently in memory | /listworlds | simpleworld.list |
loadworld | load world into memory so it's usable | /loadworld [name] [environment] | simpleworld.load |
unloadworld | unload world from memory | /unloadworld [name] | simpleworld.unload |
deleteworld | unload world from memory and delete world folder | /deleteworld [name] | simpleworld.delete |
Environments
- normal
- nether
- end
if invalid environment is provided will default to normal
WARNING: WHEN USING LOADWORLD MAKE SURE YOU INPUT THE CORRECT ENVIRONMENT. IF YOU DON'T IT WILL OVERWRITE YOUR OLD WORLD
Changelog
- v1.0 Initial Release
TODO
- Implement map_backup into api
- Implement command for editing load list.
- Make load file more user-friendly
- Allow for portals to teleport players instead of commands
- Create configuration file
- Allow for configurable teleportation delay (ex. "You will be teleported in [x] seconds, don't move!")
- Allow for world specific teleportation permissions ( ex. Can teleport to world "creative" but not world "vip creative")
- Create world save file so environment no longer needs to be input manually. [IMPORTANT]