StakeGame Documentation

The Ultimate Online Gaming Platform

Launch your own cutting-edge gaming platform with StakeGame, a next-generation script designed for modern casino and crypto gaming entrepreneurs. Packed with four high-engagement games — Rocket Crash, Roulette, Andar Bahar, and Baccarat — this platform delivers thrilling, real-time experiences that keep players coming back.

Key Features

4 Popular Casino Games

Includes Rocket Crash, Roulette, Andar Bahar, and Baccarat — each designed for fast-paced, immersive gameplay.

Real-Time Live Gaming

Powered by WebSocket technology, players enjoy smooth, real-time interactions with zero delays.

30+ Payment Gateways

Flexible integration with over 30 global payment methods, including crypto and fiat, for seamless deposits and withdrawals.

Modern & Responsive UI

Built with a clean, modern interface that works flawlessly on desktop and mobile devices for the best user experience.

Server Requirements

To run StakeGame - The Ultimate Online Gaming Platform smoothly, ensure that your server meets the following minimum requirements:

Server Configuration
  • Web Server: Apache or Nginix
  • Node: Node.js v20.18+
  • PHP Version: PHP 8.3 or higher
  • Database: MySQL 8.0+ or MariaDB 10.6+
  • Memory Limit: Minimum 512MB (Recommended: 1GB or higher)
  • Disk Space: At least 1GB free storage (More required based on product uploads)
PHP and Server Extension
  • BCMath PHP Extension
  • Ctype PHP Extension
  • cURL PHP Extension
  • DOM PHP Extension
  • Fileinfo PHP Extension
  • GD PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PCRE PHP Extension
  • PDO PHP Extension
  • pdo_mysql PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Filter PHP Extension
  • Hash PHP Extension
  • Session PHP Extension
  • Zip PHP Extension
  • allow_url_fopen()
  • file_get_contents()
Other Requirements
  • Cron Jobs: Required for scheduled tasks
  • SSL Certificate: Required for secure transactions (HTTPS)
  • Max Upload Size: Adjust server settings to allow large file uploads (Recommended: 50MB or more)

Installation

Installation is very easy with our Easy Installer. You can install yourself simply in few steps without any coding knowledge. We develop our installation system to make the installation process flawless and easy.

Installation Steps
  • Upload the whole file to the server you have downloaded from download after purchase.
  • Extract/Unzip the file and move all files in the Files folder to the main folder(where you want to install it). Make sure you have moved the index.php and .htaccess as well.
  • Now please browse http://your-site-url/install/index.php and follow the process. Your system should be ready to use.

Installation Preview

Follow these steps to install StakeGame – The Ultimate Online Gaming Platform on your server

img

Activation

After installing the system you need to activate it. When you visit the system, you will be able to see the activation page. Just provide this information to activate and run your system. Your provided information will send to ViserLab server to verify and we never collect any sensitive or confidential data.

  • Purchase Code To get purchase code Click Here.
  • Viserlab Account Username: Your Viserlab account username with which you bought system.
  • Email: Provide your email for further communication.

Activation Preview

img

WebSocket Setup Installation

Setting up WebSocket is essential for enabling live gaming features. Without WebSocket, real-time game updates and interactions will not work. Follow these steps to install and activate WebSocket on your server using cPanel.

Step 1: Node application setup
  • Go to “Setup Node.js App” in cPanel. This feature is typically found under the Software section. Use this to create your Node.js WebSocket application.
  • Then, click “Create Application.” This will start the process of setting up your Node.js WebSocket server.

Preview

Setup Node.js App
Step 2: Application Form
  • Select the recommended Node.js version. Choose the most stable version from the list (e.g., Node.js 18 or above).
  • Set application mode to “Production.” This ensures optimal performance and disables development-specific settings.
  • Define your application root directory. This is the folder where your WebSocket server files are stored, separate from your main application (e.g., stake_game_ws).
  • Enter the same path in “Application URL.” Match this to your root folder to map the application correctly (e.g., stake_game_ws).
  • Specify the startup file. Enter server.js in the “Application startup file” field. This must be server.js for the WebSocket server to work correctly.
  • Click the “Create” button. After completing all fields, click Create to initialize your WebSocket Node.js application.

