💚
Treasure Particles
  • Home Page
  • Discord Server
  • Download
    • 🧡BuiltByBit
  • Effects
    • Basic Usage
    • Creating Effect
      • Caching
      • Variables
      • Tick Handlers
        • Events
        • Mixer Options
      • Script Types
        • Variable
        • Variable Cycle
        • Particle
          • Single Particle
          • Circle Particle
            • Spread Particle
            • Targeted Circle Particle
          • Spiral Effects
            • Spiral Particle
            • Multi Spiral Particle
            • Full Spiral Particle
          • Targeted Particle
          • Sphere Particle
          • Text Particle
            • Animated Text Particle
          • Particles
          • Color Format
        • Parkour
        • Condition
        • Preset
        • Sound
        • Message
          • Chat Message
          • Action Bar Message
          • Title Message
        • Lightning
        • Others
    • Presets
    • Mixer
    • Static Effects
  • Colors
    • Adding New Color Scheme
    • Adding New Color Group
  • Configuration
    • General Options
    • Database
    • Permissions
    • GUI Config
      • Item Properties
  • Translations
Powered by GitBook
On this page
  1. Configuration

GUI Config

This page was last updated for version v1.2.0

PreviousPermissionsNextItem Properties

Last updated 2 months ago

animation: # GUI animations
    enabled: true
    interval: 2 # in ticks
    color-cycle-speed: 0.85 # in decimal

Sound Format

event:"<sound> <volume> <pitch>"

Leave the sound value blank if you don't want it to play sound.

Examples

  • select-effect:"minecraft:block.note_block.pling 0.1 1.5"

  • random-effect:""

Available Events

Common

  • next-page

  • previous-page

  • reset

  • filter

Effects GUI

  • select-effect

  • random-effect

Colors GUI

  • select-color

  • random-color

Mixer GUI

  • select-effect

  • confirm

Handlers GUI

  • select-handler

  • unselect-handler

current-style: <ID>
styles:
    style-id:
        effects:
            layout:
                ..
            elements:
                .. 
        colors:
            layout:
                ..
            elements:
                ..
        mixer:
            layout:
                ..
            elements:
                ..
        handlers:
            elements:
                ..

You can create multiple GUI styles, and use one of them by setting the current-style value to that style's id.

Layout determines how elements are placed in the GUI. It's a list of character arrays. Every character array must have exactly 9 characters.

If you use a character that doesn't match any element's key, that slot will be set to air.

Example Layout

# B for borders
# E for effect icon
# r for random effect
# R for reset effect
# C for close button
# P for previous page
# N for next page
layout:
  - "BBBBBBBBB"
  - "BEEEEEEEB"
  - "BEEEEEEEB"
  - "BEEEEEEEB"
  - "BEEEEEEEB"
  - "PBBrCRBBN"

Properties

Every element must have its own unique key character.

key characters are case-sensitive.

Example

elements:
    borders:
        key: 'B'
        item:
            material: BLACK_STAINED_GLASS_PANE

Available Elements

Effects GUI

The GUI that opens when /trparticles command is executed.

Available Elements

borders

default-icon

next-page

previous-page

random-effect

reset

close

filter

mixer

Colors GUI

The color selection GUI.

Available Elements

borders

color-icon

next-page

previous-page

random-color

back

Mixer GUI

The effect mixer GUI

Available Elements

borders

default-icon

next-page

previous-page

reset

close

filter

confirm

Handlers GUI

GUI Slots
Property
Description
Property
Description

key

Every character in layout that matches with that element's character will be replaced with that element's item.

item

See Item Properties below.