Flags Integration

With RocketTeleport v1.3 you have the option of utilizing integration with the plugin Flags. Flags allows you to change RocketTeleport's behavior based on the area a player is in (or more accurately, the area the player is clicking in). This means you can allow your players to create their own rockets, without giving them uncontrolled access to create them anywhere.

The flags created by RocketTeleport are Player flags, which means they utilize the messaging and trust features in Flags. When set to false the flags will prevent players from creating rockets outside the areas they own or have been given trust. Players will receive a customizable message telling them they are not permitted to take that action.

FlagDescriptionDefault
RTCreateRocketToggles players ability to create a new rocket trigger in the area.*true
RTSetLandingToggles players ability to create a new rocket landing zone in the area.true
RTUseRocketToggles players ability to use rockets in the area.**true

* This flag will not undo the effect of anti-grief measures. It affects using the creation commands, not placing buttons or plates your using them on.


** When set to true, RocketTeleport will attempt to cancel anti-grief measures preventing the use of buttons and pressure plates that are assigned as Rocket triggers. Other buttons and plates will be left to the anti-grief plugin.

Configuration

To enable Flags integration, simply install Flag.jar with RocketTeleport. Only Flags.jar is required, the flag modules included with Flags are optional.

To work with Flags integration you must first give the players the ability to create rockets within RocketTeleport. This is done by allowing the command permission node for the desired rocket type. Once the players have that permission and Flags is enabled, all players by default will be allowed to create rockets in their owned areas only.

Permissions

With the automatic permissions created by Flags, you can grant your administrators the ability to set the flag or bypass the flags effects. Other permissions may be required to use the Flags commands, consult with the Flags documentation for these permissions.

PermissionEffect
flags.flag.rtcreaterocketAllows players to set the RTCreateRocket flag.
flags.bypass.rtcreaterocketAllows players to create rockets anywhere despite the RTCreateRocket flag.
flags.flag.rtsetlandingAllows players to set the RTSetLanding flag.
flags.bypass.rtsetlandingAllows players to create landing zones anywhere despite the RTSetLanding flag.
flags.flag.rtuserocketAllows the players to set the RTUseRocket flag.
flags.bypass.rtuserocketAllows the players to use rockets anywhere despite the RTUseRocket flag.

Trust

Using the built in flag trust ability, you can trust players to add rockets in other areas (or the unclaimed world). You can also allow players to set trust for their own areas with permissions built into Flags, consult the Flags documentation for more information about enabling trust commands for players.

/flag trust area RTCreateRocket Alshain01
/flag trust world RTSetLanding Alshain01

Messages

The messages displayed when a player is forbidden from creating a rocket or landing zone can be changed from the default. Color and formatting codes can be applied, consult the Flags documentation for more information on using color codes and formatting.

/flag message area RTSetLanding That doesn't belong here!