CreeperLord700 wrote:ruben, i cant seem to be on a team, i do /join team singleplayer CR and team fails, i place flag and pops up " you are not part of a team!"
It is /join team_name. Create a team using /team add team_name.
maier.nathan wrote:Hi,
I am trying to add a player to a default team when a new player join. Any ideas how?
there's minetest.register_on_newplayer. This is for a subgame.
Thanks very much,
Bikemare
Auto allocating teams is a planned feature.
- Code: Select all
ctf.join(player_name, "team_name", true)
Only do it on their first join, otherwise they will change team everytime they join.
(^ You need the latest version of the source code, uploaded today 27/12/2014)