Multiverse-Core

Multiverse-Core

6M Downloads

[Idea]: Ability for plugins to see a player's bed spawn location in a custom world

okay1204 opened this issue ยท 1 comments

commented

Describe the feature

As a plugin developer, I found a major limitation of Multiverse. I want to incorporate some logic that involves getting a player's bed spawn location. However, the method OfflinePlayer#getBedSpawnLocation only works for the default overworld. What happens is that if a player set their spawn in a custom overworld, OfflinePlayer#getBedSpawnLocation returns the world spawn of the default overworld. I would like to be able to get the spawn location of a player in custom worlds.

How is the feature useful to all Multiverse users?

It'll allow plugins that rely on Multiverse to do so much more with customizing player respawn behavior.

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
commented