Skip to content

Concepts

How protection works

Without the technical detail: how your script is protected.

  • When a developer uploads, server code is encrypted with a key unique to that script. The download has no plain-text server code.
  • The decryption key is never in any file. Each boot is verified with the server's key and receives a short-lived key, valid only for that session and sent encrypted to that server only.
  • Code is decrypted in memory only and never written to disk. Modified packages won't run.
  • Client files players receive (MafiaHub) are sent by the game, so they can't be encrypted; their JavaScript is obfuscated instead. Hytale plugins run entirely on the server.
  • Every downloaded package carries an invisible mark linked to the account, so a leaked copy can be traced back.
  • A key runs on one server at a time. When access is revoked, the script stops at its next check; the server itself keeps running.

Limits

No protection for code running on someone else's machine is 100%. This model stops unlicensed use and makes reaching the source impractical; a determined person with full control of the server may still extract code from memory. When abuse is detected, access can be revoked instantly.