Solved Allowing a player to deal damage immediately after being teleported

Discussion in 'Plugin Development' started by tommyhoogstra, Nov 30, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    tommyhoogstra

    Recently came across the issue that after using p.teleport(location), that the player that was teleported (not the person attacking the person who teleport) would not be able to deal damage for a fair amount of time (atleast a few seconds)

    I looked into setting noDamageTicks to 0 for all players on the server just to test if it was a simple fix, but apparently not.

    Plugins other than my own:
    WorldEdit
    Essentials, EssentialsSpawn, EssentialsChat
    Vault

    Any insight would be appreciated, i'm sure I will return the favour some day.
     
  2. Offline

    FabeGabeMC

    @tommyhoogstra
    It's most likely Essentials that enables the damage teleportation cooldown. Mind checking your Essentials config for teleportation damage?
     
    tommyhoogstra likes this.
  3. Offline

    tommyhoogstra


    Ugh, can't believe i didnt check that first.

    Option was: teleport-invulnerability: 4

    Thanks!
     
    FabeGabeMC likes this.
  4. Offline

    FabeGabeMC

Thread Status:
Not open for further replies.

Share This Page