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.
I have latest bukkit and latest Karmiconomy, but for some reason it doesn't create a "Karmiconomy" folder for me.
@maxlehot1234
use Ontime for this.
Is it possible to add points rewars for x hour passed on the server without AFK mode...
Add towny support for exmaple, create a town, buy a plot, war against othe town, etc.
It can be awesome
@Q2Lummox
Unfortunately I have to agree. It was a great project for where I was at the time... but honestly, it should be completely rewritten.
And by someone who actually has time to commit to it (which is sadly not me).
I think this plugin needs a complete remodeling. Really appreciate that "Mitsugaru" take care of it, but I think not will be possible, for now...
gives a lot of errors in 1.6.2 with mcmmo.
Hello again. This time I come with a suggestion.
You can add an option that limits the number of maximum points gained by a player a day?, Regardless of whether the get breaking, placing, crafting, etc ... just an option that says:
Limit_player 100
And no matter what limits you put in each event, the maximum available for a player will be 100 points a day.
@Mitsugaru
Indeed, was not working, stop the server and after a short time (without touching anything), I just got going again and everything worked O.o
@Q2Lummox
It just magically started working? Well, I've no idea what was causing it (specially since I couldn't replicate it), but glad you have it working now.
Mysteriously, it now seems to be working well O.o
I'll be trying out for a while. See if giving some other problem.
Thanks for the help;)
Yes, I configured my config.yml this way:
block:
destroy:
enabled: true
denyOnLackPay: false
denyOnLimit: false
static: false
limit: 100
pay: 0.1
localMessage: true
place:
enabled: true
denyOnLackPay: false
denyOnLimit: false
static: false
limit: 100
pay: 0.1
localMessage: true
When I break a block of grass, not giving me points. I also do not see any message that has paid me to break the block.
Thus it I have configured "Values.yml"
'2':
destroyPay: 5.0
destroyDenyOnPay: false
destroyDenyOnLimit: false
destroyLimit: 0
@Q2Lummox
AFAIK, there are no permissions that need to be set to use either PlayerPoints or Karmiconomy.
Since you're doing the per-block configuration, did you remember to set static to false?
If static is true, it will ONLY use the value from the "pay" node. When static is false, it will load in your per-block configurations and use the default pay node for all blocks that weren't specifically configured.
Sorry, I have enabled:
block:
destroy:
enabled: true
Restart the config to try and forget me activate it, but again, still not working ....
I do not understand then that can happen ... need some special permission?, both this plugin or playerpoints?.
If you want to see directly, you can enter my test server:
dangoria.es
Im using version: 0.175 of Karmiconomy and v.154 of PlayerPoints, with 1.5.1 R0.2 of Craftbukkit.
No give any errors in the console.
The plugins I have are:
PermissionPex
Karmiconomy
PlayerPoints
TerrainControl
Vault
@Q2Lummox
Hmm, well, I went ahead and did a quick test using v0.175 of Karmiconomy with v1.54 of PlayerPoints, following your configuration of vault off and playerpoints on, and it is giving points as far as I can tell...
Are you getting any sort of errors?
Its because you didn't enable it to act on the block destroy event in your config.
You need to enable it, else Karmiconomy is not going to pay attention for that event.
My settings:
Value:
http://pastebin.com/Cw8ZL0BA
Config:
http://pastebin.com/57xJ5xbk
I created as a test, that by breaking a block of grass, give me 5 points. But to break a block of grass, does not give me anything, I have always 0 points.
@Mitsugaru
Thanks for responding.
I tried the latest version available in "Jenkins", but still not working. If active "vault", I paid in cash without problems, but if only active "PlayerPoints" never pay with points ... it is as if ignoring this plugin.
@Q2Lummox
Sorry, I didn't update to the newest PlayerPoints.
You can try the latest build on [Jenkins](http://ci.dakanilabs.com/job/Karmiconomy/) and see if it solves your problem.
I've already submitted the minor update to BukkitDev if you'd rather wait.
How I can "hook" with PlayerPoints?, Is set in the configuration so:
economy:
vault: false
playerpoints: true
So I will not pay with money, only PlayerPoints points.
But I do not give points to do "actions".
If active "vault", yeah, I paid, but it money and not points.
I would love have this mechanic. Is it still usable on 1.4.7? Maybe there is another plugin that does the same? If someone knows, link me up!