cammy
Member
- May 15, 2014
- 481
- 238
You must be registered for see links
This plugin lets you add name colours based on rank. You're able to use a string of unlimited colours.
You will need to add the following to your DB.
Permissions
cmd_namecolour (This lets people set their name colour) AND cmd_reloadcolours (This refreshes the available colours)
Users Table
name_colour varchar(50) DEFAULT none(edited)
The table to store the colours
DROP TABLE IF EXISTS `color_names`; CREATE TABLE `color_names` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `color_code` varchar(500) DEFAULT '#000000', `min_rank` int(11) DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
An example of an added colour...
ID: 1
NAME: Rainbow
COLOURCODE: #C0392B,#E67E22,#F1C40F,#229954,#3498DB,#8E44AD
MINRANK: 3
Not too sure but if you do :namecolour list it will bring up a habbo page which you can set. (View console to see the page location to add it)
PCE
Last edited: