Skip to content

Default Files

Mantice edited this page Sep 2, 2025 · 1 revision

config.yml

#
#  ░███     ░███  ░████████
#  ░████   ░████  ░██    ░██
#  ░██░██ ░██░██  ░██    ░██
#  ░██ ░████ ░██  ░████████
#  ░██  ░██  ░██  ░██     ░██
#  ░██       ░██  ░██     ░██
#  ░██       ░██  ░█████████
#
#  MythBoard
#  Developed by Mantice
#

#
# Console Logging
#
logging:
  # Send debug messages to console?
  debug-mode: false

lang.yml

#
# MythBoard Message Configuration
#

# The plugin prefix
# Replaces {PREFIX} in any message!
prefix: '<b><aqua>Myth<dark_aqua>Board</b><dark_gray> <b>|<reset>'

admin:
  help:
    - '<b><aqua>Myth<dark_aqua>Board<reset> Commands:'
    - '<dark_gray>|<white> mboard <dark_gray>-<gray> Shows plugin information!'
    - '<dark_gray>|<white> mboard help <dark_gray>-<gray> Shows this information!'
    - '<dark_gray>|<white> mboard reload <dark_gray>-<gray> Reloads all plugin configuration!'
    - '<dark_gray>|<white> mboard view <dark_gray>-<gray> View a specific scoreboard!'
    - '<dark_gray>|<white> mboard reset <dark_gray>-<gray> Show the scoreboard you would normally see!'
  reload: '{PREFIX}<green> Successfully reloaded in <white>{MS}ms<green>!'
  viewing: '{PREFIX}<green> Now viewing the <white>{SCOREBOARD}<green> scoreboard!'
  reset: '{PREFIX}<green> Now viewing your normal scoreboard!'

scoreboard-toggle:
  enabled: '{PREFIX}<gray> Your scoreboard is now <green>enabled<gray>!'
  enabled-other: "{PREFIX}<gray> You <green>enabled<gray> {PLAYER}'s<gray> scoreboard!"
  disabled: '{PREFIX}<gray> Your scoreboard is now <red>disabled<gray>!'
  disabled-other: "{PREFIX}<gray> You <red>disabled<gray> {PLAYER}'s<gray> scoreboard!"

errors:
  no-permission: '{PREFIX}<red> No permission!'
  select-scoreboard: '{PREFIX}<red> Select a scoreboard to view!'
  invalid-scoreboard: '{PREFIX}<white> {SCOREBOARD}<red> is an invalid scoreboard!'
  select-player: '{PREFIX}<red> Select a player!'
  invalid-player: '{PREFIX}<white> {PLAYER} <red>is an invalid player!'

scoreboards/example.yml

#
#  Scoreboard Example
#

#
#  Disable any scoreboard file without deleting it,
#  by prefixing it with _
#

# Higher priority -> shows first
priority: 1

# What's required in order to see this scoreboard
criteria:
  - type: PERMISSION
    permission: 'scoreboard.default'
    default: true

#
# The first line is always the title!
#
# Interval (optional)
# How fast each frame will change (in ticks)!
# Defaults to 1, cannot go below 1!
#
# Delay (optional)
# How long to wait on the first frame before beginning
# to cycle through (in ticks), cannot go below 0 ticks!
# Defaults to 0, cannot go below 0!
#
# Add blank lines by setting frames to [] (an empty list), or "" (an empty string)
#
# Make any single frame line dynamic by starting it with 'd|'
# Dynamic lines will automatically update any PlaceholderAPI placeholders or variables!
#
lines:
  - frames: '<b><aqua>Myth<dark_aqua>Board'
  - frames: []
  - frames: 'Hello %player_name%!'
  - frames:
      - '<white>Check this out!'
      - '<gray>Check this out!'
      - '<dark_gray>Check this out!'
      - '<gray>Check this out!'
    interval: 20
    delay: 1
  - frames: []

scoreboards/example-join.yml

#
#  Join Scoreboard Example
#

# Ensure the priority is higher than the main board they usually see!
priority: 2

#
# The EVENT criteria here is saying this board will only
# be shown to a player for 6 seconds after they join!
#
criteria:
  - type: EVENT
    event: 'org.bukkit.event.player.PlayerJoinEvent'
    event-player: 'getPlayer'
    stay-seconds: 6

lines:
  - frames: '<b><aqua>Myth<dark_aqua>Board'
  - frames: []
  - frames: 'Hello %player_name%!'
  - frames: '<gray>You''re seeing the'
  - frames: '<gray>welcome board!'
  - frames: []
  - frames: 'Welcome!'
  - frames: []

scoreboards/example-combat.yml

#
#  Combat Scoreboard Example
#

# Ensure the priority is higher than the main board they usually see!
priority: 2

#
# This EVENT criteria will trigger on the EntityDamageByEntity event,
# and will stay for 5 seconds!
#
criteria:
  - type: EVENT
    event: 'org.bukkit.event.entity.EntityDamageByEntityEvent'
    # The event-player here allows you to check for many different methods
    # In this specific instance, this means the board will be shown to the player
    # if they hit an entity, or get hit by an entity!
    # More specifically, if they are the damager, or the entity (one getting damaged)!
    event-player: 'getDamager|getEntity'
    stay-seconds: 5

lines:
  - frames: '<b><red>COMBAT'
  - frames: "<reset>                              "
  # These frames are dynamic, so they can update in real time as they fight!
  # You can get different values from the event by using these variables!
  # {event.<eventName>.<method>}
  # You can have a fallback value in case the method doesn't return something!
  # {event.<eventName>.<method>:fallback>
  - frames: 'd| <b>{event.EntityDamageByEntityEvent.getDamager.getName:%player_name%}</b>:'
  - frames: 'd| <dark_gray>▪ <red><b>🖤</b><white>{event.EntityDamageByEntityEvent.getDamager.getHealth:0}'
  - frames: 'd| <dark_gray>▪ <dark_red>🗡<white>{event.EntityDamageByEntityEvent.getDamage:0}'
  - frames: []
  - frames: 'd| <b>{event.EntityDamageByEntityEvent.getEntity.getName:N/A}</b>:'
    # The fallback in this frame is 0 in case the values reset before the board disappears!
  - frames: 'd| <dark_gray>▪ <red><b>🖤</b><white>{event.EntityDamageByEntityEvent.getEntity.getHealth:0}'
  - frames: []

Clone this wiki locally