Home›Java›Mods›KranciTags - Shop, Market, Vouchers
KranciTags - Shop, Market, Vouchers
ModsJava

KranciTags - Shop, Market, Vouchers

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Questions, bugs or ideas? Join our Discord: discord.gg/VeNKPKnNVD​

KranciTags
Chat and tab tags with a shop, a player-to-player market, signed vouchers and an in-game editor.
No client mod. No required dependency. One jar for Paper 1.21.x and 26.x.
​

Tags themselves are not rare - there are good free ones, and this page is not going to pretend otherwise. What is rare is everything around them: a market where your players sell tags to each other without anybody losing a tag or a coin, vouchers you can put in a crate or hand to a friend, a config where every single thing is yours to change, and a jar that actually runs on Paper 26.x.

Drop the jar in, start the server, type /tags. The plugin writes 25 example tags across five files - static, animated, temporary, one per rarity and permission-gated - so the shop is worth opening before you have written a single line of YAML.

Highlights

The market, and your players' money
The market is where a tags plugin either is or is not trustworthy, so here is exactly what happens.
There is one gap no plugin can close, and it is documented rather than hidden: between telling the economy plugin to take the money and hearing back there is about a millisecond in which a crash makes it genuinely unknowable whether the money moved, because a Vault call cannot join this plugin's database transaction. So a journal row is written before the withdrawal and updated the instant it returns, and at the next start every interrupted purchase is resolved - completed if the money definitely left, otherwise put back on the market and refunded (configurable). One SEVERE line names the listing, the buyer and the amount either way, and the tag itself is never duplicated and never lost.

Vouchers
/tags extract turns a tag into a tradeable item; /tags voucher makes them in bulk for a crate or a giveaway. The tag id, the duration, a one-time number and a signature live in the item's persistent data, never in its name or its lore:
The signing key is generated into voucher-key.txt on first start and deliberately kept out of config.yml, because a config file is the thing people paste into support channels. A network that wants vouchers to work across several servers sets the same key on each of them.

Configurable, and actually functional
Nothing is hardcoded. If an owner wants to change it, they can, without touching the code.

Chat, tab and placeholders
display.chat-mode defaults to auto, which is the polite setting: if a plugin that owns the chat format is installed (EssentialsChat, ChatControl, VentureChat, TAB, CMI, Carbon, HuskChat and the rest), KranciTags does not touch chat and expects %krancitags_tag% in that plugin's format instead - because two plugins rewriting the same message is how somebody's rank prefix disappears. Set it to on to format chat regardless, or off to never touch it. The startup log says, in plain words, which of the three is actually in effect.

Seventeen PlaceholderAPI placeholders cover the tag, its plain and raw forms, its id, rarity and category, the player's name with the tag, how many tags they own and may own, how many listings they have and may have, whether they own a given tag, and the server's totals.

Good to know (the honest limits)
Everything else on this page is exactly what the plugin does.

Spoiler: Commands - /tags, aliases /tag and /kt
/tags - opens the menu
/tags help [page] - paginated help; page 2 is the operator page
/tags shop [category] - the shop, by category
/tags market - what other players are selling
/tags mine - the tags you own: wear, star, extract, sell
/tags fav [tag] - stars a tag, or opens your starred ones
/tags set <tag> / /tags off - wear one, take it off
/tags info <tag> - price, rarity, duration, frames, where it is defined
/tags preview <tag> - shows it on your own name without buying it
/tags list [category] - the whole list in chat
/tags buy <tag|listing> - buys from the shop, or a market listing by its number
/tags sell <tag> <price> [currency] - puts one of your tags on the market
/tags cancel <listing> - pulls it back off
/tags listings - your own listings
/tags extract [tag] - turns a tag into a voucher item you can trade
/tags history <tag> - who has owned it before

