0.1.4.0
If you're using paper and you're using a version below 1.21.4 you will need to use the Bukkit Core version of TNE. This may be updated in the future.
Major Changes
- Urgent exploit patch for item currencies.
Item Library and Currency Upgrades
- TNIL upgrades, which grants access to many new functions for item currencies including:
- Support for modern item functionality(max item stack, new custom item model data)
- Support for the following custom item plugin platforms as currency easily: SlimeFun, Nexo(Paper Only), Nova(Paper Only), Oraxen(Paper Only), ItemsAdder
- Support for setting a max stack size on items
- Support for customizing what checks are performed on item currencies to allow a more or less strict experience.
- Denomination file has changed to allow easier integration with plugins like slimefun, nexo, etc
Smarter Placeholders
All the placeholders have been revamped from the ground up to provide better placeholder functionality, and to align the code to the modular cross-platform philosophy of TNE.
- Added placeholder support for Sponge Servers
- Transaction Placeholders requires config Core.PlaceholderTransactions to be true
- Full list of placeholders can be found here: https://github.com/TheNewEconomy/EconomyCore/blob/main/placeholdersrevamp.md.
Smart Amount Parsing for Commands
It allows taking different amount formatting and transferring it into amounts for money commands in TNE. It can also parse the currency you want to use based on the symbol used.
What formats are supported:
- Scientific notation(1e10)
- Roman Numerals
- Random( random(1-6))
- Shorthand(1k)
- Combination of symbol and roman numeral
What Commands support Smart Amount Parsing?
- givemoney
- givebal
- giveallmoney
- giveallbal
- givenote
- +note
- addnote
- pay
- setmoney
- setbal
- takebal
- takemoney
- money take
- money deposit
- money give
- money giveall
- money givenote
- money note
- money pay
- money request
- money setall
- money take
- money withdraw
Key Word Amount
Some commands support key word amount parsing.
The words supported:
- all
- inv/inventory
Commands Supported:
- money deposit
- money note
- money pay
- money take
- money withdraw
Minor Changes
- Added a Placeholder rule to the CurrencyFormatter to parse placeholders
- Added <denom.denom> name rules which are alternatives to the material rules.
- Added missing translations for GUI icons
- Added ability to prevent crafting using item currencies.
- The new node is Item.BlockCrafting
- Added ability to enable/disable Shulkers and Bundles for item currencies per currency.
- The new node is Item.Shulker/Item.Bundle
Internals
- Added internal parsing system that can parse a variety of strings into numeric values and
currencies
- i.e. $10 will return the currency and numeric value of 10 which will assist with money-related commands
- supported formats: shorthand, roman numerals, random values, fractions and even a mix of the different formats
- Rearranged internals to split up loading in order to allow for custom currency loaders/saves.
- This also enables better stability and compatibility for other plugins.
- Rearranged internals to allow callbacks to be registered during the onLoad phase.
Fixes
- Fixed issue with minor.display being replaced in formats.
- Fixed issue with folia build not loading properly due to command issues.
- Fixed issue where mybal showed the incorrect currency format.
- Fixed issue when attempting to load a receipt file without the id field.
- Fixed issue where minor denomination weights weren't being recognized in some environments.
- Fixed issue where other languages weren't loaded properly inside TNE
- Fixed issue with renaming town accounts on vault unlocked(reported and tested by darksaid98)
- Fixed issue with shulkers getting renamed when taking/adding item currencies(reported by Quantura and tested by georgeorwells1984)
- Fixes for TNML
- Fixes related to the languages beyond default not being loaded for TNE
- Fix issue with click text for /money request command.
- Fix issue with currency files saving a duplicate one in a different file in some cases.
- Fix issue where accounts were loaded twice in some cases during startup.
- Fix issue where currencies were saved during loading twice.
Known Issues
- Transaction commands are kinda lame, and will be improved in the future.
- Need some form of currency commands for reloading/deleting currencies.
- Revamping the internals of the money calculations for items.
0.1.3.5
Minor Changes
- Added /tne reloaddb - reloads data from the database and clears the in-memory cache. ~~ doesn't save data ~~
- Added two new config options in data.yml to allow auto db reload after some minutes have passed when the first player joins.
- Added ability to use $balance in the Messages.Money.PlaceholderTopEntry message used in top 10 placeholder
- Added /money giveall command.
- Add config Core.Commands.Exclusions to config.yml in order to allow filtering out certain accounts from money commands.
Internals
- Updated VaultUnlocked Hook to 2.9.0
Fixes
- Fixed issue with currency note claiming
- Fixed VU issue with non player accounts(thanks to zeke).
0.1.3.4
Minor Changes
- Added Messages.Money.HoldingsMultiOther to messages.yml for /balo usage.
- Updated VaultUnlocked hook to work for latest release of 2.7.0
- Updated VaultUnlocked to support Towny usage of VU
Fixes
- Fixed issue with console commands throwing an error
- Fixed issue with SQL Drivers not initializing correctly.
0.1.3.2
Major Changes
- Added secret addition that some servers may find useful.
Minor Changes
- Added new currency type, experience-level, which uses experience levels instead of experience itself.
- Added message that is sent when currencies are saved from menu.
- Added message that is sent when MyECO is closed, but currencies weren't saved.
- Added configuration to currencies that will determine if the currency is shown in balance commands.
- Added new permissions to shared accounts; TRANSFER_OWNERSHIP and DELETE
- Added ability for messages from some money commands to be sent to players on different servers through bungee/redis/velocity
- Added $pos placeholder for TopEntry message.
- Added configuration to enabled/disable GUI alternatives to the chat-based commands.
- Added <shortenj> and JPrefixes for japanese number formatting. Requested by okarradon from discord.
- Added config Options.Sync to currencies. This allows you to control if a currency gets synced or not.
- Implemented Enderchest config for item currencies
- Various changes to icons for currency editor GUI
- Added PAPI support to messages.
Internals
- Various improvements to the module system
- Added the ability to require a specific TNE version
- Made it so commands are actually loaded properly
- Made it so callbacks are actually loaded/registered properly
Fixes
- Fixed issue with Folia build that got messed up when implementing Components
- Removed luck perms context class completely since it was unused.
- Fixed issue with bundles not removing item currencies properly
- Fixed issue with PotionData on 1.21 servers since spigot changed an API method from NotNull to Nullable...
- Fixed issue with Banners on 1.21 servers, same as above.
- Fixed issue with callbacks not being called.
- Fixed issue with towny/factions accounts not being added.
- Fixed incorrect message being sent for Insufficient funds.
- Fixed critical error with item currencies
Notes
- Bad API Design from Spigot/Paper: "changing an API method from NotNull to Nullable..."
0.1.3.1
Supporting TNE
I have decided to launch a GitHub Sponsors page for those who are able to provide support for TNE development! You may find it here: https://github.com/sponsors/creatorfromhell
This GitHub Sponsors page will be used to help fund development and maintenance costs. As I start to create modules for TNE, I'll add access to them for Sponsors!
Minor Changes
- Added /transactions as shortcut for /transaction history
Fixes
- Fixed issues with the myBal menu
- Fixed issues some users were having with vault/paper connections on Paper with PaperCore
Full Changelog: https://github.com/TheNewEconomy/EconomyCore/compare/0.1.3.0...0.1.3.1
0.1.3.0
Major Changes
- Added support for VaultUnlocked
- Added support for 1.21
- Currency Editor/Creator
- Allows server owners/admins to modify, and create currencies and denominations.
- In the future this will allow for any configuration to be modified through the menu
- MyBal Menu
- Allows for players to check balances and perform actions
- Switched to BoostedYAML for configurations
- This will allow for auto-updating configs when a change is implemented in future versions.
- Transaction logging reimplemented
- This allows logging previous transactions and keeping track of what exactly happened when.
- Added support for mini messages in currency item display names and lore lines.
Minor Changes
- Remove sysout statements that were left in for debugging.
- Added config option to currencies for filling ender chest before dropping items on ground if inventory is full.
- Added messages to messages.yml for currency dropping on ground/going into ender chest if main inventory is full.
- Added a new config node, DisabledRegions, which allows server owners to disable economy commands in specific regions.
- Added /money givenote aka /givenote, which lets administrators create money notes for players.
- Added the ability to add an alternative name for worlds in world messages.
- This is in Messages.yml under Messages.Worlds.* and the format is world name: "replacement"
- Added ImportItems option support to currency YAML files in order to enable importing items from player balances for new item currencies
Internals
- Added CurrencyDropCallback for developers to listen and disable currency item drops.
- Fixed issue with TNIL and SemVer throw an error because the type was left on Strict vs loose
- Removed Treasury Support due to lack of progress/VaultUnlocked support addition.
- Switched materials to Namespaced keys, this provides more support for modded items in hybrid servers.
Fixes
- Fixed UpdateChecker.
- Fixed issue with restricted transaction check causing issue for opped players.
- Fixed issues with Bungee/Velocity from incorrect jar version on spigot page.
- Fixed issue with namespace key not being present for crafting recipes.
- Fixed issue where money notes when claimed in stack took all notes instead of 1
Notes
- Going forward(post 0.1.3.0 full release), the target version for TNE will be 1.19+, supporting legacy servers will be limited to bug fixes.
0.1.2.9
Minor Changes
- Made messages in HoldingsResponse.java translatable from messages.yml
- Changed payment result for payment that would send account negative use insufficient versus less than minimum message.
- Added permission node to restrict transactions for accounts for specific currencies.
Internals
- Added negative balance support to internals for possible future release.
Fixes
- Empty line in messages.yml, don't send
- Fixed issue with calculating change in item currencies
Initial Modrinth Release
Initial Modrinth Release.