HomeJavaModsCastleGuard
CastleGuard
ModsJava

CastleGuard

by NullOrNaN · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20–1.20.4 · Paper⬇ Download for 1.18–1.19.4 · Paper⬇ Download for 1.20–1.20.4 · Purpur⬇ Download for 1.18–1.19.4 · Purpur⬇ Download for 1.20–1.20.4 · Bukkit⬇ Download for 1.20–1.20.4 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

CastleGuard

Powerful Join Suite with Customizable Whitelisting

CastleGuard started off as a simple whitelist plugin. After using it and hearing feedback from other admins, we've decided that we could have done it better. Now Castle Guard can have customizable whitelist options set in your config as well as custom on-join commands.

As we're releasing a major 2.0 release so quickly we understand your configs will break. We've included the default config for the 2.0 release below for those that were early adopters.

config-version-dont-change: 1
join-commands:
  enabled: false
  commands:
    - command: whisper %player% Hello World!
      as_player: true
  prefix:
    enabled: false
    prefix: "BR_"
whitelist:
  enabled: false
  mode: admin
  verbose: false
  modes:
    - name: whitelist
      message: "You are not whitelisted on this server."
      permission: "castleguard.whitelist"
    - name: staff
      message: "Server is limited to staff-only."
      permission: "castleguard.whitelist.staff"
    - name: admin
      message: "Server is in admin-only lockdown."
      permission: "castleguard.whitelist.admin"

For more details, see our Wiki

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