Permissions

This page was last updated for version v1.2.0

Permissions

permissions:
  # General
  base: "trparticles.base" # Base command permission (GUI)
  mixer: "trparticles.mixer" # Effect mix permission
  admin: "trparticles.admin" # Admin commands permission

  # Mixer Limits
  # ------------
  # If this option is enabled, players can only create certain amount of effect mix
  # Permission: trparticles.mix_limit.<MAX_MIX>
  # Example: trparticles.mix_limit.9
  mix-limit-enabled: false
  # ------------
  # If this option is enabled, players can only select certain amount of effect for effect mix
  # Permission: trparticles.mix_limit.<MAX_EFFECTS>
  # Example: trparticles.mix_effect_limit.2
  mix-effect-limit-enabled: false

  # Effects Visibility
  # You can show TrParticles effects for the players who have permission, just set the "effects-visibility-permission" to true
  # If this option is enabled, give the "can-see-effects" permission to players
  effects-visibility-permission: false
  can-see-effects: "trparticles.can_see_effects"

  # Effects Permissions
  # Only some effects have permission by default
  # Please check the effects.yml file if you want to add permissions to the effects
  # You can read the wiki page for detailed information: https://treasurestore.gitbook.io/treasure-particles/effects/basic-usage#permission
  rainbow-effects: "trparticles.effects.rainbow" # Permission for rainbow-colored effects
  gradient-effects: "trparticles.effects.gradient" # Permission for gradient
  parkour: "trparticles.effects.parkour" # Permission for parkour effects
  weather: "trparticles.effects.weather" # Permission for snow/rain effects
  tail-effects: "trparticles.effects.tail" # Permission for tail effects
  text-effects: "trparticles.effects.text" # Permission for text effects
  christmas: "trparticles.effects.christmas" # Permission for Christmas effects
  death-effects: "trparticles.effects.death-effects" # Permission for death effects

Notes

  1. The base command must have permission.

  2. You can define your permissions in config.yml and use them in your effects

    • In config.yml, put your permission into the permissions section with a unique key

    • Then, in effects.yml, set the permission value to "%key%"

    • Recommended if you want to give the same permission to several effects

Last updated