AzHCode
Online Browser Game platform

AzHCode is an online browser game platform that is developed with the latest web technologies.
AzHCode is game script that will help you to create your own online browser game to your liking, because it has many options and settings by which to modify and create your desired browser game.
AzHCode Statistics
AzHCode Owners
Free Modules
Paid Modules & Themes
V2.5.7
Version
Description
AzHCode is an online browser game platform that is developed with the latest web technologies. AzHCode is game script that will help you to create your own online browser game to your liking, because it has many options and settings by which to modify and create your desired browser game.
AzHCode can be easily customized to fit your needs and will help you to create the most respected virtual life game in the world.
Also one of the important features of AzHCode is that you can earn real money through the integrated paid services in the game – just invest as purchasing it here and create your own game from which you can make real money.
In the game players receive a free home and character to be able to start their virtual life in the game. Players can buy cars, properties, items, homes, pets and many other things to improve their respect. Players have the opportunity to go to work, school, gym, hospital and other places in the game to earn extra money, diamonds, experience and other bonuses with which to upgrade their character.
AzHCode is text-based RPG (MMORPG) online web browser game php script.
Features
-
Characters:
After sign up the player can select a character to start the game with.
-
Cars:
Steal cars or buy from the docks.
-
Properties:
Players can buy properties and then receive income periodically from them.
-
Houses:
Players can buy houses to increase their happiness.
-
Shops:
Players can buy different Items and every item improves the character, also players can own their own shops for selling their items and diamonds.
-
Jobs:
Players can go to Work and select the preferred Job to earn money from it.
-
Gym:
Players can go to Gym and train to improve their skills.
-
Education:
Players can go to courses to improve their intelligence.
-
Bank:
Players can protect their money in the local Bank.
-
Hospital:
When player has low health it can go to the Hospital to restore its health.
-
Hall OF Fame:
The ranking of all players in the game.
-
Diamonds Shop:
Players can purchase additional Money, Gold, VIP Status and other bonuses with real money to improve their presence in the game.
-
Mail:
Players can send private messages to other player and to communicate via this system.
-
Chat System:
AJAX Live Chat System that can help all players to communicate via it.
-
Levels:
Players can level up as doing different activities, traveling and buying different things.
-
Powerful Admin Panel:
The most modules and settings of the game can be modified from the Admin Panel.
-
Themes:
The game can be redesigned in different themes. Many themes are added by default.
-
Modules:
The game can be improved by adding different modules and addons.
-
Secure:
The script is integrated with special security functions borrowed from Project SECURITY to protect the whole game and its players.
-
Easily Customizable Source Code:
The script is written in PHP Procedural style and everything can be customized in no time.
-
Dashboard + Stats System:
On the Dashboard you can check the Stats of your game.
-
Very Optimized:
The script is very lightweight and the source code & the graphics are very optimized.
-
Responsive:
Looks good on almost all devices and screen resolutions.
-
Easy for use:
The game is developed to be simple and is very easy to understand & use.
And much more you can explore...
Hooks
AzHCode supports Several types of hooks you can find more information about these below.
bannedPage Change the module that is displayed when the user is banned
new Hook("bannedPage", function () { return "yourBanned"; });
jailPage Change the module that is displayed when the user is in jail
new Hook("jailPage", function () { return "jail"; });
moduleLoad Change the loaded module dynamicly
new Hook("moduleLoad", function ($moduleToLoad) { /* If the user goes to the home module this will load the loggedin module */ if ($moduleToLoad == "home") return "loggedin"; /* always return the $moduleToLoad if you do not need to change the module */ return $moduleToLoad; });
Menu Hooks The following hooks are available to add items to the menu
-
Main Menu
new hook("mainMenu", function () { return array( "url" => "?page=loggedin", "icon" => "ant-design:home-outlined" "text" => "Home", "sort" => 10, ); });
-
Mobile Side Menu
new hook("mobileSideMenu", function () { return array( "url" => "?page=loggedin", "icon" => "ant-design:home-outlined" "text" => "Home", "sort" => 10, ); });
-
Navbar Menu
new hook("navbarMenu", function () { return array( "url" => "?page=loggedin", "icon" => "ant-design:home-outlined" "text" => "Home", "sort" => 10, ); });
-
City Menus (You can choose between westSide, northSide, redlight, residential, cityCenter, financial, eastSide)
new hook("westSide", function () { return array( "url" => "?page=loggedin", "icon" => "ant-design:home-outlined" "text" => "Home", "sort" => 10, ); });
-
Login Menu
new hook("loginMenu", function () { return array( "url" => "?page=login", "icon" => "ant-design:signin" "text" => "login", "sort" => 10, ); });
-
Custom Menus
new hook("customMenus", function ($user) { return array( "title" => "Chat", "items" => array( array( "url" => "?page=discord", "icon" => "arcticons:discord" "text" => "Discord" ), array( "url" => "?page=irc", "icon" => "ant-design:code-sandbox-circle-filled" "text" => "IRC" ) ), "sort" => 1000 ); });
-
alterGlobalTemplate This allows you to alter global templates
new Hook("alterGlobalTemplate", function ($template) { $template->error = "ERROR: <{text}>"; });
-
customSmiley This allows you to add custom smileys
new Hook("customSmiley", function () { return array( "code" => "-_-", "img" => "path/to/image.png" ); });
-
alterModuleTemplate This allows you to edit any module template and the contents of its data
new Hook("alterModuleTemplate", function ($template) { if ($template["templateName"] == 'jailUsers') { $template["items"]["hello"] = "World"; $template["html"] = "{hello}" . $template["html"]; } return $template; });
newUser Called when a user signs up
new Hook("newUser", function ($userID) { $user = new User($userID); $user->newNotification("Welcome to the game!"); });
userInformation This is run as user items are bound to the template
new Hook("userInformation", function ($user) { global $page; $page->addToTemplate("will", $user->info->US_will); });
rankUp The user has just ranked up
new Hook("rankUp", function ($info) { debug($info["user"]); // User ID debug($info["rank"]); // Rank ID });
userTimerUpdated A timer has just been updated for this user
new Hook("userTimerUpdated", function ($info) { debug($info["timer"]); // The timer that was updated debug($info["time"]); // The new time debug($info["user"]); // The user ID });
joinGang The user has just joined a gang
new Hook("joinGang", function ($user) { $user->newNotification("You just joined a gang"); });
gangPermission This hook returns a list of user permissions that gang leaders can give to their members
new hook("gangPermission", function ($user) { return array( "name" => "Simple Title", "description" => "A description of what the user can do", "key" => "uniqueKey" ); }); $g = new Gang($this->user->US_gang); if ($g->can("uniqueKey")) { echo 'do something'; }
profileLink This lets you add a link to users profiles
new hook("profileLink", function ($profile) { global $user; return array( "url" => "?page=attack&victim=" . $profile->info->US_id, "icon" => "ps:sreenshot", "text" => "Attack", ); });
userLink This lets you add a link to users links
new hook("userLink", function ($profile) { global $user; return array( "url" => "?page=attack&victim=" . $profile->info->US_id, "icon" => "ps:sreenshot", "text" => "Attack", ); });
profileStat This lets you add a statistic to the users profile
new hook("profileStat", function ($profile) { global $user; if ($user->id == $profile->info->U_id) { return array( "stat" => $profile->info->US_money, "text" => "Money" ); } });
userTags This lets you add a tag to the users profile and information
new hook("userTags", function ($user) { return array( "text" => "Under protection", "icon" => "carbon:manage-protection", "class" => "text-danger", "sort" => 90 ); });
informationUser This lets you add a info to user information section
new hook("informationUser", function ($user) { return array( "text" => "Protection", "timer" => $signupProtection, "sort" => 150 ); });
Requirements
- PHP 5.6.X or higher
- MySQL 5.5 or higher
Installation
- Extract files to your webserver
- Create a new database and a user
- Navigate to AzHCode on your server in a web browser i.e. http://yourdomain.com/azhcode
- Follow instructions
Manualy Install
- Extract files to your webserver
- Create a new database and a user
- Import install/schema.sql and install/data.sql to your MySQL Database
- Open up inc/dbconn.php and alter the connection string with your MySQL username, password and database name
- The game should now be made with some sample data
- Register a new user account
- Open up phpMyAdmin and go to the users table and edit the U_userLevel from 1 to 2
Paid Modules
You can always buy new modules and add to your game.
Name | Type | Price | Options |
---|---|---|---|
Missions | Module | 25$ | Buy |
Awards | Module | 25$ | Buy |
Gift | Module | Buy | |
Kidnapping | Module | 10$ | Buy |
Bosses | Module | 20$ | Buy |
Actions Shortuct | Module | Buy | |
Festivals | Module | 20$ | Buy |
Pet's Arena | Module | 15$ | Buy |
Fight Club | Module | 15$ | Buy |
Spy | Module | Buy | |
Fortune Wheel | Module | 25$ | Buy |
Burn House | Module | 15$ | Buy |
Halloween | Module | Buy | |
Credit Card Payments | Module | 30$ | Buy |
Vote | Module | 15$ | Buy |
Christmas Event | Module | 30$ | Buy |
Crafting System | Module | 30$ | Buy |
Racing System | Module | 30$ | Buy |
Rent Market | Module | 25$ | Buy |
Game Content | Content | 40$ | Buy |
AzHCobraz | Theme | 40$ | Buy |
AzHCyber | Theme | 70$ | Buy |
Demo
For testing AzHCode, please follow the link:
- Email: admin@admin.com
- Password: admin