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

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

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

by kotolegokot » Tue Jul 03, 2012 07:10

This mod adds commerce in Minetest.

Commands for players (requires "money" privilege):
  • /money — gets the balance of your account;
  • /money pay <account> <amount> — transfers <amount> money to <account>.
Commands for administrators (requires "money_admin" privilege):
  • /money <account> — gets balance of <account>;
  • /money set <account> <amount> — sets balance of <account> in <amount> money;
  • /money inc <account> <amount> — increases <amount> money to balance of <account>;
  • /money dec <account> <amount> — decreases <amount> money from balance of <account>;
  • /money take <account> <amount> — takes off <amount> money from balance of <account>;
  • /money freeze <account> — freezes <account>;
  • /money unfreeze <account> — unfeezes <account>.

Also, this mod adds 4 kinds of shops:
  • Just shop
  • Barter shop
  • Admin shop
  • Admin barter shop

Shop recipe:
[Locked Chest]
[Locked Sign]
Barter shop recipe:
[Locked Sign]
[Locked Chest]
Admin shops don't have recipes.

When you placed a shop, you must fill in the form:
Image
after, if you fill in the form correctly, you will see this picture:
Image

With other shops are just the same.

Code: GPLv2/later, textures: CC BY-SA

Mod dependencies: default, locked_sign

Download
Download (money + locked_sign)

Github repository
Last edited by kotolegokot on Tue Nov 06, 2012 17:35, 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
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Tue Jul 03, 2012 07:58

can you use it also in singleplayer mode?
Sorry for my crappy english, im dutch :D
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada

by LolManKuba » Tue Jul 03, 2012 07:59

Stef wrote:can you use it also in singleplayer mode?

stef u can use any mod for multiplayer in singleplayer lol.
 

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

by kotolegokot » Tue Jul 03, 2012 08:05

Yes, but this mod is useless in singleplayer mode.
Last edited by kotolegokot on Tue Jul 03, 2012 08:05, 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
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Tue Jul 03, 2012 08:06

ow cant you make it you can bye stuff by mining for money, than will it be usefull in singleplayer
Sorry for my crappy english, im dutch :D
 

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

by kotolegokot » Tue Jul 03, 2012 09:10

Do you mean that you will mine resources, earning money to buy resources in singleplayer mode?
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
 

User avatar
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Tue Jul 03, 2012 10:03

yes something like that you must mine to make money and with that money you can buy new rare stuff that cant be crafted or founded? (only prob. you must make new stuff too)
Sorry for my crappy english, im dutch :D
 

User avatar
Calinou
Moderator
 
Posts: 3145
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Tue Jul 03, 2012 10:14

Code: Select all
/money set <player> <amount> — sets the balance of <player> in <amount> money;
/money add <player> <amount> — adds <amount> money to the balance of <player>;
/money dec <player> <amount> — takes off <amount> money from the balance of <player>


Do they require any special privilege? I hope. :P
Last edited by Calinou on Tue Jul 03, 2012 10:35, edited 1 time in total.
 

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

by kotolegokot » Tue Jul 03, 2012 10:16

Stef, I understood you. But if a player will mine to make money, the player will can place a node and mine it to make money.
Last edited by kotolegokot on Tue Jul 03, 2012 10:16, 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 » Tue Jul 03, 2012 10:17

Calinou, of course.
(requires the privilege "money_admin")
Last edited by kotolegokot on Tue Jul 03, 2012 10:18, 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
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Tue Jul 03, 2012 10:28

I got an error: mods/minetest/money/init.lua:8: attempt to index local 'output' (a nil value)
Sorry for my crappy english, im dutch :D
 

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

by kotolegokot » Tue Jul 03, 2012 10:30

What is your operating system?
Last edited by kotolegokot on Tue Jul 03, 2012 12:22, 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
Calinou
Moderator
 
Posts: 3145
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Tue Jul 03, 2012 10:36

He uses Windows (I know). :P
 

User avatar
Calinou
Moderator
 
Posts: 3145
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Tue Jul 03, 2012 10:37

kotolegokot wrote:Stef, I understood you. But if a player will mine to make money, the player will can place a node and mine it to make money.


A money ore would be possible - drop 1 cobblestone when mined and money. This way you can't replace the money ore.
 

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

by kotolegokot » Tue Jul 03, 2012 10:54

Stef wrote:I got an error: mods/minetest/money/init.lua:8: attempt to index local 'output' (a nil value)


Try to download once again and again to check.
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 » Tue Jul 03, 2012 11:20

Calinou wrote:
kotolegokot wrote:Stef, I understood you. But if a player will mine to make money, the player will can place a node and mine it to make money.


A money ore would be possible - drop 1 cobblestone when mined and money. This way you can't replace the money ore.


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

User avatar
Stef
Member
 
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Tue Jul 03, 2012 11:23

ok for now it works (yes i use Windows Vista)
Sorry for my crappy english, im dutch :D
 

User avatar
Calinou
Moderator
 
Posts: 3145
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Tue Jul 03, 2012 11:51

kotolegokot wrote:This is unrealistic.


Yeah, and? Minetest isn't a realistic game, its focus is not to be realistic.
 

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

by kotolegokot » Tue Jul 03, 2012 12:07

Calinou wrote:
kotolegokot wrote:This is unrealistic.


Yeah, and? Minetest isn't a realistic game, its focus is not to be realistic.


Ok, but this mod adds commerce only. Most of those who create the server, it is not necessary.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
 

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

by Menche » Mon Jul 09, 2012 21:35

Whenever I try to use any of the commands, it says "Server: -!- Player named "(the name i tried)" does not exist."
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 » Tue Jul 10, 2012 06:14

Menche wrote:Whenever I try to use any of the commands, it says "Server: -!- Player named "(the name i tried)" does not exist."

This means that this player has not yet opened an account. To do so, he must join the game.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
Location: Netherlands
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Sat Jul 14, 2012 11:04

I'm thinking of the possibilities minetest has to make good adventure maps. This mod gives designers the possibility to force players to choose what item they are going to spend there golden coins on.
 

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

by Menche » Mon Jul 16, 2012 05:52

kotolegokot wrote:
Menche wrote:Whenever I try to use any of the commands, it says "Server: -!- Player named "(the name i tried)" does not exist."

This means that this player has not yet opened an account. To do so, he must join the game.

I tried the command on myself, and on several players who were logged on at the time. None of them worked.
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 19, 2012 13:05

Menche wrote:
kotolegokot wrote:
Menche wrote:Whenever I try to use any of the commands, it says "Server: -!- Player named "(the name i tried)" does not exist."

This means that this player has not yet opened an account. To do so, he must join the game.

I tried the command on myself, and on several players who were logged on at the time. None of them worked.

I'm sorry. This is bug. I already fix it.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
 

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

by Menche » Fri Jul 20, 2012 19:21

Yessss it works, awesome mod! I think an economy is forming on 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
 

Next

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 2 guests