Permissions
This page was last updated for version v1.4.1
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
# Please check the effects.yml file if you want to add or remove permissions
# You can read the wiki page for detailed information: https://treasurestore.gitbook.io/treasure-particles/effects/basic-usage#permission
# -------------------------------------
# Permission to access all the effects
access-all-effects: "trparticles.access_all_effects"
# Permission groups
rainbow-effects: "trparticles.effects.rainbow" # Permission for rainbow-colored effects
gradient-effects: "trparticles.effects.gradient" # Permission for gradient
pulse-effects: "trparticles.effects.pulse" # Permission for pulse effects
spinning: "trparticles.effects.spinning" # Permission for spinning effects (whirl, orbit, triple line, planner, etc.)
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
death-effects: "trparticles.effects.death" # Permission for death effects
basic: "trparticles.effects.basic" # Permission for basic effects (sweeping, beam, sonic, plane)
special: "trparticles.effects.special" # Permission for special effects (complementary, heart, rocket)
# Color permissions
christmas-colors: "trparticles.colors.christmas" # Permission for Christmas effects
Notes
The base command must have permission.
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 keyThen, in
effects.yml
, set the permission value to "%key%"Recommended if you want to give the same permission to several effects
Last updated