AuthMe Reloaded

AuthMe Reloaded

3M Downloads

EssentialsX's spawn location is not being parsed properly

vitaly-rudenko opened this issue ยท 0 comments

commented

What behaviour is observed?

AuthMe doesn't teleport unlogged user to EssentialsX spawn location

Expected behaviour

AuthMe should teleport unlogged user to EssentialsX spawn location

Not sure, but the problem might be that EssentialsX now stores spawn location like this:

spawns:
  default:
    world: abcbf397-321f-4746-a6c8-ca54bb81b882
    world-name: world
    x: 0.5
    y: 115.0
    z: 0.5
    yaw: 0
    pitch: 0

While AuthMe uses world as if it was worldName:

private static Location getLocationFromConfiguration(FileConfiguration configuration, String pathPrefix) {

In any case, you can use EssentialSpawn class to get spawn location without parsing spawn.yml file:

essentialsSpawn.getSpawn("default");

To Reproduce

  1. Set EssentialsX spawn to Overworld
  2. Log out while in Nether
  3. Log in
  4. Observer yourself in Nether's default spawn

Plugin list

EssentialsX (latest)
AuthMeReloaded (latest)

Server Implementation

Standalone server (no proxy)

Database Implementation

MySQL

AuthMe Version

AuthMeReloaded v5.6.0-SNAPSHOT (build: 2517)

Error log (if applicable)

No response

Configuration

https://paste.gg/p/anonymous/cc6f9ae682b749789ab556c1a1291f25