πŸ“œConfiguration

Lobby Side

Configuration File

Server names must be consistent: you need a general prefix like "bedwars" and a distinction between lobby servers and match servers. Example: - bedwars-lobby-1 - bedwars-lobby-2 - bedwars-instance-1 - bedwars-instance-2

config.yml
pixel:
  leader: true
  server-prefix:
    generic: "bedwars-"
    lobby: "bedwars-lobby-"
    instance: "bedwars-instance-"
  servers:
    dynamically-start: false
    max-servers: 1
  matches:
    per-server: 30
    warning-percentage: 60

pixel.leader when there are multiple lobbies activate it only in one of them. pixel.server-prefix.generic generic server mode prefix. Example "bedwars" pixel.server-prefix.lobby lobby server prefix pixel.server-prefix.instance instance server prefix pixel.servers.dynamically-start enable if you are using Cerebrum pixel.servers.max-servers maximum number of match servers (when using cerebrum) pixel.matches.per-server maximum number of matches per server pixel.matches.warning-percentage percentage of matches (-> servers) occupied to start other servers (when using cerebrum)

permissions:
  map-limit:
    - bedwars.map.unlimited
    - bedwars.map.4
    - bedwars.map.2
    - bedwars.map.1

Defines permissions for the number of daily map choices

Add a configured Arena

The configured arena files need to be inserted into the "arenas" folder. Based on the type, insert the file in the respective folder ("solo" -> "1", "duo" -> "2", "trio" -> "3", "squad" -> "4").

Arena

Placeholders

type: [ solo, doubles, trio, squad ]

%bw_online_<type>% -> return the online players for that specified type

Statistics: [ bed, kill, final_kill, death, final_death, lose, win, win_streak ] Period: [ daily, weekly, alltime ] Positions: [ 1..10 ]

%bw_board_<statistic>_<period>_<position>%

Statistics: [ bed, kill, final_kill, death, final_death, lose, win, win_streak, total_played, kd_ratio ] Scope: [ solo, doubles, trio, squad, global -> empty (bw_<statistic>) ]

%bw_<scope>_<statistic>% -> return the player's statistic

Leaderboards

an example of a leaderboard with DecentHolograms

top_wins.yml
location: world:20.5:67.4:-26.2 #Modify the coords
enabled: true
display-range: 48
update-range: 48
update-interval: 40
facing: 0.0
down-origin: false
pages:
- lines:
  - content: '&d&lWins'
    height: 0.3
  - content: ''
    height: 0.3
  - content: '&e1. &b%bw_board_wins_alltime_1%'
    height: 0.3
  - content: '&e2. &b%bw_board_wins_alltime_2%'
    height: 0.3
  - content: '&e3. &b%bw_board_wins_alltime_3%'
    height: 0.3
  - content: '&e4. &b%bw_board_wins_alltime_4%'
    height: 0.3
  - content: '&e5. &b%bw_board_wins_alltime_5%'
    height: 0.3
  - content: '&e6. &b%bw_board_wins_alltime_6%'
    height: 0.3
  - content: '&e7. &b%bw_board_wins_alltime_7%'
    height: 0.3
  - content: '&e8. &b%bw_board_wins_alltime_8%'
    height: 0.3
  - content: '&e9. &b%bw_board_wins_alltime_9%'
    height: 0.3
  - content: '&e10. &b%bw_board_wins_alltime_10%'
    height: 0.3
  - content: '&7'
    height: 0.3
  - content: '&6&lClick Here'
    height: 0.3
  - content: '&7Daily - Weekly - &a&lLifetime'
    height: 0.3
  actions:
    RIGHT:
    - NEXT_PAGE:top_wins
- lines:
  - content: '&d&lDaily Wins'
    height: 0.3
  - content: ''
    height: 0.3
  - content: '&e1. &b%bw_board_wins_daily_1%'
    height: 0.3
  - content: '&e2. &b%bw_board_wins_daily_2%'
    height: 0.3
  - content: '&e3. &b%bw_board_wins_daily_3%'
    height: 0.3
  - content: '&e4. &b%bw_board_wins_daily_4%'
    height: 0.3
  - content: '&e5. &b%bw_board_wins_daily_5%'
    height: 0.3
  - content: '&e6. &b%bw_board_wins_daily_6%'
    height: 0.3
  - content: '&e7. &b%bw_board_wins_daily_7%'
    height: 0.3
  - content: '&e8. &b%bw_board_wins_daily_8%'
    height: 0.3
  - content: '&e9. &b%bw_board_wins_daily_9%'
    height: 0.3
  - content: '&e10. &b%bw_board_wins_daily_10%'
    height: 0.3
  - content: '&7'
    height: 0.3
  - content: '&6&lClick Here'
    height: 0.3
  - content: '&a&lDaily &7- Weekly - Lifetime'
    height: 0.3
  actions:
    RIGHT:
    - NEXT_PAGE:top_wins
