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.
@NiklasHT
Easy, just make a chest group using the following command:
/ks group create <groupname>
It will automatically add you to the group.
Then, when creating the link sign, on the first line put the group name. Now, the chest(s) immediately below the sign will be linked to that group's item pool rather than the default global item pool.
And, if you ever want to add/remove people to have access to your group's item pool, just use the group commands found here:
/ks group
Just note, you will need the appropriate permissions for each command. Also, OPs and players with the KarmicShare.ignore.group can still access your item pool.
Hope that helps.
I'm uploading a critical update (0.251) and asking users to update to this version. This removes the duplication bug when a KamicShare chest is destroyed via explosion. This used to be protected, but that has since been changed with 1.2. This new version adds back that protection again.
New version found on GitHub and eventually on BukkitDev when it is approved.
https://github.com/Mitsugaru/KarmicShare/downloads
how can i make the chest only accesible for me? Because i want just my own "Item Cloud".
@fonkfader
That is correct, the commands are currently limited to the global item pool for now. Sorry :/
thanks for the update, i'am waiting for the bukkit fix for chest, just a question how to see the specific pool list of a group because when a do /ks list i think is the global pool is listing...
Ok. That might explain it. I will test with none op. Thanks.
@MERCHANToDEATH
Are you OP? Or do you have the '*' permission node?
If either of those are true, then you more than likely have the 'KarmicShare.ignore.karma' permission node, which makes your user ignore karma and thus no change when doing give/take from item pools.
Check this first.
I'm not sure that the karma lvl is going up. I gave a bunch of good stuff in and the karma always stayed at zero. Did I configure right? Help plz. Seems like a really cool plugin if I can fix this one issue.
@mrcheesete0
Just hold up, I'm working on it right now. That version I posted earlier doesn't handle the chests properly. So, if by chance you don't use chests, then I suppose it would work.
The chests logic should be working now, however there's this one weird bug that I'm trying to fix at the moment. Once I get this done, I'll reply again with an updated version + link and submit to BukkitDev.
Alright, the issue doesn't seem to be on my end... Its still rather annoying... but nothing I can do about it :\
Latest version can be found here: https://github.com/Mitsugaru/KarmicShare/downloads
Also, submitting it to BukkitDev.
I've never used spout so without the optional spout dependance the unreleased build you posted should work?
Here's a status update:
Good news:
Due to the updated API for Bukkit, I can completely remove the dependency on Spout and still have Chests for KarmicShare working as intended. :D
Meh news:
While most of my logic for the Inventory is pretty much sound, there are a few hiccups that need to be fixed. I should be able to iron those out relatively quickly.
Bad news:
There's a bug with Bukkit in that I can't get the location of a double chest because getting the holder of a double chest results in null... <.< II may have to disable double chests for the time being until this bug is fixed :\
I've posted the related issue here -> https://bukkit.atlassian.net/browse/BUKKIT-995
@mrcheesete0
Well, I have a tentative update... However, I can't seem to find a working Spout build :\ So I can't test it as much as I'd like to.
If you want, you can try this unreleased version here:
https://github.com/Mitsugaru/KarmicShare/downloads
If you do test this, let me know if it works out or not.
Also, it'd help if you made a ticket with the full stack trace of that error you were getting.
Now that I've finally been able to test it, it is important to note that chests are completely non-working. They will populate correctly, but they do not adjust for give/take. So, I cannot recommend using this version if you use chests or else players will take advantage of this and use it for infinite items.
Could you place an update for R6?
Throwing a SEVERE error.
@Mitsugaru
Cool, thx. Doing my search for plugin updates because CBuTD isnt working due to the config changes in R5/R6.
Just to let everyone know, I'm actually prepared to update for 1.2.2. However, Spout is have some serious issues... Such as chunks not loading properly and it likes to throw exceptions on player inventory interaction or close for its own events, which I listen for and use.
The good news: from what little time I could test, the new version should be pretty much ready to go... I just want to make sure that Spout is on good standing before I bother to release v0.25 of KarmicShare.
@mrcheesete0
Blarg, I thought the typo was in the code XD I was looking through and was like: "wait, everything looks right..."
I'll edit the page with the correct lines. I think I had it planned without an 's' but then had it 's' in ... and forgot to reflect those changes on the page.
So you're right its: KarmicShare.commands.*
The 's' is in the plugin.yml and the appropriate nodes in the code.
Sorry for the confusion.
@mrcheesete0
This is why you don't code half-asleep.
I will find it and do a minor update either tonight or tomorrow.
And... if the rest do not have an 's', then it probably shouldn't have an 's' but I derped and made the typo in the code.
in the permissions nodes, the KarmicShare.commands.take has an S but the other commands nodes do not have an S, is that intentional? an unintentional but still-correct node, or an incorrect node?
@CrystalPriizon
Hmm, maybe I overlooked something in the latest Spout plugin API...? IDK. I'll try and see if I can recreate it within the week.
I put items in the chest, and when my friend took an item out it would reappear so he could keep taking it over and over and keep getting an unlimited supply. But this didn't work with items he put in himself, just items I put in. Also I couldn't duplicate the item, just my friend.
Alright, finally got around to updating. Didn't know that the event system had changed. Submitting version 0.24 and hopefully that'll fix things for those on the latest recommended build.
Sorry about the delay. I've been very busy with my Capstone programming project.