Installation
Installation Steps for gp_Clothingshop.
1. Download
2. Framework adjustments
-- Exports for gp_Clothingshop
exports('SaveSkin', SaveSkin)
exports('ChangeVariation', ChangeVariation)
-- end of exports for gp_Clothingshop3. Insert SQL
# Insert SQL to your database
ALTER TABLE player_outfits
ADD outfitCode BIGINT,
ADD outfitCodePrice INT;# Only need if you DO NOT have a user_clothes table!
CREATE TABLE IF NOT EXISTS `user_clothes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`identifier` varchar(46) DEFAULT NULL,
`name` varchar(60) DEFAULT NULL,
`clothesData` longtext DEFAULT NULL,
`outfitCode` bigint(20) DEFAULT NULL,
`outfitCodePrice` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;# SQL if you already have a user_clothes table
ALTER TABLE user_clothes
ADD outfitCode BIGINT,
ADD outfitCodePrice INT;4. Set configuration file
5. Translate the Script
6. Explanation of Config.js
name
label
price
defaultPerspective
7. Change Logo for clothingshops
Last updated