Preview

Application form
Step 3: Upload File
  • Upload the websocket.zip file to the created application folder. Use the cPanel File Manager or FTP to upload the websocket.zip archive into your Node.js application's root directory (e.g., stake_game_ws).
  • Unzip the websocket.zip file in the application folder. Extract all files so that server.js and other required files are present directly inside the application folder.

Preview

File
Step 4: Edit configuration.js
  • Edit the configuration.js file in the application folder. Open configuration.js (located in your Node.js application's root directory) using the cPanel File Manager or an editor.
  • Update the following fields in configuration.js:
    • apiUrl: Set this to your application/domain URL.
      (e.g.,apiUrl: "https://demo.stakegame.io")
    • domainName: Set this to your domain name.
      (e.g.,domainName: "demo.stakegame.io")
    • applicationPath: Set this to your web application root path.
      (e.g.,applicationPath: "stake_game_ws")
  • Save the configuration.js file after making the changes.

Preview

File
Step 5: Install Node
  • Run npm install from your Node.js application directory. This command will install all required dependencies listed in package.json. You can do this using the cPanel Terminal or SSH.
  • After successful installation, you will see a success message. This indicates that all Node.js modules have been installed and your WebSocket server is ready to start.

Preview

File
Step 6: Add Web Socket Url
  • Add your WebSocket URL in the general settings. Without adding the correct WebSocket URL, the game will not work.
    • The WebSocket URL format is: wss://your-domain-name/application-root
    • wss:// indicates a secure WebSocket connection.
    • your-domain-name should be replaced with your actual domain (e.g., demo.stakegame.io).
    • application-root is the root folder of your WebSocket application (e.g., stake_game_ws).
    • Example: wss://demo.stakegame.io/stake_game_ws
    Make sure to save the settings after adding the WebSocket URL.

Preview

File
Step 7: Setup Completed
  • Now check your games. After successfully setting up the socket, you will see your games live and running perfectly.

Preview

File

General Setting

The General Settings page allows administrators to configure essential site-wide settings for the StakeGame – The Ultimate Online Gaming Platform. Below are the available options.

Site Title
  • The Site Title is the name of your marketplace.
  • It appears in the browser tab, emails, and various parts of the platform.
  • Example: StakeGame - The Ultimate Online Gaming Platform
Currency
  • Set the default currency for transactions.
  • Example: USD, EUR, GBP, INR
Currency Symbol
  • Define the symbol associated with the selected currency.
  • Example: $ for USD, € for EUR, ₹ for INR
Timezone
  • Set the default timezone for the system.
  • This affects timestamps, order records, and user activities.
  • Example: America/New_York, Asia/Dhaka
Coin Name
  • Name of your coin, which will be used for play game.
  • Example: CHIPS
Coin Rate
  • Site currency to coin rate
  • Example: 1 USD = 100 CHIPS
Minimum Deposit of Coin
  • Set the minimum coin amount users can deposit.
  • Example: 500 CHIPS
Maximum Deposit of Coin
  • Set the maximum coin amount users can deposit.
  • Example: 50000 CHIPS
Minimum Withdrawals of Coin
  • Set the minimum coin amount users can withdrawal.
  • Example: 500 CHIPS
Maximum Withdrawal of Coin
  • Set the maximum coin amount users can withdrawal.
  • Example: 50000 CHIPS
Registration Bonus
  • A bonus that will transfer to user's account after the successful registration.
  • Example: 500 CHIPS
Websocket URL
  • The websocket URL that you've deployed previously.
  • The socket URL will connect the system to the socket.
  • This will make all games live and functional.
  • Example: wss://yourdomain.com/game_ws
Base Color
  • Choose the primary color for the website’s theme.
  • This color is applied to buttons, links, and other UI elements.
Records to Display Per Page
  • Set the number of records displayed per page in lists such as products, orders, and users.
  • Example: 20, 50, 100
Currency Showing Format
  • Define how the currency should be displayed across the site.
  • Example formats:
    • $100.00 (Show Currency Symbol Only)
    • 100.00 USD (Show Currency Text Only )
    • $100.00 USD (Show Currency Text and Symbol Both )

Preview

img

Logo & Favicon

The Logo & Favicon settings allow you to upload branding elements for your StakeGame – The Ultimate Online Gaming Platform. These assets help create a professional and recognizable identity for your platform.

Logo
  • Recommended Format: PNG with a transparent background
Favicon
  • The favicon is the small icon displayed in the browser tab.
  • Recommended Size: 32x32px or 48x48px

Preview

img

System Configuration

The System Configuration page allows administrators to manage essential settings for the backend functionality of StakeGame – The Ultimate Online Gaming Platform. These settings control various aspects of the system, such as Email Verification, Referral Commission, Push Notification etc.

img

KYC Setting

StakeGame includes KYC (Know Your Customer) verification to ensure secure transactions and compliance with platform policies. This feature helps verify user identities before they can perform certain actions like withdrawals, selling products, or accessing restricted features.

KYC Verification Process
  • Submit Required Documents
  • Admin Review & Approval
  • Access Granted
img

Social Login Setting

StakeGame allows users to log in and interact using their social media accounts. The Social Settings section enables you to configure authentication and integration for popular platforms like Google, Facebook, and LinkedIn.

Google Login
  • Enable users to sign in using their Google account.
  • Requires Google Client ID and Client Secret from the Google Developer Console.
Facebook Login
  • Allow users to log in via Facebook for a seamless experience.
  • Requires Facebook App ID and App Secret from the Facebook Developer Portal.
LinkedIn Login
  • Users can log in using their LinkedIn credentials.
  • Requires LinkedIn Client ID and Client Secret from the LinkedIn Developer Portal.
img

Notification Setting

StakeGame provides a flexible Notification Settings system to manage how users receive updates and alerts. You can configure different types of notifications based on your platform’s needs.

Global Template
  • A predefined structure for all notifications.
  • Ensures consistency across emails, SMS, and push notifications.
  • Can be customized with dynamic placeholders for user-specific details.
img
Email Setting
  • Configure email notifications for user activities, purchases, updates, and promotions.
  • Requires SMTP setup or third-party email services (e.g., Mailjet, SendGrid).
  • Allows enabling/disabling email notifications for specific events.
img
SMS Setting
  • Send important notifications via SMS for order updates or alerts.
  • Requires integration with an SMS gateway (e.g., Twilio, Nexmo, Clickatell, Infobip, Message Bird, SMS Broadcast, Text Magic, Custom API).
  • Enable/disable SMS notifications based on preference.
img
Push Notification Setting
  • Enable real-time notifications for user actions and system updates.
  • Requires integration with push notification services (e.g., Firebase).
  • Helps keep users engaged with instant alerts.
img
Notification Templates
  • Predefined templates for emails, SMS, and push notifications.
  • Can be customized to match branding and user preferences.
  • Supports placeholders for dynamic content (e.g., {user_name}, {order_id}).
img

Payment Gateways

StakeGame supports two types of payment gateways to process transactions securely: Automatic Payment Gateways and Manual Payment Gateways.

Automatic Payment Gateway
  • Payments are processed instantly through third-party payment providers.
  • Requires API integration with supported payment services.
  • Transactions are completed automatically without manual verification.
  • Example: Aamarpay, Authorize.net, BTCPay, Binance, Blockchain, Cashmaal, Checkout, Coinbase Commerce, Coingate, CoinPayments, CoinPayments Fiat, Flutterwave, Instamojo, Mercado Pago, Mollie, NMI, Now payments checkout, Now payments hosted, Payeer, Paypal, Paypal Express, PayStack, PayTM, Perfect Money, RazorPay, Skrill, SslCommerz, Stripe Hosted, Stripe Storefront, Stripe Checkout, 2Checkout
img
Manual Payment Gateways
  • Payments are processed manually after verification.
  • Users submit payment details (e.g., bank transfer, offline payments).
  • Admin must verify and approve the transaction before confirming the order.
  • Example: Bank Transfer, Cash Payment, Cryptocurrency Transfer.
img

How to Setup Payment Gateways

The main problem of online business is accepting the payments. And we tried our level best to solve this problem. We have added 30+ Automated online payments gateways! YES, 30+ gateways. You can control all of them from the admin panel and you do not need any coding knowledge for that. Additionally, you can set manual gateways as well.

How to setup automatic gateway
  • Step 1: Enable a gateway that you want
  • Step 2: Click the edit button and go to the edit page of this gateway.
  • Step 3: Provide required credentials.
  • Step 4: Select a currency and click add new option. This select box is shown at the top of the page
  • Step 5: Provide currency title minimum and maximum deposit range, fixed and percentage charge, and rate to your site currency.
  • Step 6: Click the submit button and your gateway is ready to receive payments if everything is ok.
img
How to setup manual gateway
  • Step 1: Click the "Add New" button. Now you'll be able to see a form to setup this gateway
  • Step 2: Provide basic required information.
  • Step 3: Provide instruction to users. This instruction will show to users. This instruction is referrers that how to send the money.
  • Step 4: Set some user data that you want. This is the proof of payment. After sending the payment you've to confirm that. So that you need payment proof. That's why you need to set up this section.
img

Withdrawal Methods

StakeGame provides multiple withdrawal methods for sellers to securely withdraw their earnings. Users can choose a preferred method based on availability and convenience.

Withdrawal Process
  • Step 1: Choose a preferred withdrawal method.
  • Step 2: Enter the required details.
  • Step 3: Submit a withdrawal request.
  • Step 4: The admin reviews and processes the request (if manual approval is required).
How to setup withdraw method
  • Step 1: Click the "Add New" button. Now you'll be able to see a form to setup this method
  • Step 2: Provide basic required information.
  • Step 3: Provide instruction to users. This instruction will show to users. This instruction is referrers that how to make request for withdrawal.
  • Step 4: Set some user data that you want. This is the proof of payment. After submitting the request you've to confirm that. So that you need a proof. That's why you need to set up this section.
img

SEO Configuration

SEO now becomes a very important part of any website, and that is why we have added a simple but powerful SEO manager tool in the admin panel. Now you can set your SEO keywords, meta tag, and OG image from your admin panel without paying anyone. SEO setting is just one-click away.

  • SEO Image: This image will show when you'll share the site link anywhere.
  • Meta Keywords: Put here some keywords related to your site. This will help to rank your site to search engines.
  • Meta Description: This description will show in search engines. Also, related descriptions will help to rank your website in search engines.
  • Social Title: This description will show below the title when sharing the link to social media.
img

Language

Nowadays, many website owners want to localize their websites. They want to set many languages so users can choose and see the website in their mother language. But they can not set as many other software providers don't give that option Built-in and they charge a high amount of money to set that, In our product, you need not to pay any single penny for that. we include a unique language manager where you can easily set any language within a very short time.

img

Extension

It is a unique feature for you. We have added all the important and required plugins in our admin panel. You will have full control over these plugins and you can configure them as you want.

  • Google Recaptcha 2: Google Recaptcha 2 is used for protect robotic request to your system. To get google recaptcha 2 credentials Click Here
  • Tawk.to: Tawk.to is third party live chat platform. You can enable this extension by providing api key from tawk.to
  • Custom Captcha: This extension also protect robotic attack to your system. This is not third party extension. This is internal extension of our system
  • Google Analytics: This extension is used to track your visitors. Overview of your web page and visitors are tracked by google analytics. To get credentials of google analytics, Click Here
  • Facebook Comment: Facebook comment is used to manage blog's comments of our system. If you enable this, a facebook comment box will be shown in blog page. To get credentials of facebook comment, Click Here
img

Support

If you have any questions about this script, I'd be happy to help you. I'll try to help as best I can. If you have any questions, please don't hesitate to contact us in the Help Center.