Coder Social home page Coder Social logo

loohp / interactionvisualizer Goto Github PK

View Code? Open in Web Editor NEW
77.0 4.0 11.0 243.11 MB

Visualize Function Blocks like Crafting Tables with Animations client-side!

Home Page: https://www.spigotmc.org/resources/77050/

License: GNU General Public License v3.0

Java 100.00%
java minecraft papermc spigot-plugin spigotmc

interactionvisualizer's People

Contributors

jellybrick avatar loohp avatar nachtalb avatar paulbgd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

interactionvisualizer's Issues

paper compatibility?

Your plugin is amazing, it fascinates me, I love it xD
but i think it is not compatible with paper.
The truth is that it works relatively well, the items appear floating properly, the villagers throw the items away, everything works fine except ... the textual part does not work, the furnances do not show the text, neither the note blocks, nor the beacons.
And in the console spam this without for:
https://pastebin.com/raw/TarzaApg
I will try to fix the console spam with some plugin, because I am not going to stop using your plugin because it is just great.
But it would be nice if there was compatibility with paper (if that is the problem)
ty ♥

Error submission

[17:53:26 WARN]: [InteractionVisualizer] Plugin InteractionVisualizer v1.14.4.3 generated an exception while executing task 195197
java.lang.NoClassDefFoundError: com/comphenix/protocol/wrappers/Pair
at com.loohp.interactionvisualizer.Protocol.ServerPacketSender.spawnArmorStand(ServerPacketSender.java:77) ~[?:?]
at com.loohp.interactionvisualizer.Managers.PacketManager.lambda$sendArmorStandSpawn$4(PacketManager.java:214) ~[?:?]
at com.loohp.interactionvisualizer.Managers.PacketManager$$Lambda$7960/0000000000000000.run(Unknown Source) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-416]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.4.jar:git-Paper-416]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.4.jar:git-Paper-416]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:821) [?:1.8.0_242]

Error 2

[17:33:30 WARN]: [InteractionVisualizer] Task #1439350 for InteractionVisualizer v1.12.6 generated an exception
java.lang.NullPointerException: null
at com.loohp.interactionvisualizer.Blocks.StonecutterDisplay.process(StonecutterDisplay.java:245) ~[?:?]
at com.loohp.interactionvisualizer.Managers.TaskManager.lambda$0(TaskManager.java:369) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-117]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1291) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1212) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1000) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-117]
at java.lang.Thread.run(Thread.java:832) [?:?]
[17:33:30 WARN]: [InteractionVisualizer] Task #1439426 for InteractionVisualizer v1.12.6 generated an exception
java.lang.NullPointerException: null
at com.loohp.interactionvisualizer.Blocks.StonecutterDisplay.process(StonecutterDisplay.java:245) ~[?:?]
at com.loohp.interactionvisualizer.Managers.TaskManager.lambda$0(TaskManager.java:369) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-117]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1291) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1212) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1000) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-117]
at java.lang.Thread.run(Thread.java:832) [?:?]
[17:33:30 WARN]: [InteractionVisualizer] Task #1439500 for InteractionVisualizer v1.12.6 generated an exception
java.lang.NullPointerException: null
at com.loohp.interactionvisualizer.Blocks.StonecutterDisplay.process(StonecutterDisplay.java:245) ~[?:?]
at com.loohp.interactionvisualizer.Managers.TaskManager.lambda$0(TaskManager.java:369) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-117]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1291) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1212) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1000) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-117]
at java.lang.Thread.run(Thread.java:832) [?:?]
[17:33:30 WARN]: [InteractionVisualizer] Task #1439560 for InteractionVisualizer v1.12.6 generated an exception
java.lang.NullPointerException: null
at com.loohp.interactionvisualizer.Blocks.StonecutterDisplay.process(StonecutterDisplay.java:245) ~[?:?]
at com.loohp.interactionvisualizer.Managers.TaskManager.lambda$0(TaskManager.java:369) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-117]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1291) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1212) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1000) ~[patched_1.16.1.jar:git-Paper-117]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-117]
at java.lang.Thread.run(Thread.java:832) [?:?]

Warns spam

