Cloud
Discord
  • Welcome!
  • Getting Started
    • Installation
  • Core
    • Features
    • Commands
    • Placeholders
  • Configuration
    • Main
    • Messages
    • Menus
  • api
    • Getting Started
    • Accessing
Powered by GitBook
On this page

Was this helpful?

  1. Configuration

Main

config.yml
# Welcome to Cloud's configuration file!
#
# If you encounter any bugs, please report them on our Discord server.
# For questions, check the documentation at https://cloud.xyrisdev.com/.
# If you still need help, feel free to ask in our Discord: https://xyrisdev.com/discord/.
#
# Happy configuring!

# Storage Type to save all the important data, such as player data, statistics, etc.
storage:
  type: SQLite  # Options: SQLite, MySQL
  auto_save_interval: 10 # Cloud will auto save the data to the database every 10 minutes.
  sqlite:
    path: "plugins/Cloud/database.db"
  mysql:
    host: "localhost"
    port: "3306"
    database: "cloud"
    username: "root"
    password: ""
    ssl: false
    pool_size: 10

lobby:
  teleport_on_join: true # If enabled, players will be teleported to the lobby when they join.

duel:
  settings:
    request_expiration: 60000  # A duel request will expire in 60000 milliseconds (60 seconds).
    dispose_time: 5000  # Cloud will wait 5000 milliseconds (5 seconds) before the arena is disposed, and players are teleported back to the lobby.
    drop_inventory: true  # If enabled, the loser will create an inventory drop type effect when the duel is completed.
    arena_exit: true # If enabled, players who leave the arena region will be teleported back to the spawn point.
    arena_exit_task_interval: 2000 # Every 2000 milliseconds (2 seconds) cloud will get all the players outside the arenas and teleport them back.
    teleport_async: true # If enabled, players will be teleported asynchronously to the duel.
    spectator_on_round_end: false # If enabled, the loser will be set to spectator mode on round end.
    scoreboard_update_interval: 20 # Cloud will update the scoreboard every 20 ticks.

    commands:
      mode: BLACKLIST  # Can be BLACKLIST or WHITELIST
      whitelist_commands: [] # Commands allowed in a duel (only used if mode is WHITELIST)
      blacklist_commands: # Commands blocked in a duel (only used if mode is BLACKLIST)
        - spawn

    firework:
      enabled: true # If enabled, a firework effect will be spawned when the duel is ended.
      power: 0
      colors:
        - RED
        - WHITE
      type: BALL
      trail: true
      detonation_delay: 2 # The delay in ticks before the firework is detonated.

    custom_inventory:
      loot_period: 120000 # Cloud will wait 120000 milliseconds (2 minutes) before the arena is disposed to let the winner loot.
      let_loser_wait: false # If enabled, the loser will not be teleported to the lobby and still be in the duel until the loot_period is over but they can still /exit to force leave.

    countdown:
      time: 5  # Duration in seconds
      messages:
        5:
          title: "<#9AABBD>5"
          subtitle: " "
          action_bar: "<none>"
          message: "<none>"
        4:
          title: "<#9AABBD>4"
          subtitle: " "
          action_bar: "<none>"
          message: "<none>"
        3:
          title: "<#9AABBD>3"
          subtitle: " "
          action_bar: "<none>"
          message: "<none>"
        2:
          title: "<#9AABBD>2"
          subtitle: " "
          action_bar: "<none>"
          message: "<none>"
        1:
          title: "<#9AABBD>1"
          subtitle: " "
          action_bar: "<none>"
          message: "<none>"
        0:
          title: "<#9AABBD>Go!"
          subtitle: " "
          action_bar: "<none>"
          message: "<none>"
    times:
      fade_in: 200  # Duration in milliseconds
      stay: 1000  # Duration in milliseconds
      fade_out: 200  # Duration in milliseconds
    sound:
      enabled: true
      key: "block.note_block.bell"
      source: "BLOCK"

spectator:
  type: modern # Options: modern, legacy. "modern" sets the player to Adventure mode, while "legacy" sets them to Spectator mode.

queue:
  ping_offset: 50 # The maximum allowed ping difference between players when using ping-based matchmaking.

custom_nametags:
  enabled: true
  red_prefix: "<smallcap>red</smallcap>"
  blue_prefix: "<smallcap>blue</smallcap>"
  format: "<gray>[<team_color><team_prefix><gray>] "

spectator_hotbar:
  enabled: true
  leave:
    material: red dye
    name: "<red>Leave"
    slots: [ 8 ]
    lore:
      - "<gray>Click to leave spectating."

configuration_version: 7 # Do not modify this value.

PreviousConfigurationNextMessages

Last updated 1 month ago

Was this helpful?