Skip to content

Search the store

Find products and categories.

Configuration

The Duels and Scaffold config files on lobby and game servers, and every setting in settings.yml, common-settings.yml and scaffold.yml.

Files

FolderFiles
plugins/DuelsLobby/settings.yml, messages.yml, menus.yml, common-settings.yml, common-messages.yml, common-menus.yml
plugins/DuelsGame/settings.yml, messages.yml, menus.yml, common-settings.yml, common-messages.yml, common-menus.yml
plugins/Scaffold/scaffold.yml, settings.yml, messages.yml, menus.yml
  • settings.yml holds timings, limits and sounds.
  • messages.yml holds every chat line, title and scoreboard line. & codes, hex colours like &#FFAA00 and MiniMessage tags all work. <primary> and <secondary> are the server colours from Kernel. Words in braces are filled in by the plugin, and each message's comment lists the ones it gets.
  • menus.yml holds menu titles, items, slots and the lobby hotbar.
  • The common- files hold text and settings used by both plugins. Each plugin reads its own copy, so change them on the server that runs the feature.

Every file is commented. Saving a file reloads it. Delete a line to get its default back.

Kits, maps, the lobby spawn, ranked settings and tiers are not in these files. They are stored in MongoDB and changed in game.

DuelsLobby settings.yml

KeyDefaultMeaning
queue.casualSoundblock.note_block.chime, volume 0.8, pitch 1.4Played when the casual queue opens.
queue.rankedSoundblock.beacon.power_select, volume 0.8, pitch 0.9Played when the ranked queue opens.
queue.matchFoundSoundminecraft:block.trial_spawner.about_to_spawn_item, volume 100, pitch 0.2Played when a match is found.
queue.matchFoundSoundTicks55How long the match found sound plays before it is cut off, in ticks.
lobby.reviewRequiredPlays100Duels a player must have played before /stasis.
editor.moveLimit1.5Blocks a player may move before the kit editor saves and closes.
editor.doubleSneakMillis1500Time between the two sneaks that leave the creative kit editor.
editor.titleFadeMillis250Fade time of the creative editor title.
editor.titleStayMillis1500How long the creative editor title stays.
editor.kitsMenuSounditem.book.page_turn, volume 0.7, pitch 1.1Played when staff open the kit list.
duel.requestExpiry60Seconds a duel or party duel request stays valid.
party.ffaMin3Fewest online members for Party FFA.
party.ffaMax16Most players in a Party FFA.
party.redRoverMin3Fewest online members for Red Rover.
party.teamFightsMin2Fewest online members for Team Fights.

Lobby sounds have sound, volume and pitch keys and use Minecraft sound keys.

DuelsGame settings.yml

KeyDefaultMeaning
match.endDelay100Ticks the arena stays open after a casual match.
match.rankedEndDelay200Ticks the arena stays open after a ranked match.
match.killCreditSeconds10How long after a hit the attacker still gets the kill.
match.countdownTitleStay900Milliseconds each countdown number stays on screen.
match.countdownTitleFadeOut150Milliseconds each countdown number takes to fade.
match.countdownSoundBLOCK_NOTE_BLOCK_HATPlayed on every second of the countdown.
match.roundStartSoundENTITY_FIREWORK_ROCKET_BLASTPlayed when a round starts.
match.killSoundBLOCK_NOTE_BLOCK_PLING, pitch 3.0Played to a player who gets a kill.
match.winnerBannerTicks100How long the winner hologram stays.
match.victoryEffectTicks80How long the skull and particle shower last.
match.roundScoreTicks50How long the round score stays after a round.
match.outcomeTitleTicks60How long the VICTORY or DEFEAT title plays.
match.deathDropTicks100How long the fake item drops on death stay visible.
match.deathDropItems8Most items shown as fake drops.
match.autoGgDelay2Auto-gg delay in seconds when a player has not picked one.
match.autoGgMaxDelay10Longest auto-gg delay a player may pick.
match.highRankAlertDivisions3Top divisions whose ranked matches are announced. 0 turns it off.
rating.celebrationtruePlays the rank-up animation on promotion.
rating.celebrationDelay25Ticks before the rank-up animation starts.
rating.placementStepSoundBLOCK_NOTE_BLOCK_BITPlayed as the placement bar fills.
rating.placementDoneSoundENTITY_EXPERIENCE_ORB_PICKUPPlayed when the placement bar stops.
rating.placementVolume0.35Volume of both placement sounds.
replay.skipSeconds5How far rewind and forward jump.
spectate.doubleSneakWindow1500Milliseconds for the double sneak that leaves the camera view.

Game sounds use Bukkit sound names. Match sounds have sound, volume and pitch keys; an empty sound plays nothing.

common-settings.yml

KeyDefaultRead byMeaning
review.flagThreshold3.0DuelsGameWeighted guilty votes before a player is flagged to staff.
review.closeVotes7DuelsGameVotes after which a review closes without a flag.
replayRetentionDays30DuelsGameDays a replay is kept.
startingEffectsSoundENTITY_SPLASH_POTION_BREAKDuelsGamePlayed when a kit's starting effects are applied.

Scaffold scaffold.yml

KeyDefaultMeaning
gameServertrueWhether this server hosts games. Keep it true on game and replay servers.
mirrorfalseCross-region 1v1 matches with Mirror. Overridden by the SCAFFOLD_MIRROR environment variable. Needs a restart.

Scaffold settings.yml

KeyDefaultMeaning
game.abandonSeconds60How long a waiting game may stay empty before it closes.
game.fastForwardSeconds10When a game fills up, the countdown drops to this if it is higher.
game.waitingSoundblock.note_block.hatPlayed when the countdown stops because players left.
game.waitingSoundPitch0.5Pitch of waitingSound.
game.fireballCooldownMillis500Time between two fire charge throws by one player.
queue.maxQueues4Queues one player may be in at once.
queue.eloRange10Starting rating search range.
queue.eloRangeLimit2000Largest search range.
queue.eloRangeGrowth1.5How much the range grows each step.
queue.eloRangeIntervalMillis1500How often the range grows.
queue.sendDelayTicks60Delay between a match being found and the players being sent.
party.maxSize30Most members in a party.
party.inviteExpirySeconds300How long a party invite stays valid.
party.disconnectGraceSeconds15How long a member may be offline before removal.
party.createSounditem.goat_horn.sound.1Played when a party is created.
party.disbandSoundblock.anvil.landPlayed when a party is disbanded.

Scaffold sounds use Minecraft sound keys without minecraft:. Leave a sound empty for none.