Loader Endpoints
The RedstoneGuard loader is a multi-stage process designed to secure the script and verify the user’s eligibility (key, HWID, bans).Initialization
The entry point for all scripts. This is the URL used in theloadstring.
GET /loader/[scriptId]/init
Fetches the protected script loader.
Response:
Returns a Lua script that initializes the secure environment.
Usage:
The Loader
After the client navigates strictly through the loader stages, the final request is made to execute the script.GET /loader/[scriptId]/execute
Validates the user’s session and returns the final script.
Checks Performed:
- Key Validation: Checks if the key exists, matches the script, and is not expired.
- Global Bans: Checks for bans on HWID, IP, or Roblox User ID.
- Country Block: Checks if the user’s IP is in a blocked country.
- HWID Binding: Binds the key to the hardware/account on first use.
- Success (200): Returns the wrapped Lua script (with MOTD, notifications, and analytics).
- Error (200): Returns Lua code that prints an error or kicks the player (e.g.,
kick("Invalid Key")).
Analytics & Webhooks
Upon successful execution, the server:- Logs the execution to the database (
execution_logs). - Sends a detailed embed to the configured Discord Webhook (if enabled).
- User Profile & ID
- Executor Name
- Game Information
- Hardware ID (partial)
- Key Used