Skip to content

Fly mode unexpectedly active after rejoin #6596

Description

@Brokkonaut

Type of bug

Compatibility issue

/ess dump all output

https://essentialsx.net/dump?bytebin=6C3dDp3669

Error log (if applicable)

No response

Bug description

Interference with other plugins and even with essentials commands cause players to be able to fly after rejoin when they should not.

We have several plugins that alter the game mode of players and the fly state. After rejoining they are now sometimes able to fly when they should not. But this also happens with only essentials and no other plugins involved, see below

Steps to reproduce

Reproduce with essentials itself:
Enable fly mode:
/fly
Go to creative mode:
/gm 1
Go to survival mode:
/gm 0
Now you can not fly.
Rejoin
Now you can fly..

Reproduce with other plugins: Have some plugin that changes game mode or fly mode of players after they typed /fly - same issue

Expected behaviour

fly mode should not be persisted by essentials or at least that feature should be disableable (maybe some permission like essentials.fly.persist or in the config). Having the state of the flying ability in two states - in mc itself and essentials - is just prone to desync between those states and incorrect behaviour

Generaly we do not want players to be flying after joining, we switch gamemode with a plugin to survival when somepone joins, but fly is then sometimes reenabled from essentials

Actual behaviour

Flying players..

Additional Information

Happens since this change: f5fc430

Activity

  1. added theissue type on Jul 23, 2026
  2. github-actions commented on Jul 23, 2026

    @github-actions
  3. SuperficialCake commented on Jul 23, 2026

    @SuperficialCake

    If you have the essentials.fly.safejoin permission, you will enable flight on join if you're hovering.

    try disabling this permission and seeing if the issue presists

    Image
  4. github-actions commented on Jul 23, 2026

    @github-actions
  5. Brokkonaut commented on Jul 23, 2026

    @Brokkonaut
    ContributorAuthor

    If you have the essentials.fly.safejoin permission, you will enable flight on join if you're hovering.

    try disabling this permission and seeing if the issue presists

    Thanks, but this issue is independent from the safelogin feature and also happens when it is disabled (we have that disabled because it also caused issues with other plugins on our server)

  6. github-actions commented on Jul 23, 2026

    @github-actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions