Mods / Coinage

Category: #Cosmetics #Crafting #Utility
Author: Xel
Side: Both
Created: Apr 9th 2022 at 2:24 AM
Last modified: Dec 3rd at 4:04 AM
Downloads: 34003
Follow Unfollow 203

Latest file for v1.20.0-pre:
coinage-1.12.0.zip 1-click install


Adds customizable coins and coinmaking tools to the game.

  • Trussell and coin punches
  • Small coining anvil
  • Stumps of all types to hold your anvil
  • 3 sizes of square and circle coins
  • A bag to hoard coins in
  • A manual coin press and a machine to turn it

By default everyone can make new coin designs, but you can also set it so that players require a specific privilege to be able to use the coin designer.


Instructions
Start by crafting a trussel, then add your custom coin design to it. Trussel GUI
Then craft metal planchets to imprint your design on. You can pick the size and shape of the finished coin using the punch. Planchet crafting recipe
Finally, hammer your custom design into the planchets to mint your own coins. Minting coins

Don't forget to copy your trussel before it breaks - put a blank one in the log to hammer your old design onto it.

Coins and planchets can be smelted back into ingots. The design can be removed from a trussell by chiseling it off.


To automate the minting of coins, make a coin press and a mechanical minter.

  1. Place the coin press in front of the minter so that they are connected by a belt, and connect the minter to your mechanical power network (windmills, etc).
  2. Add your trussel and anvil to the coin press and load a stack of planchets into the minter
  3. Come back to a pile of minted coins - put a hopper down to catch them :)

Configuration:
CreateCoinPrivilege Optional privilege that players will need to be able to design a new coin.
RequiredHammerToolTier Minimum tool tier of the hammer to mint a coin
HammerCooldownMilliseconds Minimum time between each hammer strike

 

 

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.12.0 381 Dec 3rd at 4:04 AM Show coinage-1.12.0.zip Install now
v1.11.0 363 Oct 24th at 2:12 AM Show coinage-1.11.0.zip Install now
v1.10.2 5987 Jul 27th at 2:27 AM Show coinage-1.10.2.zip Install now
v1.10.1 7343 Feb 3rd at 1:03 AM Show coinage-1.10.1.zip Install now
v1.10.0 1004 Dec 31st 2023 at 3:37 PM Show coinage-1.10.0.zip Install now
v1.9.0 1446 Dec 2nd 2023 at 3:47 PM Show coinage-1.9.0.zip Install now
v1.8.1 2385 Oct 14th 2023 at 9:36 PM Show coinage-1.18.1.zip Install now
v1.8.0 704 Sep 29th 2023 at 5:14 PM Show coinage-1.8.0.zip Install now
v1.7.0 2537 Aug 16th 2023 at 1:11 AM Show coinage-1.7.0.zip Install now
v1.6.1 1828 Jul 9th 2023 at 6:14 PM Show coinage-1.6.1.zip Install now
v1.6.0 657 Jun 22nd 2023 at 12:44 PM Show coinage-1.6.0.zip Install now
v1.5.1 344 Jun 17th 2023 at 1:37 AM Show coinage-1.5.1.zip Install now
v1.5.0 772 May 27th 2023 at 2:41 PM Show coinage-1.5.0.zip Install now
v1.4.0 230 May 26th 2023 at 4:29 PM Show coinage-1.4.0.zip Install now
v1.3.0 1479 Apr 8th 2023 at 12:26 AM Show coinage-1.3.0.zip Install now
v1.2.0 405 Apr 2nd 2023 at 9:40 PM Show coinage-1.2.0.zip Install now
v1.1.0 262 Mar 22nd 2023 at 12:47 PM Show coinage-1.1.0.zip Install now
v1.0.2 1335 Sep 26th 2022 at 2:03 AM Show coinage-1.0.2.zip Install now
v1.0.1 540 Aug 11th 2022 at 3:10 PM Show coinage-1.0.1.zip Install now
v1.0.0-pre.9 584 May 28th 2022 at 5:07 PM Show coinage-1.0.0-pre.9.zip Install now
v1.0.0-pre.8 274 May 27th 2022 at 9:48 PM Show coinage-1.0.0-pre.8.zip Install now
v1.0.0-pre.7 1060 May 26th 2022 at 1:36 AM Show coinage-1.0.0-pre.7.zip Install now
v1.0.0-pre.6 378 May 5th 2022 at 12:36 AM Show coinage-1.0.0-pre.6.zip Install now
v1.0.0-pre.5 296 May 3rd 2022 at 12:16 PM Show coinage-1.0.0-pre.5.zip Install now
v1.0.0-pre.4 369 Apr 30th 2022 at 2:04 AM Show coinage-1.0.0-pre.4.zip Install now
v1.0.0-pre.3 374 Apr 19th 2022 at 12:42 PM Show coinage-1.0.0-pre.3.zip Install now
v1.0.0-pre.2 349 Apr 9th 2022 at 10:57 PM Show coinage-1.0.0-pre.2.zip Install now
v1.0.0-pre.1 317 Apr 9th 2022 at 2:27 AM Show coinage-1.0.0-pre.1.zip Install now

