mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 02:25:41 +01:00
Add Difficulty to world props
parent
f96848fd1f
commit
f2bb7d1dae
@ -16,6 +16,7 @@ Here are the various properties of worlds that can be set in `worlds.yml`. __Nor
|
||||
1. [Keep Spawn in Memory](#wiki-memory)
|
||||
1. [Weather](#wiki-weather)
|
||||
1. [Game Mode](#wiki-mode)
|
||||
1. [Game Mode](#wiki-difficulty)
|
||||
|
||||
## <a name="perms" href="#wiki-perms">•</a>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.
|
||||
@ -294,4 +295,21 @@ __In Game Usage:__
|
||||
`mvm set mode survival`
|
||||
`mvm set mode creative`
|
||||
|
||||
[Back to Top](#wiki-top)
|
||||
|
||||
## <a name="difficulty" href="#wiki-difficulty">•</a>Difficulty
|
||||
Allows you to set the difficulty of a given world. All possible values are: `0, 1, 2, 3, peaceful, easy, medium, 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`
|
||||
|
||||
[Back to Top](#wiki-top)
|
Loading…
Reference in New Issue
Block a user