Installation -
Garry's Mod Addon

Install and configure the Nexus Donate addon for Garry's Mod servers

Overview

The Nexus Donate Garry's Mod addon allows your server to communicate with your donation store and execute actions when players make purchases.

1. Extracting the addon

  1. Download the latest Nexus Donate Garry's Mod addon
  2. Extract the addon files to your server's addons/ directory
  3. The addon should be placed in garrysmod/addons/nexus_donate/
  4. Ensure the folder structure is correct

2. Configuring the addon

Edit the configuration file located at

Code
addons/nexus_donate/lua/autorun/server/nexus_donate_config.lua
:

Code
-- Nexus Donate Configuration
NEXUS_DONATE = NEXUS_DONATE or {}

-- Your Nexus Donate API Key
NEXUS_DONATE.API_KEY = "your_api_key_here"

-- Your Nexus Donate Store URL
NEXUS_DONATE.STORE_URL = "https://yourstore.com"

-- Check interval in seconds (how often to check for new donations)
NEXUS_DONATE.CHECK_INTERVAL = 30

-- Enable debug mode (set to false in production)
NEXUS_DONATE.DEBUG = false

Configuration Options

  • API_KEY: Your Nexus Donate API key from the web panel
  • STORE_URL: The URL of your Nexus Donate store
  • CHECK_INTERVAL: How often the addon checks for new donations (in seconds)
  • DEBUG: Enable debug messages in console

3. Upload to your server

  1. Upload the entire nexus_donate folder to your server's addons/ directory
  2. Ensure all files are uploaded with proper permissions
  3. Restart your Garry's Mod server
  4. Check the server console for any error messages

Verification

To verify the installation is working:

  1. Check the server console for "Nexus Donate loaded successfully" message
  2. Look for any error messages related to the addon
  3. Test the connection by making a test donation
  4. Check that the addon appears in your server's addon list

Troubleshooting

Common issues and solutions:

  • Addon not loading: Check file permissions and folder structure
  • API connection failed: Verify your API key and store URL
  • No donations detected: Check the check interval and server connectivity
  • Actions not executing: Verify the action configuration in your web panel
Note: Make sure your server has internet access to communicate with the Nexus Donate API.