50 Comments (oldest first | newest first)

💬 Eforen, Oct 28th at 12:48 AM

does this provide a way to protect against someone forging the currency?

💬 RagondinMan, Sep 11th at 5:51 PM

can this be added mid save?

💬 Hexis, Aug 19th at 12:29 PM

we recently had this mod added to our server and it has quickly grown to be loved and used. just wanting to thank you for making a cool mod :D

💬 SoulReaperz, Jul 27th at 7:48 PM

Xel
is there a list somewhere of the Privilege codes?
and will putting a createcoinprivilege code stop players from crafting blank coins aswell?

is there a setting to stop the creating of the planchets? or a setting to prevent creating of a coin punch


need that kind of setting to make the coins uncraftable
solved my issue by breaking the crafting recipe for the punch

💬 XelAuthor, Jul 16th at 10:11 PM

If you set root as the privilege, everyone will need the root privilege to be able to make coins.

💬 GreenM4N4, Jul 16th at 1:11 PM

What are the options for CreateCoinPrivliege in the config? Root does not seem to allow everyone to make new coins.

💬 Quiche, Jul 16th at 1:18 AM

Hi there! Having an error when installing coinage and first loading into a server. No loading errors occur until I restart the MP server. Removing coinage causes no errors to appear even the first time. Tested significantly and results are consistent.

Current Mods are: Aculinary 1.15, Balancedthirst 0.0.30, Bricklayers 2.5.5, coinage 1.10.1, expanded 2.6.3, Expanded Foods 1.6.9, Herbarium 1.2.0, Kemono 0.0.18, Vinconomy 0.2.10, Wildcraft Fruit 1.2.0, Xlib 0.8.6, Xskills 0.8.8

