💣
BaseRaiders
  • 💣BaseRaiders - Main
  • Installation
    • 💡Installation
  • Configuration
    • 🖥️GUIs & Items
      • Creating GUIs & Items
      • Custom Items - On Click
      • Custom Items - Executables
      • Special executables
    • 📋Config.yml
    • 👨‍💻Commands.yml
    • 👉Handlers.yml
    • 🏚️protections.yml
    • 🫥Placeholders
  • Resource Pack
    • ⛺Setting up
    • 🖥️Custom GUIs
    • 🔢Custom Model Data
  • Usage
    • 🚚Obtaining & Usage
    • 🤷‍♂️Protection features
    • 🍄Decay system
    • 💹Upgrade section
      • Range upgrade
      • Fuel upgrade
      • Generator upgrade
  • Commands
    • 🅱️Base
    • 🆘Help
    • 🎁Give
    • 🔃Reload
    • ✈️TP
    • 👥Trust
    • 👥Untrust
    • 🚧Bypass
    • 🗂️Invites
    • 🏗️Place
    • 💬Toggle
    • 🔤Nick
    • 📉Discount
  • Support & Bugs
    • 🔧Discord
Powered by GitBook
On this page
  • Refresh Rate
  • GUI
  • Creating items
  1. Configuration
  2. GUIs & Items

Creating GUIs & Items

To create a GUI, you will need to create a new .YML file in the directory, you can name it anything you'd like, said name will mark how you will be able to interact with the GUI (open it with special tags). After you have created the file, insert this format inside:

refresh-rate: 20 # Ticks

GUI:
  GUI-title: "&8[&6&lEPIC TITLE&8]&r Hello :)"
  GUI-rows: 6 # How many rows the GUI should have

  GUI-items:
    empty-slot-item:
      custom-model-data: 499
      gradual-model-data: true
      item: "BLACK_STAINED_GLASS_PANE"
      name: " "
      lore: [ ]

The GUI may not work as intended without these.

Refresh Rate

refresh-rate handles how often the GUI's items update it's values, such as Placeholders

GUI

GUI-title is used to change the title of the GUI, color codes as well as HEX codes can be used. GUI-rows determines how many rows of slots the GUI will have (aka size of the GUI) GUI-items is where you can place your own items, but it must always contain the special empty-slot-item to not cause problems.

Creating items

To create items you need to follow this format:

<item id>:
  slot: [ 10, 11 ] # You can add this item in as many slots as you'd like
  custom-model-data: 499 # Model data for the item
  gradual-model-data: true # Add +1 to each additional item's model data if more than 1 slot space is used
  permissions: "some.permission.here" # OPTIONAL | This will only display to players with the specified permission, leave empty for no requirements
  item: "APPLE" # The item itself
  name: "&b:)" # The name of the item
  lore: # The lore of the item
    - "&7Sample"
    - ""
    - "&7text"
PreviousGUIs & ItemsNextCustom Items - On Click

Last updated 9 months ago

🖥️