SortingHopper
This project is looking for maintainer.
Sorting Hopper
SortingHopper allows you create item filters based on hoppers. You can obtain the item by crafting or using "/sortinghopper give" command (only op).
The item sorter will only accept items specified in its rules, which can be accessed by right-clicking one. Hopper contents can be accessed by right clicking with an empty hand while holding Shift.
Sorting Hopper 2 vs Sorting Hopper Classic
Classic version is a very basic version of this plugin, like it was in it's first release.
It has no inventory menu, you just put items right into renamed hopper, it doesn't allow them to be flushed and accepts only similar items. It has been updated to 1.13, but misses many features added in later versions.
Item groups
Filtering groups are configured in itemgroups.yml
You can enable or switch group filtering by rightclicking an item in sorter's menu. It will only switch, if this item belongs to at least one group.
Recipe
New default recipe is Hopper+Comparator
Plugin now drops hopper and comparator separately, by default
Commands
/sortinghopper give give yourself a sorter
/sortinghopper save [name] Save rules to specified file, or leave blank for default (rules.dat)
/sortinghopper load [name] Load rules from specified file, or leave blank for default (rules.dat)
Source code
Credits
JustRayz - InventoryStringDeSerializer
Sothatsit - Enchant Glow snippet
Christian d'Heureuse - Base64Coder
ProgrammerDan - contributor
Rycochet - contributor
OnlineCop - contributor
killje - contributor
WOLFI3654 - contributor
@poiMt3D
When you make it into one plugin could you please make adding some Lore to the ITEM an Option this will stop them renaming the items in the anvil. I really don't like that "Feature" I feel it really defeats the point of the crafting.
Also If you change the default Item names. One of the OLD names aka Default name Sorter Apears in the Output slot of any workbench you open and can be duped by opening and closing.
@Saphareas
The version for 1.8 was an attempt to fix wrong sorter behavior caused by Spigot bugs, there's really no big changes to it. Version for 1.7 should work just fine. I'm planning to release combined version, where you can switch between sorter types easily. I'll check out furnaces. I must repair my home server first.
Greate Plugin, it works great with Spigot 1.8.3.
But I'd like to see the precise sorter in the version for 1.8.x.
And I've also a Bug to report: somehow the sorter doesn't give its items (tried with ores) to furnaces.
Ok, looks like it's a Spigot bug: https://hub.spigotmc.org/jira/browse/SPIGOT-333
Please, try the solution proposed by You-dont Neaddis https://hub.spigotmc.org/jira/browse/SPIGOT-333?focusedCommentId=11424&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-11424
Also, try setting slower hopper rate.
@antichip
Sorry, i can't figure out what's wrong with it. It's using only pure Bukkit API and has pretty simple logic. Still haven't got time to update my server and do proper testing. No problems found running on a testserver.
Using the latest spigot build as of this writing it is very buggy and intermittent. Sometimes it wants to work and the next thing it does not. I had high hopes for this plugin but it has serious issues to get resolved first.
Is the precise version being implemented for 1.8.1 ?
Once I figured out that it was sorting all stone to one place and all wood to one place I saw the possible need for the precise version - especially if both were to exist at the same time as two differently named sorters.
Thanks for this - an excellent system for reducing hoppers and hopper lag.
i set up a big sorting system but it not working 100% a lot of items a re not sorted ar all
@ChengZi368
But why? You can use them both together. It would take the same amount of code, just merged into one file.
@poiNt3D
How about making precise versions and normal versions together?
Today i compiled the plugin with latest Spigot API. Short testing shows it's working. I don't have much time to properly test it on big sorting systems now, please report any problems. New version is waiting for aproval.
@Boardwalk91
For the first problem - it's just normal and as it should be with normal hoppers - redstone power from the chest disabling sorter and it will won't accept new items. You can insert some sort of buffering hopper between them - it should solve this problem.
Can you explain more about second one, maybe post some screenshot or scheme?
@EnergizerBEAST1
Tried latest version of spigot and still getting same problem, one cause is if chest below sorter is a trapped chest and you open the chest as items are going into it then they fail to sort and continue down the line. Still not found why random sorters just dont work when the one's either side of them do but am going to try the precise version and see what happens.
@Boardwalk91
Yes, I got it too. If an item is in a hopper beneath the transport line, the item won't drop down. This happens when there is just 1 item, or more, in the hopper, and not when the hopper is full. It's very annoying. I will check spigot later if they released an update, and maybe it's fixed in that one. I will post more info if I know.
And by the way, this plugin looks awesome, will test it in a few hours!
Edit: Did some testing with the newest version of Spigot 1.8, and it seems to be fixed. Just run BuildTools.jar again, and the newest will be downloaded. And now, I'm going to make use of the plugin. :)
Hello everyone!
@Rail_Bender
Yes, i already have simillar request from another user to use item id's instead of type. I don't want to overcomplicate the plugin, so i will make a separate version of it, to keep the best performance possible.
@Boardwalk91
I will test it after i switch to 1.8 myself, right now i'm just busy with job. In the mean time, you can try update/debug yourself, the code is available at GitHub and it has pretty simple logic.
Hello, i'm wondering if there is the possibility for making this thing sort each item within its own value. I'm having a real hard time with this sorting things into very separate groups. For instance, wool. It will not sort the colors of the wool, all the wool just goes into one chest. Also, i love to make sorting system that cooks and everything etc, even brewing stations that do it all, but i can't with this filter. For instance, when trying to take fish from a fishing redstone machine, i can put into the hopper only the normal fish, and salmon fish, but also the pufferfish and the clownfish will sort to there too, meaning i can't feed a furnace with this or it will jam up.
is there some way you can make it for us to have the option to break it down further.
so it will see the diff between:
349/0 349/1 349/2 349/3
35/0 35/1 35/2
etc etc
Hi,
we are running the plugin on a Spigot 1.8 server (latest build) and have noticed on occasion an item passes over the filter in the hoppers above and does not get pulled down by the sorting hopper but carries on along the rest of the hoppers until it hits the end of the hopper track. Has anyone else noticed this behaviour as we have players starting to complain about it affecting their storage systems.
Looks good. Will add it to my server.
I would love to use this for my Zombie survival server! It would save a lot of space (redstone wise)!
Great idea!
Have it on my private server, sorting every item in the game. Works perfectly.