DriftStaff
The whole staff toolkit, with nothing else to install.
An all-in-one staff toolkit for Paper 26.3. It works on a single server or across a Velocity network.
Staff mode, vanish, freeze, staff chat, reports, a full punishment system (warns, mutes, bans, blacklists, escalating presets, history), a /check menu for any player, inventory rollbacks, evidence logs, honeypots, an illegal item scanner, alerts, staff 2FA, op protection and network sync. All of it is built in, with no other plugins required, and every message, command, item, menu and rule can be configured.
Features
Staff mode
/staffmodesaves your whole state (inventory, armor, offhand, XP, health, hunger, effects, gamemode, flight, location) to disk before clearing anything.- Crash-safe. If the server crashes or stops while someone is in staff mode, their inventory is restored the next time they join. Leftover staff items are always removed.
- A configurable hotbar (
staffmode.yml): teleport compass, random player teleport, vanish toggle, freeze wand, inventory inspector, player info, follow, staff list, reports, exit, andCOMMANDitems for anything else (e.g. a CoreProtect inspector). - Restrictions you can toggle: block break/place, item pickup/drop, PvP, inventory moves, blocked commands, god mode, flight, night vision, auto-vanish.
- Handles death, respawn,
/clear, logout and shutdown while in staff mode.
Vanish
- Vanish levels (
driftstaff.vanish.level.<n>/driftstaff.vanish.see.<n>): staff only see vanished staff at or below their level. - Hidden from the tab list, the server-list player count and sample, tab completion and
/list. - Fake join/quit messages, silent containers (read-only or editable), no item pickup, no mob targeting, no sculk/tripwire/pressure-plate triggers, no raid triggers, no sleep requirement, no mob spawning.
- An action bar indicator, and vanish is kept across relogs (
driftstaff.vanish.onjoinjoins you vanished). - A chat safety catch: vanished staff must prefix public chat with
!so they don't give themselves away. - Sets the standard
vanishedmetadata, so Essentials, DiscordSRV, map plugins and others treat the player as vanished.
Freeze
- Blocks movement (looking around is allowed), commands (with a whitelist), chat (staff-only, normal or blocked), inventory use, block interaction, damage and ender pearls.
- A repeating title and reminder, plus configurable effects (e.g. blindness).
- Logging out while frozen runs configurable commands (by default a 30-day ban) and alerts staff.
- Freeze survives a relog.
Jails
/setjail <name>makes a jail where you stand;/jail <player> <jail> [time] [reason] [-s]sends a player there, for a time or until/unjail./jailslists the jails and/jailedlists who's in them.- A jailed player can't walk out (
jails.radius), teleport out, break or place blocks, use doors and chests, or use commands other thanjails.allowed-commands, and can't be hurt. - Who's jailed is kept in the database, so they're held again when they rejoin, on any server that has that jail
(or its first jail). Time keeps running while they're offline, and they're let out by themselves when it's up,
back where they were (or at spawn with
release-to: spawn).
Punishments (built in)
/ban,/tempban,/ipban(temporary or permanent),/mute,/tempmute,/ipmute,/kick,/warn,/blacklist./kickall [reason]kicks everyone on the server except you and staff withdriftstaff.kickall.exempt./unban,/unmute,/unwarn,/clearwarnings,/unblacklist,/unpunish <id>, and/punishment <id>to look one up.- Flags:
-ssilent,-ppublic,-server:<name>for a server-only punishment,-globalfor network-wide. - The
/punish <player>menu has a button per category: Warns, Mutes, Bans, Blacklists and Kick, plus links to/checkand the history. Each category opens a page of preset reasons that shows the player's offence count for that reason, what they get next and the whole ladder. A green/red confirm screen comes before anything is issued. - Custom bans: the Bans page has a Custom button with 1h, 6h, 1d, 2d, 6d, 14d, 30d, 60d, 180d, 1y, permanent and permanent IP. Pick one and type the reason in chat.
- Everything stacks. Every preset has a ladder (
punishments.yml): Spamming gives a 30m mute, then 1h, 6h, 1d; X-Ray gives 1d, then 7d, 30d, permanent. Manual commands use the same ladders when the reason is a preset id:/mute Steve spamcounts as another spam offence. Warnings also add up: 3 active warnings give a 1h mute and 5 give a 1d ban by default. - Default presets: Bans: Unfair Advantages 3d, X-Ray/Baritone 1d, Autoclickers/Macros 3d, Bug Abusing 1d, Doxxing (permanent IP), Ban Evasion (2d IP), DDoS Threats 5d, Chargeback/Payment Fraud (permanent), IRL Trading (permanent), Inappropriate Username/Skin (permanent), Lying to Staff 25m, Griefing 3d. Mutes: Filter Bypass 30m, Spamming/Flooding 30m, Toxicity, Advertising, NSFW Topics, Hate Speech, Threats, Bullying and Grief Threat 1h. Warns: Spamming/Flooding and Filter Bypass. Plus four blacklist reasons and two kicks.
- Blacklists are for players who should never come back: permanent, can't be appealed, and cover the account, its IP and every account that has shared an IP with it (alts that show up later too). They have their own permissions, disconnect screen and join alert, are listed first in the history, and the Velocity ban check refuses them as well.
- History:
/historyand/staffhistoryGUIs (shift-click an active punishment to remove it), plus/banlist,/mutelist,/checkban,/checkmute,/warnings,/iphistory. - Cleanup:
/prunehistory <player> [time]and/staffrollback <staff> <time>(undoes every punishment one staff member gave within that time). - Duration limits per rank (e.g. helpers can give at most 1-day bans), plus exemption levels (
driftstaff.punish.exempt.<n>againstdriftstaff.punish.level.<n>). - Warnings: thresholds trigger automatic actions (3 warnings gives a 1h mute, 5 gives a 1d ban). Warnings expire, and warnings given while a player was offline are shown when they next join.
- Alts: accounts that share an IP with a banned account can trigger an alert or be blocked. Staff are alerted when a banned player tries to join.
- A customizable ban screen with the punishment ID, reason, time left and an appeal link (
punishments.appeal-url), public or silent broadcasts, and Discord webhooks. - Import existing vanilla bans with
/driftstaff import vanilla.
Reports & HelpOp
/report <player> [reason]. Without a reason it opens a reason GUI. A reason is always required, at leastmin-reason-lengthcharacters (3 by default). Includes cooldowns and self-report and staff-report protection.- Offline reports: players who aren't online can be reported, as long as they've joined before. Players on another server of the network show which server they're on, and offline players are reported at the place they logged out. Staff can't be reported online or offline. Tab completion includes players seen in the last week. Turn it off with
reports.allow-offline: false. - Staff get clickable [TP] [Claim] [View] buttons, and work reports from a GUI (claim, resolve, reject, teleport, punish).
- Reporter accuracy tracking: reporters whose reports are mostly rejected are flagged.
- Reminders about open reports, a reporter notification when their report is handled, and Discord webhooks.
/helpopwith click-to-teleport.
Staff chat
- Any number of channels (
staff-chat.channels), each with its own permission, command, aliases, chat prefix shortcut (#hello) and format. - Toggle mode (
/scwith no message), cross-server sync, and an optional Discord mirror.
/check
/check <player>shows everything about a player in one menu, online or offline: a head with name, UUID, first join, last seen, playtime, online status, server, client brand and version, ping, IP (withdriftstaff.lookup.ip) and ban/mute/freeze status.- Buttons with counts for warns, mutes, bans, blacklists and kicks, reports against them and reports they filed, notes, alts and IPs, the evidence log and inventory rollbacks. Each opens its own list (click an alt to check it).
- Inventory and ender chest, plus Punish, Freeze and Teleport (to their logout spot when offline).
- With DriftHomes installed, a Homes button shows how many homes they have and opens them (needs
drifthomes.admin.view). - With DriftVaults installed, a Vaults button shows how many vaults they have items in and opens them (needs
driftvaults.admin.view).
Inventory rollbacks
- Inventory, armor, offhand, ender chest and XP are saved when a player dies and when they log out (world changes optional).
/rollback <player>(or the button in/check) lists the snapshots. Open one to see the items and restore the inventory, restore the ender chest, or take a copy for yourself. The current inventory is saved before every restore, so a restore can be undone.- 20 snapshots per player for 14 days by default (
rollbackinconfig.yml).
Evidence logs
- Chat (blocked messages too), commands, book text, and item drops and pickups, with time and place, kept per player.
/evidence <player> [type] [page] [search]searches them, and/checkshows the newest entries.- Each type has its own retention time. Login and 2FA commands are never stored, and private message text is left out unless you turn it on.
Inspection
/invseeand/endersee: live and editable for online players (driftstaff.invsee.edit); offline players show a snapshot saved at logout. The live view's player head shows their health, food, level, gamemode and client brand./lookup: first join, last seen, playtime, IP (behind a permission), ping, client brand (the one they last joined with when offline), client version (via ViaVersion), location, ban/mute status, punishment count, alts and notes, with clickable action buttons./alts, color-coded: banned, online, offline.- Country (off by default,
features.geoip):/lookupshows which country a player connects from, and staff withdriftstaff.geoip.notifyare told when they join. Turning it on sends players' IP addresses to ip-api.com to look them up, once per address. /notefor private staff notes on a player.
Chat moderation
/clearchat,/slowchat,/lockchat, optionally network-wide.- Filter (
chatfilter.yml): word lists with leetspeak normalization, regex, advertising/IP/domain detection with a whitelist, caps, repeated messages and character floods. Each rule's action is block, censor, lowercase, reduce or notify, and rules can run commands. The filter covers private-message commands and signs. Public chat is filtered by DriftChat. - Spy: command spy, sign spy, book spy and anvil-rename spy. Private messages are spied on with DriftChat's
/spymsg(/socialspy). Sensitive commands such as/loginare never shown.
Teleport
/stpworks across the network: the proxy moves you to the target's server and teleports you on arrival./stphere(also/tphere),/stpoffline(logout location),/staffback,/follow, and a player selector GUI.
Alerts
- Alert types:
reports,helpop,anticheat,xray,punishments,freeze,filter,staff,security. Each has its own permission, sound, console and network setting. - Staff mute alert types with
/alerts <type>. - Anticheat hooks for Grim, Vulcan and Matrix, read by reflection so DriftStaff has no hard dependency on any of them. Repeated flags are merged. Any other anticheat can send alerts with
dsalert anticheat <player> <check> [vl]. - X-ray detection: counts ore veins (not blocks) in a sliding time window, ignores ores players placed, and has per-ore thresholds.
Security
- Staff 2FA: TOTP authenticator apps (Google Authenticator, Authy, ...) or a PIN. Staff stay locked until they verify. Includes remember-by-IP, new-IP alerts, attempt limits and a timeout kick.
- Op protection: only whitelisted players can be op; anyone else is de-opped and optionally kicked, and
/opfrom players is blocked. - Command blocker: hides
/pl,/ver, namespaced commands (/bukkit:...) and others from players, both in tab completion and execution.
Accountability
- A staff action log in the database (
/stafflogs), with selected actions mirrored to Discord. - Honeypots: look at a chest, barrel, shulker box or spawner and run
/honeypot create [label]. Anyone who opens or breaks it sets off an alert with the coordinates. - Illegal items: over-enchanted items, banned items (bedrock, command blocks, debug sticks...) and oversized stacks are found on join, pickup, container open and every minute, and are reported or removed.
/clearitemremoves a duped item from everyone online. - Vanish guard: other plugins' player commands (
/tpa,/tpahere,/pay,/msgby default, any command can be added) treat vanished staff as offline, so they can't be used to find staff. /locate <player>shows where a player is, which server they're on, or where they logged out.- Staff stats: staff playtime, time in staff mode, time vanished, punishments issued, reports handled. Also available as a leaderboard (
/staffstats top <stat>).
Requirements
- Paper (or a fork of it) 26.3, Java 25
- Optional: PlaceholderAPI, ViaVersion, GrimAC, Vulcan or Matrix
- For a network: Velocity and a MySQL or MariaDB database shared by every server, plus Redis if you use REDIS mode
Installation
- Put
DriftStaff-1.9.2.jarinplugins/and start the server. The first start downloads the database and Redis drivers through Paper's library loader. - Edit the files in
plugins/DriftStaff/and run/driftstaff reload. Storage, network and command-name changes need a restart. - Give your ranks one of the permission bundles:
driftstaff.group.helper,driftstaff.group.moderator,driftstaff.group.admin.
Optional integrations: PlaceholderAPI, ViaVersion, GrimAC / Vulcan / Matrix.
Turning features on and off
The features section, first in config.yml, turns whole features on or off. A feature that is off adds no commands or listeners, so another plugin can do that job instead. Changes need a restart.
| Switch | Default | What it covers |
|---|---|---|
staffmode | true | /staffmode and the staff mode hotbar. |
vanish | true | /vanish. |
freeze | true | /freeze. |
staffchat | true | Staff chat and the other staff channels. |
inspect | true | Invsee, endersee, lookup, alts, notes. |
reports | true | Report, reports, helpop. |
punishments | true | Bans, mutes, kicks, warnings, history, templates. |
jails | true | /jail, /unjail, /setjail, /deljail, /jails and /jailed. |
chat | true | Clearchat, slowchat, lockchat. |
chatfilter | true | The chat filter (rules in chatfilter.yml). |
spy | true | Command and private message spy. |
teleport | true | /stp, /stphere, /stpoffline, /staffback and /locate. |
stats | true | Staff stats. |
staff-auth | false | Two-factor login for staff (settings under staff-auth below). |
security | true | Op protection + command blocker (each has its own switch under security below). |
anticheat | true | Alerts from anticheat plugins. |
xray | true | Xray alerts. |
rollback | true | Inventory rollbacks (/rollback). |
evidence | true | Evidence logs (/evidence). |
honeypots | true | Fake stashes (/honeypot). |
illegal-items | true | Illegal item scanner and /clearitem. |
logging | true | The staff action log. |
discord | false | Discord webhooks (settings under discord below). |
geoip | false | The country players connect from, in /lookup and on join (sends their IPs to ip-api.com). |
This used to be called modules, and rollbacks, the illegal item scanner and two-factor login each needed a second switch in their own section. On the next start each server's values are moved into features (a feature that needed two switches stays on only if both were on) and the old lines are taken out. Old configs that still say modules keep working.
Single server vs network
| Single server | Velocity network | |
|---|---|---|
storage.type | SQLITE | MYSQL or MARIADB (shared by every server) |
network.mode | NONE | PROXY or REDIS |
network.server-name | anything | must match the server name in velocity.toml |
| Velocity plugin | not needed | DriftStaff-Velocity-1.9.2.jar in the proxy's plugins/ |
PROXY mode uses plugin messaging through the Velocity companion. It needs no extra infrastructure. Messages sent while a server is empty are queued until someone joins.
REDIS mode uses Redis pub/sub. It is more reliable for big networks and works even when servers are empty. Set sync.mode = "redis" in the Velocity plugin's config.conf too.
What syncs across the network: staff chat, alerts, punishments (kicks and mute caches update everywhere instantly), the staff list, chat clear/lock/slow (optional), and cross-server teleports.
The Velocity companion also:
- disconnects banned players from the whole network, so a ban doesn't just send them to the lobby;
- can check global bans at login against the shared database (
ban-checkinconfig.conf).
Commands
Every name, alias, permission and usage line can be changed or disabled in commands.yml.
| Command | Description | Permission |
|---|---|---|
/staffmode [player] (/sm) | Toggle staff mode | driftstaff.staffmode |
/vanish [player|list] (/v) | Toggle vanish | driftstaff.vanish |
/freeze <player|list> | Freeze / unfreeze | driftstaff.freeze |
/staffchat [msg] (/sc), /adminchat (/ac) | Staff chat channels | driftstaff.chat.<channel> |
/stafflist | Online staff across the network | driftstaff.stafflist |
/alerts [type] | Toggle alert types | driftstaff.alerts |
/invsee <player>, /endersee <player> | Inspect inventories | driftstaff.invsee, driftstaff.endersee |
/check <player> | Everything about a player in one menu | driftstaff.check |
/lookup <player>, /alts <player> | Player info / alt accounts | driftstaff.lookup, driftstaff.alts |
/locate <player> (/whereis) | Where a player is | driftstaff.locate |
/rollback <player> [save] | Inventory rollbacks | driftstaff.rollback (.restore to restore) |
/evidence <player> [type] [page] [search] (/ev) | Search the evidence log | driftstaff.evidence |
/note <player> [add <text>], /note remove <id> | Staff notes | driftstaff.notes |
/report <player> [reason] | Report a player | driftstaff.report (everyone) |
/reports [all|tp|claim|resolve|reject|view] | Manage reports | driftstaff.reports |
/helpop <message> | Ask staff for help | driftstaff.helpop (everyone) |
/punish <player> [preset] (/p) | Punishment menu, or a preset straight away | driftstaff.punish |
/blacklist <player> [reason], /unblacklist <player> | Blacklist (account, IPs and alts) | driftstaff.blacklist, driftstaff.unblacklist |
/punishment <id> (/pid) | Look up a punishment | driftstaff.history |
/ban, /tempban, /ipban, /mute, /tempmute, /ipmute, /kick, /warn | Punish | driftstaff.<command> |
/kickall [reason] | Kick everyone on this server except staff | driftstaff.kickall |
/jail <player> <jail> [time] [reason] [-s] (/togglejail), /unjail <player> | Jail / let out | driftstaff.jail |
/setjail <name>, /deljail <name> | Make / delete a jail | driftstaff.setjail |
/jails, /jailed (/jailedplayers) | List jails / jailed players | driftstaff.jail |
/unban, /unmute, /unwarn, /clearwarnings, /unpunish <id> | Remove punishments | driftstaff.<command> |
/history <player>, /staffhistory <staff> | Histories | driftstaff.history, driftstaff.staffhistory |
/banlist, /mutelist, /checkban, /checkmute, /warnings, /iphistory | Lists & checks | driftstaff.<command> |
/prunehistory <player> [time], /staffrollback <staff> <time> | History management | driftstaff.<command> |
/clearchat, /slowchat <s|off>, /lockchat | Chat control | driftstaff.chat.clear/slow/lock |
/spy [command|sign|book|anvil] | Spy toggles | driftstaff.spy.<type> |
/stp <player> [target], /stphere (/tphere), /stpoffline, /staffback, /follow | Teleport | driftstaff.teleport.* |
/2fa <code>, /2fa setup [pin], /2fa reset <player> | Staff 2FA | driftstaff.auth |
/staffstats [player|top <stat>] | Staff stats | driftstaff.stats |
/stafflogs [player] [page] | Staff action log | driftstaff.logs |
/honeypot <create [label]|remove|list> | Fake stashes | driftstaff.honeypot |
/clearitem [confirm] | Remove the held item from everyone online | driftstaff.clearitem |
/dsalert <type> <message> | Send an alert (for other plugins/consoles) | driftstaff.alert.send |
/driftstaff <reload|version|help|import vanilla> (/ds) | Admin | driftstaff.admin |
/dsproxy <reload|version|help> (Velocity) | Proxy companion reload, version and help | driftstaff.proxy.admin |
Durations look like 30m, 12h, 7d, 2w, 1mo, 1y, combinations such as 1d12h, or perm.
Permissions
The easiest setup is the three bundles:
driftstaff.group.helper: staff mode, vanish (level 1), freeze, staff chat, reports, invsee, lookup,/check,/locate, evidence logs, kick/warn/mute, the Warns, Mutes and Kick categories, history, command spy, teleport.driftstaff.group.moderator: everything a helper has, plus bans, the Bans category and custom bans, IP bans/mutes, unban/unmute, ban and mute lists, alts, IP history, all presets, inventory rollbacks, honeypots, item alerts, silent-punishment notices, vanish level 2, jails, and being told which country players join from.driftstaff.group.admin(default for ops): everything a moderator has, plus blacklists, every category,/clearitem,/kickall,/setjail, admin chat, editable invsee, punishing on other servers (-server:), prune/rollback, logs, 2FA reset, reload, vanish level 3.
Useful extra nodes:
| Node | Effect |
|---|---|
driftstaff.staff | Counts as staff (staff list, join alerts, stats) |
driftstaff.vanish.level.<1-10> / driftstaff.vanish.see.<1-10> | Vanish and see levels |
driftstaff.vanish.onjoin / driftstaff.staffmode.onjoin | Join vanished / in staff mode |
driftstaff.punish.exempt | Can never be punished |
driftstaff.punish.exempt.<n> / driftstaff.punish.level.<n> | Can only be punished by staff with a higher level |
driftstaff.punish.limit.<rank> / .bypass | Max durations from punishments.duration-limits |
driftstaff.punish.category.<id> | Use a /punish category and its presets (warns, mutes, bans, blacklists, kicks, or *) |
driftstaff.punish.custom | The Custom button in Bans (plus driftstaff.tempban, .ban or .ipban for the length picked) |
driftstaff.blacklist / driftstaff.unblacklist | Blacklist / lift blacklists |
driftstaff.check, driftstaff.locate | /check, /locate |
driftstaff.rollback / .rollback.restore | View / restore inventory rollbacks |
driftstaff.evidence / .evidence.exempt | Search evidence logs / not be logged |
driftstaff.honeypot / .honeypot.bypass | Manage honeypots / don't set them off |
driftstaff.clearitem, driftstaff.illegalitems.bypass | /clearitem / skipped by the item scanner |
driftstaff.alerts.honeypot, driftstaff.alerts.items | Honeypot and illegal item alerts |
driftstaff.auth.required | Must use 2FA (when enabled) |
driftstaff.jail.exempt / driftstaff.jail.bypass | Can't be jailed / can use any command while jailed |
driftstaff.kickall.exempt | Not kicked by /kickall |
driftstaff.geoip.notify | Told which country players join from |
driftstaff.filter.bypass, driftstaff.spy.exempt, driftstaff.xray.bypass | Bypasses |
plugin.yml lists every node.
Configuration files
| File | What it controls |
|---|---|
config.yml | Features on/off, storage, network, vanish (and the vanish guard command list), freeze, staff chat channels, reports, punishment settings, rollbacks, evidence logs, honeypots, illegal items, jails, alerts, anticheat hooks, x-ray, 2FA, security, logging, Discord webhooks |
commands.yml | Every command's name, aliases, permission, usage, enabled |
menus.yml | Every menu's title, size and buttons |
staffmode.yml | Staff mode rules and hotbar items |
punishments.yml | /punish categories, preset reasons with their ladders, custom ban lengths, warning thresholds |
chatfilter.yml | Filter rules for private messages and signs |
lang/en.yml | Every message (MiniMessage). Copy it to lang/<code>.yml and set language: <code> to translate. Set prefix-enabled: false to hide the prefix |
Every file starts with a boxed header saying how to apply changes, is split into sections, and has a note above
every option saying what it does, its unit and the values it takes. The prefix is DRIFTSTAFF in bold solid red
(#ef4444), followed by a dark grey ».
Updates: new options are added with their notes and everything you changed is kept. Sections you own, such as
report reasons, channels, ores and alert types, are never refilled with defaults once they exist. When the notes
themselves change, config.yml, commands.yml, menus.yml and lang/en.yml are rebuilt once with the new notes
and your values written back in; the old file is kept in data/backups/, and messages you never changed get the new
wording. staffmode.yml, punishments.yml and chatfilter.yml hold your own items, ladders and rules, so they are
never rebuilt. An existing punishments.yml without categories keeps working: its presets are sorted into categories
by their first punishment.
Mistakes in the files
A value DriftStaff can't use never stops the plugin. The console says which file and option, what was wrong and what is used instead, for example:
[DriftStaff] config.yml: reports.cooldown-seconds "abc" isn't a whole number, using 60
[DriftStaff] staffmode.yml: items.teleporter.material "BANANA" isn't an item name, using "BARRIER"
/driftstaff reload tells you how many problems it found ("Reloaded with 2 problem(s)").
Folder layout
plugins/DriftStaff/
config.yml, commands.yml, menus.yml the files you edit
staffmode.yml, punishments.yml, chatfilter.yml
lang/en.yml messages (add lang/<code>.yml to translate)
data/ the plugin's own files, no need to open them
database.db punishments, reports, notes... (SQLite)
jails.yml this server's jail spots (/setjail)
honeypots.yml honeypot spots (/honeypot)
staffmode/ saved inventories of staff in staff mode
backups/ old copies of files the plugin replaced
*.version which version wrote each file
plugins/driftstaff/ (on the Velocity proxy)
config.conf sync mode and the login ban check
data/backups/ old copies of config.conf the plugin replaced
Updating from 1.8 or older moves everything into place on the first start, with one console line per file:
data.db to data/database.db (and storage.sqlite-file in config.yml is changed to match), jails.yml and
honeypots.yml to data/, guis.yml to menus.yml, the hidden .version markers and old *.old.yml backups to
data/. Nothing is deleted; if a file is already at the new place, both are kept and the console says so. On the
proxy, a config.conf you never edited is swapped for the new one with notes; an edited one is left as it is.
PlaceholderAPI
%driftstaff_vanished%, %driftstaff_staffmode%, %driftstaff_frozen%, %driftstaff_muted%, %driftstaff_staffchat%, %driftstaff_vanish_level%, %driftstaff_online% (online players minus vanished), %driftstaff_vanished_count%, %driftstaff_staff_online%, %driftstaff_staff_online_network%, %driftstaff_reports_open%, %driftstaff_chat_locked%, %driftstaff_chat_slow%
Developer API
DriftStaffAPI api = DriftStaffAPI.get();
api.isVanished(player);
api.setFrozen(target, true, staff);
api.getActivePunishment(uuid, PunishmentType.BAN).thenAccept(opt -> ...);
api.sendAlert("custom", Component.text("Something happened"));
Events: StaffModeToggleEvent, VanishToggleEvent, PlayerFreezeEvent, PunishmentIssueEvent, ReportCreateEvent, StaffChatEvent, StaffAlertEvent (all cancellable).
The API lives in the api module (com.itskoazt.driftstaff.api).
Works with other DriftSuite plugins
Every feature lives in exactly one DriftSuite plugin, so no two plugins fight over the same command, chat message or part of the screen.
| Plugin | Handles |
|---|---|
| DriftChat | Chat format, public chat filter, emojis, mentions, announcements, join and leave messages, cross-server chat, private messages (/msg, /reply, /ignore) and private message spy (/spymsg, /socialspy) |
| DriftStaff | Staff mode, vanish, punishments, reports, staff chat, staff teleports (/stp, /stphere), /invsee, /clearchat, /lockchat, /slowchat, command/sign/book spy, filter for private messages and signs, 2FA |
| DriftTAB | Tab list, name tags, sidebar scoreboard, boss bars and other tab list features |
| DriftTags | Tags and the tag menu. Tags are shown through %drifttags_tag% in DriftChat and DriftTAB |
| DriftEconomy | Currencies, /pay, Vault and Treasury |
| DriftCombat | Combat tagging, combat-log punishments, combat timer in the action bar and boss bar, safe zones, item cooldowns |
| DriftLag | Entity clearing, entity and spawner limits, lag tools |
| DriftHomes | Homes, the homes menu, public homes, home invites and /visit |
| DriftVaults | Player vaults (/pv): the vault menu, pages, sharing, backups and logs |
| DriftEssentials | Spawn, warps, /tpa, /back, /rtp, kits, nicknames, AFK, /motd, player tools (/craft, /enderchest, /hat, /trash) and admin shortcuts (/gmc, /fly, /heal, /speed) |
| DriftShowcase | The rank showcase NPC: try a rank's look and items before buying it |
How they work together:
- DriftStaff marks vanished staff with the standard
vanishedmetadata. DriftTAB leaves them out of the tab list and online counts, DriftChat treats them as offline in/msg,/ignoreand tab completion, DriftEssentials leaves them out of/tpa,/nearand/seen, and they can't be hurt, so DriftCombat never puts them in combat. - DriftStaff mutes and
/lockchatstop a message before DriftChat formats it, and muted players can't use/msg. - DriftChat filters public chat. DriftStaff filters private messages, other commands and signs. Every message is filtered once.
- DriftLag never removes or limits NPCs, including DriftCombat's combat-log NPCs.
- DriftHomes and DriftEssentials ask DriftCombat before every teleport, so
/home,/spawn,/warp,/tpa,/backand/rtpare blocked during combat. Both use the same warmup, cooldown and safe-landing rules. /backin DriftEssentials remembers where/homeand/visittook you from.- DriftChat sends join and leave messages. DriftEssentials only adds the first-join welcome and
/motd. - Staff teleports stay in DriftStaff. DriftEssentials only has the player ones (
/tpa,/spawn,/warp,/back). - DriftEssentials nicknames are the player's display name, which DriftChat's
{displayname}shows, and%driftessentials_nick%works in DriftTAB. - DriftStaff's
/checkmenu has a button that opens the player's DriftHomes homes, and one for their DriftVaults vaults. - Prices in DriftHomes and DriftEssentials go through Vault, so they use DriftEconomy when
features.vaultis on in its config. - For a combat sidebar, add a DriftTAB scoreboard with
display-condition: "%driftcombat_in_combat_raw%=true". DriftCombat's README has the full example. - DriftShowcase reads DriftEssentials kits straight from its
kits.yml, so a rank in the showcase can show a kit's items. - DriftShowcase shows LuckPerms group prefixes above its NPC and in its ranks menu, and knows which ranks a player already has. It only reads from LuckPerms and never gives a group or permission.
- DriftShowcase asks DriftCombat before every preview, so ranks can't be tried on during combat. Vanished staff and staff in DriftStaff's staff mode can't try them on either.
Messages, sounds and menus
- Short confirmations show on the action bar above the hotbar instead of in chat. Any message that starts with
[actionbar]goes there; remove it to send that message in chat again. - Replies to a player's own command or menu click play a soft sound: one for success, one for errors. Change or turn them off under
soundsinlang/en.yml. Broadcasts never make a sound. - Player names in messages can be clicked (to open
/check), usage lines fill in the command when clicked, and coordinates can be clicked to copy them. Set the name click underplayer-nameinlang/en.yml. - Punishments from the menus are confirmed in a pop-up window that shows the punishment. Set
punish-confirm.style: menuinmenus.ymlto use the old menu.