ItemJoin

ItemJoin

157k Downloads

Respawn trigger doesn't work

StupidRepo opened this issue ยท 1 comments

commented

Thanks for taking the time to open a bug report!

Describe the bug
When the player first joins the overworld, they get start items. When they die, I want them to get the items after they re spawn

  starter-tools-pick:
    id: WOODEN_PICKAXE
    slot: 1
    name: 'Starter Pickaxe'
    triggers: first-join, respawn
    enabled-worlds: world

So I set the trigger but alas, when the player dies and respawn, they don't get the items.

Expected behavior
When player respawns after death, they should get items.

Screenshots
If applicable, add screenshots to help explain your problem.

Pastebin

# --{ =-=-=-=-=-=-=-=-=-= ItemJoin's Custom Item Configurations, by RockinChaos =-=-=-=-=-=-=-=-=-= }--
# See the tutorial page for a more in-depth explanation; https://github.com/RockinChaos/ItemJoin/wiki
# Join the discord for easy plugin support; https://discord.gg/D5FnJ7C
# 
# Modifying the Version will cause this file to break and regenerate.
items-Version: 8
items-Delay: 0
items-Overwrite: true
items-Spamming: false
items-RestrictCount: false
items:
  starter-tools-sword:
    id: WOODEN_SWORD
    slot: 0
    name: 'Starter Sword'
    triggers: first-join, respawn
    enabled-worlds: world
  starter-tools-pick:
    id: WOODEN_PICKAXE
    slot: 1
    name: 'Starter Pickaxe'
    triggers: first-join, respawn
    enabled-worlds: world
  starter-tools-axe:
    id: WOODEN_AXE
    slot: 2
    name: 'Starter Axe'
    triggers: first-join, respawn
    enabled-worlds: world
  starter-armour-boots:
    id: LEATHER_BOOTS
    slot: 3
    name: 'Mouldy Boots'
    triggers: first-join, respawn
    enabled-worlds: world
  starter-armour-hat:
    id: LEATHER_HELMET
    slot: 4
    name: 'Mouldy Hat'
    triggers: first-join, respawn
    enabled-worlds: world

Please complete the following information:

  • Resource Version and Build Number: [e.g. 5.0.6-b364] ???
  • Server Version [e.g. Spigot-1.15.2] Paper 1.16.5

Additional context
Add any other context about the problem here.

commented

I apologize for the late reply, you have the first-join trigger defined thus the item will not be given again on respawn. Maybe you meant to define join, respawn instead?

first-join is a trigger that gives the player the item once and never again.

If you meant to do that but want the item to be given on respawn there is a trigger called first-life instead which gives the item only once on join and will give it every time on respawn.

Please let me know!~

EDIT: Closing this issue due to inactivity, please re-open this issue if you need additional help!