Skip to content

Creating your own currency

Tanguygab edited this page Apr 24, 2020 · 4 revisions

What ?

Ever wanted to have your own custom currency for your server modpack where you can define the value of each bills/coins and with the names that you want ? Well now with Good Ol' Currency, you can !

How ?

Ah, you want to know how ? Well, yeah... Find yourself, I'm to lazy to write... I'm kidding, I will tell you x)

GOC's config file

First, you will need to find the Good Ol' Currency's config file.
If you are on Windows:

  • Press Windows + R
  • insert %appdata% and press enter
  • go in .minecraft and then config
  • finally, find currency.cfg and open it. Note that if you are using another MineCraft Launcher like MulitMC that creates different instances, you have to go in that instance's folder and you will have the config folder in it

Set Currency Names and Values

Now that you made it to the config file, you should have the "dynamic currency" section. CurrencyConfig

  • Right below, you have the "Currency Names" part, that's where you define the names of your currency items
  • And then you have the "Currency Values" where you can set the values to those names. If you count from 0, the config will have 0-11 default currencies. From here you can EDIT or REMOVE any of the default currency and their values as well as ADD your own currencies as I've done above.

Adding textures

  • In order to edit the textures of the default currencies or add textures for your new ones you must create a resource pack, luckily I've created one you can build off of below: https://www.dropbox.com/sh/or5um4jkza08252/AAAu02p_DLpUER1EmLbbRZI6a?dl=0
    Once you unzip the resource pack place it in your minecraft instance's 'resource pack' folder.

  • Navigate to currency resource pack > assets > modcurrency > models > item.
    This is where you have to add the model for the currency, I've left a model you can copy for each currency you add, all you have to do is edit its name to be 'currency_#' where the # is the currency number you are editing.
    {   "parent": "builtin/generated",   "textures": {     "layer0": "modcurrency:items/currency/currency_CHANGENUMBERHERE"   },

  • Open the model file with notepad and change the above redlined part of the model to be the same number as the name of the file. AddTexture

  • After that navigate into currency resource pack > assets > modcurrency > textures > items > currency and add your texture with the same name as the model we configured above, now you are ready to see your new currency in game! RessourcePackInGame->CustomTextureInGame

Wiki

1.0

  • Vending Machine
  • Exchange Machine
  • Upgrades

2.0

Clone this wiki locally