-
Notifications
You must be signed in to change notification settings - Fork 291
World properties
Here are the various properties of worlds that can be set in worlds.yml
. Normally you should not have to edit this, but if you are an advanced user, you may. This is a typical plugin configuration file and follows the same syntax. All of these settings can be changed from in-game using Modify Command
• Index
- World Permissions
- Setting the Spawn World
- Animals
- Monsters
- Environment
- Generators
- World Fees
- PVP
- Alias
- World Blacklist
- Seed
- Scaling
- Respawn World
- Keep Spawn in Memory
- Weather
- Game Mode
- Difficulty
- Hunger
- World Visibility
- Auto-Heal
- Adjust Spawn
- Portal Forming
- Time
•World Permissions
You can easily control who can enter various worlds in Multiverse 2. To allow people access to a world, simply grant them access to multiverse.access.WORLDNAME
where WORLDNAME is the name of the world. By default (with PermissionsBukkit) people can enter newly created worlds. You can give users multiverse.access.*
to let them access all worlds, or set the same to false to deny access to all worlds.
•Default Spawn World
Multiverse 2.2+ allows you to set what world users will spawn in. This does not have to be the world that is in server.properties
. To do this, make sure you have the following 2 values set in your [[config.yml]]
. You can set this value ingame by using /mv conf firstspawnoverride true
and /mv conf firstspawnworld myworld
. We advise against editing the file, but here is the clip:
...
# If true, this will ensure players, on first spawn, go to the spawn
# that you've set with Multiverse. Set to false if you use another
# spawn plugin.
firstspawnoverride: true
# This is the world you want players to spawn in. It does *NOT*
# have to be the world in server.properties!
firstspawnworld: world
...
•Animals
The overall control of the spawning of animals on a world. If true, animals (pigs, chickens, cows and squids) will spawn in this world.
Type:
boolean
Exceptions allow you to say 'I want animals to spawn, but NOT sheep.' The coolest part about exceptions is the fact that they simply negate the spawn
value. This concept may seem a bit complex at first, but you can use it to do some really cool things.
Type:
List<String>
animals:
spawn: false
exceptions:
- pig
You should read this as "Animals can not spawn except for pigs."
animals:
spawn: true
exceptions:
- pig
You should read this as "Animals can spawn except for pigs."
In Game Usage:
[[/mv modify set animals true|Command-Reference#wiki-modify_set]]
- Enables animal spawning in the current world.
[[/mv modify set animals false|Command-Reference#wiki-modify_set]]
- Disables animal spawning in the current world.
[[/mv modify add pig animal|Command-Reference#wiki-modify_set]]
- Adds the animal type pig
to the exemption list.
[[/mv modify remove pig animals|Command-Reference#wiki-modify_set]]
- Removes the animal type pig
to the exemption list.
[[/mv modify clear animals|Command-Reference#wiki-modify_set]]
- Clears the animal exemption list.
•Monsters
The overall control of the spawning of monsters on a world. If true, monsters (anything not in the animals list above) will spawn in this world. Monsters will not spawn in a world where the difficulty is set to peaceful
, even if this variable is set to true.
Type:
boolean
exceptions allow you to say 'I want monsters to spawn, but NOT creepers.' The coolest part about exceptions is the fact that they simply negate the spawn
value. This concept may seem a bit complex at first, but you can use it to do some really cool things.
Type:
List<String>
monsters:
spawn: false
exceptions:
- creeper
You should read this as "Monsters can not spawn except for creepers."
monsters:
spawn: true
exceptions:
- creeper
You should read this as "Monsters can spawn except for creepers."
In Game Usage:
[[/mv modify set monsters true|Command-Reference#wiki-modify_set]]
- Enables monster spawning in the current world (and disables auto-heal).
[[/mv modify set monsters false|Command-Reference#wiki-modify_set]]
- Disables monster spawning in the current world (and enables auto-heal).
[[/mv modify add creeper monsters|Command-Reference#wiki-modify_set]]
- Adds the monster type creeper
to the exemption list.
[[/mv modify remove creeper monsters|Command-Reference#wiki-modify_set]]
- Removes the monster type creeper
to the exemption list.
[[/mv modify clear monsters|Command-Reference#wiki-modify_set]]
- Clears the monster exemption list.
•Environment
The type of environment this world is under. Can currently be NETHER
, END
, and NORMAL
. You should not change this value in the config.
Type:
String
Example:
environment: NORMAL
In Game Usage:
[[/mv create myworld NORMAL|Command-Reference#wiki-create]]
[[/mv import mynether NETHER|Command-Reference#wiki-import]]
•Generators
Multiverse 2 allows you to use custom world generators via a Custom Generator Plugin. This line contains the information multiverse needs to load your worlds properly. You should not touch this value unless you know what you're doing.
This value may or may not be present. That's ok.
Type:
String
Example:
generator: BukkitFullOfMoon
In Game Usage:
[[/mv create moon NORMAL -g BukkitFullOfMoon|Command-Reference#wiki-create]]
•World Fees
You can charge users to enter various worlds. The coolest part is you don't have to use an econ plugin! You can simply use minecraft items!
The amount
field is how much you want to charge people. This can be an integer or double. (1 or 1.75)
The currency
field is what you want to charge people. This is an item id, or -1
if you want to use virtual dollars in an econ plugin.
entryfee:
amount: 5
currency: 3
NOTE: You MUST have a valid economy plugin installed to use 'money' (currency value -1).
entryfee:
amount: 13.75
currency: -1
In Game Usage:
mvm set currency 3
- Sets the item to dirt
mvm set price 3
- Requires 3 of item
•PVP
Whether or not players may harm each other in this world. If set to true, they may.
Type:
boolean
Example:
pvp: true
In Game Usage:
mvm set pvp false
•Alias
World aliases allow you to name a world differently than what the folder name is. This lets you choose fancy names for your worlds while keeping the folders nice and neat.
The alias attribute can also include a color. Worlds will show up colored when your users chat and via [[/mv list|Command-Reference#wiki-list]]
or [[/mv who|Command-Reference#wiki-who]]
.
The color must be one of these:
AQUA, BLACK, BLUE, DARKAQUA, DARKBLUE, DARKGRAY, DARKGREEN, DARKPURPLE, DARKRED, GOLD, GRAY, GREEN, LIGHTPURPLE, RED, YELLOW, WHITE
In Game Usage:
mvm set color green
mvm set alias FernWorld
alias:
color: GREEN
name: FernWorld
•World Blacklist
The world blacklist allows you to specify worlds that people cannot go to from the specified world. For example, if you add world_gold
to world
's worldblacklist
, then players could teleport TO world_gold
from world
but not back.
Type:
List<String>
Example:
worldblacklist:
- world_fish
- world_dog
•Seed
The seed for this world. Do not change unless you are aware of the consequences of doing so (WILL cause chunk errors!).
Type:
String
Example:
seed: 'gargamel'
In Game Usage:
This command can not be used in-game. You cannot change the seed of a generated world.
•Scale
Scaling of worlds when using Multiverse-NetherPortals. Setting this value will have no effect on anything but Multiverse-NetherPortals. See the Multiverse-Netherportals documentation for how this works.
Type:
double
NOTE: If you see a scaling
value, you can delete it. It got carried over in early versions of the migrator and the value is now scale
.
In Game Usage:
mvm set scale 1.2
•Respawn World
The world you will respawn to if you die in this world. This value can be the same as this world.
Type:
String
Example:
respawnworld: 'hellplanet'
NOTE: If you see a temprespawn
value, you can delete it. It got carried over in early versions of the migrator.
In Game Usage:
mvm set respawn MyWorld
•Keep Spawn in Memory
If you disable this, bukkit will not keep this world's spawn chunks in memory, resulting in less memory used by your server when people are not logged in.
Type:
boolean
Example:
keepspawninmemory: true
In Game Usage:
mvm set memory false
•Weather
If this value is true, a world will have weather events, if false, it will not. If you want to turn off the current storm, just type /mvm set weather false
, wait for the weather to subside, and then /mvm set weather true
.
Type:
boolean
Example:
weather: true
In Game Usage:
mvm set weather false
•Game Mode
Allows you to set the type of mode a specific world is set to. Creative mode gives players unlimited resources while Survival makes boys become men. For more information about inventories on servers that use this feature, see our FAQ on Inventories
If you want to allow certain players to ignore the game mode set in a world, there's a special permission:
mv.bypass.gamemode.[*|WORLDNAME]
This permission is under a different root namespace because it will be off by default.
Type:
String
Example:
gamemode: SURVIVAL
In Game Usage:
mvm set mode survival
mvm set mode creative
•Difficulty
Allows you to set the difficulty of a given world. All possible values are: 0, 1, 2, 3, peaceful, easy, normal, hard
. Remember that there are only 4 difficulties, we just let you set it with either the int or the string. They are always stored as ints in the config.
Type:
String
OR Integer
Example:
difficulty: 1
In Game Usage:
mvm set diff 1
mvm set difficulty easy
mvm set diff hard
mvm set diff peaceful
•Hunger
Allows you to enable or disable hunger depletion in each world.
Type:
Boolean
Example:
hunger: true
In Game Usage:
mvm set hunger true
mvm set hunger false
•World Visibility
This property allows you to have a world that exists, but does not show up in lists. When users chat from this world, if worldnameprefix
is set to true
and it is hidden, their chat will appear with no world prefix.
Type:
Boolean
Example:
hidden: false
In Game Usage:
mvm set hidden true
•Auto-Heal
If your difficulty is set to peaceful
, by default, players will regain health. If you do not want them to, simply set this variable to false. This setting has no effect on worlds with a difficulty greater than peaceful
or 0
.
Type:
Boolean
Example:
autoheal: true
In Game Usage:
mvm set autoheal true
mvm set autoheal false
•Adjust Spawn
By default, Multiverse will fix spawns that are recorded in poor locations. By default the Minecraft server uses something like a getTopBlock()
method and sets the spawn's Y
coordinate somewhere in the middle of the earth. This is usually not safe to teleport a player directly too, so Multiverse will search for the nearest safe location.
Sometimes this is non ideal. If you do not want multiverse to do this, simply turn this variable on. If you set a spawn in an unsafe location (over a pit of lava), Multiverse will automatically disable this variable for you.
If you want to set this variable when importing a world, simply add a -n
to your /mv create
or /mv import
command:
/mv create spaceworld normal -g NullTerrainGenerator -n
Type:
Boolean
Example:
adjustspawn: true
In Game Usage:
mvm set adjustspawn true
mvm set adjustspawn false
•Portal Form
Multiverse allows you to control whether or not users are allowed to create portals.
Allow portal forming must be NONE
, ALL
, NETHER
or END
.
Type
String
Example:
portalform: ALL
In Game Usage:
mvm set portalform none
mv modify portalform nether
Results are fairly self explanatory.
•Time
Multiverse inclues very basic support for setting world times. It does not scale time, or lock it or rewind it. It is provided mainly as an api for higher level things like server managers to set the time to something.
Type:
String
Example:
This value is not present in the config.yml
In Game Usage:
mvm set time true
mvm set autoheal false
Getting Started
Configuration
- Config.yml
- World Properties
- Destinations
- Currency
- Custom Generator Plugins
- Anchor Tutorial
- Placeholders
Help
Developers
Other
Getting Started
Configuration
Developers
Getting Started
Configuration
Help
Developers
Getting Started
Configuration
Help
Developers
Getting Started
Configuration
A great place to get help is from Multiverse's Discord (Click the logo for invite link):