diff --git a/[SQL]/addons.sql b/[SQL]/addons.sql new file mode 100644 index 00000000..03b6c651 --- /dev/null +++ b/[SQL]/addons.sql @@ -0,0 +1,945 @@ +-- Dumping structure for table es_extended.accounts +CREATE TABLE IF NOT EXISTS `accounts` ( + `name` varchar(255) NOT NULL, + `owner` varchar(64) DEFAULT NULL, + `money` int(11) NOT NULL DEFAULT 0, + PRIMARY KEY (`name`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.accounts: ~0 rows (approximately) +/*!40000 ALTER TABLE `accounts` DISABLE KEYS */; +/*!40000 ALTER TABLE `accounts` ENABLE KEYS */; + +-- Dumping structure for table es_extended.addon_account +CREATE TABLE IF NOT EXISTS `addon_account` ( + `name` varchar(60) NOT NULL, + `label` varchar(100) NOT NULL, + `shared` int(11) NOT NULL, + PRIMARY KEY (`name`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.addon_account: ~10 rows (approximately) +/*!40000 ALTER TABLE `addon_account` DISABLE KEYS */; +INSERT INTO `addon_account` (`name`, `label`, `shared`) VALUES + ('bank_savings', 'Bank Savings', 0), + ('caution', 'caution', 0), + ('property_black_money', 'Dirty Money Property', 0), + ('society_ambulance', 'EMS', 1), + ('society_banker', 'Banker', 1), + ('society_cardealer', 'Cardealer', 1), + ('society_mechanic', 'Mechanic', 1), + ('society_police', 'Police', 1), + ('society_realestateagent', 'Real Estate Company', 1), + ('society_taxi', 'Taxi', 1); +/*!40000 ALTER TABLE `addon_account` ENABLE KEYS */; + +-- Dumping structure for table es_extended.addon_account_data +CREATE TABLE IF NOT EXISTS `addon_account_data` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `account_name` varchar(100) DEFAULT NULL, + `money` int(11) NOT NULL, + `owner` varchar(60) DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `index_addon_account_data_account_name_owner` (`account_name`,`owner`), + KEY `index_addon_account_data_account_name` (`account_name`) +) ENGINE=InnoDB AUTO_INCREMENT=11; + +-- Dumping data for table es_extended.addon_account_data: ~10 rows (approximately) +/*!40000 ALTER TABLE `addon_account_data` DISABLE KEYS */; +INSERT INTO `addon_account_data` (`id`, `account_name`, `money`, `owner`) VALUES + (1, 'society_cardealer', 0, NULL), + (2, 'society_police', 0, NULL), + (3, 'society_ambulance', 0, NULL), + (4, 'society_mechanic', 0, NULL), + (5, 'society_taxi', 0, NULL), + (6, 'society_realestateagent', 0, NULL), + (7, 'society_banker', 0, NULL); +/*!40000 ALTER TABLE `addon_account_data` ENABLE KEYS */; + +-- Dumping structure for table es_extended.addon_inventory +CREATE TABLE IF NOT EXISTS `addon_inventory` ( + `name` varchar(60) NOT NULL, + `label` varchar(100) NOT NULL, + `shared` int(11) NOT NULL, + PRIMARY KEY (`name`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.addon_inventory: ~7 rows (approximately) +/*!40000 ALTER TABLE `addon_inventory` DISABLE KEYS */; +INSERT INTO `addon_inventory` (`name`, `label`, `shared`) VALUES + ('property', 'Property', 0), + ('society_ambulance', 'EMS', 1), + ('society_cardealer', 'Cardealer', 1), + ('society_mechanic', 'Mechanic', 1), + ('society_police', 'Police', 1), + ('society_realestateagent', 'Real Estate Company', 1), + ('society_taxi', 'Taxi', 1); +/*!40000 ALTER TABLE `addon_inventory` ENABLE KEYS */; + +-- Dumping structure for table es_extended.addon_inventory_items +CREATE TABLE IF NOT EXISTS `addon_inventory_items` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `inventory_name` varchar(100) NOT NULL, + `name` varchar(100) NOT NULL, + `count` int(11) NOT NULL, + `owner` varchar(60) DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `index_addon_inventory_items_inventory_name_name` (`inventory_name`,`name`), + KEY `index_addon_inventory_items_inventory_name_name_owner` (`inventory_name`,`name`,`owner`), + KEY `index_addon_inventory_inventory_name` (`inventory_name`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.addon_inventory_items: ~0 rows (approximately) +/*!40000 ALTER TABLE `addon_inventory_items` DISABLE KEYS */; +/*!40000 ALTER TABLE `addon_inventory_items` ENABLE KEYS */; + +-- Dumping structure for table es_extended.billing +CREATE TABLE IF NOT EXISTS `billing` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `identifier` varchar(60) NOT NULL, + `sender` varchar(60) NOT NULL, + `target_type` varchar(50) NOT NULL, + `target` varchar(60) NOT NULL, + `label` varchar(255) NOT NULL, + `amount` int(11) NOT NULL, + PRIMARY KEY (`id`), + KEY `identifier` (`identifier`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.billing: ~0 rows (approximately) +/*!40000 ALTER TABLE `billing` DISABLE KEYS */; +/*!40000 ALTER TABLE `billing` ENABLE KEYS */; + +-- Dumping structure for table es_extended.cardealer_vehicles +CREATE TABLE IF NOT EXISTS `cardealer_vehicles` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `vehicle` varchar(255) NOT NULL, + `price` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.cardealer_vehicles: ~0 rows (approximately) +/*!40000 ALTER TABLE `cardealer_vehicles` DISABLE KEYS */; +/*!40000 ALTER TABLE `cardealer_vehicles` ENABLE KEYS */; + +-- Dumping structure for table es_extended.datastore +CREATE TABLE IF NOT EXISTS `datastore` ( + `name` varchar(60) NOT NULL, + `label` varchar(100) NOT NULL, + `shared` int(11) NOT NULL, + PRIMARY KEY (`name`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.datastore: ~10 rows (approximately) +/*!40000 ALTER TABLE `datastore` DISABLE KEYS */; +INSERT INTO `datastore` (`name`, `label`, `shared`) VALUES + ('property', 'Property', 0), + ('society_ambulance', 'EMS', 1), + ('society_mechanic', 'Mechanic', 1), + ('society_police', 'Police', 1), + ('society_realestateagent', 'Taxi', 1), + ('society_taxi', 'Real Estate Company', 1), + ('user_ears', 'Ears', 0), + ('user_glasses', 'Glasses', 0), + ('user_helmet', 'Helmet', 0), + ('user_mask', 'Mask', 0); +/*!40000 ALTER TABLE `datastore` ENABLE KEYS */; + +-- Dumping structure for table es_extended.datastores +CREATE TABLE IF NOT EXISTS `datastores` ( + `name` varchar(255) NOT NULL, + `owner` varchar(64) DEFAULT NULL, + `data` longtext DEFAULT NULL, + PRIMARY KEY (`name`), + KEY `owner` (`owner`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.datastores: ~0 rows (approximately) +/*!40000 ALTER TABLE `datastores` DISABLE KEYS */; +/*!40000 ALTER TABLE `datastores` ENABLE KEYS */; + +-- Dumping structure for table es_extended.datastore_data +CREATE TABLE IF NOT EXISTS `datastore_data` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(60) NOT NULL, + `owner` varchar(60) DEFAULT NULL, + `data` longtext DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `index_datastore_data_name_owner` (`name`,`owner`), + KEY `index_datastore_data_name` (`name`) +) ENGINE=InnoDB AUTO_INCREMENT=11; + +-- Dumping data for table es_extended.datastore_data: ~10 rows (approximately) +/*!40000 ALTER TABLE `datastore_data` DISABLE KEYS */; +INSERT INTO `datastore_data` (`id`, `name`, `owner`, `data`) VALUES + (1, 'society_police', NULL, '{}'), + (2, 'society_ambulance', NULL, '{}'), + (3, 'society_mechanic', NULL, '{}'), + (4, 'society_taxi', NULL, '{}'), + (5, 'society_realestateagent', NULL, '{}'); +/*!40000 ALTER TABLE `datastore_data` ENABLE KEYS */; + +-- Dumping structure for table es_extended.fine_types +CREATE TABLE IF NOT EXISTS `fine_types` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `label` varchar(255) DEFAULT NULL, + `amount` int(11) DEFAULT NULL, + `category` int(11) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=105; + +-- Dumping data for table es_extended.fine_types: ~52 rows (approximately) +/*!40000 ALTER TABLE `fine_types` DISABLE KEYS */; +INSERT INTO `fine_types` (`id`, `label`, `amount`, `category`) VALUES + (53, 'Misuse of a horn', 30, 0), + (54, 'Illegally Crossing a continuous Line', 40, 0), + (55, 'Driving on the wrong side of the road', 250, 0), + (56, 'Illegal U-Turn', 250, 0), + (57, 'Illegally Driving Off-road', 170, 0), + (58, 'Refusing a Lawful Command', 30, 0), + (59, 'Illegally Stopping a Vehicle', 150, 0), + (60, 'Illegal Parking', 70, 0), + (61, 'Failing to Yield to the right', 70, 0), + (62, 'Failure to comply with Vehicle Information', 90, 0), + (63, 'Failing to stop at a Stop Sign ', 105, 0), + (64, 'Failing to stop at a Red Light', 130, 0), + (65, 'Illegal Passing', 100, 0), + (66, 'Driving an illegal Vehicle', 100, 0), + (67, 'Driving without a License', 1500, 0), + (68, 'Hit and Run', 800, 0), + (69, 'Exceeding Speeds Over < 5 mph', 90, 0), + (70, 'Exceeding Speeds Over 5-15 mph', 120, 0), + (71, 'Exceeding Speeds Over 15-30 mph', 180, 0), + (72, 'Exceeding Speeds Over > 30 mph', 300, 0), + (73, 'Impeding traffic flow', 110, 1), + (74, 'Public Intoxication', 90, 1), + (75, 'Disorderly conduct', 90, 1), + (76, 'Obstruction of Justice', 130, 1), + (77, 'Insults towards Civilans', 75, 1), + (78, 'Disrespecting of an LEO', 110, 1), + (79, 'Verbal Threat towards a Civilan', 90, 1), + (80, 'Verbal Threat towards an LEO', 150, 1), + (81, 'Providing False Information', 250, 1), + (82, 'Attempt of Corruption', 1500, 1), + (83, 'Brandishing a weapon in city Limits', 120, 2), + (84, 'Brandishing a Lethal Weapon in city Limits', 300, 2), + (85, 'No Firearms License', 600, 2), + (86, 'Possession of an Illegal Weapon', 700, 2), + (87, 'Possession of Burglary Tools', 300, 2), + (88, 'Grand Theft Auto', 1800, 2), + (89, 'Intent to Sell/Distrube of an illegal Substance', 1500, 2), + (90, 'Frabrication of an Illegal Substance', 1500, 2), + (91, 'Possession of an Illegal Substance ', 650, 2), + (92, 'Kidnapping of a Civilan', 1500, 2), + (93, 'Kidnapping of an LEO', 2000, 2), + (94, 'Robbery', 650, 2), + (95, 'Armed Robbery of a Store', 650, 2), + (96, 'Armed Robbery of a Bank', 1500, 2), + (97, 'Assault on a Civilian', 2000, 3), + (98, 'Assault of an LEO', 2500, 3), + (99, 'Attempt of Murder of a Civilian', 3000, 3), + (100, 'Attempt of Murder of an LEO', 5000, 3), + (101, 'Murder of a Civilian', 10000, 3), + (102, 'Murder of an LEO', 30000, 3), + (103, 'Involuntary manslaughter', 1800, 3), + (104, 'Fraud', 2000, 2); +/*!40000 ALTER TABLE `fine_types` ENABLE KEYS */; + +-- Dumping structure for table es_extended.inventories +CREATE TABLE IF NOT EXISTS `inventories` ( + `name` varchar(255) NOT NULL, + `owner` varchar(64) DEFAULT NULL, + `items` longtext DEFAULT NULL, + PRIMARY KEY (`name`), + KEY `owner` (`owner`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.inventories: ~0 rows (approximately) +/*!40000 ALTER TABLE `inventories` DISABLE KEYS */; +/*!40000 ALTER TABLE `inventories` ENABLE KEYS */; + +-- Dumping data for table es_extended.items: ~33 rows (approximately) +/*!40000 ALTER TABLE `items` DISABLE KEYS */; +INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES + ('alive_chicken', 'Living chicken', 1, 0, 1), + ('bandage', 'Bandage', 2, 0, 1), + ('beer', 'Beer', 1, 0, 0), + ('blowpipe', 'Blowtorch', 2, 0, 1), + ('bread', 'Bread', 1, 0, 1), + ('cannabis', 'Cannabis', 3, 0, 1), + ('carokit', 'Body Kit', 3, 0, 1), + ('carotool', 'Tools', 2, 0, 1), + ('clothe', 'Cloth', 1, 0, 1), + ('copper', 'Copper', 1, 0, 1), + ('cutted_wood', 'Cut wood', 1, 0, 1), + ('diamond', 'Diamond', 1, 0, 1), + ('essence', 'Gas', 1, 0, 1), + ('fabric', 'Fabric', 1, 0, 1), + ('fish', 'Fish', 1, 0, 1), + ('fixkit', 'Repair Kit', 3, 0, 1), + ('fixtool', 'Repair Tools', 2, 0, 1), + ('gazbottle', 'Gas Bottle', 2, 0, 1), + ('gold', 'Gold', 1, 0, 1), + ('iron', 'Iron', 1, 0, 1), + ('marijuana', 'Marijuana', 2, 0, 1), + ('medikit', 'Medikit', 2, 0, 1), + ('packaged_chicken', 'Chicken fillet', 1, 0, 1), + ('packaged_plank', 'Packaged wood', 1, 0, 1), + ('petrol', 'Oil', 1, 0, 1), + ('petrol_raffin', 'Processed oil', 1, 0, 1), + ('phone', 'Phone', 1, 0, 1), + ('slaughtered_chicken', 'Slaughtered chicken', 1, 0, 1), + ('stone', 'Stone', 1, 0, 1), + ('washed_stone', 'Washed stone', 1, 0, 1), + ('water', 'Water', 1, 0, 1), + ('wood', 'Wood', 1, 0, 1), + ('wool', 'Wool', 1, 0, 1); +/*!40000 ALTER TABLE `items` ENABLE KEYS */; + + +-- Dumping data for table es_extended.jobs: ~15 rows (approximately) +/*!40000 ALTER TABLE `jobs` DISABLE KEYS */; +INSERT INTO `jobs` (`name`, `label`, `whitelisted`) VALUES + ('ambulance', 'EMS', 0), + ('banker', 'Banker', 0), + ('cardealer', 'Cardealer', 0), + ('fisherman', 'Fisherman', 0), + ('fueler', 'Fueler', 0), + ('lumberjack', 'Lumberjack', 0), + ('mechanic', 'Mechanic', 0), + ('miner', 'Miner', 0), + ('police', 'LSPD', 0), + ('realestateagent', 'Real Estate Agent', 0), + ('reporter', 'Reporter', 0), + ('slaughterer', 'Butcher', 0), + ('tailor', 'Tailor', 0), + ('taxi', 'Taxi', 0), +/*!40000 ALTER TABLE `jobs` ENABLE KEYS */; + +-- Dumping structure for table es_extended.job_grades + +-- Dumping data for table es_extended.job_grades: ~40 rows (approximately) +/*!40000 ALTER TABLE `job_grades` DISABLE KEYS */; +INSERT INTO `job_grades` (`id`, `job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES + (2, 'ambulance', 0, 'ambulance', 'Paramedic', 20, '{"tshirt_2":0,"hair_color_1":5,"glasses_2":3,"shoes":9,"torso_2":3,"hair_color_2":0,"pants_1":24,"glasses_1":4,"hair_1":2,"sex":0,"decals_2":0,"tshirt_1":15,"helmet_1":8,"helmet_2":0,"arms":92,"face":19,"decals_1":60,"torso_1":13,"hair_2":0,"skin":34,"pants_2":5}', '{"tshirt_2":3,"decals_2":0,"glasses":0,"hair_1":2,"torso_1":73,"shoes":1,"hair_color_2":0,"glasses_1":19,"skin":13,"face":6,"pants_2":5,"tshirt_1":75,"pants_1":37,"helmet_1":57,"torso_2":0,"arms":14,"sex":1,"glasses_2":0,"decals_1":0,"hair_2":0,"helmet_2":0,"hair_color_1":0}'), + (3, 'ambulance', 1, 'doctor', 'Doctor', 40, '{"tshirt_2":0,"hair_color_1":5,"glasses_2":3,"shoes":9,"torso_2":3,"hair_color_2":0,"pants_1":24,"glasses_1":4,"hair_1":2,"sex":0,"decals_2":0,"tshirt_1":15,"helmet_1":8,"helmet_2":0,"arms":92,"face":19,"decals_1":60,"torso_1":13,"hair_2":0,"skin":34,"pants_2":5}', '{"tshirt_2":3,"decals_2":0,"glasses":0,"hair_1":2,"torso_1":73,"shoes":1,"hair_color_2":0,"glasses_1":19,"skin":13,"face":6,"pants_2":5,"tshirt_1":75,"pants_1":37,"helmet_1":57,"torso_2":0,"arms":14,"sex":1,"glasses_2":0,"decals_1":0,"hair_2":0,"helmet_2":0,"hair_color_1":0}'), + (4, 'ambulance', 2, 'chief_doctor', 'Chief doctor', 60, '{"tshirt_2":0,"hair_color_1":5,"glasses_2":3,"shoes":9,"torso_2":3,"hair_color_2":0,"pants_1":24,"glasses_1":4,"hair_1":2,"sex":0,"decals_2":0,"tshirt_1":15,"helmet_1":8,"helmet_2":0,"arms":92,"face":19,"decals_1":60,"torso_1":13,"hair_2":0,"skin":34,"pants_2":5}', '{"tshirt_2":3,"decals_2":0,"glasses":0,"hair_1":2,"torso_1":73,"shoes":1,"hair_color_2":0,"glasses_1":19,"skin":13,"face":6,"pants_2":5,"tshirt_1":75,"pants_1":37,"helmet_1":57,"torso_2":0,"arms":14,"sex":1,"glasses_2":0,"decals_1":0,"hair_2":0,"helmet_2":0,"hair_color_1":0}'), + (5, 'ambulance', 3, 'boss', 'Surgeon', 80, '{"tshirt_2":0,"hair_color_1":5,"glasses_2":3,"shoes":9,"torso_2":3,"hair_color_2":0,"pants_1":24,"glasses_1":4,"hair_1":2,"sex":0,"decals_2":0,"tshirt_1":15,"helmet_1":8,"helmet_2":0,"arms":92,"face":19,"decals_1":60,"torso_1":13,"hair_2":0,"skin":34,"pants_2":5}', '{"tshirt_2":3,"decals_2":0,"glasses":0,"hair_1":2,"torso_1":73,"shoes":1,"hair_color_2":0,"glasses_1":19,"skin":13,"face":6,"pants_2":5,"tshirt_1":75,"pants_1":37,"helmet_1":57,"torso_2":0,"arms":14,"sex":1,"glasses_2":0,"decals_1":0,"hair_2":0,"helmet_2":0,"hair_color_1":0}'), + (6, 'banker', 0, 'advisor', 'Advisor', 10, '{}', '{}'), + (7, 'banker', 1, 'banker', 'Banker', 20, '{}', '{}'), + (8, 'banker', 2, 'business_banker', 'Investment banker', 30, '{}', '{}'), + (9, 'banker', 3, 'trader', 'Trader', 40, '{}', '{}'), + (10, 'banker', 4, 'boss', 'Boss', 0, '{}', '{}'), + (11, 'lumberjack', 0, 'employee', 'Employee', 0, '{}', '{}'), + (12, 'fisherman', 0, 'employee', 'Employee', 0, '{}', '{}'), + (13, 'fueler', 0, 'employee', 'Employee', 0, '{}', '{}'), + (14, 'reporter', 0, 'employee', 'Employee', 0, '{}', '{}'), + (15, 'tailor', 0, 'employee', 'Employee', 0, '{"mask_1":0,"arms":1,"glasses_1":0,"hair_color_2":4,"makeup_1":0,"face":19,"glasses":0,"mask_2":0,"makeup_3":0,"skin":29,"helmet_2":0,"lipstick_4":0,"sex":0,"torso_1":24,"makeup_2":0,"bags_2":0,"chain_2":0,"ears_1":-1,"bags_1":0,"bproof_1":0,"shoes_2":0,"lipstick_2":0,"chain_1":0,"tshirt_1":0,"eyebrows_3":0,"pants_2":0,"beard_4":0,"torso_2":0,"beard_2":6,"ears_2":0,"hair_2":0,"shoes_1":36,"tshirt_2":0,"beard_3":0,"hair_1":2,"hair_color_1":0,"pants_1":48,"helmet_1":-1,"bproof_2":0,"eyebrows_4":0,"eyebrows_2":0,"decals_1":0,"age_2":0,"beard_1":5,"shoes":10,"lipstick_1":0,"eyebrows_1":0,"glasses_2":0,"makeup_4":0,"decals_2":0,"lipstick_3":0,"age_1":0}', '{"mask_1":0,"arms":5,"glasses_1":5,"hair_color_2":4,"makeup_1":0,"face":19,"glasses":0,"mask_2":0,"makeup_3":0,"skin":29,"helmet_2":0,"lipstick_4":0,"sex":1,"torso_1":52,"makeup_2":0,"bags_2":0,"chain_2":0,"ears_1":-1,"bags_1":0,"bproof_1":0,"shoes_2":1,"lipstick_2":0,"chain_1":0,"tshirt_1":23,"eyebrows_3":0,"pants_2":0,"beard_4":0,"torso_2":0,"beard_2":6,"ears_2":0,"hair_2":0,"shoes_1":42,"tshirt_2":4,"beard_3":0,"hair_1":2,"hair_color_1":0,"pants_1":36,"helmet_1":-1,"bproof_2":0,"eyebrows_4":0,"eyebrows_2":0,"decals_1":0,"age_2":0,"beard_1":5,"shoes":10,"lipstick_1":0,"eyebrows_1":0,"glasses_2":0,"makeup_4":0,"decals_2":0,"lipstick_3":0,"age_1":0}'), + (16, 'miner', 0, 'employee', 'Employee', 0, '{"tshirt_2":1,"ears_1":8,"glasses_1":15,"torso_2":0,"ears_2":2,"glasses_2":3,"shoes_2":1,"pants_1":75,"shoes_1":51,"bags_1":0,"helmet_2":0,"pants_2":7,"torso_1":71,"tshirt_1":59,"arms":2,"bags_2":0,"helmet_1":0}', '{}'), + (17, 'slaughterer', 0, 'employee', 'Employee', 0, '{"age_1":0,"glasses_2":0,"beard_1":5,"decals_2":0,"beard_4":0,"shoes_2":0,"tshirt_2":0,"lipstick_2":0,"hair_2":0,"arms":67,"pants_1":36,"skin":29,"eyebrows_2":0,"shoes":10,"helmet_1":-1,"lipstick_1":0,"helmet_2":0,"hair_color_1":0,"glasses":0,"makeup_4":0,"makeup_1":0,"hair_1":2,"bproof_1":0,"bags_1":0,"mask_1":0,"lipstick_3":0,"chain_1":0,"eyebrows_4":0,"sex":0,"torso_1":56,"beard_2":6,"shoes_1":12,"decals_1":0,"face":19,"lipstick_4":0,"tshirt_1":15,"mask_2":0,"age_2":0,"eyebrows_3":0,"chain_2":0,"glasses_1":0,"ears_1":-1,"bags_2":0,"ears_2":0,"torso_2":0,"bproof_2":0,"makeup_2":0,"eyebrows_1":0,"makeup_3":0,"pants_2":0,"beard_3":0,"hair_color_2":4}', '{"age_1":0,"glasses_2":0,"beard_1":5,"decals_2":0,"beard_4":0,"shoes_2":0,"tshirt_2":0,"lipstick_2":0,"hair_2":0,"arms":72,"pants_1":45,"skin":29,"eyebrows_2":0,"shoes":10,"helmet_1":-1,"lipstick_1":0,"helmet_2":0,"hair_color_1":0,"glasses":0,"makeup_4":0,"makeup_1":0,"hair_1":2,"bproof_1":0,"bags_1":0,"mask_1":0,"lipstick_3":0,"chain_1":0,"eyebrows_4":0,"sex":1,"torso_1":49,"beard_2":6,"shoes_1":24,"decals_1":0,"face":19,"lipstick_4":0,"tshirt_1":9,"mask_2":0,"age_2":0,"eyebrows_3":0,"chain_2":0,"glasses_1":5,"ears_1":-1,"bags_2":0,"ears_2":0,"torso_2":0,"bproof_2":0,"makeup_2":0,"eyebrows_1":0,"makeup_3":0,"pants_2":0,"beard_3":0,"hair_color_2":4}'), + (18, 'mechanic', 0, 'recrue', 'Recruit', 12, '{}', '{}'), + (19, 'mechanic', 1, 'novice', 'beginner', 24, '{}', '{}'), + (20, 'mechanic', 2, 'experimente', 'experienced', 36, '{}', '{}'), + (21, 'mechanic', 3, 'chief', 'Leader', 48, '{}', '{}'), + (22, 'mechanic', 4, 'boss', 'Boss', 0, '{}', '{}'), + (23, 'police', 0, 'recruit', 'Recruit', 20, '{}', '{}'), + (24, 'police', 1, 'officer', 'Officier', 40, '{}', '{}'), + (25, 'police', 2, 'sergeant', 'Sergent', 60, '{}', '{}'), + (26, 'police', 3, 'lieutenant', 'Lieutenant', 85, '{}', '{}'), + (27, 'police', 4, 'boss', 'Commandant', 100, '{}', '{}'), + (28, 'realestateagent', 0, 'location', 'Renting Agent', 10, '{}', '{}'), + (29, 'realestateagent', 1, 'vendeur', 'Agent', 25, '{}', '{}'), + (30, 'realestateagent', 2, 'gestion', 'Management', 40, '{}', '{}'), + (31, 'realestateagent', 3, 'boss', 'Broker', 0, '{}', '{}'), + (32, 'taxi', 0, 'recrue', 'Recruit', 12, '{"hair_2":0,"hair_color_2":0,"torso_1":32,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":31,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":0,"age_2":0,"glasses_2":0,"ears_2":0,"arms":27,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":0,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":0,"bproof_1":0,"mask_1":0,"decals_1":1,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":10,"pants_1":24}', '{"hair_2":0,"hair_color_2":0,"torso_1":57,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":38,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":1,"age_2":0,"glasses_2":0,"ears_2":0,"arms":21,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":1,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":5,"bproof_1":0,"mask_1":0,"decals_1":1,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":49,"pants_1":11}'), + (33, 'taxi', 1, 'novice', 'Novice', 24, '{"hair_2":0,"hair_color_2":0,"torso_1":32,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":31,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":0,"age_2":0,"glasses_2":0,"ears_2":0,"arms":27,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":0,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":0,"bproof_1":0,"mask_1":0,"decals_1":1,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":10,"pants_1":24}', '{"hair_2":0,"hair_color_2":0,"torso_1":57,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":38,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":1,"age_2":0,"glasses_2":0,"ears_2":0,"arms":21,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":1,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":5,"bproof_1":0,"mask_1":0,"decals_1":1,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":49,"pants_1":11}'), + (34, 'taxi', 2, 'experimente', 'Experienced', 36, '{"hair_2":0,"hair_color_2":0,"torso_1":26,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":57,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":4,"age_2":0,"glasses_2":0,"ears_2":0,"arms":11,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":0,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":0,"bproof_1":0,"mask_1":0,"decals_1":0,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":10,"pants_1":24}', '{"hair_2":0,"hair_color_2":0,"torso_1":57,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":38,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":1,"age_2":0,"glasses_2":0,"ears_2":0,"arms":21,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":1,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":5,"bproof_1":0,"mask_1":0,"decals_1":1,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":49,"pants_1":11}'), + (35, 'taxi', 3, 'uber', 'Uber', 48, '{"hair_2":0,"hair_color_2":0,"torso_1":26,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":57,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":4,"age_2":0,"glasses_2":0,"ears_2":0,"arms":11,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":0,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":0,"bproof_1":0,"mask_1":0,"decals_1":0,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":10,"pants_1":24}', '{"hair_2":0,"hair_color_2":0,"torso_1":57,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":38,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":1,"age_2":0,"glasses_2":0,"ears_2":0,"arms":21,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":1,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":5,"bproof_1":0,"mask_1":0,"decals_1":1,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":49,"pants_1":11}'), + (36, 'taxi', 4, 'boss', 'Boss', 0, '{"hair_2":0,"hair_color_2":0,"torso_1":29,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":31,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":4,"age_2":0,"glasses_2":0,"ears_2":0,"arms":1,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":0,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":0,"bproof_1":0,"mask_1":0,"decals_1":0,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":4,"eyebrows_1":0,"face":0,"shoes_1":10,"pants_1":24}', '{"hair_2":0,"hair_color_2":0,"torso_1":57,"bags_1":0,"helmet_2":0,"chain_2":0,"eyebrows_3":0,"makeup_3":0,"makeup_2":0,"tshirt_1":38,"makeup_1":0,"bags_2":0,"makeup_4":0,"eyebrows_4":0,"chain_1":0,"lipstick_4":0,"bproof_2":0,"hair_color_1":0,"decals_2":0,"pants_2":1,"age_2":0,"glasses_2":0,"ears_2":0,"arms":21,"lipstick_1":0,"ears_1":-1,"mask_2":0,"sex":1,"lipstick_3":0,"helmet_1":-1,"shoes_2":0,"beard_2":0,"beard_1":0,"lipstick_2":0,"beard_4":0,"glasses_1":5,"bproof_1":0,"mask_1":0,"decals_1":1,"hair_1":0,"eyebrows_2":0,"beard_3":0,"age_1":0,"tshirt_2":0,"skin":0,"torso_2":0,"eyebrows_1":0,"face":0,"shoes_1":49,"pants_1":11}'), + (37, 'cardealer', 0, 'recruit', 'Recruit', 10, '{}', '{}'), + (38, 'cardealer', 1, 'novice', 'Novice', 25, '{}', '{}'), + (39, 'cardealer', 2, 'experienced', 'Experienced', 40, '{}', '{}'), + (40, 'cardealer', 3, 'boss', 'Boss', 0, '{}', '{}'); +/*!40000 ALTER TABLE `job_grades` ENABLE KEYS */; + +-- Dumping structure for table es_extended.licenses +CREATE TABLE IF NOT EXISTS `licenses` ( + `type` varchar(60) NOT NULL, + `label` varchar(60) NOT NULL, + PRIMARY KEY (`type`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.licenses: ~7 rows (approximately) +/*!40000 ALTER TABLE `licenses` DISABLE KEYS */; +INSERT INTO `licenses` (`type`, `label`) VALUES + ('boat', 'Boat License'), + ('dmv', 'Traffic Laws'), + ('drive', 'Drivers license'), + ('drive_bike', 'Motorcycle licence'), + ('drive_truck', 'Truck license'), + ('weapon', 'Weapon License'), + ('weed_processing', 'Weed Processing License'); +/*!40000 ALTER TABLE `licenses` ENABLE KEYS */; + +-- Dumping structure for table es_extended.migrations +CREATE TABLE IF NOT EXISTS `migrations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `module` varchar(64) DEFAULT NULL, + `last` int(11) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=3; + +-- Dumping data for table es_extended.migrations: ~2 rows (approximately) +/*!40000 ALTER TABLE `migrations` DISABLE KEYS */; +INSERT INTO `migrations` (`id`, `module`, `last`) VALUES + (1, 'skin', 0), + (2, 'society', 0); +/*!40000 ALTER TABLE `migrations` ENABLE KEYS */; + +-- Dumping structure for table es_extended.owned_properties +CREATE TABLE IF NOT EXISTS `owned_properties` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) NOT NULL, + `price` double NOT NULL, + `rented` int(11) NOT NULL, + `owner` varchar(60) NOT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.owned_properties: ~0 rows (approximately) +/*!40000 ALTER TABLE `owned_properties` DISABLE KEYS */; +/*!40000 ALTER TABLE `owned_properties` ENABLE KEYS */; + +-- Dumping structure for table es_extended.owned_vehicles +CREATE TABLE IF NOT EXISTS `owned_vehicles` ( + `owner` varchar(60) NOT NULL, + `plate` varchar(12) NOT NULL, + `vehicle` longtext DEFAULT NULL, + `type` varchar(20) NOT NULL DEFAULT 'car', + `job` varchar(20) DEFAULT NULL, + `stored` tinyint(1) NOT NULL DEFAULT 0, + PRIMARY KEY (`plate`), + KEY `owner` (`owner`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.owned_vehicles: ~0 rows (approximately) +/*!40000 ALTER TABLE `owned_vehicles` DISABLE KEYS */; +/*!40000 ALTER TABLE `owned_vehicles` ENABLE KEYS */; + +-- Dumping structure for table es_extended.properties +CREATE TABLE IF NOT EXISTS `properties` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) DEFAULT NULL, + `label` varchar(255) DEFAULT NULL, + `entering` varchar(255) DEFAULT NULL, + `exit` varchar(255) DEFAULT NULL, + `inside` varchar(255) DEFAULT NULL, + `outside` varchar(255) DEFAULT NULL, + `ipls` varchar(255) DEFAULT '[]', + `gateway` varchar(255) DEFAULT NULL, + `is_single` int(11) DEFAULT NULL, + `is_room` int(11) DEFAULT NULL, + `is_gateway` int(11) DEFAULT NULL, + `room_menu` varchar(255) DEFAULT NULL, + `price` int(11) NOT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=InnoDB AUTO_INCREMENT=73; + +-- Dumping data for table es_extended.properties: ~72 rows (approximately) +/*!40000 ALTER TABLE `properties` DISABLE KEYS */; +INSERT INTO `properties` (`id`, `name`, `label`, `entering`, `exit`, `inside`, `outside`, `ipls`, `gateway`, `is_single`, `is_room`, `is_gateway`, `room_menu`, `price`) VALUES + (1, 'WhispymoundDrive', '2677 Whispymound Drive', '{"y":564.89,"z":182.959,"x":119.384}', '{"x":117.347,"y":559.506,"z":183.304}', '{"y":557.032,"z":183.301,"x":118.037}', '{"y":567.798,"z":182.131,"x":119.249}', '[]', NULL, 1, 1, 0, '{"x":118.748,"y":566.573,"z":175.697}', 1500000), + (2, 'NorthConkerAvenue2045', '2045 North Conker Avenue', '{"x":372.796,"y":428.327,"z":144.685}', '{"x":373.548,"y":422.982,"z":144.907}', '{"y":420.075,"z":145.904,"x":372.161}', '{"x":372.454,"y":432.886,"z":143.443}', '[]', NULL, 1, 1, 0, '{"x":377.349,"y":429.422,"z":137.3}', 1500000), + (3, 'RichardMajesticApt2', 'Richard Majestic, Apt 2', '{"y":-379.165,"z":37.961,"x":-936.363}', '{"y":-365.476,"z":113.274,"x":-913.097}', '{"y":-367.637,"z":113.274,"x":-918.022}', '{"y":-382.023,"z":37.961,"x":-943.626}', '[]', NULL, 1, 1, 0, '{"x":-927.554,"y":-377.744,"z":112.674}', 1700000), + (4, 'NorthConkerAvenue2044', '2044 North Conker Avenue', '{"y":440.8,"z":146.702,"x":346.964}', '{"y":437.456,"z":148.394,"x":341.683}', '{"y":435.626,"z":148.394,"x":339.595}', '{"x":350.535,"y":443.329,"z":145.764}', '[]', NULL, 1, 1, 0, '{"x":337.726,"y":436.985,"z":140.77}', 1500000), + (5, 'WildOatsDrive', '3655 Wild Oats Drive', '{"y":502.696,"z":136.421,"x":-176.003}', '{"y":497.817,"z":136.653,"x":-174.349}', '{"y":495.069,"z":136.666,"x":-173.331}', '{"y":506.412,"z":135.0664,"x":-177.927}', '[]', NULL, 1, 1, 0, '{"x":-174.725,"y":493.095,"z":129.043}', 1500000), + (6, 'HillcrestAvenue2862', '2862 Hillcrest Avenue', '{"y":596.58,"z":142.641,"x":-686.554}', '{"y":591.988,"z":144.392,"x":-681.728}', '{"y":590.608,"z":144.392,"x":-680.124}', '{"y":599.019,"z":142.059,"x":-689.492}', '[]', NULL, 1, 1, 0, '{"x":-680.46,"y":588.6,"z":136.769}', 1500000), + (7, 'LowEndApartment', 'Appartement de base', '{"y":-1078.735,"z":28.4031,"x":292.528}', '{"y":-1007.152,"z":-102.002,"x":265.845}', '{"y":-1002.802,"z":-100.008,"x":265.307}', '{"y":-1078.669,"z":28.401,"x":296.738}', '[]', NULL, 1, 1, 0, '{"x":265.916,"y":-999.38,"z":-100.008}', 562500), + (8, 'MadWayneThunder', '2113 Mad Wayne Thunder', '{"y":454.955,"z":96.462,"x":-1294.433}', '{"x":-1289.917,"y":449.541,"z":96.902}', '{"y":446.322,"z":96.899,"x":-1289.642}', '{"y":455.453,"z":96.517,"x":-1298.851}', '[]', NULL, 1, 1, 0, '{"x":-1287.306,"y":455.901,"z":89.294}', 1500000), + (9, 'HillcrestAvenue2874', '2874 Hillcrest Avenue', '{"x":-853.346,"y":696.678,"z":147.782}', '{"y":690.875,"z":151.86,"x":-859.961}', '{"y":688.361,"z":151.857,"x":-859.395}', '{"y":701.628,"z":147.773,"x":-855.007}', '[]', NULL, 1, 1, 0, '{"x":-858.543,"y":697.514,"z":144.253}', 1500000), + (10, 'HillcrestAvenue2868', '2868 Hillcrest Avenue', '{"y":620.494,"z":141.588,"x":-752.82}', '{"y":618.62,"z":143.153,"x":-759.317}', '{"y":617.629,"z":143.153,"x":-760.789}', '{"y":621.281,"z":141.254,"x":-750.919}', '[]', NULL, 1, 1, 0, '{"x":-762.504,"y":618.992,"z":135.53}', 1500000), + (11, 'TinselTowersApt12', 'Tinsel Towers, Apt 42', '{"y":37.025,"z":42.58,"x":-618.299}', '{"y":58.898,"z":97.2,"x":-603.301}', '{"y":58.941,"z":97.2,"x":-608.741}', '{"y":30.603,"z":42.524,"x":-620.017}', '[]', NULL, 1, 1, 0, '{"x":-622.173,"y":54.585,"z":96.599}', 1700000), + (12, 'MiltonDrive', 'Milton Drive', '{"x":-775.17,"y":312.01,"z":84.658}', NULL, NULL, '{"x":-775.346,"y":306.776,"z":84.7}', '[]', NULL, 0, 0, 1, NULL, 0), + (13, 'Modern1Apartment', 'Appartement Moderne 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_01_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-766.661,"y":327.672,"z":210.396}', 1300000), + (14, 'Modern2Apartment', 'Appartement Moderne 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_01_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.735,"y":326.757,"z":186.313}', 1300000), + (15, 'Modern3Apartment', 'Appartement Moderne 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_01_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.386,"y":330.782,"z":195.08}', 1300000), + (16, 'Mody1Apartment', 'Appartement Mode 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_02_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-766.615,"y":327.878,"z":210.396}', 1300000), + (17, 'Mody2Apartment', 'Appartement Mode 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_02_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.297,"y":327.092,"z":186.313}', 1300000), + (18, 'Mody3Apartment', 'Appartement Mode 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_02_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.303,"y":330.932,"z":195.085}', 1300000), + (19, 'Vibrant1Apartment', 'Appartement Vibrant 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_03_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.885,"y":327.641,"z":210.396}', 1300000), + (20, 'Vibrant2Apartment', 'Appartement Vibrant 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_03_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.607,"y":327.344,"z":186.313}', 1300000), + (21, 'Vibrant3Apartment', 'Appartement Vibrant 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_03_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.525,"y":330.851,"z":195.085}', 1300000), + (22, 'Sharp1Apartment', 'Appartement Persan 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_04_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-766.527,"y":327.89,"z":210.396}', 1300000), + (23, 'Sharp2Apartment', 'Appartement Persan 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_04_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.642,"y":326.497,"z":186.313}', 1300000), + (24, 'Sharp3Apartment', 'Appartement Persan 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_04_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.503,"y":331.318,"z":195.085}', 1300000), + (25, 'Monochrome1Apartment', 'Appartement Monochrome 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_05_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-766.289,"y":328.086,"z":210.396}', 1300000), + (26, 'Monochrome2Apartment', 'Appartement Monochrome 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_05_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.692,"y":326.762,"z":186.313}', 1300000), + (27, 'Monochrome3Apartment', 'Appartement Monochrome 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_05_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.094,"y":330.976,"z":195.085}', 1300000), + (28, 'Seductive1Apartment', 'Appartement Séduisant 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_06_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-766.263,"y":328.104,"z":210.396}', 1300000), + (29, 'Seductive2Apartment', 'Appartement Séduisant 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_06_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.655,"y":326.611,"z":186.313}', 1300000), + (30, 'Seductive3Apartment', 'Appartement Séduisant 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_06_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.3,"y":331.414,"z":195.085}', 1300000), + (31, 'Regal1Apartment', 'Appartement Régal 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_07_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.956,"y":328.257,"z":210.396}', 1300000), + (32, 'Regal2Apartment', 'Appartement Régal 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_07_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.545,"y":326.659,"z":186.313}', 1300000), + (33, 'Regal3Apartment', 'Appartement Régal 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_07_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.087,"y":331.429,"z":195.123}', 1300000), + (34, 'Aqua1Apartment', 'Appartement Aqua 1', NULL, '{"x":-784.194,"y":323.636,"z":210.997}', '{"x":-779.751,"y":323.385,"z":210.997}', NULL, '["apa_v_mp_h_08_a"]', 'MiltonDrive', 0, 1, 0, '{"x":-766.187,"y":328.47,"z":210.396}', 1300000), + (35, 'Aqua2Apartment', 'Appartement Aqua 2', NULL, '{"x":-786.8663,"y":315.764,"z":186.913}', '{"x":-781.808,"y":315.866,"z":186.913}', NULL, '["apa_v_mp_h_08_c"]', 'MiltonDrive', 0, 1, 0, '{"x":-795.658,"y":326.563,"z":186.313}', 1300000), + (36, 'Aqua3Apartment', 'Appartement Aqua 3', NULL, '{"x":-774.012,"y":342.042,"z":195.686}', '{"x":-779.057,"y":342.063,"z":195.686}', NULL, '["apa_v_mp_h_08_b"]', 'MiltonDrive', 0, 1, 0, '{"x":-765.287,"y":331.084,"z":195.086}', 1300000), + (37, 'IntegrityWay', '4 Integrity Way', '{"x":-47.804,"y":-585.867,"z":36.956}', NULL, NULL, '{"x":-54.178,"y":-583.762,"z":35.798}', '[]', NULL, 0, 0, 1, NULL, 0), + (38, 'IntegrityWay28', '4 Integrity Way - Apt 28', NULL, '{"x":-31.409,"y":-594.927,"z":79.03}', '{"x":-26.098,"y":-596.909,"z":79.03}', NULL, '[]', 'IntegrityWay', 0, 1, 0, '{"x":-11.923,"y":-597.083,"z":78.43}', 1700000), + (39, 'IntegrityWay30', '4 Integrity Way - Apt 30', NULL, '{"x":-17.702,"y":-588.524,"z":89.114}', '{"x":-16.21,"y":-582.569,"z":89.114}', NULL, '[]', 'IntegrityWay', 0, 1, 0, '{"x":-26.327,"y":-588.384,"z":89.123}', 1700000), + (40, 'DellPerroHeights', 'Dell Perro Heights', '{"x":-1447.06,"y":-538.28,"z":33.74}', NULL, NULL, '{"x":-1440.022,"y":-548.696,"z":33.74}', '[]', NULL, 0, 0, 1, NULL, 0), + (41, 'DellPerroHeightst4', 'Dell Perro Heights - Apt 28', NULL, '{"x":-1452.125,"y":-540.591,"z":73.044}', '{"x":-1455.435,"y":-535.79,"z":73.044}', NULL, '[]', 'DellPerroHeights', 0, 1, 0, '{"x":-1467.058,"y":-527.571,"z":72.443}', 1700000), + (42, 'DellPerroHeightst7', 'Dell Perro Heights - Apt 30', NULL, '{"x":-1451.562,"y":-523.535,"z":55.928}', '{"x":-1456.02,"y":-519.209,"z":55.929}', NULL, '[]', 'DellPerroHeights', 0, 1, 0, '{"x":-1457.026,"y":-530.219,"z":55.937}', 1700000), + (43, 'MazeBankBuilding', 'Maze Bank Building', '{"x":-79.18,"y":-795.92,"z":43.35}', NULL, NULL, '{"x":-72.50,"y":-786.92,"z":43.40}', '[]', NULL, 0, 0, 1, NULL, 0), + (44, 'OldSpiceWarm', 'Old Spice Warm', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_01a"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (45, 'OldSpiceClassical', 'Old Spice Classical', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_01b"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (46, 'OldSpiceVintage', 'Old Spice Vintage', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_01c"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (47, 'ExecutiveRich', 'Executive Rich', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_02b"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (48, 'ExecutiveCool', 'Executive Cool', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_02c"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (49, 'ExecutiveContrast', 'Executive Contrast', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_02a"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (50, 'PowerBrokerIce', 'Power Broker Ice', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_03a"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (51, 'PowerBrokerConservative', 'Power Broker Conservative', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_03b"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (52, 'PowerBrokerPolished', 'Power Broker Polished', NULL, '{"x":-75.69,"y":-827.08,"z":242.43}', '{"x":-75.51,"y":-823.90,"z":242.43}', NULL, '["ex_dt1_11_office_03c"]', 'MazeBankBuilding', 0, 1, 0, '{"x":-71.81,"y":-814.34,"z":242.39}', 5000000), + (53, 'LomBank', 'Lom Bank', '{"x":-1581.36,"y":-558.23,"z":34.07}', NULL, NULL, '{"x":-1583.60,"y":-555.12,"z":34.07}', '[]', NULL, 0, 0, 1, NULL, 0), + (54, 'LBOldSpiceWarm', 'LB Old Spice Warm', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_01a"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (55, 'LBOldSpiceClassical', 'LB Old Spice Classical', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_01b"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (56, 'LBOldSpiceVintage', 'LB Old Spice Vintage', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_01c"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (57, 'LBExecutiveRich', 'LB Executive Rich', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_02b"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (58, 'LBExecutiveCool', 'LB Executive Cool', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_02c"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (59, 'LBExecutiveContrast', 'LB Executive Contrast', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_02a"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (60, 'LBPowerBrokerIce', 'LB Power Broker Ice', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_03a"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (61, 'LBPowerBrokerConservative', 'LB Power Broker Conservative', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_03b"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (62, 'LBPowerBrokerPolished', 'LB Power Broker Polished', NULL, '{"x":-1579.53,"y":-564.89,"z":107.62}', '{"x":-1576.42,"y":-567.57,"z":107.62}', NULL, '["ex_sm_13_office_03c"]', 'LomBank', 0, 1, 0, '{"x":-1571.26,"y":-575.76,"z":107.52}', 3500000), + (63, 'MazeBankWest', 'Maze Bank West', '{"x":-1379.58,"y":-499.63,"z":32.22}', NULL, NULL, '{"x":-1378.95,"y":-502.82,"z":32.22}', '[]', NULL, 0, 0, 1, NULL, 0), + (64, 'MBWOldSpiceWarm', 'MBW Old Spice Warm', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_01a"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (65, 'MBWOldSpiceClassical', 'MBW Old Spice Classical', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_01b"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (66, 'MBWOldSpiceVintage', 'MBW Old Spice Vintage', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_01c"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (67, 'MBWExecutiveRich', 'MBW Executive Rich', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_02b"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (68, 'MBWExecutiveCool', 'MBW Executive Cool', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_02c"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (69, 'MBWExecutive Contrast', 'MBW Executive Contrast', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_02a"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (70, 'MBWPowerBrokerIce', 'MBW Power Broker Ice', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_03a"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (71, 'MBWPowerBrokerConvservative', 'MBW Power Broker Convservative', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_03b"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000), + (72, 'MBWPowerBrokerPolished', 'MBW Power Broker Polished', NULL, '{"x":-1392.74,"y":-480.18,"z":71.14}', '{"x":-1389.43,"y":-479.01,"z":71.14}', NULL, '["ex_sm_15_office_03c"]', 'MazeBankWest', 0, 1, 0, '{"x":-1390.76,"y":-479.22,"z":72.04}', 2700000); +/*!40000 ALTER TABLE `properties` ENABLE KEYS */; + +-- Dumping structure for table es_extended.rented_vehicles +CREATE TABLE IF NOT EXISTS `rented_vehicles` ( + `vehicle` varchar(60) NOT NULL, + `plate` varchar(12) NOT NULL, + `player_name` varchar(255) NOT NULL, + `base_price` int(11) NOT NULL, + `rent_price` int(11) NOT NULL, + `owner` varchar(60) NOT NULL, + PRIMARY KEY (`plate`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.rented_vehicles: ~0 rows (approximately) +/*!40000 ALTER TABLE `rented_vehicles` DISABLE KEYS */; +/*!40000 ALTER TABLE `rented_vehicles` ENABLE KEYS */; + +-- Dumping structure for table es_extended.society_moneywash +CREATE TABLE IF NOT EXISTS `society_moneywash` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `identifier` varchar(60) NOT NULL, + `society` varchar(60) NOT NULL, + `amount` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.society_moneywash: ~0 rows (approximately) +/*!40000 ALTER TABLE `society_moneywash` DISABLE KEYS */; +/*!40000 ALTER TABLE `society_moneywash` ENABLE KEYS */; + +-- Dumping structure for table es_extended.user_contacts +CREATE TABLE IF NOT EXISTS `user_contacts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `identifier` varchar(60) NOT NULL, + `name` varchar(100) NOT NULL, + `number` int(11) NOT NULL, + PRIMARY KEY (`id`), + KEY `index_user_contacts_identifier_name_number` (`identifier`,`name`,`number`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.user_contacts: ~0 rows (approximately) +/*!40000 ALTER TABLE `user_contacts` DISABLE KEYS */; +/*!40000 ALTER TABLE `user_contacts` ENABLE KEYS */; + +-- Dumping structure for table es_extended.user_licenses +CREATE TABLE IF NOT EXISTS `user_licenses` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `type` varchar(60) NOT NULL, + `owner` varchar(60) NOT NULL, + PRIMARY KEY (`id`), + KEY `owner` (`owner`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.user_licenses: ~0 rows (approximately) +/*!40000 ALTER TABLE `user_licenses` DISABLE KEYS */; +/*!40000 ALTER TABLE `user_licenses` ENABLE KEYS */; + +-- Dumping structure for table es_extended.user_parkings +CREATE TABLE IF NOT EXISTS `user_parkings` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `identifier` varchar(60) DEFAULT NULL, + `garage` varchar(60) DEFAULT NULL, + `zone` int(11) NOT NULL, + `vehicle` longtext DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.user_parkings: ~0 rows (approximately) +/*!40000 ALTER TABLE `user_parkings` DISABLE KEYS */; +/*!40000 ALTER TABLE `user_parkings` ENABLE KEYS */; + +-- Dumping structure for table es_extended.vehicles +CREATE TABLE IF NOT EXISTS `vehicles` ( + `name` varchar(60) NOT NULL, + `model` varchar(60) NOT NULL, + `price` int(11) NOT NULL, + `category` varchar(60) DEFAULT NULL, + PRIMARY KEY (`model`), + KEY `category` (`category`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.vehicles: ~240 rows (approximately) +/*!40000 ALTER TABLE `vehicles` DISABLE KEYS */; +INSERT INTO `vehicles` (`name`, `model`, `price`, `category`) VALUES + ('Adder', 'adder', 900000, 'super'), + ('Akuma', 'AKUMA', 7500, 'motorcycles'), + ('Alpha', 'alpha', 60000, 'sports'), + ('Ardent', 'ardent', 1150000, 'sportsclassics'), + ('Asea', 'asea', 5500, 'sedans'), + ('Autarch', 'autarch', 1955000, 'super'), + ('Avarus', 'avarus', 18000, 'motorcycles'), + ('Bagger', 'bagger', 13500, 'motorcycles'), + ('Baller', 'baller2', 40000, 'suvs'), + ('Baller Sport', 'baller3', 60000, 'suvs'), + ('Banshee', 'banshee', 70000, 'sports'), + ('Banshee 900R', 'banshee2', 255000, 'super'), + ('Bati 801', 'bati', 12000, 'motorcycles'), + ('Bati 801RR', 'bati2', 19000, 'motorcycles'), + ('Bestia GTS', 'bestiagts', 55000, 'sports'), + ('BF400', 'bf400', 6500, 'motorcycles'), + ('Bf Injection', 'bfinjection', 16000, 'offroad'), + ('Bifta', 'bifta', 12000, 'offroad'), + ('Bison', 'bison', 45000, 'vans'), + ('Blade', 'blade', 15000, 'muscle'), + ('Blazer', 'blazer', 6500, 'offroad'), + ('Blazer Sport', 'blazer4', 8500, 'offroad'), + ('blazer5', 'blazer5', 1755600, 'offroad'), + ('Blista', 'blista', 8000, 'compacts'), + ('BMX (velo)', 'bmx', 160, 'motorcycles'), + ('Bobcat XL', 'bobcatxl', 32000, 'vans'), + ('Brawler', 'brawler', 45000, 'offroad'), + ('Brioso R/A', 'brioso', 18000, 'compacts'), + ('Btype', 'btype', 62000, 'sportsclassics'), + ('Btype Hotroad', 'btype2', 155000, 'sportsclassics'), + ('Btype Luxe', 'btype3', 85000, 'sportsclassics'), + ('Buccaneer', 'buccaneer', 18000, 'muscle'), + ('Buccaneer Rider', 'buccaneer2', 24000, 'muscle'), + ('Buffalo', 'buffalo', 12000, 'sports'), + ('Buffalo S', 'buffalo2', 20000, 'sports'), + ('Bullet', 'bullet', 90000, 'super'), + ('Burrito', 'burrito3', 19000, 'vans'), + ('Camper', 'camper', 42000, 'vans'), + ('Carbonizzare', 'carbonizzare', 75000, 'sports'), + ('Carbon RS', 'carbonrs', 18000, 'motorcycles'), + ('Casco', 'casco', 30000, 'sportsclassics'), + ('Cavalcade', 'cavalcade2', 55000, 'suvs'), + ('Cheetah', 'cheetah', 375000, 'super'), + ('Chimera', 'chimera', 38000, 'motorcycles'), + ('Chino', 'chino', 15000, 'muscle'), + ('Chino Luxe', 'chino2', 19000, 'muscle'), + ('Cliffhanger', 'cliffhanger', 9500, 'motorcycles'), + ('Cognoscenti Cabrio', 'cogcabrio', 55000, 'coupes'), + ('Cognoscenti', 'cognoscenti', 55000, 'sedans'), + ('Comet', 'comet2', 65000, 'sports'), + ('Comet 5', 'comet5', 1145000, 'sports'), + ('Contender', 'contender', 70000, 'suvs'), + ('Coquette', 'coquette', 65000, 'sports'), + ('Coquette Classic', 'coquette2', 40000, 'sportsclassics'), + ('Coquette BlackFin', 'coquette3', 55000, 'muscle'), + ('Cruiser (velo)', 'cruiser', 510, 'motorcycles'), + ('Cyclone', 'cyclone', 1890000, 'super'), + ('Daemon', 'daemon', 11500, 'motorcycles'), + ('Daemon High', 'daemon2', 13500, 'motorcycles'), + ('Defiler', 'defiler', 9800, 'motorcycles'), + ('Deluxo', 'deluxo', 4721500, 'sportsclassics'), + ('Dominator', 'dominator', 35000, 'muscle'), + ('Double T', 'double', 28000, 'motorcycles'), + ('Dubsta', 'dubsta', 45000, 'suvs'), + ('Dubsta Luxuary', 'dubsta2', 60000, 'suvs'), + ('Bubsta 6x6', 'dubsta3', 120000, 'offroad'), + ('Dukes', 'dukes', 28000, 'muscle'), + ('Dune Buggy', 'dune', 8000, 'offroad'), + ('Elegy', 'elegy2', 38500, 'sports'), + ('Emperor', 'emperor', 8500, 'sedans'), + ('Enduro', 'enduro', 5500, 'motorcycles'), + ('Entity XF', 'entityxf', 425000, 'super'), + ('Esskey', 'esskey', 4200, 'motorcycles'), + ('Exemplar', 'exemplar', 32000, 'coupes'), + ('F620', 'f620', 40000, 'coupes'), + ('Faction', 'faction', 20000, 'muscle'), + ('Faction Rider', 'faction2', 30000, 'muscle'), + ('Faction XL', 'faction3', 40000, 'muscle'), + ('Faggio', 'faggio', 1900, 'motorcycles'), + ('Vespa', 'faggio2', 2800, 'motorcycles'), + ('Felon', 'felon', 42000, 'coupes'), + ('Felon GT', 'felon2', 55000, 'coupes'), + ('Feltzer', 'feltzer2', 55000, 'sports'), + ('Stirling GT', 'feltzer3', 65000, 'sportsclassics'), + ('Fixter (velo)', 'fixter', 225, 'motorcycles'), + ('FMJ', 'fmj', 185000, 'super'), + ('Fhantom', 'fq2', 17000, 'suvs'), + ('Fugitive', 'fugitive', 12000, 'sedans'), + ('Furore GT', 'furoregt', 45000, 'sports'), + ('Fusilade', 'fusilade', 40000, 'sports'), + ('Gargoyle', 'gargoyle', 16500, 'motorcycles'), + ('Gauntlet', 'gauntlet', 30000, 'muscle'), + ('Gang Burrito', 'gburrito', 45000, 'vans'), + ('Burrito', 'gburrito2', 29000, 'vans'), + ('Glendale', 'glendale', 6500, 'sedans'), + ('Grabger', 'granger', 50000, 'suvs'), + ('Gresley', 'gresley', 47500, 'suvs'), + ('GT 500', 'gt500', 785000, 'sportsclassics'), + ('Guardian', 'guardian', 45000, 'offroad'), + ('Hakuchou', 'hakuchou', 31000, 'motorcycles'), + ('Hakuchou Sport', 'hakuchou2', 55000, 'motorcycles'), + ('Hermes', 'hermes', 535000, 'muscle'), + ('Hexer', 'hexer', 12000, 'motorcycles'), + ('Hotknife', 'hotknife', 125000, 'muscle'), + ('Huntley S', 'huntley', 40000, 'suvs'), + ('Hustler', 'hustler', 625000, 'muscle'), + ('Infernus', 'infernus', 180000, 'super'), + ('Innovation', 'innovation', 23500, 'motorcycles'), + ('Intruder', 'intruder', 7500, 'sedans'), + ('Issi', 'issi2', 10000, 'compacts'), + ('Jackal', 'jackal', 38000, 'coupes'), + ('Jester', 'jester', 65000, 'sports'), + ('Jester(Racecar)', 'jester2', 135000, 'sports'), + ('Journey', 'journey', 6500, 'vans'), + ('Kamacho', 'kamacho', 345000, 'offroad'), + ('Khamelion', 'khamelion', 38000, 'sports'), + ('Kuruma', 'kuruma', 30000, 'sports'), + ('Landstalker', 'landstalker', 35000, 'suvs'), + ('RE-7B', 'le7b', 325000, 'super'), + ('Lynx', 'lynx', 40000, 'sports'), + ('Mamba', 'mamba', 70000, 'sports'), + ('Manana', 'manana', 12800, 'sportsclassics'), + ('Manchez', 'manchez', 5300, 'motorcycles'), + ('Massacro', 'massacro', 65000, 'sports'), + ('Massacro(Racecar)', 'massacro2', 130000, 'sports'), + ('Mesa', 'mesa', 16000, 'suvs'), + ('Mesa Trail', 'mesa3', 40000, 'suvs'), + ('Minivan', 'minivan', 13000, 'vans'), + ('Monroe', 'monroe', 55000, 'sportsclassics'), + ('The Liberator', 'monster', 210000, 'offroad'), + ('Moonbeam', 'moonbeam', 18000, 'vans'), + ('Moonbeam Rider', 'moonbeam2', 35000, 'vans'), + ('Nemesis', 'nemesis', 5800, 'motorcycles'), + ('Neon', 'neon', 1500000, 'sports'), + ('Nightblade', 'nightblade', 35000, 'motorcycles'), + ('Nightshade', 'nightshade', 65000, 'muscle'), + ('9F', 'ninef', 65000, 'sports'), + ('9F Cabrio', 'ninef2', 80000, 'sports'), + ('Omnis', 'omnis', 35000, 'sports'), + ('Oppressor', 'oppressor', 3524500, 'super'), + ('Oracle XS', 'oracle2', 35000, 'coupes'), + ('Osiris', 'osiris', 160000, 'super'), + ('Panto', 'panto', 10000, 'compacts'), + ('Paradise', 'paradise', 19000, 'vans'), + ('Pariah', 'pariah', 1420000, 'sports'), + ('Patriot', 'patriot', 55000, 'suvs'), + ('PCJ-600', 'pcj', 6200, 'motorcycles'), + ('Penumbra', 'penumbra', 28000, 'sports'), + ('Pfister', 'pfister811', 85000, 'super'), + ('Phoenix', 'phoenix', 12500, 'muscle'), + ('Picador', 'picador', 18000, 'muscle'), + ('Pigalle', 'pigalle', 20000, 'sportsclassics'), + ('Prairie', 'prairie', 12000, 'compacts'), + ('Premier', 'premier', 8000, 'sedans'), + ('Primo Custom', 'primo2', 14000, 'sedans'), + ('X80 Proto', 'prototipo', 2500000, 'super'), + ('Radius', 'radi', 29000, 'suvs'), + ('raiden', 'raiden', 1375000, 'sports'), + ('Rapid GT', 'rapidgt', 35000, 'sports'), + ('Rapid GT Convertible', 'rapidgt2', 45000, 'sports'), + ('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'), + ('Reaper', 'reaper', 150000, 'super'), + ('Rebel', 'rebel2', 35000, 'offroad'), + ('Regina', 'regina', 5000, 'sedans'), + ('Retinue', 'retinue', 615000, 'sportsclassics'), + ('Revolter', 'revolter', 1610000, 'sports'), + ('riata', 'riata', 380000, 'offroad'), + ('Rocoto', 'rocoto', 45000, 'suvs'), + ('Ruffian', 'ruffian', 6800, 'motorcycles'), + ('Ruiner 2', 'ruiner2', 5745600, 'muscle'), + ('Rumpo', 'rumpo', 15000, 'vans'), + ('Rumpo Trail', 'rumpo3', 19500, 'vans'), + ('Sabre Turbo', 'sabregt', 20000, 'muscle'), + ('Sabre GT', 'sabregt2', 25000, 'muscle'), + ('Sanchez', 'sanchez', 5300, 'motorcycles'), + ('Sanchez Sport', 'sanchez2', 5300, 'motorcycles'), + ('Sanctus', 'sanctus', 25000, 'motorcycles'), + ('Sandking', 'sandking', 55000, 'offroad'), + ('Savestra', 'savestra', 990000, 'sportsclassics'), + ('SC 1', 'sc1', 1603000, 'super'), + ('Schafter', 'schafter2', 25000, 'sedans'), + ('Schafter V12', 'schafter3', 50000, 'sports'), + ('Scorcher (velo)', 'scorcher', 280, 'motorcycles'), + ('Seminole', 'seminole', 25000, 'suvs'), + ('Sentinel', 'sentinel', 32000, 'coupes'), + ('Sentinel XS', 'sentinel2', 40000, 'coupes'), + ('Sentinel3', 'sentinel3', 650000, 'sports'), + ('Seven 70', 'seven70', 39500, 'sports'), + ('ETR1', 'sheava', 220000, 'super'), + ('Shotaro Concept', 'shotaro', 320000, 'motorcycles'), + ('Slam Van', 'slamvan3', 11500, 'muscle'), + ('Sovereign', 'sovereign', 22000, 'motorcycles'), + ('Stinger', 'stinger', 80000, 'sportsclassics'), + ('Stinger GT', 'stingergt', 75000, 'sportsclassics'), + ('Streiter', 'streiter', 500000, 'sports'), + ('Stretch', 'stretch', 90000, 'sedans'), + ('Stromberg', 'stromberg', 3185350, 'sports'), + ('Sultan', 'sultan', 15000, 'sports'), + ('Sultan RS', 'sultanrs', 65000, 'super'), + ('Super Diamond', 'superd', 130000, 'sedans'), + ('Surano', 'surano', 50000, 'sports'), + ('Surfer', 'surfer', 12000, 'vans'), + ('T20', 't20', 300000, 'super'), + ('Tailgater', 'tailgater', 30000, 'sedans'), + ('Tampa', 'tampa', 16000, 'muscle'), + ('Drift Tampa', 'tampa2', 80000, 'sports'), + ('Thrust', 'thrust', 24000, 'motorcycles'), + ('Tri bike (velo)', 'tribike3', 520, 'motorcycles'), + ('Trophy Truck', 'trophytruck', 60000, 'offroad'), + ('Trophy Truck Limited', 'trophytruck2', 80000, 'offroad'), + ('Tropos', 'tropos', 40000, 'sports'), + ('Turismo R', 'turismor', 350000, 'super'), + ('Tyrus', 'tyrus', 600000, 'super'), + ('Vacca', 'vacca', 120000, 'super'), + ('Vader', 'vader', 7200, 'motorcycles'), + ('Verlierer', 'verlierer2', 70000, 'sports'), + ('Vigero', 'vigero', 12500, 'muscle'), + ('Virgo', 'virgo', 14000, 'muscle'), + ('Viseris', 'viseris', 875000, 'sportsclassics'), + ('Visione', 'visione', 2250000, 'super'), + ('Voltic', 'voltic', 90000, 'super'), + ('Voltic 2', 'voltic2', 3830400, 'super'), + ('Voodoo', 'voodoo', 7200, 'muscle'), + ('Vortex', 'vortex', 9800, 'motorcycles'), + ('Warrener', 'warrener', 4000, 'sedans'), + ('Washington', 'washington', 9000, 'sedans'), + ('Windsor', 'windsor', 95000, 'coupes'), + ('Windsor Drop', 'windsor2', 125000, 'coupes'), + ('Woflsbane', 'wolfsbane', 9000, 'motorcycles'), + ('XLS', 'xls', 32000, 'suvs'), + ('Yosemite', 'yosemite', 485000, 'muscle'), + ('Youga', 'youga', 10800, 'vans'), + ('Youga Luxuary', 'youga2', 14500, 'vans'), + ('Z190', 'z190', 900000, 'sportsclassics'), + ('Zentorno', 'zentorno', 1500000, 'super'), + ('Zion', 'zion', 36000, 'coupes'), + ('Zion Cabrio', 'zion2', 45000, 'coupes'), + ('Zombie', 'zombiea', 9500, 'motorcycles'), + ('Zombie Luxuary', 'zombieb', 12000, 'motorcycles'), + ('Z-Type', 'ztype', 220000, 'sportsclassics'); +/*!40000 ALTER TABLE `vehicles` ENABLE KEYS */; + +-- Dumping structure for table es_extended.vehicle_categories +CREATE TABLE IF NOT EXISTS `vehicle_categories` ( + `name` varchar(60) NOT NULL, + `label` varchar(60) NOT NULL, + PRIMARY KEY (`name`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.vehicle_categories: ~11 rows (approximately) +/*!40000 ALTER TABLE `vehicle_categories` DISABLE KEYS */; +INSERT INTO `vehicle_categories` (`name`, `label`) VALUES + ('compacts', 'Compacts'), + ('coupes', 'Coupés'), + ('motorcycles', 'Motos'), + ('muscle', 'Muscle'), + ('offroad', 'Off Road'), + ('sedans', 'Sedans'), + ('sports', 'Sports'), + ('sportsclassics', 'Sports Classics'), + ('super', 'Super'), + ('suvs', 'SUVs'), + ('vans', 'Vans'); +/*!40000 ALTER TABLE `vehicle_categories` ENABLE KEYS */; + +-- Dumping structure for table es_extended.vehicle_sold +CREATE TABLE IF NOT EXISTS `vehicle_sold` ( + `client` varchar(50) NOT NULL, + `model` varchar(50) NOT NULL, + `plate` varchar(50) NOT NULL, + `soldby` varchar(50) NOT NULL, + `date` varchar(50) NOT NULL, + PRIMARY KEY (`plate`) +) ENGINE=InnoDB; + +-- Dumping data for table es_extended.vehicle_sold: ~0 rows (approximately) +/*!40000 ALTER TABLE `vehicle_sold` DISABLE KEYS */; +/*!40000 ALTER TABLE `vehicle_sold` ENABLE KEYS */; + +-- Dumping structure for table es_extended.weashops +CREATE TABLE IF NOT EXISTS `weashops` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `zone` varchar(255) NOT NULL, + `item` varchar(255) NOT NULL, + `price` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=41; + +-- Dumping data for table es_extended.weashops: ~40 rows (approximately) +/*!40000 ALTER TABLE `weashops` DISABLE KEYS */; +INSERT INTO `weashops` (`id`, `zone`, `item`, `price`) VALUES + (1, 'GunShop', 'WEAPON_PISTOL', 300), + (2, 'BlackWeashop', 'WEAPON_PISTOL', 500), + (3, 'GunShop', 'WEAPON_FLASHLIGHT', 60), + (4, 'BlackWeashop', 'WEAPON_FLASHLIGHT', 70), + (5, 'GunShop', 'WEAPON_MACHETE', 90), + (6, 'BlackWeashop', 'WEAPON_MACHETE', 110), + (7, 'GunShop', 'WEAPON_NIGHTSTICK', 150), + (8, 'BlackWeashop', 'WEAPON_NIGHTSTICK', 150), + (9, 'GunShop', 'WEAPON_BAT', 100), + (10, 'BlackWeashop', 'WEAPON_BAT', 100), + (11, 'GunShop', 'WEAPON_STUNGUN', 50), + (12, 'BlackWeashop', 'WEAPON_STUNGUN', 50), + (13, 'GunShop', 'WEAPON_MICROSMG', 1400), + (14, 'BlackWeashop', 'WEAPON_MICROSMG', 1700), + (15, 'GunShop', 'WEAPON_PUMPSHOTGUN', 3400), + (16, 'BlackWeashop', 'WEAPON_PUMPSHOTGUN', 3500), + (17, 'GunShop', 'WEAPON_ASSAULTRIFLE', 10000), + (18, 'BlackWeashop', 'WEAPON_ASSAULTRIFLE', 11000), + (19, 'GunShop', 'WEAPON_SPECIALCARBINE', 15000), + (20, 'BlackWeashop', 'WEAPON_SPECIALCARBINE', 16500), + (21, 'GunShop', 'WEAPON_SNIPERRIFLE', 22000), + (22, 'BlackWeashop', 'WEAPON_SNIPERRIFLE', 24000), + (23, 'GunShop', 'WEAPON_FIREWORK', 18000), + (24, 'BlackWeashop', 'WEAPON_FIREWORK', 20000), + (25, 'GunShop', 'WEAPON_GRENADE', 500), + (26, 'BlackWeashop', 'WEAPON_GRENADE', 650), + (27, 'GunShop', 'WEAPON_BZGAS', 200), + (28, 'BlackWeashop', 'WEAPON_BZGAS', 350), + (29, 'GunShop', 'WEAPON_FIREEXTINGUISHER', 100), + (30, 'BlackWeashop', 'WEAPON_FIREEXTINGUISHER', 100), + (31, 'GunShop', 'WEAPON_BALL', 50), + (32, 'BlackWeashop', 'WEAPON_BALL', 50), + (33, 'GunShop', 'WEAPON_SMOKEGRENADE', 100), + (34, 'BlackWeashop', 'WEAPON_SMOKEGRENADE', 100), + (35, 'BlackWeashop', 'WEAPON_APPISTOL', 1100), + (36, 'BlackWeashop', 'WEAPON_CARBINERIFLE', 12000), + (37, 'BlackWeashop', 'WEAPON_HEAVYSNIPER', 30000), + (38, 'BlackWeashop', 'WEAPON_MINIGUN', 45000), + (39, 'BlackWeashop', 'WEAPON_RAILGUN', 50000), + (40, 'BlackWeashop', 'WEAPON_STICKYBOMB', 500); +/*!40000 ALTER TABLE `weashops` ENABLE KEYS */; + +/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; +/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */; diff --git a/[esx]/Esx-Core.sql b/[SQL]/base.sql similarity index 96% rename from [esx]/Esx-Core.sql rename to [SQL]/base.sql index 0becc56a..9f20a09a 100644 --- a/[esx]/Esx-Core.sql +++ b/[SQL]/base.sql @@ -1,55 +1,55 @@ -CREATE TABLE `users` ( - `identifier` VARCHAR(60) NOT NULL, - `accounts` LONGTEXT NULL DEFAULT NULL, - `group` VARCHAR(50) NULL DEFAULT 'user', - `firstname` VARCHAR(16) NULL DEFAULT NULL, - `lastname` VARCHAR(16) NULL DEFAULT NULL, - `dateofbirth` VARCHAR(10) NULL DEFAULT NULL, - `sex` VARCHAR(1) NULL DEFAULT NULL, - `height` INT NULL DEFAULT NULL, - `inventory` LONGTEXT NULL DEFAULT NULL, - `skin` LONGTEXT NULL DEFAULT NULL, - `job` VARCHAR(20) NULL DEFAULT 'unemployed', - `job_grade` INT NULL DEFAULT 0, - `loadout` LONGTEXT NULL DEFAULT NULL, - `position` VARCHAR(255) NULL DEFAULT '{"x":-269.4,"y":-955.3,"z":31.2,"heading":205.8}', - - PRIMARY KEY (`identifier`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - - -CREATE TABLE `items` ( - `name` VARCHAR(50) NOT NULL, - `label` VARCHAR(50) NOT NULL, - `weight` INT NOT NULL DEFAULT 1, - `rare` TINYINT NOT NULL DEFAULT 0, - `can_remove` TINYINT NOT NULL DEFAULT 1, - - PRIMARY KEY (`name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - - -CREATE TABLE `job_grades` ( - `id` INT NOT NULL AUTO_INCREMENT, - `job_name` VARCHAR(50) DEFAULT NULL, - `grade` INT NOT NULL, - `name` VARCHAR(50) NOT NULL, - `label` VARCHAR(50) NOT NULL, - `salary` INT NOT NULL, - `skin_male` LONGTEXT NOT NULL, - `skin_female` LONGTEXT NOT NULL, - - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - - -INSERT INTO `job_grades` VALUES (1,'unemployed',0,'unemployed','Unemployed',200,'{}','{}'); - -CREATE TABLE `jobs` ( - `name` VARCHAR(50) NOT NULL, - `label` VARCHAR(50) DEFAULT NULL, - - PRIMARY KEY (`name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - -INSERT INTO `jobs` VALUES ('unemployed','Unemployed'); +CREATE TABLE `users` ( + `identifier` VARCHAR(60) NOT NULL, + `accounts` LONGTEXT NULL DEFAULT NULL, + `group` VARCHAR(50) NULL DEFAULT 'user', + `firstname` VARCHAR(16) NULL DEFAULT NULL, + `lastname` VARCHAR(16) NULL DEFAULT NULL, + `dateofbirth` VARCHAR(10) NULL DEFAULT NULL, + `sex` VARCHAR(1) NULL DEFAULT NULL, + `height` INT NULL DEFAULT NULL, + `inventory` LONGTEXT NULL DEFAULT NULL, + `skin` LONGTEXT NULL DEFAULT NULL, + `job` VARCHAR(20) NULL DEFAULT 'unemployed', + `job_grade` INT NULL DEFAULT 0, + `loadout` LONGTEXT NULL DEFAULT NULL, + `position` VARCHAR(255) NULL DEFAULT '{"x":-269.4,"y":-955.3,"z":31.2,"heading":205.8}', + + PRIMARY KEY (`identifier`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + + +CREATE TABLE `items` ( + `name` VARCHAR(50) NOT NULL, + `label` VARCHAR(50) NOT NULL, + `weight` INT NOT NULL DEFAULT 1, + `rare` TINYINT NOT NULL DEFAULT 0, + `can_remove` TINYINT NOT NULL DEFAULT 1, + + PRIMARY KEY (`name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + + +CREATE TABLE `job_grades` ( + `id` INT NOT NULL AUTO_INCREMENT, + `job_name` VARCHAR(50) DEFAULT NULL, + `grade` INT NOT NULL, + `name` VARCHAR(50) NOT NULL, + `label` VARCHAR(50) NOT NULL, + `salary` INT NOT NULL, + `skin_male` LONGTEXT NOT NULL, + `skin_female` LONGTEXT NOT NULL, + + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + + +INSERT INTO `job_grades` VALUES (1,'unemployed',0,'unemployed','Unemployed',200,'{}','{}'); + +CREATE TABLE `jobs` ( + `name` VARCHAR(50) NOT NULL, + `label` VARCHAR(50) DEFAULT NULL, + + PRIMARY KEY (`name`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +INSERT INTO `jobs` VALUES ('unemployed','Unemployed');