# Guard: stops fake operators, dangerous commands, illegal items, duplicated items and cheat clients.
# Edit, then run /dguard reload. A setting you delete comes back with its default, so change values instead.
# Help and support: https://discord.devamy.net or dstudios@devamy.net
#
# First step: fill in `trusted` below with the people who own the server. Until you do, the guards stay off.
# The exploit guard works without it. More settings are in packets.yml (cheat packets) and spoof.yml (client
# checks, alts, VPN).
# Text shown in front of every chat message from this plugin. & colour codes and &#RRGGBB work.
prefix: '�B5FF&lGUARD &8| '
# Used by updates. Do not edit.
config-version: 1
# Used by updates. Do not edit. It marks that old login-guard settings were already copied in.
imported-from-dcore: false
# --- Database ---
# Where the exploit log, the dupe watch history and the linked accounts (alts) are saved.
# The default (sqlite) keeps everything in two files in this plugin's folder. Use mysql, mariadb or mongodb
# to keep
# it on a database server instead, for example to share it between several servers.
#
# Easiest setup for a database server: put a full address in `url` and leave host, port, database, username
# and password alone. Examples:
# jdbc:mysql://user:password@host:3306/database
# jdbc:mariadb://host:3306/database?user=name&password=secret
# mongodb://user:password@host:27017/database
# mongodb+srv://user:password@cluster.example.net/database
# If `url` is empty or does not connect, the separate settings below are tried.
# If nothing connects, this plugin turns itself off and prints a big notice in the console, so the guards never
# run without their log. The database must already exist, and its user must be allowed to create tables.
#
# Changing anything in this section needs a restart (or /plm unload and /plm load).
# Data already in the sqlite files is NOT copied when you switch the type.
database:
# Which storage to use. One of: sqlite, mysql, mariadb, mongodb
type: sqlite
# The whole connection as one address (see the examples above). '' = use the settings below.
url: ''
# Only for mysql, mariadb and mongodb: the address, port, database name and login of your database server.
host: localhost
# 0 = the normal port for the type (3306, or 27017 for mongodb).
port: 0
database: dprotect
username: ''
password: ''
# Extra connection options, without the leading ? or &.
# Example: useSSL=false for mysql, or authSource=admin for a mongodb user made in the admin database.
parameters: ''
# Text put in front of every table this plugin creates, so it never mixes with another plugin's tables
# and two networks can share one database. An old sqlite file with tables that have no prefix keeps using
# them.
table-prefix: dprotect_
# Only for sqlite: the file in this plugin's folder that holds the exploit log, stashes and holdings.
file: exploits.db
# Only for sqlite: the file next to it that holds the linked accounts and the VPN answers.
spoof-file: spoof.db
# --- Trusted players ---
# The only players the server trusts with operator status and the locked commands below.
# Nothing else counts: not ops.json, not LuckPerms, not any permission. If someone breaks into a staff
# account or
# talks a staff member into /op, they still cannot stay operator, because the plugin takes it away again
# within a second.
#
# Write one entry per line, as a UUID or an exact player name. A UUID is safer because it survives name changes.
# Example:
# trusted:
# - 'b1d3c2a4-0000-0000-0000-000000000000'
# - 'Steve'
# Look a UUID up in the server's usercache.json.
# A name is tied to the account usercache.json lists for it, or else to the first account with that name to
# join.
# On an offline-mode server anyone can pick any name, so use UUIDs there.
#
# While this list is empty every guard stays off, so a new install cannot lock out the real owner.
# Fill it in, then run /dguard reload from the console.
trusted: []
# How often the plugin checks every operator and every online player, in ticks (20 = 1 second).
# Lower reacts faster. Even 20 costs next to nothing.
scan-interval-ticks: 20
# --- Alerts ---
alerts:
# The same player setting off the same alarm again within this many seconds is not reported again,
# so spamming /op cannot flood staff chat or the webhook. The command is still blocked every time.
cooldown-seconds: 5
# --- Discord webhook ---
# Sends every alarm to a Discord channel. Create one in Discord (Server Settings > Integrations > Webhooks)
# and paste its address in `url`.
webhook:
# true = alarms are sent to Discord.
enabled: false
url: ''
# The name the message is posted under.
username: 'DGuard'
# Text placed above each alarm to ping someone. Example: '<@&123456789012345678>' pings a role, '@here'
# pings everyone online.
# '' = no ping.
mention: ''
# The title of the Discord message for each kind of alarm.
titles:
op-attempt: 'Blocked an /op'
op-removed: 'Removed operator status'
locked-command: 'Blocked a locked command'
wildcard: 'Wildcard permission found'
gamemode: 'Blocked a gamemode change'
exploit: 'Exploit guard'
dupe-watch: 'Dupe watch'
# --- Guards ---
# What each guard does when it catches something. Every guard has:
# enabled = true switches it on, false off
# commands = console commands to run when it fires, without the leading /. %player% is the player who did it.
# Example: - 'ban %player% Tried to op an untrusted account'
# Nothing runs when the console itself set it off.
# Values filled into these commands come from what the player did (item names, typed
# commands), so spaces in them become _ and control characters are removed. That keeps a
# player from adding extra words to your command.
guards:
# Someone runs /op on a player who is not trusted, or on a selector like @a. The command is refused and
# the sender is
# told why. You can also use %target% in `commands` (the name they tried to op).
op-attempt:
enabled: true
commands: []
# A player who is not trusted has operator status anyway, however they got it (an edited ops.json, another
# plugin,
# a command block). Their operator status is removed on the spot.
op-removed:
enabled: true
# Also kick them, so nothing they already started keeps running. true = kick, false = only remove
# operator status.
kick: false
commands: []
# Commands that only trusted players can run in game. The console can always run them.
# Aliases count too: locking `plugman` also locks `plm`.
# A word after the command narrows it down, and * matches any one word.
# Example: 'lp user * permission set' locks that one LuckPerms action and leaves `lp user Steve info` alone.
locked-command:
enabled: true
# The locked commands, one per line, without the /.
commands-locked:
- 'op'
- 'deop'
- 'stop'
- 'restart'
- 'reload'
- 'plugman'
- 'lp editor'
- 'lp import'
- 'lp bulkupdate'
commands: []
# A player who is not trusted has the "*" permission, which gives them every permission at once.
# This guard warns staff and runs the commands. It cannot remove the "*" itself, because that lives in
# your permissions plugin.
wildcard:
enabled: true
# Also kick them until the "*" is taken away. true = kick, false = only warn.
kick: false
commands: []
# Stops players who are not trusted from entering the game modes below. Off by default, because many servers
# give staff creative or spectator. Staff with the permission dguard.gamemode are let through, and so is
# staff
# watching a suspect with /sus.
gamemode:
enabled: false
# The game modes that are locked. Choices: CREATIVE, SPECTATOR, ADVENTURE, SURVIVAL.
locked-modes:
- CREATIVE
- SPECTATOR
commands: []
# --- Exploit guard ---
# Looks for items, blocks and behaviour that a survival player cannot get in normal play: overstacked items,
# impossible enchantments, unbreakable gear, giant books, bedrock in a hand, people on the nether roof.
# It only looks when something happens (a join, a click, a pickup, a block placed), never on a timer,
# so it costs nothing while the server is quiet. It does not need the `trusted` list.
#
# Every protection below has these settings:
# enabled = true switches it on, false off
# action = what happens when it fires. One of these (each protection lists the ones that work for it):
# log = only write it in the exploit log, change nothing
# fix = repair it (cut an overstack down, lower an enchantment, move the player off the roof)
# remove = delete the item
# block = cancel what the player was doing
# alert = true tells staff with dguard.alerts in chat and on the webhook.
# false still writes it to the log and the console.
# commands = console commands to run, with %player% replaced. Example: - 'kick %player% Illegal item'
# Skipped when no player was involved, like an item spawned by a hopper.
#
# Everything is saved in plugins/DGuard/exploits.db. /dguard log shows it in a menu.
# Switch a protection on or off in game with /dguard exploits <name> on|off.
#
# Some old exploits are not listed because Paper already stops them with its own settings (TNT, rail and
# carpet duping,
# falling-block duping, tripwire duping, breaking bedrock, headless pistons, overstacked loot, oversized books).
# Leave those Paper settings at their defaults and they stay fixed.
exploits:
# The master switch. false turns off every exploit protection and the dupe watch, whatever is set below.
enabled: true
# Players with this permission are ignored by every protection and by the dupe watch.
# Nobody has it by default, not even operators. Give it on purpose to people who build with creative items.
# The old name dguard.exploits.bypass still works too.
exempt-permission: 'dguard.bypass.exploits'
# The worlds to watch, by folder name. [] = every world.
# Example: ['world', 'world_nether'] watches only those, so a creative plot world is left alone.
worlds: []
# How many days log entries (incidents, stashes, holdings) are kept. Older ones are deleted once an hour.
log-keep-days: 30
# Items with a hidden tag from one of these plugins are never touched. That way crate rewards, kit items
# and custom
# items with a special enchantment level stay as their plugin made them.
# Write a plugin's name in lower case to trust every tag it sets, or name:key to trust one tag.
# Tools from this suite (drills, sell axes, any item with a tool id) are always trusted.
# DSell is not listed on purpose: it tags ordinary items everywhere, so trusting it would turn the guard
# off for almost everything.
# Only the sell axe is trusted, by its own key.
trusted-namespaces:
- dcrates
- dkits
- dtools
- ditems
- dspawners
- 'devamy:sell_axe_uses'
# Trust items tagged by ANY plugin installed on this server, not only the ones listed above?
# Survival players cannot add such a tag, so a tagged item came from a plugin.
# true = you do not have to list every plugin
# false = only the list above is trusted
trust-plugin-tags: true
# Plugin names that are never trusted this way, because they tag ordinary items too.
never-trust:
- dsell
# Leave unbreakable items alone when they have both a custom name and lore?
# Players cannot make those in survival. They come from crates, kits, shops or staff.
# A plain unbreakable vanilla item (the usual sign of a hacked client) is still fixed.
allow-styled-unbreakable: true
# Also look inside shulker boxes and bundles, so an illegal sword inside a shulker is found too.
# It reads at most 27 items per box and never goes deeper than one box.
scan-container-contents: true
# --- The protections ---
# More items in one stack than the item allows, like 300 diamonds in one slot.
# Checked on join, when a container opens, on clicks, pickups, drops, item spawns and when a hopper moves
# items.
# Actions: log, fix (cut the stack down to its maximum), remove.
overstack:
enabled: true
action: fix
alert: true
commands: []
# Compare against the normal maximum for the item type, instead of the item's own max_stack_size.
# Leave it false if any plugin gives out items with a custom stack size on purpose.
use-vanilla-max: false
# An item with enormous saved data. That is how "book ban" and chunk ban items crash clients and corrupt
# chunks.
# Actions: log, remove.
# With remove, a shulker box or bundle that is only too big because of what is inside it (a box full of
# long books)
# is not deleted. Its biggest stacks are taken out and dropped where it was found, until it fits.
nbt-size:
enabled: true
action: remove
alert: true
commands: []
# The biggest allowed size of an item's data, counted in characters. 131072 is far above any real item,
# even a shulker box full of fully enchanted and named gear.
max-chars: 131072
# A shulker box inside another shulker box. Vanilla never allows it.
# Actions: log, fix (take the inner box out and delete it), remove (delete the outer box and everything in
# it).
nested-containers:
enabled: true
action: fix
alert: true
commands: []
# Enchantments a survival player cannot get: a level above the maximum (sharpness 32), two that conflict
# (sharpness and smite), or one on an item that cannot have it (knockback on a stick).
# Actions: log, fix (lower the level or remove the enchantment), remove.
illegal-enchants:
enabled: true
action: fix
alert: true
commands: []
# Check for levels above the maximum.
check-levels: true
# Check for enchantments that cannot go together.
check-conflicts: true
# Check for enchantments on items that cannot have them.
check-applicable: true
# Enchantments this protection never looks at. Example: ['mending', 'minecraft:sharpness'].
ignore: []
# Change the highest allowed level of an enchantment. Example: `sharpness: 6` if a custom anvil plugin
# allows one more.
# A level of 0 means any amount of it is removed.
max-levels: {}
# The unbreakable flag on any item.
# Actions: log, fix (remove the flag), remove.
unbreakable:
enabled: true
action: fix
alert: true
commands: []
# Custom attribute changes, like a sword with +1000 attack damage or boots with 5x speed.
# Normal gear keeps its usual stats. Only extra changes added on top are checked.
# Actions: log, fix (remove the change), remove.
attributes:
enabled: true
action: fix
alert: true
commands: []
# true = remove every custom change, whatever its size. Only use it if no plugin gives out items with
# custom attributes.
strip-all: false
# The biggest flat bonus allowed. Example: 16.0 allows +16 attack damage or +16 armor.
max-amount: 16.0
# The biggest multiplier allowed for the percentage changes.
max-multiplier: 1.0
# Potions, splash potions and tipped arrows with custom effects stronger or longer than the limits below.
# Actions: log, fix (lower the effect to the limit), remove.
item-effects:
enabled: true
action: fix
alert: true
commands: []
# The strongest level allowed. It starts at 0, so 4 means level V.
max-amplifier: 4
# The longest duration allowed, in seconds. 960 = 16 minutes.
max-duration-seconds: 960
# Allow effects that never run out? false = they are limited.
allow-infinite: false
# Effects on the player themselves that are stronger or longer than the limits below.
# Checked when an effect is added and once on join.
# Actions: log, fix (replace it with a limited one), block (refuse the effect).
player-effects:
enabled: true
action: fix
alert: true
commands: []
# The strongest level allowed. It starts at 0, so 4 means level V.
max-amplifier: 4
# The longest duration allowed, in seconds. 6000 = 100 minutes, the longest effect survival gives out
# (Bad Omen).
max-duration-seconds: 6000
# Allow effects that never run out? Effect plugins and ranks (like night vision) often give these, so
# the default is true.
allow-infinite: true
# Also check a player's effects when they join.
check-on-join: true
# Effects that come from these sources are never checked.
# PLUGIN = any effect another plugin gives. BEACON and CONDUIT = vanilla blocks.
ignore-causes:
- PLUGIN
- BEACON
- CONDUIT
# Item names and lore that are too long, counted without colour codes.
# Vanilla limits anvil names to 50 characters, so only plugins and hacked clients get past that.
# Actions: log, fix (shorten it), remove.
item-text:
enabled: true
action: fix
alert: true
commands: []
# The longest item name allowed, in characters.
max-name-length: 128
# The most lore lines allowed.
max-lore-lines: 32
# The longest lore line allowed, in characters.
max-lore-line-length: 256
# Books with too many pages, pages that are too long, or titles that are too long.
# Checked on every book a player writes or signs, and on every book found in an inventory.
# Actions: log, fix (trim the book), remove, block (refuse the edit).
books:
enabled: true
action: fix
alert: true
commands: []
# The limits for a book. The normal vanilla limits are 100 pages, 1024 characters per page and a 32
# character title.
max-pages: 100
max-page-length: 1024
max-title-length: 32
# false = players cannot write or sign books at all.
allow-writing: true
# Blocks a survival player cannot place. Staff with the permission below can place them.
# Items from a trusted plugin (like a DSpawners spawner) are always allowed.
# Actions: log, block (cancel the placement), remove (cancel it and delete the stack in their hand).
illegal-blocks:
enabled: true
action: block
alert: true
commands: []
# The permission that lets staff place these blocks.
permission: 'dguard.exploits.blocks'
# true = staff with that permission can place them only in creative. false = in any game mode.
creative-only: true
# The blocks that are blocked.
materials:
- BEDROCK
- BARRIER
- COMMAND_BLOCK
- CHAIN_COMMAND_BLOCK
- REPEATING_COMMAND_BLOCK
- STRUCTURE_BLOCK
- STRUCTURE_VOID
- JIGSAW
- END_PORTAL_FRAME
- SPAWNER
- TRIAL_SPAWNER
- REINFORCED_DEEPSLATE
- LIGHT
# Keeps players off the nether roof: walking or riding up there, pearling or chorus-fruiting onto it, and
# building on it.
# Teleports from plugins and commands are left alone. Off by default.
# Actions: log, fix (move the player down to the first safe spot below the roof, or to the world spawn if
# there is none),
# block (push them back where they came from).
# Paper's own setting environment.nether-ceiling-void-damage-height hurts players up there instead. You
# can use both.
nether-roof:
enabled: false
action: fix
alert: true
commands: []
# The height (Y level) where the roof starts.
roof-y: 127
# Also stop players placing blocks up there.
block-building: true
# One player creating a flood of entities in one chunk in a short time: armor stands, boats, minecarts and
# end crystals
# they place, spawn eggs, bred animals. That is how lag machines are built.
# Actions: log, block (refuse any more until the time window ends).
entity-burst:
enabled: true
action: block
alert: true
commands: []
# How many entities one player can create in one chunk within the window.
max-entities: 40
# The length of that window, in seconds.
window-seconds: 10
# A detector, not a fix. It counts redstone and piston updates per chunk and logs a chunk that goes over
# the limit,
# which points you at fast observer and piston clocks. Off by default, because big farms cross any limit too.
# Actions: log.
redstone-clock:
enabled: false
action: log
alert: true
commands: []
# How many updates in one chunk within the window count as too many.
max-updates: 600
# The length of that window, in seconds.
window-seconds: 5
# --- Dupe watch ---
# Counts valuable items per player and warns staff when someone holds more than they plausibly could,
# or gains them faster than any normal source explains.
# It counts the inventory, the ender chest and what is inside shulker boxes and bundles they carry.
# It counts when something happens (a pickup, a container closing, a craft, a trade, a join), plus one
# slow check over everyone online.
#
# Gains are NOT counted when the items came from a container the player just emptied by the same amount,
# when they lost the same items shortly before (a death, a drop, a chest they filled), or when they came from
# crafting, a villager trade, a plugin menu (shops, auctions, crates, kits, orders) or one of the excused
# commands below.
# What is left is the sign of a dupe: items that appeared from nowhere.
#
# Staff with dguard.dupes.alerts get the alerts and can click them to teleport.
# /dupes opens the menu with recent alerts, top holders, stashes and the tracked items.
# The only action is log, which sends the alerts.
# You can use in `commands`: %player% %item% %amount%
dupe-watch:
enabled: true
action: log
alert: true
commands: []
# How often the slow check over every online player runs, in minutes. It is spread over several moments,
# a few players at a time.
sweep-minutes: 5
# How many players are checked at a time during that check. Lower = gentler on the server.
sweep-players-per-tick: 5
# The same player and item does not alert again within this many minutes.
alert-cooldown-minutes: 10
# Gains are added up over this many minutes. See max-gain-per-window.
rate-window-minutes: 10
# An item a player lost (died with, dropped, put away) can come back to them within this many minutes
# without counting as a gain.
loss-memory-minutes: 30
# The next settings are defaults for items that do not set their own.
# How many of an item a player can gain within the window before staff are warned.
max-gain-per-window: 64
# A container holding at least this many of an item is recorded as a stash, shown in the /dupes menu.
stash-threshold: 64
# Count items in the ender chest too.
count-ender-chest: true
# Count items inside shulker boxes and bundles the player carries too.
count-carried-containers: true
# Also alert staff when a stash grows. false = stashes are only recorded for the menu.
stash-alert: false
# Running one of these commands excuses whatever arrives in the next few seconds, so shop and crate rewards
# are not counted as gains.
excused-commands:
- shop
- sell
- ah
- auction
- orders
- order
- kit
- kits
- crate
- crates
- claim
- rewards
# How many seconds after one of those commands items are excused.
excuse-seconds: 5
# The tracked items. The name of each entry is up to you. An entry can have:
# material = the item (defaults to the entry's name). SHULKER_BOX counts every colour.
# match-name = for a custom item: plain text its name must contain
# match-lore = for a custom item: plain text its lore must contain
# match-pdc = for a custom item: a plugin name, or name:key, that the item must carry
# max-amount = the most one player can hold before staff are warned. 0 = never warns.
# weight = how much one is worth when ranking the top holders
# max-gain-per-window = replaces the default above for this item
# stash-threshold = replaces the default above for this item
# Once this list is in your file it is yours: entries you delete stay deleted.
items:
netherite-block:
material: NETHERITE_BLOCK
max-amount: 32
weight: 90
max-gain-per-window: 9
stash-threshold: 16
netherite-ingot:
material: NETHERITE_INGOT
max-amount: 128
weight: 10
max-gain-per-window: 32
stash-threshold: 64
netherite-scrap:
material: NETHERITE_SCRAP
max-amount: 256
weight: 2.5
max-gain-per-window: 64
stash-threshold: 128
ancient-debris:
material: ANCIENT_DEBRIS
max-amount: 256
weight: 2.5
max-gain-per-window: 64
stash-threshold: 128
diamond-block:
material: DIAMOND_BLOCK
max-amount: 128
weight: 9
max-gain-per-window: 32
stash-threshold: 64
diamond:
material: DIAMOND
max-amount: 576
weight: 1
max-gain-per-window: 192
stash-threshold: 256
elytra:
material: ELYTRA
max-amount: 4
weight: 50
max-gain-per-window: 2
stash-threshold: 4
totem:
material: TOTEM_OF_UNDYING
max-amount: 32
weight: 5
max-gain-per-window: 16
stash-threshold: 32
enchanted-golden-apple:
material: ENCHANTED_GOLDEN_APPLE
max-amount: 16
weight: 20
max-gain-per-window: 4
stash-threshold: 16
beacon:
material: BEACON
max-amount: 8
weight: 40
max-gain-per-window: 2
stash-threshold: 4
nether-star:
material: NETHER_STAR
max-amount: 8
weight: 40
max-gain-per-window: 3
stash-threshold: 4
shulker-box:
material: SHULKER_BOX
max-amount: 54
weight: 3
max-gain-per-window: 27
stash-threshold: 54
end-crystal:
material: END_CRYSTAL
max-amount: 128
weight: 1
max-gain-per-window: 64
stash-threshold: 128
spawner:
material: SPAWNER
max-amount: 16
weight: 30
max-gain-per-window: 8
stash-threshold: 16
mace:
material: MACE
max-amount: 2
weight: 60
max-gain-per-window: 1
stash-threshold: 2
heavy-core:
material: HEAVY_CORE
max-amount: 2
weight: 50
max-gain-per-window: 1
stash-threshold: 2
trident:
material: TRIDENT
max-amount: 6
weight: 15
max-gain-per-window: 3
stash-threshold: 6
dragon-egg:
material: DRAGON_EGG
max-amount: 1
weight: 100
max-gain-per-window: 1
stash-threshold: 1
# DCrates gives keys as a virtual balance today, so this matches nothing until it gives real key items
# with its own tag.
# It is here so those keys are tracked from the moment that happens.
crate-key:
material: TRIPWIRE_HOOK
match-pdc: dcrates
max-amount: 64
weight: 5
max-gain-per-window: 16
stash-threshold: 64
# --- Login guard (offline-mode servers) ---
# Without Mojang login, anyone can join under any name. Vanilla handles "that name is already online" by
# kicking the
# player who is IN and letting the new one through. A login plugin then asks the newcomer for a password,
# but the real owner is thrown out every time someone tries. Done every minute, that keeps a staff member
# off the server.
# With this on, the player already online stays and the second login is refused.
# Does nothing on online-mode servers.
login-guard:
# true = refuse the second login with the same name. false = vanilla behaviour.
reject-duplicate-names: true
# The text the refused player sees. Keep the double quotes: only they turn \n into a new line.
message: "�B5FF&lSMP 	B9B9B» &#FF5C5CThis name is already online.\n&7If that is you, wait a moment and try again."
# --- Messages ---
# Chat messages. & colour codes and &#RRGGBB work. A %placeholder% is filled in, keep the ones a message has.
messages:
# The words used for on and off in other messages (%state%).
state-on: 'DFFB0on'
state-off: '&#FF4D6Doff'
alert-container: 'A4DFFPACKETS &8| &f%player% &7closed a container with &f%detail%'
# --- /build (staff build mode inside a protected region) ---
# You can use: %mode% (the game mode the player returns to)
build-on: 'DFFB0Build mode on. You can now change spawn while in creative. Run /build again to stop.'
build-off: '�B5FFBuild mode off. You are back in %mode%.'
build-restored: '�B5FFYour build mode from before was turned off. You are back in %mode%.'
build-off-gamemode: '�B5FFBuild mode ended because you left creative.'
build-players-only: '&#FF4D6DOnly players can use build mode.'
build-no-region: '&#FF4D6DYou can only use build mode inside a protected region.'
build-left-region: '�B5FFBuild mode ended because you left the protected region. You are back in %mode%.'
# Shown on the action bar the whole time someone is in build mode. '' = no action bar.
build-actionbar: '�B5FFBuild mode &8| &fRun /build to stop'
build-save-failed: '&#FF4D6DBuild mode could not be saved, so it stays off. Tell an admin to check the console.'
# --- Operator and command guards ---
# You can use: %target% (the player they tried to op) %gamemode% (the locked mode)
op-denied: '&#FF4D6D%target% is not on the trusted list, so they cannot be opped. Add them to plugins/DGuard/settings.yml first.'
op-denied-selector: '&#FF4D6DSelectors like %target% cannot be opped. Op one trusted player by name.'
command-locked: '&#FF4D6DThat command is locked to trusted players.'
gamemode-locked: '&#FF4D6DYou are not allowed to use %gamemode% mode.'
kick-op-removed: '&#FF4D6DYour operator status was removed.'
kick-wildcard: '&#FF4D6DYour account has permissions it should not have. Contact the server owner.'
# --- Alerts sent to staff ---
# You can use: %player% %target% %command% %gamemode%
alert-op-attempt: '&f%player% &7tried to op &f%target%&7, who is not trusted. Blocked.'
alert-op-removed: '&f%player% &7had operator status without being trusted. Removed.'
alert-locked-command: '&f%player% &7tried to run &f%command%&7. Blocked.'
alert-wildcard: '&f%player% &7has the &f* &7permission without being trusted.'
alert-gamemode: '&f%player% &7tried to enter &f%gamemode% &7mode. Blocked.'
# You can use: %count% (trusted players) %active% (how many guards are on) %webhook% (on or off)
status: '&f%count% &7trusted players, guards &f%active%&7, webhook &f%webhook%&7.'
reloaded: 'DFFB0settings.yml reloaded, %count% trusted players.'
# You can use: %command% (the command name)
usage: '&f%command% status&7, &f%command% reload&7, &f%command% log [player]&7, &f%command% dupes&7, &f%command% exploits&7, &f%command% alerts&7, &f%command% check|brand|channels|alts <player>'
usage-tp: '&f/dguard tp <world> <x> <y> <z>'
players-only: '&#FF4D6DOnly players can do that.'
# You can use: %world%
world-missing: '&#FF4D6DThe world &f%world% &#FF4D6Dis not loaded.'
# You can use: %where%
teleported: 'DFFB0Teleported to &f%where%DFFB0.'
alerts-on: 'DFFB0Exploit and dupe alerts are on.'
alerts-off: '&fExploit and dupe alerts are &#FF4D6Doff&f. Security alerts still reach you.'
# --- Exploit and dupe alerts ---
# You can use: %protection% %player% %action% %detail% (what was found) %where%
alert-exploit: '&#FF4D6D%protection% &8| &f%player% &7%action%: &f%detail% &8(%where%)'
alert-packets: 'A4DFFPACKETS &8| &f%player% &7%action%: &f%detail%'
alert-hover-teleport: '�B5FFClick to teleport there'
# You can use: %player% %amount% %item% %max% (the limit) %where% %minutes%
dupe-alert-holding: '&#FF4D6D&lDUPE &8| &f%player% &7has &f%amount%x %item% &8(max %max%) &7at &f%where%'
dupe-alert-gain: '&#FF4D6D&lDUPE &8| &f%player% &7gained &f%amount%x %item% &7in &f%minutes%m &8(max %max%) &7at &f%where%'
dupe-alert-stash: '&#FF4D6D&lDUPE &8| &f%player% &7filled a stash: &f%item% &7at &f%where%'
# Shown to the player whose item was caught. You can use: %action% %detail%
exploit-item: '&#FF4D6DAn item of yours broke the server rules and was %action%: &f%detail%'
book-blocked: '&#FF4D6DThat book is too long to save.'
book-writing-off: '&#FF4D6DWriting books is switched off on this server.'
# You can use: %block%
block-illegal: '&#FF4D6DYou cannot place &f%block%&#FF4D6D.'
nether-roof: '&#FF4D6DThe nether roof is off limits.'
entity-burst: '&#FF4D6DSlow down, too many entities here at once.'
log-ask-player: '&fType the name of the player to filter by, or �B5FFcancel&f.'
# The title on the sign used instead of chat, when DCore's text-input mode is sign (about 15 characters fit).
log-sign-player: 'Filter by player'
# --- /dupes menu and /dguard exploits ---
# You can use: %item% %amount% %name% %state%
dupes-ask-limit: '&fType the new limit for �B5FF%item%&f, or �B5FFcancel&f.'
dupes-limit-invalid: '&#FF4D6DType a whole number, or cancel.'
# The title on the sign used instead of chat, when DCore's text-input mode is sign (about 15 characters fit).
dupes-sign-limit: 'New limit'
dupes-limit-set: 'DFFB0%item% may now be held up to &f%amount%DFFB0.'
exploits-header: '&fExploit guard is %state%&f. &7Toggle one with &f/dguard exploits <name> on|off'
exploits-line: '&8- &f%name% &8» %state% &8(%action%, %alert%)'
exploits-usage: '&f/dguard exploits <name|all> on|off'
exploits-unknown: '&#FF4D6DThere is no protection called &f%name%&#FF4D6D.'
exploits-toggled: 'DFFB0%name% &fis now %state%&f.'
no-permission: '&#FF4D6DYou are not allowed to do that.'