Installing Your Game

This will take about 10 minutes total. We've made it as simple as humanly possible - just follow the pictures and copy what you see.

Don't have web hosting yet? Read our Getting Web Hosting Guide first. We recommend Hostinger ($2.99/month) - it's beginner-friendly and everything works perfectly.

Two Ways to Install

⚙️ Manual Setup

Create the database yourself in cPanel. Takes a bit longer but gives you more control.

  • ✅ More control over settings
  • ✅ No need to share cPanel password
  • ⏱️ Takes 10 minutes
Use Manual Setup

Method 1: Automatic Setup (Easiest)

What you need: Your cPanel login (username and password)

Step 1: Upload Your Files

  1. Log into cPanel

    Go to your cPanel URL (something like yourdomain.com/cpanel)

  2. Open File Manager

    Click the "File Manager" icon.

  3. Go to public_html folder

    Click public_html on the left sidebar.

  4. Upload the ZIP

    Click "Upload" → Choose nxcodes-engine.zip → Wait for it to finish

  5. Extract it

    Right-click the ZIP file → "Extract" → "Extract File(s)"

  6. Delete the ZIP

    Right-click nxcodes-engine.zip → "Delete"

Step 2: Run the Automatic Installer

  1. Open the installer

    Go to: https://yourgame.com/install

  2. Choose "Automatic Setup"

    On the first screen, click the big "Automatic Setup" button.

  3. Enter your cPanel credentials

    cPanel Username:

    cPanel Password:

    🔒 Is this safe? Yes! We only use these credentials once to create your database, then we forget them. They're never stored.

    Click "Let's Go!"

  4. Watch the magic happen

    The installer will automatically:

    • Create your database
    • Create a database user
    • Set all permissions
    • Test the connection

    ⏱️ This takes about 30 seconds. You'll see a progress bar.

  5. Set up your game

    Now just fill in the easy stuff:

    Game Name: What's your game called?

    Your Email: For admin notifications

    Admin Username: Your login name

    Admin Password: Choose a strong password

    License Key: From your purchase email

  6. Pick your template

    Choose a starting world or start blank.

  7. Done!

    Your game is live! Click "Go to Admin Panel" to start building.

✅ That's it! Skip down to "What's Next" below.

Method 2: Manual Setup

This method: You create the database yourself in cPanel. Takes a few extra steps but some people prefer it.

Step 1: Upload Your Files

(Same as automatic method above - upload ZIP, extract, delete ZIP)

Step 2: Create Your Database

Pay close attention! We're going to create a database and write down EXACTLY what you need for the installer. Get a notepad ready.
  1. Open MySQL Databases in cPanel

    From cPanel home, click "MySQL Databases"

    📸 Look for this icon: [MySQL Databases]
  2. Create New Database

    Under "Create New Database", type: mygame

    Click "Create Database"

    ✏️ WRITE THIS DOWN - Part 1:

    You'll see a success message that says something like:

    "Added the database username_mygame"

    Copy this ENTIRE name (including the username_ part): username_mygame

    Database Name: _________________
  3. Create Database User

    Scroll down to "MySQL Users"

    Username: Type gameuser

    Password: Click "Generate Password" button

    ✏️ WRITE THIS DOWN - Part 2:

    A popup shows your generated password. Copy it!

    Database User: username_gameuser
    Database Password: _________________

    💡 You'll see the full username in the success message (like username_gameuser). Write down the WHOLE thing.

    Click "Create User"

  4. Connect User to Database

    Scroll down to "Add User To Database"

    In the first dropdown: Select your user (username_gameuser)

    In the second dropdown: Select your database (username_mygame)

    Click "Add"

  5. Set Permissions

    On the next page, check "ALL PRIVILEGES" at the top

    Click "Make Changes"

✅ Database created! Make sure you have these three things written down:
  1. Database Name (example: john_mygame)
  2. Database User (example: john_gameuser)
  3. Database Password (the long random one)

Step 3: Run the Manual Installer

  1. Open the installer

    Go to: https://yourgame.com/install

  2. Choose "Manual Setup"

    Click the "Manual Setup" button

  3. Enter your database info

    This is where you use what you wrote down:

    ✅ Leave this as "localhost" - it's correct 99% of the time

    📋 Copy EXACTLY what you wrote down (include the username_ part!)

    📋 Copy EXACTLY what you wrote down (include the username_ part!)

    📋 That long random password you copied

    Click "Test Connection"

    ✅ If it says "Success!", click "Next"

    ❌ If it fails, double-check you typed everything EXACTLY as shown in cPanel (including any username_ prefixes)

  4. Game Configuration

    Fill in your game details (name, admin account, license key)

  5. Choose Template

    Pick a starting world

  6. Install!

    Click "Install My Game" and wait for it to complete


What's Next?

🚨 Security Step: Delete the /install folder right now!

Go back to cPanel File Manager → Find the "install" folder → Right-click → Delete. This prevents anyone else from accessing the installer.

  1. Visit your admin panel

    Go to: https://yourgame.com/admin

  2. Log in with your admin credentials

    Use the username and password you created during installation

  3. You're in!

    Welcome to your game's command center. Let's start building.

Ready to Build?

📍 Create Your First Location

Add "Town Square" or wherever players start

Learn How →

🧍 Add Your First NPC

Create a shopkeeper or quest giver

Learn How →

🎨 Upload Your Logo

Make it look like YOUR game

Learn How →

📦 Install Modules

Add combat, quests, guilds, etc.

Learn How →

Common Problems & Solutions

❌ "Can't connect to database"

Cause: Database info is wrong

Fix:

  • Did you include the username_ prefix? (like john_mygame not just mygame)
  • Did you copy the password correctly? Try generating a new simple one.
  • Did you add the user to the database with full privileges?

❌ "Automatic setup failed"

Cause: Your hosting might not support cPanel API

Fix: Use Manual Setup instead - it always works!

❌ "Server requirements not met"

Cause: Your server needs PHP 8.1+

Fix: Contact your hosting support. Say: "Please enable PHP 8.1 or higher for my account." They'll do it in minutes.

❌ "Invalid license key"

Cause: License key not typed correctly

Fix:

  • Copy the ENTIRE key from your email (including dashes)
  • Make sure there are no spaces before or after
  • If still failing, email us at support@nxcodes.com

❌ "Blank white page"

Cause: Usually file permissions

Fix:

  1. In File Manager, select all folders
  2. Click "Permissions" at the top
  3. Set folders to 755
  4. Set files to 644
  5. Check "Recurse into subdirectories"
  6. Click "Change Permissions"

Still Stuck? We're Here to Help!

💬 Community Forums

Ask questions, get help from other game makers

Visit Forums →

💭 Discord Chat

Real-time help from the community

Join Discord →

📧 Email Support

Direct help from our team

support@nxcodes.com

🎥 Video Tutorials

Watch the full installation process

Watch Videos →

🎉 You Did It!

You just installed your own browser game. That's legitimately impressive.

Most people never get past the "thinking about it" phase. You actually built something.

Now go make it awesome.

Start Building Your World →
Start typing to search...