Karmiconomy
Karmiconomy
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
About
This plugin allows for an Action-based economy by giving / taking money based on a players actions, with a daily limit per action. It can also act as an action limiter, by having actions being denied once a player hits the daily limit or cannot pay for that action.
Originally made with the idea of making an active cash flow system. Action denial and daily limits were added during initial planning and design.
This plugin is NOT a standalone economy bank plugin. You will need a Vault-supported economy plugin for this to hook into.
Features
- Highly configurable settings for a vast array of player actions / events.
- Deny player actions based on lack of money or the daily limit for the action.
- Per-item configuration for associated events
- Per-command configuration
- MySQL / SQLite database storage
- Vault support
- mcMMO support
- PlayerPoints support
- Heroes support
- Multiworld support
- Custom localization
Example use cases
- Reward players for being active on the server
- Fine players for specific actions
- Daily bonuses for any action
- Create block-type build challenges, limit the number of times they can use any block
- Make incentives for players to care about their money.
- Create a player-driven cash flow for your economy.
- Blacklist any supported action
This plugin is in active development.
Commands & Permissions
Configuration
Supported events:
- Active (Cancellable)
- chat
- block place
- block destroy
- craft item
- enchant item
- create portal
- shoot bow
- tame ocelot / wolf
- painting place
- bed enter
- bucket empty / fill lava / water
- item pickup
- item drop
- game mode change
- sneak
- sprint
- mcMMO:
- Party join
- Party leave
- Party kick
- Party change
- Party teleport
- Heroes:
- Class change
- Experience change
- Join party
- Leave party
- Health regen
- Mana regen
- Skill use
- Passive (Listen only)
- enter portal
- bed leave
- world change
- death
- respawn
- egg throw
- join
- kick
- quit
- mcMMO:
- Skill level up
- Skill experience gain
- Heroes:
- Level change
- Combat enter / leave
- Hero kills
- Skill complete
TODO:
- In-Game commands
- Handle vehicle economy / limits
- Handle enchantment type
- Handle egg type?
- Add any missing events
- Multiple location / area of effect
Trello Dev board
Visit the Trello board to see the current todo list for all projects.
You can comment and vote on any of the topics there.
All changes on the Trello board are in real-time.
Feedback is much appreciated :P If this plugin has helped you, please consider donating.
@Suki_Lou
Sure. I didn't include the messages initially due to the fact that they could be amazingly spammy depending on the event.
So, I'll add Heroes, messaging and broadcasting in the next iteration.
Just a note, finals starts this week and I've also got two projects due soon. Just so you know why I may not be able to update as quickly as I would usually like to.
@Mitsugaru
Everything is working fine. Again I say, Awesome job.
Would it be possible to output economy gains and losses to the player? Like if they earn or are charged money from a Karmiconomy event, they would get an (optional) private chat message stating what the event was and how much money transacted. Certainly wouldn't be a good idea, imo, for global chat messages as that may well flood chat.
Keep up the great work and Thanks!
@Patolord
Yes, that was already been accepted and is in the works.
Heroes support please :D
@gibbly96
Sure, now that I found their API, I could hook into their events.
Some features for Heroes :(::: ?
@Mitsugaru
Wow!. You're awesome. Thanks so much for jumping right on this. I've just downloaded the update and will be setting it up and testing it out after some sleep. Would be pointless right now as I'd probably mess it all up. :) I did load it and looked over the configs and it looks great. I see what you mean regarding the reset. This will definitely work. I'm not sure just how you'd go about it, maybe making level/xp adjustable in the config with an option to override the daily reset. But that make take some time and more thought. Anyhow, I'm ecstatic that you got this out so quick and it looks very promising. Thanks again. I'll post again after the setup and testing.
@Suki_Lou
Version 0.13 has mcMMO event support and has been submitted for approval.
If it is not readily available on BukkitDev, you can also grab it from GitHub: https://github.com/Mitsugaru/Karmiconomy/downloads
However, it doesn't have it as you've described. This is due to the fact that the number of events that I keep track of get reset on a daily basis.
I could look into having every event have an option to be reset every day or not... If so, that would take some time to integrate, just to let you know.
EDIT: Couldn't you just pay 1, or whatever amount, per level? That way, when they reach the level desired they will have gained the appropriate amount.
@nebenezer
I could look into it at some point if you want. I suppose I would just credit all owners a cut of the action payment and vice versa where they all pay a cut of the total amount if need be.
Would it be possible for this plugin to check location for WG protection and credit the region owners account for actions that cost money?
Multiple region owners would be a problem I guess..
@Suki_Lou
Sure, I can tack that on at some point this week (or later depending on my work load).
Would this be capable of tying into McMMO skills? I've been looking for a way to reward players through the economy for reaching certain skill level. Such as, an automatic $200 reward for reaching woodcutting 200.
Uploaded minor release. Available on GitHub until approved: https://github.com/Mitsugaru/Karmiconomy/downloads
However, if you use any of the following plugins, please update them as well:
@CreepCraft
Respawn is passive, and thus it should be lacking the deny nodes. If it does have them, I'll remove them in next release as they don't do anything.
However, that is an excellent question for vehicles. OnVehicleExit is deniable... so, I guess players could get stuck in boats/carts? IDEK XD. Which is one of the reasons why it wasn't added on the initial release.
Hmm.. If I set the config so respawning costs, but they can't pay and I set denyonLackPay to true, what will happen? :D Will they like not respawn and are stuck in the death screen?
@tremor77
Submitted for approval.
If you don't want to wait, you can also find it here: https://github.com/Mitsugaru/Karmiconomy/downloads
@xdj9123x
XD
Karmiciconomy! :D:D:D
@tremor77
Alpha release soon. Just doing some minor fixing.
Can't wait to see this plugin in action!