Skip to main content

Getting Started

There are a few things you need to understand before jumping into the development kit:

🎨 This kit is designed to help you integrate and customize mCasino, not add on to it

🛠 The API may change and be auto updated, see here on how to prevent breaking changes affecting your users

📦 We provide you ways of using our components, however, we cannot share all code

🙍‍♂️ This kit provides mainly clientside code

Installation​

  1. Copy the folder mcasino_devkit from your mcasino/developer folder into your addons folder

  2. Restart your server

Basics​

The kit provides you with a simplified version of mCasino, containing all games, deposit and withdrawing panels.

Using the kit​

You can open the dev kit version of mCasino by typing mcasino_devkit in your client console. This may look like the regular version of mCasino, however, it is fully customizable by you.

File structure​

Inside the lua/mcasino_devkit folder you will find two folders:

  • core/ - Contains the code to launch an mCasino instance on the client
  • panels/ - Contains all the panels required to build a working version of mCasino

Files inside these folders are prefixed with sv_, sh_, cl_ which relate to what realm the code lives on (server, shared or clientside).

Before you start​

Before you dive into adding mCasino into your server, we recommend you go through all the kit files and read the comments to understand how things work, as well as the Architecture page