[20:37:52 WARN]: [InteractionVisualizer] Plugin InteractionVisualizer v1.13.6 generated an exception while executing task 48702091
java.lang.NoClassDefFoundError: com/comphenix/protocol/wrappers/Pair
at com.loohp.interactionvisualizer.Protocol.ServerPacketSender.spawnArmorStand(ServerPacketSender.java:80) ~[?:?]
at com.loohp.interactionvisualizer.Managers.PacketManager.lambda$sendArmorStandSpawn$11(PacketManager.java:275) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.2.jar:git-Paper-162]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.2.jar:git-Paper-162]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.2.jar:git-Paper-162]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]

A small question about water flow

I found that I was able to let the suspended matter in the furnace be pushed by the water flow. Although he will automatically return to his original position after a period of time, I am not sure whether this problem can cause more bugs. Therefore, maybe we should prohibit these suspended solids from being driven by water flow? In addition, the piston can push the suspended solids.
https://youtu.be/5GzS3QnllY4

`/plugman reload` support

/plugman reload reloads the whole plugin - not just disabling and enabling it (like /plugman restart, it reloads the whole jar file. That means that you can update plugins without restarting the whole server, which is quite nice!. Though the problem atm is that for some reason InteractionVisualizer does not seem to restart the scheduler that updates the visualizations (like the beacon info). I haven't looked into it at all tbh but I guess the plugin only starts the schedule on player login(?). Anyways it would be nice if that worked.

I saw somewhere (spigot review or so) that you consider building an auto-updater into the plugin. When you do that you would probably run into the same problem...

If you want I can take a look at it.

Plugman https://dev.bukkit.org/projects/plugman

Could not pass event InventoryClickEvent to InteractionVisualizer v1.13.9

Hello, I've found a error report in console

https://log.mtxserv.com/xBWSQnE


[10:32:23] [Server thread/ERROR]: Could not pass event InventoryClickEvent to InteractionVisualizer v1.13.9
--
2338 | java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 36
2339 | at java.util.Arrays$ArrayList.get(Arrays.java:4351) ~[?:?]
2340 | at net.minecraft.server.v1_16_R2.NonNullList.get(SourceFile:46) ~[patched_1.16.3.jar:git-Paper-246]
2341 | at net.minecraft.server.v1_16_R2.PlayerInventory.getItem(PlayerInventory.java:541) ~[patched_1.16.3.jar:git-Paper-246]
2342 | at org.bukkit.craftbukkit.v1_16_R2.inventory.CraftInventory.getItem(CraftInventory.java:49) ~[patched_1.16.3.jar:git-Paper-246]
2343 | at com.loohp.interactionvisualizer.Blocks.DoubleChestDisplay.onUseDoubleChest(DoubleChestDisplay.java:145) ~[?:?]
2344 | at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor904.execute(Unknown Source) ~[?:?]
2345 | at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.3.jar:git-Paper-246]
2346 | at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.3.jar:git-Paper-246]
2347 | at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.3.jar:git-Paper-246]
2348 | at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.3.jar:git-Paper-246]
2349 | at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:2437) ~[patched_1.16.3.jar:git-Paper-246]
2350 | at net.minecraft.server.v1_16_R2.PacketPlayInWindowClick.a(SourceFile:32) ~[patched_1.16.3.jar:git-Paper-246]
2351 | at net.minecraft.server.v1_16_R2.PacketPlayInWindowClick.a(SourceFile:10) ~[patched_1.16.3.jar:git-Paper-246]
2352 | at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.3.jar:git-Paper-246]
2353 | at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18) ~[patched_1.16.3.jar:git-Paper-246]
2354 | at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.3.jar:git-Paper-246]
2355 | at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.3.jar:git-Paper-246]
2356 | at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.3.jar:git-Paper-246]
2357 | at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:1135) ~[patched_1.16.3.jar:git-Paper-246]
2358 | at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:1128) ~[patched_1.16.3.jar:git-Paper-246]
2359 | at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.16.3.jar:git-Paper-246]
2360 | at net.minecraft.server.v1_16_R2.MinecraftServer.a(MinecraftServer.java:1264) ~[patched_1.16.3.jar:git-Paper-246]
2361 | at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:999) ~[patched_1.16.3.jar:git-Paper-246]
2362 | at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-246]
2363 | at java.lang.Thread.run(Thread.java:834) [?:?]


