[Mod] money3 [git] [money3]

User avatar
luk3yx
Member
 
Posts: 51
Joined: Sun Oct 21, 2012 18:14
Location: Earth
GitHub: luk3yx
IRC: luk3yx
In-game: luk3yx

[Mod] money3 [git] [money3]

by luk3yx » Tue Jun 11, 2019 00:19

money3


This is a fork of money2 that uses more
modern APIs such as mod storage and is fully backwards compatible with
money2 (you can upgrade from money2 nicely, however you can't downgrade
again).

Chat commands are similar to the ones documented on the original money mod.

License
This mod is licensed under the GNU LGPL 2.1+.

Installation
You can clone the git repository with git clone https://git.minetest.land/luk3yx/money3.git, or download a zip or tar.gz file.

This mod may work with the locked_sign mod the same way money2 does, however locked_sign is rather outdated and I cannot guarantee compatibility.

Config settings
These can be set in config.lua or minetest.conf.

  • money3.initial_amount: The amount of money new players get. Default: 0.
  • money3.currency_name: The text appended to the currency when displaying it.
    Default: cr.
  • money3.enable_income: Pays players 10cr every in-game day.
    Default: true if creative mode is disabled, otherwise false. If you are using the currency mod, it is probably a good idea to set currency.income_enabled to false. If you use an outdated version of the currency mod where this setting does not exist, the automatic income system is automatically disabled.
  • money3.income_amount: Changes the amount of income players get paid. If income is not enabled, this does nothing.
  • money3.convert_items: A lua table (that can also be nil to disable)
    similar to the following (default) one:

Code: Select all
{
    gold = { item = "default:gold_ingot", dig_block="default:stone_with_gold",
        desc='Gold', amount=75, minval=25 },
    silver = { item = "moreores:silver_ingot",
        dig_block="moreores:mineral_silver", desc='Silver', amount = 27,
        minval=7}
}
```
git_undo() { [ -e .git ] || return 1; local r; r=$(git remote get-url origin); cd ..; rm -rf "$OLDPWD"; git clone "$r" "$OLDPWD"; cd "$OLDPWD"; }
 

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 2 guests