Commands
Commands are not case sensitive.
<Angle Brackets> indicate a required argument.
[Brackets] indicate an optional argument.
Values are True or False.
Flag Commands
Command | Description | Aliases |
/setflag <flag> [value] | Allows you to set a flag ingame. | sf |
/getflag [flag] | Allows you to see the flag's value | gf |
/setflagglobal <flag> [value] | Allows you to set the flag's global value | sfg, sgf, setglobalflag |
/getflagglobal [flag] | Allows you to view the flag's global value. | gfg, ggf, getglobalflag |
/removeflag [flag] | Resets one or all flags in the claim to use the global value. | rf |
/removeflagglobal [flag] | Removes one or all global flags, returning them to the plug-in default. | rfg, rgf, removeglobalflag |
/flagcount <flag> | Displays the total number of claims using the specified flag. | fc |
Player Flag Messages
Command | Description | Aliases |
/setflagmessage <flag> <message> | Sets the message to be displayed for most player flags in the claim. User <0> for player name and <1> for claim owner name. | sfm, setmessage |
/getflagmessage <flag> | Displays the message for the player flag. | gfm, getmessage |
/removeflagmessage <flag> | Removes the message for the player flag, returning it to the message in the localization file. | rfm, removemessage |
Player Flag Trust Lists
Trust lists do not grant permission to set flags, only to bypass the effects.
Command | Description | Aliases |
/setflagtrust <flag> <player> [player]... cont. | Add 1 or more players to a player flag trust list. | sft |
/removeflagtrust <flag> [player] [player]... cont. | Remove all players or specified players from the trust list for a player flag. | rft |
/getflagtrust <flag> | Display the trust list for the specified player flag. | gft |
Cluster Commands
Command | Description | Aliases |
/setflagcluster <cluster> <value> | Set a flag cluster to the specified value. | sfc |
/removeflagcluster <cluster> | Remove a flag cluster and return them to the global value. | rfc |
/setclusterglobal <cluster> <value> | Set a flag cluster to the specified value globally. | setglobalcluster, scg, sgc |
/removeclusterglobal <cluster> | Remove a flag cluster and return them to the default value. | removeglobalcluster, rcg, rgc |
Help Commands
/flags | Lists flags in-game |
/clusters | Display a list of all the clusters on the server. |
Administrative Command
Administrative actions can be performed using the /gpflags <action> command. The actions are defined below.
Action | Description |
reload | Reloads all YAML to memory from the files. Required if editing YML files manually. |
compactdb | Cleans the data.yml file of bad data and entries that have no effect. This includes claim flags that are the same value as the global flag, which may be desirable in some cases. |
getyamlvalue | This troubleshooting action allows you to get data.yml values by path. For example, /gpflags getyamlvalue data.1.notifyenter would return the value of notifyenter in the claim with ID 1. |