Giter Site home page Giter Site logo

images's Introduction

Custom Images

TODO basic description of plugin use

  • Bullet points
  • Of plugin use cases

Images is open source! We welcome contributions; the project is licensed using the MIT License.

Compiling

  1. Ensure that you have the project setup properly with Maven
  2. Compile from the parent project of Images that all modules are contained within
  3. Run mvn clean package

Contributing

We happily accept contributions, especially through pull requests on GitHub. Submissions must be licensed under the MIT License.

Please read CONTRIBUTING.md for important guidelines to follow.

Links

images's People

Contributors

addstar avatar andavin avatar keyboardkobold avatar resi23 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

Watchers

 avatar  avatar  avatar  avatar

images's Issues

1.16.1 Plugin not working

The plugin is not working, it does not even let me put the / image command, it does not recognize it.
The plugin is very good, I like it a lot and in the theme of my server it is essential, I hope there will be a solution soon.

Images v2.2.6 generates this error and spams it

java.lang.NoSuchMethodError: 'void net.minecraft.network.protocol.game.ClientboundSystemChatPacket.<init>(net.minecraft.network.chat.IChatBaseComponent, int)' at com.andavin.images.v1_19_R1.ActionBarUtil.sendMessage(ActionBarUtil.java:40) ~[images-2.2.6.jar:?] at com.andavin.util.ActionBarUtil.sendActionBar(ActionBarUtil.java:45) ~[images-2.2.6.jar:?] at com.andavin.images.command.DeleteCommand.lambda$execute$0(DeleteCommand.java:76) ~[images-2.2.6.jar:?] at com.andavin.util.Scheduler$Task.run(Scheduler.java:353) ~[images-2.2.6.jar:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-131] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-131] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?] 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) ~[?:?]

Server: 1.19.2 PaperMC Build 131

Plugin problem.

Hi. Latest plugin doesn't work. I mean, this thing don't want to load images.

Used on version 1.16.5, spigot

[18:08:49] [Craft Scheduler Thread - 9 - Images/WARN]: [Images] Plugin Images v2.1.7 generated an exception while executing task 50937 java.lang.IllegalStateException: unknown world with ID DXL_Edit_8 at com.google.common.base.Preconditions.checkState(Preconditions.java:469) ~[patched_1.16.4.jar:git-Purpur-"695f3ac"] at com.andavin.images.image.CustomImage.readLocation(CustomImage.java:414) ~[?:?] at com.andavin.images.image.CustomImageSection.readObject(CustomImageSection.java:164) ~[?:?] at sun.reflect.GeneratedMethodAccessor308.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_292] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_292] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184) ~[?:1.8.0_292] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2296) ~[?:1.8.0_292] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187) ~[?:1.8.0_292] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667) ~[?:1.8.0_292] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503) ~[?:1.8.0_292] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461) ~[?:1.8.0_292] at java.util.HashMap.readObject(HashMap.java:1412) ~[?:1.8.0_292] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_292] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_292] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184) ~[?:1.8.0_292] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2296) ~[?:1.8.0_292] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187) ~[?:1.8.0_292] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667) ~[?:1.8.0_292] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2405) ~[?:1.8.0_292] at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:633) ~[?:1.8.0_292] at com.andavin.images.image.CustomImage.readObject(CustomImage.java:392) ~[?:?] at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_292] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_292] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184) ~[?:1.8.0_292] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2296) ~[?:1.8.0_292] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2187) ~[?:1.8.0_292] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667) ~[?:1.8.0_292] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503) ~[?:1.8.0_292] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461) ~[?:1.8.0_292] at com.andavin.images.data.SQLDataManager.toImage(SQLDataManager.java:170) ~[?:?] at com.andavin.images.data.SQLDataManager.load(SQLDataManager.java:70) ~[?:?] at com.andavin.images.data.SQLiteDataManager.load(SQLiteDataManager.java:39) ~[?:?] at com.andavin.images.Images.lambda$onEnable$1(Images.java:156) ~[?:?] at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Purpur-"695f3ac"] at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:58) ~[patched_1.16.4.jar:git-Purpur-"695f3ac"] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.4.jar:git-Purpur-"695f3ac"] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_292] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_292] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]

Spigot 1.18.2

Hi

I would like updating my server to spigot 1.18.2
Your plugin could not load your plugin to the newest version of spigot.

Bugs:
The bugs are produced by loading the server with spigot Spigot v1_18_R2 .