Could u check this and tell me what is the problem.?

NoClassDefFoundError - LightApi related

[08:07:36 WARN]: [InteractionVisualizer] Task #21445959 for InteractionVisualizer v1.13.9 generated an exception
java.lang.NoClassDefFoundError: ru/beykerykt/lightapi/LightType
        at com.loohp.interactionvisualizer.Managers.LightManager.deleteLight(LightManager.java:88) ~[?:?]
        at com.loohp.interactionvisualizer.Blocks.CraftingTableDisplay.process(CraftingTableDisplay.java:270) ~[?:?]
        at com.loohp.interactionvisualizer.Managers.TaskManager.lambda$run$0(TaskManager.java:300) ~[?:?]
        at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_261]
        at com.loohp.interactionvisualizer.Managers.TaskManager.lambda$run$1(TaskManager.java:300) ~[?:?]
        at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.15.2.jar:git-Paper-389]
        at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.15.2.jar:git-Paper-389]
        at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1265) ~[patched_1.15.2.jar:git-Paper-389]
        at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:431) ~[patched_1.15.2.jar:git-Paper-389]
        at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1182) ~[patched_1.15.2.jar:git-Paper-389]
        at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:971) ~[patched_1.15.2.jar:git-Paper-389]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]

Error since new ver and 3 lang folders?

[04:03:13] [Craft Scheduler Thread - 47 - InteractionVisualizer/WARN]: [InteractionVisualizer] Plugin InteractionVisualizer v1.14.4.0 generated an exception while executing task 3931
java.lang.NoSuchMethodError: java.io.FileReader.<init>(Ljava/io/File;Ljava/nio/charset/Charset;)V
	at com.loohp.interactionvisualizer.Utils.LanguageUtils.lambda$loadTranslations$3(LanguageUtils.java:149) ~[?:?]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Yatopia-7]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:58) ~[patched_1.16.5.jar:git-Yatopia-7]
	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Yatopia-7]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

Suggestion: Toggle glow effect on Chest items

I'd like a configuration option to disable glow on items when they are being moved to and from chests so that they won't be visible through walls.

I'm willing to create a PR and contribute if needed. It's quite distracting noticing blips of red and green move around in occasional buildings.

[Suggest]More realistic drops & Tool display rack

I'm not sure if the actual purpose of this plugin is here, but I still want to make this suggestion. Recently, I saw a plug-in function, it should be realized through armor stand, it can make the items dropped more real, just like this picture, I wonder if you are considering adding such content?
image

Not working. . .

Version: purpur 1.16.4 latest build

The plugin works, it is visible in the list and you can use commands but it has no effect...
Przechwytywanie

In config all options enable

