KarmicShare v0.32

Details

  • Filename
    KarmicShare.jar
  • Uploaded by
  • Uploaded
    Jul 22, 2012
  • Size
    137.23 KB
  • Downloads
    912
  • MD5
    bc0389e90fcb2acfb3511d94a0bd70a3

Supported Bukkit Versions

  • CB 1.2.5-R4.0

Changelog

v0.32

  • Basic economy support
    • Use your economy system in place of the karma system
    • Requires Vault and a supported economy plugin
  • Separate give / take values on items
    • For default settings in the config.yml, set karma.change.give and karma.change.set
  • Completely redesigned per-item karma configuration structure
    • Make sure to update your karma.yml to reflect the new structure

Please note, the per-item configuration file karma.yml has been restructured... and I did not make an updater for that. So please fix your file to follow the new structure. I've updated the Configuration page.

Here's an example configuration for an item:

OrangeWool:
   itemid: 35
   data: 1
   give: 6
   take: 6

v0.317

  • Fix NPE from previous version on load.

v0.316

  • Overhauled how the configuration is handled internally.
  • Consolidated some duplicate code.
  • Fixed so that blocks are not placed when interacting with signs.
    • Thanks to @FlukiestEmperor for pointing it out.
  • Fixed some FindBugs issues.
  • Other minor edits.

v0.315 skipped

v0.314

  • Fixed admin commands that dealt with groups / karma.
    • Fixed resetting / setting a player's karma
    • Fixed remove a group
    • Fixed draining items from a group
    • Updated help to show the cleanup command and updated drain parameters
  • Displaying groups should now word wrap appropriately (or close to it)
  • Changes to inventory click logic
  • Removed internal custom version of LogBlockQuestioner.
    • Old questions are now using the Conversations API.

v0.313

  • Fixed adding initial groups to players with null group.

Thanks again to @FlukiestEmperor for taking the time to help me step through the issue.

v0.312

  • Fix adding players to the new, persistent groups, if they lack groups.
  • Fix on exception when grabbing player groups.

v0.311

  • Fixes group commands to use the new format correctly now.
  • Fixes the right click add single item to chest.
  • Fixes the sign permission check
  • Fixed "duplication" issue with a specific inventory interaction.
  • Using the self group should no longer change karma.

Thanks again to @FlukiestEmperor for catching the above issues.

v0.31

  • Multiworld control: define what worlds should not have access to KarmicShare
    • List of disabled worlds should be added to the config. The new path will automatically be added in. World names are not case sensitive.
  • Fix permissions check for certain commands.

v0.3

Massive Overhaul

  • Major changes throughout the plugin.
    • Database schema changes. The updater should handle it properly, however I urge you to read the important note below regarding this.
    • Reduction in overall complexity. Should produce faster results for certain situations. (Also looks cleaner too)
    • Removed anything unused / outdated. (Unless its to be re-added later)
    • Consolidated old and similar code into shared methods.
    • Internalized custom SQLibrary classes so that changes do not conflict with other plugins.
  • Use of custom inventory holder rather than populating the chest's inventory.
    • This means that a chest's previous items will no longer be wiped.
    • Also, people viewing the same inventories from different locations will now be able to see other player edits in real time.
    • This enables the chest inventory view to be accessed via a command as well.
    • The inventory will always emulate the size of a double chest, even if the chest opened is a single chest.
    • The inventory, when opened, will be titled the group your are viewing and the current page.
  • Groups and interactions have been completely overhauled
    • You no longer have to define a group for the link sign. Groups are now tied to the player.
    • To cycle between groups, you can either:
      • Shift click the sign/chest to cycle in increments of the groups you are a part of
      • Use command to set your selected group, so long as you are a part of that group or have the appropriate ignore permission node.
    • Your currently selected group is highlighted in your group list in the /ks command.
  • List command now allows for viewing and paging through any group (no longer statically defined as "global").
    • This is tied to your currently selected group.
    • Should work the same for give/take commands as well.
  • Fixed issue with ghost item exploit of enchanted items.
    • This was due to not having an order to the enchantments of an item. Remedied with custom enchantment wrapper to provide necessary order / sorting.
  • Removed the automated "cleanup" task and replaced it with a command.
  • Command changes:
    • New command to set your selected group: /ks group set <group>
    • New command to remove irregular items (items with negative amount) : /ks admin cleanup
    • New command to open an inventory view anywhere: /ks open [page#]
  • Permission changes:
    • Removed unnecessary node - KarmicShare.group
    • Added node - KarmicShare.admin.cleanup
    • Added node - KarmicShare.commands.open

Thanks to @FlukiestEmperor for the brainstorm that led to these changes.

And thanks to everyone that has been using this plugin. Wouldn't be here if it weren't for your support :D

IMPORTANT:

  • VERY important changes to the database. While I've tested it to be a clean transition, we all know things can go wrong... So, please back up your databases just in case the updater doesn't work entirely correct.
  • Also, in the case that you have groups that have capital letters, please change them to be lower case in the interim.
  • Using admin command /ks admin add <item> ... does not allow for item name like the user's version of take /ks take <item name>. May or may not bother with this... Perhaps in the future.It can parse the name if given it as defined in Bukkit's Material class, but not in KarmicShare's normalized way.
  • Implement localization config
  • If you select a group that you are not a part of, but are allowed the selection, it is not seen correctly in the /ks command.
  • Viewing another player's karma does not show their groups.
  • This breaks the reverse lookup (using the item name) for taking an item through commands. Will be added back in once I implement it better this time around.