java.lang.ExceptionInInitializerError

  1. Caused by: java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method) ~[?:?]
    at java.lang.Class.forName(Class.java:467) ~[?:?]
    at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:67) ~[spigot-api-1.18.2-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.18.2-R0.1-SNAPSHOT.jar:?]

  2. java.lang.UnsupportedOperationException: Class class com.andavin.images.PacketListener is not currently supported for version v1_18_R2
    at com.andavin.images.Versioned.getInstance(Versioned.java:60) ~[?:?]
    at com.andavin.images.Images.(Images.java:97) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:?]
    at java.lang.Class.forName(Class.java:467) ~[?:?]
    at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:67) ~[spigot-api-1.18.2-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.18.2-R0.1-SNAPSHOT.jar:?]

Large images cannot be deleted?

I placed a picture with a resolution of 1118X1534, I can place it normally, but I cannot delete it in any way(even if I use / image delete or uninstall the plugin ...).

Support for .webp images

The webp image format is much lighter and does not lose quality compared to png, I believe that if the plugin were compatible with this format, imagesn would load faster, in addition to being lighter, hugs from Brazil, thanks.

Invalid move player packet received

Upon joining server papermc errors "Invalid move player packet received".

I'm getting this reproducable issue on latest paper-1.19-58 & java 17.0.3.1, with only images-2.2.6 and Denizen-1.2.5-b1772-REL enabled when 2 clients try to connect to server and rejoin a second time.

Considering the sudden influx of issues about the same "Invalid move player packet received" error and multiple people are reporting it to be a compatibility issue with various different plugins, such as Denizen, Geyser, ViaVersion, SkinsRestorerX chances are high that the issue lies not with all other plugins.

#47 #46 #45

ERROR: Legacy Support enabled

Hello,

when your plugin is active i have the following problem:

[09:24:39 INFO]: PlayerXXX lost connection: Invalid move player packet received

when i remove the plugin, also thisproblems is gone.


[09:27:32 INFO]: This server is running Paper version git-Paper-39 (MC: 1.19) (Implementing API version 1.19-R0.1-SNAPSHOT) (Git: 37afe98)
You are running the latest version
Previous version: git-Paper-36 (MC: 1.19)

[09:27:56 INFO]: Plugins (16): Citizens, Essentials, EssentialsChat, EssentialsSpawn, FastAsyncWorldEdit (WorldEdit), Images, LuckPerms, Multiverse-Core, Multiverse-NetherPortals, Multiverse-Portals, Multiverse-SignPortals, NametagEdit, PlayerWarps, UltraEconomy, Vault, WorldGuard

hope you find a fix ;-)

Sweeping Edge stopped working

Hi,

I have no idea how it is related, but Sweeping Edge doesn't work after enabling Custom Images. I know it's odd, because it seems not to be related at all, however that's what we've noticed on our server.

Could you please share if this may have any impact on it? 🙂.

Thanks a lot for your help.

Server Version: git-Purpur-1749 (MC: 1.19.1)*
Custom images version: 2.2.6 (because I guess I shouldn't use the newest one not on 1.19.2).

Other plugins: ActionHealth, AdvancedChests, AdvancedRegionMarket, ajParkour, AntiWorldFly, AsyncWorldEdit, AureliumSkills, AuthMe, Bank, BetterHeads, ChatEmojis, ChestSort, Cigarette, CMI, CMILib, CommandNotifier, CommandPanels, ContainerPassthrough, Core, CraftBook, DeathPenalties, DiscordSRV, dynmap, Dynmap-WorldGuard*, EasyCarts, Epidemic, EvenMoreFish, ExcellentEnchants, GSit, Harbor, HolographicDisplays, InteractionVisualizer, ItemFrameToggle, Jobs, KauriVPN, KelpEffect, LangUtils, LevelledMobs, LimitPillagers, LogBlock, LuckPerms, LWC, LWCTrust, MarriageMaster, Minepacks, MobArena, MyCommand, NBTAPI, NexEngine, NoElytra*, Pingas*, PL-Hide-Pro, PlaceholderAPI, Plan, PortalFix*, ProtocolLib, PvPManager, QSFindItemAddOn, QuickShop, QuickShopList, RedstoneDetector*, RegionRaid, SelectionVisualizer, ShulkerPacks, SkinsRestorer, spark, Spartan, StackMob, StarMail, SuperVanish, TAB, TradingCards, Unstripper, Vault, Vegas, Vehicles, VehiclesFlags, VentureChat, WorldEdit, WorldGuard, WorldGuardExtraFlags

Best regards,
Bloodlex

1.16.1 Spigot Errors

[22:20:39] [Server thread/ERROR]: Could not load 'plugins/images-2.0.5.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ~[server.jar:git-Spigot-758abbe-2b00831]
	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[server.jar:git-Spigot-758abbe-2b00831]
	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[server.jar:git-Spigot-758abbe-2b00831]
	at org.bukkit.craftbukkit.v1_16_R1.CraftServer.loadPlugins(CraftServer.java:377) ~[server.jar:git-Spigot-758abbe-2b00831]
	at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:186) ~[server.jar:git-Spigot-758abbe-2b00831]
	at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:808) ~[server.jar:git-Spigot-758abbe-2b00831]
	at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[server.jar:git-Spigot-758abbe-2b00831]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Caused by: java.lang.ExceptionInInitializerError
	at com.andavin.images.Versioned.<clinit>(Versioned.java:42) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:98) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_232]
	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_232]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[server.jar:git-Spigot-758abbe-2b00831]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[server.jar:git-Spigot-758abbe-2b00831]
	... 7 more
