Map Configuration Guide
- Game Specific Mapfigs
- Ingame Shop
- Mapfig Macros
- Extra Options
Areas are sections of the map that can do given actions.
Not every map uses areas, but most do, so it's an important thing to explain here.
Areas are used for a lot of things, like protecting spawns from being broken and the giving of points in scoreboxes.
Because of this amazing customization, it's also the most complicated part of a mapfig.
To keep it understandable, we try to use clear area names and logical ordering.
Every area requires set coordinates. Without these, areas won't be useful.
To put a set of coordinates in an area, you need two opposing corners.
WorldEdit is a really nice tool for this.
Once you found the correct locations, you need to put in your area like this:
Often areas have the same information. Meaning the only differences are the coordinates.
This allows you to combine them into one area:
Even though this is great, it looks a bit confusing.
To fix this, we can add more information in behind using comments:
The extra information is often written in camelCase, meaning the first letter is lowercase and all first letters of the following words are uppercase.
Make sure to put the bracket underneath the last coordinate.
Often you want actions to only work on specific teams.
Because it's used so much, you're required to have team levels in most areas.
If you would like to allow the placing of sponge by team 'b' for example, you would do this:
If you want both team 'a' and 'b' to be able to place sponge, you would have to add both team levels.
This allows you to have a teleportation area, which teleports the teams to different locations.
Sometimes you might need to have an area to give effects, but you still want to allow players to break blocks.
Instead of having to add a big list of all blocks they might have, you can compact your list with a '*'.
This symbol means "all options".
In a canbreak list, it would allow the breaking of all blocks:
If you want to allow players to break all blocks, except for a few, it might still be good to use the '*' symbol.
You can remove blocks from this list again by adding a '-' in front.
This example would allow the placing of all blocks, except for diamond blocks:
These list compacting options can be used for damage lists too.
This would cancel all damage, except for projectiles: