World Configuration - Z4OLLIEZ4/Space GitHub Wiki

worlds.yml

worlds.yml is a file that contains information on how you'd like the plugin to load, and affect specific worlds. All attributes are case sensitive.

Contents

Attributes

There are a few attributes that space requires in order to load a world successfully.

oxygen

  • This attribute determines whether a world will be freely breathable or require protective gear
  • This can only accept the arguments true or false

Example:

oxygen: false

microgravity

  • This attribute determines whether a planet will have slow-falling or not
  • This can only accept the arguments true or false

Example:

microgravity: true

microgravity-level

  • This attribute determines how quickly players will fall in microgravity enabled worlds
  • This is not used if microgravity: false
  • This can accept integers between 1-15. Higher numbers will mean slower falling.

Example:

microgravity-level: 1

mob-microgravity

  • This attribute determines whether mobs in the world will be affected by microgravity or not
  • This is independent to the microgravity option
  • This can only accept the arguments true or false

Example:

mob-microgravity: true

item-microgravity

  • This attribute determines whether items in the world will be affected by microgravity or not
  • This is independent to the microgravity option
  • This can only accept the arguments true or false

Example:

item-microgravity: true

display-name

  • This attribute determines the display name of the world in the rocket
  • This can accept any string argument

Example:

display-name: "Space"

enhanced-creepers

  • This attribute determines whether the world will use enhanced creepers
  • This can only accept the arguments true or false

Example:

enhanced-creepers: true

radioactive

  • This attribute determines whether the world will be radioactive
  • This can only accept the arguments true or false

Example:

radioactive: true

dead-astronauts

  • This attribute determines whether the world will use dead astronauts
  • This can only accept the arguments true or false

Example:

dead-astronauts: true

custom-ores

  • This attribute determines whether the world will use custom ores
  • This can only accept the arguments true or false

Example:

custom-ores: true

prevent-crops

  • This attribute determines whether the world will prevent crop growth
  • This only matters if oxygen: false
  • This can be quite resource intensive
  • This can only accept the arguments true or false

Example:

prevent-crops: true

deny-flight

  • This attribute determines whether player flight should be disabled in the world
  • This will also render the jetpack module unusable
  • This can only accept the arguments true or false

Example:

deny-flight: true

skull

  • This attribute determines the skull texture that should be shown for the world within the rocket GUI
  • This can only accept string arguments

Example:

skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjdhZDk2Y2IyYTRiMTRkMDE2MWYyODc5OTRkM2RiMTg3YWZkODcxNjRmMzk4N2I4N2U3ZjExOGQxZjU4NzkifX19"

skull-lore

  • This attribute determines the lore of the skull displayed in the rocket GUI
  • This can only accept string arguments

Example:

skull-lore: "&7An extraterrestrial planet devoid of life"

prevent-passive

  • This attribute determines whether the world will prevent passive mobs spawning
  • This can only accept the arguments true or false

Example:

prevent-passive: true

use-jumpboost

  • This attribute determines whether the world will allow the player to jump higher
  • This can only accept the arguments true or false

Example:

use-jumpboost: true

jumpboost-level

  • This attribute determines how high the player can jump
  • This attribute is only relevant if use-jumpboost: true
  • This can only accept integer values

Example:

jumpboost-level: 1

zero-gravity

  • This attribute determines whether the world will have no gravity at all (Absolute floating, as in Orbit)
  • This can only accept the arguments true or false

Example:

zero-gravity: true

display-in-rocket

  • This attribute determines whether the world will be shown in the rocket GUI for players to teleport to
  • This can only accept the arguments true or false

Example:

display-in-rocket: true

fuel

  • This attribute determines how much fuel is required to teleport to the planet using a rocket
  • If set to 0, this option will not matter
  • This can only accept integer arguments

Example:

fuel: 0

safe-void

  • This attribute, if true, will make it impossible for the player to die due to void damage
  • This can only accept the arguments true or false

Example:

safe-void: true

acid-rain

  • This attribute determines whether the world will have acid rain or not
  • This can only accept the arguments true or false

Example:

acid-rain: false

acid-water

  • This attribute determines whether the world will have acid water or not
  • This can only accept the arguments true or false

Example:

