Class Session

  • All Implemented Interfaces:
    Serializable, SectionMap
    Direct Known Subclasses:
    SessionSection

    public class Session
    extends Object
    implements SectionMap
    This class is used to build better communication between Command and CommandSender. It can save something in the executing process and can be used for future.
    See Also:
    Serialized Form
    • Constructor Detail

      • Session

        public Session​(@Nullable
                       Map<String,​Object> values)
        Initialize the YamlConfiguration with existed key-value pairs or not (usually not)
        Parameters:
        values - the session key-value pairs