BotManualTHE COMMUNITY PLAYBOOK
English

Set up an arena with clear turns and stakes

An admin workshop for Duel Arena: a worked setup, settings explained, day-to-day operation and a complete verification checklist.

9 min read

WHAT YOU WILL BUILD

An accepted duel with tested turn timing, escrow and rating behavior.

Follow the steps, try the example and use the checklist before opening it to your community.

On this page

Your mission

An accepted duel with tested turn timing, escrow and rating behavior. This workshop uses a small first rollout so you can see the complete result before opening it to the whole community. The example is a starting recipe; keep your server's own rules and audience in mind when choosing the final values.

Step 1: Prepare your server

Open your server dashboard and select the correct server, then open Duel Arena. Enable the feature before running the example. Choose the arena channel and start with no stake or a very small virtual stake. Set challenge expiry, turn time and fighter health.

Read Roles and permissions if a destination or role cannot be selected. For channel-based actions, check permissions in the actual channel, including its category overrides. For automatic role changes, the bot needs Manage Roles and a position above the role it will assign. Only grant the permissions needed by your chosen workflow.

Step 2: Build your first working example

1. Choose competition rules

Configure stake cap, arena fee, gear bonuses, rating movement and rated matches per pair. Repeated matches can continue without all of them affecting rating.

2. Play a complete duel

Challenge, accept and alternate attack, guard and special actions. Inspect a turn timeout separately from a declined or expired challenge, then compare the final payout and rating.

After changing the server-wide settings, use Save changes. An item editor, draft, preview or test action is a separate part of the workflow: read its save or publish action before expecting a public Discord post. Reopen the saved item to confirm the destination, access rules and values you intended.

Step 3: Understand the settings

Initial values below describe a new configuration. Your server may already have different saved values. A field with no initial value is chosen in its editor. Optional sections can stay inactive until the basic setup works. Empty and zero do not have one universal meaning; use the explanation for that specific field.

General

SettingInitial valueWhat it changes and how to use it
Arena channelNot setDuels can only start here. Season results post here. Duels can only be issued here (empty = any channel); season results post here.
Time to accept3A challenge nobody answers expires and the stake goes back. 1–30; whole numbers.
Turn time60A member who lets it run out forfeits. 15–300; whole numbers.
Starting HP100Both fighters start with this. 50–500; whole numbers.
Panel colour#FF8A3DAppearance of this part of the card or interface. A color change does not change eligibility or permissions.

Stakes

SettingInitial valueWhat it changes and how to use it
Stakes → Allow stakesOnBoth members put in the same amount. The winner takes the pot.
Stakes → Highest stake10,000Per member. 0 = no cap. 0–1000000000; whole numbers.
Stakes → Arena fee0Taken from the pot and removed from the economy. 0–50; whole numbers.

Rating

SettingInitial valueWhat it changes and how to use it
Rating swing32Higher values move ratings faster. 8–64; whole numbers.
Rating → Rated duels per pair3Per 24 hours. Later duels still count as wins and losses but don’t move ratings. 1–50; whole numbers.

Gear

SettingInitial valueWhat it changes and how to use it
Gear counts in duelsOffOff keeps duels even. On uses each fighter’s best owned item, read when the duel is accepted.
Gear → Highest attack bonus25Set gear · max attack bonus within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–500; whole numbers.
Gear → Highest crit bonus (points)15Set gear · max crit bonus within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–100; whole numbers.
Gear → Highest crit damage bonus (%)50Cap, crit damage points (only the new item stat uses it). 0–1000; whole numbers.

Season

SettingInitial valueWhat it changes and how to use it
Season length30A season ends on its own after this long. 0–365; whole numbers.
Season → Post season resultsOnNeeds an arena channel below.

Test the whole journey

  1. Accept a practice challenge and verify stake reservation and the first turn.
  1. Finish the duel and inspect winner payout, fee and rating change.
  1. Repeat the relevant member action with an ordinary member account and the staff action with your intended staff role. An administrator test alone can hide permission restrictions. Check both the response in Discord and the saved record or result in the dashboard.
  1. Change one setting that affects the result, save it, and repeat the same test. Record the previous value so you can restore it if the new behavior is not what you wanted.

Follow the complete workflow

1. Turn on Duel Arena

Open your server dashboard, choose your server and turn on Duel Arena in the Engagement section. Stakes need the Bank.

2. Set the rules

Choose the channel, HP, challenge and turn times, stakes and the arena fee, gear, and how long a season lasts.

3. Challenge someone

/duel challenge posts a panel with Accept and Decline. Your stake goes into escrow right away, and your opponent’s on accept. A coin toss picks who moves first.

4. Fight and climb

Pick a move each turn until someone hits 0 HP. /duel rating and /duel top show where you stand this season.

