🌳
SimpleClaimSystem
  • SimpleClaimSystem
  • Installation
    • Prerequisites
    • Installation
  • Configuration
    • config.yml
    • How to set up a gui
    • Langs
    • Claim settings
  • Commands
    • Player commands
    • Admin commands
  • Permissions
    • How to set up
    • Commands
    • Claims
    • Settings
  • Support
    • PlaceholderAPI
    • WorldGuard
    • Vault
    • Dynmap
    • Bluemap
    • Pl3xMap
    • GriefPrevention
  • API
    • Dependency
    • Accessing
    • Working with players
    • Working with claims
Powered by GitBook
On this page
  1. Configuration

How to set up a gui

Configuration guide for guis

gui-title: "gui-claims-title" # in your language file, the key of the message

First thing, the gui title, the value will be the key of the message in your language file, by default it's "gui-claims-title" in en_US.yml.

rows: 6 # max = 6

The number of rows, 6 is the maximum.

list-start-slot: 0
list-end-slot: 44

Where the list starts, and where the list ends. list-end-slot must be > list-start-slot. list-end-slot and list-start-slot must be < rows*9.

items:

  # /!\ DON'T CHANGE NAME OF ITEMS (like "BackPage" or "NextPage"), you can add your customs items if you want to

  ExampleItem:
    slot: 1
    material: GRASS_BLOCK
    custom_model_data: false
    custom_model_data_value: 0
    target-title: "custom-item-title"
    target-lore: "custom-item-lore"
    action: "LEFT:MSG:hey dude"

For your custom item, you can configure the material, the slot, the custom model date if you have one (with ItemsAdder), the title and the lore of the item and the action.

For the title and lore, you need to add to your language file (by default en_US.yml) the key and the value. It must starts with "custom-". For example, in en_US.yml, just add "custom-item-title: &cExample item".

For the action, there are types of click : LEFT, RIGHT, SHIFT_LEFT, SHIFT_RIGHT. The are types of action : CLOSE_INVENTORY, CMD, MSG. For the CMD, you need to use this syntax : "[CLICK]:CMD:[SENDER]:[COMMAND]", for example : "LEFT:CMD:PLAYER:gamemode creative".

Previousconfig.ymlNextLangs

Last updated 1 month ago