Installation
Install PandaDuels and set up a lobby, your first arena and your first kit.
This page takes you from an empty server to a first working match. Every /pd command needs the pandaduels.admin permission, which operators have by default.
1. Install the jar
- Download
PandaDuels.jarfrom Modrinth. - Put it in your server's
plugins/folder. - Optional: install Vault and an economy plugin if you want money bets, and PlaceholderAPI if you want placeholders.
- Start the server.
On first start PandaDuels creates plugins/PandaDuels/ with:
| File | What it holds |
|---|---|
config.yml | All settings. See Configuration. |
messages.yml | Every message players see. |
data.db | The SQLite database: stats, match history, saved player items, bets. |
kits.yml and arenas.yml appear when you create your first kit and arena.
If you want MySQL or MariaDB instead of SQLite, set it up in config.yml before players start playing. PandaDuels does not copy data from one storage type to the other. See Storage.
The console line PandaDuels ... ready on Paper (or Folia) confirms the plugin started. It also says whether a Vault economy was found.
2. Set the lobby
Stand where players should go after a match and run:
/pd setlobbyWithout a lobby, players are sent back to wherever they were before the match.
3. Build and register an arena
Build a closed area: a floor, walls, and two starting points facing each other. Make sure PvP is allowed there. If the world has PvP off, or WorldGuard (or a similar plugin) denies PvP in that spot, hits will do nothing.
Then register it. This example names the arena main:
- Create it:
/pd arena create main - Stand on the floor in one corner and run
/pd arena pos1 main. The block under your feet is included. - Go to the opposite corner, up at the highest point players should reach, and run
/pd arena pos2 main. - Stand where team 1 starts and run
/pd arena spawn main 1. - Stand where team 2 starts and run
/pd arena spawn main 2. - Stand where spectators should watch from and run
/pd arena spectator main. - Turn it on:
/pd arena enable main
If something is missing, enable lists what. See Arenas for bigger teams, free for all, and how resets work.
4. Create a kit
- Put the kit on yourself: armour, offhand, hotbar and inventory. Hold the item you want as the kit's menu icon.
- Save it. This example names the kit
nodebuff:/pd kit create nodebuff - Add rules, one per command. For example:
/pd kit rule nodebuff no_hunger - To offer a ranked queue for the kit:
/pd kit ranked nodebuff on
See Kits for every rule and setting.
5. Run the doctor
/pd doctorThe doctor checks the lobby, every arena and every kit, the storage, Vault and PlaceholderAPI, and lists anything that is wrong in plain words. When it says Nothing wrong found., you are ready. See Troubleshooting for what each problem means.
6. Try a match
With a second player online, either:
- both run
/queue nodebuff, or - one runs
/duel <player> nodebuffand the other clicks [Accept].
After the match both players are sent to the lobby with their own items back.
Next steps
- Add more arenas so several matches can run at once.
- Give players a hotbar and signs to queue from: Lobby and signs.
- Set up ranked play: Queues and ranked.