HomeJavaModsCraftGuard
CraftGuard
ModsJava

CraftGuard

by ItzzRealMateo · on Modrinth

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

⬇ Download on Modrinth
CraftGuard — screenshot 1CraftGuard — screenshot 2
CraftGuard Banner

CraftGuard

Granular, per-world management for crafting, workstations, containers, and portals across your Minecraft server network.


[!NOTE] Project Evolution & Rebranding Notice

  • Evolution: CraftGuard is the official successor to FlameAntiCraft.
  • Future Rebrand: CraftGuard will soon transition to ServerGuard under the VOMLabs Organization. This rebrand will include a complete plugin rewrite for maximum performance and reliability, and Maven support will be deprecated in favor of Gradle (Kotlin DSL).

Overview

CraftGuard provides precise control over player interactions down to individual world environments. Block crafting tables, restrict ender chests, or lock down portal dimensions per world. This is ideal for survival hubs, creative plots, minigame arenas, and adventure maps.

Key Highlights


Supported Features Matrix

Category Supported Mechanics & Block Types
Core Mechanics crafting, nether-portal, end-portal, lockdown
Workstations anvil, furnace, blast-furnace, smoker, enchanting, brewing, smithing, loom, cartography, grindstone, stonecutter
Containers chest, trapped-chest, ender-chest, copper-chest, shulker-box

Quick Setup & Installation

Requirements

[!WARNING] Version Support Notice CraftGuard does NOT officially support any 26.x.x or older versions at this time. Full official support and enhanced reliability will arrive alongside the upcoming ServerGuard rebrand and rewrite.

Installation

  1. Download the latest craftguard-X.X.X.jar from Modrinth.
  2. Place the .jar file in your server's plugins/ directory.
  3. Restart your server to generate configuration files.
  4. Manage settings in-game via /cg or edit plugins/CraftGuard/config.yml.

Quick Command Examples

# Block crafting in the "lobby" world
/cg lobby crafting off

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

# Open the interactive management GUI
/cg

Commands & Permissions

Commands

Command Description Permission
/cg Opens the main interactive management GUI craftguard.admin
/cg help Displays the help menu craftguard.admin
/cg <world> <feature> <on/off> Changes a specific feature state in a world craftguard.admin
/cg reload Reloads plugin configurations and locales craftguard.admin
/cg export Exports settings to a backup file craftguard.admin
/cg import Imports settings from a file craftguard.admin
/cg migrate [copy] Copies or moves configuration between worlds craftguard.admin

Permissions

Permission Description Default
craftguard.admin Grants full access to all CraftGuard commands and GUI OP
craftguard.bypass.* Bypasses all world restrictions false
craftguard.bypass.<feature> Bypasses a specific interaction restriction (e.g., craftguard.bypass.anvil) false

Configuration

Settings are saved to plugins/CraftGuard/*.yml.

settings:
  enabled: true          # Global master toggle
  language: en-us        # Active locale file
  default-state: true    # Default rule state for newly created worlds

item-blockability:
  enabled: true
  blocked-items:
    CRAFTING:
      - DIAMOND_SWORD
      - NETHERITE_*

PlaceholderAPI Integration

Expose real-time feature states and statistics to scoreboards, tablists, or holograms. (Replace <world> and <feature> with your specific values, e.g., %craftguard_world_survival_furnace%).

World States

Statistics


Developer API

Build against CraftGuard using modern Paper standards.

[!NOTE] Upcoming Changes: When CraftGuard transitions to ServerGuard, the plugin will undergo a complete rewrite, the same will hapen to its API.

Build Setup (Maven)

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.github.itzzjustmateo</groupId>
        <artifactId>CraftGuard</artifactId>
        <version>VERSION</version> <!-- Replace with the actual version tag -->
        <scope>provided</scope>
    </dependency>
</dependencies>

Alternatively, clone and build locally:

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

API Usage

CraftGuard plugin = CraftGuard.getInstance();
ConfigManager configManager = plugin.getConfigManager();

// Check if a feature is enabled in a world
boolean isCraftingEnabled = configManager.isFeatureEnabled("survival", "crafting");

// Set a feature state programmatically
configManager.setFeatureEnabled("survival", "furnace", false);

Support & Community

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more