Interface ServerChangeOwnerEvent

    • Method Detail

      • getOldOwner

        default Optional<User> getOldOwner​()
        Gets the old owner of the server.
        Returns:
        The old owner of the server.
      • getOldOwnerId

        long getOldOwnerId​()
        Gets the id of the old owner of the server.
        Returns:
        The old owner's id.
      • getNewOwner

        default Optional<User> getNewOwner​()
        Gets the new owner of the server.
        Returns:
        The new owner of the server.
      • getNewOwnerId

        long getNewOwnerId​()
        Gets the id of the new owner of the server.
        Returns:
        The new owner's id.