vCity
Online Browser Game Platform
vCity is an online browser game platform that is developed with the latest web technologies. vCity is multifunctional 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.
vCity is an online browser game platform that is developed with the latest web technologies. vCity is multifunctional 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.
vCity 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 vCity 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 vehicles, properties, items, homes, garages, hangars, quays, 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, gold, experience and other bonuses with which to upgrade their character.
vCity is text-based RPG (MMORPG) online web browser game php script.
- Characters
After sign up the player can select a character to start the game with. Every character has specific skills.
- Vehicles
Big variety of Vehicles in different Categories. They can be used in the Street Races.
- Properties
Players can buy properties and then receive income periodically from them.
- Pets
Pets make the home more beautiful and add different skills to the character.
- Shop
Players can buy different Items and every item improves the character and helps him in the Fight Arena.
- Work
Players can go to Work and select the preferred Job to earn money from it.
- Gym
Players can go to Gym and train their character to improve his skills.
- School
Players can go to School and improve their character's 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.
- Street Races
Players can race against other players to earn additional money, gold and respect.
- Fight Arena
Players can fight against other player to earn addition money, gold and respect.
- Leaderboard
The ranking of all players in the game.
- Resources
Players can purchase additional Money, Gold, VIP Status and other bonuses with real money to improve their presence in the game.
- Home, Garage, Hangar and Quay Upgrades
Homes, Garages, Hangars and Quays can be upgraded to fit more pets, vehicles, planes and boats in them.
- (PM) Message System
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 and buying different things.
- Comments Section
Every player has comments section that can be used by other player to write on his wall.
- Themes
The game can be redesigned in different themes. Many themes are added by default.
- PayPal Integration
The game is integrated with PayPal, so the game owner can receive real money from the game.
- AJAX Player Statistics
Each player's Stats are refreshed in background mode automatically without refresh of the whole page.
- Facebook Login
The players can easily register or login via their Facebook profile.
- Custom Pages
This module gives you the abillity to add Custom Pages by your taste.
- Powerful Admin Panel
The most modules and settings of the game can be modified from the Admin Panel.
- Easily Customizable Source Code
The script is written in PHP Procedural style and everything can be customized in no time.
- Secure
The script is integrated with special security functions borrowed from Project SECURITY to protect the whole game and its players.
- 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.
- 99% Responsive
Looks good on almost all devices and screen resolutions.
- Easy to setup
The script is very easy to install and every step is described in the Documentation.
- Easy for use
The game is developed to be simple and is very easy to understand & use.
and many more...
- Upload the files from the "Source" folder of the script on your host
- Create a MySQL database (Your hosting provider can assist)
- Open and configure the "config.php" file as you fill the empty database variables
- Import the database file (SQL/Database SQL.sql) via PHPMyAdmin into the database (Your hosting provider can assist)
- Add ReCaptcha v2 keys on the Settings page of the Admin Panel
The default login details are: admin & admin [Username & Password]
(Click on selected image to view it in full size)
Note: If you are updating the script and your currently installed version is 2.2.x just replace all files except config.php.
Open the config.php file and replace $connect with $mysqli.
Run the following SQL queries via PHPMyAdmin:
ALTER TABLE `settings` ADD `default_themeid` int(11) NOT NULL DEFAULT 1;
v2.5 update queries:
ALTER TABLE `settings` ADD `fight_race_win_money` int(11) NOT NULL DEFAULT 500;
ALTER TABLE `settings` ADD `fight_race_win_gold` int(11) NOT NULL DEFAULT 2;
ALTER TABLE `settings` ADD `fight_race_lose_money` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_power` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_agility` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_endurance` int(11) NOT NULL DEFAULT 250;
ALTER TABLE `settings` ADD `max_intelligence` int(11) NOT NULL DEFAULT 250;
v2.6 update queries:
ALTER TABLE `players` ADD `daily_bonus` VARCHAR(255) NULL DEFAULT NULL;
ALTER TABLE `settings` ADD `dailybonus_money` INT(11) NOT NULL DEFAULT '500' AFTER `max_intelligence`, ADD `dailybonus_gold` INT(11) NOT NULL DEFAULT '1' AFTER `dailybonus_money`;
v2.7 update queries:
ALTER TABLE `settings` ADD `system_email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'vcity@mail.com' AFTER `paypal_email`;
DELETE FROM themes WHERE name = 'Darkly';
The Site Key and Secret Key can be generated on this page:
https://www.google.com/recaptcha/admin/create
Choose reCAPTCHA v2 -> “I’m not a robot” Checkbox. Then fill the other details and submit the form.
Finally the needed Keys can be found on this page:
Put the generated keys in the related fields on the Game Settings page of the Admin Panel.
You will need the following:
Follow the below steps to create a Facebook App and generate App ID & App Secret.
- Go to the Facebook for Developers page and login with your Facebook account.
- At the right corner of the top navigation bar, click the My Apps link and select Add New App.
- Enter the Display Name and Contact Email.
- Click the Create App ID button.
- The new App will be created and redirected to the Facebook App Dashboard.
- Navigate to the Settings » Basic page.
- In App Domains field, specify the domain name of your website (Example:
yourwebsite.com
).
- In Privacy Policy URL field, specify the privacy policy web page URL for login dialog (Example:
https://www.yourwebsite.com/privacy-policy/
)
- Select the Category of your App.
- Click the Save Changes button.
- At the left navigation menu panel, click the PRODUCTS(+) link and navigate to the Add a Product page.
- Select Facebook Login product and click the Set Up.
- Select Web as the App platform.
- Enter the Site URL (Example:
https://www.yourwebsite.com
).
- Click the Save button.
- Navigate to the Facebook Login » Settings page.
- Go to the Client OAuth Settings section. In the Valid OAuth Redirect URIs field, specify the Redirect URL of your OAuth application (Example:
https://www.yourwebsite.com/index.php
).
- Click the Save Changes.
- Change App Status:
- By default, the App will be In Development mode. To change the App status in Live, click the toggle switch at the top header.
- On click the Status On/OFF switch, a confirmation dialog will appear. Confirm to make your app public.
Navigate to the Settings » Basic page, copy the App ID and App Secret. This App ID and App secret are required to access the Facebook APIs.
Note: The URL specified in Valid OAuth Redirect URIs must be matched with the Redirect URL specified in the script.
Finally copy the generated App ID and App Secret codes (keys), open the config.php file and fill the rows 9, 10 & 11 with the generated app keys and redirect URL.