Glass plugin suite wiki by GlassMC and GlassHosting. Licensing and downloads are coming soon through GlassBilling.
Glass Plugin Suite Wiki / NoDupe (GlassGuard)

NoDupe (GlassGuard)

Version 2.0.0-alpha.6 • Tested on Paper 26.3 (optional Velocity companion) • Java 25 • Support: support@glasshosting.com

Overview

NoDupe helps staff detect duplicated items. It gives valuable non-stackable items a signed serial (an identity), watches where each identity is seen, and records an incident when the same identity shows up in two places, or when stackable valuables (diamonds, netherite, totems and so on) spike in quantity. It also checks flight and vanish states against permissions so they cannot be used to move items unnoticed.

  • MONITOR mode (default) records evidence only. BLOCK mode can cancel actions.
  • Guided setup menu with presets, preview, apply and one-step restore.
  • Private staff alerts, optional webhook and DiscordSRV channel.
  • Optional AI advisory reviews of incidents with your own provider and key, plus staff-approved notes the AI can read. AI never decides enforcement.
  • Network mode for several Paper backends behind Velocity with a shared MySQL database.

Requirements

  • Paper 26.3 (tested), Java 25.
  • H2 is used by default. MySQL is required for network mode.
  • Optional (soft dependencies): Nexo, ItemsAdder, MMOItems, MythicMobs, ModelEngine, MythicLib, MMOCore, ExecutableItems, MapArtCopyright, TempFly, SuperVanish, PremiumVanish, Essentials, CMI, DiscordSRV, LuckPerms.

Installation

Single server

  1. Put the JAR in plugins/ and start. A local signing key is created in plugins/NoDupe/ on first start. Back it up and keep it private.
  2. Run /nodupe in game to open the setup menu, or /nodupe setup status in console.
  3. Pick a preset (observe, survival or creative), preview, apply.
  4. Stay in MONITOR while you test normal gameplay.

Network (Velocity)

  1. Set database.type: mysql and network.enabled: true on every backend. Each backend needs its own server-id.
  2. Put the same signing key (Base64) in the environment variable named by security.signing-key-env on every backend. Network mode refuses to start without it.
  3. Install the same JAR on Velocity and set enabled=true plus the database values in its velocity.properties. The proxy records which backend each player is on so network checks use fresh presence.

Commands

Aliases: /glassguard, /gguard. Every command needs nodupe.admin.

Command What it does
/nodupe In game: open the setup menu. Console: status.
/nodupe setup Setup menu (in game) or the setup help line (console).
/nodupe setup status Readiness checks, including settings that still need a restart.
/nodupe setup preset <observe|survival|creative> Stage a preset into your draft.
/nodupe setup set <key> <value> Stage one setting (validated against safe bounds).
/nodupe setup preview Show each changed setting, marked [live] or [restart].
/nodupe setup apply [confirm-block] Apply your draft. Switching to BLOCK requires confirm-block and a fresh complete scan.
/nodupe setup discard Throw away your draft.
/nodupe setup restore confirm Restore the previous setup change (settings only, not items or data).
/nodupe setup test-staff Send a private staff test alert.
/nodupe setup test-external confirm Send a test to the configured webhook or DiscordSRV channel.
/nodupe status Health, mode, AI and memory state, database stats.
/nodupe check Verify the item in your main hand.
/nodupe scan Request a scan now.
/nodupe catalog Summary of tracked item rules.
/nodupe incidents Latest 10 incidents (ID, code, material, reason).
/nodupe subject <incident UUID> Player-state subject for an incident.
/nodupe integrations [player] Integration and alert status; with an online player, their flight, vanish and combat decision.
/nodupe enroll Give the held item (one, unbranded, non-stackable) a serial. Starts a new baseline; it does not prove the item was legitimate.
/nodupe migrateheld Move a reviewed legacy v1 serial on the held item to a signed v2 serial, keeping the old one as provenance.
/nodupe ai <incident UUID> Ask the configured AI for an advisory (unverified) review.
/nodupe memory Show memory state and how to add notes.
/nodupe memory approve <incident UUID> <note> Save a staff-reviewed explanation for future AI reviews.
/nodupepremium preset|discord ... Paid edition. See Editions.

