McMoney
McMoney
PLEASE GIVE ME IDEAS FOR THINGS TO ADD TO THIS
McMoney is like most economy systems made for minecraft but I feel is much easier to add to plugins. it has the general commands such as
/money and /pay (will explain the commands later on in this post). In the config you can set the name of the money and the starting amount of money.
You can give people interest if you allow it in the config. It works the same way as real interest works. The default is a 2.5% interest rate. If you don't know anything about interest this is how it works
A = P(1+R)^T
A = New amount
P = Current amount
R = Rate / 100
T = Time
If you have $5,287 with an interest rate of 2.5% after a year (in the plugin it would be every hour as if it was a year) it will be this
A = 5,287 * ((1 + .025)^1)
A = 5,419.16
Commands:
- /money [player] - show the amount of money you or another player has
- /pay <player> <amount> - pay players
- /mcadmin <set | add | remove> <player> <amount> - admin commands
How to add to plugins:
Get the plugin with
MoneyAPI money = MoneyAPI.getInstance();
then use these
- addMoney(player name, amount); - gives the player money
- removeMoney(player name, amount); - removes money from the player
- getMoney(player name); - get amount player has
- setMoney(player name, amount); - sets the amount of money a player has
- hasMoney(player name); - returns if the player exists or not
- createPlayerMoney(player name); - add that name to the money file with the starting amount of money
- getMoneyString(amount); - gets the string of the money (ex. 153.7 duckets)
example
MoneyAPI money = MoneyAPI.getInstance();
money.addMoney(player.getName(), 100);
this will add 100 to the players money
TODO:
- GREEN - Being worked on
- RED - Not yet started
- BLUE - In testing
:( does ANYONE know a plugin WITHOUT permissions and code and everything for /money and /pay???
Please update 1.5.1
is there anyway to change the name from duckets?
how do i get money
@joehot200
How does it not work?
great....
and the newest version dosent work.
:(
By the way, i have used this from when i was only 30 slot server, and all the time, it has been brilliant :)
@Gausgovy
Its not something people are interested in learning. They just know it exists and that they want to have a low rate. I always loved math though so I know things like that xD
lol i just learned about interest in school so i just looked at the "A = P(1+R)^T" problem and thought "really... people dont know how interest works... == REALLY ==
I would work on this plugin if I still had it. but my computer well...died...and I lost all my stuff. I may remake it one day though.
sorry for not being able to work on it anymore =(
I don't like the command Clear. cause It is also a command for clearing your inventory! But for the rest, it's fine! ;) PS: PLEASE UPDATE!
I got it in installed with the mcdrop plugin but it will only allow 40 coins. I dont see anywhere in the config were it is limiting this. Is there a way to fix this?
@jhs232
that would defeat the point of the plugin!
edit: awsome plugin, really useful (even if it does make the money currency get called a null, lol, i like it!), and it still works with 1.3.1! i would advise people to get this :)
Could you add like buy/sell stuff from chest with this money?, it would be awesome :) Like chestshop plugins.
Make it so it is a simple plugin hooking into vault and only used to set the money players start with when they join the server (like setting the money iconomy awards a player when he joins) /jhs232
@PJonathan1996 That is not part of the plugin but if factions is open source you would be able to add it. I tried to make this as easy as I can to implement it to plugins.
And thank you very much
I want to make it so that it costs money to create a faction.. or have you not implemented it? As well, good job! I prefer this over iconomy1