Worlds.yml
Used to register the worlds that will be used within their respective game instances.
This is an example of structure that the file should follow:
When the file is created for the first time, it will have this content:
For each mini-game we will have to place its name as a key.
Within this key we will have to place all the worlds that will be admitted within the mini-game.
Within each key of a world comes what is important. These are the parameters:
name
True
String
The name of the world folder inside the templates folder. Serves as an id.
pois
False
List
It is a list of keys containing the coordinates of a point of interest on the map.
An example:
The point of the pois is that for a certain minigame you always have the same pois, but maybe with different values, since these pois can then be obtained by you within the instance of your minigame as a Location and used, for example, to teleport a player to that location.
Last updated