Skip to content

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Hexa Development

HEXA TXADMIN RECIPE

One-click deployment recipe for a Hexa Framework server

A txAdmin recipe that provisions a RedM server already wired up with hexa_core and the rest of the Hexa stack.


DocumentationRedMtxAdminRecipe


Deployment · Recipe · Hexa Core · txAdmin


Quick start

In txAdmin, create a new server, choose Remote URL deployment, and paste:

https://raw.githubusercontent.com/hexa-development/txAdmin/main/hexacore.yaml

txAdmin asks for the database credentials, runs the recipe, and you end up with a RedM server that boots straight into the Hexa Framework.


About

txAdmin can build a server from a recipe — a YAML file listing the resources to download, the database to create, and the config to write. This repository holds the recipe for a Hexa Framework RedM server.

txAdmin deployer
│
▼
┌───────────────────┐
│ hexacore.yaml │ ← this repository
└─────────┬─────────┘
│
▼
hexa_core + hexa_progbar + hexa_inventory
oxmysql · cfx-server-data · server.cfg

What the recipe installs

ResourceWhere it landsStarted
cfx-server-dataresources/[cfx-default]mapmanager, spawnmanager only
oxmysqlresources/[standalone]
hexa_coreresources/[hexa]
hexa_progbarresources/[hexa]
hexa_inventoryresources/[hexa]
hexa-bridgersg-core, vorp_coreresources/[hexa-bridge]❌ opt in

The bridges are installed but left commented out in server.cfg. Enable one only if you are migrating existing RSG or VORP scripts, and never alongside the real core of the same name.

Database

There is no SQL file to import. hexa_core creates and migrates its own tables from install.sql on every boot, so the recipe only runs connect_database to provision the database and write the connection string.


Deployment defaults

The recipe rewrites two values in hexa_core/config/main.lua. Both shipped defaults suit a developer machine rather than a fresh server:

SettingShippedRecipe setsWhy
Config.IdentifierType'steam''license'steam refuses every player who did not launch the game through Steam. Every RedM player has a license identifier.
Config.MultiCharactertruefalsetrue disables auto-login and waits for hexa_multicharacter to spawn the player. That resource is not part of this recipe, so the player would never spawn.

Change either back in resources/[hexa]/hexa_core/config/main.lua once you have a character selection resource in place.


Files

FilePurpose
hexacore.yamlThe txAdmin recipe
server.cfgConfig template the recipe moves into the server root
myLogo.pngServer icon, 96×96 as RedM requires, loaded by load_server_icon

server.cfg is a normal file, so you can read it before deploying and edit it after. The recipe fills in {{serverEndpoints}}, {{dbConnectionString}}, {{svLicense}}, {{maxClients}} and {{serverName}} as the last step.


After deploying

  1. Grant yourself admin — copy your license identifier from txAdmin → Players, then uncomment the two add_principal lines at the bottom of server.cfg.
  2. Set the localesetr locale and setr hexa_inventory:locale both accept en or th.
  3. Read the docs — everything the framework exposes is documented below.

Installing by hand instead

The recipe is a convenience, not a requirement. To install the stack manually — or to understand what the recipe is doing — follow the installation guide:


Hexa Ecosystem

This repository is the deployment entry point for the Hexa Framework stack. Each part is its own repository.

ProjectDescription
hexa_coreCore framework — players, jobs, items, economy, status, callbacks, permissions
hexa_inventoryPersistent grid inventory — stashes, shops, ground drops, secure trading
hexa_progbarScreen-fixed progress bar — drop-in for ox_libprogressBar
hexa-bridgeCompatibility layer for supported RSG and VORP resources
hexa-docsOfficial documentation and API reference (VitePress)
rdr2-unpackRead a local RDR2 install into open formats — GLB, PNG, .ymap JSON
txAdminOne-click txAdmin recipe that deploys the whole Hexa stack
(this repository)

Full API reference and installation guides live in hexa-docshexa-development.github.io/hexa-docs


From empty box to running server.

Built for Hexa Framework


Documentation · เอกสารภาษาไทย · hexa_core · hexa_inventory · hexa_progbar · hexa-bridge · Organization

About

txAdmin recipe for deploying a Hexa Framework RedM server — hexa_core, hexa_inventory, hexa_progbar and oxmysql in one deployment

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors