outdated/Spawns (Start Here!)

Spawns

Spawns are the first step in creating a new OpenMZ world. After you have a basic map set up, you'll need to create a "pool" of spawns. When players execute the command /omz spawn, it will select a random spawn from this list for them to spawn at.

To create spawns, use the following command:

/omz setspawn [name]
This will create a new spawn at the location you are standing with whatever name you specify. Names are important.

If you want to give players the ability to choose their spawn, give them the omz.choose-spawn permisson. If they are given this permission, they can use the following commands:

/omz spawn list
lists the possible spawn choices.
/omz spawn [name]
spawn at a certain spawnpoint of your choice.

Configuring Spawn Inventories

OpenMZ comes with a default spawn inventory similar, though not identical, to the one used in MineZ.
Players get a starting inventory when they use /omz spawn. To create a new spawn inventory, fill your inventory with what the player should get when they spawn. Then use

/omz spawninv [name]
Saves a new spawn inventory with the given name.

If you save the spawn inventory as "default," it will be the inventory given to all players. If you save other inventories, they will only be given to players if they have the omz.spawninv.[name] permission. This inventory is ADDED to their inventory. If you have an inventory called hp_inv with a health 1 pot, and an inventory called extra_water with an extra water bottle, any player with the omz.spawninv.hp_inv permission will get the default inventory as well as a health 1 pot. If they also had omz.spawninv.extra_water, they will get the default inventory, a health pot, and an extra water bottle.

Next, head to Chests to see how to configure, load, place, save, and remove chests all from ingame.


Comments

Posts Quoted:
Reply
Clear All Quotes