To configure a world, open the 'worlds.yml' file inside the ASWM config folder. Here is an example of a worlds.yml file:
worlds:
my_great_world:
source: mongodb
loadOnStartup: false
readOnly: true
spawn: 940, 2, -370
allowMonsters: false
allowAnimals: false
difficulty: peaceful
pvp: false
environment: NORMAL
worldType: defaultThen, save it and reload it by using the /swm reload command. You're good to go!
Description: the name of the data source where the world is stored.
Available options: file, mysql, mongodb. Any other datasources provided by third-party plugins can also be used.
Defaults to: file.
Description: whether or not the world should be loaded when the server starts up.
Available options: true and false.
Description: if true, changes to the world will never be stored. If false, the world will be locked, so no other server can access it without being on read-only mode.
Available options: true and false.
Defaults to: false.
Description: spawn coordinates for the world.
Available options: <x-coord>, <y-coord>, <z-coord>.
Defaults to: 0, 255, 0.
Description: whether or not monsters can spawn on this world.
Available options: true and false.
Defaults to: true.
Description: whether or not animals can spawn on this world.
Available options: true and false.
Defaults to: true.
Description: the difficulty of the world.
Available options: peaceful, easy, normal and hard.
Defaults to: peaceful.
Description: if true, PvP will be allowed on this world.
Available options: true and false.
Defaults to: true.
Description: sets the world environment.
Available options: normal, nether, the_end.
Defaults to: normal.
Description: sets the level type.
Available options: default, flat, large_biomes, amplified, customized, debug_all_block_states, default_1_1.
Defaults to: default.