This is my logic hopefully you can understand. I'm trying to do something like this...
<color=#00ffffff>player</color>, nil, rust.UserIDFromPlayer(player)
The issue im having how do I make a config that has a customisable color on a line to line basis (each line you can custom the color). I can create a plugin that ends with:
But I'm looking to create an easier config so I can set the color code for each line seperately and associate their profile so their icon shows.
Creating config for chat with customizable colors?
Discussion in 'Rust Development' started by JohnRU, Jul 23, 2015.
-
Calytic Community Admin Community Mod
You can use the LoadDefaultConfig method to create a default configuration and use the Config property of your plugin to access the configuration options from the rest of your code. I'm not sure what you mean when you say making each line a different color with configuration. Why not just pick the color randomly? How many colors do you intend to configure?
-
This might be what you're looking for, it's highly customizable.
http://oxidemod.org/plugins/better-chat.979/

![[IMG]](proxy.php?image=http%3A%2F%2Fi.imgur.com%2FfPgAzzN.png&hash=eba89c91347dc3dacbeebd3aeb0353d8)