Operator:
/tags give <player> <tag|random|random:<rarity>> [duration] - grant a tag, or draw one by rarity weight
/tags take <player> <tag> - take one away
/tags voucher <tag> [amount] [duration] [player] - signed vouchers for a crate or a giveaway
/tags create [id] - a six-question wizard, then it writes the YAML and opens the editor
/tags edit [tag] - edit a tag from a menu, writing the file
/tags delete <tag> confirm - remove it from its file
/tags admin - every tag including the disabled ones
/tags reload - reread every file
/tags problems - what is wrong with your config, one line per problem
/tags stats - counts, storage, integrations
/tags expire - return every listing that is out of time
/tags wizard - the first-start summary again

Everything tab-completes: tag ids, your own tags where that is what is wanted, categories, listing numbers, players, currencies and durations.

Spoiler: Permissions
tags.use - open the menu and wear a tag (default: everyone)
tags.shop - buy from the shop (default: everyone)
tags.market - browse and buy on the market (default: everyone)
tags.market.sell - put your own tags on the market (default: everyone)
tags.extract - make a voucher out of a tag you own (default: everyone)
tags.favourite - star a tag (default: everyone)
tags.history - see who owned a tag before (default: everyone)
tags.admin - grant, revoke, vouchers, reload, the problem list (default: op)
tags.create - make and edit tags in game; this writes config files (default: op)
tags.bypass.limits / tags.bypass.tax / tags.bypass.cooldown (default: nobody)
tags.tag.<id> - unlocks one tag, if you would rather use permissions than a price (default: nobody)
tags.* - everything (default: op)

Every node is declared in plugin.yml with an explicit default. Bukkit grants an operator any node that has not been registered, so leaving one out would silently let every op hand themselves any tag on the server.

Spoiler: Placeholders (PlaceholderAPI)
%krancitags_tag% - the tag, with its current animation frame; empty if they wear none
%krancitags_tag_plain% - the same with colours stripped
%krancitags_tag_id% - the id
%krancitags_tag_raw% - the configured text, without the animation
%krancitags_rarity% / %krancitags_rarity_id% - their rarity
%krancitags_category% - its category
%krancitags_name% - their name with the tag, using the tab format
%krancitags_owned% / %krancitags_owned_limit% - how many they hold, and the cap
%krancitags_listings% / %krancitags_listing_limit% - how many they have listed, and the cap
%krancitags_has_<id>% - yes/no
%krancitags_tags_total% - how many tags the server has configured
%krancitags_market_total% / %krancitags_market_tax% - listings on the market, and the tax rate

Requirements and installation
  1. Drop the jar into /plugins and start the server.
  2. Type /tags.
That is the whole installation. The first operator to log in gets three lines saying where the files are, whether this plugin or your chat plugin is formatting chat, and what to type next.

Tested
178 unit tests over the economy, the rounding, the expiry, the voucher signatures and the limits; an in-server probe of 384 checks, green on Paper 1.21.1, 1.21.11 and 26.2, then 334 more after a real restart - which is how the escrow, the sale journal and the crash recovery are tested rather than asserted; and 71 checks from a real mineflayer client on the menus, the tab list, the chat line, the vouchers in the inventory and the in-game tag wizard, from the outside. The build itself fails if a shipped file is missing from the jar, if a YAML key turned into an accidental boolean, if a message key the code asks for does not exist, or if anything third-party ended up bundled.

Developer API
Code (Text):
TagsAPI.get().ifPresent(tags -> tags.grant(player, "mythic", 0, "crate"));
Or, from a crate's reward list with no code at all: /tags give %player% mythic. The service is registered through TagsAPI and with the Bukkit services manager, and can list tags, read and set what somebody is wearing, grant and revoke, build and recognise vouchers and render the current animation frame. Four events: TagEquipEvent and TagPurchaseEvent (both cancellable, and the purchase price is writable, which is how a discount plugin hooks in), TagMarketSaleEvent and TagExpireEvent.

Support
Found a bug or have an idea? Join our Discord: discord.gg/VeNKPKnNVD
If KranciTags is useful to you, please leave a review - it is the fastest way to help the plugin, and every bug reported on Discord gets fixed.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

KranciTags - Shop, Market, Vouchers is a free Minecraft Java mod. Compatible with Minecraft 1.21, 26.1, 26.2, 26.3. Available via Spigot. Download it and open it directly in the game.

Explore more