pustinek / itemfilter Goto Github PK
View Code? Open in Web Editor NEWItem filter for minecraft/spigot server
License: MIT License
Item filter for minecraft/spigot server
License: MIT License
I would like to suggest a new feature of adding a button that selects / deselects all items under a category when in /itemfilter menu. Perhaps also a button to select / deselect all items.
If I give the player itemfilter.toggle and itemfilter.menu, they can toggle and open the menu.
When the player disables picking up a certain item and toggle the item filter on, they can still pick it up unless I also add itemfilter.add and itemfilter.remove, but I don't want them to use that feature.
When I added itemfilter.use, and disabled itemfilter.add and itemfilter.remove, they couldn't open the menu anymore.
I have a feeling the permissions need to be looked at if possible ^^
Plugin no longer builds after change to <groupId>me.pustinek</groupId>
[ERROR] Failed to execute goal on project ItemFilter: Could not resolve dependencies for project me.pustinek:ItemFilter:jar:2.1.0: Failed to collect dependencies at me.pustinek:interactivemessenger-bukkit:jar:1.3.2: Failed to read artifact descriptor for me.pustinek:interactivemessenger-bukkit:jar:1.3.2: Could not transfer artifact me.pustinek:interactivemessenger-bukkit:pom:1.3.2 from/to nlthijs48 (http://maven.wiefferink.me/): Transfer failed for http://maven.wiefferink.me/me/pustinek/interactivemessenger-bukkit/1.3.2/interactivemessenger-bukkit-1.3.2.pom: Unknown host maven.wiefferink.me -> [Help 1]
It seems that 359f678 broke/removed the category gui feature. Is there anyway to reenable that or am I missing something. (when I run /itemfilter menu
it just doesnt give me a category menu)
Hello pustinek!
I am struggling to recompile this plugin into a functional jar file on your latest version by using cmd prompt and messing with files... I am new to java and don't really know how everything works yet. If you could please make a new release with the complete jar file attached that would be really nice and super helpful to me and probably some other people who want to download/decompile and edit your plugin :D
Thank you!! (sorry, I'm not too sure if this is the correct spot to leave feedback or ask questions but I couldn't find anywhere else.)
Currently we are able to use the default spigot hexcode format within the GUI, but it doesn't work for /if help.
Are you able to add support for this perhaps? We are changing our whole server color scheme haha ^^
Please update source to 1.2.1
Video from one of our users: https://www.youtube.com/watch?v=_2l7_4BT78I
Extended discussion from a bug tester:
https://ecocitycraft.com/forum/threads/1-20-6-known-issues-bugs.225614/#post-1162635
Can you check this out @pustinek
I've decided to scratch the categories as well, people will have to adjust lol.
I can reproduce this with an extended potion of swiftness (Potion#fY).
Same behavior as in the video: Repeating /if add on the same item adds it multiple times to the filter (which is not the case with instant health for me), and the filter does not actually prevent me from picking up the exact same potion.
@pustinek
We have a WHITE_BANNER that looks as such:
https://i.imgur.com/XIP7SCh.png
The item filter does not work on this sort of item.
A fix for this would be great!
@pustinek not working on Paper 1.20.6 Build 145
[22:04:22] [Server thread/INFO]: [ItemFilter] Enabling ItemFilter v${version}
[22:04:22] [Server thread/ERROR]: Error occurred while enabling ItemFilter v${version} (Is it up to date?)
java.lang.NoClassDefFoundError: fr/minuskube/inv/InventoryManager
at ItemFilter-2.1.2.jar/me.pustinek.itemfilter.ItemFilterPlugin.onEnable(ItemFilterPlugin.java:102) ~[ItemFilter-2.1.2.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:626) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:575) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.ClassNotFoundException: fr.minuskube.inv.InventoryManager
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
... 13 more
[22:04:22] [Server thread/INFO]: [ItemFilter] Disabling ItemFilter v${version}
[22:04:22] [Server thread/ERROR]: Error occurred while disabling ItemFilter v${version}
org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
at org.bukkit.craftbukkit.scheduler.CraftScheduler.validate(CraftScheduler.java:550) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimerAsynchronously(CraftScheduler.java:250) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimerAsynchronously(CraftScheduler.java:246) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at ItemFilter-2.1.2.jar/me.pustinek.itemfilter.users.UserManager.<init>(UserManager.java:29) ~[ItemFilter-2.1.2.jar:?]
at ItemFilter-2.1.2.jar/me.pustinek.itemfilter.ItemFilterPlugin.getUserManager(ItemFilterPlugin.java:173) ~[ItemFilter-2.1.2.jar:?]
at ItemFilter-2.1.2.jar/me.pustinek.itemfilter.ItemFilterPlugin.onDisable(ItemFilterPlugin.java:86) ~[ItemFilter-2.1.2.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:114) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:550) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:206) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.20.6-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:626) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:575) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:323) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1136) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[paper-1.20.6.jar:1.20.6-145-fe7043e]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Reload command - resets language files.
Make edits, use /if reload in game or in console, language files reset.
It should reload them not reset them.
Only way I can actually get the language files to change is if I edit them in the actual compiled jar @pustinek
https://github.com/rasclartdev/ItemFilter
found this, not sure if this is okay or not
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.