LegendCoins
Description:
I released a simple economy system, what can be used in your plugins You can just hook into LegendCoins API, and make coin system in your plugin ;)
It is SQL-based plugin. You can use SQLite or MySQL, it can be done in config file!
Features:
- Double-Coins! You can set it to true, and get money 2x!
- Days for double coins! You can set days of week, when double-coins will work! Counting days of week from Monday!
- Lightweight and simple to use!
- You can use it in your plugins!
- Very simple API!
- Rate for selling/buying coins or Vault money!
- Rate is settable!
- If you won't set rate to static value, plugin will generate it randomly from 30 to 50!
Commands:
All the command list you can see here
Permissions:
Of course, permission list here
API for Developers:
Tutorial about Legend Coins API you can see here
Sources:
All my plugin code you can see here
TO-DO List:
- ???
- /dev/null
- java.lang.NullPointerException
Metrics:
Here you can see, how many players/servers using this plugin :)
Hope you will like this :)
Best regards, xBeLkAx.
@TheCaceresenzo
if(em.getBalance(player.getName()) < 2) return;
Can you make a better API with exemple:
if em.getBalance(player.getName(), +2); { return; }
or anything like that .....
Juste can test her balance before remove coins.......
ERROR EXAMPLE "": Balance: -5
Help PLEASE
@DarkSoulKTN
Okay, I'll add u :3
@DrkMatr1984
Pow! Added github repo!
@DrkMatr1984
I haven't worked with git yet. Can you help me with loading all sources?
U should post the source on github to make it easier for developers to work with the API. I think I am going to write a shop plugin based on this, that will allow users to set commands that can be run if purchased with gems, for selling permissions, items, etc.
@OfficialKyuzon
Thanks for reporting! Check 1.6 version!
@xBeLkAx
Also, may you add configurable messages? and prefix? and the /change commands don't work...
@OfficialKyuzon
Why do you need it? You can change the backend in the config. "backend" can be sqlite or mysql. MySQL configuration section won't be used, if you will set backend to sqlite
Maybe add a feature to disable or enable mysql? it will be good if you do, and here's an example!