Skip to main content

Coinsystem V2

Installation Instructions​

For a detailed guide on how to install and set up the Coinsystem, please refer to the Installation Guide.


Configuration​

This script requires configuration to run properly. Please follow these steps:

  1. Configure the Script Online: Go to Coinsystem Configuration to configure the script as needed.

  2. Download the Configuration: After completing the setup online, download the configuration file from the website.

  3. Place the Configuration in Config Folder: Save the downloaded configuration file (config.lua) in the config folder.

Once the configuration file is in place, you should be able to run the script successfully.


Discord Webhooks​

The Coinsystem supports sending notifications to your Discord server using webhooks. You can set your webhooks in config/webhooks.lua

Webhooks are available for the following purposes:

  1. give_coins: Triggered when coins are awarded to a user.
  2. gen_code: Activated when a code is generated.
  3. save_code: Used when a claimable payment id was saved.
  4. cheat_detection: Alerts when cheating behavior is detected.
  5. purchases: Triggered when a purchase is made.
  6. redeem: Used when a code is redeemed.

Troubleshooting​

Vehicle Garage Issues​

If vehicles aren't appearing in your garage, try modifying the garage configuration in the sky_base config.

If the pre-configured garages are incompatible with your server, feel free to modify the code in sky_base/config/garage/ to suit your setup. If you need additional help, you can always open a ticket on our Discord for support.

Inventory System Issues​

If you're encountering issues with receiving items in your inventory system, adjustments may be required in the sky_base framework configuration. You can modify the item-handling function here: sky_base/config/framework. Specifically, look for the Sky.FW.AddItem function to make the necessary changes.


Cheater Detection and Security Measures​

The Coinsystem includes robust security measures to ensure fair play and prevent exploitation:

  1. Case Openings: All case opening logic is handled 100% server-side to make them exploit-proof.
  2. Security Measures: Three different layers of security are in place to detect and prevent cheating.
  3. Automatic Banning: The system detects when players attempt to exploit events or manipulate the frontend.

If you want to automatically ban players caught cheating, you can configure this here: sky_base/config/sv_functions.lua. Look for the Functions.HandleCheating function to customize your server’s response to cheaters.


If you experience any other issues or have further questions, please don't hesitate to reach out to our support team on Discord. We're here to help!