PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
52 stars 21 forks source link

Custom GUI show title = IA_CUST_GUI and no texture #1323

Closed ghost closed 2 years ago

ghost commented 2 years ago

Terms

Discord tag (optional)

Andreu333XD#6969

What happened?

in the new update there is such a thing that in the name of Inventory (getView().getTitle()) IA_CUST_GUI is written instead of[font gui] Title AND INVENTORY DOSENT HAVE CUSTOM TEXTURE - Title = IA_CUST_GUI it works on ItemsAdder version 2.4.19b

Steps to reproduce the issue

  1. write in code - TexturedInventoryWrapper inventory = new TexturedInventoryWrapper(null, 54, ChatColor.BLACK + "Upgrate Menu", new FontImageWrapper("mcguis:upgratemenu")); 2.then open inventory with this code p.openInventory(inventory.getInternal())

Server version

CraftBukkit version 3263-Spigot-dc75aca-fd50041 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT)

ItemsAdder Version

2.4.22

ProtocolLib Version

4.7.0

LoneLibs Version

1.0.15

LightAPI Version (optional)

no light api on server

LibsDisguises Version (optional)

10.0.26

FULL server log

[19:31:20] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [19:31:21] [main/INFO]: Reloading ResourceManager: Default, bukkit [19:31:22] [Worker-Main-11/INFO]: Loaded 7 recipes [19:31:23] [Server thread/INFO]: Starting minecraft server version 1.17.1 [19:31:23] [Server thread/INFO]: Loading properties [19:31:23] [Server thread/INFO]: This server is running CraftBukkit version 3263-Spigot-dc75aca-fd50041 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) [19:31:24] [Server thread/INFO]: Debug logging is disabled [19:31:24] [Server thread/INFO]: Using 4 threads for Netty based IO [19:31:24] [Server thread/INFO]: Server Ping Player Sample Count: 12 [19:31:24] [Server thread/INFO]: Default game type: SURVIVAL [19:31:24] [Server thread/INFO]: Generating keypair [19:31:24] [Server thread/INFO]: Starting Minecraft server on *:25565 [19:31:24] [Server thread/INFO]: Using default channel type [19:31:25] [Server thread/INFO]: [Bed_Wars] Loading Bed_Wars v0.1 [19:31:25] [Server thread/INFO]: [SkinsRestorer] Loading SkinsRestorer v14.1.6 [19:31:25] [Server thread/INFO]: [LoneLibs] Loading LoneLibs v1.0.15 [19:31:25] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v4.7.0 [19:31:27] [Server thread/INFO]: [LibsDisguises] Loading LibsDisguises v10.0.26 [19:31:27] [Server thread/INFO]: [ItemsAdder] Loading ItemsAdder v2.4.22 [19:31:27] [Server thread/INFO]: [LoneLibs] Enabling LoneLibs v1.0.15 [19:31:27] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v4.7.0 [19:31:27] [Server thread/INFO]: [ProtocolLib] Started structure compiler thread. [19:31:27] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! [19:31:27] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware. [19:31:27] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose. [19:31:27] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file. [19:31:27] [Server thread/INFO]: Preparing level "world" [19:31:27] [Server thread/INFO]: -------- World Settings For [world] -------- [19:31:27] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [19:31:27] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [19:31:27] [Server thread/INFO]: Experience Merge Radius: 3.0 [19:31:27] [Server thread/INFO]: Cactus Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Cane Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Melon Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Mushroom Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Pumpkin Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Sapling Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Beetroot Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Carrot Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Potato Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Wheat Growth Modifier: 100% [19:31:27] [Server thread/INFO]: NetherWart Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Vine Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Cocoa Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Bamboo Growth Modifier: 100% [19:31:27] [Server thread/INFO]: SweetBerry Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Kelp Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Mob Spawn Range: 6 [19:31:27] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [19:31:27] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645 [19:31:27] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [19:31:27] [Server thread/INFO]: Max TNT Explosions: 100 [19:31:27] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [19:31:27] [Server thread/INFO]: Item Merge Radius: 2.5 [19:31:27] [Server thread/INFO]: Item Despawn Rate: 6000 [19:31:27] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [19:31:27] [Server thread/INFO]: View Distance: 10 [19:31:27] [Server thread/INFO]: Zombie Aggressive Towards Villager: true [19:31:27] [Server thread/INFO]: Nerfing mobs spawned from spawners: false [19:31:27] [Server thread/INFO]: -------- World Settings For [world_nether] -------- [19:31:27] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [19:31:27] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [19:31:27] [Server thread/INFO]: Experience Merge Radius: 3.0 [19:31:27] [Server thread/INFO]: Cactus Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Cane Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Melon Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Mushroom Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Pumpkin Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Sapling Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Beetroot Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Carrot Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Potato Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Wheat Growth Modifier: 100% [19:31:27] [Server thread/INFO]: NetherWart Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Vine Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Cocoa Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Bamboo Growth Modifier: 100% [19:31:27] [Server thread/INFO]: SweetBerry Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Kelp Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Mob Spawn Range: 6 [19:31:27] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [19:31:27] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645 [19:31:27] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [19:31:27] [Server thread/INFO]: Max TNT Explosions: 100 [19:31:27] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [19:31:27] [Server thread/INFO]: Item Merge Radius: 2.5 [19:31:27] [Server thread/INFO]: Item Despawn Rate: 6000 [19:31:27] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [19:31:27] [Server thread/INFO]: View Distance: 10 [19:31:27] [Server thread/INFO]: Zombie Aggressive Towards Villager: true [19:31:27] [Server thread/INFO]: Nerfing mobs spawned from spawners: false [19:31:27] [Server thread/INFO]: -------- World Settings For [world_the_end] -------- [19:31:27] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [19:31:27] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [19:31:27] [Server thread/INFO]: Experience Merge Radius: 3.0 [19:31:27] [Server thread/INFO]: Cactus Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Cane Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Melon Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Mushroom Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Pumpkin Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Sapling Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Beetroot Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Carrot Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Potato Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Wheat Growth Modifier: 100% [19:31:27] [Server thread/INFO]: NetherWart Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Vine Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Cocoa Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Bamboo Growth Modifier: 100% [19:31:27] [Server thread/INFO]: SweetBerry Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Kelp Growth Modifier: 100% [19:31:27] [Server thread/INFO]: Mob Spawn Range: 6 [19:31:27] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [19:31:27] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645 [19:31:27] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [19:31:27] [Server thread/INFO]: Max TNT Explosions: 100 [19:31:27] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [19:31:27] [Server thread/INFO]: Item Merge Radius: 2.5 [19:31:27] [Server thread/INFO]: Item Despawn Rate: 6000 [19:31:27] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [19:31:27] [Server thread/INFO]: View Distance: 10 [19:31:27] [Server thread/INFO]: Zombie Aggressive Towards Villager: true [19:31:27] [Server thread/INFO]: Nerfing mobs spawned from spawners: false [19:31:27] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld [19:31:28] [Worker-Main-10/INFO]: Preparing spawn area: 0% [19:31:28] [Worker-Main-10/INFO]: Preparing spawn area: 0% [19:31:28] [Worker-Main-10/INFO]: Preparing spawn area: 0% [19:31:29] [Worker-Main-9/INFO]: Preparing spawn area: 0% [19:31:29] [Worker-Main-9/INFO]: Preparing spawn area: 0% [19:31:30] [Worker-Main-11/INFO]: Preparing spawn area: 0% [19:31:30] [Worker-Main-8/INFO]: Preparing spawn area: 4% [19:31:31] [Worker-Main-12/INFO]: Preparing spawn area: 27% [19:31:31] [Worker-Main-9/INFO]: Preparing spawn area: 77% [19:31:31] [Server thread/INFO]: Time elapsed: 4166 ms [19:31:31] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether [19:31:32] [Worker-Main-12/INFO]: Preparing spawn area: 0% [19:31:32] [Worker-Main-10/INFO]: Preparing spawn area: 0% [19:31:32] [Worker-Main-9/INFO]: Preparing spawn area: 4% [19:31:33] [Worker-Main-10/INFO]: Preparing spawn area: 57% [19:31:33] [Worker-Main-9/INFO]: Preparing spawn area: 70% [19:31:34] [Worker-Main-12/INFO]: Preparing spawn area: 79% [19:31:34] [Worker-Main-10/INFO]: Preparing spawn area: 84% [19:31:35] [Worker-Main-9/INFO]: Preparing spawn area: 89% [19:31:35] [Worker-Main-12/INFO]: Preparing spawn area: 96% [19:31:36] [Server thread/INFO]: Time elapsed: 4190 ms [19:31:36] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end [19:31:36] [Worker-Main-10/INFO]: Preparing spawn area: 0% [19:31:36] [Worker-Main-12/INFO]: Preparing spawn area: 2% [19:31:37] [Worker-Main-13/INFO]: Preparing spawn area: 88% [19:31:37] [Server thread/INFO]: Time elapsed: 1062 ms [19:31:37] [Server thread/INFO]: [Bed_Wars] Enabling Bed_Wars v0.1 [19:31:37] [Server thread/ERROR]: COULD NOT UNLOAD temple [19:31:37] [Server thread/INFO]: -------- World Settings For [temple] -------- [19:31:37] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [19:31:37] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [19:31:37] [Server thread/INFO]: Experience Merge Radius: 3.0 [19:31:37] [Server thread/INFO]: Cactus Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Cane Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Melon Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Mushroom Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Pumpkin Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Sapling Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Beetroot Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Carrot Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Potato Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Wheat Growth Modifier: 100% [19:31:37] [Server thread/INFO]: NetherWart Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Vine Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Cocoa Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Bamboo Growth Modifier: 100% [19:31:37] [Server thread/INFO]: SweetBerry Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Kelp Growth Modifier: 100% [19:31:37] [Server thread/INFO]: Mob Spawn Range: 6 [19:31:37] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [19:31:37] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645 [19:31:37] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [19:31:37] [Server thread/INFO]: Max TNT Explosions: 100 [19:31:37] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [19:31:37] [Server thread/INFO]: Item Merge Radius: 2.5 [19:31:37] [Server thread/INFO]: Item Despawn Rate: 6000 [19:31:37] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [19:31:37] [Server thread/INFO]: View Distance: 10 [19:31:37] [Server thread/INFO]: Zombie Aggressive Towards Villager: true [19:31:37] [Server thread/INFO]: Nerfing mobs spawned from spawners: false [19:31:37] [Server thread/INFO]: Preparing start region for dimension minecraft:temple [19:31:37] [Worker-Main-9/INFO]: Preparing spawn area: 0% [19:31:37] [Worker-Main-12/INFO]: Preparing spawn area: 0% [19:31:38] [Worker-Main-12/INFO]: Preparing spawn area: 0% [19:31:38] [Worker-Main-11/INFO]: Preparing spawn area: 4% [19:31:39] [Worker-Main-10/INFO]: Preparing spawn area: 4% [19:31:39] [Worker-Main-10/INFO]: Preparing spawn area: 6% [19:31:40] [Worker-Main-10/INFO]: Preparing spawn area: 13% [19:31:40] [Worker-Main-11/INFO]: Preparing spawn area: 25% [19:31:41] [Worker-Main-10/INFO]: Preparing spawn area: 38% [19:31:41] [Worker-Main-9/INFO]: Preparing spawn area: 54% [19:31:42] [Worker-Main-9/INFO]: Preparing spawn area: 69% [19:31:42] [Worker-Main-13/INFO]: Preparing spawn area: 93% [19:31:42] [Server thread/INFO]: Time elapsed: 5622 ms [19:31:42] [Server thread/ERROR]: COULD NOT UNLOAD cars [19:31:42] [Server thread/INFO]: -------- World Settings For [cars] -------- [19:31:42] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200 [19:31:42] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64 [19:31:42] [Server thread/INFO]: Experience Merge Radius: 3.0 [19:31:42] [Server thread/INFO]: Cactus Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Cane Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Melon Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Mushroom Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Pumpkin Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Sapling Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Beetroot Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Carrot Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Potato Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Wheat Growth Modifier: 100% [19:31:42] [Server thread/INFO]: NetherWart Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Vine Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Cocoa Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Bamboo Growth Modifier: 100% [19:31:42] [Server thread/INFO]: SweetBerry Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Kelp Growth Modifier: 100% [19:31:42] [Server thread/INFO]: Mob Spawn Range: 6 [19:31:42] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true [19:31:42] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645 [19:31:42] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 [19:31:42] [Server thread/INFO]: Max TNT Explosions: 100 [19:31:42] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms [19:31:42] [Server thread/INFO]: Item Merge Radius: 2.5 [19:31:42] [Server thread/INFO]: Item Despawn Rate: 6000 [19:31:42] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true [19:31:42] [Server thread/INFO]: View Distance: 10 [19:31:42] [Server thread/INFO]: Zombie Aggressive Towards Villager: true [19:31:42] [Server thread/INFO]: Nerfing mobs spawned from spawners: false [19:31:42] [Server thread/INFO]: Preparing start region for dimension minecraft:cars [19:31:43] [Worker-Main-8/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-8/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-14/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-8/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-14/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-14/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-8/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-12/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-14/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-8/INFO]: Preparing spawn area: 0% [19:31:47] [Worker-Main-12/INFO]: Preparing spawn area: 0% [19:31:48] [Worker-Main-8/INFO]: Preparing spawn area: 57% [19:31:50] [Worker-Main-8/INFO]: Preparing spawn area: 64% [19:31:50] [Worker-Main-9/INFO]: Preparing spawn area: 64% [19:31:50] [Worker-Main-9/INFO]: Preparing spawn area: 64% [19:31:50] [Worker-Main-14/INFO]: Preparing spawn area: 64% [19:31:50] [Worker-Main-11/INFO]: Preparing spawn area: 70% [19:31:51] [Worker-Main-12/INFO]: Preparing spawn area: 92% [19:31:51] [Server thread/INFO]: Time elapsed: 8858 ms [19:31:51] [Server thread/INFO]: blue - test [19:31:51] [Server thread/INFO]: red - test [19:31:51] [Server thread/INFO]: version: 0.01 [19:31:51] [Server thread/WARN]: [Bed_Wars] Loaded class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent from ItemsAdder v2.4.22 which is not a depend, softdepend or loadbefore of this plugin. [19:31:51] [Server thread/INFO]: [SkinsRestorer] Enabling SkinsRestorer v14.1.6 [19:31:52] [Server thread/INFO]: [SkinsRestorer] Using SpigotSkinRefresher [19:31:52] [Server thread/INFO]: [SkinsRestorer] Detected Minecraft v1_17_R1, using SpigotSkinRefresher. [19:31:54] [Server thread/INFO]: [LibsDisguises] Enabling LibsDisguises v10.0.26 [19:31:54] [Server thread/INFO]: [LibsDisguises] File Name: LibsDisguises-10.0.26-Free.jar [19:31:54] [Server thread/INFO]: [LibsDisguises] Discovered nms version: v1_17_R1 [19:31:54] [Server thread/INFO]: [LibsDisguises] Jenkins Build: #972 [19:31:54] [Server thread/INFO]: [LibsDisguises] Build Date: 16/07/2021 20:00 [19:31:54] [Server thread/WARN]: [LibsDisguises] If you own the plugin, place the premium jar downloaded from https://www.spigotmc.org/resources/libs-disguises.32453/ in plugins/LibsDisguises/ [19:31:54] [Server thread/INFO]: [LibsDisguises] You are running the free version, commands limited to non-players and operators. (Console, Command Blocks, Admins) [19:31:55] [Server thread/INFO]: [LibsDisguises] Loaded custom disguise libraryaddict [19:31:55] [Server thread/INFO]: [LibsDisguises] Loaded 1 custom disguise [19:31:55] [Server thread/INFO]: [LibsDisguises] Config is up to date! [19:31:55] [Server thread/INFO]: [ItemsAdder] Enabling ItemsAdder v2.4.22 [19:31:56] [Server thread/INFO]: [ItemsAdder]  [19:31:56] [Server thread/INFO]:   ItemsAdder 2.4.22 [19:31:56] [Server thread/INFO]: | | | |\/| /` /\ | \ | \ | |)  LoneLibs 1.0.15 [19:31:56] [Server thread/INFO]: | | | | | ./ /--\ |/ |__/ |___ | \  CraftBukkit 3263-Spigot-dc75aca-fd50041 (MC: 1.17.1) [19:31:56] [Server thread/INFO]:   [19:31:56] [Server thread/INFO]: [ItemsAdder] LightAPI not installed, please install it to see blocks emitting light:  [19:31:56] [Server thread/INFO]: [ItemsAdder]  <= 1.16https://a.devs.beer/lightapi-old [19:31:56] [Server thread/INFO]: [ItemsAdder]  >= 1.17.1https://a.devs.beer/lightapi-new [19:31:56] [Server thread/INFO]: [ItemsAdder] [Host] Started self-host webserver on port: 8163 [19:31:56] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it

