-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Skylark adds new Minecraft commands for managing player teams and teleporting players to their team spawn. Like all Minecraft commands, a user must have Cheats enabled in order to use the Skylark commands. Additionally, most commands require operator (level 4) permissions in order for a player to execute the command.
Skylark provides a rudimentary help system. Users can request an overview via the /skylark help
command, and more detailed usage information for the commands via /skylark help teams
and /skylark help teleport
.
Skylark's team commands allow inspection of Skylark's view of player team membership (including both scoreboard teams and Skylark's automatic teams for non-scoreboard-team players). It is also possible for the administrator to modify a team's default spawn point.
-
/skylark team list
- List the teams, their default spawn point (operators only), and their currently-logged-in membership. -
/skylark team list keys
- The same listing as above, but teams and players are shown by the keys needed for configuration instead of by their display name. -
/skylark team spawn <teamkey> <BlockPosition>
- Change the spawn point of the team to a new position. The value of should be present in the output of/skylark team list keys
.
Skylark offers a convenience teleportation command for the server operator. Any subset of currently logged-in users that can be selected using an entity selector can be simultaneously teleported to their team's configured spawn point. Spawn features will be generated as required.
-
/skylark teleport spawn <PlayerSelector>
- Immediately teleport all matched players to their team's default spawn point.
Instead of implementing its own general-purpose team system, Skylark uses Minecraft's scoreboard teams to group players. The following commands are examples of common scoreboard team administration.
-
/team add <teamname> "<Team Display Name>"
- Creates a new scoreboard team. Skylark commands will refer to this team asminecraft.team.<teamname>
(the "team key") or<Team Display Name>
(the "team name"). -
/team join <teamname>
- Join yourself to the<teamname>
team. -
/team join <teamname> <PlayerName>
- Join<PlayerName>
to the<teamname>
team (entity selectors can also be used). -
/team list
- List the current scoreboard teams. -
/team modify <teamname> ...
- Modify various scoreboard team options (not strictly relevant for Skylark).