Command Help

CMD Help

Permissions note: No permissions so far, OP players are considered to have full access.

/class

If caller of this command is in a CTF game, he/she will be opened inventory with available classes to play. If command is called from console, no action happens and a warning message is given.

/vote

If a map choosing poll is opened, /vote [map id] will register caller's decision. Each player can vote once per poll.

/ctf

Generic command that will be used for main plugin setup functions.

Usage: ctf [set] [autostart | globalspawn]

'autostart' = boolean value, controls whether this plugin will issue game initialization function if there is at least one playable (properly set-up) map.

'globalspawn' = sets default spawn for the entire server, where joined players will be teleported if game is not started.

/listmaps

RELOADS MAP SETTINGS

Outputs a list of currently installed CTF maps. Such map has to have prefix 'CTFCR_' before its name. Also a map name cannot contain spaces to ensure command operability. In brackets map_id denotes local id of the map, loaded indicates whether this maps is loaded, and setup indicates whether this map can be played (that it is properly setup). A playable map will have a complete configuration file.

/listworlds

Not to be confused with /listmaps! Command /listworlds will produce a list of all loaded into server worlds. World names are yellow highlighted, and their UUIDs are grayed out in brackets.

/tpworld

Teleports player to target world. Unavailable to console. If target world is a world of a CTF map, then by default player is teleported to lobby spawn of that map if it is set-up, otherwise to general world spawn location. If player specifies coordinates (example: /tpworld CTFCR_tutorialworld 12 34 56) then the player is teleported to the target world to specified coordinates.

/loadmap

RELOADS MAP SETTINGS

Loads specified map into server world system if map exists.

/unloadmap

RELOADS MAP SETTINGS

Unloads specified map from server world system. If 'true' specified after world name, this plugin will attempt to forcefully unload target map world. Example: /unloadworld CTFCR_tutorialworld true

/mapedit

This command lets edit map settings from console. Note that target map has to be loaded, and no game must take place. Note that it is very important to call /mapedit [map name] savechanges after config editing is done before calling any other command to avoid premature configuration reload and loss of configured fields. Each time savechanges is called, command sender will receive details on misconfigured fields of map. If config status Valid is outputted, map is ready for playing.

  • /mapedit [map name]
    • savechanges - saves changes to map configuration file
    • teamlist - outputs list of teams in this map
    • setlobbyspawn - sets lobby spawn for this map to player location or specified coordinates
      • {x y z {yaw pitch}} - lobby coordinates with optional yaw and pitch settings
    • setflagcaps - sets amount of flag captures needed to win the game
      • [amount of flag captures] - captures to win
    • teams - team operations
      • setcount - sets amount of teams in this map
        • [number of team] - number of teams in this map
      • get [team name] - gets team of this map by name, use teamlist to get present teams
        • setflag - sets flag location, to player location or coordinates specified
        • setspawn - sets spawn location, to player location or coordinates specified
        • setname - changes name of this team
          • [new team name] - name to change to
        • setflagdata - sets flag data
          • [flag data] - wool color id (from 1 to 16)

/console

@Deprecated command. This command is only accessible to console. When called it shows a small window that has server management GUI. No actions are implemented in alpha builds, so the gui console will have no effect on server or plugin operability.