For the complete documentation index, see llms.txt. This page is also available as Markdown.

Roles and Role Flags

The roles and their flags can be edited in the roles.yml file. These flags can't be toggled in game. However, each farm can set roles for their players.

  • BLOCK_BREAK Allow a role to break non-harvestable blocks. In the current plugin code, non-harvestable block placement inside a farm is checked through this flag as well. Toggle permission: betterfarming.role.setting.block_break Bypass permission: betterfarming.bypass.block_break

  • BLOCK_PLACE Registered as a role flag for block placement. Current placement checks use PLANT for harvestable blocks and BLOCK_BREAK for other blocks. Toggle permission: betterfarming.role.setting.block_place Bypass permission: betterfarming.bypass.block_place

  • HARVEST Allow a role to harvest crops. Toggle permission: betterfarming.role.setting.harvest Bypass permission: betterfarming.bypass.harvest

  • PLANT Allow a role to plant crops and saplings. Toggle permission: betterfarming.role.setting.plant Bypass permission: betterfarming.bypass.plant

  • INTERACT Allow a role to interact with farm-area blocks and open farm storage by right-clicking the farm. Toggle permission: betterfarming.role.setting.interact Bypass permission: betterfarming.bypass.interact

  • UPGRADE Allow a role to open the main farm menu and upgrade the farm. Toggle permission: betterfarming.role.setting.upgrade Bypass permission: betterfarming.bypass.upgrade

  • PLAYER_SETROLE Allow a role to set roles for players that have a lower role. Toggle permission: betterfarming.role.setting.player_setrole Bypass permission: betterfarming.bypass.player_setrole

  • PLAYER_TRUST Allow a role to trust other players. Toggle permission: betterfarming.role.setting.player_trust Bypass permission: betterfarming.bypass.player_trust

  • PLAYER_UNTRUST Allow a role to untrust players with a lower role. Toggle permission: betterfarming.role.setting.player_untrust Bypass permission: betterfarming.bypass.player_untrust

  • DELETE Allow a role to delete the farm. Toggle permission: betterfarming.role.setting.delete Bypass permission: betterfarming.bypass.delete

  • CONFIGURE Allow a role to toggle settings of the farm. Toggle permission: betterfarming.role.setting.configure Bypass permission: betterfarming.bypass.configure

Last updated