HomeSpawnPlus

HomeSpawnPlus

342k Downloads

lastDeathRandomRadius failing lately

meoso opened this issue ยท 1 comments

commented

not sure when or why it started...

events:
  onDeath:
    - lastDeathRandomRadius:330;80;15
    - homeLocalWorld
    - spawnLocalWorld
[16:44:22 INFO]: [HomeSpawnPlus] LastDeathRandomRadius unable to find random location that met configured range after MAX_TRIES(15) loops. Returning null result.
[16:44:22 INFO]: [HomeSpawnPlus] **LONG STRATEGY** Strategy took 342 ms to run. (> warning threshold of 250ms) Context: {eventType=ondeath,player={BukkitPlayer:player},player.location=Kingdumb,10110,66,-6902,location=Kingdumb,10110,66,-6902,arg=null}
[16:44:22 INFO]: [HomeSpawnPlus] **LONG RESPAWN** Respawn for player {BukkitPlayer:player} took 343 ms to run (> warning threshold of 250ms)

is there a way to increase MAX_TRIES? or a way to troubleshoot why lastDeathRandomRadius is no longer working as expected? i 'm killing myself in a relative flat area to test.

commented

well i've been a little more successful by reducing to 5 vertical. not certain why it fails so often. If i cannot increase MAX_TRIES, is there a way to force above ground (i.e. don't spawn in a cave)? (or maybe both?)