Interface SPCPreServerPackZipListener

  • All Implemented Interfaces:

    
    public interface SPCPreServerPackZipListener
    
                        

    Pre ZIP-archive listener executed before a server pack ZIP-archive is created. Whether a ZIP-archive for a server pack is actually generated has no effect on whether this listener gets fired.

    Author:

    Griefed

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit run(PackConfig packConfig, Path serverPackPath) Called once every file is in serverPackPath and before the archive is written, so anything added here still lands inside the ZIP.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • run

         abstract Unit run(PackConfig packConfig, Path serverPackPath)

        Called once every file is in serverPackPath and before the archive is written, so anything added here still lands inside the ZIP. Fires whether or not an archive is actually configured.