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
I screwed up in the last few releases, but it was fixed in 0.1.2.
Anyways, a new build supporting MySQL is coming really soon!
@ThaPengwin
Also what i noticed is, that you don't allow the console to type any of the cred commands which is not good at all, because you cannot reward people from votes,commandblocks or scripts! You should definitely add console support for atleast the "/cred add" command
Thanks in Advance ravand
@ravand
Oh, sorry, I'm working on my first game, so I probably forgot to change the export file to a normal JAR, not a runnable one. New update coming soon!
I think you didn't compile your latest version correctly. You should take a look at it. Also i would greatly appreciate a MYSQL support <3
@Grave9912
I'll try to roll out MySQL compatibility soon.
I am trying to figure out a way to make this cross-server compatible so players get their credits on all of my servers instead of just one, one way I can think of would be thew the use of a MySQL database I have one but the plugin must interact with it, the other way I can think of would be reading the points from a different files, since I have all servers running on a dedicated machine they can all most likely get the info from a shared directory. This would mean specifying the credit log systems directory.
@sodafizzle
I'm working on an event system. Expect it in a few updates.
Would you be willing to integrate a credit on kill system for a kitpvp based server?
@Epicdestructin
Thanks! I'm constantly working to make this plugin better and better!
Excellent plugin! Thanks for making this plugin. It is on of the simplest and best plugins I've seen! Nice work! ;)
New build that fixes the console support has been uploaded!
@Adrain6
I completely forgot to add console support :D
Should be added in the next update.
I cant give cred by buycraft but the plugin is nice :)
If you want ideas, you can add a limit of sale per item in the store and you can add the x:1 items example if i want sell colored wool or you can add cupons that you can trade by items.
Nice plugin sorry for my bad english.
@ThaPengwin
Thanks for the hard work *.*
New version submitted for approval! I hope it gets approved soon.
@Adrain6
New build coming out soon that addresses this issue.
@Adrain6
Hmm, weird. I'll check it out.
Help me i love this plugin xD
org.bukkit.command.CommandException: Unhandled exception executing command 'cred' in plugin Credits v0.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:548) at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1362) at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1228) at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1171) at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68) at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:469) at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:232) at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54) at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:898) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:765) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:647) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) Caused by: java.lang.NullPointerException at tk.thapengwin.Credits.editCredits(Credits.java:344) at tk.thapengwin.Credits.onCommand(Credits.java:93) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
@ThaPengwin
i used " /cred" and comand doest exist :(
@Adrain6
You should use the commands as arguments to the main command, /cred. In your case - /cred give [PlayerName] <Amount>