- lines:
  - content: '&d&lWeekly Wins'
    height: 0.3
  - content: ''
    height: 0.3
  - content: '&e1. &b%bw_board_wins_weekly_1%'
    height: 0.3
  - content: '&e2. &b%bw_board_wins_weekly_2%'
    height: 0.3
  - content: '&e3. &b%bw_board_wins_weekly_3%'
    height: 0.3
  - content: '&e4. &b%bw_board_wins_weekly_4%'
    height: 0.3
  - content: '&e5. &b%bw_board_wins_weekly_5%'
    height: 0.3
  - content: '&e6. &b%bw_board_wins_weekly_6%'
    height: 0.3
  - content: '&e7. &b%bw_board_wins_weekly_7%'
    height: 0.3
  - content: '&e8. &b%bw_board_wins_weekly_8%'
    height: 0.3
  - content: '&e9. &b%bw_board_wins_weekly_9%'
    height: 0.3
  - content: '&e10. &b%bw_board_wins_weekly_10%'
    height: 0.3
  - content: '&7'
    height: 0.3
  - content: '&6&lClick Here'
    height: 0.3
  - content: '&7Daily - &a&lWeekly &7- Lifetime'
    height: 0.3
  actions:
    RIGHT:
    - PAGE:top_wins:1

Instance Side

Check that the "server.id" property in the BasementLib config is correctly configured.

Files:

  • config.yml -> Main configurations

  • language.yml -> Files for translations

  • shop2.yml -> Villager Shop (Solo and Duo)

  • shop4.yml -> Villager Shop (Trio and Squad)

  • upgrades2.yml -> Upgrades Shop (Solo and Duo)

  • upgrades4.yml -> Upgrades Shop (Trio and Squad)

Configuration File

config.yml
pixel:
  server-prefix:
    lobby: "bedwars-lobby-"

game-events:
  GAME_START_REGULAR: 40
  NEXT_EVENT_BEDS_DESTROY: 300
  NEXT_EVENT_DRAGON_SPAWN: 300
  NEXT_EVENT_GAME_END: 120

xp:
  final-kill:
    enabled: true
    amount: 30
    name: "Final Kill"
  victory:
    enabled: true
    amount: 100
    name: "Victory"
  bed-destroy:
    enabled: true
    amount-2: 20
    amount-4: 40
    name: "Bed Destroyed"

generators:
  types:
    SLOW:
      IRON_DELAY: 20
      GOLD_DELAY: 60
    NORMAL:
      IRON_DELAY: 10
      GOLD_DELAY: 40
    FAST:
      IRON_DELAY: 5
      GOLD_DELAY: 20
    TURBO:
      IRON_DELAY: 2
      GOLD_DELAY: 10
  IRON_AMOUNT: 1
  IRON_SPAWN_LIMIT: 30
  GOLD_AMOUNT: 1
  GOLD_SPAWN_LIMIT: 7
  DIAMOND_TIERI_DELAY: 300
  DIAMOND_TIERI_SPAWN_LIMIT: 2
  DIAMOND_TIERII_DELAY: 200
  DIAMOND_TIERII_SPAWN_LIMIT: 4
  DIAMOND_TIERII_START: 180
  DIAMOND_TIERIII_DELAY: 150
  DIAMOND_TIERIII_SPAWN_LIMIT: 6
  DIAMOND_TIERIII_START: 540
  EMERALD_TIERI_DELAY: 700
  EMERALD_TIERI_SPAWN_LIMIT: 2
  EMERALD_TIERII_DELAY: 500
  EMERALD_TIERII_SPAWN_LIMIT: 4
  EMERALD_TIERII_START: 360
  EMERALD_TIERIII_DELAY: 300
  EMERALD_TIERIII_SPAWN_LIMIT: 4
  EMERALD_TIERIII_START: 720

pixel.server-prefix.lobby The generic prefix for all lobbies: following the example above -> bedwars-instance-

World Maps

UltimateBedwars is compatible with SlimeWorldManager, a plugin that greatly optimizes world management. In this case you will only need to have the <world_name>.slime file uploaded to MongoDB.

File name in lower case and consistent with the file name of its configuration in the lobby.

Map worlds must be created in each server instance.

Inside the plugin folder there is a "maps" folder. Inside "maps" insert all the world folders. The name of the folder must match that of the respective configuration file inserted in the lobby, only that here the world folder must be in lower case.

Last updated