Database:
Type: SQLITE
MYSQL:
Host: localhost
Port: 3306
Database: InteractionVisualizer
Username: mysql
Password: password
Messages:
NoPermission: '&cYou do not have permission to use that command!'
Reload: '&aInteractionVisualizer sucessfully reloaded!'
Toggle:
Usage: '&cUsage: /interactionvisualizer toggle <itemstand/itemdrop/hologram>'
Modes: '&cToggle Modes: itemstand, itemdrop, hologram'
Console: '&cPlease provide a player name: /interactionvisualizer toggle
[player]'
ToggleOn: '&aToggled %s on'
ToggleOff: '&eToggled %s off'
PlayerNotFound: '&cThe player is not online!'
GarbageCollector:
Period: 600
Blocks:
Anvil:
Enabled: true
Beacon:
Enabled: true
CheckingPeriod: 20
BlastFurnace:
Enabled: true
CheckingPeriod: 10
Options:
ProgressBarCharacter: ▎
EmptyColor: '&7'
FilledColor: '&e'
NoFuelColor: '&c'
ProgressBarLength: 10
AmountPending: ' &7+{Amount}'
BrewingStand:
Enabled: true
CheckingPeriod: 20
Options:
ProgressBarCharacter: ▎
EmptyColor: '&7'
FilledColor: '&6'
NoFuelColor: '&c'
ProgressBarLength: 10
CartographyTable:
Enabled: true
Chest:
Enabled: true
CraftingTable:
Enabled: true
Dispenser:
Enabled: true
DoubleChest:
Enabled: true
Dropper:
Enabled: true
EnchantmentTable:
Enabled: true
EnderChest:
Enabled: true
Furnace:
Enabled: true
CheckingPeriod: 20
Options:
ProgressBarCharacter: ▎
EmptyColor: '&7'
FilledColor: '&e'
NoFuelColor: '&c'
ProgressBarLength: 10
AmountPending: ' &7+{Amount}'
Grindstone:
Enabled: true
Hopper:
Enabled: true
JukeBox:
Enabled: true
CheckingPeriod: 20
Loom:
Enabled: true
NoteBlock:
Enabled: true
SmithingTable:
Enabled: true
Smoker:
Enabled: true
CheckingPeriod: 10
Options:
ProgressBarCharacter: ▎
EmptyColor: '&7'
FilledColor: '&e'
NoFuelColor: '&c'
ProgressBarLength: 10
AmountPending: ' &7+{Amount}'
Stonecutter:
Enabled: true
ShulkerBox:
Enabled: true
Entities:
Villager:
Enabled: true
Modules:
ItemStand:
Enabled: true
ItemDrop:
Enabled: true
Hologram:
Enabled: true
Settings:
UseHandSwingAnimation: true
PickupAnimationPlayerYOffset: 0
TileEntityUpdate:
ChunksPerTick: 4
LoadTileEntitiesAsync: true
LightUpdate:
Period: 10
Options:
Updater: true
DownloadLanguageFiles: true

Animations don't work

An error appears in the console:
[InteractionVisualizer] Plugin InteractionVisualizer v1.14.4.1 generated an exception while executing task 4482
java.lang.NoClassDefFoundError: com/comphenix/protocol/wrappers/Pair
at com.loohp.interactionvisualizer.Protocol.ServerPacketSender.spawnArmorStand(ServerPacketSender.java:77) ~[?:?]
at com.loohp.interactionvisualizer.Managers.PacketManager.lambda$sendArmorStandSpawn$4(PacketManager.java:215) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-332]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.4.jar:git-Paper-332]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.4.jar:git-Paper-332]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_275]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]

How can this be solved? Installed all dependencies.

Items not disappearing

After using enchant tables, sometimes items will not disappear
Server version: 1.16.1
Plugin version: 1.13.6

image
image

Name tags

Hello i run a faction server and i love this plugin but i cant seem to get rid of name tags on blocks. It gives up certain postions inside peoples bases! is their an option im not seeing to disable this? if not can you make an option to disable nametags?

ArmorStand Items and Holograms not showing

It seems like the effects for example showing how an item is crafted in a crafting table doesnt get shown. it shows the final product once you have a recipe in, but doesnt show the resources on the table

progress bars also do not show, for example on beehives, furnaces, brewing stands

error report

[15:35:47 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'interactionvisualizer' in plugin InteractionVisualizer v1.1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.15.2.jar:git-Paper-162] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.15.2.jar:git-Paper-162] at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:752) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1825) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1633) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1038) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1031) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1015) ~[patched_1.15.2.jar:git-Paper-162] at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:938) ~[patched_1.15.2.jar:git-Paper-162] at java.lang.Thread.run(Unknown Source) [?:1.8.0_241] Caused by: java.lang.NullPointerException at net.md_5.bungee.api.ChatColor.translateAlternateColorCodes(ChatColor.java:169) ~[patched_1.15.2.jar:git-Paper-162] at com.loohp.interactionvisualizer.Commands.onCommand(Commands.java:111) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.15.2.jar:git-Paper-162] ... 17 more

Error in console

Hi, I got this error on the latest build from Jenkins and Paper 1.16.4 when one player left, it spammed multiple times in one sec:

