CraftGuard
PluginMIT

CraftGuard

A lightweight, highly configurable Minecraft plugin for managing crafting permissions on a per-world basis.

24
Downloads
0
Followers
2 months ago
Updated
📦
7
Versions

📖About CraftGuard

CraftGuard

CraftGuard Logo Paper Java License

⚠️ About FlameAntiCraft/FlameCraft
CraftGuard picks up where my old anti-crafting plugin, FlameAntiCraft (FlameCraft), left off.
FlameAntiCraft/FlameCraft won’t get any more updates—if you want new features, improvements, or fixes, CraftGuard is the place to be!

Tired of players crafting where you don't want them to? CraftGuard lets you control crafting, workstations, and portals, world by world.

FeaturesInstallationCommandsConfigurationFor Developers


📋 What is CraftGuard?

CraftGuard is a powerful plugin that lets you turn crafting, workstation usage (furnaces, anvils, etc.), and portal access (nether/end) on or off for specific worlds.
Whether you're running minigames, creative hubs, or want extra survival control, CraftGuard provides granular management with ease.

Why use CraftGuard?

  • Lightweight – Won’t slow down your server
  • 🎛️ Granular Control – Toggle specific workstations and portals individually
  • 🌎 Per-World Settings – Decide exactly what features are allowed in each world
  • 🧩 PlaceholderAPI Support – Advanced placeholders for every feature type
  • 🎨 Modern Chat Formatting – Color codes and MiniMessage support
  • 👩‍🔧 Automatic Migration – Effortlessly upgrades your old settings to the new system

✨ Features

Core

  • Granular Toggles: Control crafting, nether portals, end portals, anvils, furnaces, and 10+ other workstation types.
  • Per-World States: Different settings for every world on your server.
  • Bypass Permissions: Allow specific players to ignore restrictions by feature type.
  • Redesigned Help: Clean, easy-to-read help menu with precise information.
  • Modern Syntax: Simplified command structure for managing your server.

Supported Features

  • crafting
  • nether-portal
  • end-portal
  • anvil
  • furnace, blast-furnace, smoker
  • enchanting, brewing, smithing
  • loom, cartography, grindstone, stonecutter

📦 How to Install

Requirements

  • Paper 1.21.11 or newer
  • Java 21+
  • (Optional) PlaceholderAPI for advanced placeholders

Quick Start

  1. Download the latest craftguard-1.2.0.jar from Releases
  2. Put it in your server's plugins/ folder
  3. Restart your server
  4. Edit the config: plugins/CraftGuard/config.yml
  5. Ready! Use /cg help for commands

🎮 Commands

Base command: /craftguard (or /cguard, /cg)

Command What it does Who can do it
/cg or /cg help Shows help menu Everyone
/cg <world> <type> on Allow a feature in a world craftguard.admin
/cg <world> <type> off Block a feature in a world craftguard.admin
/cg <world> <type> toggle Flip feature on/off craftguard.admin
/cg reload Reload configuration craftguard.admin

Command Examples

# Block anvils in "survival"
/cg survival anvil off

# Enable nether portals in "world"
/cg world nether-portal on

# Toggle crafting in "lobby"
/cg lobby crafting toggle

Permissions

Permission Description Default
craftguard.admin Manage all settings OP
craftguard.bypass.<type> Bypass specific restriction false
craftguard.bypass.* Bypass all restrictions false

🔌 PlaceholderAPI Support

Placeholders follow a simple pattern:
%craftguard_world_state_<type>% (for player's current world)
%craftguard_world_<worldname>_<type>% (for specific world)

Examples:

  • %craftguard_world_state_crafting% -> enabled
  • %craftguard_world_survival_anvil% -> disabled
  • %craftguard_world_state_nether-portal% -> enabled

👨‍💻 Developers

Building from Source

git clone https://github.com/itzzjustmateo/CraftGuard.git
cd CraftGuard
mvn clean package

ConfigManager API

You can access the ConfigManager via CraftGuard.getInstance().getConfigManager().

  • isFeatureEnabled(String world, String type)
  • setFeatureEnabled(String world, String type, boolean enabled)

📝 License

MIT License — see LICENSE.


🤝 Support