Installation Guide
Step 1: SQL Modifications
You must execute the SQL code to set up the necessary database tables.
Instructions
Open your database management tool (e.g., phpMyAdmin or HeidiSQL).
Select Your Database.
Run the following SQL query in your database to create the required table:
Step 2: Update Player Metadata
Step 3: Banker Job Integration
If you want to integrate the banker job, set Config.ApproveSystem
to true
. Add the following job definition to qb-core/shared/jobs
:
Step 4: Configure the Script
Adjust the settings in the Moon Loans
config file to match your server’s economy and loan requirements.
Step 5: Commands
/getcreditscore [id]: Retrieve a player's credit score.
/setcreditscore [id] [amount]: Set a player's credit score.
/addcreditscore [id] [amount]: Add to a player's credit score.
/reducecreditscore [id] [amount]: Reduce a player's credit score.
Moon Loans is designed to provide a realistic and immersive loan system for your server. Customize the loan settings to fit your economy and enhance your players' roleplaying experience with credit management, loan applications, and banker jobs.
Last updated