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
Great you could resolve that. Sorry, I haven't been able to do some coding in the evenings, the recent days were too busy. I'll check your update this weekend. Thanks for the fix!
In reply to CreativeWarlock:
In reply to CreativeWarlock:
Actually, i made some stupid mistake in my fix, hadn't got time to test it. The latest version works, though.
absolutely love this plugin and just wanted to ask if there were/are plans to update for 1.14?
In reply to Glaedir32817:
I'm working on it right now.
I wanted to add some additional backend support also, to help people having errors, but i have to find some free time.
useing SortingHoppers2 and havent setup any hoppers yet but am getting this error in console
Everyone who are having problems with rules.dat fail to load after restart:
I have uploaded a new version, it should appear after moderator check.
It may fix this problem, also may contain some small bugs.
Please, do provide your feedback.
If it doesn't fix the issue, i will add an alternative data backend in the next release.
I deleted the folder and let the plugin create a new config, I then setup one simple sorting hopper and saved the rules. I then restarted the server and it made the rules file a backup file... https://www.dropbox.com/s/4lgceme1plirqx2/rules.bak?dl=0 and created a new rules file... https://www.dropbox.com/s/ydd7ykogph78757/rules.dat?dl=0
Hope this helps.
In reply to Forge_User_35549337:
In reply to Forge_User_35549337:
I have the same problem. the rules.dat does not load after creation.
I believe this is due to The Flattening.
The non classic version needs an update to work with 1.13 properly i think.
In reply to _Zaphod77_:
In reply to _Zaphod77_:
What version of server are you using?
In reply to poiNt3D:
Getting this error message when starting the server...
[08:28:51] [Server thread/INFO]: [SortingHopper2] Enabling SortingHopper2 v2.2[08:28:51] [Server thread/INFO]: [SortingHopper2] Enabling SortingHopper2 v2.2[08:28:51] [Server thread/WARN]: java.io.EOFException: Unexpected end of ZLIB input stream[08:28:51] [Server thread/WARN]: at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)[08:28:51] [Server thread/WARN]: at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)[08:28:51] [Server thread/WARN]: at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)[08:28:51] [Server thread/WARN]: at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2662)[08:28:51] [Server thread/WARN]: at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2678)[08:28:51] [Server thread/WARN]: at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3155)[08:28:51] [Server thread/WARN]: at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:861)[08:28:51] [Server thread/WARN]: at java.io.ObjectInputStream.<init>(ObjectInputStream.java:357)[08:28:51] [Server thread/WARN]: at point3d.sortinghopper2.Rules.loadRules(Rules.java:113)[08:28:51] [Server thread/WARN]: at point3d.sortinghopper2.Rules.loadRules(Rules.java:101)[08:28:51] [Server thread/WARN]: at point3d.sortinghopper2.Rules.loadAndBackup(Rules.java:87)[08:28:51] [Server thread/WARN]: at point3d.sortinghopper2.SortingHopper.onEnable(SortingHopper.java:71)[08:28:51] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:254)[08:28:51] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)[08:28:51] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404)[08:28:51] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:436)[08:28:51] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:350)[08:28:51] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:580)[08:28:51] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:542)[08:28:51] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:420)[08:28:51] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:294)[08:28:51] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:698)[08:28:51] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)
In reply to Forge_User_35549337:
In reply to poiNt3D:
In reply to Forge_User_35549337:
In reply to poiNt3D:
Not sure if this is possible, but is it possible to add some sort of visual effect to the sorter hoppers so that players can tell them apart from regular hoppers at a glance? Perhaps have them emit redstone particles or have an enchanted item sparkle? Just an idea for you to consider.
In reply to DrSaphron47062: