All the maps must be in the root folder (where the other worlds are in)
/maps
This command shows you in a
customizable menu all the maps you created in the
maps.yml file.
/mapquit
This command let you quit the current
queue or the
map you are currently playing in.
maps.yml
This
file can be edited following
certain rules:
- You can add as many worlds you want but each must have a different name.
- You MUST write the amount of minPlayers and maxPlayers. Both must be higher than 0.
- You can OPTIONALLY add a Description field which will be showed in the menu.
- You can OPTIONALLY add a Material field which will be the actual material of the item representing the map in the menu. Default to PAPER.
- You can OPTIONALLY add a Data field which will be the customModelData id in case you want to change the texture of the map item in the menu. Default to 1.
If a
map doesn't follow the rules it's
not going to be displayed in the
menu.
menu.yml
This
file can be edited for a
full control over the
maps menu.
- PreviousPage: This holds the material and the customModelData of the Previous Page item. Displayed when there is a previous page.
- NoPreviousPage: The same but it is displayed when there isn't a previous page.
- NextPage: This holds the material and the customModelData of the Next Page item. Displayed when there is a previous page.
- NoNextPage: The same but it is displayed when there isn't a next page.
- Border: It is the item that creates the first line border.
Default Avaiable Page Material:
EMERALD_BLOCK
Default Non Avaiable Page Material:
REDSTONE_BLOCK
Both Default CustomModelData:
1
Default Border Material:
GLASS_PANE
I personally suggest choosing a
material then creating
textures for other
customModelData displaying an
X for
non avaiable page and left
left/right arrows for
previous and
next page, so the menu would be way
cleaner.
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.gyazo.com%2Fcc71f7c7b19cd34309abe1379aab143b.png)