πŸ“ƒ
Wiki
  • πŸŒ‹Plugins
  • Overview
    • πŸ’‘High Quality Products
  • products
    • πŸ›οΈUltimateBedwars
      • ✨Features
      • πŸͺΆInstallation
      • πŸ“œConfiguration
      • πŸ›οΈArena
      • πŸ–±οΈCommand & Permissions
      • πŸŽ‰Party
      • πŸ–₯️For Developers
    • 🌡UltimateOneBlock
      • ✨Features
      • πŸͺΆInstallation
      • πŸ“œConfiguration
      • πŸ•‘Phase
      • πŸ§žβ€β™‚οΈGenerators
      • πŸ–±οΈCommand & Permissions
      • πŸ–₯️For Developers
    • ⛏️UltimateGuilds
      • ✨Features
      • πŸͺΆInstallation
      • πŸ“œConfiguration
      • πŸ–±οΈCommand & Permissions
      • πŸ–₯️For Developers
    • πŸ“œPlayerDataHistory
      • ✨Features
      • πŸͺΆInstallation
      • πŸ“œConfiguration
      • πŸ•ΈοΈWeb Panel
      • πŸ–±οΈCommand & Permissions
    • βš”οΈUltimateTournament
      • ✨Features
      • πŸͺΆInstallation
      • πŸ’‘Placeholders
      • πŸ“œConfiguration
      • 🀺Tournament
      • πŸ–±οΈCommand & Permissions
    • 🏒BasementLib
      • ✨Features
      • πŸ“œConfiguration
    • πŸ“‘Minedock
      • ✨Features
      • πŸͺΆInstallation
      • πŸ“œConfiguration
      • πŸ–₯️For Developers
    • πŸŽ’UltimateMatchmaking
      • ✨Features
Powered by GitBook
On this page
  • Lobby Side
  • Configuration File
  • Add a configured Arena
  • Placeholders
  • Leaderboards
  • Instance Side
  • Configuration File
  • World Maps
  • Proxy Side

Was this helpful?

  1. products
  2. UltimateBedwars

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, kills, finalkills, death, finaldeaths, losses, wins, winstreak ] Period: [ daily, weekly, alltime ] Positions: [ 1..10 ]

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

Statistics: [ bed, kills, finalkills, death, finaldeaths, losses, wins, winstreak, 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

  • sounds.yml -> Customize Sounds

  • 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.


Proxy Side

mysql.json
{
  "host": "localhost",
  "username": "root",
  "password": "",
  "database": "minecraft",
  "minPoolSize": 5,
  "maxPoolSize": 5
}
redis.json
{
  "hosts": [
    "localhost"
  ],
  "username": "",
  "password": "",
  "database": 0,
  "nettyThreads": 32,
  "threads": 16
}

Party configuration avaible in all server.

party.json
{
  "prefix": "&d&lParty &8&lβ€Ί &7",
  "commands": {
    "main": "party",
    "aliases": ["p"],
  },
  "errors": {
    "no-permission": "You do not have permission to execute this command.",
    "player-not-found": "Player not found",
    "already-in-party": "You are already in a party.",
    "not-in-party": "You must be in a party to execute this command!",
    "player-in-party": "This player is already in a party.",
    "player-not-in-party": "This player is not in a party.",
    "player-not-leader": "You are not the leader of the party.",
    "party-full": "The party is full.",
    "player-cannot-himself": "You cannot perform this action on yourself."
  },
  "invite": {
    "revoked": "&b{player} &7has revoked the invite of &a{invited}",
    "sent": "&b{player} &7has invited &a{invited} &7to the party.",
    "player-notify": "&b{player} &7has invited you to the party &a(Click Here)",
    "description": "&8&lβ€Ί &b/party invite <player> &eInvite a player."
  },
  "join": {
    "player-not-invited": "You have not been invited to the party.",
    "success": "&b{player} &7has joined the party",
    "success-notify": "&7You have joined the party of &a{leader}&7.",
    "description": "&8&lβ€Ί &b/party join <player> &eJoin another user's party."
  },
  "leave": {
    "success": "&b{player} &7has left the party",
    "success-notify": "&7You have left the party",
    "description": "&8&lβ€Ί &b/party leave &eLeave the party."
  },
  "kick": {
    "success": "&b{player} &7has kicked &b{target}",
    "success-notify": "You have been kicked from the party",
    "description": "&8&lβ€Ί &b/party kick <player> &eKick a player from the party."
  },
  "list": {
    "leader-line": "&7Leader: &a{leader} &7(&e{memberCount}&7)",
    "member-line": "&7Members: &b{members}",
    "member-joiner": "&7, &b",
    "description": "&8&lβ€Ί &b/party list &eView players in the party."
  },
  "leader": {
    "success": "&b{player}&7 has appointed &a{leader} as the leader.",
    "description": "&8&lβ€Ί &b/party leader <player> &eChange the leader."
  },
  "open": {
    "open": "Party opened!",
    "close": "Party closed!",
    "description": "&8&lβ€Ί &b/party open &eMake the party public."
  },
  "disband": {
    "success": "&cYour party has been disbanded"
  },
  "help": {
    "header": "&8&m-------------------&a&l PARTY &8&m-------------------",
    "footer": "&8&m---------------------------------------------"
  }
}

PreviousInstallationNextArena

Last updated 2 months ago

Was this helpful?

See

πŸ›οΈ
πŸ“œ
Config
Following the example of the already configured arena.
Inside the folder there are directly the world files