Skip to main content

Updates

mCasino uses mLib, which is an auto-updater, allowing your server to receive OTA updates without having to redownloading the entire addon. However, now that you will be hooking into the casino, you will need to make sure your code stays up to date with our changes. We will try our best not to break anything, but you should always keep an eye out on our releases.

Preventing breaking changes​

Since mCasino directly affects your server's economy, we have to make sure that any changes we make do not have any negative impacts on it. This is why we disable new games by default, and encourage the use of a development server before pushing it to live players. Since we have been in control of the whole software development loop, we have ensured that there have been no exploits or economy breaking bugs since we released.

To prevent your code from causing issues because of a change on our side, we have implemented API versioning. There are two ways to use this.

Built-in System​

In the mCasino settings, you can enable disable API breaking games, which automatically disables the game if we have pushed a breaking API change. This gives you the chance to recheck your code and test everything still works before enabling it again.

Custom solution​

If you'd rather handle updates yourself, you can use the mCasino.api.versioning API to custom code a solution that works for you.