GhostyProtect v3.0

GhostyProtect is a lightweight Minecraft protection plugin that automatically protects containers.
Fixed a NullPointerException that spammed the console whenever another plugin (e.g. ArmorStandEditor, VotingPlugin) opened a custom inventory GUI. The error occurred because GhostyProtect assumed that InventoryHolder.getInventory() always returns a valid object — which is not guaranteed for custom plugin inventories. The method now null-checks the result before accessing it, so the error will never appear again regardless of what other plugins are installed on the server.
New Features
  • Added two inventory GUIs:
    • /mycontainers (aliases: /myc, /gpmy) — players can view all their own protected containers in a paginated GUI. Clicking a container prints its location and trusted players to chat.
    • /gpcontainers <player> (aliases: /gpc, /admincontainers) — admins can view all protected containers of any player. Clicking a container teleports the admin directly to it.
    • Both GUIs support pagination and are fully customizable via the language files.
  • Added MySQL support — you can now choose between YAML (default, no setup required) and MySQL as the storage backend. Configurable in config.yml under storage.type.
  • Added per-world support via /gpworld (alias: /gpw):
    • /gpworld list — shows the current mode and listed worlds
    • /gpworld mode <blacklist|whitelist> — switch between blacklist (plugin active everywhere except listed worlds) and whitelist (plugin only active in listed worlds)
    • /gpworld enable <world> — add a world to the list
    • /gpworld disable <world> — remove a world from the list
    • Changes are saved to config.yml and take effect immediately without a reload.
  • Added LICENSE.txt directly inside the JAR — the license is now bundled with the plugin file itself.
  • Added console message on startup: By using this plugin you agree to the GhostyPlugins License.

Changes
  • config.yml now fully in English, including all comments.
  • Added new permission ghostyprotect.admin — covers /gpcontainers and /gpworld. Defaults to OP.
  • ContainerManager is now backed by a StorageBackend interface — makes future storage implementations (e.g. SQLite) easy to add.
  • Plugin now shuts down the storage backend cleanly on disable (important for MySQL connection handling).
  • All new GUI messages and world command messages are fully translatable via de.yml / en.yml.

Bug Fixes
  • Removed several unused imports that caused compiler warnings.
Buy a license now
$5.00
EULA
Standard EULA
Use on any projects you own with attribution
Support
Standard
Includes:
Download the resource
Access new updates
Support from the creator
Support duration
Lifetime
Share and earn
Refer this resource and earn a 10% commission.
197 Views
0 Purchases
3 Downloads
Mar 16, 2026 Published
May 10, 2026 Updated
Not yet rated
47.9 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Protection
  1. GUI
  1. Optimization
Game mode
  1. Survival
  1. Oneblock
  1. CityBuild
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
Supported languages
  1. English
  1. German
Creator
Recommended for you
A fully-featured, toggleable PVP plugin with nametag indicators.
Not yet rated
0 purchases
GhostyAlert is a lightweight Minecraft plugin that alert the staff when someone mines to many ores.
Not yet rated
0 purchases
A feature-rich claim plugin for survival worlds
Not yet rated
0 purchases
GhostyBank is a lightweight Minecraft banking plugin with a custom interest system!
Not yet rated
0 purchases
Regenerate Multiverse worlds via in-game commands with backup support.
Not yet rated
0 purchases
Share and earn
Refer this resource and earn a 10% commission.
197 Views
0 Purchases
3 Downloads
Mar 16, 2026 Published
May 10, 2026 Updated
Not yet rated
47.9 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Protection
  1. GUI
  1. Optimization
Game mode
  1. Survival
  1. Oneblock
  1. CityBuild
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
Supported languages
  1. English
  1. German
Creator
Recommended for you
A fully-featured, toggleable PVP plugin with nametag indicators.
Not yet rated
0 purchases
GhostyAlert is a lightweight Minecraft plugin that alert the staff when someone mines to many ores.
Not yet rated
0 purchases
A feature-rich claim plugin for survival worlds
Not yet rated
0 purchases
GhostyBank is a lightweight Minecraft banking plugin with a custom interest system!
Not yet rated
0 purchases
Regenerate Multiverse worlds via in-game commands with backup support.
Not yet rated
0 purchases
Top