[Mod] Money (or Economy) [201207] [money]
the update didnt help me sorry. So i decided to go a different route. I modified your original locked sign method so i can buy and sell to the same chest, where the chest can be hidden.
Download - includes modifications to the locked sign and money mod
Pictures:
Sign and chest setup
Sign Text setup
Sign Output
Sample Setup
Read me setup:
The chest has to be the 5th box below the Buy sign, and 7th box below the sell sign.
Examples:
Buy Dirt setup "Buy Dirt| B default:dirt 1 4"
shows as "Buy Dirt"
Sell Dirt setup "Sell Dirt| S default:dirt 1 2"
shows as "Sell Dirt"
How it works:
"Message shown| B/S itemname quantity price"
Message Shown = The message that the player will see when looking at the sign.
| = the symbol that splits the string up.
B/S = Enter in either B or S, B=Buy, S=Sell
Quantity = the amount of the item in the exchange
Price = the price of the item for the exchange
-------------------
hope you don't mind XD
Download - includes modifications to the locked sign and money mod
Pictures:
Sign and chest setup
Sign Text setup
Sign Output
Sample Setup
Read me setup:
The chest has to be the 5th box below the Buy sign, and 7th box below the sell sign.
Examples:
Buy Dirt setup "Buy Dirt| B default:dirt 1 4"
shows as "Buy Dirt"
Sell Dirt setup "Sell Dirt| S default:dirt 1 2"
shows as "Sell Dirt"
How it works:
"Message shown| B/S itemname quantity price"
Message Shown = The message that the player will see when looking at the sign.
| = the symbol that splits the string up.
B/S = Enter in either B or S, B=Buy, S=Sell
Quantity = the amount of the item in the exchange
Price = the price of the item for the exchange
-------------------
hope you don't mind XD
Last edited by Nubelite on Thu Jul 26, 2012 04:12, edited 1 time in total.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
I thought that everyone uses master branch. Now in the stable-0.4 I cannot use "button" in "formspec". I will keep older version.
Last edited by kotolegokot on Thu Jul 26, 2012 05:45, edited 1 time in total.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
Nubelite, this take a lot of space. Wait for the release of new stable version.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
You could use Steel ingots or Gold to convert to money, so you can get paid for mining
Last edited by rubenwardy on Thu Jul 26, 2012 15:46, edited 1 time in total.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
Currency is not a item.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
This mod focuses on the interaction between players. You can sell your Steel ingots and Gold to another player, so you can get paid for mining.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
Admin Shop.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
This is very nice, but takes too much space.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
I have added many new features (see the GitHub repository). Please test it and post me the results.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
Big update. Added normal shops and some commands.
Last edited by kotolegokot on Fri Sep 21, 2012 16:23, edited 1 time in total.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
Thanks. This is a good idea! I will do it later.
Last edited by kotolegokot on Mon Oct 08, 2012 14:39, edited 1 time in total.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
So, you fill in the form incorrectly.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
Awesome mod, but, could you possibly make a server shop GUI with InventoryPlus, that gets it's price list from an external text file?
mod:node:buyprice:sellprice
default:stone:20:15
default:wood:20:15
defaule:dirt:15:10
mod:node:buyprice:sellprice
default:stone:20:15
default:wood:20:15
defaule:dirt:15:10
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
Great idea! I will do it later.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
I was thinking about trying to hook a function of another mod into this, more specifly- adsd a user to a protecter+ block when a user with enough money punches it. Something like
As you can see, I don't even know lua yet; but could I get and subtract from the balance with wu=ith another mod?
Code: Select all
if (balance(get_player_name()== 1500 && forsale)
{
owner.set(get_player_name())
balance(get_player_name() =- 1500
}
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
They must have "money" privilege. Also, you can add "default_privs = interact, shout, money" into the minetest.conf.
Last edited by kotolegokot on Thu Dec 13, 2012 12:39, edited 1 time in total.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
Who is online
Users browsing this forum: No registered users and 4 guests