This is a very simple and easy tutorial, and it's most likely made for the people who are new at emulation. I dont know how many 'new people (at emulation' there are here but there'll probably come more and more, so i thought this could be useful, and i wanted to contribute with something.
First of all make sure you have autobroadcast turned on.
Open worldserver.conf, and search for "autobroadcast" and you'll find something as this:
Now you see this: AutoBroadcast.On = 0 (Turn it on to 1) like this:
AutoBroadcast.On = 1
You'll see AutoBroadcast.Timer = 60000 as well. It's time in seconds before your autobroadcast text should be shown. 60000 - (60 seconds)
Now open your database using HeidiSQL or whatever you use.
Open your world database.
Find autobroadcast table.
Add the text you want.
You could use it for notifying the players about something, remember them to vote or whatever it could be.
Now it'll display like:
[Autobroadcast] "Please remember to vote"
But you want to change the [Autobroadcast] to your server name. No problems, what you will be doing is:
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|c00077766NameHere|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|c00077766EmuDevs|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';
And now you'll be seeing the results:
If you want to change the [EmuDevs] color, then look down here:
|cffffff00[|c00077766||CC0000EmuDevs|cffffff00]: |cFFF222FF%s|r (Original code)
Then do this:
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|EditthistoyourcolourEmuDevs|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';
UPDATE `trinity_string` SET `content_default` = '|cffffff00[|cffff6060EmuDevs|cffffff00]: |cFFF222FF%s|r' where `entry` = '11000';
Now you might wonder how you can change the color of your text, basiclly you'll be going into autobroadcast database again, finding ID one for example, clicking on the text table, and infront of the text you wrote, you'll be adding the color code.
|cff00ccffPlease remember to vote for EmuDevs
Now the "Please remember to vote for EmuDevs" will be light blue.
Some color codes:
Credits for the color codes goes to "unknown"
IF you use another Emulator than trinity, lets say arkcore or arcemu check your table name, your table name ends with string, as arkcore it is arkcore_string, as arcemu it would be something as arcemu_string (double check it) & once you found out the table name, edit all the "trinity_string" to your string table name.
__________________________________________________ __________________________________________________ __________________________________________________ ______________
I hope this is useful, and if you find some typo mistake or something else, please let me know.