Flag Overview
The GriefPrevention GUI Addon enhances the GriefPrevention plugin by providing a graphical user interface for managing claim flags. These flags allow claim owners to customise settings and behaviours within their claims. This wiki details the addon's built-in flags, configuration, and integration with GPFlags (if installed).
Flag System
The flag system is managed through the GUI, where claim owners can enable/disable flags and configure their settings. Flags are defined in FlagOptions.yml, and their default states can be set in FlagDefaults.yml. The order field in FlagOptions.yml determines the order of flags in the GUI.
Key Features
Built-in Flags: The addon provides a set of built-in flags for common claim customisations.
GPFlags Integration: If GPFlags is installed, its flags are automatically added to FlagOptions.yml but are disabled by default. Server admins can enable them as needed.
Permissions: Flags can have activation and usage permissions set to NONE by default for accessibility.
Custom Commands: Some flags support custom commands for advanced functionality, such as opening specific GUI menus.
Arguments: Flags may require arguments (e.g., message text, biome type) to function, as specified in requires_argument.
Last updated