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.
@ravand
Sorry, didn't notice this, as I didn't have time to test the new build out. Anyways, another build that addresses this issue will be uploaded in a few minutes (or hours..)!
Thanks man finally <3 I was looking every hour on your dev page to see if it was updated.
Btw people dont need to wait they can simply go here:
http://dev.bukkit.org/bukkit-plugins/credits/files/4
AND btw what about the "per day credit limit" ?
EDIT:
Also i saw that you have added the "tclose-menu-on-buy" as a general option. But IMO it would be alot better if you can individually give this option to each package your selling like the PRICE or DESCRIPTION option for each package.
EDIT 2:
Argh /cred buy doesnt work cant buy anything here an error log: http://pastebin.com/xgbqt28v
Uploaded new build! Let's wait until it gets approved!
@ChronixNetwork
No, at least not yet. You should get something that executes a command on-kill, or just wait for the next few updates.
Hi I Am Making a Kitpvp Server Do Players when they kill they get credits ? thanks
@xtrow9
I asked you to provide the error log in a ticket, not in the comments. Anyways, I'm about to post a new version with lots of new features and stuff. Please bare with me, I don't have much time to do anything!
@ThaPengwin
15:43:32 [INFO] Starting minecraft server version 1.6.4 15:43:32 [INFO] Loading properties 15:43:32 [INFO] Default game type: SURVIVAL 15:43:32 [INFO] Generating keypair 15:43:33 [INFO] Starting Minecraft server on 192.168.0.100:25565 15:43:33 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.4-R2. -b2918jnks (MC: 1.6.4) (Implementing API version 1.6.4-R2.0) 15:43:33 [SEVERE] Could not load 'plugins\Credits.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ClassNotFoundException: tk. hapengwin.Credits at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader. ava:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManage .java:230) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.j va:241) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.<init>(CraftServer.java:2 9) at net.minecraft.server.v1_6_R3.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_6_R3.DedicatedPlayerList.<init>(SourceFile:1 ) at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.ja a:107) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.jav :393) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile: 83) Caused by: java.lang.ClassNotFoundException: tk.thapengwin.Credits at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoade .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader. ava:173) ... 9 more 15:43:33 [WARNING] SERVER IS RUNNING IN OFFLINE/INSECURE MODE! 15:43:33 [WARNING] The server will make no attempt to authenticate usernames. B ware. 15:43:33 [WARNING] While this makes the game possible to play without internet ccess, it also opens up the ability for hackers to connect with any username th y choose. 15:43:33 [WARNING] To change this, set "online-mode" to "true" in the server.pr perties file. 15:43:33 [INFO] Preparing level "world" 15:43:33 [INFO] Preparing start region for level 0 (Seed: -8480791305807825918) 15:43:34 [INFO] Preparing spawn area: 99% 15:43:34 [INFO] Preparing start region for level 1 (Seed: -8480791305807825918) 15:43:35 [INFO] Preparing start region for level 2 (Seed: -8480791305807825918) 15:43:35 [INFO] Server permissions file permissions.yml is empty, ignoring it 15:43:35 [INFO] Done (2,004s)! For help, type "help" or "?"
plugins
15:43:38 [INFO] Plugins (0):
@ravand
It's probably because I compiled it with 1.6.4 R0.1. The new update should come out tomorrow (or maybe today if I can make it).
@ThaPengwin
I think he means, that craftbukkit can't even start up the plugin. As i told you it seems to be wrongly compiled if you remember.
@xtrow9
Please provide me a ticket with the error log and your configuration.
I use the Craftbukkit 1.6.4-R2.0 and last plugins update and plugins does not work.
@xtrow9
I'm going to try to implement languages in a future update, but you can already give credits through the console.
Hello, please add language config and that we could through the Bukkit console to give credit.
@ravand
Almost there - just gotta fix a few MySQL bugs!
Any news about release of next version? Can't wait to set everything up on the server :)
@ravand
Will implement that in a flash.
As for the ETA, I can't give an exact one, but now I expect it to come out in less than a week.
@ThaPengwin
Also another nice feature would be to setup a "keep-inventory-open" flag for the packages you create. For example if there is a package you want to buy, that needs to be clicked more often thane once in a while, the inventory would keep opened so you can click it more often.
This way you don't need to type in /cred buy over and over again :)
And btw how os the update doing? Can you provide an ETA?
Thanks in advance
Ravand
@ravand
Sure thing! Will be implemented in the next version.
I have very nice feature suggestion:
Implement a feature that only allows a max number of credits per day (configurable) a user can get. That way you can prevent people from exploiting possible bugs/leaks etc.
Example: On our server we give credits to players when they win a minigame (commandblocks) To stop them from plotting to lose on purpose, so that their friends can win credits over and over again, this feature would be more than needed here.
I hope you consider adding this feature
Thanks in advance
Ravand
@ThaPengwin
Nice to hear man awesome plugin keep up the good work ;)