
CakeProtect
Standalone Protection Stone with GUI, 14 Flags, Multi-Database, Folia Support
Автор: NiendsitekunGz2152обновлён 14 мая 2026 г.
ЭкономикаУправлениеУтилиты
Описание
CakeProtect
Standalone Protection Stone plugin — lightweight, fast, and fully GUI-based.
Features
- 🛡️ Protection Stones — Place ore blocks to claim land (configurable tiers: 10x10 - 100x100)
- ⚙️ 14 Flags — PVP, Mob Damage, TNT, Build, Interact, Chest Access + Flag Groups
- 🗄️ Multi-Database — SQLite, MySQL/MariaDB
- 🎮 Full GUI System — Manage everything through Chest GUI with hex colors
- ⚡ Folia Ready — Supports Paper, Folia, CanvasMC
- 🏪 Built-in Shop — Protection stone shop with Vault Economy
- 👥 Member/Ban System — Add/remove members, ban/unban players per region
- 🔒 WorldGuard Integration — Auto-creates/removes WG regions
- 🌐 Multi-Language — Full localization support (Thai & English included)
- 🎨 Fully Customizable — All text/colors/GUI editable via lang files
- 📱 Bedrock Support — Floodgate form dialogs for Bedrock Edition players
- 🔄 Migration Tool — One-command migrate from ProtectionStones plugin
- 🏷️ Rename Regions — Custom display names for your protected areas
- 🔲 Border Visualizer — Particle outline showing region boundaries
- 🛠️ Full Admin Panel — Tier management, region browser, default flags, first-join config
Requirements
- Server: Paper 1.21+ / Folia / CanvasMC
- Required: WorldGuard 7.0+
- Optional: Vault (shop), Floodgate (Bedrock forms)
Installation
- Download
CakeProtect-1.5.3.jar - Place in
plugins/folder - Restart server
- Edit configs in
plugins/CakeProtect/
Commands
| Command | Description | Permission |
|---|---|---|
/ps | Open region GUI | cakeprotect.use |
/ps home [#] | Teleport to region | cakeprotect.use |
/ps info | View region info at location | cakeprotect.use |
/ps shop | Open protection shop | cakeprotect.shop |
/ps add <name> | Add member | cakeprotect.use |
/ps remove <name> | Remove member | cakeprotect.use |
/ps delete | Delete region (returns block) | cakeprotect.use |
/ps admin | Open admin panel | cakeprotect.admin |
/ps give <player> <tier> | Give protection block | cakeprotect.admin |
/ps reload | Reload all configs | cakeprotect.admin |
/ps migrate | Migrate from ProtectionStones | cakeprotect.admin |
Permissions
| Permission | Description | Default |
|---|---|---|
cakeprotect.use | Basic usage (place, manage own regions) | Everyone |
cakeprotect.shop | Access protection shop | Everyone |
cakeprotect.admin | Admin panel, give, reload, migrate | OP |
cakeprotect.bypass | Bypass protection restrictions | OP |
Language Support
Change language in config.yml:
language: "en_US"
Available languages:
th_TH— Thai (default)en_US— English
All GUI buttons, flag names, descriptions, messages, and lore are fully translatable. Create your own lang file by copying an existing one.
Configuration Files
| File | Purpose |
|---|---|
config.yml | General settings (tiers, limits, teleport, visuals, shop, first-join) |
database.yml | Database backend (SQLite/MySQL), connection settings |
lang/th_TH.yml | Thai language (all messages + GUI) |
lang/en_US.yml | English language (all messages + GUI) |
All files are hot-reloadable with /ps reload.
Admin GUI Features
Access via /ps admin:
- Tier Management — Create/delete/enable/disable tiers, toggle shop visibility
- Region Browser — View all regions with pagination, search by player
- Region Detail — Teleport, edit flags, add members, transfer owner, delete
- Default Flags — Set default flag values for new regions
- First Join Tier — Configure which tier to give new players
- Tier Order — Reorder tier display in shop
Migration from ProtectionStones
Single command, fully automatic:
/ps migrate
Steps performed automatically:
- Import — Reads all
ps*WorldGuard regions → saves to CakeProtect database - Cleanup — Removes old
ps*WG regions - Sync — Creates new
cake_ps_*WG regions from database
After migration, you can safely remove the ProtectionStones plugin.
Галерея
Последние версии
Все версии →release
Chat Input Fix & Player Validation
1.5.314 мая 2026 г.180Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2folia, paper, purpur
Что нового
🐛 Bug Fixes
- Fixed chat input leaking messages to other players (CMI compatibility)
- Added legacy AsyncPlayerChatEvent listener for plugins that use old chat system
- Chat input now clears both viewers() and recipients() to prevent message leak
- Added player existence validation — must have played before or be online to add/transfer/ban
🔒 Security
- Players who never joined the server cannot be added as members
- Players who never joined cannot receive ownership transfer
- Players who never joined cannot be banned from regions
⚙️ Technical
- Dual chat event handling: AsyncChatEvent (Paper) + AsyncPlayerChatEvent (Legacy)
- EventPriority.LOWEST with ignoreCancelled=false ensures earliest interception
beta
Full Localization & Bug Fixes
1.5.214 мая 2026 г.11Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2folia, paper, purpur
Что нового
🌐 Full Localization Support
- All GUI buttons, items, and messages now fully support multi-language
- Added complete English (en_US) and Thai (th_TH) language files
- Flag names, descriptions, and groups are now translatable
- Greeting messages moved from config.yml to lang files
- Removed hardcoded Thai text from all GUI elements
🛠️ Improvements
- Added bStats metrics integration
- /ps and /ps list now open GUI instead of text
- Removed unused display-name from tier config
- Fixed plugin.yml invalid YAML (authors format)
- Fixed empty lore showing as [] in admin GUI
📁 Config Changes
- Removed: visuals.greeting.enter-format / leave-format (now in lang)
- Removed: tiers.*.display-name (unused)
- Added: language setting controls all text (th_TH / en_US)
release
Full Admin Panel, YML Config System, Hex Colors, Migration Tool
1.5.012 мая 2026 г.19Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2folia, paper, purpur
Что нового
## ✨ New Features
### Admin Panel (Full)
- Tier Management — create/delete/enable/disable, toggle shop visibility
- Tier Block Selector — Dialog API input (name, radius, price)
- Tier Order — reorder display in shop
- First Join Config — set tier gift for new players
- Region Browser — paginated list + search by player
- Region Detail — teleport, edit flags, add members, transfer owner, delete
- Default Flags — set defaults for new regions
### Player GUI
- Rename region from Settings GUI
- Border Visualizer (particle outline)
- Owner GUI with transfer + delete confirmation
- All GUI titles in English Small Caps
### Migration
- `/ps migrate` — single command, auto 3-step:
1. Import from ProtectionStones WorldGuard data
2. Cleanup old `ps*` WG regions
3. Sync new `cake_ps_*` WG regions
- Safe to remove ProtectionStones after migration
### Configuration System
- `messages.yml` — all player text (hex colors, hot-reload)
- `lore.yml` — all GUI item names/lore (hot-reload)
- `config.yml` — limits, teleport, visuals, shop, first-join
- `database.yml` — backend selection (SQLite/MySQL), connection settings
- `/ps reload` — reloads everything without restart
### Technical
- All text uses `&#RRGGBB` hex colors (zero legacy codes)
- Database reads from `database.yml` (SQLite + MySQL support)
- Dialog API for tier creation (Paper 1.21+)
- Floodgate/Geyser Bedrock form support
- Folia/CanvasMC compatible
- Region limit enforcement from config
## 🐛 Fixes
- Fixed resource files not extracting on first run
- Fixed border visualizer not working (was placeholder)
- Fixed Bedrock dialog type mismatch
## 📦 Dependencies
- Required: WorldGuard 7.0+
- Optional: Vault (shop), Floodgate (Bedrock forms)