Permissions

Node Default Grants
nodupe.admin op All commands and setup.
nodupe.alert op Receive private staff alerts.
nodupe.alert.identities op See player identities in staff alerts.
nodupe.flight.authorized false Permanent flight grant (world and combat rules still apply).
nodupe.flight.combat false Exempt from flight combat rules.
nodupe.vanish.authorized false Authorizes a detected vanish state.
nodupe.vanish.interact false Inventory, building and interaction while vanished (item checks still run).
nodupe.vanish.combat false Attack while vanished.
nodupe.premium op (not declared in plugin.yml) Paid edition commands.

Configuration (config.yml)

Settings marked live apply on setup apply; others need a restart. Bounds are enforced by the setup menu and at startup.

Key Default Effect
config-version 2 Do not change. Older configs must be moved aside to regenerate.
server-id survival Unique per backend; letters, digits, _ and -, up to 64.
network.enabled false Network mode (needs MySQL and a shared signing key).
database.type h2 h2 or mysql.
database.mysql.url local MySQL URL with TLS MySQL JDBC URL.
database.mysql.user nodupe MySQL user.
database.mysql.password-env NODUPE_DB_PASSWORD Environment variable holding the password.
security.signing-key-env NODUPE_SIGNING_KEY Environment variable holding the Base64 signing key (required in network mode).
scan.interval-ticks 100 Scan interval (20 to 1200).
scan.observation-ttl-seconds 30 How long a sighting counts (3 to 86400; must cover 3 scans).
scan.transfer-grace-seconds 10 Grace for item moves (2 to 86400; must cover 2 scans).
scan.history-retention-days 90 History kept (1 to 3650). Live.
enforcement.mode MONITOR MONITOR or BLOCK. Live.
enforcement.fail-closed true In BLOCK, pause tracked actions while verification is down. Live.
catalog.auto-enroll true Give new unique items an identity. Live.
catalog.max-items-per-scan 10000 Per-scan cap (100 to 1,000,000). Live.
catalog.enchanted true Treat enchanted items as unique.
catalog.unique-materials ELYTRA, TRIDENT, MACE, NETHERITE_, DIAMOND_, SHULKER_BOX, *_SHULKER_BOX Items that get serials (wildcards allowed).
catalog.quantity-materials DIAMOND, DIAMOND_BLOCK, EMERALD, EMERALD_BLOCK, NETHERITE_INGOT, NETHERITE_BLOCK, NETHERITE_SCRAP, ANCIENT_DEBRIS, NETHER_STAR, BEACON, ENCHANTED_GOLDEN_APPLE, TOTEM_OF_UNDYING, FILLED_MAP Stackables watched by quantity.
catalog.custom-namespaces nexo, itemsadder, mmoitems, mythicmobs, executableitems, mapartcopyright Custom item plugins to track.
catalog.quantity-spike-threshold 128 Quantity jump that records an incident (1 to 1,000,000).
integrations.enabled true Flight and vanish checks. Live.
integrations.transition-grace-seconds 5 Grace after a state change (0 to 300).
integrations.confirmation-samples 3 One-second samples before a mismatch counts (2 to 20).
integrations.flight.authorized-permissions [nodupe.flight.authorized] Nodes that authorize flight.
integrations.flight.require-managed-grant false Require a recognized flight grant. Keep false until every flight source is covered.
integrations.flight.denied-worlds [] Worlds where flight is never valid.
integrations.flight.revoke-invalid true BLOCK only: remove invalid flight with safe-fall protection.
integrations.flight.block-combat true Block flight after PvP.
integrations.flight.combat-seconds 15 Combat window (1 to 600).
integrations.vanish.authorized-permissions [nodupe.vanish.authorized] Nodes that authorize vanish.
integrations.vanish.grants-flight true Authorized vanish allows flight while vanished (never skips item checks).
integrations.vanish.block-combat / block-item-transfers / block-interactions / block-building true What vanished players cannot do without the matching node.
notifications.console true Console alerts.
notifications.staff-chat true Private alerts to nodupe.alert.
notifications.max-per-minute 30 Chat and external cap (1 to 1000); incidents are still stored.
notifications.include-player-identities false Names in external alerts (use a private destination).
notifications.webhook.enabled false Webhook alerts.
notifications.webhook.url-env NODUPE_WEBHOOK_URL Environment variable holding the webhook URL.
notifications.webhook.allow-http false Allow non-HTTPS webhooks.
notifications.discordsrv.enabled false DiscordSRV alerts.
notifications.discordsrv.channel nodupe-alerts DiscordSRV channel mapping (private).
ai.enabled false Optional AI advisory.
ai.provider OPENAI_COMPATIBLE OPENAI, ANTHROPIC, XAI, GEMINI, OPENROUTER, OLLAMA or OPENAI_COMPATIBLE.
ai.endpoint '' Blank uses the provider default; otherwise the full request URL.
ai.model '' Required when AI is on.
ai.api-key-env NODUPE_AI_API_KEY Environment variable holding the key (OLLAMA can run without one).
ai.allow-http false Allow HTTP for a local endpoint such as Ollama.
ai.timeout-seconds 10 1 to 60.
ai.max-output-tokens 512 64 to 4096.
ai.max-requests-per-hour 30 1 to 10000.
ai.auto-review false Review new incidents automatically within limits. Live.
ai.memory.enabled true Use approved notes in plugins/NoDupe/memory/approved/*.md.
ai.memory.max-context-bytes 32768 1024 to 1,048,576.
ai.memory.retained-incidents 200 1 to 10000.
metrics.enabled true bStats opt-out.
premium.discord.* off Paid alerts: dupe_detected.
branding.item-model auto Menu icon model.

Velocity velocity.properties: enabled (false), database.url, database.user, database.password-env, metrics.enabled.

Using it efficiently

  1. Start in MONITOR for at least a week. Read /nodupe incidents and look for false positives from legitimate flight, vanish or item transfers.
  2. Grant the right nodes to staff and ranks that fly or vanish (nodupe.flight.authorized, nodupe.vanish.authorized), so their normal play is not flagged.
  3. Tune the catalog to the items that matter on your server, and add custom item namespaces you use.
  4. Switch to BLOCK only after testing, with /nodupe setup set enforcement.mode BLOCK, preview, then apply confirm-block.
  5. Test alerts with setup test-staff and setup test-external confirm; a queued alert is not proof it arrived.
  6. Keep secrets in environment variables. The config only holds variable names.
  7. AI is optional. External providers receive incident evidence and may charge you. Treat output as advice and record your conclusions with memory approve.
  8. Performance: raise scan.interval-ticks on large servers (keep TTL and grace rules valid) and cap catalog.max-items-per-scan.

Integration with other Glass plugins

Standalone. Works with Nexo and ItemsAdder items used by GlassShards and GlassShops.

Troubleshooting

Problem Fix
"Legacy config detected" Move config.yml to config-v1.yml and restart; old tables are kept.
"Network mode requires shared MySQL" Set database.type: mysql.
Network mode needs the signing key Set the same key in the environment variable on every backend.
"TTL must cover at least three scans" Raise scan.observation-ttl-seconds or lower scan.interval-ticks.
Staff flagged for flying Grant nodupe.flight.authorized or leave require-managed-grant false.
AI review unavailable Check incident ID, provider, model, key variable and hourly limit.

Changelog

  • 2.0.0-alpha.6 (free edition alpha, from 2026-10-13): Nexo pack sync for shard models, Glass Shard menu icons when models are on, bug batch and full test fixes.