If you go above y:262 you get teleported to a space world. If you go below y:-8 you get teleported to a underground world.
- Place Mrcomputer1SpaceWorlds-x.x.x-SNAPSHOT.jar into your plugins folder
- Start and stop the server
- Configure the plugin in config.yml (ignore worlds.yml it is an internal file)
- Configure permissions.
- Start the server
mvn clean package javadoc:javadoc javadoc:jar Builds plugin, javadoc and javadoc jar
mvn clean package Builds just the plugin
Plugin: target/Mrcomputer1SpaceWorlds-(version)-SNAPSHOT.jar
JavaDoc Jar: target/Mrcomputer1SpaceWorlds-(version)-SNAPSHOT-javadoc.jar
JavaDoc: target/apidocs
The config can be found in config.yml.
maxWorldID: 5 You can go up five worlds.
minWorldID: -5 You can go down five worlds.
blacklist: [world_nether, world_the_end] What worlds don't allow you to go up and down.
messageFormat: "[Mrcomputer1SpaceWorlds] $1" Message format. $1 is the message
starsStartAt: 3 When do worlds start generating with stars.
Places a dirt block at your location. Permission: mrcomputer1spaceworlds.commands.startplatform
Tells you what world you are in. Permission: mrcomputer1spaceworlds.commands.whatworld
Gives you permissions for all commands. See Commands for a list of commands and permission for them.
Allows you to go up and down in all worlds.
Mrcomputer1SpaceWorlds api = (Mrcomputer1SpaceWorlds) Bukkit.getPluginManager().getPlugin("Mrcomputer1SpaceWorlds");
Creates a space world for the world name at location id
Teleports p to the space world for name at location id
Checks if a world needs to be created
Gets the ID of the world. 0 if it is the primary world
Gets the world name.
Checks if you can go higher
Checks if you can go lower
Checks if this world has the plugin enabled
Checks if the world is underground
Checks if the world is the primary world
Sends a chat message (msg) as the plugin to the player (p).
If underground sets the world to NETHER. If space world sets the world to THE_END. name should include the ID suffix.