Requirements
Server Plugin (Paper)
| Requirement | Version | Notes |
|---|---|---|
| Server software | Paper 1.21 or 1.21.1 | Spigot is not supported. Paper only. |
| Java | 21 or higher | Required by Paper 1.21. |
| Dependencies | None | The plugin is self-contained. |
Server Mod (Fabric)
| Requirement | Version | Notes |
|---|---|---|
| Server software | Fabric Loader (latest for 1.21) | Use the Fabric server installer. |
| Fabric API | Latest for 1.21 | Required dependency. |
| Java | 21 or higher | Required by Minecraft 1.21. |
Client Mod (Optional)
| Requirement | Version | Notes |
|---|---|---|
| Mod loader | Fabric Loader (latest for 1.21) | Download from fabricmc.net |
| Fabric API | Latest for 1.21 | Required dependency for the mod. |
| Minecraft | 1.21 or 1.21.1 | Must match the server version. |
| Java | 21 or higher | Already required by Minecraft 1.21. |
| Environment | Client-side only | Do not install on the server. |
Paper Plugin Installation
-
Download the JAR
Obtain
ProtectedAreaPlugin-1.0.2.jarfrom your distribution source. -
Place it in the plugins folder
Copy the JAR to your server's
plugins/directory. -
Start the server
On first launch, the plugin automatically creates all required folders and configuration files inside
plugins/ProtectedAreaPlugin/. -
Verify the plugin loaded
Check your server console for the line "[ProtectedAreaPlugin] Enabling...". The plugin is ready to use.
Generated File Structure (Paper)
plugins/
ProtectedAreaPlugin/
Config/
Config.yml ← mod-required flag and kick message
AreaNotification/
Rules.yml ← basic rule violation messages
AdvancedRules.yml ← advanced rule violation messages
Areas/ ← one YAML file per cube area
Areas/.flat/ ← one YAML file per flat area
Fabric Server Mod Installation
-
Install Fabric Server
Download the Fabric server installer for Minecraft 1.21 and install it following the official Fabric documentation.
-
Add Fabric API
Download the latest Fabric API for 1.21 and place it in your server's
mods/folder. -
Add the server mod JAR
Copy
ProtectedAreaServer-1.0.2.jarinto the samemods/folder. -
Start the server
On first launch, the mod creates all required configuration inside
config/ProtectedArea/.
Generated File Structure (Fabric Server)
config/
ProtectedArea/
Config/
Config.yml ← mod-required flag and kick message
AreaNotification/
Rules.yml ← basic rule violation messages
AdvancedRules.yml ← advanced rule violation messages
Areas/ ← one YAML file per cube area
Areas/.flat/ ← one YAML file per flat area
assets/
skybox/ ← skybox PNG textures (client-side, place here to distribute)
Client Mod Installation
-
Install Fabric Loader
Download and run the Fabric Installer for Minecraft 1.21 from fabricmc.net/use/installer. Select your Minecraft version and click Install.
-
Add Fabric API
Download the latest Fabric API for 1.21 and place it inside your
.minecraft/mods/folder. Fabric API is a required dependency. -
Add the client mod JAR
Copy
ProtectedAreaClient-1.0.2.jarinto the same.minecraft/mods/folder. -
Launch with the Fabric profile
Open the Minecraft Launcher, select the Fabric profile, and launch the game. The mod activates automatically when connecting to a compatible server.
Skybox Assets
Custom skybox textures are PNG files that must be present on each client. Place them at:
.minecraft/config/ProtectedArea/assets/skybox/<name>.png
The <name> must match the name assigned to the area via
/area cube skybox add <area_id> <name>.
Distribute textures to your players alongside the mod.
Controls
| Action | Default Key | Description |
|---|---|---|
| Debug: Next Page | Right Arrow | Advances to the next page in the Debug HUD. |
| Debug: Previous Page | Left Arrow | Goes back to the previous page in the Debug HUD. |
Permissions
The plugin uses a single permission node that gates access to all administrative commands.
| Permission | Description | Default |
|---|---|---|
protectedarea.admin |
Full access to all /area commands and subcommands. |
OP |