/games
also /minigames
Open the games menu
/gamesNeeds dgames.use, which everyone has by default.

Casino games and chat games players open with /games. There are eight stake games plus automatic quiz and typing rounds in chat.
/games/slots 1k/blackjack 5k/dgames reload/dgames reload/chatgames start/chatgames list/chatgames toggleDo I need an economy plugin?
Yes. All stakes and payouts go through Vault, so install Vault and an economy plugin such as DEconomy. Without one, the games refuse stakes.
What happens to a stake if the server restarts during a game?
It is returned. ledger.on-start is set to refund, so every held stake goes back to its owner when the server starts.
Can a player walk away from a running game?
Yes. Closing the menu of a running Mines, Blackjack, Crash, Jackpot or Rock Paper Scissors game asks if they want to cancel. They get back 50 percent of the bet, which you can change with cancel.refund-percent in settings.yml.
Can chat game rewards be points instead of money?
Yes, if DCurrency is installed. Write the reward as points:500 instead of money:500 in games/chatgames.yml.
Menus and messages come from the default DGames files. Run a command, click an example, or pick a menu.
No menu open. Run a command below or pick a menu from the list.
<name> you must fill in[name] optionalword typed as shown
also /minigames
Open the games menu
/gamesNeeds dgames.use, which everyone has by default.
also /cf
Open the coinflip board or post a game
/coinflip/coinflip <amount> [heads|tails]/coinflip cancel [all]/coinflip stats [player]/coinflip history/coinflip top/coinflip announcementsNeeds dgames.use, which everyone has by default.
Bet on the crash multiplier
/crash/crash amount/crash cashoutNeeds dgames.use, which everyone has by default.
Add to the jackpot pot
/jackpot [amount]Needs dgames.use, which everyone has by default.
Play mines
/mines [amount] [mines]Needs dgames.use, which everyone has by default.
also /bj
Play blackjack against the dealer
/blackjack <amount>Needs dgames.use, which everyone has by default.
Play roulette
/rouletteNeeds dgames.use, which everyone has by default.
Play the slot machine
/slots <amount>Needs dgames.use, which everyone has by default.
Challenge a player to rock paper scissors
/rps <player> <amount>Needs dgames.use, which everyone has by default.
also /cg
Chat games, toggle and top list
/chatgames/chatgames toggle/chatgames topNeeds dgames.use, which everyone has by default.
Administer the games
/dgames reload/dgames statusNeeds dgames.admin, operators only by default.
Who has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| dgames.use | Everyone | Use the games |
| dgames.admin | Operators | Reload and inspect the games with /dgames |
| dgames.mute.coinflip | Nobody | Hides the coinflip big-win broadcasts when granted explicitly |
plugins/DGames/aliases.yml
dgamescoinflip_identifiers:dcoinflip:to: dgameskey-prefix: coinflip_
plugins/DGames/settings.yml
DGames: the casino and chat games hub. This file has the master switches and the messages every game shares. Edit, then run /dgames reload. A setting you delete comes back with its default. Each game has its own file in the games/ folder.
ENLanguage of the plugin's texts.
EN = English FR = French ES = Spanish
trueMaster switch for every game.
true = games work (each one still needs its own switch below) false = every game is off at once. Games that are off refund what they hold and answer "this game is switched off".
/dgames reload applies a change without a restart.
--- Games --- One switch per game. Everything else about a game (stakes, rules, texts) is in its own file in games/.
true = the game is on (if the master switch above is also on) false = the game is off
truetruetruetruetruetruetruetruetrue'�B5FF&lGAMES &8| 'Text shown in front of the chat messages in this file. A game can use its own prefix, set at the top of its file in games/.
--- Reward messages --- What a player reads in chat when a game pays them money or points (chat games, for example).
falsetrue = one line per reward ("You received $500.", "You received 5 stars.") from reward-money and
reward-points below, and no summary line.false = a single summary line from reward-won below, like "You won $500 and 5 stars!". Message lines you put in a reward list yourself (message:...) are always sent, so if you wrote your own "You won" line there, remove it or players see it twice.
--- /games menu ---
trueIs the /games menu available?
true = yes false = /games is off. The games still work through their own commands.
--- Stake safety --- Stakes are written to data/ledger.yml the moment they are taken, so a crash cannot swallow a player's money.
refundWhat to do with stakes still in that file when the server starts. This only happens after a crash, because a normal stop refunds everything.
refund = every player gets their stake back (and each one is logged) keep = the stakes stay in the file for the game that owns them to deal with
A game can still ask to keep its own, for example coinflip with recovery.on-start: restore.
--- Closing a game --- When a player closes a game while the result is not decided yet (a blackjack hand waiting for a move, an active mines board, a crash bet before the round launches, a jackpot entry before the draw, a rock paper scissors match before they pick), a screen asks whether to cancel the game. Cancelling, or closing that screen, ends the game and gives back a share of the bet. The house keeps the rest. Once the result is decided (reels spinning, the dealer drawing after a stand, a running crash round) closing just closes.
50The share of the bet a player gets back when they cancel, as a whole percent from 0 to 100.
0 = nothing comes back, cancelling is the same as losing the bet 50 = half the bet comes back (rounded down) 100 = cancelling is free, so players can leave any bad hand at no cost. Only use this if you want that.
In a rock paper scissors match the other player always gets their whole bet back, whatever you set here. Anything below 0 or above 100 is treated as 0 or 100.
--- Game names --- How each game is called in the cancel screen and its messages (the %game% placeholder).
BlackjackMinesCrashJackpotRock Paper Scissors--- Messages --- Chat messages shared by every game. & colour codes and &#RRGGBB work. Each game keeps its own messages in its own file. Placeholders you can use: %reason% (why the economy refused) %amount% (the reward) %game% %held% (in the status lines) %bet% %refund% %percent% (in the cancel messages) %opponent% (in cancel-opponent)
'Enter a stake'The sign a player types a stake on, when DCore's text-input mode is sign (about 15 characters per line fit). You can use: %min% %max%
'Min %min%''&cYou cannot do that.''&cOnly players can use that.''&7This game is switched off.''&7You won %rewards%&7!'The summary line sent once a game pays out, when rewards.verbose is false. %rewards% is the list of everything paid, built from the reward-part lines and separators below. Set it to '' to send nothing.
'�B5FF$%amount%'How each reward looks inside %rewards%. %amount% is the formatted amount (points include their name).
'�B5FF%amount%''&7, 'What goes between rewards: reward-separator between most of them, reward-separator-last before the final one. Three rewards read "$500, 5 stars and 10 gems".
' &7and ''&7You received �B5FF$%amount%&7.'The per-reward lines, only sent when rewards.verbose is true.
'&7You received �B5FF%amount%&7.''&cYour reward could not be paid: &f%reason%&c. Tell a staff member.''&7Games reloaded.''&7Use �B5FF/dgames reload&7 or �B5FF/dgames status&7.''�B5FF&lGAMES &8| &7%held% stakes held''&a%game% &8| &7on, �B5FF%held% &7held''&c%game% &8| &7off, �B5FF%held% &7held''&7You cancelled your &f%game%&7 game and got back �B5FF$%refund%&7 of &f$%bet%&7.''�B5FF%opponent% &7cancelled the &f%game%&7 match. Your whole bet of �B5FF$%bet%&7 is back.''&7That game is already over.'# DGames: the casino and chat games hub. This file has the master switches and the messages every game shares.# Edit, then run /dgames reload. A setting you delete comes back with its default.# Each game has its own file in the games/ folder.# Used by updates. Do not edit.config-version: 1# Language of the plugin's texts.# EN = English# FR = French# ES = Spanishlanguage: EN# Master switch for every game.# true = games work (each one still needs its own switch below)# false = every game is off at once. Games that are off refund what they hold and answer "this game is switched off".# /dgames reload applies a change without a restart.enabled: true# --- Games ---# One switch per game. Everything else about a game (stakes, rules, texts) is in its own file in games/.# true = the game is on (if the master switch above is also on)# false = the game is offmodules:coinflip:enabled: truecrash:enabled: truejackpot:enabled: truemines:enabled: trueblackjack:enabled: trueroulette:enabled: trueslots:enabled: truerps:enabled: truechatgames:enabled: true# Text shown in front of the chat messages in this file. A game can use its own prefix, set at the top of# its file in games/.prefix: '�B5FF&lGAMES &8| '# --- Reward messages ---# What a player reads in chat when a game pays them money or points (chat games, for example).rewards:# true = one line per reward ("You received $500.", "You received 5 stars.") from reward-money and# reward-points below, and no summary line.# false = a single summary line from reward-won below, like "You won $500 and 5 stars!".# Message lines you put in a reward list yourself (message:...) are always sent, so if you wrote your own# "You won" line there, remove it or players see it twice.verbose: false# --- /games menu ---hub:# Is the /games menu available?# true = yes# false = /games is off. The games still work through their own commands.enabled: true# --- Stake safety ---# Stakes are written to data/ledger.yml the moment they are taken, so a crash cannot swallow a player's money.ledger:# What to do with stakes still in that file when the server starts. This only happens after a crash,# because a normal stop refunds everything.# refund = every player gets their stake back (and each one is logged)# keep = the stakes stay in the file for the game that owns them to deal with# A game can still ask to keep its own, for example coinflip with recovery.on-start: restore.on-start: refund# --- Closing a game ---# When a player closes a game while the result is not decided yet (a blackjack hand waiting for a move, an# active mines board, a crash bet before the round launches, a jackpot entry before the draw, a rock paper# scissors match before they pick), a screen asks whether to cancel the game. Cancelling, or closing that# screen, ends the game and gives back a share of the bet. The house keeps the rest. Once the result is# decided (reels spinning, the dealer drawing after a stand, a running crash round) closing just closes.cancel:# The share of the bet a player gets back when they cancel, as a whole percent from 0 to 100.# 0 = nothing comes back, cancelling is the same as losing the bet# 50 = half the bet comes back (rounded down)# 100 = cancelling is free, so players can leave any bad hand at no cost. Only use this if you want that.# In a rock paper scissors match the other player always gets their whole bet back, whatever you set here.# Anything below 0 or above 100 is treated as 0 or 100.refund-percent: 50# --- Game names ---# How each game is called in the cancel screen and its messages (the %game% placeholder).game-names:blackjack: Blackjackmines: Minescrash: Crashjackpot: Jackpotrps: Rock Paper Scissors# --- Messages ---# Chat messages shared by every game. & colour codes and &#RRGGBB work. Each game keeps its own messages# in its own file.# Placeholders you can use: %reason% (why the economy refused) %amount% (the reward) %game% %held% (in the# status lines) %bet% %refund% %percent% (in the cancel messages) %opponent% (in cancel-opponent)messages:# The sign a player types a stake on, when DCore's text-input mode is sign (about 15 characters# per line fit). You can use: %min% %max%stake-sign: 'Enter a stake'stake-sign-subtitle: 'Min %min%'no-permission: '&cYou cannot do that.'players-only: '&cOnly players can use that.'game-off: '&7This game is switched off.'# The summary line sent once a game pays out, when rewards.verbose is false. %rewards% is the list of# everything paid, built from the reward-part lines and separators below. Set it to '' to send nothing.reward-won: '&7You won %rewards%&7!'# How each reward looks inside %rewards%. %amount% is the formatted amount (points include their name).reward-part-money: '�B5FF$%amount%'reward-part-points: '�B5FF%amount%'# What goes between rewards: reward-separator between most of them, reward-separator-last before the# final one. Three rewards read "$500, 5 stars and 10 gems".reward-separator: '&7, 'reward-separator-last: ' &7and '# The per-reward lines, only sent when rewards.verbose is true.reward-money: '&7You received �B5FF$%amount%&7.'reward-points: '&7You received �B5FF%amount%&7.'reward-refused: '&cYour reward could not be paid: &f%reason%&c. Tell a staff member.'reloaded: '&7Games reloaded.'admin-usage: '&7Use �B5FF/dgames reload&7 or �B5FF/dgames status&7.'status-title: '�B5FF&lGAMES &8| &7%held% stakes held'status-on: '&a%game% &8| &7on, �B5FF%held% &7held'status-off: '&c%game% &8| &7off, �B5FF%held% &7held'cancelled: '&7You cancelled your &f%game%&7 game and got back �B5FF$%refund%&7 of &f$%bet%&7.'cancel-opponent: '�B5FF%opponent% &7cancelled the &f%game%&7 match. Your whole bet of �B5FF$%bet%&7 is back.'cancel-over: '&7That game is already over.'
DCore
PlaceholderAPI, DCurrency, Vault.
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.