Roles and their Flags - Angeschossen/Lands Wiki

Original URL: https://github.com/Angeschossen/Lands/wiki/Roles-and-their-Flags

Lands has a feature packed role system which allows each land to adjust flags for each role and create new roles for your land. You as a administrator can edit/add default roles. Wilderness flags can be edited in the /lands admin wilderness menu.


Whenever a new flag is added to Lands, all existing Lands will apply the flag, if specified by the flag author.
But for future land creations you need to configure it correctly here. Lands will always send you a popup in console and on
admin ingame accounts, if there is a new flag available.

Reset flag(s) to their defined state from roles.yml:

/Lands admin land <land | *> resetFlag <flag | all>

Hide / show flags from the flags menu

  # Which flags should be displayed in the role settings menu?
  # You can still set default values below and hide them by removing them from this list.
  display:
    - BLOCK_PLACE
    - BLOCK_BREAK
    - BLOCK_IGNITE
    - INTERACT_GENERAL
    - INTERACT_CONTAINER
    - INTERACT_DOOR
    - INTERACT_MECHANISM
    - INTERACT_VILLAGER
    - ATTACK_PLAYER
    - ATTACK_ANIMAL
    - ATTACK_MONSTER
    - FLY
    - SPAWN_TELEPORT
    - ENDER_PEARL
    - LAND_ENTER
    - VEHICLE_USE
    - ITEM_PICKUP
    - LAND_CLAIM
    - LAND_CLAIM_BORDER
    - SPAWN_SET
    - BALANCE_WITHDRAW
    - AREA_ASSIGN
    - WAR_MANAGE
    - PLAYER_TRUST
    - PLAYER_SETROLE
    - PLAYER_UNTRUST
    - PLAYER_BAN
    - SETTING_EDIT_LAND
    - SETTING_EDIT_ROLE
    - SETTING_EDIT_TAXES
    - SETTING_EDIT_VARIOUS

Edit / add default Roles

You can find the configuration options in your roles.yml located in /plugins/Lands. In this file you can edit existing default roles or add your own default roles. These roles will apply to new land creations.

Example Configuration of a custom default role:

yourCustomDefaultRole:
  name: '&eCustomDefaultRole'
  # The icon supports texture values (example: https://minecraft-heads.com/) and normal material values.
  icon: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjFhZGZkZjA3MTE3NWFkYWQ2NDRmZTRiM2E5NzMxYWM2YThmYTQ3NTExNjJlODEzOGM4OTlmYmFhNWZmMGI5In19fQ=='
  # Default flag values. Please note that these only apply to new land creations. Players will be able to change them later in their land menu if the flag is listed under 'display' above.
  default:
    - BLOCK_PLACE
    - BLOCK_BREAK
    - INTERACT_GENERAL
    - INTERACT_DOOR
    - INTERACT_CONTAINER
    - INTERACT_MECHANISM
    - INTERACT_VILLAGER
    - BLOCK_IGNITE
    - ATTACK_PLAYER
    - ATTACK_ANIMAL
    - FLY
    - LAND_ENTER
    - SPAWN_TELEPORT
    - VEHICLE_USE
    - ITEM_PICKUP

Action Flags

Actions flags represent players actions.

Management Flags

Management flags will allow players to edit flags and options for the land.