Hello There, Guest! Register

My New Plugin
VeraLapsa
Minecraft Overlord


Posts: 626
Joined: May 2008
#1
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:
  • /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.
New in v1.6:
  • 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"
Permissions:


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.
Known Bugs:
  • None that I personally know of
To Do:
  • Faster sorting Algorithm.
  • Make stacking fully configurable.
Change Log:
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


Woo hoo ACEN here I come.
(This post was last modified: 03-17-2011, 03:20 PM by VeraLapsa.)
Reply
demonspork
Lurker


Posts: 217
Joined: Sep 2008
#2
02-17-2011, 12:51 PM

1. Permissions integration - must give people permission to use the command
2. 2 separate configuration options - 1 that allows people to use a version of the command that will also STACK all items and another that will just do a standard sort, following the normal rules of what can and can't be stacked.
3. Post it HERE so that everyone can enjoy your plugin, not just the BRBU bitches.


MINECRAFT RULES AND INFORMATION
Minecraft Server changing hosts. Do not donate to my NFOservers account because I am cancelling it after this pay period.
Reply
PyroZombie
BRB, Posting


Posts: 1,032
Joined: Feb 2010
#3
02-18-2011, 01:20 AM

Expand it to chests, unless you did, and I'm an idiot.


[Image: zombie_che_sticker_400.jpg]

Blue Crew.....I got nothing flashy set up.
Reply
VeraLapsa
Minecraft Overlord


Posts: 626
Joined: May 2008
#4
02-20-2011, 03:47 PM

bump
with
http://forums.bukkit.org/threads/gen-inv...-351.4872/


Woo hoo ACEN here I come.
Reply
VeraLapsa
Minecraft Overlord


Posts: 626
Joined: May 2008
#5
03-17-2011, 03:57 PM

bump lol


Woo hoo ACEN here I come.
Reply
Star Knight
Lurker


Posts: 246
Joined: Feb 2009
#6
03-17-2011, 06:13 PM

Your avatar is very creepy on bukkit's forum. Just saying. O_o

awesome plugin btw


Quote:My Spy Sense is tingling!
Reply
PyroZombie
BRB, Posting


Posts: 1,032
Joined: Feb 2010
#7
03-19-2011, 11:37 AM

(03-17-2011, 06:13 PM)Star Knight link Wrote: Your avatar is very creepy on bukkit's forum. Just saying. O_o
Not a Tim Curry fan?


[Image: zombie_che_sticker_400.jpg]

Blue Crew.....I got nothing flashy set up.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)