Class RPCImageServer

java.lang.Object
com.hypherionmc.simplerpc.util.rpcavatar.RPCImageServer

public final class RPCImageServer extends Object
  • Field Details

  • Method Details

    • processImages

      public void processImages()
      Scan images folder for images, and check if they need to be uploaded to the image server
    • getHash

      public String getHash(String fileName)
      Get the image has of a local file, to be used with the RPC Image Server API
      Parameters:
      fileName - The name of the file to retrieve the hash for
      Returns:
      The image has, or the original file name if the hash is missing