Operation and behavior in detail

A fair fight, turn by turn

Attack deals 10 to 18 damage and hits 90% of the time. Guard stops 60% of the next hit and lasts until the opponent’s next move. Special costs 3 energy, deals 22 to 34 damage, hits 70% of the time and goes through most of a guard. Crits deal 150% damage. Every roll comes from the duel’s stored seed, and a duel freezes its rules when issued, so nothing changes mid-fight.

Stakes are virtual Bank coins, and duels without one work the same way. Staked duels can’t be played in servers that sell coins for real money: live ones are cancelled and refunded, while duels without a stake carry on. Forfeits and timeouts are rated, draws don’t change ratings, and a season can end by date or when staff end it. There are no plan limits, each member fights one live duel at a time, and Flows can react to challenges, results and season ends.

  • /duel challenge: call out a member, with or without a stake
  • /duel rating, /duel top: a rating and the season standings
  • /duel forfeit: give up a fight, or withdraw or decline a challenge

Diagnose actual bot responses

Use the response to identify the failing stage before changing settings. The messages below are referenced by this feature’s current handlers. Values in square brackets represent the member, amount, time or other live detail supplied in Discord; they are not text to enter. Different actions can use different guards, so this list is a diagnostic reference, not a claim that every message appears in every workflow.

Response or conditionAdmin investigation and next step
This duel doesn’t exist any more.Locate the referenced item, channel, member or record in this server. Correct a deleted destination or stale selection instead of creating unrelated replacements.
Only the challenged member can accept.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
You are not in a duel.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
You can’t duel a bot.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
The Bank is off, so stakes aren’t available.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
Duels start in [channel].Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.

After a correction, repeat the original action with the affected member permissions and inspect its final state. For a reward, payment, role change or public post, verify what already completed before applying a manual replacement. Keep the record identifier and response in your staff notes so a second admin can follow the same incident.

When something looks wrong

SymptomWhat to inspectHow to recover
A win does not change ratingPer-pair daily rated-match cap and current season.Check whether the duel was unrated before changing the rating configuration.
The saved setup produces no visible resultWhether the feature is enabled, the required action has actually happened, and the selected destination still exists.Follow the worked example once, then inspect the response before retrying. A saved configuration alone does not perform every action.
Staff can use it, but an ordinary member cannotMember eligibility, selected roles, channel overrides and Discord command permissions.Test with the affected role combination. Correct the specific restriction and test again.
A role, reward or message is missingThe related feature, destination permissions and the result of the original action.Confirm what already completed before repeating an action that spends currency, sends a message or grants a reward.

Feature-specific questions

How do I duel someone on Discord?

Turn on Duel Arena in your server dashboard, then run /duel challenge with a member. They press Accept, and you take turns with the attack, guard and special buttons.

Do duels need coins?

No. A stake is optional. Stakes use virtual Bank coins and are held in escrow until the duel ends.

What if my opponent stops playing?

Letting the turn timer run out forfeits the duel, so they lose it and you win. If the bot itself was down, the turn starts over instead.

How does the rating work?

It’s an Elo rating. Everyone starts each season at 1000, wins and losses move it, and draws don’t. Only a set number of duels per pair per day count.

Does Shop gear affect duels?

Only if an admin enables it, and it’s off by default. Gear is read once when a duel is accepted, so items bought mid-duel don’t count. Broken gear is skipped. If an item has a durability set in the Shop, a finished duel (not a cancelled or declined one) wears the units behind each fighter’s bonus by 1, and /repair fixes them.

What happens to stakes if our server sells coins?

Staked duels can’t be issued or accepted while coins are sold for real money, and live ones are cancelled and refunded. Duels without a stake carry on.

Launch checklist

  • Accept a practice challenge and verify stake reservation and the first turn.
  • Finish the duel and inspect winner payout, fee and rating change.
  • The saved setup and the actual Discord result match the example you chose.
  • A regular member and the intended staff role can complete their respective steps.
  • Optional rewards, notifications and public destinations are intentional.
  • Another admin knows which settings to change, how to inspect a result and how to stop or correct the workflow.

Share Duel Arena basics with someone who needs an overview. Use the command reference below for exact command names and required options.

Commands for this feature

CommandWhat it doesOptions
/duel challengeChallenge a member to a duelmember requiredThe member to challengeSelect a memberstake optionalCoins each side puts in escrow (default: none)Whole number · Minimum: 0 · Maximum: 1000000000
/duel ratingShow a member’s rating this seasonmember optionalThe member (default: you)Select a member
/duel topShow this season’s standingsNo options
/duel forfeitGive up your duel, or withdraw your challengeNo options

Find an answer

Search features, commands and the full text of every guide.

Start typing to find a guide.

Browse all guides