[Mod] Money (or Economy) [201207] [money]

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43
Location: An island in a lava lake.

by Menche » Thu Jul 26, 2012 04:09

Please keep older versions posted, my server uses the stable branch.
An innocent kitten dies every time you top-post.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

Nubelite
Member
 
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Thu Jul 26, 2012 04:10

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
Last edited by Nubelite on Thu Jul 26, 2012 04:12, edited 1 time in total.
 

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43
Location: An island in a lava lake.

by Menche » Thu Jul 26, 2012 04:38

Can you please put the old version back up? I need it for my server.
An innocent kitten dies every time you top-post.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Thu Jul 26, 2012 05:33

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.
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Thu Jul 26, 2012 06:21

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.
 

User avatar
rubenwardy
Moderator
 
Posts: 5428
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Jul 26, 2012 13:17

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.
Core Developer | Donate | My Twitter | Mods | Mods 4 Android | Node Box Editor | Minetest Modding Book

Hello profile reader

LgiOxMFYXOqtqVqMPhbw1Bn3oNRvEC7j
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Thu Jul 26, 2012 13:40

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.
 

User avatar
rubenwardy
Moderator
 
Posts: 5428
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Jul 26, 2012 15:46

kotolegokot wrote:Currency is not a item.


I know. I edited the post to make more sense
Core Developer | Donate | My Twitter | Mods | Mods 4 Android | Node Box Editor | Minetest Modding Book

Hello profile reader

LgiOxMFYXOqtqVqMPhbw1Bn3oNRvEC7j
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Thu Jul 26, 2012 16:11

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.
 

User avatar
rubenwardy
Moderator
 
Posts: 5428
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Jul 26, 2012 16:28

How is money fed into the system?
If no money is entered, the total player money will stay the same so no one can get rich without every else getting poorer.

There needs to be a money input into the system.
Core Developer | Donate | My Twitter | Mods | Mods 4 Android | Node Box Editor | Minetest Modding Book

Hello profile reader

LgiOxMFYXOqtqVqMPhbw1Bn3oNRvEC7j
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Thu Jul 26, 2012 16:36

Admin Shop.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
 

Nubelite
Member
 
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Mon Jul 30, 2012 03:01

Here is a shop i setup with my customized version, just to give you an idea of what i was aiming for. It is on my server if you want to look in person.

Image
Image
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Thu Aug 02, 2012 13:30

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.
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Sun Aug 12, 2012 08:14

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.
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Fri Sep 21, 2012 16:20

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.
 

sda97
Member
 
Posts: 33
Joined: Fri Jul 06, 2012 07:45
Location: Siberia, Ishim

by sda97 » Mon Sep 24, 2012 14:18

Cool mod! Best economic mod for mintest. But lack of transfer commands for admins, which send money from one account to another account...
Last edited by sda97 on Mon Sep 24, 2012 14:43, edited 1 time in total.
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Mon Sep 24, 2012 14:45

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.
 

fgr
Member
 
Posts: 86
Joined: Mon Sep 17, 2012 08:22

by fgr » Thu Nov 08, 2012 21:01

sorry i cant get this to work .... it says always untuned shop .. :(
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Sun Nov 25, 2012 15:16

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.
 

tux_peng
Member
 
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Thu Dec 06, 2012 19:38

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
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Fri Dec 07, 2012 03:01

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.
 

tux_peng
Member
 
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Sat Dec 08, 2012 03:31

thx

Awesome mod!
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info
 

tux_peng
Member
 
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Tue Dec 11, 2012 19:01

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

Code: Select all
if (balance(get_player_name()== 1500 && forsale)
{
     owner.set(get_player_name())
     balance(get_player_name() =- 1500
}


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?
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info
 

Kryuko
Member
 
Posts: 76
Joined: Tue Dec 11, 2012 20:26

by Kryuko » Thu Dec 13, 2012 10:11

How can i able my users to use this mod? If their use the "/money" command, give a no permissions error.
 

User avatar
kotolegokot
Member
 
Posts: 131
Joined: Mon Jul 02, 2012 17:03
Location: Russia, Ishim

by kotolegokot » Thu Dec 13, 2012 11:07

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.
 

PreviousNext

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 2 guests