# the language of the plugin's messageslocale:en# enables debug messages, may help with resolving certain problemsdebug:false# is crafting in the arenas allowed?allow-crafting:false# should items be kept when the player dies in the arena?keep-inventory-on-death:false# should player's armor be colored after choosing their team in the lobby?in-lobby-colored-leather-by-team:true# should the entity for joining teams have a visible name?jointeam-entity-show-name:true# are teammates allowed to damage themselves?friendlyfire:false# do items drop from players when killed in the arena?player-drops:true# should the players be joined to a random team after the lobby waiting time passes?# if false, the game won't start until everyone chooses a teamjoin-randomly-after-lobby-timeout:false# should BedWars prevent players from killing the merchants?prevent-killing-villagers:true# should the compass for choosing teams be available in the lobby?compass-enabled:true# should BedWars join the player to a random team when he joins the lobby?join-randomly-on-lobby-join:falseadd-wool-to-inventory-on-join:trueprevent-spawning-mobs:truespawner-holograms:truespawner-disable-merge:trueprevent-lobby-spawn-mobs-in-radius:16spawner-holo-height:0.25spawner-holograms-countdown:truedamage-when-player-is-not-in-arena:falseremove-unused-target-blocks:trueallow-block-falling:truegame-start-items:falseplayer-respawn-items:false# When game-start-items is enabled, the player is going to get all items listed in the following list.# Example:# gived-game-start-items:# - wooden_sword# - leather_helmet# - leather_boots# - leather_leggings# - leather_chestplategived-game-start-items:[]gived-player-respawn-items:[]disable-hunger:falseautomatic-coloring-in-shop:truesell-max-64-per-click-in-shop:trueenable-cheat-command-for-admins:falseshopkeepers-are-silent:truedestroy-placed-blocks-by-explosion-except:[]destroy-placed-blocks-by-explosion:trueholo-above-bed:trueallow-spectator-join:falsedisable-server-message:player-join:falseplayer-leave:falsedisable-flight:truerespawn-cooldown:enabled:truetime:5stop-team-spawners-on-die:falseallow-fake-death:false# Whether or not should 1.19.4 display entities be used or not. Does work only on 1.19.4+prefer-1-19-4-display-entities:trueremember-what-scoreboards-players-had-before:falseuse-chunk-tickets-if-available:truereset-full-spawner-countdown-after-picking:trueplayers-can-win-game-only-after-seconds:0disable-locator-bars-in-arena-worlds:truedisable-opening-stores-of-other-teams:falsekick-players-upon-final-death:enabled:falsedelay:5allowed-commands:[]change-allowed-commands-to-blacklist:falsebungee:enabled:falseserverRestart:trueserverStop:falseserver:hubauto-game-connect:falsekick-when-proxy-too-slow:truerandom-game-selection:enabled:truepreselect-games:falsemotd:enabled:falsewaiting:'%name%:Waitingforplayers[%current%/%max%]'waiting_full:'%name%:Gameisfull[%current%/%max%]'running:'%name%:Gameisrunning[%current%/%max%]'rebuilding:'%name%:Rebuilding...'disabled:'%name%:Gameisdisabled'farmBlocks:enable:falseblocks:[]scoreboard:enable:truetitle:'&a%game%&r-%time%'bedLost:'&c✘'anchorEmpty:'&e✘'bedExists:'&a✔'teamTitle:'%bed%%color%%team%'title:enabled:truefadeIn:0stay:20fadeOut:0shop:rows:4render-actual-rows:6render-offset:9render-header-start:0render-footer-start:45items-on-row:9show-page-numbers:trueinventory-type:CHESTcitizens-enabled:falseallow-execution-of-console-commands:trueitems:jointeam:COMPASSleavegame:SLIME_BALLstartgame:DIAMONDshopback:BARRIERshopcosmetic:GRAY_STAINED_GLASS_PANEpageback:ARROWpageforward:ARROWteam-select:WHITE_WOOLvault:enable:truereward:kill:5win:20final-kill:5bed-destroy:0resources:gold:material:GOLD_INGOTcolor:GOLDname:Goldinterval:20translate:resource_goldspread:1.0iron:material:IRON_INGOTcolor:GRAYname:Ironinterval:10translate:resource_ironspread:1.0bronze:material:BRICKcolor:DARK_REDname:Bronzeinterval:1translate:resource_bronzespread:1.0respawn:protection-enabled:trueprotection-time:10show-messages:truespecials:action-bar-messages:truedont-show-success-messages:falserescue-platform:is-breakable:falsedelay:0break-time:10distance:1material:GLASSprotection-wall:is-breakable:falsedelay:20break-time:0width:5height:3distance:2material:CUT_SANDSTONEtnt-sheep:speed:0.25follow-range:10.0max-target-distance:32explosion-time:8arrow-blocker:protection-time:10delay:5warp-powder:teleport-time:6delay:0magnet-shoes:probability:75golem:speed:0.25follow-range:10health:20name-format:'%teamcolor%%team%Golem'show-name:truedelay:0collidable:falseteamchest:turn-all-enderchests-to-teamchests:truethrowable-fireball:damage:3.0incendiary:truedamage-thrower:trueauto-igniteable-tnt:explosion-time:8damage-placer:truedamage:4.0sounds:bed_destroyed:sound:ENTITY_ENDER_DRAGON_GROWLvolume:1pitch:1my_bed_destroyed:sound:ENTITY_ENDER_DRAGON_GROWLvolume:1pitch:1countdown:sound:UI_BUTTON_CLICKvolume:1pitch:1game_start:sound:ENTITY_PLAYER_LEVELUPvolume:1pitch:1team_kill:sound:ENTITY_PLAYER_LEVELUPvolume:1pitch:1player_kill:sound:ENTITY_PLAYER_BIG_FALLvolume:1pitch:1item_buy:sound:ENTITY_ITEM_PICKUPvolume:1pitch:1upgrade_buy:sound:ENTITY_EXPERIENCE_ORB_PICKUPvolume:1pitch:1respawn_cooldown_wait:sound:UI_BUTTON_CLICKvolume:1pitch:1respawn_cooldown_done:sound:ENTITY_PLAYER_LEVELUPvolume:1pitch:1game-effects:end:effects:-==:Fireworkflicker:falsetrail:falsecolors:-==:ColorRED:255BLUE:255GREEN:255fade-colors:-==:ColorRED:255BLUE:255GREEN:255type:BALLpower:1type:Fireworkstart:{}kill:{}teamkill:{}lobbyjoin:{}lobbyleave:{}respawn:{}beddestroy:{}warppowdertick:{}lobby-scoreboard:enabled:truetitle:'&eBEDWARS'content:-''-'&fMap:&2%arena%'-'&fPlayers:&2%players%&f/&2%maxplayers%'-''-'&fWaiting...'-''statistics:enabled:truetype:yamlshow-on-game-end:falsebed-destroyed-kills:falsescores:kill:10final-kill:0die:0win:50bed-destroy:25lose:0record:100database:host:localhostport:3306db:databaseuser:rootpassword:secrettable-prefix:bw_type:mysqldriver:defaultparams:useSSL:falseserverTimezone:Europe/PragueautoReconnect:truecachePrepStmts:trueprepStmtCacheSize:250prepStmtCacheSqlLimit:2048bossbar:use-xp-bar:falselobby:enable:truecolor:YELLOWstyle:SEGMENTED_20game:enable:truecolor:GREENstyle:SEGMENTED_20# The backend-entity field is present only if the server is running on 1.8.8. Allowed values: wither, dragonbackend-entity:dragon# The allow-via-hooks field is present only if the server is running on 1.8.8. # The plugin tries to hook to ViaVersion API to make colored and segmented bossbars for 1.9+ players. # As the ViaVersion API constantly changes, this may occasionally cause protocol issues.allow-via-hooks:trueholograms:enabled:trueheadline:Your &eBEDWARS&f statsleaderboard:headline:'&6BedwarsLeaderboard'format:'&l%order%.&7%name%-&a%score%'size:10chat:override:trueformat:'<%teamcolor%%name%&r>'separate-chat:lobby:falsegame:falsesend-death-messages-just-in-game:truesend-custom-death-messages:truedefault-team-chat-while-running:trueall-chat-prefix:'@a'team-chat-prefix:'@t'all-chat:'[ALL]'team-chat:'[TEAM]'death-chat:'[DEATH]'disable-all-chat-for-spectators:falserewards:enabled:falseplayer-win:-/example {player} 200player-win-run-immediately:-/example {player} 200player-end-game:-/example {player} {score}player-destroy-bed:-/example {player} {score}player-kill:-/example {player} 10player-final-kill:-/example {player} 10player-game-start:-/example {player} 10player-early-leave:-/example {player} {death} 10team-win:-/example {team} 10player-team-win:-/example {team} {death} 10game-start:-/example Hello World!lore:generate-automatically:truetext:-'&7Price:'-'&7%price%%resource%'-'&7Amount:'-'&7%amount%'sign:lines:-'&c&l[BedWars]'-'%arena%'-'%status%'-'%players%'block-behind:enabled:falsewaiting:ORANGE_STAINED_GLASSrebuilding:BROWN_STAINED_GLASSin-game:GREEN_STAINED_GLASSgame-disabled:RED_STAINED_GLASShotbar:selector:0color:1start:2leave:8breakable:enabled:falseasblacklist:falseexplosions:falseblocks:[]leaveshortcuts:enabled:falselist:-leavemainlobby:enabled:falselocation:''world:''turnOnExperimentalGroovyShop:falsepreventSpectatorFlyingAway:falseremovePurchaseMessages:falseremovePurchaseFailedMessages:falseremoveUpgradeMessages:falsedisableCakeEating:truedisableDragonEggTeleport:truepreventArenaFromGriefing:trueupdate-checker:zero:console:trueadmins:trueone:console:trueadmins:truetarget-block:allow-destroying-with-explosions:falserespawn-anchor:fill-on-start:trueenable-decrease:truesound:charge:BLOCK_RESPAWN_ANCHOR_CHARGEused:BLOCK_GLASS_BREAKdeplete:BLOCK_RESPAWN_ANCHOR_DEPLETEcake:destroy-by-eating:trueevent-hacks:damage:falsedestroy:falseplace:falsetab:enable:falseheader:enabled:truecontents:-'&aMyawesomeBedWarsserver'-'&bMap:%map%'-'&cPlayers:%respawnable%/%max%'footer:enabled:truecontents:-'&eexample.com'-'&fWow!!'-'&a%spectators%arewatchingthismatch'hide-spectators:truehide-foreign-players:falsedefault-permissions:join:trueleave:truestats:truelist:truerejoin:trueautojoin:trueleaderboard:trueparty:true# The following sections requires Parties plugin to be installedparty:enabled:falseautojoin-members:falsenotify-when-warped:true
If you want to switch to emerald, diamond, iron and gold specifically, you may want to have another Hypixel features on your server, like upgrades.
In that case, we would recommend you checking out SBA.
Open the config (plugins/BedWars/config.yml) and scroll down, until you find a section called resources. Using Ctrl+F helps you to search for it.
Here is an example on how to add emerald, diamond, iron and gold.
In config.yml you can find a section called database. Under this section, you can configure the database connection. Currently only MySQL and MariaDB are officially supported, yet the configuration allows you to provide a custom driver for a newer version of the database system or a driver for a different SQL-like database system like PostgreSQL. Pull requests fixing support with different database systems are welcome :)
To enable the database connection, you have to set something to be saved in database. Currently only statistics can be saved to the database. To enable that, locate the statistics section and switch type from yaml to database.
There are following fields in the database section:
host is the hostname or IP address of the database server, defaults to localhost.
port is the port of the database server, defaults to 3306 which is the default port for MySQL/MariaDB.
db is the name of the database, defaults to database
user is the user of the database system with access to database specified db. The user needs to be able to change the structure of the database. Defaults to root, though applications should not have root access.
password is the password of the database user. Defaults to secret, though you should choose better password (possibly generated).
table-prefix is a string which is prepended to table names, defaults to bw_.
type is type of the database system, defaults to mysql (valid for both MySQL and MariaDB when the MySQL driver is used).
driver is the driver, which is going to be used. There are two possible options:
You can set it to default. The driver will be chosen based on the type. Both Spigot and Paper servers provide driver for type mysql. Other plugins may provide other drivers to the classpath.
To use a third-party driver, specify the path, for example mysql-connector-j-8.0.0.jar. The path is always relative to the plugins/BedWars folder, so we recommend putting the jar to this folder. The driver needs to be JDBC 4-compatible. The driver is not available to other plugins, and does not affect them in any way.
params is a map containing specific options for the driver. You should check documentation of the chosen database system before modifying it. By default, following parameters are set:
1234567
params:useSSL:false# change this to true if your database server requires SSL or runs on a different machine and has SSL enabledserverTimezone:Europe/Prague# default value is based on your systemautoReconnect:truecachePrepStmts:trueprepStmtCacheSize:250prepStmtCacheSqlLimit:2048
Driver version
If you use an ancient Minecraft version like 1.8.8, but you have new version of MySQL/MariaDB, the driver bundled in Spigot 1.8.8 may be incompatible. Get a new version of MySQL Connector J here: select Platform Independent, download the archive and extract the mysql-connector-j-8.x.x.jar file from it (other files from the archive are not relevant). Put the JAR file in plugins/BedWars folder, and change driver from default to the name of the file, eg. mysql-connector-j-8.4.0.jar.
stats_players table structure
In specific cases, the automatic creation of the database table may fail. In that case you may need to create it manually, using the following code or its variation.
game-effects:start:type:Particlevalue:LAVA# uppercase key from the list# options below are optionalcount:2# how many particles will be spawned (default - 1)offsetX:1# offset from the event location (default - 0 for each coordinate)offsetY:1offsetZ:1extra:1# extra data, depends on each particle (default - 1)
game-effects:end:type:Fireworkpower:1# power of the fireworkeffects:# list of firework effects-==:Fireworkflicker:falsetrail:falsecolors:# list of colors-==:ColorRED:255BLUE:255GREEN:255fade-colors:-==:ColorRED:255BLUE:255GREEN:255type:BALL# effect type
game-effects:end:type:Listlist:# list of effects-type:Particlevalue:LAVAcount:2extra:1-type:Effectvalue:DOOR_CLOSE# uppercase key from the list-type:Fireworkpower:1# power of the fireworkeffects:# list of firework effects-==:Fireworkflicker:falsetrail:falsecolors:# list of colors-==:ColorRED:255BLUE:255GREEN:255fade-colors:-==:ColorRED:255BLUE:255GREEN:255type:BALL# effect type