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
-
View User Profile
-
Send Message
Posted Jun 18, 2021Hi there, will you be updating for use with 1.17?
-
View User Profile
-
Send Message
Posted Jan 16, 2021The plugin pretends to work. Unfortunately, it doesn't work, things go through it like in a normal hopper.
-
View User Profile
-
Send Message
Posted Jan 18, 2021In reply to KokerGames:
What version of server are you using? If it's a development build, i can't guarantee it will work since some of the needed API's could be not properly implemented yet.
I've just checked, it is working perfectly fine on Spigot-a93cbb1-7a6c3c9 (MC: 1.16.4).
-
View User Profile
-
Send Message
Posted Jan 18, 2021Omg, i'm lagging behind. Let me check it on 1.16.5...
-
View User Profile
-
Send Message
Posted Jan 18, 2021Well, i've just checked and i can't spot any problems on Spigot-018b9a0-f3f3094 (MC: 1.16.5).
-
View User Profile
-
Send Message
Posted Jan 18, 2021In reply to point_3d:
Paper Version 1.16.4 on Bukkit PL
-
View User Profile
-
Send Message
Posted Jan 19, 2021In reply to KokerGames:
Look into your Paper configuration. Is disable-move-event set to true?
-
View User Profile
-
Send Message
Posted Jan 19, 2021In reply to point_3d:
Yes i have set to true
-
View User Profile
-
Send Message
Posted Jan 19, 2021In reply to KokerGames:
If the move event isn't firing, there is no way for any plugin to know when an item is being transfered. In order for this to work, you should set it to false.
-
View User Profile
-
Send Message
Posted Jan 20, 2021In reply to point_3d:
before that I set it to TRUE and back but still nothing.
-
View User Profile
-
Send Message
Posted Jan 20, 2021In reply to KokerGames:
Try updating to paper-1.16.5-437. I just tested and it works.
-
View User Profile
-
Send Message
Posted Jan 22, 2021In reply to point_3d:
I try on CraftBukkit version 2991-Spigot-018b9a0-f3f3094 (MC: 1.16.5)
And doesn't work :/
-
View User Profile
-
Send Message
Posted Jan 22, 2021In reply to KokerGames:
There must be something in your configuration preventing it from working :- (
Have you tried to make a default server in a new folder for testing?
-
View User Profile
-
Send Message
Posted Jan 23, 2021In reply to point_3d:
Yes, I created a new server and nothing. Can I ask you to peek into FTP?
-
View User Profile
-
Send Message
Posted Feb 1, 2021In reply to KokerGames:
Hello and sorry for late response. I don't think peeking into FTP would help, if you really have set up a new server. Solution is figuring out what exactly is different in your system from mine. Could you please answer:
1) What operating system are you using
2) What version of Java is it running
I need to reproduce the issue on my side in order to find the source of the problem.
-
View User Profile
-
Send Message
Posted Nov 28, 2020hello can you help me, the plugin worked perfect but a few days ago I got this message, the hopper is still working but it doesn't allow crafting
29.11 00:05:18 [Server] ERROR Could not pass event ServerLoadEvent to SortingHopper2 v2.3
29.11 00:05:18 [Server] INFO java.lang.IllegalArgumentException: Cannot set already-set enchantment
29.11 00:05:18 [Server] INFO at org.bukkit.enchantments.Enchantment.registerEnchantment(Enchantment.java:332) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at me.sothatsit.usefulsnippets.EnchantGlow.getGlow(EnchantGlow.java:62) ~[?:?]
29.11 00:05:18 [Server] INFO at me.sothatsit.usefulsnippets.EnchantGlow.addGlow(EnchantGlow.java:67) ~[?:?]
29.11 00:05:18 [Server] INFO at point3d.sortinghopper2.Sorter.getItem(Sorter.java:61) ~[?:?]
29.11 00:05:18 [Server] INFO at point3d.sortinghopper2.ServerLoadListener.addRecipe(ServerLoadListener.java:48) ~[?:?]
29.11 00:05:18 [Server] INFO at point3d.sortinghopper2.ServerLoadListener.onServerLoad(ServerLoadListener.java:37) ~[?:?]
29.11 00:05:18 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor376.execute(Unknown Source) ~[?:?]
29.11 00:05:18 [Server] INFO at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at net.minecraft.server.v1_16_R2.MinecraftServer.loadWorld(MinecraftServer.java:469) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:237) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-253]
29.11 00:05:18 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
-
View User Profile
-
Send Message
Posted Oct 26, 2020Hello, If I do /reload, the items in my sorter hopper disapear. Is it normal ?
-
View User Profile
-
Send Message
Posted Oct 27, 2020In reply to Nornau:
I will look into that next time an update is needed. But the reload command hasn't been listed as supported, it's just i used it at some point during developement. When i made some changes, i probably forgot to update it.
-
View User Profile
-
Send Message
Posted Oct 27, 2020In reply to Nornau:
Wait, are you talking about '/sortinghopper reload' or server '/reload'?
'
-
View User Profile
-
Send Message
Posted Oct 27, 2020In reply to Nornau:
You shouldn't use server '/reload' command. Use '/restart' instead.
https://matthewmiller.dev/blog/problem-with-reload/
https://www.spigotmc.org/threads/why-is-using-reload-a-bad-thing.414375/