Installation Guide
This guide will walk you through installing Hexis, from setting up the Fabric mod loader to running your first script.
Requirements
- Minecraft Java Edition (1.21.11)
- Java 21 or newer
- A Hexis License - Purchase at usehexis.com
Step 1: Install Fabric Loader
Hexis is a Fabric mod. You'll need to install the Fabric mod loader first.
Option A: Using the Fabric Installer (Recommended)
- Download the Fabric Installer from fabricmc.net/use/installer
- Run the installer (double-click the JAR file)
- Select Client and choose Minecraft version 1.21.11
- Click Install
- The installer will create a new profile in your Minecraft launcher
Option B: Using a Launcher (Prism, MultiMC, etc.)
If you use a third-party launcher like Prism Launcher:
- Create a new instance
- Select Minecraft 1.21.11
- In the mod loader section, select Fabric and install
- The launcher will handle the rest
Step 2: Install Fabric API
Most Fabric mods require the Fabric API library.
- Go to Modrinth or CurseForge
- Download Fabric API for Minecraft 1.21.11
- Place the JAR file in your
modsfolder:- Windows:
%appdata%\.minecraft\mods - macOS:
~/Library/Application Support/minecraft/mods - Linux:
~/.minecraft/mods
- Windows:
Step 3: Install Hexis
- Download the latest Hexis JAR from your dashboard
- Place the Hexis JAR in your
modsfolder (same location as Fabric API) - Your mods folder should now contain:
mods/
├── fabric-api-x.x.x+1.21.11.jar
└── hexis-x.x.x.jar
Step 4: Launch and Authenticate
- Launch Minecraft with the Fabric profile
- On first launch, Hexis will prompt for your license key
- Enter your license key (found in your dashboard)
- Hexis will validate your license and activate
Step 5: Open the Hexis Menu
Once in-game:
- Press H to open the Hexis menu
- Browse available scripts or create your own
- Configure settings as needed
Keybinds
You can change the menu keybind in the Hexis settings.
Folder Structure
After installation, Hexis creates a configuration folder:
.minecraft/config/hexis/
├── scripts/ # Your Lua scripts go here
│ └── lib/ # Shared libraries for scripts
├── routes/ # Route files (.hxr)
├── settings.json # Hexis configuration
└── license.key # Your license information
Creating Your First Script
- Navigate to
.minecraft/config/hexis/scripts/ - Create a new file called
my_script.lua - Add the following code:
hexis.script({
name = "My First Script",
description = "Hello World!",
author = "YourName",
version = "1.0.0"
})
function hexis.main()
hexis.log.info("Hello, Hexis!")
while hexis.running() do
hexis.log.info("Script is running...")
hexis.wait(5) -- Wait 5 seconds
end
hexis.log.info("Script stopped!")
end
- In-game, press H to open the menu
- Your script should appear in the list - click to run it!
Troubleshooting
"Mod requires Fabric API"
Make sure you have Fabric API installed in your mods folder.
"License invalid"
- Check that your license key is correct
- Ensure you have an active subscription
- Try restarting Minecraft
"Script not appearing"
- Verify the file extension is
.lua - Check for syntax errors - the file must be valid Lua
- Ensure the script calls
hexis.script()with metadata
Game crashes on startup
- Make sure you're using Java 21 or newer
- Verify Minecraft version is 1.21.11
- Remove other mods to check for conflicts
Next Steps
- Script Lifecycle - Learn about script structure and configuration
- Core API - Essential functions for all scripts
- Quick Reference - Common patterns at a glance
- Best Practices - Write better scripts