Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: spawnRadius isn't accounted for when a player is spawned. #2821

Open
Labels
Bug: ConfirmedIssue/problem with the software. State: Open to PROpen to anyone who frees like contributing to MV.
@Lildirt

Description

/mv version -p output

n/a

Server logs

n/a

Server Version

n/a

Bug Description

The PlayerRespawnEvent handler (here) doesn't account for the spawnRadius gamerule.

In all cases, Multiverse overrides the spawn behaviour and asserts the event result itself. However, this event handler is ~11 years old (as of writing) and definitely hasn't been updated.

It's unlikely that we'll be able to get Vanilla spawn behaviour since we do other manipulation with respawning, so I'm guessing we'll want to create our own handling for spawnRadius.

Twitz#6905 reported this on Discord, so there's not much information here, but the handler certainly wasn't developed with this gamerule in mind and it appears to be affecting some users.

OP: https://discord.com/channels/325459248047980545/325494796221415424/1067887635156193453

Other relevant inquiries on this (there's more, but this is for 2022):
https://discord.com/channels/325459248047980545/325494796221415424/1051691760209907784
https://discord.com/channels/325459248047980545/325494796221415424/952681488095268895
https://discord.com/channels/325459248047980545/325494796221415424/934825343552983160

Steps to reproduce

  1. Set the spawnRadius gamerule for a world.
  2. Die in the world or otherwise trigger a respawn to happen.
  3. Watch as you spawn in the absolute location set via /mvsetspawn and not randomly around that point.

Agreements

  • I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
  • I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: ConfirmedIssue/problem with the software. State: Open to PROpen to anyone who frees like contributing to MV.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /