Configuration
On this page(12)
SnBosses ships with the following YAML files. New keys are auto-merged on boot; your edits and comments are preserved.
config.yml
# ============================================================
# SnBosses - configuration
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Do NOT add a config-version key (retired).
# Set update-configs: false to freeze this file (SnLib only warns about
# missing keys instead of inserting them).
# Sections marked "# sn:extensible" are yours: entries you delete there
# stay deleted.
# ============================================================
# Active language code; loads lang/messages_<code>.yml (falls back to en).
lang: en
# Master switch of the SnLib auto-updater for this plugin's managed files.
update-configs: true
# Runtime debug output (also toggleable live via /bosses debug).
debug:
# Master toggle of the debug output.
enabled: false
# Verbosity threshold: OFF, INFO, DEBUG or TRACE.
level: DEBUG
# Category filter; an empty list lets every category through.
categories: []
# ------------------------------------------------------------
# Main command.
# ------------------------------------------------------------
command:
# Aliases of /bosses. Re-read on /bosses reload.
aliases: [sbosses]
# ------------------------------------------------------------
# Database. type=sqlite needs nothing else; type=mysql reads host/port/etc.
# ------------------------------------------------------------
database:
# sqlite or mysql
type: sqlite
# MySQL connection (ignored when type is sqlite).
host: localhost
port: 3306
database: snbosses
username: root
password: ""
# ------------------------------------------------------------
# Presentation. gui opens the menu; chat prints the text view.
# ------------------------------------------------------------
presentation:
# Bare /bosses: gui opens the info menu, chat prints the generated help.
main: gui
# /bosses info: gui opens the info menu, chat prints the text view.
info: gui
# /bosses admin sessions: gui opens the sessions menu, chat prints the text view.
sessions: gui
# ------------------------------------------------------------
# Arena. Where players go when a fight ends.
# ------------------------------------------------------------
arena:
# Exit point used while /bosses admin setexit was never run. An empty world uses the spawn of the main world.
exit:
# World of the exit point.
world: ""
# X coordinate of the exit point.
x: 0.0
# Y coordinate of the exit point.
y: 64.0
# Z coordinate of the exit point.
z: 0.0
# Yaw of the exit point.
yaw: 0.0
# Pitch of the exit point.
pitch: 0.0
# ------------------------------------------------------------
# Isolation. How players of other fights are hidden.
# ------------------------------------------------------------
isolation:
# Keep the players hidden by a fight listed in the tab list. false = hidden players leave the tab list.
keep-in-tab: true
# ------------------------------------------------------------
# Fight. Rules of every boss session.
# ------------------------------------------------------------
fight:
# Lives per player when the boss file sets none.
default-lives: 3
# Seconds before an unfinished fight is lost when the boss file sets no time-limit.
default-time-limit: 600
# Extra boss health per additional team member: health x (1 + multiplier x (members - 1)).
team-health-multiplier: 0.75
# Allow damage between members of the same session.
friendly-fire: false
# true spawns the boss at the level of its file, false at the default MythicMobs level.
keep-boss-level: true
# A member teleported farther than this many blocks from the player spawn (or to another world) leaves the fight.
leave-distance: 96.0
# Respawn a member who dies at once, skipping the death screen.
auto-respawn: true
# Keep the food level of fighting players full: hunger never drops during a fight.
lock-hunger: true
# Ticks after a respawn in which a member moved away from the arena by another plugin is brought back instead of leaving the fight.
respawn-grace-ticks: 40
# ------------------------------------------------------------
# Boss AI. How a session boss picks and follows its target.
# ------------------------------------------------------------
boss-ai:
# Let the plugin pick the target of every session boss. false leaves it to the MythicMobs AI alone.
enabled: true
# Ticks between two target checks. Minimum 5.
retarget-ticks: 10
# Blocks around the boss in which a member can be targeted. 0 reaches every member in the arena.
range: 0.0
# Lowest follow range given to the boss, so it never stands still while a member is far away.
follow-range: 128.0
# Walk the boss to its target when its own AI leaves it standing.
chase: true
# Blocks from its target beyond which a standing boss is sent walking.
chase-distance: 4.0
# Health fraction (0.0 to 1.0) by which another member of the same class priority must be lower before the boss switches to them.
health-margin: 0.15
# Priority of a class missing from class-priority.
default-priority: 1
# Target priority of each class id: the boss goes for the highest first, then for the lowest health, then for the nearest.
# sn:extensible
class-priority:
tank: 3
warrior: 2
archer: 1
mage: 1
healer: 1
# ------------------------------------------------------------
# Class selection. The floating classes shown before a fight and after each death.
# ------------------------------------------------------------
class-selection:
# Seconds to pick a class before the first available one is chosen.
timeout: 30
# Distance in blocks between the player and the floating classes.
radius: 3.0
# Width in degrees of the arc the classes are spread over.
arc-degrees: 160.0
# Height in blocks of the floating classes above the player's feet.
height: 1.2
# Scale of the floating class items.
scale: 1.5
# Restrict a choosing player to freeze-radius blocks around the point where the selection opened.
freeze: true
# Blocks a choosing player may walk from where the selection opened while freeze is true. 0 keeps the player in place.
freeze-radius: 5.0
# Make the player immune to damage while choosing.
invulnerable: true
# Most classes offered at once.
max-classes: 5
# Class ids shown first, in this order; the other classes follow in file order.
order: [warrior, archer, mage, tank, healer]
# Highlight of the class under the crosshair of a choosing player.
hover:
# Glow and enlarge the class the player is looking at.
enabled: true
# Glow color of the hovered class, as #RRGGBB.
color: "#8354F2"
# Size multiplier of the hovered class, from 1.0 to 3.0.
scale: 1.15
# Text label of each floating class (name, lore and access state).
label:
# HOVER shows the label of the class the player is looking at only (needs hover.enabled), ALWAYS shows every label.
show: HOVER
# RIGHT or LEFT of the item as the player sees it, or ABOVE the item.
side: RIGHT
# Blocks between the center of the item and the center of a RIGHT or LEFT label.
distance: 1.6
# Extra height in blocks of the label.
height: 0.0
# ------------------------------------------------------------
# Schedule. Each entry opens an event window at each of its times.
# times: daily HH:mm times or 5-field cron expressions.
# bosses: boss id (file name in bosses/) mapped to its weight in the random pick.
# ------------------------------------------------------------
# sn:extensible
schedule:
evening:
# Times at which the window opens.
times: ["20:00"]
# Bosses the opening picks from, with their weights.
bosses:
example: 1
# ------------------------------------------------------------
# Window. The period after an opening in which players can start their fight.
# ------------------------------------------------------------
window:
# Minutes a window stays open.
join-minutes: 10
# Minutes before an opening at which an announcement goes out. The bossbar starts counting down at the largest value.
announce-before: [10, 5, 1]
# Show a global bossbar counting down to the opening and the closing.
bossbar: true
# Bossbar color: PINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE.
bossbar-color: PURPLE
# Bossbar style: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20.
bossbar-overlay: PROGRESS
# ------------------------------------------------------------
# Team. Parties formed with /bosses team before a fight.
# ------------------------------------------------------------
team:
# Most players in one team, leader included.
max-size: 4
# Seconds before a team invitation expires.
invite-expiry: 60
# Every member of a team must play a different class. A team larger than the classes offered cannot start.
unique-classes: true
# ------------------------------------------------------------
# Spectate. What happens to a player who has no lives left.
# ------------------------------------------------------------
spectate:
# SPECTATE watches the living team members until the session ends, LEAVE exits the fight at once.
eliminated-mode: SPECTATE
# ------------------------------------------------------------
# Rewards. How the win rewards of the boss files are delivered.
# ------------------------------------------------------------
rewards:
# Give the win rewards to team members who ran out of lives too.
include-eliminated: false
# ALL delivers every matching reward tier, BEST only the last matching tier of the boss file.
tier-mode: ALL
# ------------------------------------------------------------
# Entry. How often a player can fight.
# ------------------------------------------------------------
entry:
# A player can start one fight per window.
one-per-window: true
# An IP address can start one fight per window. The snbosses.bypass.ip permission skips the check.
one-per-ip: true
# ------------------------------------------------------------
# Restrictions. What players cannot do during a fight.
# ------------------------------------------------------------
restrictions:
# Commands players can run during a fight, without the slash. /bosses is always allowed.
allowed-commands: [msg, tell, w, r, reply]
# Block flying during a fight.
block-flight: true
# Block ender pearls and chorus fruit teleports during a fight.
block-ender-pearl: true
# ------------------------------------------------------------
# Integrations. Third-party wiring.
# ------------------------------------------------------------
integrations:
mythicmobs:
# Copy mythicmobs/SnBossesClassSkills.yml into plugins/MythicMobs/skills/ when absent. Run /mm reload once afterwards.
install-example-skills: true
# ------------------------------------------------------------
# HUD. What members see during a fight.
# ------------------------------------------------------------
hud:
# Show a bossbar with the boss health to the members of a session.
bossbar: true
# Show lives and ability cooldowns in the actionbar.
actionbar: true
# Ticks between HUD refreshes. Minimum 2.
update-ticks: 10
# Session bossbar color: PINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE.
bossbar-color: RED
# Session bossbar style: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20.
bossbar-overlay: PROGRESS
# ------------------------------------------------------------
# Sounds. Format: SOUND_ID [volume] [pitch]. Empty or none is silent.
# ------------------------------------------------------------
sounds:
# Played to every player when a window opens.
window-open: "ENTITY_ENDER_DRAGON_GROWL 0.6 1.0"
# Played to a player who picks a class.
class-pick: "ENTITY_EXPERIENCE_ORB_PICKUP 1.0 1.2"
# Played to a player who loses a life.
life-lost: "ENTITY_WITHER_HURT 0.8 1.0"
# Played to the members of a session that wins.
win: "UI_TOAST_CHALLENGE_COMPLETE 1.0 1.0"
# Played to the members of a session that loses.
lose: "ENTITY_WITHER_DEATH 0.6 1.0"
bosses/example.yml
# ============================================================
# Example boss. One file per boss; the file name is the boss id
# (letters, digits, "_" and "-"), and it is the id used by the schedule
# in config.yml and by /bosses admin start <boss>.
# This file is seeded once and never rewritten. Copy it to add a boss.
# Only mythic-mob is required; every other key can be removed.
# ============================================================
# Internal name of the MythicMobs mob this boss spawns. Required.
mythic-mob: SkeletonKing
# Name shown in announcements, the HUD and the menus. Supports & codes and &#RRGGBB.
display-name: "₢f2&lSkeleton King"
# MythicMobs level the boss spawns at while fight.keep-boss-level is true.
level: 1
# Lives per player. -1 uses fight.default-lives.
lives: -1
# Seconds before an unfinished fight is lost. -1 uses fight.default-time-limit.
time-limit: -1
# Class ids players can pick against this boss. An empty list offers every class.
allowed-classes: []
# Fallback spawn points of the arena, used while locations.yml holds none for this boss.
# /bosses admin setspawn <boss> and /bosses admin setbossspawn <boss> store theirs in
# locations.yml and take priority over these.
# arena:
# # Where the players of a fight appear.
# player-spawn:
# world: bosses
# x: 0.5
# y: 100.0
# z: 0.5
# yaw: 0.0
# pitch: 0.0
# # Where the boss appears.
# boss-spawn:
# world: bosses
# x: 0.5
# y: 100.0
# z: -20.5
# yaw: 0.0
# pitch: 0.0
# Rewards of a win. Every action is a SnLib action line: [console], [player], [message],
# [title], [sound], [broadcastmessage] and the rest of the SnLib action tags.
# Placeholders: {player} {boss} {lives} {lives_max} {damage_share} {time} {team_size}.
# {damage_share} is a whole percent from 0 to 100 without the sign, {time} is the fight duration as m:ss.
rewards:
# Run for every rewarded member of a winning session.
win:
- "[console] give {player} diamond 8"
- "[title] &6&lVICTORY;&7You defeated {boss}&7!;10;70;20"
- "[sound] ENTITY_PLAYER_LEVELUP 1.0 1.0"
# Optional extra rewards. A tier applies when every condition it sets holds.
# rewards.tier-mode in config.yml decides whether every matching tier or only the last one is delivered.
tiers:
flawless:
# Lives the member must still have at the kill.
min-lives-left: 3
# Share of the boss health the member dealt, from 0.0 to 1.0.
min-damage-share: 0.0
# The kill must happen within this many seconds. -1 sets no limit.
max-seconds: -1
# Action lines run when the tier applies.
actions:
- "[console] give {player} emerald 4"
- "[message] &aFlawless victory, no life lost!"
top-damage:
min-lives-left: 0
min-damage-share: 0.5
max-seconds: -1
actions:
- "[console] give {player} gold_ingot 6"
- "[message] &aYou dealt at least half of the damage!"
speedrun:
min-lives-left: 0
min-damage-share: 0.0
max-seconds: 120
actions:
- "[console] give {player} diamond 4"
- "[message] &aThe {boss}&a fell in under two minutes!"
classes/warrior.yml
# ============================================================
# Example class. One file per class; the file name is the class id.
# This file is seeded once and never rewritten. Copy it to add a class.
# Items use the SnLib item fields: material, display-name, lore, amount,
# enchantments, flags, unbreakable, color, attributes, custom-model-data,
# item-model, skull-owner and the rest of the SnLib item spec.
# Any item entry may also carry pack-item: "namespace:id" to take the stack from the
# SnTexturePack resource-pack plugin (see the commented examples below).
# warrior.yml documents every key; the other classes show the same layout.
# ============================================================
# Name shown above the class in the class selection. Supports & codes and &#RRGGBB.
display-name: "&c&lWarrior"
# Description lines shown under the name in the class selection.
lore:
- "&7A frontline fighter."
- "&7Cleave hits every enemy around you."
# Permission needed to pick the class. Empty lets everyone pick it.
permission: ""
# Item floating in the class selection.
display:
material: IRON_SWORD
# Resource pack model by number (custom model data):
# custom-model-data: 1001
# Resource pack model by key (item model component, 1.21.2 and later):
# item-model: "myserver:class/warrior"
# A textured head: write the texture value in the material instead.
# material: "basehead-<base64 texture value>"
# Armor worn in the fight. Slots: head, chest, legs, feet.
armor:
# pack-item builds the piece through SnTexturePack, which worn custom armor needs because only that
# plugin sets its equippable component. The display-name, lore, enchantments, attributes, flags and
# unbreakable of the entry are laid on top of the pack item; material is the fallback used when
# SnTexturePack is missing or does not know the id (one warning; an entry with no material is skipped).
# head:
# pack-item: "myserver:warrior_helmet"
# material: IRON_HELMET
# display-name: "&cWarrior Helm"
# unbreakable: true
head:
material: IRON_HELMET
display-name: "&cWarrior Helm"
enchantments: ["protection 2"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
chest:
material: IRON_CHESTPLATE
display-name: "&cWarrior Plate"
enchantments: ["protection 2"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
legs:
material: IRON_LEGGINGS
display-name: "&cWarrior Greaves"
enchantments: ["protection 2"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
feet:
material: IRON_BOOTS
display-name: "&cWarrior Boots"
enchantments: ["protection 2"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
# Kit items by inventory slot. Slots 0-8 are the hotbar, 9-35 the inventory, 40 the off hand.
items:
# The weapon from the resource pack, with the same rules as the armor example above:
# 0:
# pack-item: "myserver:warrior_blade"
# material: IRON_SWORD
# display-name: "&cWarrior Blade"
# enchantments: ["sharpness 2"]
0:
material: IRON_SWORD
display-name: "&cWarrior Blade"
enchantments: ["sharpness 2"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
1:
material: RED_DYE
display-name: "&c&lCleave &7(right click)"
lore:
- "&7Strike every enemy around you."
# Ability items can carry a texture too:
# custom-model-data: 1002
2:
material: ORANGE_DYE
display-name: "&6&lRally &7(right click)"
lore:
- "&7Empower yourself and nearby allies."
# The healing flask: the same item, slot and ability in every shipped class.
3:
material: POTION
display-name: "&c&lHealing Flask &7(right click)"
color: "230, 60, 60"
flags: [HIDE_ADDITIONAL_TOOLTIP]
lore:
- "&7Restores 35% of your max health."
# Stat changes while in the class. A value of 0 leaves the player's normal value.
stats:
# Max health in half hearts (vanilla players have 20).
max-health: 24
# Movement speed attribute value (vanilla players have 0.1).
movement-speed: 0
# Attack damage attribute value (a bare hand has 1.0).
attack-damage: 0
# Potion effects active for the whole fight. Format: "EFFECT [level]". Example: "speed 1".
effects: []
# Passives: MythicMobs skills the player casts on their own for as long as the class is worn in the fight,
# every `interval` ticks (default 100, from 10 to 72000). The skill is cast with the player as caster,
# like an ability, but needs no item and no click. Remove the leading # to enable the example.
# passives:
# - skill: SnBosses_WarriorRally
# interval: 300
# Exit skill: a MythicMobs skill cast with the player as caster every time this class is taken off
# them: on every way out of the fight (win, loss, leave, quit, kick, no lives left, forced end, plugin
# disable) and on a death, before the member picks a class again. Use it to remove what the class
# skills leave on the player and the plugin cannot see, such as MythicMobs auras (auraremove). Target
# @Self and give it no conditions, cooldown or delay. Potion effects need no skill: every effect
# picked up in the fight is removed with the kit. The shipped classes leave no aura behind, so the key
# is commented out; mythicmobs/SnBossesClassSkills.yml carries a matching commented example.
# exit-skill: SnBosses_ClassCleanup
# Abilities, each bound to one kit item. The key is the ability id.
abilities:
cleave:
# Slot of the kit item that casts the ability. One ability per item.
slot: 1
# RIGHT_CLICK casts on a right click with the item (in the air, on a block or on an entity).
# SWAP_HAND casts on the swap-hand key (F) with the item in hand; the shipped classes do not use it.
trigger: RIGHT_CLICK
# MythicMobs skill cast with the player as caster (see mythicmobs/SnBossesClassSkills.yml).
skill: SnBosses_WarriorCleave
# Seconds before the ability can be cast again.
cooldown: 8
# Name shown in feedback and the HUD.
display-name: "&cCleave"
rally:
slot: 2
trigger: RIGHT_CLICK
skill: SnBosses_WarriorRally
cooldown: 20
display-name: "&6Rally"
flask:
slot: 3
trigger: RIGHT_CLICK
skill: SnBosses_HealingFlask
cooldown: 25
display-name: "&cHealing Flask"
classes/archer.yml
# Example class: a ranged fighter. Same layout as warrior.yml, which documents every key.
# Name shown above the class in the class selection. Supports & codes and &#RRGGBB.
display-name: "&a&lArcher"
# Description lines shown under the name in the class selection.
lore:
- "&7Strikes from a distance."
- "&7Volley hits every enemy in a cone."
# Permission needed to pick the class. Empty lets everyone pick it.
permission: ""
# Item floating in the class selection.
display:
material: BOW
# custom-model-data: 1011
# item-model: "myserver:class/archer"
# Armor worn in the fight.
armor:
head:
material: LEATHER_HELMET
display-name: "&aHunter Hood"
color: "60, 160, 60"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
chest:
material: LEATHER_CHESTPLATE
display-name: "&aHunter Vest"
color: "60, 160, 60"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
legs:
material: LEATHER_LEGGINGS
display-name: "&aHunter Pants"
color: "60, 160, 60"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
feet:
material: LEATHER_BOOTS
display-name: "&aHunter Boots"
color: "60, 160, 60"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
# Kit items by inventory slot. Infinity needs one arrow in the inventory.
items:
0:
material: BOW
display-name: "&aHunter Bow"
enchantments: ["infinity 1", "power 2"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ENCHANTS]
1:
material: FEATHER
display-name: "&a&lVolley &7(right click)"
lore:
- "&7Rain arrows on every enemy in front of you."
2:
material: SUGAR
display-name: "&f&lEvade &7(right click)"
lore:
- "&7Dash away with a burst of speed."
# The healing flask: the same item, slot and ability in every shipped class.
3:
material: POTION
display-name: "&c&lHealing Flask &7(right click)"
color: "230, 60, 60"
flags: [HIDE_ADDITIONAL_TOOLTIP]
lore:
- "&7Restores 35% of your max health."
8:
material: ARROW
display-name: "&7Arrow"
# Stat changes while in the class. A value of 0 leaves the player's normal value.
stats:
max-health: 18
movement-speed: 0.11
attack-damage: 0
# Potion effects active for the whole fight. Format: "EFFECT [level]".
effects:
- "jump_boost 1"
# Abilities, each bound to one kit item.
abilities:
volley:
slot: 1
trigger: RIGHT_CLICK
skill: SnBosses_ArcherVolley
cooldown: 10
display-name: "&aVolley"
evade:
slot: 2
trigger: RIGHT_CLICK
skill: SnBosses_ArcherEvade
cooldown: 12
display-name: "&fEvade"
flask:
slot: 3
trigger: RIGHT_CLICK
skill: SnBosses_HealingFlask
cooldown: 25
display-name: "&cHealing Flask"
classes/mage.yml
# Example class: a fragile spellcaster. Same layout as warrior.yml, which documents every key.
# Name shown above the class in the class selection. Supports & codes and &#RRGGBB.
display-name: "&d&lMage"
# Description lines shown under the name in the class selection.
lore:
- "&7Burns and freezes whole groups."
- "&7Low health, high damage."
# Permission needed to pick the class. Empty lets everyone pick it.
permission: ""
# Item floating in the class selection.
display:
material: BLAZE_ROD
# custom-model-data: 1021
# item-model: "myserver:class/mage"
# Armor worn in the fight.
armor:
head:
material: LEATHER_HELMET
display-name: "&dArcane Hat"
color: "150, 60, 220"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
chest:
material: LEATHER_CHESTPLATE
display-name: "&dArcane Robe"
color: "150, 60, 220"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
legs:
material: LEATHER_LEGGINGS
display-name: "&dArcane Leggings"
color: "150, 60, 220"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
feet:
material: LEATHER_BOOTS
display-name: "&dArcane Boots"
color: "150, 60, 220"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_DYE]
# Kit items by inventory slot.
items:
0:
material: BLAZE_ROD
display-name: "&dArcane Staff"
enchantments: ["sharpness 1"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES, HIDE_ENCHANTS]
1:
material: BLAZE_POWDER
display-name: "&6&lFireburst &7(right click)"
lore:
- "&7Burn every enemy around you."
2:
material: PRISMARINE_SHARD
display-name: "&b&lFrost Nova &7(right click)"
lore:
- "&7Freeze and slow every enemy around you."
# The healing flask: the same item, slot and ability in every shipped class.
3:
material: POTION
display-name: "&c&lHealing Flask &7(right click)"
color: "230, 60, 60"
flags: [HIDE_ADDITIONAL_TOOLTIP]
lore:
- "&7Restores 35% of your max health."
# Stat changes while in the class. A value of 0 leaves the player's normal value.
stats:
max-health: 16
movement-speed: 0
attack-damage: 0
# Potion effects active for the whole fight. Format: "EFFECT [level]".
effects: []
# Abilities, each bound to one kit item.
abilities:
fireburst:
slot: 1
trigger: RIGHT_CLICK
skill: SnBosses_MageFireburst
cooldown: 6
display-name: "&6Fireburst"
frostnova:
slot: 2
trigger: RIGHT_CLICK
skill: SnBosses_MageFrostNova
cooldown: 14
display-name: "&bFrost Nova"
flask:
slot: 3
trigger: RIGHT_CLICK
skill: SnBosses_HealingFlask
cooldown: 25
display-name: "&cHealing Flask"
classes/tank.yml
# Example class: a slow, durable protector. Same layout as warrior.yml, which documents every key.
# Name shown above the class in the class selection. Supports & codes and &#RRGGBB.
display-name: "&9&lTank"
# Description lines shown under the name in the class selection.
lore:
- "&7Soaks damage for the whole team."
- "&7Slow, but very hard to take down."
# Permission needed to pick the class. Empty lets everyone pick it.
permission: ""
# Item floating in the class selection.
display:
material: SHIELD
# custom-model-data: 1031
# item-model: "myserver:class/tank"
# Armor worn in the fight.
armor:
head:
material: IRON_HELMET
display-name: "&9Bastion Helm"
enchantments: ["protection 3"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
chest:
material: IRON_CHESTPLATE
display-name: "&9Bastion Plate"
enchantments: ["protection 3"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
legs:
material: IRON_LEGGINGS
display-name: "&9Bastion Greaves"
enchantments: ["protection 3"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
feet:
material: IRON_BOOTS
display-name: "&9Bastion Boots"
enchantments: ["protection 3"]
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
# Kit items by inventory slot. Slot 40 is the off hand.
items:
0:
material: IRON_AXE
display-name: "&9Bastion Axe"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
1:
material: IRON_INGOT
display-name: "&9&lBulwark &7(right click)"
lore:
- "&7Shield yourself and nearby allies."
2:
material: NETHERITE_SCRAP
display-name: "&8&lStomp &7(right click)"
lore:
- "&7Slam the ground and knock enemies back."
# The healing flask: the same item, slot and ability in every shipped class.
3:
material: POTION
display-name: "&c&lHealing Flask &7(right click)"
color: "230, 60, 60"
flags: [HIDE_ADDITIONAL_TOOLTIP]
lore:
- "&7Restores 35% of your max health."
40:
material: SHIELD
display-name: "&9Bastion Shield"
unbreakable: true
flags: [HIDE_UNBREAKABLE]
# Stat changes while in the class. A value of 0 leaves the player's normal value.
stats:
max-health: 40
movement-speed: 0.09
attack-damage: 0
# Potion effects active for the whole fight. Format: "EFFECT [level]".
effects:
- "resistance 1"
# Abilities, each bound to one kit item.
abilities:
bulwark:
slot: 1
trigger: RIGHT_CLICK
skill: SnBosses_TankBulwark
cooldown: 14
display-name: "&9Bulwark"
stomp:
slot: 2
trigger: RIGHT_CLICK
skill: SnBosses_TankStomp
cooldown: 10
display-name: "&8Stomp"
flask:
slot: 3
trigger: RIGHT_CLICK
skill: SnBosses_HealingFlask
cooldown: 25
display-name: "&cHealing Flask"
classes/healer.yml
# Example class: a support that keeps the team alive. Same layout as warrior.yml, which documents every key.
# Name shown above the class in the class selection. Supports & codes and &#RRGGBB.
display-name: "&e&lHealer"
# Description lines shown under the name in the class selection.
lore:
- "&7Mends and empowers nearby allies."
- "&7Weak alone, vital in a team."
# Permission needed to pick the class. Empty lets everyone pick it.
permission: ""
# Item floating in the class selection.
display:
material: GHAST_TEAR
# custom-model-data: 1041
# item-model: "myserver:class/healer"
# Armor worn in the fight.
armor:
# A textured head can replace the helmet: write the texture value in the material.
# head:
# material: "basehead-<base64 texture value>"
# display-name: "&eHalo"
head:
material: GOLDEN_HELMET
display-name: "&eSolar Crown"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
chest:
material: GOLDEN_CHESTPLATE
display-name: "&eSolar Vestment"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
legs:
material: GOLDEN_LEGGINGS
display-name: "&eSolar Leggings"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
feet:
material: GOLDEN_BOOTS
display-name: "&eSolar Boots"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
# Kit items by inventory slot.
items:
0:
material: GOLDEN_SWORD
display-name: "&eMender's Blade"
unbreakable: true
flags: [HIDE_UNBREAKABLE, HIDE_ATTRIBUTES]
1:
material: GHAST_TEAR
display-name: "&a&lMend &7(right click)"
lore:
- "&7Heal yourself and nearby allies."
2:
material: GLOWSTONE_DUST
display-name: "&e&lRenew &7(right click)"
lore:
- "&7Grant regeneration to nearby allies."
# The healing flask: the same item, slot and ability in every shipped class.
3:
material: POTION
display-name: "&c&lHealing Flask &7(right click)"
color: "230, 60, 60"
flags: [HIDE_ADDITIONAL_TOOLTIP]
lore:
- "&7Restores 35% of your max health."
# Stat changes while in the class. A value of 0 leaves the player's normal value.
stats:
max-health: 0
movement-speed: 0
attack-damage: 0
# Potion effects active for the whole fight. Format: "EFFECT [level]".
effects: []
# Abilities, each bound to one kit item.
abilities:
mend:
slot: 1
trigger: RIGHT_CLICK
skill: SnBosses_HealerMend
cooldown: 8
display-name: "&aMend"
renew:
slot: 2
trigger: RIGHT_CLICK
skill: SnBosses_HealerRenew
cooldown: 20
display-name: "&eRenew"
flask:
slot: 3
trigger: RIGHT_CLICK
skill: SnBosses_HealingFlask
cooldown: 25
display-name: "&cHealing Flask"
guis/info.yml
# ============================================================
# SnBosses - info menu (/bosses, /bosses info)
# Managed by SnLib: new keys merge in on boot, your values are kept.
# ============================================================
# Cells: w event window state, m your team, j join button, l team list, x close, f filler.
# The plugin fills the w, m and j regions every second; the look of each state is a template below.
title: "₢f2&lBoss Event"
layout:
- "fffffffff"
- "ffffwffff"
- "fmmmmmmmf"
- "fffjflfff"
- "ffffxffff"
# Cells the plugin fills. Take a letter out of the layout to remove its element.
regions:
window: w
team: m
join: j
items:
filler:
material: GRAY_STAINED_GLASS_PANE
display-name: " "
key: f
# Shown in the team cells that hold no member.
team-empty:
material: GRAY_STAINED_GLASS_PANE
display-name: " "
key: m
team-list:
material: BOOK
display-name: "₢f2&lTeam List"
key: l
lore:
- "&7Prints your team in the chat."
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[close]"
- "[custom] team"
close:
material: BARRIER
display-name: "&cClose"
key: x
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[close]"
# Looks of the regions. Placeholders: {status} state word, {boss} boss name, {time} clock such as 4:07,
# {at} day and time of the next opening (messages.gui.at-format), {uuid} {name} {role} of a team member.
templates:
# An event window is open.
window-open:
material: CLOCK
glow: true
display-name: "₢f2&lBoss Event &8| {status}"
lore:
- "&7Boss: &f{boss}"
- "&7Joining closes in: &f{time}"
# The next opening has a fixed boss.
window-upcoming:
material: CLOCK
display-name: "₢f2&lBoss Event &8| {status}"
lore:
- "&7Boss: &f{boss}"
- "&7Opens in: &f{time}"
- "&7Next opening: &f{at}"
# The next opening picks its boss at random.
window-upcoming-random:
material: CLOCK
display-name: "₢f2&lBoss Event &8| {status}"
lore:
- "&7Boss: &fRandom"
- "&7Opens in: &f{time}"
- "&7Next opening: &f{at}"
# No window is open and none is scheduled.
window-closed:
material: BARRIER
display-name: "₢f2&lBoss Event &8| {status}"
lore:
- "&7No event is scheduled."
# Join button while a window is open and the viewer is not in a fight.
join-available:
material: EMERALD
glow: true
display-name: "&a&lJoin the fight"
lore:
- "&7Fight {boss} &7alone or with your team."
- " "
- "&eClick to join."
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[close]"
- "[custom] join"
# Join button while no window is open; the click explains why.
join-closed:
material: GRAY_DYE
display-name: "&7Join the fight"
lore:
- "&cNo boss event is open right now."
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[custom] join"
# Join button while the viewer is already in a fight.
join-in-session:
material: GRAY_DYE
display-name: "&7Join the fight"
lore:
- "&cYou are already in a boss fight."
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[custom] join"
# A member of the viewer's team, leader first.
team-member:
material: PLAYER_HEAD
skull-owner: "{uuid}"
display-name: "₢f2&l{name}"
lore:
- "&7Role: &f{role}"
# The viewer when they are not in a team.
team-solo:
material: PLAYER_HEAD
skull-owner: "{uuid}"
display-name: "₢f2&l{name}"
lore:
- "&7You are not in a team."
- "&7Invite a player with &f/bosses team invite&7."
guis/sessions.yml
# ============================================================
# SnBosses - admin sessions menu (/bosses admin sessions)
# Managed by SnLib: new keys merge in on boot, your values are kept.
# ============================================================
# Cells: i session count, p the running sessions (paged), < > page arrows, x close, f filler.
# The plugin refreshes the list every second. Clicking a session opens its detail menu
# (session-detail.yml), where the force-end button lives.
title: "₢f2&lBoss Sessions"
pagination: true
paged-key: p
layout:
- "fffffffff"
- "ffffiffff"
- "fpppppppf"
- "fpppppppf"
- "fpppppppf"
- "<fffxfff>"
# Cells the plugin fills. Take a letter out of the layout to remove its element.
regions:
summary: i
items:
filler:
material: GRAY_STAINED_GLASS_PANE
display-name: " "
key: f
close:
material: BARRIER
display-name: "&cClose"
key: x
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[close]"
previous-page:
material: ARROW
display-name: "₢f2Previous Page"
key: "<"
click-actions:
- "[previous-page]"
- "[sound] UI_BUTTON_CLICK"
nav-disabled:
material: GRAY_STAINED_GLASS_PANE
display-name: "&7No previous page"
lore:
- "&8You are on the first page"
next-page:
material: ARROW
display-name: "₢f2Next Page"
key: ">"
click-actions:
- "[next-page]"
- "[sound] UI_BUTTON_CLICK"
nav-disabled:
material: GRAY_STAINED_GLASS_PANE
display-name: "&7No next page"
lore:
- "&8You are on the last page"
# Placeholders of summary: {count} running sessions.
# Placeholders of entry: {id} {boss} {status} {leader} {leader_uuid} {count} {members} (one line per member)
# {elapsed} time since the boss appeared, {left} time left on the clock.
templates:
# Header cell while at least one session runs.
summary:
material: NETHER_STAR
display-name: "₢f2&lRunning fights"
lore:
- "&7Sessions: &f{count}"
# Header cell while nothing runs.
summary-empty:
material: BARRIER
display-name: "₢f2&lRunning fights"
lore:
- "&7No boss fights are running."
# One running session.
entry:
material: PLAYER_HEAD
skull-owner: "{leader_uuid}"
display-name: "₢f2&l{boss} &8| {status}"
lore:
- "&7Leader: &f{leader}"
- "&7Elapsed: &f{elapsed}"
- "&7Time left: &f{left}"
- " "
- "&7Members:"
- "{members}"
- " "
- "&eClick to inspect."
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[custom] inspect {id}"
guis/session-detail.yml
# ============================================================
# SnBosses - admin session detail menu (opened from sessions.yml)
# Managed by SnLib: new keys merge in on boot, your values are kept.
# ============================================================
# Cells: s session summary, m the members still in the fight, e force-end, b back to the list,
# x close, f filler. An admin is not isolated, so this menu replaces teleporting into the arena:
# it shows who fights and lets you end the session.
title: "₢f2&lSession"
layout:
- "fffffffff"
- "ffffsffff"
- "fmmmmmmmf"
- "ffefffbff"
- "ffffxffff"
# Cells the plugin fills. Take a letter out of the layout to remove its element.
regions:
summary: s
members: m
items:
filler:
material: GRAY_STAINED_GLASS_PANE
display-name: " "
key: f
# Shown in the member cells that hold no member.
member-empty:
material: GRAY_STAINED_GLASS_PANE
display-name: " "
key: m
back:
material: ARROW
display-name: "₢f2Back"
key: b
lore:
- "&7Return to the list of fights."
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[custom] sessions"
close:
material: BARRIER
display-name: "&cClose"
key: x
click-actions:
- "[sound] UI_BUTTON_CLICK"
- "[close]"
# Placeholders of the summaries: {boss} {status} {count} members in the fight, {elapsed} time since the
# boss appeared, {left} time left on the clock, {health} boss health in whole percent.
# Placeholders of member: {uuid} {name} {lives} {max} {state} {class} {damage} damage dealt to the boss.
templates:
# The members are still choosing their class.
summary-selecting:
material: NETHER_STAR
display-name: "₢f2&l{boss} &8| {status}"
lore:
- "&7Members: &f{count}"
- "&7Time limit: &f{left}"
# The boss is being fought.
summary-fighting:
material: NETHER_STAR
glow: true
display-name: "₢f2&l{boss} &8| {status}"
lore:
- "&7Members: &f{count}"
- "&7Boss health: &f{health}%"
- "&7Elapsed: &f{elapsed}"
- "&7Time left: &f{left}"
# The session ended while the menu was open.
summary-gone:
material: BARRIER
display-name: "&cSession ended"
lore:
- "&7This fight is no longer running."
# A member of the session.
member:
material: PLAYER_HEAD
skull-owner: "{uuid}"
display-name: "₢f2&l{name}"
lore:
- "&7State: &f{state}"
- "&7Lives: &f{lives}&7/&f{max}"
- "&7Class: &f{class}"
- "&7Damage: &f{damage}"
# Ends the session at once: no rewards, every member gets their items back. {id} is the session.
force-end:
material: RED_CONCRETE
display-name: "&c&lForce end"
key: e
lore:
- "&7Ends this fight for everyone."
- "&7Nobody gets rewards and every member"
- "&7gets their items back."
- " "
- "&cClick to end the fight."
click-actions:
- "[sound] ENTITY_VILLAGER_NO"
- "[custom] force-end {id}"
lang/messages_en.yml
# ============================================================
# SnBosses - language file (English)
# Managed by SnLib: new keys merge in on boot, your values are kept.
# Restyle any line freely; your edits survive updates.
# ============================================================
# Prefix prepended to every single-line message sent via sn.lang().send(...)
prefix: "₢f2&lSnBosses &8| &7"
# snlib.* is SnLib's shared command contract (14 keys; the two help.group-*
# keys exist since SnLib 1.36.0). Every Sn plugin ships
# this block UNCHANGED: SnLib bundles NEUTRAL defaults for any key you omit and
# merges them in on boot, so an incomplete block leaks unbranded lines. Shipping
# the FULL block is what keeps the whole fleet visually identical. Placeholders
# {plugin} {usage} {description} {page} {total} {min} {max} {value} {command}
# {group} {path} are filled by SnLib. NEVER put {prefix} here (it is auto-prepended).
snlib:
no-permission: "&cYou do not have permission to use this command."
usage: "&cUsage: &e{usage}"
invalid-number: "&cInvalid number: &e{value}"
invalid-value: "&cInvalid value: &e{value}"
out-of-range: "&cValue must be between &e{min} &cand &e{max}&c: &e{value}"
number-too-small: "&cValue must be at least &e{min}&c: &e{value}"
player-not-found: "&cPlayer not found: &e{value}"
unknown-subcommand: "&cUnknown subcommand: &e{value}"
reload-done: "&aConfiguration reloaded."
help:
header: "&8&m----------&r ₢f2&l{plugin} &8&m----------"
# Branded no-separator form. SnLib's neutral default is "&e{usage} &7{description}".
entry: "₢f2{usage} &7{description}"
footer: "&7Page &f{page}&7/&f{total} &8- ₢f2/{command} help <page>"
# Own help of a groupHelp() command group (/<cmd> admin <module> help).
group-header: "&8&m----------&r ₢f2&l{group} &8&m----------"
group-footer: "&7Page &f{page}&7/&f{total} &8- ₢f2{path} help <page>"
# Short state words. Each is substituted into a {status}, {state} or {value} slot of the
# messages, of the menus under guis/ and of the PlaceholderAPI output, so a restyle here
# applies everywhere at once.
status:
# An event window that is open.
window-open: "&aOpen"
# No event window is open.
window-closed: "&cClosed"
# An event window that is scheduled but has not opened yet.
window-upcoming: "&eUpcoming"
# A class the player lacks the permission for.
class-locked: "&cLocked"
# A class the player can pick.
class-available: "&aAvailable"
# A class a teammate already plays.
class-taken: "&6Taken"
# The leader of a team.
team-leader: "&6Leader"
# A plain member of a team.
team-member: "&7Member"
# A session whose members are still choosing a class.
session-selecting: "&eChoosing a class"
# A session whose boss is being fought.
session-fighting: "&cFighting"
# A session member who still has lives.
member-alive: "&aAlive"
# A session member who ran out of lives.
member-eliminated: "&cEliminated"
# Shown where a value is not set: no boss, no class, no team. Uncolored so it inherits the
# color of the line it lands in.
none: "None"
# Your own plugin messages. Do NOT write {prefix} in any value: SnLib
# auto-prepends the prefix above to every single-line message sent via
# sn.lang().send(...). A literal {prefix} renders verbatim, and SnLib
# logs a one-time WARN when the active lang file contains one.
messages:
generic-error: "&cSomething went wrong. Check the console."
# Class selection and class items. Placeholders: {class} class display name, {seconds} seconds.
class:
# Sent when the floating classes appear; {seconds} is the time left before a class is picked for you.
choose: "&7Pick your class: click one of the floating items. &8(&f{seconds}s&8)"
# Sent after clicking a class.
picked: "&aYou picked &f{class}&a."
# Sent when the time ran out and the first available class was picked.
timeout: "&7Time is up: you play as &f{class}&7."
# Sent when clicking a class the player lacks the permission for.
locked: "&cYou cannot pick &f{class}&c: it is locked."
# Sent when clicking a class a teammate already plays (team.unique-classes).
taken: "&f{class} &cis already played by a teammate."
# Sent when every class of the fight is locked or taken for the player.
none-available: "&cNo class is available to you for this fight."
# Last line of the floating label under each class; {status} is status.class-available, status.class-locked or status.class-taken.
label-status: "&8[{status}&8]"
# Sent when trying to drop a class item.
item-locked: "&cClass items stay with you during the fight."
# Class abilities (actionbar lines except failed). Placeholders: {ability} ability display name, {seconds} seconds.
ability:
# Actionbar after a successful cast.
cast: "{ability} &7cast!"
# Actionbar while the ability is cooling down.
cooldown: "{ability} &7is ready in &f{seconds}s&7."
# Actionbar when the skill conditions are not met, so nothing was cast and the cooldown did not start.
blocked: "{ability} &7cannot be used right now."
# Chat line when MythicMobs could not cast the skill (missing skill: check the console).
failed: "&cThe ability {ability} &ccould not be cast."
# Event windows, the periods in which players can start a fight.
# Placeholders: {boss} boss display name, {minutes} whole minutes, {time} clock such as 4:07.
window:
# Broadcast {minutes} minutes before an opening whose schedule entry has a single boss.
announce-before-boss: "&7The boss &f{boss} &7appears in &f{minutes} min&7. Get ready!"
# Broadcast {minutes} minutes before an opening whose boss is picked at random.
announce-before: "&7A boss event opens in &f{minutes} min&7. Get ready!"
# Broadcast when a window opens; {minutes} is how long it stays open. Keep the <click> and <hover> tags,
# they power the button. The typed command at the end is the fallback for clients that cannot click (Bedrock).
opened: "₢f2&lBoss event! &f{boss} &7is ready. You can join for &f{minutes} min&7. <click:run_command:'/bosses join'><hover:show_text:'&aJoin the fight'>&a[Join]</hover></click> &8or type &f/bosses join"
# Broadcast when the window closes.
closed: "&7The boss event is over. See you at the next one!"
# Title shown to every online player when a window opens: title;subtitle;fadeIn;stay;fadeOut (ticks).
title-open: "₢f2&lBOSS EVENT;&f{boss};10;70;20"
# Bossbar title while the window is open; {time} counts down to the closing.
bossbar-open: "₢f2{boss} &8| &7Join closes in &f{time}"
# Bossbar title before an opening whose schedule entry has a single boss; {time} counts down to the opening.
bossbar-upcoming-boss: "₢f2{boss} &8| &7Opens in &f{time}"
# Bossbar title before an opening whose boss is picked at random.
bossbar-upcoming: "₢f2Boss event &8| &7Opens in &f{time}"
# Session HUD, shown to the members of a fight. Placeholders: {boss} boss display name, {status} phase word,
# {health} boss health in whole percent, {time} clock such as 4:07, {lives} {max} lives, {ability} ability
# display name, {seconds} whole seconds.
hud:
# Bossbar title while the members are still choosing a class.
bossbar-selecting: "₢f2{boss} &8| {status}"
# Bossbar title during the fight; {time} counts down to the end of the fight.
bossbar-fighting: "₢f2{boss} &8| &c{health}% &8| &7{time}"
# Actionbar of a member; {lives} is the lives line below, {abilities} the ability lines below in a row.
actionbar: "{lives}{abilities}"
# The lives part of the actionbar.
lives: "&cLives &f{lives}&7/&f{max}"
# One ability that is ready, added to the actionbar.
ability-ready: " &8| {ability} &aready"
# One ability cooling down, added to the actionbar.
ability-cooldown: " &8| {ability} &e{seconds}s"
# Actionbar of a member who ran out of lives and is watching; {status} is status.member-eliminated.
actionbar-eliminated: "{status} &8| &7Watching the fight"
# Boss teams (pre-fight parties). Placeholders: {player} {leader} {leader_cmd} {seconds} {size} {max}.
team:
# Sent to the leader after inviting {player}; {seconds} is the time left to answer.
invite-sent: "&7Invitation sent to &f{player}&7. It expires in &f{seconds}s&7."
# Sent to the invited player. Keep the <click> and <hover> tags, they power the buttons.
# The typed command at the end is the fallback for clients that cannot click (Bedrock).
invite-received: "&f{leader} &7invited you to a boss team &8(&f{seconds}s&8)&7. <click:run_command:'/bosses team accept {leader_cmd}'><hover:show_text:'&aAccept the invitation'>&a[Accept]</hover></click> <click:run_command:'/bosses team deny {leader_cmd}'><hover:show_text:'&cDecline the invitation'>&c[Deny]</hover></click> &8or type &f/bosses team accept {leader_cmd}"
invite-self: "&cYou cannot invite yourself."
invite-expired-leader: "&7Your invitation to &f{player} &7expired."
invite-expired-target: "&7The invitation from &f{leader} &7expired."
invite-target-left: "&f{player} &7went offline, so the invitation was dropped."
invite-cancelled: "&7The invitation from &f{leader} &7is no longer valid."
already-invited: "&f{player} &calready has a pending invitation from you."
target-in-team: "&f{player} &cis already in a team."
already-in-team: "&cYou are already in a team. Use &f/bosses team leave &cfirst."
not-in-team: "&cYou are not in a team."
not-leader: "&cOnly the team leader can do that."
not-member: "&f{player} &cis not in your team."
team-full: "&cThe team is full (&f{max} &cmembers at most)."
# Refusal for invite, accept, leave and kick while a fight holds the team.
locked: "&cThe team is locked while a fight is in progress."
no-invite: "&cYou have no pending team invitation."
no-invite-from: "&cYou have no pending invitation from &f{leader}&c."
# Header of the reminder sent when several invitations are pending; each one follows as an invite-received line.
multiple-invites: "&7You have several invitations. Answer one of them:"
accepted: "&aYou joined the team of &f{leader}&a."
member-joined: "&f{player} &ajoined the team."
denied-target: "&7You declined the invitation from &f{leader}&7."
denied-leader: "&f{player} &cdeclined your team invitation."
left: "&7You left the team."
disbanded: "&7You left the team and it was disbanded."
member-left: "&f{player} &7left the team."
member-kicked: "&f{player} &7was removed from the team."
kicked-target: "&cYou were removed from the team by &f{leader}&c."
kick-self: "&cYou cannot kick yourself. Use &f/bosses team leave&c."
now-leader: "&aYou are now the team leader."
leader-changed: "&f{player} &7is now the team leader."
# Header of /bosses team list; the member lines below it carry no prefix.
list-header: "&7Your team &8(&f{size}&8/&f{max}&8)&7:"
list-leader: "[noprefix]&8 - &f{player} &8[&6Leader&8]"
list-member: "[noprefix]&8 - &f{player} &8[&7Member&8]"
list-offline: "[noprefix]&8 - &7{player} &8[&cOffline&8]"
# Feedback shared by several commands.
command:
# Sent to the console when a command needs a player.
player-only: "&cThis command can only be used by a player."
# Chat view of /bosses info (presentation.info: chat, and the console).
# Placeholders: {status} window state, {boss} boss display name, {time} duration such as 4m 7s,
# {team} member names, {label} the typed root command.
info:
header: "[noprefix]&8&m----------&r ₢f2&lBoss event &8&m----------"
status: "[noprefix]&7Event: {status}"
boss: "[noprefix]&7Boss: {boss}"
closes-in: "[noprefix]&7Joining closes in &f{time}&7."
# Shown to a player who is not in a fight while a window is open.
join-hint: "[noprefix]&7Type &f/{label} join &7to enter the fight."
# Next scheduled opening whose schedule entry has a single boss.
next-boss: "[noprefix]&7Next event: {boss} &7in &f{time}&7."
# Next scheduled opening whose boss is picked at random.
next: "[noprefix]&7Next event in &f{time}&7."
next-none: "[noprefix]&7No event is scheduled."
team: "[noprefix]&7Team: &f{team}"
# Replies of /bosses admin. Placeholders: {label} the typed root command, {id} boss id, {mob} MythicMobs mob id,
# {player} player name, {boss} boss display name, {world} {x} {y} {z} the point that was set, {count} number.
admin:
start-already-open: "&cA window is already open. Close it with &f/{label} admin stop&c."
start-unknown-boss: "&cNo boss file defines &f{id}&c."
start-mob-missing: "&cThe MythicMobs mob &f{mob} &cof boss &f{id} &cdoes not exist. Fix the boss file or create the mob, then run &f/mm reload&c."
stop-done: "&aThe event window was closed."
stop-none: "&cNo window is open."
# Sent after stop-done while fights are still running; a window closing never ends a fight.
stop-running: "&7{count} fight(s) are still running. List them with &f/{label} admin sessions&7."
setspawn-done: "&aPlayer spawn of {boss} &aset to &f{world} {x} {y} {z}&a. Next: &f/{label} admin setbossspawn {id}"
setbossspawn-done: "&aBoss spawn of {boss} &aset to &f{world} {x} {y} {z}&a. Next: &f/{label} admin setexit &aand &f/{label} admin start {id}"
setexit-done: "&aExit point set to &f{world} {x} {y} {z}&a."
sessions-empty: "&7No boss fights are running."
# Header of /bosses admin sessions; the lines below it carry no prefix.
sessions-header: "&7Running fights &8(&f{count}&8)&7:"
# One running fight. {status} is status.session-selecting or status.session-fighting, {players} the member names,
# {time} the time since the boss appeared.
sessions-line: "[noprefix]&8 - {boss} &8| {status} &8| &f{players} &8| &f{time}"
kick-done: "&aRemoved &f{player} &afrom their fight."
kick-not-in-session: "&f{player} &cis not in a boss fight."
restore-in-session: "&f{player} &cis in a boss fight. Remove them first with &f/{label} admin kick {player}&c."
restore-none: "&f{player} &chas no stored items waiting to be returned."
restore-offline: "&f{player} &cwent offline before the items could be returned. They come back on the next join."
restore-started: "&aReturning the stored items of &f{player}&a."
resetentry-done: "&aThe entry of &f{player} &ain the current window was cleared. They can join again."
resetentry-no-window: "&cNo window is open, so there are no entries to clear."
# Fight restrictions (config.yml restrictions). Holders of snbosses.admin.bypass are exempt.
guard:
# A command outside restrictions.allowed-commands. {command} is the typed command label.
command-blocked: "&cYou cannot use &f/{command} &cduring a boss fight."
# Flying while restrictions.block-flight is on.
flight-blocked: "&cYou cannot fly during a boss fight."
# An ender pearl or chorus fruit teleport while restrictions.block-ender-pearl is on.
teleport-blocked: "&cYou cannot teleport with ender pearls or chorus fruit during a boss fight."
# Boss fights (sessions). Placeholders: {player} player name, {boss} boss display name, {lives} lives,
# {time} clock such as 4:07, {max} team size limit, {size} team size, {classes} classes offered.
session:
# Join refusals, sent to the player who ran /bosses join (the team leader for a team).
window-closed: "&cNo boss event is open right now."
already-in-session: "&cYou are already in a boss fight."
not-leader: "&cOnly your team leader can start the fight."
team-too-large: "&cYour team has more than &f{max} &cplayers."
# Refusal while team.unique-classes is on and the team has more players than the boss offers classes.
team-too-many-for-classes: "&cYour team has &f{size} &cplayers but {boss} &coffers only &f{classes} &cclasses."
member-unavailable: "&f{player} &cmust be online and alive to start the fight."
member-in-session: "&f{player} &cis already in a boss fight."
member-busy: "&f{player} &cis still getting their items back. Try again in a moment."
boss-unavailable: "&cThe boss of this event is not available. Tell an admin."
arena-not-set: "&cThe arena of {boss} &cis not set up yet. Tell an admin."
no-classes: "&cNo class is available for {boss}&c. Tell an admin."
entry-already-entered: "&f{player} &calready fought in this event."
entry-ip-used: "&f{player} &ccannot enter: another account from the same address already fought in this event."
entry-loading: "&eThe event is still loading. Try again in a moment."
# Sent to every member while their inventory is being stored.
starting: "&7Storing your inventory for the fight against {boss}&7..."
# Why the start failed (nobody entered, everyone keeps their items). {player} is the member it failed for.
stash-failed:
busy: "&f{player} &cis still getting their items back. Try again in a moment."
pending-snapshot: "&f{player} &chas items from an earlier fight waiting to be returned. Rejoin to get them back first."
offline: "&f{player} &cleft while the fight was starting."
inventory-changed: "&cThe inventory of &f{player} &cchanged while it was being stored. Try again."
storage: "&cThe inventory of &f{player} &ccould not be stored. Tell an admin."
# A member left during the start; {player} is that member. Nobody entered, everyone keeps their items.
start-cancelled: "&cThe fight did not start: &f{player} &cleft. Everyone keeps their items."
# Sent to each member in the arena, before the class pick.
entered: "&aYou entered the fight against {boss}&a. Lives: &f{lives}&a."
# Sent when every member picked a class and the boss appears; {time} is the time limit.
fight-started: "{boss} &7has appeared! Time limit: &f{time}&7."
# Sent to the members when one of them dies; {lives} is what that member has left.
life-lost: "&f{player} &cdied. &7Lives left: &f{lives}&7."
eliminated: "&f{player} &cis out of lives."
# Sent to an eliminated member who now watches {player}.
spectating: "&7You are out of lives. You are watching &f{player}&7."
# Sent to the other members when {player} leaves, quits or is removed.
member-left: "&f{player} &7left the fight."
not-in-session: "&cYou are not in a boss fight."
# Sent to a member who leaves a running fight.
exit:
left: "&7You left the fight."
kicked: "&cYou were removed from the fight by an admin."
teleported: "&cYou were moved out of the arena, so you left the fight."
eliminated: "&cYou are out of lives and left the fight."
no-class: "&cYou left the fight: no class is available to you."
# Sent to every member when the fight ends. {time} is the fight duration.
end:
win: "&aVictory! {boss} &awas defeated in &f{time}&a."
time-up: "&cTime is up! {boss} &cwas not defeated."
eliminated: "&cEveryone is out of lives. {boss} &cwins this time."
forced: "&cThe fight was ended by an admin."
boss-lost: "&cThe fight was cancelled: {boss} &cleft the arena."
spawn-failed: "&cThe boss could not be spawned. Your entry was given back. Tell an admin."
# Titles at the end of a fight: title;subtitle;fadeIn;stay;fadeOut (ticks).
title-win: "&a&lVICTORY;{boss} &7defeated in &f{time};10;60;20"
title-lose: "&c&lDEFEAT;{boss} &7wins this time;10;60;20"
# Sent when the fight was interrupted by a server stop or plugin reload; the items come back on the next join.
interrupted: "&cThe fight was interrupted. Your items are returned shortly, or when you join again."
# Sent after the inventory of the player was returned.
restored: "&aYour inventory was returned."
# Sent when the inventory could not be returned yet; it stays stored safely and is retried on the next join.
restore-failed: "&cYour inventory could not be returned yet. It is stored safely: rejoin or tell an admin."
# Menus (guis/info.yml, guis/sessions.yml, guis/session-detail.yml). The look of every menu element lives in
# those files; these keys are the messages and text pieces the plugin adds. Placeholders: {boss} boss display name,
# {players} member names.
gui:
# Sent when a menu file is not loaded (deleted or broken): check the console and the guis folder.
unavailable: "&cThat menu is not available. Tell an admin."
# Sent to an admin who clicked a session that already ended.
session-gone: "&cThat fight is no longer running."
# Sent to the admin after the force-end button ended a fight of {players}.
force-ended: "&aEnded the fight against {boss} &aof &f{players}&a. Everyone gets their items back."
# One member line in the lore of a session. {player} name, {lives} lives left, {max} lives at the start,
# {state} is status.member-alive or status.member-eliminated.
member-line: "&8- &f{player} &8[&f{lives}&8/&f{max}&8] {state}"
# Pattern of the {at} placeholder of the info menu, the day and time of the next opening
# (Java DateTimeFormatter letters; an invalid pattern falls back to EEE HH:mm).
at-format: "EEE HH:mm"
mythicmobs/SnBossesClassSkills.yml
# ============================================================
# SnBosses - example class skills (MythicMobs 5)
#
# SnBosses copies this file ONCE into plugins/MythicMobs/skills/ when it is
# absent (config.yml integrations.mythicmobs.install-example-skills). Run
# /mm reload after the first start so MythicMobs loads it.
#
# The classes in plugins/SnBosses/classes/ cast these skills by name with the
# player as the caster. The ?snbossessession condition is registered by
# SnBosses: a target passes only when it belongs to the same fight session as
# the caster, so a skill never touches another session. Keep it on every
# line that damages, heals or buffs other entities.
#
# The file is yours after the copy: edit the numbers, add skills and point a
# class ability at them with the skill: key of classes/<id>.yml.
# ============================================================
# Warrior - Cleave: damages every enemy around the caster.
SnBosses_WarriorCleave:
Skills:
- sound{s=entity.player.attack.sweep;v=1;p=0.8} @Self
- particles{p=sweep_attack;a=6;hs=2;vs=0.3;y=1} @Self
- damage{a=8} @EntitiesInRadius{r=4;targetplayers=false} ?snbossessession
# Warrior - Rally: empowers the caster and the allies around.
SnBosses_WarriorRally:
Skills:
- sound{s=entity.ravager.roar;v=0.8;p=1.2} @Self
- particles{p=flame;a=20;hs=1.5;vs=0.5;y=1} @Self
- potion{type=STRENGTH;duration=160;level=1} @PlayersInRadius{r=8} ?snbossessession
- potion{type=SPEED;duration=160;level=1} @PlayersInRadius{r=8} ?snbossessession
# Archer - Volley: damages every enemy in a cone in front of the caster.
SnBosses_ArcherVolley:
Skills:
- sound{s=entity.arrow.shoot;v=1;p=1.4} @Self
- particles{p=crit;a=30;hs=1;vs=0.3;y=1} @Self
- damage{a=6} @EntitiesInCone{a=50;r=10;targetplayers=false} ?snbossessession
# Archer - Evade: a short burst of speed and jump.
SnBosses_ArcherEvade:
Skills:
- sound{s=entity.bat.takeoff;v=1;p=1.2} @Self
- particles{p=cloud;a=15;hs=0.4;vs=0.2} @Self
- potion{type=SPEED;duration=60;level=2} @Self
- potion{type=JUMP_BOOST;duration=40;level=2} @Self
# Mage - Fireburst: damages and ignites every enemy around the caster.
SnBosses_MageFireburst:
Skills:
- sound{s=entity.blaze.shoot;v=1;p=0.8} @Self
- particles{p=flame;a=40;hs=2;vs=0.6;y=1} @Self
- damage{a=10} @EntitiesInRadius{r=6;targetplayers=false} ?snbossessession
- ignite{t=60} @EntitiesInRadius{r=6;targetplayers=false} ?snbossessession
# Mage - Frost Nova: damages and slows every enemy around the caster.
SnBosses_MageFrostNova:
Skills:
- sound{s=block.glass.break;v=1;p=1.4} @Self
- particles{p=snowflake;a=50;hs=3;vs=0.5;y=1} @Self
- damage{a=4} @EntitiesInRadius{r=6;targetplayers=false} ?snbossessession
- potion{type=SLOWNESS;duration=100;level=2} @EntitiesInRadius{r=6;targetplayers=false} ?snbossessession
# Tank - Bulwark: shields the allies around the caster and hardens the caster.
SnBosses_TankBulwark:
Skills:
- sound{s=item.shield.block;v=1;p=0.8} @Self
- particles{p=cloud;a=25;hs=1.5;vs=0.5;y=1} @Self
- shield{a=8;ms=16} @PlayersInRadius{r=5} ?snbossessession
- potion{type=RESISTANCE;duration=100;level=1} @Self
# Tank - Stomp: damages and knocks back every enemy around the caster.
SnBosses_TankStomp:
Skills:
- sound{s=entity.iron_golem.attack;v=1;p=0.7} @Self
- particles{p=crit;a=40;hs=2.5;vs=0.2} @Self
- damage{a=5} @EntitiesInRadius{r=5;targetplayers=false} ?snbossessession
- throw{v=4;vy=1} @EntitiesInRadius{r=5;targetplayers=false} ?snbossessession
# Healer - Mend: heals the caster and the allies around.
SnBosses_HealerMend:
Skills:
- sound{s=entity.player.levelup;v=1;p=1.5} @Self
- particles{p=heart;a=12;hs=1;vs=0.5;y=1.5} @PlayersInRadius{r=8} ?snbossessession
- heal{a=6} @PlayersInRadius{r=8} ?snbossessession
# Healer - Renew: grants regeneration to the caster and the allies around.
SnBosses_HealerRenew:
Skills:
- sound{s=block.beacon.activate;v=0.8;p=1.6} @Self
- particles{p=heart;a=8;hs=1;vs=0.5;y=1.5} @PlayersInRadius{r=8} ?snbossessession
- potion{type=REGENERATION;duration=160;level=1} @PlayersInRadius{r=8} ?snbossessession
# Healing Flask (every class): heals the caster for 35 percent of their max health.
SnBosses_HealingFlask:
Skills:
- sound{s=entity.generic.drink;v=1;p=1} @Self
- sound{s=entity.player.levelup;v=0.5;p=1.8} @Self
- particles{p=heart;a=10;hs=0.6;vs=0.4;y=1.5} @Self
- particles{p=end_rod;a=14;hs=0.5;vs=0.6;y=1} @Self
- healpercent{m=0.35} @Self
# Exit skill example (exit-skill in classes/<id>.yml): cast with the player as caster every time
# the class is taken off them, to remove what the class skills left behind. The shipped classes
# only use potion effects, which SnBosses removes on its own, so this is commented out. If your
# skills give an aura (aura{auraName=MyClassCharges;...} @Self), remove it here by name:
# SnBosses_ClassCleanup:
# Skills:
# - auraremove{aura=MyClassCharges} @Self