[19:31:56] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] [Pack] Checking for online default resourcepack updates... [19:31:57] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] [Pack] Downloading default resourcepack... [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer] ---------------------------------------------- [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer]  +==================+ [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer]  | SkinsRestorer | [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer]  |------------------| [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer]  | Standalone Mode | [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer]  +==================+ [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer] ---------------------------------------------- [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer]  Current version: 14.1.6 [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer]  This is the latest version! [19:31:57] [Craft Scheduler Thread - 1/INFO]: [SkinsRestorer] ---------------------------------------------- [19:31:57] [Craft Scheduler Thread - 3/INFO]: [ItemsAdder] You can ignore this message: Can't connect to SpigotMC.org, probably internet connection is blocked. [19:31:57] [Craft Scheduler Thread - 3/INFO]: [ItemsAdder] ( Server returned HTTP response code: 503 for URL: https://www.spigotmc.org/members/946024/ ) - 946024 [19:31:58] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] [Pack] Downloaded default resourcepack [19:31:58] [Server thread/INFO]: [ItemsAdder] [Init] Loading YML files... [19:31:59] [Server thread/INFO]: [ItemsAdder] [Init] Loading items_packs... [19:31:59] [Craft Scheduler Thread - 2/WARN]: [ItemsAdder] bedwars_bots:resource_bot is not a POTION, you cannot set hit_color. Please consider setting 'material' property to POTION [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] Loaded 499 items [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] Used 0/188 REAL block IDs.  [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] Used 29/750 REAL_NOTE block IDs.  [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] Used 1/63 REAL_TRANSPARENT block IDs.  [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] Used 0/127 REAL_WIRE block IDs.  [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] Used 0/14 FIRE block IDs.  [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] Used 572/6608 available max font_images. 

