for-users/Worlds and IDs
As you might know, v2 totally changes the way bSpace handles world loading & creating. The plugin will no longer generate the worlds itself, which means it requires you to use a world manager or bukkit.yml to create spaceworlds.
Note: Bukkit.yml can be used ONLY when you want a space world to be the default world. It does NOT generate worlds unless it is the default.
But then we won't have awesome features!
You will. Now every time you use a world manager or bukkit.yml to generate a space world, the getDefaultWorldGenerator-method will add the world to the list of space worlds. This way every single space world will have the awesome features bSpace has to offer! No matter what the world manager, space worlds will work nicely. Sure we could also leave teleporting to them to the world managers, but we have people using bukkit.yml as well.
What are IDs?
IDs are a new way of modifying space world settings. Here are some quick features:
- 1 ID can be used with many space worlds
- Only define settings, name is up to you
- Just as easy to modify as the old worlds
If you take a dive into the default ids.yml file, you will notice there is an example ID already, but commented out. That is the default one that will be used if you specify an invalid or no ID at all. It has the exact same default settings as the old default world. So now that you know what IDs really are, I can show you an example ID:
ids: awesome: # World generation options generation: generateplanets: true generateasteroids: true generatesatellites: true generatefloor: true # If this is true, bSpace will look for schematics in plugins/bSpace/schematics! These will be used in world generation. generateschematics: true # From 1-200. These can be turned off with the generateasteroids-setting. glowstonechance: 12 stonechance: 20 # From 1-1337. This can be turned off with the generatesatellites-setting. satellitechance: 4 # From 1-200. This can be turned off with the generateschematics-setting. schematicchance: 5 # Spacesuit options suit: required: false # Spacehelmet options helmet: required: false # Breathing area options (the higher this is, the higher a "breathable" area can be. maxroomheight: 5 # Miscellaneous options weather: true alwaysnight: true neutralmobs: true hostilemobs: false
NOTE: For the most up-to-date configuration file examples see Configuration.
So how do I use IDs when creating a space world?
Simple! You just make sure the ID is in the ids.yml-file and then use your favorite world manager or bukkit.yml, and where you would usually add a generator id, you put the name of the ID you want to use. Remember: If it's invalid, we'll make it use default settings! For example, if you wanted to use an ID called 'awesome', and create the world with Multiverse2, this is how: /mv create [NAME] [ENVIRONMENT] -g bSpace:awesome
It's that easy! Hopefully you now know a little bit about IDs and how they work!
Hey, I have tried and tried and I just can't get this to work. Can you please help? I have multiverse core, and I typed: /mv create SpaceWorld normal -g bSpace
How does this not work?
@MisterRobot
You need to add :[ID] to the end of your statement. Read the last 2 paragraphs of the instructions above.
If you edit the id after you have generated the world, does it make any changes to the already generated world?
@statedlight
In my experience, yes, but only in newly generated chunks.
good news form OuterSpace !
i made a copy of the project and make code changes to work under 1.7.2 . The work is in progress and the plugin give no error messages to the console. :)
The suffocation problem and the enter/left room problem is under work. The main issue is that the default ids <planets> always will be used ! This default config is hardcoded and and disable all options of bSpace.
I think the ids logic must be set to the wolrdnames and then it will work stable.
The world generation is not tested by me :(
P.S: Spout support will be disabled !
When the recode is ready i make a new project and a post here for linking.
Happy mining , in space :)
the first update of bSpace is ready.
fixed:
issues:
I make a new project named: bSpaces
I make i link here to the new project.
Happy mining :)