DriftEconomy
As many currencies as you need, in sync everywhere.
DriftEconomy is a Paper plugin for managing one or more whole-number currencies ("economies") on a Minecraft server. Players can hold a balance in any number of independently configured economies, admins can create and remove economies on the fly with no restart, and balances stay in sync across every server in a network — including servers on entirely separate proxies in different regions, via Redis.
It hooks into Vault and Treasury for compatibility with shops, jobs plugins, and anything else that reads a player's balance through those APIs, exposes PlaceholderAPI placeholders, and can award currency for votes via Votifier.
Developed by ItsKoazt.
Features
- Multiple independent economies — Create as many named currencies as you want (gems, tokens, whatever), each with its own display name and starting balance, each tracked separately per player.
- Create/delete/switch economies at runtime — no server restart or config reload needed.
- Cross-region sync via Redis — balance changes publish to a Redis pub/sub channel so every connected server invalidates its cache and re-reads the fresh value, even across servers that don't share a BungeeCord/Velocity proxy. MySQL/SQLite remains the single source of truth; Redis only ever carries change notifications, never balances themselves.
- Standard BungeeCord/Velocity plugin-messaging sync still works too, for servers on the same proxy, and can run alongside Redis.
- Vault and Treasury support — Vault (single-currency API) always reflects whichever economy is marked primary; Treasury (multi-currency API) exposes every economy as its own currency.
- Simple PlaceholderAPI placeholders for every economy, such as
%drifteconomy_gem%. - Fully editable messages in
lang/en_US.yml. /payfor money, with a per-economy setting for whether a currency can be sent between players. Big payments ask for a click to confirm, and players can turn payments off with/paytoggle.- Votifier integration to reward votes with currency.
- MySQL or SQLite storage, async by default with an in-memory cache and batched writes.
- Import/export for backups, and one-off conversion from TokenManager, GamePoints, and EcoBits.
- Non-player ("virtual") accounts for things like shop tills, prefixed with
*. - Per-transaction logging (optional) to a
transaction_logtable for auditing. - Folia-supported.
Requirements
- Paper (or a fork of it) 26.3.
- Java 25.
- Optional: Vault, for shops and other plugins that use Vault.
- Optional: PlaceholderAPI 2.12.3 or newer, for placeholders.
- Optional: MySQL, if you don't want to use the bundled SQLite storage.
- Optional: a Redis server, if you want cross-region/cross-proxy sync (see Multi-Region Setup).
Installation
- Drop the built
DriftEconomy-*.jarinto your server'splugins/folder. - Start the server once to generate
plugins/DriftEconomy/config.yml,lang/en_US.yml, thecommands/files,economies/eco.ymlandeconomies/gem.yml(see Folder layout). - Edit
config.ymlto taste (database, Vault/Treasury, Redis, etc.) and run/drifteco reload, or just restart.
No additional setup is required — DriftEconomy creates two economies on first run: eco (displayed as Money, and the primary economy) and gem. Commands that don't name an economy use eco.
Economies
Each economy is defined by its own YAML file in plugins/DriftEconomy/economies/. The file name is the economy's id (lowercase letters, numbers, - and _ only, e.g. gems.yml → id gems).
# plugins/DriftEconomy/economies/gems.yml
currency-singular: Gem
currency-plural: Gems
starting-balance: 0
primary: false
payable: true
currency-singular/currency-plural— used anywhere a currency name is displayed (%currency%in messages, Vault/Treasury display names).starting-balance— the balance a player has the first time they're looked up in this economy.payable— whether players can send this currency to each other with/payor/drifteco pay. Defaults totrue. Admin commands such as give and take still work when it'sfalse.primary— exactly one economy must be primary. The primary economy is the one used when a command's[economy]argument is omitted, and the only economy Vault (which only supports a single currency) ever sees. If no economy is marked primary, or more than one is, DriftEconomy will automatically fix it on startup and log a warning.
Economies are loaded on startup and whenever a /drifteco economy command changes them — no need to touch these files by hand unless you want to. Deleting an economy (via command or by deleting its file and reloading) does not delete player balances for it; recreate the same id later and the data is still there.
Commands
The root command is /drifteco (alias /de). Running it with no arguments redirects to whichever command base-command-redirect in the config points to (me by default).
Every command that operates on a balance accepts an optional trailing [economy] argument. Leave it out and it targets the primary economy — existing single-currency setups don't need to change anything.
| Command | Description |
|---|---|
/drifteco give <player> <amount> [-s] [economy] | Give a player currency. -s sends no messages. |
/drifteco take <player> <amount> [-s] [economy] | Take currency from a player. |
/drifteco giveall <amount> [*] [-s] [economy] | Give currency to all online players. Pass * to include offline players too (all known accounts). |
/pay <player> <amount> | Pay another player money. Always uses eco, or the primary economy if there is no eco. Player-only. |
/drifteco pay <player> <amount> [economy] | Pay another player from your own balance. Player-only. |
/paytoggle | Stop other players paying you, or let them again. |
/payconfirmtoggle | Turn off (or back on) being asked to confirm big payments. |
/payconfirm | Send the payment you were asked to confirm. The [Confirm] button runs it. |
/drifteco set <player> <amount> [-s] [economy] | Set a player's balance to an exact amount. |
/drifteco reset <player> [economy] | Reset a player's balance to zero. |
/drifteco look <player> [economy] | View a player's balance. |
/drifteco me [economy] | View your own balance. Player-only. |
/drifteco lead [page|prev|next] [economy] | View the leaderboard. |
/drifteco broadcast <player> [economy] | Broadcast a player's balance to the server. |
/drifteco account create <name> [economy] | Create a non-player account (name is auto-prefixed with *). |
/drifteco account delete <name> [confirm] | Delete an account (player or non-player) and all of its balances across every economy. |
/drifteco export [confirm] [economy] | Save every balance of an economy to data/backups/storage-<economy>.yml. |
/drifteco import [confirm] [economy] | Load an economy's balances from data/backups/storage-<economy>.yml (or a storage-<economy>.yml you put next to config.yml), replacing what's stored for it. |
/drifteco importlegacy <tableName> [economy] | Import from a raw legacy SQL table by name. MySQL only. |
/drifteco convert <plugin> [currencyId] [confirm] [economy] | One-time import of balances from TokenManager, GamePoints, or EcoBits into the given economy. |
/drifteco economy create <id> <singular> <plural> | Create a new economy. |
/drifteco economy delete <id> [confirm] | Delete an economy. Cannot delete the primary economy. |
/drifteco economy list | List all loaded economies. |
/drifteco economy setprimary <id> | Change which economy is primary. |
/drifteco reload | Reload config.yml, economies/ and lang/, and say how many problems the console listed. |
/drifteco help | List available commands. |
/drifteco version | Show plugin version info. |
Commands that destroy or replace data (export overwriting an existing backup, import, convert, account delete, economy delete) require a second confirmation run with confirm appended, and warn you what's about to happen the first time.
Permissions
| Permission | Default | Description |
|---|---|---|
drifteco.* | — | Grants every permission below. |
drifteco.basecommand | true | Access to the base /drifteco command. |
drifteco.give | op | /drifteco give |
drifteco.giveall | op | /drifteco giveall |
drifteco.take | op | /drifteco take |
drifteco.look | op | /drifteco look |
drifteco.paymoney | true | /pay |
drifteco.pay | op | /drifteco pay |
drifteco.paytoggle | true | /paytoggle |
drifteco.payconfirmtoggle | true | /payconfirmtoggle |
drifteco.paytoggle.bypass | op | Pay players who turned payments off |
drifteco.set | op | /drifteco set |
drifteco.reset | op | /drifteco reset |
drifteco.me | op | /drifteco me |
drifteco.lead | op | /drifteco lead |
drifteco.reload | op | /drifteco reload |
drifteco.broadcast | op | /drifteco broadcast |
drifteco.export | op | /drifteco export |
drifteco.import | op | /drifteco import |
drifteco.convert | op | /drifteco convert |
drifteco.importlegacy | op | /drifteco importlegacy |
drifteco.version | op | /drifteco version |
drifteco.account | op | /drifteco account create / delete |
drifteco.economy | op | /drifteco economy create / delete / list / setprimary |
By default every player has drifteco.basecommand, which just runs whatever base-command-redirect points to (/drifteco me by default) — and drifteco.paymoney, which allows /pay, plus /paytoggle and /payconfirmtoggle. Everything else is op-only until you grant it through your permissions plugin.
Turning features on and off
The features section at the top of config.yml turns whole features on or off. Changes need a restart.
| Switch | Default | What it covers |
|---|---|---|
vault | true | Register with Vault as a currency manager, so other plugins can use DriftEconomy's money (new installs from 1.9; servers from older versions keep their own setting). |
treasury | false | Register with Treasury as a currency manager. |
leaderboard | true | The leaderboard (/drifteco lead) and the leaderboard placeholders. |
proxy-sync | true | Send balance changes to the other servers behind the same BungeeCord or Velocity proxy. |
redis-sync | false | Sync balance changes across servers on different proxies with Redis (connection under redis). |
transaction-log | true | Log every transaction to the drifteconomy_transaction_log table. |
vote-rewards | false | Give money for votes (needs Votifier, amount under vote). |
placeholders | true | The %drifteconomy_...% placeholders for PlaceholderAPI. |
pay-toggles | true | /paytoggle to stop receiving payments, and asking players to confirm big payments (/payconfirmtoggle). How big is pay-confirm-amount. |
These used to be vault, treasury, leaderboard-disable, bungeecord-send-updates, redis.enabled, log-transactions and vote.enabled. Before the config is read on the next start, each server's values are moved into features (leaderboard-disable: true becomes leaderboard: false) and the old lines are taken out.
Selling moved to DriftShop
/sell, /worth and /setworth were in DriftEconomy 1.7.0. Since 1.8.0 they're in
DriftShop, the DriftSuite server shop, so DriftEconomy no longer has them
or the drifteco.sell, drifteco.worth and drifteco.setworth permissions. /setworth became /shop editor.
Your worth.yml is left in the DriftEconomy folder. The first time DriftShop starts it brings those prices over
(once), into the matching shop items or a new sell-only shop, paying in the economy set as sell-economy.
Folder layout
plugins/DriftEconomy/
config.yml settings, starting with the features: switches
economies/ one file per currency: eco.yml, gem.yml ... (the file name is the id)
lang/ messages, one file per language: en_US.yml
commands/ one file per command: drifteco.yml, pay.yml, paytoggle.yml,
payconfirmtoggle.yml, payconfirm.yml (turn it off, rename it, add aliases)
data/ everything the plugin writes itself; you never need to open it
database.db every balance (SQLite; not used with MySQL)
backups/ /drifteco export files and copies of files the plugin replaced
*.version which version last wrote each file
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 files in commands/ need a restart; the
rest apply with /drifteco reload.
Updating from 1.8 or older
The first start of 1.9 moves the old files into the layout above, one console line each, and never overwrites or deletes anything (if both the old and new place exist it keeps both and says so):
drifteconomy.db→data/database.db(with its-journal/-walfiles if there are any)locale/→lang/, its.en_US.yml.version→data/en_US.yml.version, olden_US.old*.yml→data/backups/storage-<economy>.ymlexports →data/backups/
config.yml, lang/en_US.yml, the commands/ files and the economies/ files are then rewritten once with the new
notes, keeping every value you set. The file before the rewrite is kept in data/backups/ (like
config.before-notes.yml). Balances are never touched by any of this.
Mistakes in the files
A value DriftEconomy can't use never stops it. The console says which file and option, what was wrong and what is used instead, for example:
[DriftEconomy] config.yml: cache-duration "abc" isn't a whole number, using 30
[DriftEconomy] economies/gem.yml: starting-balance "lots" isn't a whole number, using 0
[DriftEconomy] lang/en_US.yml: sound-success "fake.sound:1:1" isn't a sound, using "entity.experience_orb.pickup:0.4:1.6"
/drifteco reload tells whoever ran it how many problems there were ("reloaded with 3 problem(s)").
Configuration
config.yml is generated on first run. The on/off switches are in features at the top (see
above); every other setting below lives at the top level unless shown nested.
features.vault: true is needed for Vault shops such as ShopGUI+.
| Setting | Default | Description |
|---|---|---|
locale | en_US | Which file in lang/ to use for messages (en_US = lang/en_US.yml). |
mysql-settings.enabled | false | Use MySQL instead of the built-in SQLite file data/database.db. |
mysql-settings.hostname | 127.0.0.1 | MySQL host. |
mysql-settings.port | 3306 | MySQL port. |
mysql-settings.database-name | (empty) | MySQL database name. |
mysql-settings.user-name | (empty) | MySQL username. |
mysql-settings.user-password | (empty) | MySQL password. |
mysql-settings.use-ssl | false | Connect to MySQL over SSL. |
mysql-settings.connection-pool-size | 3 | MySQL connection pool size. |
vault-priority | Low | Vault service priority (Lowest/Low/Normal/High/Highest) — higher loads before other economy plugins. |
treasury-priority | LOW | Treasury service priority (LOW/NORMAL/HIGH). |
base-command-redirect | me | Which no-argument subcommand /drifteco redirects to. |
minimum-pay-amount | -1 | Minimum amount allowed in /pay and /drifteco pay. -1 disables the minimum. |
pay-confirm-amount | 1000 | Payments of at least this much need a click on [Confirm] first, unless the player turned it off with /payconfirmtoggle. -1 never asks. |
sell-economy | (empty) | Which economy the old /sell paid in, by its id (like gems). Only read by DriftShop when it brings over worth.yml. |
cache-duration | 30 | Seconds a balance is cached in memory before being refreshed from the database. |
leaderboard-per-page | 10 | Entries per page for /drifteco lead. |
leaderboard-placeholder-entries | 10 | How many top entries are kept warm for leaderboard placeholders. |
leaderboard-placeholder-refresh-interval | 15 | Seconds between leaderboard placeholder refreshes. |
tab-complete-show-all-players | false | Include every known account (not just online players) in tab completion. |
cached-account-list-refresh-interval | 300 | Seconds between refreshes of that account list, if enabled above. |
show-non-player-accounts-on-leaderboards | false | Include *-prefixed non-player accounts on leaderboards. |
vote.amount | 100 | Amount awarded per vote. |
vote.online | false | Only award votes to currently-online players. |
legacy-database-mode.enabled | false | Escape hatch for reading directly from a much older, un-migrated single-table schema. Only ever affects the primary economy. |
legacy-database-mode.table-name | drifteconomy | The raw table name to use in legacy mode. |
redis.host | localhost | Redis server host. |
redis.port | 6379 | Redis server port. |
redis.username | (empty) | Redis ACL username, if your server uses one. |
redis.password | (empty) | Redis password, if your server requires auth. |
redis.ssl | false | Connect to Redis over SSL/TLS. |
redis.channel | drifteconomy-sync | Pub/sub channel name. Every server that should stay in sync must use the same value. |
Messages
Every message the plugin sends is in plugins/DriftEconomy/lang/en_US.yml. Edit it and run /drifteco reload to apply your changes. Only English is included. To use your own translation, copy it to a new name in lang/ (like lang/es_ES.yml) and set locale: es_ES in config.yml. The note above each message lists the placeholders it fills in.
- Messages use MiniMessage tags such as
<gray>and<color:#22c55e>. Set a message to''to stop it from being sent. - The default look: the prefix is DRIFTECONOMY in bold solid green (
#22c55e) followed by a dark grey»(no brackets), green is the accent colour, soft green means success, soft red an error and amber a warning (the "are you sure" messages). Every DriftSuite plugin uses the same layout with its own colour. To hide the prefix, setprefix-enabled: falseinlang/en_US.yml. prefixis shown before most messages. Set it to''to remove it.- New messages are added to the file automatically when the plugin updates.
- Updates: messages you changed are always kept. Messages you never changed get the new default wording when an update rewords them; the file before the update is kept in
data/backups/. - To get the current default wording back, delete the file and restart.
Multi-Region Setup (Redis)
The BungeeCord/Velocity plugin-messaging sync (features.proxy-sync) only reaches servers registered on the same proxy. If you're running multiple regions — each with its own proxy, each with its own set of backend servers — those regions have no shared plugin-messaging channel to talk over. Redis fixes that, since it's a plain network service every region can reach.
What actually happens: MySQL is still the only place balances are stored. When a balance changes, DriftEconomy publishes a tiny message (<uuid>:<economy id>) to a Redis channel. Every server subscribed to that channel — regardless of which proxy or region it's behind — invalidates its local cache entry for that player and economy, so the next read for them goes back to MySQL and gets the current value. Redis never holds a balance itself, so there's no way for it to disagree with the database, and no new opportunity for a duping race condition.
To set it up:
- Stand up a Redis server reachable from every region's backend servers (a managed Redis instance, or one you host centrally).
- Point every server's
redis.host/redis.port(andredis.username/redis.password/redis.sslif applicable) at it. - Use the same
redis.channelvalue on every server that should share data. - Make sure
mysql-settingson every server points at the same MySQL database — Redis only carries invalidation signals, it doesn't replicate the actual data, so all regions still need to share one database. - Set
features.redis-sync: trueand restart.
If Redis can't be reached at startup, DriftEconomy logs a warning and keeps running normally without cross-region sync — it will not fail to start over a Redis outage, and a broken Redis connection never blocks or corrupts a balance change, it just means other regions won't hear about it until Redis comes back.
PlaceholderAPI
Every placeholder starts with a currency id, such as eco or gem. Use balance instead of an id for the primary currency. The examples below use gem.
| Placeholder | Example | Description |
|---|---|---|
%drifteconomy_gem% | 1,250 | The player's balance. |
%drifteconomy_gem_raw% | 1250 | The balance as a plain number. |
%drifteconomy_gem_short% | 1.2k | The balance abbreviated. |
%drifteconomy_gem_name% | Gems | The currency's plural name. |
%drifteconomy_gem_of_<player>% | 1,250 | Another player's balance. |
%drifteconomy_gem_raw_of_<player>% | 1250 | Another player's balance as a plain number. |
%drifteconomy_gem_short_of_<player>% | 1.2k | Another player's balance abbreviated. |
%drifteconomy_gem_rank% | 3 | An online player's leaderboard position, or Unranked. |
%drifteconomy_gem_top_<position>% | Steve | The player at that leaderboard position. |
%drifteconomy_gem_top_<position>_amount% | 1,250 | That player's balance. |
%drifteconomy_gem_top_<position>_amount_raw% | 1250 | That player's balance as a plain number. |
%drifteconomy_gem_top_<position>_amount_short% | 1.2k | That player's balance abbreviated. |
For the primary currency, use %drifteconomy_balance%, %drifteconomy_balance_short%, %drifteconomy_balance_top_1% and so on.
The text shown for empty leaderboard positions and unranked players is set by leaderboard-empty-entry and leaderboard-no-rank in the messages file.
Vault & Treasury
Vault's economy API was only ever designed around a single currency, so features.vault: true always exposes whichever economy is currently primary — other plugins that hook Vault (shops, etc.) will only ever see and affect that one economy. The rest stay fully usable through DriftEconomy's own commands, its API, and PlaceholderAPI regardless.
To use DriftEconomy with a Vault shop such as ShopGUI+:
- Install Vault and check
features.vault: trueinconfig.yml(the default on new installs). - If another economy plugin is installed, set
vault-priority: Highest. - Restart the server and check that
/vault-infolists DriftEconomy. - Select Vault as the economy in your shop plugin.
Balances are whole numbers, so Vault amounts are rounded: charges round up, and anything above zero costs at least 1. Payouts round down, so an amount below 1 pays nothing. Negative amounts are refused.
Treasury's API was built with multiple currencies in mind, so treasury: true exposes every loaded economy as its own Currency, with the primary economy marked as Treasury's primary currency. Any addon built against Treasury can address a specific economy directly.
Converting From Other Plugins
/drifteco convert <plugin> [currencyId] confirm [economy] does a one-time import of balance data from another currency plugin into the economy of your choice (the primary economy if omitted). Supported source plugins:
- TokenManager
- GamePoints
- EcoBits (requires a
currencyId, since EcoBits supports multiple currencies of its own)
This replaces the target economy's existing data, so back it up with /drifteco export first if you want to be safe.
Developer API
DriftEconomy isn't published to a public Maven repository. To build against it, compile the jar yourself (see Building From Source) and reference it directly — e.g. compileOnly files('libs/DriftEconomy-1.9.0.jar') in Gradle, or a system-scoped dependency in Maven. Note that the bundled rosegarden library is shaded and relocated to com.itskoazt.drifteconomy.libs.rosegarden inside the jar, so you won't collide with it if your own plugin also depends on rosegarden.
Add DriftEconomy as a softdepend (or depend) in your plugin.yml, then:
DriftEconomy driftEconomy = (DriftEconomy) Bukkit.getPluginManager().getPlugin("DriftEconomy");
DriftEconomyAPI api = driftEconomy.getAPI();
// The primary economy, and a specific one by id
Economy primary = api.getPrimaryEconomy();
Economy gems = api.getEconomy("gems"); // null if it doesn't exist
UUID playerId = player.getUniqueId();
// Reading a balance
int balance = api.look(gems, playerId);
String formatted = api.lookFormatted(gems, playerId);
// Changing a balance
api.give(gems, playerId, 50);
api.take(gems, playerId, 10);
api.set(gems, playerId, 1000);
api.reset(gems, playerId);
api.pay(gems, senderId, targetId, 25); // false if the economy is not payable
// Every method above also has an overload with no Economy parameter,
// which operates on the primary economy for convenience:
api.give(playerId, 50);
All API calls fire a cancellable event first (see below), and apply asynchronously through the same batched-write path commands use, so there's no need to wrap calls in your own async task.
Events
DriftEconomyChangeEvent— fired before a balance is given, taken, set, or paid. Cancellable; the change amount can also be modified viasetChange(int). Carries theEconomyit pertains to viagetEconomy().DriftEconomyResetEvent— fired before a balance is reset to zero. Cancellable, also carries the relevantEconomy.
@EventHandler
public void onChange(DriftEconomyChangeEvent event) {
if (event.getEconomy().getId().equals("gems") && event.getChange() < 0) {
event.setCancelled(true); // block gems from ever being taken, for example
}
}
Database Schema
Tables are created under a prefix derived from the plugin name (drifteconomy_ by default):
drifteconomy_points—id,uuid,economy,points, unique on(uuid, economy). One row per player per economy.drifteconomy_username_cache—uuid,username. Shared across all economies.drifteconomy_pay_settings—uuid,refuse_payments,skip_confirm. Each player's/paytoggleand/payconfirmtogglechoices.drifteconomy_transaction_log—transaction_type,description,source,receiver,amount,economy,timestamp. Only populated iffeatures.transaction-logis on.
Upgrading from a version of this plugin that predates multi-economy support is automatic: a migration rebuilds the points table with the new (uuid, economy) key and tags all existing balances with the eco economy id, so nothing needs to be done by hand.
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 |
| 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 |
| DriftShop | The server shop, /sell, /sellgui and /worth. Shops can trade in any DriftEconomy currency |
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. - 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 with
sound-successandsound-errorinlang/en_US.yml. Broadcasts never make a sound.