[19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] [Init] Loaded 41 categories [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] [Init] Loaded 499 items and stuff in 1066ms [19:31:59] [Craft Scheduler Thread - 2/INFO]: [ItemsAdder] [Pack] Checking resourcepack url...  [19:31:59] [Server thread/WARN]: Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! [19:32:01] [Craft Scheduler Thread - 0/INFO]: [ItemsAdder] [Pack] Resourcepack URL (self-host):

Error (optional)

No response

ItemsAdder config.yml

metrics: true
update-checker: true
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    auto-external-host:
      enabled: false
    self-host:
      enabled: true
      server-ip: i dont want to send my ip
      pack-port: 
    external-host:
      enabled: false
      url: ''
  apply-on-join: false
  kick-player-on-decline: false
  kick-player-on-fail: false
  delay-ticks: 1
  notify-other-plugins-interfering: true
  title:
    enabled: true
  protect-player:
    black-screen: true
    hide-hud: true
    cancel-movement: true
    lock-player: true
  command:
    usage-cooldown-seconds: 60
  custom-font:
    enabled: false
    name: ipaexg.ttf
    shift: '[0,0]'
    size: 11.0
    oversample: 2.0
  thin-font:
    enabled: false
  zip:
    protect-file-from-unzip:
      enabled: true
      extreme: true
    overwrite-vanilla-models: false
    overwrite-vanilla-lang-json: false
    fix_transparent_noteblocks__disable-for-more-performance: false
    ignore-files-ext:
    - db
    - yml
    - xcf
    - html
    compress-png-files: true
    compress-json-files: true
    generate-custom-armors-textures:
      _: 'Available values: VANILLA_1_17 or OPTIFINE'
      enabled: true
      mode: VANILLA_1_17
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
config_files:
  lang: en
  dictionaries-lang: en
  extract-default-items: true
  extract-default-resources: true
