Class OnlyProxyProtection


  • public class OnlyProxyProtection
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.google.common.collect.Multimap<java.util.UUID,​java.lang.String> proxyIpAddress  
    • Constructor Summary

      Constructors 
      Constructor Description
      OnlyProxyProtection​(boolean serverOnlineMode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.Multimap<java.util.UUID,​java.lang.String> getProxyIpAddress()  
      void handleServiceStart​(de.dytanic.cloudnet.driver.event.events.service.CloudServiceStartEvent event)  
      void handleServiceStop​(de.dytanic.cloudnet.driver.event.events.service.CloudServiceStopEvent event)  
      boolean shouldDisallowPlayer​(java.lang.String playerAddress)  
      • Methods inherited from class java.lang.Object

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

      • proxyIpAddress

        public final com.google.common.collect.Multimap<java.util.UUID,​java.lang.String> proxyIpAddress
    • Constructor Detail

      • OnlyProxyProtection

        public OnlyProxyProtection​(boolean serverOnlineMode)
    • Method Detail

      • shouldDisallowPlayer

        public boolean shouldDisallowPlayer​(java.lang.String playerAddress)
      • handleServiceStart

        public void handleServiceStart​(de.dytanic.cloudnet.driver.event.events.service.CloudServiceStartEvent event)
      • handleServiceStop

        public void handleServiceStop​(de.dytanic.cloudnet.driver.event.events.service.CloudServiceStopEvent event)
      • getProxyIpAddress

        public com.google.common.collect.Multimap<java.util.UUID,​java.lang.String> getProxyIpAddress()