Closed vuhgyxg closed 9 months ago
Have you tried using the auto-remove
itemflag? That is what its designed for, I see you put it in the title but it doesn't seem to be on the item in ur pastebin so I am unsure if you tried it.
Keep in mind you also must define the world-switch
trigger so auto-remove is allowed to function upon switching worlds.
It should look something like this;
items:
compass-item:
id: compass
slot: 0
name: '&aQuick Compass'
interact:
- 'console: cc open compass %player%'
itemflags: auto-remove
triggers: join, world-switch
enabled-worlds: world
the code worked thanks man im beginner so i d have alot exp
Server Version
spigot 1.8
Resource Version
itemjoin-6.0.2v
Dump Information
https://pastebin.com/jjFkJgX2
Describe The Problem
Hi can you help me, I use itemjoin compass with Chestcommands in my server, but when I teleport to world like pvp the compass stays in my inventory how can I remove it
Additional Context
No response
Checklist