promotional bannermobile promotional banner

DeathSpectating

Spectate your killer briefly before respawning, similarily to most FPS games

File Details

2.1.1

  • R
  • Mar 2, 2019
  • 22.61 KB
  • 333
  • 1.13

File Name

DeathSpectating.jar

Supported Versions

  • 1.13

FYI, this plugin works better on Paper. Paper has a cancelable death event, which is far more reliable to use instead of trying to hack our way around the EntityDamageEvent and faking a death event.

New in 2.1.1:

  •  setTicksLived accepts only a value of 1 or greater. (Fixes a bug that prevents players from respawning.)

New in 2.1:

  • CB/Spigot compatibility
  • Reset ticksLived on respawn
  • Cleaned up unused code from 2.0 update

New in 2.0:

  • Now ignores NPCs
  • Configuration to respawn players in the server default gamemode or their previous gamemode (If you have a plugin properly handling PlayerRespawnEvent then this option shouldn't matter.)
  • Reset even more player attributes on respawn (i.e. better mimic craftbukkit's EntityPlayer#reset method.)
  • Uses Paper's cancelable PlayerDeathEvent for more compatibility and reliability.