BSkyBlock icon indicating copy to clipboard operation
BSkyBlock copied to clipboard

When players die, it seems that even with on-respawn, nothing gets executed.

Open Novasky-Guy opened this issue 3 years ago • 1 comments

Expected behavior

Expected behaviour is that when having a [SPAWN_HERE] Sign on the island it would teleport them back to the island no matter what. Another expected behaviour is that the on-respawn: configuration in the menu should execute commands when a player dies.

Observed/Actual behavior

The [SPAWN_HERE] method doesnt seem to work, instead it teleports them to 0 100 0 ish, when the area is unsafe or unstable. The on-respawn config doesnt do anything, ive attempted this multiple times, and no errors come out of it, but nothing happens at all.

Steps/models to reproduce

image When having this setup, The player just needs to jump into the lava.

image This is the config which should be held to: i also attempted [SUDO] [name] is go with the same conclusion that it doesnt work.

BentoBox version

[30.01 10:14:40] [Server] [Server thread/INFO]: §2Running §3PAPER 1.16.5§2. [30.01 10:14:40] [Server] [Server thread/INFO]: §2BentoBox version: §31.16.5.1 [30.01 10:14:40] [Server] [Server thread/INFO]: §2Database: §3JSON [30.01 10:14:40] [Server] [Server thread/INFO]: Loaded Game Worlds: [30.01 10:14:40] [Server] [Server thread/INFO]: §2bskyblock_world §7(§3BSkyBlock§7): §3Overworld, Nether* [30.01 10:14:40] [Server] [Server thread/INFO]: Loaded Addons: [30.01 10:14:40] [Server] [Server thread/INFO]: §2Border §33.1.1 §7(§3ENABLED§7) [30.01 10:14:40] [Server] [Server thread/INFO]: §2BSkyBlock §31.15.2 §7(§3ENABLED§7) [30.01 10:14:40] [Server] [Server thread/INFO]: §2Chat §31.1.4 §7(§3ENABLED§7) [30.01 10:14:40] [Server] [Server thread/INFO]: §2Level §32.8.1 §7(§3ENABLED§7) [30.01 10:14:40] [Server] [Server thread/INFO]: §2Limits §31.15.5 §7(§3ENABLED§7) [30.01 10:14:40] [Server] [Server thread/INFO]: §2Warps §31.10.2 §7(§3ENABLED§7)

image

Plugin list

image

Other

No response

Novasky-Guy avatar Jan 30 '22 10:01 Novasky-Guy

The commands have to be a YAML list so like this:

on-respawn:

  • command1
  • command2

https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html

For the Spawn_here sign - that's used when the player first generates their island. If they change the home, it'll be wherever they set it.

tastybento avatar Jan 30 '22 11:01 tastybento