Lightman's Currency

Lightman's Currency

Mod

A simple currency/economy mod that allows you to safely trade in a multiplayer environment.

Client and server Economy

29.3k downloads
34 followers
Createda year ago
Updateda month ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...
  • Added Tinker's Construct wood compat for the 4 slime woods, and the two lava/blaze plank types.
  • Fixed an issue where quark's bamboo block backport wood type didn't properly generate log-related recipes.

-Reworked slot accessors to fix crash in 1.19.2. Now uses access transformers instead of mixins.

  • Added enchantments.maxTickDelay config option with a default value of 200 ticks/10s. Money Mending & Coin Magnet will now trigger at this frequency when the server is overloaded with other work.
  • Wallet can now be equipped in a trinkets slot if trinkets is installed. Any existing wallets should be automatically moved into the trinkets slot in each players first in-game tick.
  • Updated config system. Common config now loads instantly so that its config options can be applied to villager trade hooks that occur before the server starts.
  • Upgraded wallet slot (when curios is not present). It is now a proper item slot in the menu instead of some screen event listeners pretending to be a slot.
  • Emeralds are now their own coin chain by default, and can be stored in wallets or used as money for traders.
  • Will not be automatically added if a MasterCoinList config file already exists.
  • Chocolate Coins now have proper Coin Pile & Coin Block variants.
  • Added lolcatz translation for coins.
  • Supplementaries Red Merchant Menu now fills coins from your wallet into villager trade slots when a trade is selected.
  • Fixed an issue where it didn't properly default the "main" coin chain for money/price selection correctly.
  • Fixed an issue where coins would not be automatically filled into a villager trade if one of the trade items wasn't a coin (i.e. librarian coin + book trades)
  • Fixed an issue where the "Access Portable Terminal/ATM" key-binds still functioned even when you were in a menu.
  • Fixed an issue where the magical wallet advancement was granted when you obtained any wallet.
  • Fixed an issue where Supplementaries never actually ran their RedMerchantTradesEvent. Trades are now manually changed via mixin when needed.
  • Fixed an issue where the Tax Collector list command would not display the dimension properly.

-Fixed a crash that occurred if a mobs spawn reason was ever null.

-Fixed an infinite loop that occurred if a player somehow didn't have a wallet handler.

-Added new Golden Tickets. Comes with Master/Pass/Ticket/Stub variants. Can be crafted in the same way as normal tickets, but require gold ingots to craft instead of paper.

-New TicketData class added to the API, allowing new ticket types to be created and compatible with the Paygate & Ticket Kiosk systems.

-Added enchantments.moneyMendingInfinityCost config option, allowing server owners to define an additional cost to repair items with the Infinity enchantment.

-Network Trader buttons now have tooltips detailing the traders trade count, and how many trades are out of stock (if any).

  • Will need to be manually added to traders from other mods (such as LC Tech), but will not break compatibilty.

-Fixed an issue where the ejection menu button didn't work.

-Fixed an issue where the default MasterCoinList generates the wrong plural/initial translation keys for coin piles/blocks.

-Fixed a crash that sometimes happened when removing a missing trader from the world.

-Fixed several issues related to trader interfaces comparing trades incorrectly, resulting in it blocking and/or allowing trade changes that it should not.

-Tweaked several instances of price and item difference warnings for trader interfaces. Text is now "gold" if it's a beneficial change, and "red" if it's a detrimental change.

  • Will need to be fixed manually for trades from other mods (such as LC Tech), and will not work correctly for those traders until they are patched.

-Added new Anarchy Mode config option in the server config, removing all block break protection from the mod. Use with caution!

-Blocks broken illegally now send a notification to their owner (or team admins if owned by a team). Message changes based on the configured anarchy and/or ejection handling state.

-Renamed and reformatted the villager trade overrides. They now allow you to define regional item replacements (replace emeralds with coins in plains, but with chocolcate coins in snowy areas, etc.), as well as allowing you to define the cost and result items seperately.

  • Default format still works for those that don't wish to utilize these new features.
  • By default chocolate coins will now be used for villagers in snowy regions.

-Re-textured the coins, coin piles, and coin blocks.

-Tweaked ticket tags and recipes in preparation for an upcoming ticket update.

-Advancements are now generated in code. Hopefully I didn't mess them up somehow :)

-Added Farming for Blockheads market compatibility. If coins are set as an items price, clicking on the trade will now move coins from your wallet into the slot.

-Tweaked the Coin Mint recipe JEI plugin.

-Added config options to allow bank accounts to earn interest.

-Enchantment ticks no longer run on their own separate threads, as this seems to be an inefficient solution to solving lag issues.

-Added enchantments.tickDelay config option to the server config so that server owners can increase or decrease the tick delay to improve server performance.

-Enchantment ticks now only run for players and require that they aren't in spectator mode, instead of attempting to run for all living entities.

-Added EnchantmentUtil class to the API so that other mods may manually run Money Mending and/or Coin Magnet ticks for any modded entities that support them.

-Fixed an issue where coins from side-chains incorrectly calculated their upper exchange rates. Should not have had any lasting effects as they can't actually be exchanged upwards, but their tooltips will now be accurate.

-Fixed an issue where coin values could not load and/or handle values greater than Int.MAX_VALUE of internal values. Values will no longer overflow and/or be lost. Should also increase the efficiency of coin value math, reducing lag elsewhere.

-Fixed an issue where modded auction stands (and some newer vanilla ones) didn't drop their items when mined.

External resources



Project members

Lightman

Owner


Technical information

License
Apache-2.0
Client side
required
Server side
required
Project ID