Basic Usage

This page was last updated for version v1.4.1

Example Effect

effects:
  rainbow-circle:
    display-name: "%rainbow-circle%"
    color-animation: "rainbow"
    permission: "%rainbow-effects%"
    description:
      - "..."
      - "..."
      - "..."
    icon:
      material: paper
      custom-model-data: 1

Basics

effects:
  key:
    display-name: "<STRING>" # optional
    color-animation: "<COLOR>" # optional
    name-color-animation: <BOOLEAN> # default=false
    permission: "<PERMISSION>" # optional
    icon: # optional
      material: "<MATERIAL>" # see below
    only-elytra: <BOOLEAN> # optional, default=false 
    description: # optional
      - ..
      - ..
circle-info

key

Description

key is unique to effect, it won't show up in-game except for the /trparticles select command.

circle-info

display-name

Description

The name that shows up in-game for the effect. It could be any name, no need to use unique names.

Notes

  • If you don't give your effect a display name, it will automatically display the effect's key name.

  • You can select a display name from the translations file. Just put %% and type the key from the effects section. Example:

circle-info

color-animation

Description

Determines the item color that will be used in GUI.

Supported Item Types:

  • Leather Armors

  • Tipped Arrows

  • Potions

  • Maps

Static Color

  • Use hex color codes for static color.

  • Color names like red, green, and blue are not supported.

Animated Color

  • Pick a color scheme from colors.yml.

  • Or use rainbow for rainbow colors.

circle-info

name-color-animation

Description

Gives the item name a color animation if enabled.

circle-info

permission

Description

The permission needed for this effect.

Using Hardcoded Permission

Pulling Permission From config.yml

circle-info

icon

Description

The item that shows up in the GUIs for the effect.

See Item Properties page for details.

Example

circle-info

description

Description

The description message for the effect.

Pulling Descriptions From Translations

  • Putting the translation keys in %% will replace it with the translation for that translation key. Example:

circle-info

only-elytra

Description

If this option is set to true, Effect will only work when player is equipped Elytra.

Last updated