supercolorchat

last built 2 weeks ago
Build #29
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Johnanater
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

SuperColorChat

This plugin allows players to buy chat colors!

Features:

  • Configure the colors players can buy!
  • Highly configurable!
  • Stored in MySQL!
  • Optimized!

Installation:

  1. Download SuperColorChat.dll and place it in your plugins folder
  2. Restart the server
  3. Create a new database and user in your MySQL manager
  4. Fill out the config and restart the server again
  5. Enjoy!

Commands:

  • /color <name of color>
  • /removecolor [<player>]

Permissions:

  • supercolorchat.color
  • supercolorchat.removecolor
  • supercolorchat.removecolor.other

FAQ:

  1. Can I use AviEconomy instead?
    Answer: You can use UConomyToAviEconomy, found here
    https://harbor.rocketmod.net/plugins/uconomytoavieconomy/
  2. Do I have to use an economy plugin?
    Answer: No actually, just disable it in the config!

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DatabaseAddress>localhost</DatabaseAddress>
  <DatabasePort>3306</DatabasePort>
  <DatabaseName>database_name</DatabaseName>
  <DatabaseTableName>colors</DatabaseTableName>
  <DatabaseUsername>database_username</DatabaseUsername>
  <DatabasePassword>database_password</DatabasePassword>
  <UseMoney>true</UseMoney>
  <Cost>1000</Cost>
  <Colors>
    <Color Name="green" Hex="00ff00" />
    <Color Name="darkgreen" Hex="32be3c" />
    <Color Name="red" Hex="ff0000" />
    <Color Name="yellow" Hex="ffff00" />
    <Color Name="orange" Hex="faa600" />
    <Color Name="pink" Hex="ff3399" />
    <Color Name="bluegreen" Hex="00ff96" />
    <Color Name="bluegray" Hex="4b5091" />
    <Color Name="black" Hex="000000" />
    <Color Name="white" Hex="ffffff" />
    <Color Name="darkgray" Hex="2d2d2d" />
    <Color Name="lightgray" Hex="737373" />
  </Colors>
</Configuration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="not_enough_money" Value="You don't have enough money!" />
  <Translation Id="not_whitelisted_color" Value="That's not a whitelisted color!" />
  <Translation Id="avaliable_colors" Value="Avaliable colors: {0}" />
  <Translation Id="color_updated_to" Value="You've updated your color to {0} for ${1}!" />
  <Translation Id="log_color_change" Value="{0} ({1}) has changed their color to {2}!" />
  <Translation Id="color_reset" Value="Your color has been reset!" />
  <Translation Id="color_reset_by_staff" Value="Your color has been reset by a staff member!" />
  <Translation Id="player_color_reset" Value="{0}'s color has been reset!" />
  <Translation Id="player_color_not_found" Value="{0} doesn't have a color selected!" />
  <Translation Id="your_color_not_found" Value="You don't have a color selected!" />
</Translations>

Commands and permissions


/color /color <name of color>

Permissions: color

Buy colors!


/removecolor /removecolor [<player>]

Permissions: removecolor

Remove your color (no refunds!)


Git changelog


88e959d3e261a0c 2019-07-22 01:41:52

Upload MIT LICENSE

  • RocketMod Harbor requirement + Update .gitignore

0b560d33505fdbf 2019-06-27 03:51:30

Add version log on load

    68c793637818c77 2019-06-27 03:49:34

    Add version number

      898b9e252ef1605 2019-06-07 02:14:26

      Big update & Code cleanup

      • Updated libs, updated to NET 4.6.1, made events async to reduce lag, updated command syntax, fixed missing config entry, refactored MySQLUtils

      44445fa7bee87e9 2019-04-27 21:40:49

      Change UnityEngine.CoreModule.dll to not be only local copy

        ff966943601e5fa 2019-04-27 21:38:23

        Update libs

          d703fd7df8083f2 2018-11-11 20:23:44

          Typo