drewdorris / powder Goto Github PK
View Code? Open in Web Editor NEWA Spigot plugin which utilizes particles & sound effects to allow for incredibly customizable pictures and animations
License: Other
A Spigot plugin which utilizes particles & sound effects to allow for incredibly customizable pictures and animations
License: Other
>.... [13:13:45 WARN]: [Powder] Task #61 for Powder v0.2.1 generated an exception
java.lang.NullPointerException: null
at com.ruinscraft.powder.util.ConfigUtil.loadAllAttached(ConfigUtil.java:841) ~[?:?]
at com.ruinscraft.powder.PowderHandler.lambda$new$0(PowderHandler.java:56) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Paper-105]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[patched_1.15.2.jar:git-Paper-105]
at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1185) ~[patched_1.15.2.jar:git-Paper-105]
at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430) ~[patched_1.15.2.jar:git-Paper-105]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1112) ~[patched_1.15.2.jar:git-Paper-105]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:934) ~[patched_1.15.2.jar:git-Paper-105]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
It seems it assumes that a playerdata file has already been created on first time loading since PowderHandler triggers loadAllAttached, which relies on a player data file. I did a temp fix for myself by adding the following at 840 of ConfigUtil:
if (playerDataFile == null) {
PowderPlugin instance = PowderPlugin.get();
File file = new File(instance.getDataFolder(), PLAYER_DATA_FILE);
try {
file.createNewFile();
} catch (IOException e) {
e.printStackTrace();
}
playerDataFile = YamlConfiguration.loadConfiguration(file);
instance.setPlayerDataFile(playerDataFile);
}
More BaseComponent comparing to TextComponent issues
Caused by: java.lang.StackOverflowError
at net.md_5.bungee.api.chat.BaseComponent.equals(BaseComponent.java:17) ~[patched_1.13.2.jar:git-Paper-90772ce8]```
It would be cool if there was a section in /powders that allowed players to play default Minecraft sounds and music. This could perhaps be done with the default minecraft /playsound command.
Example syntax: /playsound [sound] player @A[r=?]
This would be the command (with the sound depending on the sound which they choose) which the player would run through the powders menu once they have navigated to the Minecraft section in Powders.
Note: Unsure of the powders radius so I put a question mark for the radius.
Right now, config values are referenced through instance variables in PowderPlugin, through direct retrieving from the config object, or through other methods. Messy and need a cleaner solution
readURL should be able to use http or https
An example; the "Bomb" Powder can be cancelled after it ends
Instead of playing effects/sounds to world, play to all users except ones who are added to /powder disable
list. Resets on server restart because usually only need to disable for temporary events
The soundEnum
option in the default powders.yml
is using old 1.12 enum values. A lot of them, especially relating to note sounds have broken. There should be some compatibility between 1.12 and 1.13+ here
source location
addedTilt doesn't keep the shape of the original untilted shape, making it look stretched the further tilted it is:
addedRotation doesn't stay over the head when looking straight down/up:
vs.
Tried the async setting on config.yml, but I still get the same error.
17:09:32 ERROR]: Thread Craft Scheduler Thread - 15 - Powder failed main thread check: Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[purpur-1.18.2.jar:git-Purpur-1609]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2435) ~[?:?]
at net.minecraft.server.level.ServerLevel.getEntity(ServerLevel.java:1872) ~[?:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.getEntity(CraftServer.java:2482) ~[purpur-1.18.2.jar:git-Purpur-1609]
at org.bukkit.Bukkit.getEntity(Bukkit.java:1983) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at com.ruinscraft.powder.model.tracker.EntityTracker.getEntityLocation(EntityTracker.java:78) ~[Powder-0.2.1(1).jar:?]
at com.ruinscraft.powder.model.tracker.EntityTracker.refreshLocation(EntityTracker.java:64) ~[Powder-0.2.1(1).jar:?]
at com.ruinscraft.powder.model.tracker.EntityTracker.<init>(EntityTracker.java:29) ~[Powder-0.2.1(1).jar:?]
at com.ruinscraft.powder.model.Powder.lambda$1(Powder.java:270) ~[Powder-0.2.1(1).jar:?]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.18.2.jar:git-Purpur-1609]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.18.2.jar:git-Purpur-1609]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.18.2.jar:git-Purpur-1609]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[17:09:32 WARN]: [Powder] Plugin Powder v0.2.1 generated an exception while executing task 496
java.lang.IllegalStateException: Asynchronous Chunk getEntities call!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16) ~[purpur-1.18.2.jar:git-Purpur-1609]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2435) ~[?:?]
at net.minecraft.server.level.ServerLevel.getEntity(ServerLevel.java:1872) ~[?:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.getEntity(CraftServer.java:2482) ~[purpur-1.18.2.jar:git-Purpur-1609]
at org.bukkit.Bukkit.getEntity(Bukkit.java:1983) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at com.ruinscraft.powder.model.tracker.EntityTracker.getEntityLocation(EntityTracker.java:78) ~[Powder-0.2.1(1).jar:?]
at com.ruinscraft.powder.model.tracker.EntityTracker.refreshLocation(EntityTracker.java:64) ~[Powder-0.2.1(1).jar:?]
at com.ruinscraft.powder.model.tracker.EntityTracker.<init>(EntityTracker.java:29) ~[Powder-0.2.1(1).jar:?]
at com.ruinscraft.powder.model.Powder.lambda$1(Powder.java:270) ~[Powder-0.2.1(1).jar:?]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.18.2.jar:git-Purpur-1609]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.18.2.jar:git-Purpur-1609]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.18.2.jar:git-Purpur-1609]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
```
I also tried using a version built from source, but it wouldn't start at all
the plugin works except one crucial feature: the powders I play don't seem to appear above my head (and anywhere in general)!
video
Animations like gradients / flashes lose their fluidity after running for a couple of hours, eventually combining back into one or two frames of motion
Possibly add "" which can represent half (or 1.5) of a "." so that the player can be aligned to half of a spacing
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.