Knapsacks-v1.0.13

Details

  • Filename
    Knapsacks-v1.0.13.jar
  • Uploaded by
  • Uploaded
    Nov 17, 2014
  • Size
    228.13 KB
  • Downloads
    197
  • MD5
    fa89b541acd4cf431491ea23f2baef09

Supported Bukkit Versions

  • CB 1.7.9-R0.2
  • CB 1.7.9-R0.1

Changelog

* 11-17-14: 1.0.13

* +/- Fixed logic with Filling Sack first for both preferred and non preferred items upon storing the item
* +/- Fixed logic with Filling sack when the default for a sack was on and the turned off via a reload
* +/- Fixed logic with Filling sack when a preferred items was to be stored and a non-preferred item were picked up simultaneously.

* 11-16-14: 1.0.12 (11/16/14)
Knapsack Enhancements and Changes from 1.0.11 to 1.0.12 (1.7 - 1.7.10)

** The Steroid Injection of all Injections **

+ Added feature/enhancement Migration Manager so server-owners as well as players do not lose things when Plug-in is upgraded, with new features & enhancements
+ Added CONSOLE command /ks give [player] [size].  All Knapsacks can now be given via the console to players
+ Added CONSOLE command /ks remove [player] [knapsackID].  All Knapsacks can now be removed via the console from players
+ Added CONSOLE command /ks rename [player] [knapsackID] [newName].  All Knapsacks can now be renamed via the console for player so long as the player is carrying it!
+/- Changed "/ks craft" to "/ks recipe" and fixed permission node with class as it was looking for the craft node not the recipe node.
++ Optimized all the listeners for smoother and faster processing
+ Added StartUpSummary flag in config. to disable console setting messages at plug-in startup.  Not all message will go away if disabled.
+ Added "AllowPlayersToDropSacks" in config to turn off the ability of players dropping OWNED Knapsacks, mostly by accident!!! DEFAULTS TO FALSE, NO DROP!!!
  + Added the ability to demand the Knapsack be empty before allowing a drop if this open is turned on.
  = IT IS RECOMMENDED THAT YOU DO NOT ENABLE THE ALLOW DROP FEATURE TO AVOID PLAYERS FROM LOSING AND GETTING EXPIRED KNAPSACKS!
+ Added (DefaultVolume) and (DefaultPitch) to Sounds Section - Change the volume and pitches to customize your Knapsack Server Sounds....
  + Added the ability to Right-Click a Knapsack with Player or Knapsack Inventory GUI open, to open the Right-Clicked Knapsack within the same GUI Screen. (survival only)
