Bets
Money and item bets on duels: how stakes are held, the minimum, maximum and tax, rank limits, currencies, and what happens on a draw or a crash.
Players can put something on a duel. The plugin holds both stakes until the fight is decided, then pays them out exactly once.
Money bets#
A player picks Money bet on the challenge screen, chooses the currency when more than one is offered, and
types the amount each player stakes. 0 removes the bet.
| Setting | Key | Default |
|---|---|---|
| Turn money bets on or off | bets.money.enabled | true |
| Smallest stake per player | bets.money.minimum | 100 |
Largest stake per player (0 for no limit) | bets.money.maximum | 0 |
| Share of the pot destroyed when a duel is won | bets.money.tax-percent | 5.0 |
| Currency a new bet starts with | bets.money.currency | the server's default |
| Currencies a bet may use | bets.money.currencies | every currency the player may use |
You can change the first four from /duelsadmin → Settings: Money bets, Minimum bet, Maximum
bet and Tax. A bet the player cannot afford, or under the minimum, is refused when typed.
List only currencies players earn in game in bets.money.currencies. Never offer a currency bought with
real money. See ExyliaLib's economy for the currency ids.
Item bets#
Item bet (bets.items.enabled) opens a trade window for both players before the fight. Each puts their
stake in, both see both offers live, and both confirm. Neither may confirm an empty offer. Closing the window,
or two minutes passing, calls the duel off and nothing is lost. Item bets only work when both players are on
the same server.
Who gets what#
| Result | Money | Items |
|---|---|---|
| A player wins | Both stakes, less the tax. The tax is destroyed, so it works as a money sink. | Both stakes, sent to the winner. |
| Draw (time ran out) | Refunded in full. | Refunded. |
| Called off before the fight | Refunded in full. | Refunded. |
Limits by rank#
Give a rank its own numbers with permissions. The numbers are listed in Permissions.
| Permission | Effect | When a player has several |
|---|---|---|
exyliaduels.bet.max.<n> | Largest money stake is <n> (0: none). | The highest wins. |
exyliaduels.tax.<n> | Tax on a won pot is <n> percent. | The lowest wins. |
exyliaduels.bypass.tax | No tax at all. Not given to anybody by default. | n/a |
To hide a bet option from a rank, remove exyliaduels.bet.money or exyliaduels.bet.items from it.
If something goes wrong#
Money and items are written to the escrow before they move. A crash refunds what was held on the next start. If a player cannot pay when the duel is accepted, the duel is called off and anything already taken goes back. Players on different servers can bet money only when every server shares one economy: see Network duels.
Something missing on this page? Tell us on Discord