Caused by: java.lang.UnsupportedOperationException: Version v1_16 is not supported.
	at com.andavin.util.MinecraftVersion.<clinit>(MinecraftVersion.java:137) ~[?:?]
	at com.andavin.images.Versioned.<clinit>(Versioned.java:42) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:98) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_232]
	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_232]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[server.jar:git-Spigot-758abbe-2b00831]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[server.jar:git-Spigot-758abbe-2b00831]
	... 7 more
Caused by: java.lang.IllegalArgumentException: No enum constant com.andavin.util.MinecraftVersion.v1_16
	at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_232]
	at com.andavin.util.MinecraftVersion.valueOf(MinecraftVersion.java:60) ~[?:?]
	at com.andavin.util.MinecraftVersion.<clinit>(MinecraftVersion.java:135) ~[?:?]
	at com.andavin.images.Versioned.<clinit>(Versioned.java:42) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:98) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_232]
	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_232]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[server.jar:git-Spigot-758abbe-2b00831]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[server.jar:git-Spigot-758abbe-2b00831]
	... 7 more

Version for 1.18

Hi,

would be really nice to have your plugin working on 1.18 server :)

regards

sphings

Images exception generation

Hi there,

Although the plugin is working properly, sometimes we see that error in the console:

image

Thanks,
Borja

Images replaces current maps locked

SO, my players like to mape huge maps on their lands to see their progress.
For some reason the images plugin bypass that locked maps and replaces it.. its possible to disable?

here's a print
2022-01-06_19 02 59

its supposed to be like that
2022-01-06_19 01 36

sun.awt.X11.XToolkit not found

Creating an image fails with the following error message:

java.lang.NoClassDefFoundError: Could not initialize class  
	at sun.awt.PlatformGraphicsInfo.createToolkit(PlatformGraphicsInfo.java:40) ~[?:?]
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:592) ~[?:?]
	at java.awt.Image.getScaledInstance(Image.java:178) ~[?:?]
	at com.andavin.images.command.CreateCommand$CreateImageTask.readImage(CreateCommand.java:260) ~[?:?]
  • Purpur 1.16.4 (897)
  • JDK 13 (not headless, so X11 should work fine)

Issue on Version 2.2.1 and 2.2.2 - Buttom pictures spawn on high Y-1

15-07-_2021_01-56-31

Since Version 2.2.1 we noticed u have to stay one block higher if you wanne place an image at the buttom
Also all allready placed images at the buttom got spawned and shown one block lower...

Version 2.2.2 didnt fixed it.

Is it possible to fix this? Currently we try to reset all pictures we renember at the buttom
problem: some are hiddden now because they spawned 1 block under the buttom

So why this was made? :3 And could it be fixed?

Sp if you spawn a picute at the buttom
Snag_8bfdb52
you would need to remove the buttom because the Picture is spawned one block lower
Snag_8c05eca

plugin warning

console output

