Multi-arena free-for-all for Minecraft: Bedrock Edition
Run PvP arenas on PowerNukkitX with configurable kits, protected spawn areas, and in-game menus for players and admins.
PowerNukkitX 3.0.6 · Java 21+ · English / German
Quick start · Arena setup · Commands · Configuration · Development
Build with a JDK 21 or newer. Choose either build tool.
| Build tool | Command | Plugin JAR |
|---|---|---|
| Gradle Wrapper (Windows PowerShell) | .\gradlew.bat build |
build/libs/ZernythFFA.jar |
| Gradle Wrapper (Linux/macOS) | sh ./gradlew build |
build/libs/ZernythFFA.jar |
| Maven | mvn clean package |
target/ZernythFFA.jar |
The Gradle Wrapper downloads the pinned Gradle version on first use. The Maven command uses a local Maven installation.
- Stop the PowerNukkitX 3.0.6 server and copy
ZernythFFA.jarinto itsplugins/directory. When upgrading, replace the previous plugin JAR. Start the server again. - In game, open
/ffaadminas an operator or with theffa.adminpermission. Follow the arena setup below, then join through/ffa.
On first launch, the plugin creates plugins/FFAGameV2/ and a Soldier kit if no kits exist. Player profiles use JSON until MySQL is configured.
- In Arena Management → Create Arena, enter an arena ID, a display name, and the name of an existing server world.
- Stand at a spawn point in that world and use Add Spawn to record your position and facing direction. Repeat for each spawn you want to add.
- To protect an area, open Arena Management → Zone Tools and start safe-zone placement. Select the arena and click two opposite corner blocks in its world. The cuboid saves automatically.
- Open Set Arena Status and choose Live. An arena needs a loadable world and at least one spawn before players can join.
Use Kit Management → Create / Update Kit → Snapshot from inventory to save your current items and armor. The admin menu also lets you edit individual kit slots and armor pieces.
| Command | Opens | Access |
|---|---|---|
/ffa |
Arena, stats, and settings menus. Inside an arena, it opens the leave, kit, and settings options. | In-game players |
/ffaadmin |
Arena and kit management forms. | Operators by default, or players with ffa.admin |
Players can choose English or German and toggle the arena scoreboard in Settings. The scoreboard shows the arena, player count, kills, deaths, and current streak. Arena sessions block block breaking, block placement, and item drops. Safe zones block combat and damage.
Edit plugins/FFAGameV2/config.json and restart the server to apply changes.
storageBackend |
Player profiles and stats |
|---|---|
JSON |
Local files in players/. Runs without a database. |
MYSQL |
MySQL table keyed by player UUID. The generated configuration selects MySQL and uses JSON while the database credentials are incomplete. |
For a local JSON setup, use "storageBackend": "JSON". To enable MySQL, create the database and supply its connection settings. The plugin creates the profile table.
{
"storageBackend": "MYSQL",
"database": {
"host": "127.0.0.1",
"port": 3306,
"database": "ffa",
"username": "ffa",
"password": "your-database-password",
"table": "ffa_player_profiles",
"useSsl": false,
"allowPublicKeyRetrieval": true
},
"scoreboard": {
"enabledByDefault": true,
"updateIntervalTicks": 20
}
}If a configured MySQL connection drops while the server is running, the plugin takes stats offline, ends active arena sessions, and sets all arenas to Offline. It tries to reconnect up to three times at 15-second intervals. Once MySQL recovers, stats return and an admin can set each arena back to Live. If all three attempts fail, the plugin disables itself.
Path under plugins/FFAGameV2/ |
Contents |
|---|---|
config.json |
Storage and scoreboard settings |
arenas/ |
Arena definitions, spawn points, and zones |
kits/ |
Kit inventories and armor |
lang/en.json, lang/de.json |
English and German text |
players/ |
UUID-keyed profiles in JSON mode |
Kits use item IDs such as minecraft:iron_sword. Replace any numeric IDs in existing kit JSON files with their PowerNukkitX equivalents. Items with unrecognized IDs appear as Unknown Item and are skipped when equipping.
Keep the Java target and dependency versions in sync between build.gradle.kts and pom.xml when changing the build.
The Java sources use the net.zernyth.ffa namespace. FFABootstrap wires storage, services, commands, and listeners. The PowerNukkitX descriptor declares the entry point and admin permission.
| Package | Responsibility |
|---|---|
arena |
Arena definitions, persistence, sessions, spawns, and safe zones |
kit |
Kit storage, selection, and inventory application |
player |
Profiles, statistics, preferences, and JSON/MySQL repositories |
ui.form, command, listener |
Menus, command entry points, and server events |
scoreboard, i18n, config |
Live scoreboard, translations, and settings |
