config.yml

# === General plugin settings ===
#
# Discord: https://discord.gg/CQ9BfSKjy8
# Wiki: https://funcybear.com/wiki/wikihome.php?project=ice-boat-racing-minigame
#
# ─────────────────────────────────────────────────────────────
# Discord bridge
# ─────────────────────────────────────────────────────────────
discord:
  enabled: true              # Set to false to disable Discord webhook messages
  webhook: "https://discord.com/api/webhooks/1393397004842832026/sN0PiJHIWOHp7iSXB-XiLTJkdflptt-EwdMdrvynNc-bg1IKKN-ch7P1aswFr-AgLbGS" # <- Check Wiki for set up tutorial
  timezone: "GMT+1"

# ─────────────────────────────────────────────────────────────
# Countdown Settings:
# ─────────────────────────────────────────────────────────────
countdown-timer:
  lobbytimer: 10
  racetimer: 5
  announce-race-start: true

Race-lobby-Sound:
  RaceLobbyCountdown: BLOCK_NOTE_BLOCK_HAT
  RaceStart: ENTITY_PLAYER_LEVELUP

# ─────────────────────────────────────────────────────────────
# Race Settings:
# ─────────────────────────────────────────────────────────────

Boat-mode: true  # false = minecart, true = boat

shorterned-names: false # Make Names shorter in scorceboard (showing only their first 3 letters)
public-announcements: false # make win results server wide

leave-item: false

# Scoreboard Race Settings

scoreboard:
  title: "&6&lRace Progress"
  shortened-names: false

  order:
    - FINISHED
    - RACING
    - DISCONNECTED

  colors:
    FINISHED: "&a"        # Green
    RACING: "&e"          # Yellow
    DISCONNECTED: "&8"    # Dark gray

  prefix:
    format: "{color}{position}. &r {name}"

    highlight-self: "&b» &r{prefix}"

  suffix:
    leader: "&7(&f{time}&7)"

    finished: "&8+ &a{gap}"
    racing: "&8+ &a{gap} &7| &eL&f{lap}&7/&f{laps} &7| &bCP&f{cp}&7/&f{cp_total}"

    disconnected: "&8• &7Disconnected"

    before-leader:
      racing: "&7Lap &e{lap}&7/&f{laps} &8| &7CP &b{cp}&7/&f{cp_total}"
      finished: "&aFinished"
      disconnected: "&8Disconnected"


music:
  enabled: false # If true, YOU MUST DOWNLOAD NOTEBLOCKAPI PLUGIN LINK: https://www.spigotmc.org/resources/noteblockapi.19287/


# ─────────────────────────────────────────────────────────────
# Server Improvements:
# ─────────────────────────────────────────────────────────────

performance:
  event-throttle-ms: 100       # Checks players 10 times/second
  particle-interval-ms: 150    # Particles spawn ~6 times/second
  async-processing: true       # Messages sent in background (less lag)
  region-cache-ticks: 5        # Remembers checkpoint/start/finish checks for 0.25 seconds
  max-particles: 2             # Shows 2 particles at a time

# It is RECOMMENDED TO extend your regions for laggier servers for better server registration

update-notifier-message: true # Gives a notification to admins when a new upadte is detected

# ─────────────────────────────────────────────────────────────
# mySQL Database Settings:
# ─────────────────────────────────────────────────────────────
storage:
  type: yaml   # yaml | mysql

mysql: # Ignore this part if you're using yaml; Support for database connection is not supported due to privacy & complexity reasons
  host: 127.0.0.1
  port: 3306
  database: my_server
  username: root
  password: password
  useSSL: false
  connectionTimeoutMs: 8000
  forceYamlSyncOnStartup: true
Advertisement
Advertisement