Running on 64 bit Windows 10.0.19045.0 with 31904 MB RAM
Game Version: v1.19.8 (Stable)
16/07/2024 02:13:54: Critical error occurred
Loaded Mods:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'The ThreadLocal object has been disposed.'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Vintagestory.GameContent.BlockClutterBookshelf.RandomType(String variant) in VSSurvivalMod\Lore\ResoArchives\BlockClutterBookshelf.cs:line 276
at Vintagestory.GameContent.BlockClutterBookshelf.GetTypeProps(String code, ItemStack stack, BEBehaviorShapeFromAttributes be) in VSSurvivalMod\Lore\ResoArchives\BlockClutterBookshelf.cs:line 150
at Vintagestory.GameContent.BlockShapeFromAttributes.GetLightHsv(IBlockAccessor blockAccessor, BlockPos pos, ItemStack stack) in VSSurvivalMod\Block\BlockShapeFromAttributes.cs:line 582
at Vintagestory.API.Common.Block.GetHeldItemInfo(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 2235
at Vintagestory.GameContent.BlockShapeFromAttributes.GetHeldItemInfo(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo) in VSSurvivalMod\Block\BlockShapeFromAttributes.cs:line 648
at Vintagestory.GameContent.GuiHandbookItemStackPage..ctor(ICoreClientAPI capi, ItemStack stack) in VSSurvivalMod\Systems\Handbook\Gui\GuiHandbookItemStackPage.cs:line 33
at Vintagestory.GameContent.ModSystemSurvivalHandbook.onCreatePagesAsync() in VSSurvivalMod\Systems\Handbook\SurvivalHandbook.cs:line 79
at Vintagestory.GameContent.GuiDialogHandbook.LoadPages_Async() in VSSurvivalMod\Systems\Handbook\Gui\GuiDialogHandbook.cs:line 418
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

as well as this error log after clearing cache and moddata for coinage:
Running on 64 bit Windows 10.0.19045.0 with 31904 MB RAM
Game Version: v1.19.8 (Stable)
16/07/2024 02:25:14: Critical error occurred
Loaded Mods:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'The ThreadLocal object has been disposed.'.
at System.Threading.ThreadLocal`1.GetValueSlow()
at Vintagestory.API.Common.CollectibleObject.UpdateAndGetTransitionStatesNative(IWorldAccessor world, ItemSlot inslot) in VintagestoryApi\Common\Collectible\Collectible.cs:line 2507
at Vintagestory.API.Common.CollectibleObject.UpdateAndGetTransitionStates(IWorldAccessor world, ItemSlot inslot) in VintagestoryApi\Common\Collectible\Collectible.cs:line 2455
at Vintagestory.GameContent.BlockContainer.UpdateAndGetTransitionStates(IWorldAccessor world, ItemSlot inslot) in VSSurvivalMod\Block\BlockContainer.cs:line 207
at Vintagestory.API.Common.CollectibleObject.AppendPerishableInfoText(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1814
at Vintagestory.API.Common.CollectibleObject.GetHeldItemInfo_Patch0(CollectibleObject this, ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo)
at Vintagestory.API.Common.Block.GetHeldItemInfo(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 2257
at Vintagestory.GameContent.BlockContainer.GetHeldItemInfo(ItemSlot inSlot, StringBuilder dsc, IWorldAccessor world, Boolean withDebugInfo) in VSSurvivalMod\Block\BlockContainer.cs:line 258
at Vintagestory.API.Common.ItemStack.GetDescription(IWorldAccessor world, ItemSlot inSlot, Boolean debug) in VintagestoryApi\Common\Collectible\ItemStack.cs:line 400
at Vintagestory.GameContent.GuiHandbookItemStackPage..ctor(ICoreClientAPI capi, ItemStack stack) in VSSurvivalMod\Systems\Handbook\Gui\GuiHandbookItemStackPage.cs:line 40
at Vintagestory.GameContent.ModSystemSurvivalHandbook.onCreatePagesAsync() in VSSurvivalMod\Systems\Handbook\SurvivalHandbook.cs:line 79
at Vintagestory.GameContent.GuiDialogHandbook.LoadPages_Async() in VSSurvivalMod\Systems\Handbook\Gui\GuiDialogHandbook.cs:line 418
at Vintagestory.API.Common.TyronThreadPool.<>c__DisplayClass12_0.<QueueTask>b__0(Object a) in VintagestoryApi\Common\TyronThreadPool.cs:line 120
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Thank you!

💬 SiiMeR, Jul 6th at 5:30 AM

I investigated Jenpai's report, and it seems like coins that have never been placed on the ground don't have the temperature and temperatureLastUpdate attribute set on them, which probably makes the game think that they are unmixable stacks of coins (even though the ID and material could be same) 

💬 Jenpai, Jul 6th at 2:17 AM

Stalls with coins that have been placed on the ground are not accepted by venders who's coins have never been placed on the ground. chaos ensues.

💬 Michael00181, Jun 24th at 5:03 AM

Do the trader NPCs accept coins or is this soley for use on rolepalying servers?

💬 SoulReaperz, Jun 23rd at 6:23 PM

is there a way to add the coins to the loot drop tables? ive been trying to get it added here for the last 5 hours and nothing i do seems to be working

got it all figured out, had to get a mod made to patch it into the loot tables, its all working now!!!

also works on 1.19.8 if anyone was wondering

💬 Klos, Jun 9th at 8:05 AM

Is there a way to increase stack size of coins? Would love to up to 500 or 1000.

💬 Azraile, May 15th at 4:34 AM

can you add the option for a cutting die that changes the shape and size of the coin or would that be to complicated?

Because it would be awsome to have coins that are diffrent shapes or have holes in them

💬 DilanRona, Apr 18th at 4:40 PM

Great mod. Thank you for making it.

💬 Dnd, Mar 29th at 4:25 AM

What do you enter for the config option CreateCoinPrivilege?

💬 Kara, Feb 3rd at 12:02 AM

Might you be able to make a config option, to prevent the melting down of coins?

💬 Kirona, Feb 1st at 6:57 AM

For some reason the coin press machines all want an uncraftable variant of plank blocks, which has made them inaccessable without spawning them in via creative mode. Have they been disabled on purpose or something?

EDIT: Specifically it's wanting the vertical plank block rather than the normal (horizontal) one that can be crafted.

💬 MimiKitty, Jan 19th at 9:34 PM

I reported the bug on github and now it is fixed in client! no more flashing/disappearing stacks!

💬 MimiKitty, Jan 14th at 3:38 AM

love the mod! 1 issue, while placing any of the coins or planchets the pile flashes on and off an eventually stops rendering

edit: seems this is a vanilla bug related to too many cubes rendering in a pile. hopefully it's fixed soon or someone fixes it!

💬 Cpt_C0nfus3d, Jan 9th at 7:44 PM

how can I make it so that only admin and mod can press coins and not x any?

💬 Tetsune, Nov 28th 2023 at 6:00 PM

Is there a possibility to add a way to recycle Trussels back to blank, or at least to nuggets?

💬 Adelion, Nov 25th 2023 at 8:02 AM

by stacking coins on ground they have temeprature attributes and are not the same coin as usally. for shops is that not really good.

 

💬 NMND, Oct 14th 2023 at 7:48 PM

VS: 1.18.15
Coinage: 1.8.0

Server start error: "Failed resolving a blocks block drop or smeltedstack with code coinage:pressautofeed-ns in Block coinage:pressautofeed-north" (same for east south and west).

Plz update or advise!



EDIT: I got helped quickly and Xel updated the mod only a bit later. Cheers for the effort! <3

💬 XelAuthor, Sep 19th 2023 at 1:56 AM

Mallia Hold the punch and press f to change the shape/size of coin it will make, and all versions 1.5.0+ have iron punches

💬 Mallia, Sep 17th 2023 at 8:38 PM

How do you make large and/or square coins? When i check the menu I only see the small round punch! I'd also consider allow crafting using iron since its hard enough to punch softer metals.

💬 Milk, Aug 18th 2023 at 12:54 AM

I think it'd be cool if we could mint coins like the ones from Wings of Honneamise; they're about the size and shape of a pen. Basically just a small thin metal rod.

💬 Grieval, Aug 17th 2023 at 12:58 AM

Will always be a favorite mod of mine

💬 Moon_Dew, Jul 14th 2023 at 11:32 PM

Do traders take coins, or is this more for a multiplayer economy?

💬 MonyClair, Jul 1st 2023 at 9:07 PM

Will this mod be updated to 1.18.6 soon ?

💬 Ruyeex, Jul 1st 2023 at 2:31 AM

Can you include money parchment (paper) here?

💬 Moon_Dew, Jun 25th 2023 at 7:37 PM

You know what's missing?  Coin piles and stacks.  Sacks are nice, but not as impressive for a treasury as big piles of copper, silver, and gold.  Let us unleash our inner dragon and let us build a hoard!

💬 Nicodemus, Jun 22nd 2023 at 3:18 PM

Oh and also, if it's possible, the type of hammer for trussel copying :p

💬 MonyClair, Jun 22nd 2023 at 2:16 PM

Thank you Xel !

Sorry if the answer was so easy to find about trussel copying.

💬 Nicodemus, Jun 22nd 2023 at 1:13 PM

Hi! Really cool mod ;) Would it possible, in the same idea of the admin-made currencies, to add tool tier options in the config file for the different recipes? And also for the type of hammer at the end of coin creation?

💬 XelAuthor, Jun 22nd 2023 at 12:47 PM

MonyClair I've added a config file for you. Also, trussels are copyable. There are instructions in the handbook - put a blank trussel where the planchets usually go in the log.

💬 MonyClair, Jun 21st 2023 at 8:12 PM

Hello.

Thank you for your mod, its absolutely what I was loocking for to build a economic system.

 

I'm sorry, but there is a problem with this mod.

When you need an huge amount of coin from the same ID and your trussel is gone after 1200 use, the next trussel with same name and  coin symbol (£ or € etc ...) wont stack together.

Another issue is about config file that doesnt exist. On the current server where i'm playing we are loocking to create a more versatile currency only controled by the admin (because gears value is overrated sometimes and cant be divisible).

Sadly trussels arent infitite to use and there isnt a config file to block the craft and prevent player to make theyr own currency.

Any way to update the mod about this ?

💬 Ruyeex, May 26th 2023 at 6:26 PM

How about coins made of electrum.

💬 XelAuthor, Apr 23rd 2023 at 9:29 PM

Current version also works on 1.18 stable

💬 Miloski, Apr 23rd 2023 at 7:33 PM

when 1.18 stable

💬 Ruyeex, Apr 5th 2023 at 11:38 PM

Can you add nickel and cupronickel coins?

💬 XelAuthor, Mar 30th 2023 at 12:51 PM

@Ruyeex this mod does not include any coin designs, those are stored by the server the mod is installed on

💬 Ruyeex, Mar 29th 2023 at 2:17 PM

Can you add all the created coins when we need it?

💬 slartibartfast, Mar 23rd 2023 at 6:23 PM

For this mod to be particularly useful for me (when single player) would be for every trader to want to exchange x number of coins for gears.

💬 Maxwell, Jan 2nd 2023 at 5:42 PM

Is there a public git repository for this? Would love to help get it updated!

💬 Belarrius, Apr 30th 2022 at 10:38 AM

Hi! Omg i'm so sorry! It's because claims mod have the same problem on Linux! Ahahah and it's fixed! Thanks!

💬 XelAuthor, Apr 30th 2022 at 1:50 AM

@Belarrius This mod stores coins in VintagestoryData/ModData/coinage/database.db. Is your question about https://mods.vintagestory.at/claims?

💬 Belarrius, Apr 24th 2022 at 3:00 PM

Hi Xel!

I have a problem on Linux Server with your mod because of the Windows Path.

In "claims.json" I put path DB and json "Val": "/home/vintsserver/.config/VintagestoryData" and as db name "Val": "claims.db" the file created is "VintagestoryData\claims.db" on "/home/vintsserver/.config" and not "claims.db on /home/vintsserver/.config/VintagestoryData"

 

If I put "/home/vintsserver/.config/VintagestoryData/" with the slash "/" the file is located at "/home/vintsserver/.config/VintagestoryData" but called "\claims.db" instead of "claims.db"

 

I hope you understand with my bad english

Best regards,

💬 Filaon, Apr 18th 2022 at 3:31 PM

Good day Xel, can i make Russian translation for your mod? 

If so, my Discord Filaon#9663

💬 XelAuthor, Apr 18th 2022 at 2:44 AM

The coin punch has 6 tool modes, 1 for each size/shape of planchet

I cant figure out how to make the handbook recipes for planchets show correctly, since I dont think theres any way to make them use item attributes and itll probably complain if theres multiple recipes that are identical except for item attributes

For counterfeit detection: I forgot that attributes are only visible with developer mode on so ill probably add something to display the coin id somewhere else. Having the ingame date the coin was minted be displayed would also be cool

As for all tools requiring steel, its the highest tier tool metal so I just went with that and didnt add steel coins. Adding different tiers of coin punch would be neat but i am lazy

💬 WesCookie, Apr 14th 2022 at 7:48 PM

Very interesting concept for a mod! If I may: a few questions and/or suggestions?

Can you currently make planchets of different sizes or shapes? I wasn't able to figure out if that was a possibility. Also, the handbook recipe says using the punch on plates makes square planchets, but I got round ones instead (copper, if material matters).

Is there any plans for a built in method to help mitigate counterfeits, such as "dating" or "signing" a coin in its description? As of right now, it seems other players can create identical Trussels and make completely identical coins and it would be impossible to tell if a counterfeit is a counterfeit unless there's a misplaced pixel or something.

I see currently all the tools require steel to be made, however I was wondering if down the road we could be able to make Trussels, Dies, and Punches from other materials in the future? Perhaps each one can only punch metals lower than its "tier" (similar to tool tiers for pickaxes)?

(edit comment delete)