EssentialsX

EssentialsX

2M Downloads

Fly restet by World change

ST-Nico1 opened this issue ยท 1 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?bytebin=rYGsbMGgUF

Error log (if applicable)

No response

Bug description

We currently have the issue that when we switch worlds, for example from the Spawn to the OneBlock world, the flight is reset every time. So, we currently have to type /fly again each time.

Server Version: 1.20.6
EssentialsX Version: EssentialsX-2.21.0-dev+167-4e64782.jar

Config Settings:
world-change-fly-reset: false
world-change-speed-reset: true

Player Permission:
essentials.fly.safelogin true
essentials.fly true

Permission System LuckPerms

Steps to reproduce

no message..

Expected behaviour

Flight should be automatically enabled upon joining.
Flight should be retained when switching between worlds.

Actual behaviour

no message..

Additional Information

no message..

commented

Hey there! We are having this issue too.
With a recent commit (ea3ea20) this was partially fixed. It now retains the flight if the player was flying before changing worlds.

It doesn't seem to retain flight state when a player has flight toggled on, but is not flying when changing worlds.
Tested on most recent dev build.

Steps to reproduce:

  1. Set up fresh Paper server, in my case build 187 for 1.21.4
    ver output:
    [13:24:55 INFO]: Checking version, please wait...
    [13:24:56 INFO]: This server is running Paper version 1.21.4-187-main@1d5e5a5 (2025-02-28T19:53:30Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
    You are running the latest version
    Previous version: 1.21.4-2376-4bf1b98 (MC: 1.21.4)

  2. Install EssentialsX (most recent dev build)
    ver output:
    [13:25:28 INFO]: Essentials version 2.21.0-dev+185-5bf158c
    [13:25:28 INFO]: Provides an essential, core set of commands for Bukkit.
    [13:25:28 INFO]: Website: https://essentialsx.net/
    [13:25:28 INFO]: Authors: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs, SupaHam, mdcfe, JRoy and pop4959

  3. Give operator to player, and toggle /fly on

Image

  1. Switch worlds, and try to fly (not possible, need to re-toggle fly)

Image