blocks:
  light-api: true
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
    search-also-in-these-biomes:
      enabled: false
      biomes:
      - BEACH
      - BIRCH_FOREST
      - BIRCH_FOREST_HILLS
      - FOREST
      - MOUNTAINS
      - MOUNTAIN_EDGE
      - GRAVELLY_MOUNTAINS
      - PLAINS
      - RIVER
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire:
    unlit-on-place: true
    allow-any-item: true
  disable-REAL: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_NOTE: false
  disable-REAL_WIRE: true
  disable-FIRE: false
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: true
  hide-custom-durability-lore: false
liquids:
  enabled: true
huds:
  enabled: true
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
font_images:
  chat:
    enabled: true
    doublecheck-permission__disable-for-more-performance: false
    add-hover-suggestion: true
  command:
    enabled: true
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: true
  inventory-title:
    enabled: true
  tab-header-footer:
    enabled: true
  vault-prefix-suffix:
    enabled: true
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: false
    update-every-ticks: 3600
  player-display-name:
    enabled: true
    update-every-ticks: 1200
  replace-in-customitems-name-and-lore: true
effects:
  hide-scoreboard-numbers: false
  text-effects:
    enabled: true
    replace-in-customitems-name-and-lore: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: true
entities:
  max-furniture-vehicles-per-chunk: 30
  allow-removing-old-furnitures_2_3_11: false
