Class ServerSPExample


  • public class ServerSPExample
    extends java.lang.Object
    Examples for plugins running on a server, not on a proxy. Important: You need to compile the SyncProxyModule into your plugin!
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerSPExample()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void changeMaintenance​(java.lang.String proxyGroup)
      Actives maintenance for the given group
      void changeMOTD​(java.lang.String proxyGroup)
      Changes the MOTD for the group of the current proxy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerSPExample

        public ServerSPExample()
    • Method Detail

      • changeMaintenance

        public void changeMaintenance​(java.lang.String proxyGroup)
        Actives maintenance for the given group
        Parameters:
        proxyGroup - the group to activate maintenance for
      • changeMOTD

        public void changeMOTD​(java.lang.String proxyGroup)
        Changes the MOTD for the group of the current proxy