WARN01:18:40
[Images]: Plugin Images v2.2.1 generated an exception while executing task 4906
Console01:18:40
java.lang.NoSuchMethodError: 'void net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy.(int)'
at com.andavin.images.v1_17_R1.MapHelper.destroyMap(MapHelper.java:114) ~[?:?]
at com.andavin.images.MapHelper.destroyMaps(MapHelper.java:88) ~[?:?]
at com.andavin.images.image.CustomImageSection.hide(CustomImageSection.java:153) ~[?:?]
at com.andavin.images.image.CustomImage.refresh(CustomImage.java:180) ~[?:?]
at com.andavin.images.Images.refreshImages(Images.java:437) ~[?:?]
at com.andavin.images.Images.lambda$onEnable$2(Images.java:172) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1425) ~[?:?]
at com.andavin.images.Images.lambda$onEnable$3(Images.java:166) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Paper-103]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.1.jar:git-Paper-103]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.1.jar:git-Paper-103]
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:831) [?:?]

Images does not work in the MC 1.17 version

Today the new MC version 1.17 came out. Unfortunately, as feared, the version number has to be adjusted again. It would be really great if this happened promptly, many users would be happy about that.

[09:10:23] [Server thread/ERROR]: Could not load 'plugins\Images_2.1.7.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.loadPlugins(CraftServer.java:384) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:232) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:986) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ExceptionInInitializerError
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:466) ~[?:?]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:67) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	... 7 more
Caused by: java.lang.UnsupportedOperationException: Class class com.andavin.images.PacketListener is not currently supported for version v1_17_R1
	at com.andavin.images.Versioned.getInstance(Versioned.java:60) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:97) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:466) ~[?:?]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:67) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[server.jar:3102-Spigot-c9cea60-4d2c780]
	... 7 more

Error on creation and Destrction of images

[16:14:27 WARN]: [Images] Plugin Images v2.2.6 generated an exception while executing task 1326
java.lang.NoSuchMethodError: 'void net.minecraft.network.protocol.game.ClientboundSystemChatPacket.<init>(net.minecraft.network.chat.IChatBaseComponent, int)'
    at com.andavin.images.v1_19_R1.ActionBarUtil.sendMessage(ActionBarUtil.java:40) ~[Images_2.2.6.jar:?]
    at com.andavin.util.ActionBarUtil.sendActionBar(ActionBarUtil.java:45) ~[Images_2.2.6.jar:?]
    at com.andavin.images.command.DeleteCommand.lambda$execute$0(DeleteCommand.java:76) ~[Images_2.2.6.jar:?]
    at com.andavin.util.Scheduler$Task.run(Scheduler.java:353) ~[Images_2.2.6.jar:?]
    at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-125]
    at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-125]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?]
    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) ~[?:?]

The Error is only shown once each time a new picture is placed or destoryed in 1.19.2

Images don't show up at a distance

When a player enters the world, images further than 64 blocks away do not show up. Once the player has moved closer, the images then stay visible until the player moves 128 blocks away.

Is there a way to change this behaviour? Ideally the images should always be loaded within 128 blocks. 64 blocks is rather close.

I've played around with various Paper/Spigot settings but couldn't find a way to fix this. Is it hardcoded in the plugin somewhere?

Problem image

Hello, I currently have this problem with the images of my server https://i.imgur.com/e8K9Nf4.png (previous server images are displayed).

  • Use: bungeecord.
  • Plugin version: 2.0.5
  • Database: sqlite
  • Jar: Paper 1.8.8
  • Procotollib: yes

First sees issue on loading with Spigot 1.19

[18:52:27] [Server thread/ERROR]: �[31m[Minecraft] Could not load 'plugins\images_2.2.5.jar' in folder 'plugins'�[0m
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:393) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:300) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.v1_19_R1.CraftServer.loadPlugins(CraftServer.java:402) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3499-Spigot-87c4d13-64c1527]
	at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:224) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3499-Spigot-87c4d13-64c1527]
	at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:966) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3499-Spigot-87c4d13-64c1527]
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:291) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3499-Spigot-87c4d13-64c1527]
	at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ExceptionInInitializerError
	at com.andavin.images.Versioned.<clinit>(Versioned.java:42) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:97) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:467) ~[?:?]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:67) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	... 7 more
Caused by: java.lang.UnsupportedOperationException: Version v1_19 is not supported.
	at com.andavin.util.MinecraftVersion.<clinit>(MinecraftVersion.java:158) ~[?:?]
	at com.andavin.images.Versioned.<clinit>(Versioned.java:42) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:97) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:467) ~[?:?]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:67) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	... 7 more
