Skip to content

User identification: UUID only #1

Description

@mbax

I propose that there be no interface accepting Player or OfflinePlayer so that this system is not "responsible" for any UUID lookups.

Specification should include allowing multiple types of UUID, e.g.

  • Type 4: Authenticated user
  • Type 3: Non-authenticated user
  • Type 2: Bot/NPC/other

Possible extension to this, providing an API for UUID generation that produces plugin-unique UUIDs, such as providing 64 bits of ID (double) and the rest generated based on the plugin name or some other string:

UUID createPluginUUID(Plugin plugin, double id);

Example functionality for this:

  • NPC economy accounts
  • Faction/Town/Guild accounts
  • Some sort of ephemeral account I don't know I'm sure there's something.

Activity

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