+ Added new tasks for GUI Right-Click Changing (see "RightClickGUIDelay" in config.)
+ Added new control settings to allow configuring what happens when you right-click a specific block while your Knapsack is in-hand. (see RightClickActions in config.)
+ Added new tasks for Expired Knapsacks and notifications (see Notification Services below as well as in the config.)
+ Added new global flag to allow or dis-allow stashing of Crafted (new, non owned) Knapsacks.
+ Added console command (ks debug) to toggle debug mode on and off - Console Only-  Allows detection of isses should you spot something not quite right!
(+) Fixed a glitch with the /ks list when item meta was removed or missing due to player interaction of some other plug-in, etc...
(+) Fixed a glitch with the /ks list if a player only had the (knapsacks.starter permission group/nodes...
(+) Fixed a glitch with the /ks share command
(+) Fixed a glitch with /ks claim command if you were claiming someone's Knapsack and were also carrying a New Crafted Knapsack, it would ignore/error out on the claim unless the Knapsack you were claiming was in your hot-bar. All Fixed!
(+) Fixed minor issue with /ks give command when entering a sack size not valid or enabled.
(+) Fixed an issue with the /ks give command that only affected the owners table and had no drastic measures on the plug-in itself.
(+) Fixed issue with Anvil renaming if the ReservedNameTags in config was left blank. Make value two SINGLE quotes ( '' ) if not configuring any reserved names!
(+) Fixed issue with Anvil renaming if player did not have enough XP to actually complete the rename. Will no longer update the DB but not the LORE!
(+/-) Restructured some of the existing classes in preparation for total classes over-haul(1.0.13 - 16 -> 1.1.0?)
+ Added ability to allow a player to right-click a Knapsack to open it.  Additionally, if you are in a Knapsack and you want to open another Knapsack, just right-click that Knapsack and it will open it, etc.. etc.. etc..
  + permission nodes (knapsacks.open.rc.9 knapsacks.open.rc.18 knapsacks.open.rc.27 knapsacks.open.rc.36 knapsacks.open.rc.45 knapsacks.open.rc.54
+ Added option for each Sack to have the ability to be Right-Clicked to Open while a Knapsack is open
  + Added global option to allow right-click in Players Inventory to open Knapsacks
  + permission node (knapsacks.open.player.rc
+ Added command /ks clear               - This command allows a player to remove all items from a Knapsack and trash them!
+ Added command /ks clear drop          - This command allows a player to remove all items from a Knapsack and DROP them where the player stands!
+ Added config property under "Knapsacks" for "Blacklist" items         - sack based in conjunction with global/server-wide
  + Added new Config Sound Event for Blacklisted items: Sounds.Events.BlackListed
+ Added **New Feature** for **Auto-Filling Items to player preferred Knapsacks**
  + Added config section for "AutoFill" and respective properties (enabled, blacklist and max sacks allowed for auto-fills) - These are global/server-wide
  + Added config properties under "Knapsacks" for Auto-Fill attributes  - sack based in conjunction with global/server-wide
    + "AutoFillSackFirst", "AllowAutoFillPreferred"                     - sack based in conjunction with global/server-wide
  + Added new permission nodes for Auto-Fills:
    + (knapsacks.autofill              - Allows player general access to use Auto-Fills (add, remove, list)
    + (knapsacks.autofill.preferred    - Allows player to add specific items to auto-fill only, into a specific Knapsack.
    + (knapsacks.autofill.flags.sacks  - Allows player to add flags to individual knapsacks ("-nomsg","-allmsg","-off")    - Sack based
    + (knapsacks.autofill.flags.player  - Allows player to add global player flags ("-nomsg","-allmsg","-off") - Global to Player Auto-Fills
  + Added command /ks fill add [id,id..]  - This command allows a player to set Knapsacks as designated filling holders when the players inventory become full
    + Players can fill their Knapsacks both before and after player inventory is *100% full*.
      () There is NO Requirement for one empty slot in your inventory.  Fill it up and auto-fill your sacks!!
    + Players can define specific items that are (preferred) for a specific Knapsack only
    + Players can toggle their Auto-Fills on and off with simple command:
      + Auto-Fill Commands:
        + /ks fill add [id,id..]      - Add Knapsacks of [id,id..] to your auto fills(order of the id entry is the order sacks are filled)
        + /ks fill remove [id,id..]   - Removes Knapsacks of [id,id..] from your auto fills
        + /ks fill removeall          - Removes all auto-fill Knapsacks
        + /ks fill list               - List all Knapsack auto-fills defined        
        + /ks fill [id] -tog          - Toggle the state of the AutoFill on and off for a specific Knapsack      
        + /ks fill [id] -first        - Turn filling Knapsack of [id] before player inventory. Defined at the sack level, but players can change for themselves too.
        + /ks fill [id] -nomsg        - Turn all messaging off for this Knapsack of [id]
        + /ks fill [id] -allmsg       - Turn all messaging ON for this Knapsack of [id]
        + /ks fill [id] list          - Lists all Items defined for a specific Knapsack
        + /ks fill [id] +pre [matl..] - Adds items as the preferred items of [matl,matl..] to a specific Knapsack of [id]
        + /ks fill [id] -pre [matl..] - Remove preferred items of [matl,matl..] from a specific Knapsack of [id]      
        + /ks fill [id] -flags        - Display a list of all flags assigned to Knapsack of [id]
        + /ks fill [id] -preclear     - Clear all Knapsack[id] Preferred Items
        + /ks fill [id] -flagsclear   - Clear all Knapsack[id] Flags
        + /ks fill -tog               - Set Global Filling On/Off - Toggles
        + /ks fill -nomsg             - Set Global Filling Msgs off - Toggles
        + /ks fill -allmsg            - Set All Global Filling Msgs off - Toggles
        + /ks fill -flags             - Display a list of all Player Global Auto-Fill Flags
        + /ks fill -preclear          - Clear all Global Preferred Items
        + /ks fill -flagsclear        - Clear all Global Preference Flags
+ Added option under Config Section.  "RightClickChestOpens: true".  This option does what it says.  By default when a player right-clicks with a Knapsack in-hand the Knapsack will open. If you enable this option, the chest will act normally when right clicked with a Knapsack in-hand.
+ Added Notification Services:
  = Will be the basis for current and upcoming messaging (custom) and system as well as player notification of events such as Expire Knapsacks (below).
  = Housekeeping and Expired Sack Listing Tasks / Notifications
  = General Notification messaging (you can now customize some messaging - more to come soon).
+ Added Player-Clean-Up-Days
  = Players are notified when Knapsacks expired and are presented with the option to access them (un-expires them) or clean them up
  = Added permissions node (knapsacks.clean.drops which will drop all items stored in a Knapsack when the Knapsack is cleaned/removed  
  + Added new permission node (knapsacks.clean.override to allow knapsacks to never expire, hence never get cleaned, removed or deleted.
+ Changed <Database-Clean-Up-Days> to System-Clean-Up-Days
  = System clean up days works the same as the former, but can now be pushed to a lower/higher value and executed manually by an OP ONLY and/or just let the system do it automatically at plug-in start up time.
+ Added new sound event for Item Picks related to Auto-Filling Knapsacks (same as default minecraft item-pickup, but much louder, sharper and distinct)
+ Added new sound event for clean item drops
+ Added new sound event for no world usage
+ Added new sound event for clear sack command
+ Added new sound event for clear sack command with item drops
+ Added WorldExclusions, Globally as well as on a Sack by Sack basis
  = 1 new permissions node (global world exclusions over-ride):
    = knapsacks.worlds.override
  = Global World Exclusions:
    = List all world where you don't want Knapsacks to be used.  "To be Used"? What does this mean if you list a world here?
      = If a player is carrying a Knapsack and the player travels to an excluded world the player will not be able use(add to or take from) any Knapsack
      = Giving a player new permission node (knapsacks.worlds.override will supersede this, however if the same world is defined in a sack, the player
        will then need the (world.override.size permission node to again be able to use(add to or take from) that Knapsack, regardless of the global override perm.
  = Sack by Sack World Exclusions:
    = Each Knapsack(sack) has a new flag (NotInWorlds).  Adding a world to a sack will limit just that sacks size when a player is in that world.
    = Giving a player any of the 6 world.size permission nodes will supersede this setting.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  = 7 new permissions nodes (sack world exclusions over-ride):    
    = knapsacks.world.override.9 knapsacks.world.override.18 knapsacks.world.override.27
    = knapsacks.world.override.36 knapsacks.world.override.45 knapsacks.world.override.54
  = Giving a player these nodes will allow a player to use Knapsacks for a specific size within a world that was otherwise flagged as "NotInWorlds" on that Knapsack.
    = This does not over-ride the global WorldExclusions setting.
        = So if a player has a size 45 over-ride permission node and you have that sack flagged as "NotInWorlds: temple" the player will be able to use(add to or take
          from) this size Knapsack within that world (temple).
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
* WORLDS and OVER-RIDES:
         *
         *     - First check is always at the GLOBAL Level ("WorldExclusions"):
         *         - Player is in same world that is defined in "WorldExclusions":
         *             - Does Not Have (worlds.override and (world.override.size NO ACCESS to use(add to or take from) the knapsack
         *             
         *     - Second check is then at the Knapsack(sack) Level ("NotInWorlds"):
         *         - Player is in the same world that is defined in "NotInWorlds") for a specific SIZE Knapsack
         *             - Has (worlds.override but DOES NOT HAVE (world.override.size NO ACCESS to use(add to or take from) the knapsack
         *             - Or DOES NOT HAVE the (world.override.size NO ACCESS to use the knapsack.

* 10-25-14: 1.0.11: First public release of Knapsacks!

1.0.11: * During the final testing stages, I inadvertently left the first Knapsack (sack1) with a Max of 1.  This will obviously be changed in future updates, but you will probably want to change that after you install!!

1.0.12: * None as of the release. Extensively tested and pretty sure it's 99.8% bug-free!