Updates
- Short website crash (update) no longer generates a warning in the console: the panel only warns after 5 consecutive minutes without a response, and without the HTTP code.
- Multiplier hook for StarBoosters (api/Multipliers): with it installed, the boosters multiply the earnings of this plugin.
- Fixed: /stareconomia reload (with online players, on Paper/Purpur) could show a red ConcurrentModificationException error in the console (Paper Async Command Builder). Coin commands now update all at once after the reload finishes.
- Fixed: factory currencies (money, cash and souls) returned alone with each restart or reload after being deleted. Now they are only created on the first run, when there is no currency yet.
- New: Console warning when no active currency is marked with "primary: true" (the primary currency, used by Vault and placeholders without id).
- Archived transaction logs no longer grow forever: the previous day is compressed (.log.gz, ~10x smaller) and logs older than 90 days are deleted. Configurable in log.compactar-previous-days and log.apagar-after-days (0 = never deletes).
- Website panel (/paineis/economia) much more complete: player profile with balance graph, entries and exits per day, who makes pix with, items that sell the most, boosters and when they entered/foi seen.
- New Players tab (all accounts with balance, how much they raised selling and sales) and the details of each item: who sold the most, sales per day and last sales.
- Live store prices (with StarLoja) compared to average sold.
- Actions on the website: giving, removing and setting balance, giving boosters and undoing transactions (pix undone on both sides), all with the name of the person who made them.
- Settings via the website: change the safe fields for currencies, config.yml and analise.yml without losing comments and reloading instantly.
- New options painel.permitir-actions, painel.permitir-config and painel.acao-maximum-value (come alone in config.yml).
- /stareconomia reload now also applies the top range change.
- At 1.8, the site panel shows the right item (color and variant) with the icon.
- Panel on the website (/paineis/economia): money in circulation, each transaction, what the staff added, removed or set, store sales (with the item, when StarLoja is on the server), anti-abuse analysis and the richest. Everything through the website, without entering the game.
- Alerts on the panel: staff giving money to their own account, staff operations above
painel.alerta-staff-valor, illegal item sold and the signs of automatic analysis (runs every 10 minutes). - New section
painelat config.yml (enters alone for those who already have the file). The server is recognized by IP and license port: no password required. - SQLite gained a read-only connection to the analysis and dashboard: the
/stareconomia analisarno longer holds the bench while reading.
- Your coins can now be used by others plugins through the id stareconomia-<coin> (e.g.: stareconomia-cash; the main one also as stareconomia): through the loader coin service 2.0.82 and as a personalized economy. See the API tab.
- Tycoon of each currency as tag of StarChat: {tycoon}, {tycoon_<coin>}, {tycoon_<coin>_name} and {tycoon_<coin>_symbol}
- Fixed: with tied balances (e.g.: everyone at 0) the tycoon tag changed owner with each message and announced "new tycoon" with 0 reais. Now balance 0 is not a tycoon and, in a draw, those who already were remain.
- Fixed: Old tycoon kept the tag forever when no one else qualified.
- Fixed: after updating with the server on, the PlaceholderAPI placeholders continued to respond to the previous version.
- The 1th place is awarded every 20 seconds (servers that share the same MySQL database).
- New /stareconomia analyze: list of suspects from the period (rare items sold in excess, such as netherite; impossible item with enchantment above the maximum or stack above the limit; gain and pix far above the server median; pix coming from many different players; staff giving money per command).
- New /stareconomia analyze <player>: x-ray with balance, inflows and outflows of each currency by origin, items that sold the most and who sent pix.
- Items sold on the server: what came out the most during the period (rare items first) and who sold each one.
- /<currency> analyze <player>: sale shows the icon of the item sold and clicking opens the detail (original item, quantity, price per unit, origin, date).
- Configurable limits in new analise.yml.
- add/remover/setar now records who ran the command in the history.
New: the way to write numbers now comes from the loader — 'Number format' in plugins/StarPlugins/config.yml (LETTER/NUMBER, decimal places, separators and suffixes). Choose once and it applies to all products; in an old loader the general.formato-value here continues to send.
Fixed: the top of the chat only showed the ranking ({format}) and disappeared with the header and footer of the message — valid for all messages written in a list.
New: messages.top-chat.quantidade chooses how many players appear at the top of the chat (default 10).
New: {self_top} in the top footer works in any currency. {self_top_money} and {self_top_<coin id>} (e.g. {self_top_coins}) are also valid.
New: /<currency> forcetop (nicknames: updatetop, rechargetop) forces the ranking to be updated on the fly — also updates the top NPC. admin permission.
Fixed: Opening the top menu filled the console with 'Couldn't look up profile properties for'. Heads now use the skin saved when the player logs in (skins.yml), without consulting Mojang.
Fixed: after updating plugin with the server turned on, /money (and other currency commands) continued to respond in the old version.
New: general.titulo-worlds-locked on config.yml — worlds where the money earning/perda title (and sound) does not appear, in the world:currency format (e.g. - minas:todos or - minas:money). The option comes alone in config.yml for those who already have the file.
Fixed: after updating StarEconomia through the loader, other plugins (StarMinas, StarTerrenos, stores via Vault...) continued talking to the old version and the money was not saved ('Skipped storage task' warning). Now the old version passes everything over to the new one. Restart the server once after installing this version.
- Values are now abbreviated in messages, menus and top: 1K, 1.5M, 2B (previously: 1,000,000.00). To return to the full number, use general.formato-value: full at config.yml.
- The '.00' disappears when the value is round: 0 instead of 0.00, 1,000 instead of 1,000.00.
- New suffixes for large numbers: K M B T Q QQ S SS O N D. In commands, 1kk = 1 million is also valid.
- {formated_value}, {full_value} and the _formated/_complete placeholders continue to show the entire number; {abbreviated_value} and _abbreviated remain abbreviated.
- Invalid values (NaN, Infinity, 1e5) are rejected in commands.
In the top in chat, {valor} and {self_top_money} accept format suffix: _formatado, _pure, _abbreviated and _complete.
The top lines (chat, menu and NPC hologram) accept placeholders of PlaceholderAPI and the {prefix} of the role.
Player head rankings no longer consult the internet profile when opening.
- Changes the magnata.simbolo emojis in the standard templates (money/cash/almas) to safe characters -- on old 1.8.x servers (old SnakeYAML, e.g. PandaSpigot) the emoji broke the parse of the entire file ('unacceptable character'), preventing the currency from loading. It only affects NEW installations -- anyone who already has the old file with the emoji needs to edit it manually (change magnata.simbolo in Economies/<currency>.yml for any common character and reload)
- CRITICAL FIX: BoosterManager referenced NamespacedKey/PersistentDataContainer directly (only exists from 1.12/1.14), breaking the entire onEnable on older servers (e.g. PandaSpigot 1.8.8) -- Vault, /stareconomia, NPCs and scheduled tasks stopped loading. Now use reflection with fallback for markers in lore, just like ChequeService already did
- Also fixes the click on the booster item using getHand()/EquipmentSlot directly (they only exist from the 1.9, secondary hand) -- it would break every right click of any player on servers 1.8. Now uses reflection like ChequeListener
- New StarEconomiaAPI.depositVenda(player, currency, value, itemStack, origin): credits a sale while saving the item together in the history -- the '/<currency> analyze' ranking now shows the actual item (icon, name, quantity) when the store reports via this API, instead of just a generic value. StarLoja (or any other) you just need to exchange the credit call for this one to win the item in sales
- Without changing anything, '/<currency> analyze' continues to work as before (generic credit detected via Vault, without item)
- Redesigned store editor: '/<currency> store editor' now first opens a configuration screen (size of each page, number of pages), then takes you to the item editor -- which now has real pagination (last line reserved for browsing, without the decorative glass border)
- New /<currency> analyze [player]: ranking of who sold the most (like StarValores, but in game), compatible with any store that credits through Vault (StarLoja, EconomyShopGUI-Premium etc) -- click on a player to see their latest sales (value, origin, date)
- New command /<currency> reset (ex: /almas reset), with mandatory confirmation (/<currency> reset confirm) -- deletes balance AND history of EVERYONE in that currency. It can only be used by the CONSOLE, on purpose (and is too irreversible to release in game)
- Kills now have a configurable quantity and chance per mob and for the player (PvP): 'abate.mobs.<TYPE>: {quantity, chance}' -- quantity accepted as a fixed number or range ('1-3', with decimals) drawn for each kill, chance (0-100) decides whether it gives or not (default 100 = always gives, as before). Old format (direct number) continues to work.
- Soul economy is already balanced: PvP at 20% chance, mobs scaling with difficulty (passives ~15-20%, common hostiles ~45-60%, difficult/raros ~75-90%, wither skeleton/elder guardian almost guaranteed) and quantity variation in all.
- Booster item is now an experience bottle, with better lore and placeholder {time}
- /stareconomia booster give/item now require an explicit time (e.g. 1h30m, 45s, 2d) with tab-complete suggestions -- permanent continues to be by permission only
- Fixes the booster item (XP bottle) being thrown/consumido due to the default behavior of Minecraft when the booster was invalid or deactivated, and improves the message in this case (now warns 'deactivated' instead of 'removed' when it is only active:false, and warns when giving the booster/item if it is deactivated)
- Fix /stareconomia not recognizing new subcommands (meta, booster) after updating plugin without restarting the server (/starplugins update) -- the admin command now forces the same Brigadier resync that the currency commands (/money, /almas etc) already did
- New booster system (boosters.yml): balance multipliers by currency or general, linked by permission (VIP), command/API (/stareconomia booster give) or consumable physical item (/stareconomia booster item) -- filters by type of credit and even by plugin origin (e.g. only EconomyShopGUI-Premium sales)
- New currency store (/<currency> store) with visual editor (/<currency> store editor -- drag the item, price/quantidade/categoria in chat), items saved in Stores/<currency>.yml (can also be edited by hand). Souls currency comes with the store turned on by default (Black Market), with a basic example of armor/ferramentas/maca/totem
- Main menu of each currency can now show active goal and active booster (with time remaining) in the information item, via the placeholders {meta_status}/{booster_status} (configurable in config.yml: menu-status)
- Adds alias 'eco' to command /money
- Earning title on screen is now disabled by default in souls currency (prevents spam with each kill)
- New fundraising goal system (metas.yml): each use of <coin> add counts towards the coin's active goal, notifies in the chat who contributed and triggers reward commands for everyone online when hitting the target. '-s' in the add does not count towards the goal. Admin: /stareconomia meta list|reset
- Top NPCs now use the StarPlugins core service (Citizens, FancyNpcs or fallback); type ARMORSTAND unchanged.
- Fixes 'storage task after the queue has already closed' warnings when reloading plugin: background tasks (top, purge, preload) are now silently ignored at shutdown, without losing critical writes.
News:
- Command shortcut to pay (command.atalho-pay): money comes with /pix ready as an example
Fixes:
- Placeholder/tag of the tycoon's name showed '-' when there was no tycoon defined yet, now it is empty
- Fixed command (/money, /cash, /almas...) running on the old instance of plugin after a hot reload by StarPlugins
- Cause: Brigadier (Paper/Purpur) only catches the command change at runtime after a resync, which was not being requested
- Effect: RejectedExecutionException in the console and the command failing for no apparent reason right after /starplugins menu or a reload
- Fixed migrated (or new account) balance, sometimes returning to 0: written to the bank, now they are always in order, in their own queue
- New currency 'souls': earned automatically by killing mobs, animals and players ('slaughter' feature, available for any currency)
- New tycoon placeholders: tag and symbol (%stareconomia_<id>_magnata_tag% / _simbolo%), only appear for those who are in 1 place
- Integration with nChat: tags {magnate}, {magnate_<id>}, {magnate_<id>_tag} and {magnate_<id>_simbolo} to use in the channel format
- Currencies configuration folder renamed from 'economies' to 'Economies'
Bug fixes that appeared after migrating to the loader: balance saving moved from the main thread to its own queue, so the server no longer crashes while recording.
- Fixed query blocking the Mojang API when another plugin requested a player's balance by name (via Vault): the server would freeze waiting for a response from the internet.
- The search now uses only the local cache, without network access on the main thread.
- Silent mode: put -s at the end of /money add, remove or set and the player does not receive a warning in chat or on the screen
- Subcommand subaliases by currency: /money add can become a shortcut for /money add (see command.subaliases in yml)
- The history returns to showing the plugin right where the money was spent, instead of "Vault"
- New maximum balance limit per currency (default 100 billion), configurable in general.max-balance
- The history menu updates itself while it is open
- Another line of items in the history menu
- Compatibility with older servers: menus and sounds work again from 1.13 to 1.21
- Internal stability fixes