πŸ“¦Installation

Installation Guide

This guide walks you through installing and configuring gunchi-tebex on your server.


1. Download & Install the Resource

Download and Extract

  1. Download the gunchi-tebex resource.

  2. Extract the folder into your server’s resources directory:

resources/gunchi-tebex/

2. Database Setup

The script requires several database tables to function correctly.

Required SQL Tables

Run all of the following SQL files included with the resource:

  1. Main Purchases Table Run tebexpurchases.sql

    • Stores all Tebex purchases

  2. Failed Purchases Table Run tebexfailed.sql

    • Tracks purchases that fail to process automatically

  3. Door Lock Owners Table Run doorlockowners.sql

    • Manages doorlock and MLO ownership


All configuration is handled in config.lua


4. Add Doorlocks Export

Add the following export to the bottom of your config.lua file in the doorlocks resource:


5. Server Configuration

Ensure the script in your server.cfg or resources.cfg


6. Troubleshooting

Common Issues

Database Errors

  • Ensure all SQL files were executed

Purchases Not Processing

  • Check Tebex packages are setup correctly

  • Review server console logs

Collection NPCs Not Working

  • Verify coordinates

  • Ensure Config.CollectionEnabled = true

Permission Errors

  • Confirm permission roles match your configured roles in utils

Last updated