
💎Adds configurable potion effects based on worn armor trims🤩, with smart scaling per trim and zero performance impact🚀.

/trimseffect edit }name: TrimsEffect
version: 1.0.11
main: me.goldwar.trimeffects.TrimsEffects
api-version: 1.20
author: GoldwarGlory
website: https://modrinth.com/plugin/trimseffect
commands:
trimseffect:
description: Main command
permissions:
trimseffect.reload:
default: op
description: Reload the plugin's config
trimseffect.gui:
default: true
description: Open the Trim Effects GUI
trimseffect.edit:
default: op
🌟 config.yml
# Basic Info:-
# Color codes use &: example "&6Gold", "&aGreen", "&cRed".
# Potion effect names use Bukkit names: SPEED, STRENGTH, RESISTANCE, etc.
# Effect levels are normal player-facing levels:
# 0 = disabled, 1 = level I, 2 = level II, 3 = level III
settings:
prefix: "&6[TrimsEffect] &r" # plugin's prefix
keep-effects-after-milk: true # If true, trim effects come back after a player drinks milk.
check-for-updates: true # If true, admins with trimseffect.edit are notified when an update is available.
disabled-worlds: [empty,emty,mty,mt] # Worlds where trim effects should not work.
un-craftable-trims: [silence,sentry,"*"] # These armor trim templates cannot be crafted.
debug:
missing-trims: true # should we send logs in console for missing trims in effects
un-craftable-trims: true # should we send logs in console to get reminded which trims are un-craftable
display-items: true # should we send logs in console for incorrect material names of display-items
missing-display-items: true # should we send logs for missing trim-materials in config
gui: # Main /trimseffect gui menu.
enabled: true # Toggle GUI
title: "&aTrim Effects" # GUI Title
size: 54 # Must be 27, 36, 45, or 54.
show-missing-trims-in-gui: true # If true, GUI will also show the trims that are missing in config.
display-items:
default: NETHER_STAR # GUI item used when a trim has no item listed below.
trims: # Items used by /trimseffect gui and the effects editor.
silence: SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE
sentry: SENTRY_ARMOR_TRIM_SMITHING_TEMPLATE
dune: DUNE_ARMOR_TRIM_SMITHING_TEMPLATE
coast: COAST_ARMOR_TRIM_SMITHING_TEMPLATE
wild: WILD_ARMOR_TRIM_SMITHING_TEMPLATE
ward: WARD_ARMOR_TRIM_SMITHING_TEMPLATE
eye: EYE_ARMOR_TRIM_SMITHING_TEMPLATE
vex: VEX_ARMOR_TRIM_SMITHING_TEMPLATE
tide: TIDE_ARMOR_TRIM_SMITHING_TEMPLATE
snout: SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE
rib: RIB_ARMOR_TRIM_SMITHING_TEMPLATE
spire: SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE
wayfinder: WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE
raiser: RAISER_ARMOR_TRIM_SMITHING_TEMPLATE
shaper: SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE
host: HOST_ARMOR_TRIM_SMITHING_TEMPLATE
flow: FLOW_ARMOR_TRIM_SMITHING_TEMPLATE
bolt: BOLT_ARMOR_TRIM_SMITHING_TEMPLATE
effects:
# Used when a trim does not define custom levels for a piece count.
default-levels:
1: 1
2: 2
3: 2
4: 3
# Trim names must be lowercase.
# effects: potion effects this trim can give.
# levels: optional per-piece override for that trim.
# If levels is missing, default-levels above are used.
trims:
silence:
effects:
- STRENGTH
- RESISTANCE
- ABSORPTION
levels:
1:
STRENGTH: 2
RESISTANCE: 1
ABSORPTION: 0
2:
STRENGTH: 3
RESISTANCE: 2
ABSORPTION: 1
dune:
effects:
- SPEED
coast:
effects:
- WATER_BREATHING
wild:
effects:
- JUMP
ward:
effects:
- RESISTANCE
eye:
effects:
- NIGHT_VISION
vex:
effects:
- HASTE
tide:
effects:
- DOLPHINS_GRACE
snout:
effects:
- FIRE_RESISTANCE
rib:
effects:
- ABSORPTION
spire:
effects:
- REGENERATION
wayfinder:
effects:
- SATURATION
raiser:
effects:
- STRENGTH
shaper:
effects:
- HASTE
host:
effects:
- HEALTH_BOOST
flow:
effects:
- SPEED
bolt:
effects:
- FAST_DIGGING
# Empty effects means this trim appears in the GUI but gives no effects.
sentry:
effects: []