recipes:
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
  hide-vanilla-unrecognized-recipe-errors: true
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: false
        ingredients: true
debug:
  items:
    log-files-loading: false
    log-items-loading: false
    log-items-loading-disabled: false
    log-font-images-loading: false
    log-huds-loading: false
    log-attribute-modifiers-loading: false
    log-warnings: false
    log-loots-loading: false
    log-loots-loading-disabled: false
    log-armors-loading: false
  recipes:
    log-recipes-loading: false
    log-recipes-loading-disabled: false
    log-recipes-removed-vanilla: false
  resource-pack:
    log-extract-default-resources: false
    log-not-extract-default-resources-already-exist: false
  blocks:
    log-save: false
    log-save-on-unload: false
    log-mined-unknown-blocks: true
  worlds-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  trees-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  surface-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  player-stats:
    log-save: false
  performance:
    loading-ms: true
  huds:
    log-triggers: false
  other:
    log-dictionaries-loading: false
    log-liquids-loading: false
    log-minecraft_lang_overwrite-loading: false
  categories:
    log-total-loaded: true
    log-single-loaded: false
    log-single-loaded-overwrite: false
    log-single-skip: false

Problematic items yml configuration file (optional)

info:
  namespace: "itemsadder"
font_images:
  customization_table_left:
    suggest_in_command: false
    path: "gui/customization_table_left.png"
    y_position: 12
  customization_table_right:
    suggest_in_command: false
    path: "gui/customization_table_right.png"
    y_position: 12
  energy_extractor_left:
    suggest_in_command: false
    path: "gui/energy_extractor_left.png"
    y_position: 12
  energy_extractor_right:
    suggest_in_command: false
    path: "gui/energy_extractor_right.png"
    y_position: 12
  energy_converter_left:
    suggest_in_command: false
    path: "gui/energy_converter_left.png"
    y_position: 12
  energy_converter_right:
    suggest_in_command: false
    path: "gui/energy_converter_right.png"
    y_position: 12
  vending_machine_left:
    suggest_in_command: false
    path: "gui/vending_machine_left.png"
    y_position: 12
  vending_machine_right:
    suggest_in_command: false
    path: "gui/vending_machine_right.png"
    y_position: 12
  coffee_machine_left:
    suggest_in_command: false
    path: "gui/coffee_machine_left.png"
    y_position: 12
  coffee_machine_right:
    suggest_in_command: false
    path: "gui/coffee_machine_right.png"
    y_position: 12

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

LoneDev6 commented 2 years ago

You're using the API in a wrong way. You must not call p.openInventory(inventory.getInternal()). Call inventory.showInventory(p); where inventory is your TexturedInventoryWrapper.

Let me know

LoneDev6 commented 2 years ago

https://github.com/LoneDev6/API-ItemsAdder/blob/843141d813e7b2062cd975e7f9a34a19ab9097e1/src/main/java/dev/lone/itemsadder/api/FontImages/TexturedInventoryWrapper.java#L167

This the only method you should use to show the inventory to players.