Skip to content

Permissions of offline player cannnot be removed correctly #641

Open

Description

@siulung201314

Description

Permissions of offline player cannnot be removed correctly.

Expected Behavior

Permissions of offline player should be removed correctly.

Steps to Reproduce

  1. Set the tier permission in tiers.yml
    tier 1 permission = example.perm.here
    tier 2 permission = exmaple.perm2.here
    tier 3 permission = exmaple.perm3.here
    tier 4 permission = exmaple.perm4.here
    tier 5 permission = exmaple.perm5.here
    tier 6 permission = exmaple.perm6.here
  2. Restart the server
  3. Create a guild
  4. Use command /guild admin addplayer to add an offline player
  5. Use command /guild admin upgrade to upgrade the guild
  6. Restart the server
  7. Use command /guild admin upgrade to upgrade the guild again 4 times.
  8. Check the permission of the offline player
  9. The lower tier permssion of the offline player is still here and is not removed correctly.

Your Environment

  • Guilds version 3.5.6.7-SNAPSHOT
  • MC Version Purpur-1814 (MC: 1.19.2)
  • Plugin List CMI, CMILib, Guilds, LuckPerms, PlaceholderAPI, Guilds, Vault

Activity

  1. darbyjack commented on Oct 1, 2026

    @darbyjack
    Member

    Thanks for the very clear step by step reproduction, that's exactly the kind of detail this needs.

    I traced the upgrade path on current master. Offline members are included when a tier's permissions are removed, since the guild returns every member as an OfflinePlayer rather than only the online ones, and the removal goes through Vault as a playerRemove on that UUID. With settings.run-vault-async on, which is the default, each upgrade queues its remove and its add on a background thread, so several upgrades in a row run their permission calls interleaved.

    I can't confirm that's what bit you and I don't want to close this on a guess. Could you let me know which permission plugin you're using and whether it still happens on a current build? If you can, running a single /guild admin upgrade and then checking that player in your permission plugin's console would tell us a lot.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions