Skip to Content
PandaScript

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

  1. Download PandaDuels.jar from Modrinth.
  2. Put it in your server's plugins/ folder.
  3. Optional: install Vault and an economy plugin if you want money bets, and PlaceholderAPI if you want placeholders.
  4. Start the server.

On first start PandaDuels creates plugins/PandaDuels/ with:

FileWhat it holds
config.ymlAll settings. See Configuration.
messages.ymlEvery message players see.
data.dbThe 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 setlobby

Without 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:

  1. Create it:
    /pd arena create main
  2. Stand on the floor in one corner and run /pd arena pos1 main. The block under your feet is included.
  3. Go to the opposite corner, up at the highest point players should reach, and run /pd arena pos2 main.
  4. Stand where team 1 starts and run /pd arena spawn main 1.
  5. Stand where team 2 starts and run /pd arena spawn main 2.
  6. Stand where spectators should watch from and run /pd arena spectator main.
  7. 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

  1. Put the kit on yourself: armour, offhand, hotbar and inventory. Hold the item you want as the kit's menu icon.
  2. Save it. This example names the kit nodebuff:
    /pd kit create nodebuff
  3. Add rules, one per command. For example:
    /pd kit rule nodebuff no_hunger
  4. 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 doctor

The 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> nodebuff and the other clicks [Accept].

After the match both players are sent to the lobby with their own items back.

Next steps

On this page