mediusecho / particlehats Goto Github PK
View Code? Open in Web Editor NEWCustomizable particle plugin
Home Page: https://www.spigotmc.org/resources/particlehats.1007/
License: GNU General Public License v3.0
Customizable particle plugin
Home Page: https://www.spigotmc.org/resources/particlehats.1007/
License: GNU General Public License v3.0
https://git.lumine.io/mythiccraft/mmoitems/-/issues/338
Please see above URL, MMOItems have said that ParticleHats needs to update the code, as it shouldn't be un-cancelling the pickup event when the ability "present drop" is thrown into hoppers.
Please advise?
Using the API's method to remove a particle vs the "/particlehats clear" command; does not remove the infinite potion effect given.
When the setting menu.open-menu-with-item.enabled
to false in config.yml
the item will show an error that it cannot find the menu particles.yml
on right click.
Chat message: https://sxcu.net/5rUxSgwZS (image)
Config: https://paste.gg/p/Zax71/b19185639db74022800a44e0ebe3f84f
Temporary solution for anyone with the same issue: set menu.open-menu-with-item.id
to AIR
ParticleHats Version: 4.2.16
Minecraft Version: 1.19.2
Using the method: equipHatFromLabel() has a parameter to whether or not the player in question should receive a message stating the hat was equipped; however, is impractical because either or still results in there being a message being sent to the direct player.
Here are some screenshots:
try { hatsAPI.equipHatFromLabel(player, label, true); } catch (InvalidLabelException e) { e.printStackTrace(); }
try { hatsAPI.equipHatFromLabel(player, label, false); } catch (InvalidLabelException e) { e.printStackTrace(); }
As you can see from above, you receive " equipped" making the method above redundant and impractical.
I'm not sure if anybody else has experienced this issue; however, a temporary solution would just to use the 'h set' command and executing it through your code instead.
Unrelated:
I would like to suggest configuration values for the 'h set' command's demo feature & a menu demo set feature (Could be the same value for both stored in config.yml). Thumbs up to entire development on this plugin, been using it for a hot while now and haven't ran into anything damaging. Huge props.
When user Removing particle from ''Equipped Particles'' menu, it goes to the main menu to select effects.
But at the same time, he still has the appearance that the effect he has already removed is still equipped.
https://disk.yandex.ru/i/PihOzhb_LWHqpA
And I have a problem with displaying some effects, I just don't see them.
-Creeper Face
-Angel Wings
-Rocket Tail
-Bubble WIngs
-Walking Billboard
So this isn't really an issue, but probably could be on bigger servers. Basically, is there a way where ParticleHats can be run asynchronously? On small servers, it's not a big deal but for larger servers, it'll probably bog it down, as noted by some people. Just a feature request to make the plugin better as it already is, thanks! :)
Give particlehats.command.h the player can use all effects
How to make each effect have a permission?
I changed it in the config so that you can only wear one particle at a time. So if one is equipped and the person equips a new one, the old particle deactivates automatically (since only 1 particle can be worn). But if the previous particle had a potion effect (for example speed), then it still was there. So the new particle is activated and the old deactivated but the effect is still there. I'm not sure if anyone had this issue to but I'd be glad if that would be fixed. (no bungee, spigot 1.8.8 and newest plugin version). Thanks in advance and for reading this issue.
I'd like to have certain particles (or particle pages) enabled on specific worlds. For instance I'd like for my pvp server to have most particles enabled in the lobby world but then only particles used with a bow which are in a seperate yml file to be usable in the pvp worlds as well as the lobby.
[11:58:00] [Server thread/ERROR]: Could not load 'plugins/ParticleHats.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.util.zip.ZipException: invalid LOC header (bad signature)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[patched_1.16.2.jar:git-Paper-174]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:397) ~[patched_1.16.2.jar:git-Paper-174]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:305) ~[patched_1.16.2.jar:git-Paper-174]
at org.bukkit.craftbukkit.v1_16_R2.CraftServer.loadPlugins(CraftServer.java:387) ~[patched_1.16.2.jar:git-Paper-174]
at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:208) ~[patched_1.16.2.jar:git-Paper-174]
at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.2.jar:git-Paper-174]
at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.2.jar:git-Paper-174]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method) ~[?:1.8.0_262]
at java.util.zip.ZipFile.access$1400(ZipFile.java:60) ~[?:1.8.0_262]
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734) ~[?:1.8.0_262]
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434) ~[?:1.8.0_262]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:1.8.0_262]
at sun.misc.IOUtils.readNBytes(IOUtils.java:180) ~[?:1.8.0_262]
at sun.misc.IOUtils.readAllBytes(IOUtils.java:116) ~[?:1.8.0_262]
at java.util.jar.JarFile.getBytes(JarFile.java:426) ~[?:1.8.0_262]
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193) ~[?:1.8.0_262]
at java.util.jar.JarFile.getManifest(JarFile.java:180) ~[?:1.8.0_262]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:60) ~[patched_1.16.2.jar:git-Paper-174]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.16.2.jar:git-Paper-174]
https://www.spigotmc.org/resources/%E2%AD%90-drop2inventory-plus-%E2%AD%90.87784/
Problem is that ParticleHats has a trail that drops items that aren't able to be picked up, but when player does something like break bamboo with the trail on it sucks up the items spawned by ParticleHats and turns them into real items like diamonds, nether stars, gold, etc.
Possible solutions? Is there a way to disable the item trails?
Here is a bunch of suggestions that I've compiled over a couple months using this plugin on my server.
Suggested command usage: /h view <enable|disable>
Suggestion usage: /h demo <tellPlayer true|false>
Suggestion API usage:
/**
* Creates a new hat from the given label and equips it
*
* @param player The player this new hat will be given to
* @param label The unique label that defines this hat
* @param tellPlayer Shows the player the HAT_EQUIPPED message
* @param long You can decide how long you'd like to display this label for in ticks.
* @throws InvalidLabelException If label doesn't not exist
* @throws IllegalArgumentException If any arguments are invalid
*/
public abstract void equipHatFromLabel(Player player, String label, boolean tellPlayer, long ticks) throws InvalidLabelException, IllegalArgumentException;
Please read with a grain of salt, these are just ideas that I have ran into issues with that I personally would love to be implemented. Again, thank you for such an awesome plugin :)
Hi, I was wondering if you had a discord group to ask for support.
Hello. The title sums up my issue but i'm trying to make particles that kinda sit on the back of a player; however, I have noticed that the particle offset kinda resets it's position and does not budge when turned into the animated version of itself.
I tried this with the 'hoop' particle type.
Turning it into the animation version:
I encountered this trying to create a galaxy'esk particle that sits on the back of the player.
Hi, thank you for your great plugin!
However, I've found some issues when I am using Mysql and permission.
I used the default particles.yml and added required permission for each effect, the permission can show up in the database too but other players still can access the effects without required permission.
This is the same when I edit current effects in game.
However, the permission system worked when I add new effects in game.
Am I doing anything wrong?
Thanks in advance!
Wrong page sorry!
As it stands right now, particles are permanently equipped until the player manually un-equips them. This feature would allow particles to automatically be unequipped if the player no longer has permission to equip them.
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.