Caused by: java.lang.IllegalArgumentException: No enum constant com.andavin.util.MinecraftVersion.v1_19
	at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
	at com.andavin.util.MinecraftVersion.valueOf(MinecraftVersion.java:60) ~[?:?]
	at com.andavin.util.MinecraftVersion.<clinit>(MinecraftVersion.java:156) ~[?:?]
	at com.andavin.images.Versioned.<clinit>(Versioned.java:42) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:97) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:467) ~[?:?]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:67) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.19-R0.1-SNAPSHOT.jar:?]
	... 7 more

Nobody can join the server

In my 1.19 server, nobody can join the server if this plugin is active. The error says: "Invalid move player packet received"

probleme

hey when i create new image i have an errror in console

.... [22:00:43 INFO]: skytraceX issued server command: /image create EventHallo.png 50
....2022-10-15 22:00:46,023 Craft Scheduler Thread - 24 - Images ERROR Recursive call to appender Async
[22:00:46 WARN]: [Images] Plugin Images v2.2.7 generated an exception while executing task 3000
java.lang.NoSuchMethodError: 'net.minecraft.core.EnumDirection net.minecraft.world.entity.decoration.EntityItemFrame.cv()'
at com.andavin.images.v1_19_R1.MapHelper.createMap(MapHelper.java:104) ~[images-2.2.7.jar:?]
at com.andavin.images.MapHelper.createMap(MapHelper.java:77) ~[images-2.2.7.jar:?]
at com.andavin.images.image.CustomImageSection.show(CustomImageSection.java:141) ~[images-2.2.7.jar:?]
at com.andavin.images.image.CustomImage.refresh(CustomImage.java:175) ~[images-2.2.7.jar:?]
at com.andavin.images.command.CreateCommand.lambda$onInteract$5(CreateCommand.java:204) ~[images-2.2.7.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.jar:git-Paper-65]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.jar:git-Paper-65]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.jar:?]
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) ~[?:?]

can you help me ?

Add Reload Support?

When I do /plugman unload Images, and then load back, the image i just create is no longer removable, I just can't break the image(even with /image delete ...).
And I thought there's no onDisable()? Async threads are not cancel when I unload the plugin?

no permissions commands

java 1.19.2 using protocollib build #600
trying adding permissions to rank on my server
not working

mysql db not created?

when i look up to console, it said permission denied to table_name
all credentials are correctly, does we need to make manually for the table name? because i start without make table name first and thinking your plugin will created them automatically

Player can't use the sword normally

With the Images plugin installed, the player's swords have reduced attack power, and can't Sweep Attacks.

  • My ProtocolLib version: ProtocolLib v5.0.0-SNAPSHOT
  • My server version: git-Purpur-1758 (MC: 1.19.2)
  • My Java version: 17.0.1

English is not my native language, please excuse typing errors.

Images plugin suddenly not working

Hello, for some reason Images has stopped working on my server. This is what is displayed when custom images is being loaded. https://pastebin.com/4vihY9rC
I have tried reinstalling the plugin and deleting the plugin folder but the plugin is still disabled.

Also, my console displays this error. could this be linked to why Images isn't working

[Server] WARN Failed to initialize SQLite profile cache. Cache is memory-only.

Another plugin that stopped working as well is PlotSquared.

Paper version 1.14.4
Images version 2.0.5
I have protocollib installed

Thanks

Error on Worldchange and /spawn in 1.17.1

[21:59:48] [Craft Scheduler Thread - 81/WARN]: [Images] Plugin Images v2.2.1 generated an exception while executing task 184542
java.lang.NoSuchMethodError: 'void net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy.<init>(int)'
	at com.andavin.images.v1_17_R1.MapHelper.destroyMap(MapHelper.java:114) ~[?:?]
	at com.andavin.images.MapHelper.destroyMaps(MapHelper.java:88) ~[?:?]
	at com.andavin.images.image.CustomImageSection.hide(CustomImageSection.java:153) ~[?:?]
	at com.andavin.images.image.CustomImage.refresh(CustomImage.java:180) ~[?:?]
	at com.andavin.images.Images.refreshImages(Images.java:437) ~[?:?]
	at com.andavin.images.Images.lambda$onMove$9(Images.java:256) ~[?:?]
	at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.1.jar:git-Paper-88]
	at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.1.jar:git-Paper-88]
	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.1.jar:git-Paper-88]
	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:831) [?:?]

