Interface Target

All Known Implementing Classes:
Target.Group, Target.Server

public sealed interface Target permits Target.Server, Target.Group
Where a player is to be sent.

A server says exactly where; a group hands the choice to the operator.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
     
    static final record 
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static Target
    group(String name)
    Wherever that group has the most room, chosen by the operator.
    static Target
    server(String name)
    That exact server, by the name ServerInfo.name() carries.
  • Method Details

    • server

      static Target server(String name)
      That exact server, by the name ServerInfo.name() carries.
    • group

      static Target group(String name)
      Wherever that group has the most room, chosen by the operator.