This is a small tutorial for team-assigned spawnpoints plugin. I assume you have basic experience with working with mapdata.py.
#1 Import the pluginJust like ony other plugin, you have to import 'teamSPs" in the beginning of your mapdata.py. Example:
from game.plugins import plugin, limitKit, teamSPs
This is how it should look if you're going to use kitlimits and teamSPs in your map (example).
#2 Configurationspawns = [
plugin(teamSPs, sps = ['spawnpoint1', 'spawnpoint2', 'spawnpoint3'], team = 1),
plugin(teamSPs, sps = ['spawnpoint4', 'spawnpoint5', 'spawnpoint6'], team = 2),
]
SpawnpointN is the spawnpoint template name, team defines the team that will be able to use this spawnpoint. Any spawnpoints not specified here will be available to both teams.
#3 Mount it to desired gamemode/mapsizeJust like any other plugin, for example:
gpm_cq = {
64: kit_limits + spawns,
}
#4 The exampleLook at Port en Bessin mapdata.py