Credits
Commands and Permissions | Setup | Videos
Introduction
Credits is a secondary economy plugin, meaning that it is not meant for usage like the Essentials economy, iConomy, et cetera. The plugin is built around being able to purchase certain amounts of credits through third-party websites (or earning them, a functionality added by add-ons or other plugins) and buying packages set up by server administrators in-game. Upon purchase of the packages, specified actions will be executed. This tool has been made specifically to assist low-budget servers running internet stores that are unable to afford their premium services.
Before you download
This plugin is bundled with both Gravity's updater and bStats. If you dislike either, you may turn them off in the configuration files found in their respective folders.
The updater does not and will not download anything unless the update command has been executed. That said, if you do not want to be notified of a new update at all, you may disable the updater in the Credits configuration file separately as well.
Features
- Package purchases with GUI or commands
- Executing commands, manipulating permissions
- Timed packages (purchase, expiry actions)
- MySQL storage & sync
- Developer-friendly events and functions
Donation
Most of my projects are worked on during my spare time. I would greatly appreciate being supported on Patreon (or a one-time donation on the top-right of this page), so that my time is not spent in vain. Thank you!
Contributing
Alternatively, to assist me in keeping this project alive and well you can contribute directly to it's GitHub repository. Unsure what to do? Check out the Trello board for a quick start. You can also join my Discord server for a quick chat.
@seriosbrad
Can you please give me your config?
@ThaPengwin
Oh nice haha thank you :P I'll try to report as much bugs as i can find :P
Hi!
Just trying out your plugin, could be used to give my players VIP group access as I don't really like charging real money.
Getting this error:
http://pastebin.com/Xx5LbMLN
I'm running Credits v0.2.1 and craftbukkit 1.7.2 (CraftBukkit version git-Bukkit-1.6.4-R2.0-50-g402ee87-b2958jnks)
@ravand
Also, thanks for your help. You've been helping me eliminate bugs since the start. I've made you a tester :3
@ravand
Weird, I made the plugin create the row and then insert the credits. Well, fixing that too.
@ThaPengwin
Everything doing good hawkeye/bungee/mcmmo all read the database fine
EDIT: I moved to a whole new database lets see if it will still happen, also i noticed something odd. When you give the players Credits for the first time independant of the number for example /cred add NAME 100 it always gives them 0 in the mysql databse to begin with. Every other given credit after the first works you might wanna fix that :P
EDIT: Also packages with the s ame Item ID get triggered when 1 of them is clicked. For example we have a 30 minutes worldedit package and a 1 hour worldedit package if you buy the 30 minutes package you also get the 1 hour package :P
@ravand
Are you sure that your MySQL server is okay? The plugin might have trouble connecting and it then throws an error.
If the server runs for a longer time the shops simply stop working and u cant even have a look at your credits:
here an error log:
http://pastebin.com/KWYmTZAr
@ThaPengwin
Yes if a friend wants to give another friends some of his credits for example
@ravand
Do you mean trading credits? I can implement that really quick.
Another very trivial feature that Credits still doesn't have is the option to give other players your credits. I would find that very important hope you consider adding it.
@RustyWalrus
That is because you have changed the Slots option to something else than 27 i noticed that yesterday before my last comment here just put it back to 27 and wait next update :P
EDIT: Ok just noticed that it happens after time aswell even if slots is on 27 all the time :/
Bug with the store you can take the items out of the shop.
@ravand
Going to remove the slots option and make it dynamic on the next version.
@ThaPengwin
Also found another bug:
the "slots: x" option doesnt work it always shows 27 slots :/
Would be nice to have a small Shop when you dont have so many packages to sell to begin with
@ravand
I'll try my best to roll it out on the next version.
@xtrow9
Some time later, probably on a major release.
when do language settings?
Also any ETA on the credit per day limit? Dont want to rush you just a rough expectation from you of when it might come out
@ThaPengwin
Nice man everything seems to work with latest build good job
Another build is out! Once v0.2 gets approved, don't download it - there's quite a bad bug there. Just hang in there for v0.2.1 to get approved!