Basicly everytime i make a gui with skript-gui everything works unless i try to make a on inventory clicks for the gui nothing happens literally and idk why cuz it work in my other server but on this one no ? This is all my plugins:
FancyHolograms, ajLeaderboards, Citizens, CoreProtect, FastAsyncWorldEdit, ItemEdit, LiteBans, LuckPerms, MinehutPlugin, Multiverse-Core, Multiverse-Portals, NexEngine, nightcore, OpenInv, packetevents, PlaceholderAPI, PoaSk, ProtocolLib, SkBee, SkQuery, skRayFall, Skript, skript-gui, skript-placeholders, skript-reflect, SkriptJSON, TAB, Vault, ViaBackwards, ViaRewind, ViaVersion, Vulcan, WorldGuard
The skript in question:
command /gui:
trigger:
create a new gui with virtual chest inventory with 1 row named "&fGui"
open last gui to player
set slot 4 of player's current inventory to dirt named "&7Dirt"
on inventory click:
if name of event-inventory is "&fGui":
if name of event-item is "&7Dirt":
send "Hello" to event-player
That's just an example but anything after on inventory clicks just doesnt work
Please help me