[18:13:13] [Server thread/WARN]: [InteractionVisualizer] Task #19680504 for InteractionVisualizer v1.13.11 generated an exception
java.lang.IllegalArgumentException: cannot send packets to a closed channel
	at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[patched_1.16.4.jar:git-Paper-265]
	at com.comphenix.protocol.injector.netty.ChannelInjector.invokeSendPacket(ChannelInjector.java:687) ~[?:?]
	at com.comphenix.protocol.injector.netty.ChannelInjector.sendServerPacket(ChannelInjector.java:679) ~[?:?]
	at com.comphenix.protocol.injector.netty.ProtocolInjector$4.sendServerPacket(ProtocolInjector.java:399) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.sendServerPacket(PacketFilterManager.java:733) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.sendServerPacket(PacketFilterManager.java:687) ~[?:?]
	at com.loohp.interactionvisualizer.Protocol.ServerPacketSender.lambda$updateArmorStand$2(ServerPacketSender.java:198) ~[?:?]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-265]
	at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Paper-265]
	at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1297) ~[patched_1.16.4.jar:git-Paper-265]
	at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.4.jar:git-Paper-265]
	at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1212) ~[patched_1.16.4.jar:git-Paper-265]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1000) ~[patched_1.16.4.jar:git-Paper-265]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-265]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

Suggestions for plugins

Hope to add the following functions to the plugin:
1.Can store the item data of Crafting Table, so that players can still put the items on the Crafting Table
after closing the GUI.
2.Support the push of the piston.
3.Provide a hologram to show the growth rate of crops.
4.Displays the name of the final synthesized item of Crafting Table.(Maybe furnaces and anvils can also
add this?)

[Suggest] Provide hooks for BookShelf & ShulkerBox & Jukebox

I use both your BookShelf and InteractionVisualizer plugins at the same time, and I hope to provide hooks for BookShelf to allow us to have a box-like animation when we put the book into the shelf.

I hope the Shulker box can have the same effects of suspended objects as the box.

I hope to be able to add a new animation, when we put the record in Jukebox, we can display the suspended matter of the record on the jukebox.

[bug]Console warm

19:29:41 WARN: at java.util.TreeMap.putAll(Unknown Source)
19:29:41 WARN: at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager.save(CustomBlockDataManager.java:69)
19:29:41 WARN: at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager$1.run(CustomBlockDataManager.java:39)
19:29:41 WARN: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84)
19:29:41 WARN: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
19:29:41 WARN: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
19:29:41 WARN: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
19:29:41 WARN: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
19:29:41 WARN: at java.lang.Thread.run(Unknown Source)
[19:30:11 WARN]: java.lang.NullPointerException
[19:30:11 WARN]: at java.util.TreeMap.putAll(Unknown Source)
[19:30:11 WARN]: at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager.save(CustomBlockDataManager.java:69)
[19:30:11 WARN]: at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager$1.run(CustomBlockDataManager.java:39)
[19:30:11 WARN]: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84)
[19:30:11 WARN]: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[19:30:11 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[19:30:11 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[19:30:11 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[19:30:11 WARN]: at java.lang.Thread.run(Unknown Source)
[19:30:41 WARN]: java.lang.NullPointerException
[19:30:41 WARN]: at java.util.TreeMap.putAll(Unknown Source)
[19:30:41 WARN]: at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager.save(CustomBlockDataManager.java:69)
[19:30:41 WARN]: at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager$1.run(CustomBlockDataManager.java:39)
[19:30:41 WARN]: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84)
[19:30:41 WARN]: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[19:30:41 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[19:30:41 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[19:30:41 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[19:30:41 WARN]: at java.lang.Thread.run(Unknown Source)

Plugin InteractionVisualizer v1.0.0 generated an exception while executing task 11256424

[22:23:20 WARN]: [InteractionVisualizer] Plugin InteractionVisualizer v1.0.0 generated an exception while executing task 11256424
java.util.ConcurrentModificationException: null
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) ~[?:1.8.0_241]
at java.util.ArrayList$Itr.next(ArrayList.java:859) ~[?:1.8.0_241]
at com.loohp.interactionvisualizer.Utils.PacketSending.removeItem(PacketSending.java:294) ~[?:?]
at com.loohp.interactionvisualizer.Utils.PacketSending.removeItem(PacketSending.java:303) ~[?:?]
at com.loohp.interactionvisualizer.Blocks.DoubleChestDisplay$1.run(DoubleChestDisplay.java:160) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[PaperSpigot-1.15.2.jar:git-Paper-158]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[PaperSpigot-1.15.2.jar:git-Paper-158]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[PaperSpigot-1.15.2.jar:git-Paper-158]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_241]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]

Error

[00:56:10 WARN]: [InteractionVisualizer] Plugin InteractionVisualizer v1.12.4 generated an exception while executing task 363641
java.lang.NullPointerException: null
at com.loohp.interactionvisualizer.Blocks.BrewingStandDisplay.lambda$5(BrewingStandDisplay.java:218) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-86]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.1.jar:git-Paper-86]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.1.jar:git-Paper-86]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]

