Interface ServerChangeVanityUrlCodeEvent

  • All Superinterfaces:
    Event, ServerEvent


    public interface ServerChangeVanityUrlCodeEvent
    extends ServerEvent
    A server change vanity url code event.
    • Method Detail

      • getOldVanityUrlCode

        Optional<VanityUrlCode> getOldVanityUrlCode​()
        Gets the old vanity url code of the server.
        Returns:
        The old vanity url code of the server.
      • getNewVanityUrlCode

        Optional<VanityUrlCode> getNewVanityUrlCode​()
        Gets the new vanity url code of the server.
        Returns:
        The new vanity url code of the server.