Page 3 of 4

PostPosted: Thu Jul 26, 2012 16:36
by kotolegokot
Admin Shop.

PostPosted: Mon Jul 30, 2012 03:01
by Nubelite
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

PostPosted: Thu Aug 02, 2012 13:30
by kotolegokot
This is very nice, but takes too much space.

PostPosted: Sun Aug 12, 2012 08:14
by kotolegokot
I have added many new features (see the GitHub repository). Please test it and post me the results.

PostPosted: Fri Sep 21, 2012 16:20
by kotolegokot
Big update. Added normal shops and some commands.

PostPosted: Mon Sep 24, 2012 14:18
by sda97
Cool mod! Best economic mod for mintest. But lack of transfer commands for admins, which send money from one account to another account...

PostPosted: Mon Sep 24, 2012 14:45
by kotolegokot
Thanks. This is a good idea! I will do it later.

PostPosted: Thu Nov 08, 2012 21:01
by fgr
sorry i cant get this to work .... it says always untuned shop .. :(

PostPosted: Sun Nov 25, 2012 15:16
by kotolegokot
So, you fill in the form incorrectly.

PostPosted: Thu Dec 06, 2012 19:38
by tux_peng
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

PostPosted: Fri Dec 07, 2012 03:01
by kotolegokot
Great idea! I will do it later.

PostPosted: Sat Dec 08, 2012 03:31
by tux_peng
thx

Awesome mod!

PostPosted: Tue Dec 11, 2012 19:01
by tux_peng
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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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?

PostPosted: Thu Dec 13, 2012 10:11
by Kryuko
How can i able my users to use this mod? If their use the "/money" command, give a no permissions error.

PostPosted: Thu Dec 13, 2012 11:07
by kotolegokot
They must have "money" privilege. Also, you can add "default_privs = interact, shout, money" into the minetest.conf.

PostPosted: Sun Dec 16, 2012 11:47
by Kryuko
Thanks.
But i don't understand how i can craft an admin shop (and locked sign).

PostPosted: Sun Dec 16, 2012 14:48
by kotolegokot
To get admin shop, you should use /giveme.

PostPosted: Sun Dec 16, 2012 14:58
by aldobr
How to solve the money ammount problem :

1 - create a new item called money that is worth one minetoon each
2 - create a ATM machine that is placed by the admins. That ATM machine lends money with a interest rate that is setup by the admins. That interest rate should take into account the rate of failure, because some people will be unable to pay their debts.
3 - a new player enters the server, he goes to the ATM and takes a loan.
4 - With the loan the player buys mining equipment and goes mining. He sells the mining results and pays his outstanding debits with the ATM.
5 - The surplus he can sell in the market to earn more money.
6 - The admins should setup "public works", like building roads and leveling land for a city to grow. Admins pays a salary for that work, transfering back to the players what was earned by the lend system.

PostPosted: Sun Dec 16, 2012 16:11
by Kryuko
kotolegokot wrote:To get admin shop, you should use /giveme.

/giveme what?

And how the users create shops?

PostPosted: Sun Dec 16, 2012 19:33
by Kryuko
Nubelite wrote: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


The user's don't destroy all?

PostPosted: Sun Dec 16, 2012 20:38
by Kryuko
I have a little problem.
My users create a shop, set it, but when they click to the "proceed" button, nothing happend.
Do you have a solution for this? All users have the "money" privilege. Is there another privilege for create shops?

Thanks in advance.

PostPosted: Mon Dec 17, 2012 04:52
by kotolegokot
Maybe, they fill in the form wrong.

PostPosted: Mon Apr 01, 2013 15:47
by kbobdc3
Mod is in mods folder but not showing up in game

PostPosted: Mon Apr 22, 2013 23:20
by Sokomine
The mod is very nice for multiplayer servers. It would be good if it would be easier to define how much a shop is willing to buy of a certain node - else you may end up with a chest full of nodes of which you only wanted half a stack - and without no money left.
Also it would be nice to have a log that shows who bought what (not the time! only the amount) so that popular shops can be refilled and it gets easier to find out what the customers want.

PostPosted: Tue May 14, 2013 13:21
by LazyJ
Is it possilbe to have a way for admins to monitor transactions?

Something that would register in the server logs any time a money mod function is used?

For settling disputes and confirming large transactions (between who and how much and for what).

Perhaps a GUI menu that is invoked by a money command. The fields of the menu would carry out the action as well as write a line to the server log.


For example:
Player1 _______________
Player2 _______________

Pay
Amount _______________
For item:code ___________

Trade
Trade item:code quantity
For item:code quantity


Thanks for a great mod!

PostPosted: Sat Jun 01, 2013 17:51
by Cooper97
This is an awesome mod, but I found a bug. If I freeze the account of a player, he can still use money (buy and sell). Please solve this problem.

Edit: I tested it with the Minetest version 0.4.6

PostPosted: Tue Jun 25, 2013 00:47
by hdastwb
I've just put in a pull request to fix a bug where players would use shops linked to nonexistent accounts and crash the server; if this is still in active development, I think it would be a good thing to incorporate in case the playerdata gets lost on someone else's economy server in the future.

PostPosted: Fri Jul 05, 2013 02:42
by BrunoMine
kotolegokot wrote:Commands for players (requires "money" privilege):


how can I give the privilege of money to a player?

PostPosted: Fri Jul 05, 2013 05:13
by Menche
brunob.santos wrote:
kotolegokot wrote:Commands for players (requires "money" privilege):


how can I give the privilege of money to a player?

Same as you would give any privilege:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/grant user priv

So, to give money:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/grant user money

PostPosted: Fri Jul 19, 2013 13:50
by xiong
I only want one thing: the ability to retune my shop without emptying it, digging it up, and replacing it. Being able to change prices (in particular) is a normal part of doing any sort of business. I do not see why, if I left-click my own shop (containing goods), I should not be taken to the tuning screen.

As for not wanting a shop to be flooded with goods when you only want some: You may have offered too much for the item in question; offer less. Another strategy is to move dummy goods into most of the slots -- dirt, perhaps. It only takes one block to fill that slot. You can leave as few as one slot open to accept goods and limit your buy to 99 items regardless of supply.

This is a fine, well thought-out mod. It needs only that one tweak.