About GalaxyDuel
GalaxyDuel is a lightweight Minecraft duel plugin designed for SMP, Lifesteal and Survival servers. Players can challenge each other, accept or deny invitations, and fight after a configurable countdown at randomly selected locations in a configured world.
The 1.1.0 update introduces optional Vault economy betting. Players can now challenge another player with a money bet, and the winner can receive the combined pot.
GalaxyDuel is designed as an additional activity for community survival servers. It is not intended to replace a dedicated Practice, FFA or Duels server system.
What's New in 1.1.0?
Vault Economy Betting
Challenge another player with a configurable money stake. Both players contribute the same amount, and the winner receives the configured payout.
BET COMMAND
/duel <player> <amount>
EXAMPLE
/duel Steve 500
- Vault economy integration.
- Both players contribute an equal stake.
- Configurable minimum and maximum bets.
- Winner-takes-pot payout setting.
- Both players' balances are checked before the bet is accepted.
- Money is withdrawn when the invitation is accepted.
- Refund option for configured duel cancellations.
- Betting can be enabled or disabled in the configuration.
Main Features
Player Challenges
Challenge another online player using the duel command.
Vault Money Bets
Allow players to place equal money stakes on their duels.
Winner Payout
The winner can receive both players' stakes as the combined pot.
Accept & Deny
Players can accept or reject incoming duel invitations.
Request Toggle
Players can turn incoming duel requests on or off.
Timed Requests
Pending invitations automatically expire after the configured time.
Countdown
A configurable countdown runs before the duel begins.
Random Locations
Players are sent to separately selected locations in the configured duel world.
Basic Safety Checks
The location finder checks for suitable ground and clear player space.
Betting Example
Suppose two players enter a duel with a 500 money bet each.
Player A stake
500
Player B stake
500
COMBINED POT
1,000
The winner receives the combined pot by default.
Bet Configuration
Configure betting inside plugins/GalaxyDuel/config.yml.
betting: enabled: true min-bet: 100 max-bet: 1000000 winner-takes-pot: true refund-on-cancel: true
Default settings allow bets from 100 to 1,000,000. Set winner-takes-pot to false if the winner should receive only their original stake instead of both stakes. Set enabled to false to disable betting while keeping regular duels available.
With refund-on-cancel enabled, configured duel cancellations refund the involved players' stakes. A player leaving an active duel is handled as a forfeit, and the remaining opponent receives the winner payout.
Other Configuration
duel-world: playworld countdown-seconds: 5 request-timeout-seconds: 30 rtp: min-x: -1000 max-x: 1000 min-z: -1000 max-z: 1000 separation: 10 max-attempts: 40 min-y: 40 max-y: 200
The default duel world is playworld. Change it to a world that exists and is loaded on your server. Coordinate limits, minimum height, separation, location attempts and countdown can be adjusted in the configuration.
Commands
| Command | Description |
|---|---|
| /duel <player> | Challenge a player without a money bet. |
| /duel <player> <amount> | Challenge a player with a Vault money bet. |
| /dueltoggle | Toggle incoming duel requests. Alias: /dtoggle |
| /duelaccept | Accept a pending duel. Alias: /daccept |
| /dueldeny | Deny a pending duel. Alias: /ddeny |
| /galaxydel reload | Reload the plugin configuration. |
Permissions
| Permission | Purpose | Default |
|---|---|---|
| galaxyduel.use | Player duel commands. | True |
| galaxyduel.bet | Allows money bets. | True |
| galaxyduel.admin | Allows configuration reload. | OP |
Installation
- Stop your Minecraft server.
- Place GalaxyDuel-1.1.0.jar inside the server's plugins folder.
- For money betting, install Vault and a compatible economy plugin that registers a Vault economy provider.
- Start the server to generate the configuration file.
- Open plugins/GalaxyDuel/config.yml.
- Set the correct duel world and adjust the betting and location settings.
- Make sure the configured world exists and is loaded.
- Restart the server or run /galaxydel reload with the admin permission.
- Test both a normal duel and a money-bet duel with two players.
Vault Requirement
Vault and a compatible economy provider are required for money betting. Regular duels without an amount can still be used without the economy integration. GalaxyDuel declares Vault as a soft dependency.
Recommended Server Types
Best suited for:
- SMP servers
- Lifesteal servers
- Survival servers
- Community Minecraft servers
Not intended for:
- Practice servers
- FFA servers
- Dedicated Duels networks
Compatibility & Requirements
Minecraft server range: 1.21–26.3
Plugin API version: 1.21
Plugin bytecode: Java 17
Plugin version: 1.1.0
Author: ItzSpiral
Economy integration: Vault (optional for regular duels)
Important Notes
Read before using on a live SMP or Lifesteal server
- Money betting requires Vault and a working economy provider.
- The bet amount is the stake for each player, not the combined pot.
- Money is withdrawn when the invitation is accepted, not when the invitation is first sent.
- The winner receives both stakes by default. The payout behaviour can be changed in the configuration.
- The current build does not save and restore players' original locations after a duel.
- Players' health and hunger are filled when the duel starts; their previous values are not restored.
- The plugin does not provide a kit editor, matchmaking queue, ranked rating, statistics system or leaderboard.
- Duel deaths are not cancelled by the plugin. Test it with your Lifesteal, rewards and other death-related plugins before opening it to players.
- The random location finder performs basic safety checks; it is not a claim or region-protection system.