The error comes a vew times mostly-- maybe one for each pic in the world where the player was?

When the player enters the next world from worldchange then he see no pictues in the world after that error accoured.
To see them aggain he needs to relog
IPluginversion v2.2.1

Edit: Now it happend with /spawn in same world too...

Colour palette is very limited

I've tried both 24bit PNG and JPEG and always the image comes out in Minecraft (1.17.1 on PaperMC) looking like 8 bit colour.

An example:

The original:
image

In Minecraft:
image

Is this expected behaviour? I though Minecraft supported 24bit colour.

place and remove with coordinate

Es wäre schön, wenn man ein Bild auch mit Koordinaten und per Commandblock platzieren und entfernen kann.
Translate by Google: It would be nice if you could also place and remove an image with coordinates and a command block.

Vorschlag:/Suggestion:
/image create <image name> [scale] [x] [y] [z] [facing]
/image delate [x} [y] [z]

Server Crash

Hi,

Here is a big problem who make the server crash instantly.
Please fix it!

Tested on last .jar available on SpigotMC with server version 1.17 using Purpur.
image

Images doesnt instantly load on servers

My friend placed an image on our server but i had to relog onto the server to see it, is it posible that it loads for other players instantly/without reloging?

Unable to build

I am trying to build this project but I get errors:

pquerner@2d7d50b

Is this something on my end?
I deleted the other modules because I got the same errors for different API versions, therefore I only left 1.15 since thats the version I play on.

pls add 1.16.4 support

[07:25:29] [Server thread/ERROR]: Could not load 'plugins\Images_2.1.4.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[patched_1.16.4.jar:git-Paper-256]
	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:397) ~[patched_1.16.4.jar:git-Paper-256]
	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:305) ~[patched_1.16.4.jar:git-Paper-256]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:389) ~[patched_1.16.4.jar:git-Paper-256]
	at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:206) ~[patched_1.16.4.jar:git-Paper-256]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:939) ~[patched_1.16.4.jar:git-Paper-256]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-256]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
Caused by: java.lang.ExceptionInInitializerError
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_231]
	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_231]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:68) ~[patched_1.16.4.jar:git-Paper-256]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.16.4.jar:git-Paper-256]
	... 7 more
Caused by: java.lang.UnsupportedOperationException: Class class com.andavin.images.PacketListener is not currently supported for version v1_16_R3
	at com.andavin.images.Versioned.getInstance(Versioned.java:60) ~[?:?]
	at com.andavin.images.Images.<clinit>(Images.java:100) ~[?:?]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_231]
	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_231]
	at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:68) ~[patched_1.16.4.jar:git-Paper-256]
	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.16.4.jar:git-Paper-256]
	... 7 more

Minecraft 1.16.2 incompatible

A new MC version is out now, 1.16.2, and so the fun starts all over again for all server owners. I hereby post the first mistake. Welcome to sleep

[01:43:02] [Server thread/ERROR]: Could not load 'plugins\images-2.1.3.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ~[server.jar:git-Spigot-379750e-43c7ff9] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[server.jar:git-Spigot-379750e-43c7ff9] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[server.jar:git-Spigot-379750e-43c7ff9] at org.bukkit.craftbukkit.v1_16_R2.CraftServer.loadPlugins(CraftServer.java:381) ~[server.jar:git-Spigot-379750e-43c7ff9] at net.minecraft.server.v1_16_R2.DedicatedServer.init(DedicatedServer.java:186) ~[server.jar:git-Spigot-379750e-43c7ff9] at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:808) ~[server.jar:git-Spigot-379750e-43c7ff9] at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[server.jar:git-Spigot-379750e-43c7ff9] at java.lang.Thread.run(Unknown Source) [?:1.8.0_231] Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) ~[?:1.8.0_231] at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_231] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[server.jar:git-Spigot-379750e-43c7ff9] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[server.jar:git-Spigot-379750e-43c7ff9] ... 7 more Caused by: java.lang.UnsupportedOperationException: Class class com.andavin.images.PacketListener is not currently supported for version v1_16_R2 at com.andavin.images.Versioned.getInstance(Versioned.java:60) ~[?:?] at com.andavin.images.Images.<clinit>(Images.java:100) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_231] at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_231] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[server.jar:git-Spigot-379750e-43c7ff9] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[server.jar:git-Spigot-379750e-43c7ff9] ... 7 more

https://pastebin.com/dmSw85WT

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.