acid-water: false

temperature

  • This attribute determines the temperature of the world
  • A cold world requires the argument -1
  • A normal world requires the argument 0. This will disable temperature for that world.
  • A hot world requires the argument 1
  • This can only accept the arguments -1, 0, 1

Example:

temperature: 0

respawn-world

  • This attribute determines the world the player will respawn in, provided they die in this world
  • The world provided must exist
  • If the same world is input as the world you are currently adding, this will have no effect
  • This can only accept string arguments

Example:

respawn-world: Space

permission

  • The permission required to teleport to this world
  • This can only accept string arguments

Example:

permission: space.test

rocket-mode

  • The mode which rockets should operate under. Rocket mode 0 indicates world-to-world transfers should be used, where as rocket mode 1 indicated world-to-server transfers should be used. This is only necessary if you are using bungee and would like to send the player to another server, otherwise you should be using rocket-mode: 0
  • This can only accept integer arguments 0 and 1

Example:

rocket-mode: 0

Example Configuration File

Worlds:
  Space:
    oxygen: false
    microgravity: true
    microgravity-level: 1
    mob-microgravity: true
    item-microgravity: true
    display-name: "Space"
    enhanced-creepers: true
    radioactive: false
    dead-astronauts: true 
    custom-ores: true
    prevent-crops: false
    deny-flight: true
    skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjdhZDk2Y2IyYTRiMTRkMDE2MWYyODc5OTRkM2RiMTg3YWZkODcxNjRmMzk4N2I4N2U3ZjExOGQxZjU4NzkifX19"
    skull-lore: "&7An extraterrestrial planet devoid of life"
    prevent-passive: true
    use-jumpboost: true
    jumpboost-level: 1
    zero-gravity: false
    display-in-rocket: true
    fuel: 0
    safe-void: true
    acid-rain: false
    temperature: 0 # -1 = cold, 0 = normal, 1 = hot
    respawn-world: Space # The world the player will spawn in if they die in this world
    rocket-mode: 0 # 0 for world to world transportation, 1 for server to server transportation (bungee only)
  Orbit:
    oxygen: false
    # This does not matter on the orbit world
    microgravity: true
    microgravity-level: 1
    mob-microgravity: true
    item-microgravity: true
    display-name: "Orbit"
    enhanced-creepers: false
    radioactive: false
    custom-ores: false
    prevent-crops: false
    dead-astronauts: false
    zero-gravity: true
    deny-flight: true
    skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2U4YWFkNjczMTU3YzkyMzE3YTg4YjFmODZmNTI3MWYxY2Q3Mzk3ZDdmYzhlYzMyODFmNzMzZjc1MTYzNCJ9fX0="
    skull-lore: "&7Create or teleport to your space station"
    prevent-passive: true
    display-in-rocket: true
    use-jumpboost: false
    jumpboost-level: 0
    safe-void: true
    acid-rain: false
    temperature: 0 # -1 = cold, 0 = normal, 1 = hot
    respawn-world: world # The world the player will spawn in if they die in this world
    rocket-mode: 0 # 0 for world to world transportation, 1 for server to server transportation (bungee only)
  world:
    oxygen: true
    microgravity: false
    microgravity-level: 0
    mob-microgravity: false
    item-microgravity: false
    display-name: "Earth"
    enhanced-creepers: false
    radioactive: false
    display-in-rocket: true
    zero-gravity: false
    custom-ores: true
    prevent-crops: false
    deny-flight: false
    skull: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmUyY2M0MjAxNWU2Njc4ZjhmZDQ5Y2NjMDFmYmY3ODdmMWJhMmMzMmJjZjU1OWEwMTUzMzJmYzVkYjUwIn19fQ"
    skull-lore: "&7Return to your home planet"
    prevent-passive: false
    use-jumpboost: false
    jumpboost-level: 0
    dead-astronauts: false
    fuel: 1000
    safe-void: true
    acid-rain: false
    temperature: 0 # -1 = cold, 0 = normal, 1 = hot
    respawn-world: world # The world the player will spawn in if they die in this world
    rocket-mode: 0 # 0 for world to world transportation, 1 for server to server transportation (bungee only)
⚠️ **GitHub.com Fallback** ⚠️