Requirements
Server Plugin
| 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. |
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. |
Plugin Installation
-
Download the JAR
Obtain
ProtectedAreaPlugin-1.0.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
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 protected area
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.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.
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 |