[High Usage] Please take a look at this timings

https://timings.aikar.co/?id=ae0f8dfaf674440199a44bdb92417dfb#plugins

What you'll see, is your plugin. You might be asking, why your plugin has so much high usage?
Because you're calling world.getBlockAt(position) for every block (furnaces, looms, etc) that are in unloaded chunks and that causes the chunk to load again. Also, storing the Block object in a hashmap, its also a bad idea sometimes, and can prevent chunks from unloading. My server has over 100 plugins, and some plugins relies on chunk loading, but that are plugins that I can't do anything about them, nor their plugin authors (Citizens, MythicMobs, etc).
What am I trying to say is that, everytime your plugin runs the gc() methods, the chunks are loaded again, the other plugins catches the chunks loading, and that causes masive lag, just because your are trying to clean the memory (and that's fine).
What can YOU do, to prevent chunks from loading again when not necessary?
Do not use the Block object, nor the Entity object, nor ANY Location object. Never to store them in hashmaps, never to call them when trying to clean (when not necessary). Instead, convert them to objects that are not related to BukkitAPI.

Error spam

  • Spigot 1.16.2 - This server is running CraftBukkit version git-Spigot-b5a13e6-0491200 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
  • latest Protocollib build
  • error spam: https://pastebin.com/7PdmKLpJ

bug report

server version paper 1.16.4

when player uses the workbench or furnace, their coord will be leaked.


  1. use Wurst Client to enter the server
  2. open the "player finder"
  3. waiting a player uses the workbench, then you can get his XYZ coord.

Warn spam when staring server

So this pops up everytime i start my server. Ive checked protocolib and its on 4.5.1 and lightapi is on its latest version.
Unexpected token END OF FILE at position 4096.
at org.json.simple.parser.JSONParser.parse(JSONParser.java:257)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)
at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager.setup(CustomBlockDataManager.java:85)
at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager.save(CustomBlockDataManager.java:114)
at com.loohp.interactionvisualizer.Managers.CustomBlockDataManager.lambda$intervalSaveToFile$0(CustomBlockDataManager.java:45)
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99)
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Asynchronous Async Chunk Load

[21:00:47 WARN]: java.lang.IllegalStateException: Asynchronous Async Chunk Load! Blocking thread until it returns
[21:00:47 WARN]: at net.minecraft.server.v1_12_R1.MCUtil.ensureMain(MCUtil.java:54)
[21:00:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:18)
[21:00:47 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:170)
[21:00:47 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:153)
[21:00:47 WARN]: at net.minecraft.server.v1_12_R1.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:149)
[21:00:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftWorld.getChunkAt(CraftWorld.java:181)
[21:00:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftWorld.getBlockAt(CraftWorld.java:118)
[21:00:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.block.CraftBlockState.getBlock(CraftBlockState.java:139)
[21:00:47 WARN]: at com.loohp.interactionvisualizer.Managers.TileEntityManager.loadTileEntities(TileEntityManager.java:127)
[21:00:47 WARN]: at com.loohp.interactionvisualizer.Managers.TileEntityManager.lambda$loadBlockStates$3(TileEntityManager.java:109)
[21:00:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64)
[21:00:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[21:00:47 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[21:00:47 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[21:00:47 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[21:00:47 WARN]: at java.lang.Thread.run(Unknown Source)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.