# Commands Three commands: `/team` for everything to do with teams (`/t` for short), `/teammsg` for a quick message, and `/lead` for admin bits. Who can run what is set in the config, so the permissions listed here are just the defaults. See [[Lead/Server Owners/Configuration]]. ## For players Make a team and get someone to join you: ``` /team create Red Dragons /team invite Steve ``` Steve then runs `/team join <your name>`. Invitations have to be accepted, and Lead won't let a team go over `max_team_size`. The rest: | Command | What it does | |---|---| | `/team` or `/team help` | The help menu | | `/team leave` | Leave your team. Leaders can't, they disband instead | | `/team chat` | Toggle team-only chat on and off | | `/team list` | A menu of every team on the server | Team names are 3 to 16 characters by default, and can contain letters, numbers, spaces, `-`, `_` and `+`. If the server generates names instead of letting players pick, `/team create` takes no name. ## Team chat ``` /team chat ``` Everything you type goes to your team until you run it again. For a one-off without switching modes: ``` /teammsg meet at spawn ``` `/tm`, `/tc` and `/tmsg` all work too. ## For team leaders | Command | What it does | |---|---| | `/team kick <player>` | Remove someone from your team | | `/team disband` | Break up the team entirely | | `/team spawn set` | Set the team's spawn where you're standing | | `/team spawn reset` | Clear it again | Disbanding has a short cooldown, three seconds for operators and ten for everyone else, so it can't be spammed. ## Admin tools Moving people around: ``` /team place Steve 3 put Steve on team 3 /team remove Steve take Steve off whatever team he's on ``` Managing teams themselves: | Command | What it does | |---|---| | `/team edit <team>` | Open the team editor menu | | `/team delete <team>` | Delete a team | | `/team merge <team1> <team2>` | Move everyone from the second team into the first, then delete the second | | `/team teleport <team> <target>` | Bring every online member of a team to something | | `/team shuffle [force]` | Scatter online players randomly across existing teams. Add `true` to reassign people who already have a team | | `/team reset` | Delete every team. Run it twice within five seconds to confirm | `/team reset` needs confirming because it cannot be undone. ## Changing a team's look and rules All under `/team modify`: ``` /team modify color 3 #FF0000 /team modify display_name 3 Crimson Guard ``` | Command | What it does | |---|---| | `/team modify color <team> <hex>` | The team's colour, with or without the `#` | | `/team modify display_name <team> <name>` | What the team is called | | `/team modify id <team> <new_id>` | The team's internal id | | `/team modify friendly_fire <team> <true/false>` | Whether teammates can hurt each other | | `/team modify collidable <team> <value>` | Who this team bumps into | | `/team modify nametag <team> <value>` | Who can see this team's nametags | `collidable` and `nametag` both take `ALWAYS`, `NEVER`, `FOR_OTHER_TEAMS` or `FOR_OWN_TEAM`. > [!note] If you have TAB installed, `collidable` and `nametag` are unavailable, because TAB handles both itself. With Frame they work normally. ## Admin utilities | Command | What it does | |---|---| | `/lead version` | Which version you're on | | `/lead update` | Force every nametag and tab entry to redraw | | `/lead auto_assign [on/off]` | Turn auto-assign on or off. No argument flips it | | `/lead reload [-t]` | Reread the config. Add `-t` to reload teams from `teams.yml` too | `/lead update` is the one to try if something looks stale after a bulk change. ## Placeholders With PlaceholderAPI installed: | Placeholder | Gives you | |---|---| | `%lead_team_exists%` | `true` or `false` | | `%lead_team_name%` | The team's display name | | `%lead_team_size%` | How many members it has | | `%lead_team_color%` | Its hex colour | | `%lead_team_id%` | Its id | ## Permissions Player commands are open to everyone by default. Admin commands need `lodestone.lead.manage`, and `/team reset` needs `lodestone.lead.commands.reset`. The `/lead` commands need `lodestone.lead.commands.lead`, with `update`, `auto_assign` and `reload` each having their own alongside it. Every one of these can be changed, including opening admin commands to everyone or locking player ones down. See [[Lead/Server Owners/Configuration]]. ## Related Pages - [[Lead/Server Owners/Overview]], what Lead does - [[Lead/Server Owners/Configuration]], every setting explained