Skip to content

Can’t remove a player from a guild #487

Open

Description

@Jeroen123TC

Guild leaders can’t remove a player from there guild. If they try they got the message that the player not exists or is not in a guild. The players are seen in the guild with the command /guild list.

as a admin we tried /guild admin removeplayer but that doesn’t work eather.

  • Guilds version: 3.5.6.1
  • MC Version paper1.16.5

Activity

  1. darbyjack commented on Aug 12, 2021

    @darbyjack
    Member

    I can not seem to reproduce this issue. Is there any more information you can provide?

  2. Jeroen123TC commented on Aug 12, 2021

    @Jeroen123TC
    Author

    What kind of information are you thinking abou?

  3. darbyjack commented on Aug 12, 2021

    @darbyjack
    Member

    From my understanding this error typically happens when they expire from your user cache on the server. I've been trying to find a way to fix this for awhile but I've never had solid reproducible steps to-do so. How long ago was the player last online?

    Edit: I just tested it again a few minutes ago and couldn't reproduce it still. I logged in on one account, created a guild, logged in on another account, joined the guild, logged out, kicked player from guild leader account and it did it just fine. So, I just need some help figuring out why it's happening so I can try to prevent it.

  4. Jeroen123TC commented on Aug 13, 2021

    @Jeroen123TC
    Author

    Thanks that you take the time to look on it, the player is 2 months offline, i have tested more and we found out that the problem is only by that player.

  5. darbyjack commented on Aug 13, 2021

    @darbyjack
    Member

    Yeah so my guess is it's due to them not being in the cache anymore via Bukkit. I need to see if there's a way around that.

  6. Jeroen123TC commented on Aug 24, 2021

    @Jeroen123TC
    Author

    Have you find something already?

  7. darbyjack commented on Aug 27, 2021

    @darbyjack
    Member

    Unfortunately I still have not been able to find a way around this yet. It still stems from the usercache of the server. You aren't cracked, are you?

  8. Jeroen123TC commented on Aug 27, 2021

    @Jeroen123TC
    Author

    What do you mean with cracked?

  9. VQ9 commented on Sep 2, 2021

    @VQ9

    What do you mean with cracked?

    Are you a cracked server?

  10. Jeroen123TC commented on Sep 2, 2021

    @Jeroen123TC
    Author

    No just a paper 1.17.1 bungee server

  11. VQ9 commented on Sep 2, 2021

    @VQ9

    No just a paper 1.17.1 bungee server

    Is online-mode on or off?

  12. Jeroen123TC commented on Sep 2, 2021

    @Jeroen123TC
    Author
  13. darbyjack commented on Sep 5, 2021

    @darbyjack
    Member

    After a couple days of playing around I still can not find a reliable way to reproduce this issue. For time time being until someone can come up with reliable reproduction steps, you might have to manually remove the UUID of the player from the Guild while the server is offline. I apologize for the inconvenience.

  14. darbyjack commented on Oct 1, 2026

    @darbyjack
    Member

    Thanks for the follow-up details, especially the online-mode answer. That narrowed it down a lot.

    I looked at the current kick and remove-player path. Both still begin by turning the name you type into an OfflinePlayer, then look the member up by the UUID that comes back. Guilds stores members by UUID, so when the name resolves to a different UUID than the one saved in the guild, the lookup misses and you get the "player is not in a guild" message. That's what happens once someone has been gone long enough to fall out of the server's user cache, because the name no longer maps back to their real UUID.

    One thing worth trying: those commands also accept a UUID in place of the name, which skips the name lookup entirely. If that works it confirms the diagnosis and gives you a workaround today.

    If you're still running into this, how long the player had been offline would help, and whether it still only affects certain players the way it did for you.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions