02-17-2011, 05:07 AM
InventorySort - Sorts your inventory or the chest your looking at.
Version: 1.6.1
Download: InventorySort v1.6.1.zip(Jar)
Source: https://github.com/wolfwoodbrbu/InventorySort
Needs either Permissions 2.1 or GroupManager
I've also had my plugin added to the CraftBukkitUpToDate plugin.
InventorySort allows you to sort all or part of your inventory ordered on the block/item TypeId number. You can also sort chests in the same manner.
Commands:
Side Note/Thanks:
The plugin Stacks items first then sorts them. This is based from the stack command in http://forums.bukkit.org/threads/sec-worldguard-v3-2-2-protect-areas-block-fire-info-about-4-x-available.790/']WorldGuard[/URL]. This also used the ItemType.java from it.
Known Issues:
v1.2 - 2/18/2011
+Initial Release to bukkit.org
v1.3 - 2/21/2011
+[Fixed] doublechest detection
+[Added] /srtc alias for /sortchest
v1.4 - 2/24/2011
+[Removed]TSLPC
+Works on CraftBukkit 435+
v1.5 - 2/25/2011
+Complete rewrite of the InventorySort to allow for easier expandability.
+[Fixed] Permissions 2.1 errors
+Works on CraftBukkit 449+
+[Added] /sort stack command to toggle stacking
v1.6 - 3/17/2011
+Now works with GM and Permissions 2.1
+[Added] Configurable
+[Added] Wand sorting of chests
+[Added] Configurable stacking of tools and armor
+[Replaced] Bubble Sort with Quick Sort
+Works with CraftBukkit 542+
v1.6.1 - 3/17/2011
+Changed iSort.basic.chest to iSort.basic.chest.command for better permissions
Version: 1.6.1
Download: InventorySort v1.6.1.zip(Jar)
Source: https://github.com/wolfwoodbrbu/InventorySort
Needs either Permissions 2.1 or GroupManager
I've also had my plugin added to the CraftBukkitUpToDate plugin.
InventorySort allows you to sort all or part of your inventory ordered on the block/item TypeId number. You can also sort chests in the same manner.
Commands:
- /sort all - Sorts all of the slots in your inventory(slots 0-35)
- /sort top - Sorts the "Backpack" slots of your inventory(slots 9-35)
- /sort 4 35 - Sorts slots 4-35
- /sort 30 10 - Sorts slots 10-35
- /sortchest - Sorts all of the slots in a chest or doublechest (alias: /srtc)
- /sort stack - Toggles whether sorting stack's first (default off) will remember between sessions as long as the server hasn't been restarted.
- Quick Sort algorithm that firs sorts by TypeID, then Damage value(for wool, dye, slabs, logs), and lastly by stack size(So smaller stacks are at the end and easy to find)
- Configurable stacking:
- [SPOILER]
Code:
Stack:
   Deafult:
    Enabled: false
   Toggle:
    Enabled: true
   Tools:
    Enabled: false
   Armor:
    Enabled: false
  Chest:
   Wand: 280
  # Users Automatically Added
  Users:
   Wolfwood:
    Stack: true
- [/SPOILER]
- A wand for sorting chests. Default is a Stick(280) I suggest if you run BigBrother you change it to a Bone(352) or something else so not to mess with BB.
- Configurable stacking of Tools and Armor(This will not stack by damage value, so all unused tools will stack behind a used tool)
- New Permissions for wand "iSort.basic.chest.wand" and command based cest sorting is now "iSort.basic.chest.command"
Code:
iSort.basic.all - /sort all command
iSort.basic.top - /sort top command
iSort.basic.range - /sort [0-35] [0-35] command
iSort.basic.chest.command - /sortchest command
iSort.basic.chest.wand - Wand based chest sorting
iSort.adv.stack - /sort stack command
Side Note/Thanks:
The plugin Stacks items first then sorts them. This is based from the stack command in http://forums.bukkit.org/threads/sec-worldguard-v3-2-2-protect-areas-block-fire-info-about-4-x-available.790/']WorldGuard[/URL]. This also used the ItemType.java from it.
Known Issues:
- May be a problem with the newer builds of craftbukkit, I'm checking this out.
- None that I personally know of
- Faster sorting Algorithm.
- Make stacking fully configurable.
v1.2 - 2/18/2011
+Initial Release to bukkit.org
v1.3 - 2/21/2011
+[Fixed] doublechest detection
+[Added] /srtc alias for /sortchest
v1.4 - 2/24/2011
+[Removed]TSLPC
+Works on CraftBukkit 435+
v1.5 - 2/25/2011
+Complete rewrite of the InventorySort to allow for easier expandability.
+[Fixed] Permissions 2.1 errors
+Works on CraftBukkit 449+
+[Added] /sort stack command to toggle stacking
v1.6 - 3/17/2011
+Now works with GM and Permissions 2.1
+[Added] Configurable
+[Added] Wand sorting of chests
+[Added] Configurable stacking of tools and armor
+[Replaced] Bubble Sort with Quick Sort
+Works with CraftBukkit 542+
v1.6.1 - 3/17/2011
+Changed iSort.basic.chest to iSort.basic.chest.command for better permissions