KarmicShare
KarmicShare
About
This plugin acts as cloud storage for items that anyone (with the proper permission nodes or in the same group) can give and take items to/from. However, in order to prevent players from abusing the global / group item pools, there is a configurable per-item karma system in place to limit how many items a player can take without giving back.
This system can effectively create protected item pools that are accessible anywhere: between different locations, worlds, even servers (by sharing MySQL). Essentially, its a "one chest to rule them all" plugin. Players and groups can create these item pools with peace of mind that their items are safe from griefers/theives/accidents. Think of it like Dropbox for items: Just put your items in KarmicShare and access them wherever and whenever.
With integrated economy support, you can use KarmicShare as a global item exchange. One that is completely managed and funded by the players.
Features
- Shared global pool of items based on player item donations to the community.
- Per-item karma multiplier: specify which items have more karma points.
- Admin commands to manage the item pool and player karma.
- Nifty (optional) effects :D
- Enchantment support
- Potion support
- Physical chests that link to the item pool
- Just have a sign with "[KarmicShare]" tag (no quotations, but DO include brackets) on the second line, and it will become a link sign. Have it above a chest and it will link the chest to the item pool.
- Chest page support
- Can hold more than 2000000000 pages of items! More item slots than you will ever need.
- To change the "page" of a linked chest, either left click the chest or click on the sign (left or right click). Or jump to a specific page using an in-game command.
- Group support, groups have their own shared item pool
- Shift click a link sign / chest to cycle through your groups. Or use a command to set your selected group.
- Multiworld control: Define which worlds have / don't have access
- Vault support
- MySQL support
- Way more powerful than native Ender Chests
- Comment on comparison here
- Economy support
Commands and Permission nodes
Configuration
Community Videos
Thanks to @Diamondsftw
Thanks to @damnnicholas
TODO:
- Ability to change config in-game through commands
- Player signs with their current karma
- Faction support (if possible)
- Dynamic karma
- List players of a group
- Group settings with owners / managers
- Per-item amount limits
- Karma rewards
- Manage group item pools via commands (full support soon)
- Blacklist
- Localization
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.
@ablac
Argh, I thought I had stamped that out... :/
No sleep for me D:
No, but seriously, thanks for letting me know.
Lastly we just found a bug :)
If you put something in a chest linked to the database for instance, We put 1 Fire in.
When a user took it from the chest it didn't remove it from the list of items and we could still take it multiple times.
Other then that great plugin :) Me and my users are loving it :P
@ablac
By default, it is enabled. More than likely, as you are OP, you probably have the new permission node KamicShare.ignore.karma, which makes you bypass the karma system. The node was added for admins to have finer control over who gets enforced on the karma system.
Although, I will consider changing the defaults of the ignore permissions from OP to false, thus they'll need to be explicitly added. I think that'd be more convenient.
And yes, IDK why I'm still awake....
Thx New version works great :)
Dont quite understand how a user gets Karma, or how they spend it everything is free right now.
I understand that putting stuff in should give you karma but taking it out should cost Karma how do i enable this part of the plugin?
@ablac
While critical update v0.15 is pending on BukkitDev, you may grab the jar from my GitHub download page:
https://github.com/Mitsugaru/KarmicShare/downloads
At least until it gets approved on BukkitDev.
Sleep.
@ablac
Alright, so the good thing is that the chests weren't affected by the typos. So, test that aspect and see if its properly writing to the item pool database. Which is sounds like it should.
As for commands based, really sorry for the typos. I did a major change with the item database, and thus had to change all my queries to support it. So, I forgot a few single quotes here and there, not to mention used the wrong word (group vs groups), which is how it got borked in the first place.
I was too focused on getting groups to work that I forgot to check on the regular commands XD
Once again, sorry about the hassles. I promise I have pushed the update already to BukkitDev and its up to them to approve it now.
Thanks for using it :D
And thanks for catching my error. I was about to go to sleep... XD
I'd have been really mad at myself if I had left it in a broken state only to wake up and find out XD
EDIT: Honestly, I should've made the groups release v0.2 since its a major release... Oh well... And yes, I am staying up till it gets approved, so I can be assured restful sleep D: IDEK what I'm doing now... blarg.
Awsome :) I cant wait to test this plugin :P So far it looks amazing :P
@ablac
Yup, that's my mentioned typo error. Went from "group" to "groups" and I missed some queries.
I'm rolling it out in a minute or so and hope that BukkitDev approves it quickly.
Didn't have access to write.
but Now it is giving SQL errors. 07:22:15 [WARNING] [KarmicShare][SQLite] Error at SQL Query: [SQLITE_ERROR] SQL error or missing database (near "group": syntax error)
@ablac
You may be having the same issues as Forecaster71 had. It sounds like the SQLite database file doesn't have write permissions to its file, and thus it cannot save anything.
The SQLite database and config files/folders are generated on enable, so, they could be missing read/write permissions. Try checking those and see if that resolves the issue.
--Or, are there any SQL exceptions or other errors in the console?
--Actually, I see that it got borked. See, I had to change from "group" to "groups" in my SQL schema... and I missed over some of the insert queries. Very sorry. I'll be uploading v0.15 now to fix this.
For some reason its not working.
I installed the JAR, and left everything as default. Im Op'd so i did /ks give while i was holding 4 pork, it made the Smoke effect and removed it from my inventory. It said [KarmicShare] Added 4 of grilled pork to pool.
Then i types /ks list It Said [KarmicShare] No items in pool.
Am i missing something??? Shouldn't it have put the items in the pool...
I tried again but this time i made a chest with the KarmicShare Sign over and same thing happened i put the item in and it just disappeared.
@Zenonic
Believe it or not, I had thought about the same exact thing XD However, the philosophy of this plugin was to be completely community centric...
So, I'm going to be releasing something similar where players can create groups and share items within their group, using KarmicShare as the backend. I'm actually working on it right now :P
Also, to link a chest, all you need to do is have a sign above the chest (or one of the chests if its a double chest) with [KarmicShare] (including brackets) in any of the lines. The plugin will catch that its a chest link sign and format it appropriately. If it finds a chest, you ought to get a notification, or at the very least the sign color will turn aqua to signify that it is linked. If a sign is not linked (because it didn't find a chest), the sign color will become dark red.
I will update the main page with this info, as I only included the instructions in the changelog.
[EDIT]
Actually, I'm reconsidering and may just consolidate it into KarmicShare...
Also, regarding karma. With multiple item pools, I think I'll stay with my current solution where karma is tied to the players. Maybe in the future I'll allow different karma ranges per group, however they will need to be within the bounds of the global karma limits.
Will you be adding(or is there already) an ability to create multiple distinct item pools(KarmicShare.pool.take.<poolname> and KarmicShare.pool.create.<poolname> permission nodes maybe, but the karma should still stay the same for all itempools)? Also i don't quite understand how to link to a chest. Other then that, this plugin shows great promise :D
Hey guys, very sorry about v0.12 and previous releases not having an important code check on breaking wall signs above chests. Absolutely sorry about it. v0.13 has been submitted and will fix this.
@Forecaster71
OK then, I'll just tack those fields onto the /ks info command, considering it inspects the item stack that you're holding.
@Mitsugaru
You should keep the full price list though, since someone might want to check the value of an item that is not in the pool.
Maybe you could also have a command that would evaluate the stack you're holding, giving you the karma value for one of that item, and how much you'd get for the whole stack.
@Forecaster71
Glad you got it working.
Hmm, ok, so consolidate the two lists into one. Yeah, that'd probably be better. Perhaps hide the id/data values and have them optionally read via a switch? like '-id' ? IDK.
And this is why I shouldn't code half-asleep XD
@Mitsugaru
I got it working. I removed the karmic share folder and let it generate a new one, then I gave write permissions to it. When I gave write permissions for the first folder it wouldn't work.
Now I'd like to suggest that it show the karma cost of items in the pool list.
So you would not have to look them up in the price list so often.
@Forecaster71
Its pending approval on BukkitDev... :\
In the mean time, I've uploaded the jar for v0.072 on GitHub: https://github.com/Mitsugaru/KarmicShare/downloads
@Mitsugaru
Where can I find this version then? It doesn't look like it's updated here and I saw no downloads on github.