Primal Carnage: Extinction

Primal Carnage: Extinction

Not enough ratings
Colored MOTD and Announcement
By Xen
Make your colored MOTD and Announcement for your Primal Carnage: Extinction servers.
   
Award
Favorite
Favorited
Unfavorite
How to make a colored Announcement or MOTD?
To making your colored Announcement or MOTD, you must know HTML tags. Because you will use HTML tags for your colored announcement or MOTD.

Max Character Lengths
  • Max Announcement length: 270
  • Max MOTD length: 504

Unfortunately, HTML tags are included to character length, so you must calculate your message's length by including HTML tags.

For users who don't know HTML, here's an online HTML editor: https://html-online.com/editor/ (Don't copy paste, just try to learn)

Or here's a few tags for MOTD and Announcement:
Tag
Description
<font>
The <font> tag specifies the font face, font size, and color of text.
<b>
The <b> tag specifies bold text.
<br>
The <br> tag inserts a single line break.
<u>
The <u> tag represents some text that should be stylistically different from normal text, such as misspelled words or proper nouns in Chinese. In short, we can call this tag as an underline.

Available parameters for <font> tag
Parameter
Value Type
Description
Usage
size
Number
Specifies the size of text.
<font size="15">Ahem</font>
color
Hex Color Code
Specifies the color of text.
<font color="#ffffff">Colored Message</font>

Examples
  • <font color="#0080dd">MESSAGE HERE</font>
  • <font size="20">MESSAGE HERE</font>



How to generate a Hex color?
This website will help you: https://www.w3schools.com/colors/colors_picker.asp
Or this website: https://rgbcolorcode.com

Can I use a colored announcement on console?
Yes you can. But as we mentioned in timed announcements, you must do the same things for this. Use \" instead of using ".

Examples? oh right...
  • AdminAnnounce "<font color=\"#42dcf4\" size=\"20\">This is my colored announcement.</font>"
  • AdminAnnounce "<font color=\"#f48c41\">This is my colored announcement.</font>"
  • AdminAnnounce "<font color=\"#f44141\">This<font color=\"#f4bb41\"> is<font color=\"#c7f441\"> my<font color=\"#4cf441\"> colored<font color=\"#41f4d6\" size=\"20\"> announcement.</font>"


Note
You must use \" instead of " in Announcement tags. Otherwise your HTML tags won't work, or directly announcement. So, if your tag is like this <font color="#ffffff"> and if you are going to use it on your announcements, you must type it like <font color=\"#ffffff\">
Configuration File
For Hosted Servers
Go to the directory of the config file. (..\steamapps\common\Primal Carnage Extinction\PrimalCarnageGame\config)


For Rented Servers
First of all, be sure about that the hosting service is allowing you to modify the configuration file.

After this, find the configuration files page.
How to make a colored MOTD?
Open PrimalCarnageGame.ini and find this section:
[PrimalCarnageGame.PCBaseInWorldGameReplicationInfo]

You will be able to see a key called MOTD under the section that you've found. You must type your MOTD with HTML tags to there. And don't forget that your MOTD's length can not be bigger than 504 characters. If you would try to type more than 504 characters, your MOTD won't work.


Examples
MOTD
Description
"<font color="#00ed72">This is my example MOTD! </font>"
Shows this colored message when a player joins.
"<font color="#00ed72" size="20">This is my example MOTD! </font>"
Shows this colored message when a player joins.
"<font color="#0c60ce">This<br>is<br>my<br>example<br>MOTD!<br></font>"
Shows this colored message when a player joins.
"<font color="#0c60ce" size="20">This<br>is<br>my<br>example<br>MOTD!<br></font>"
Shows this colored message when a player joins.
"<font color="#e27500">This</font><font color="#d6e200"> is</font><font color="#003edd"> my</font><font color="#00dd6a"> example</font><font color="#0080dd"> MOTD!</font>"
Shows this colored message when a player joins.

Our server's MOTD is: "<br><font color="#1fa8f2" size="15">Hello, welcome to our server.</font><br><font color="#f9074f">Like in every other server,<br>this server has rules too, a few basic rules,</font><br><font color="#8cc117">do not annoy anyone</font><font color="#f907e1"> and </font><font color="#ffae00">please be kind.</font><br><font color="#ff5f0f">Steam Group Name: </font><font color="#00ff6a" size="14"><u>Lox Game Studio</u></font><br><font color="#ff4c00" size="15">Have fun!</font>"
How to make a colored and timed Announcement?
Open PrimalCarnageGame.ini and find this section:
[PrimalCarnageGame.PCBaseInWorldGameInfo]

After this, you must add your timed announcement.
For example: TimedAnnouncements=(Message="This is my timed announcement!", Delay=1)
Delay=1 means "Send this announcement every 1 second". 1 = 1 second.

You can add your HTML tags to your timed announcement now. But don't forget that, you must use \" instead of using " in tag's arguments.

Examples
Timed Announcement
Description
TimedAnnouncements=(Message="This is my timed announcement!", Delay=5)
Sends this message to the server chat as an announcement every 5 seconds.
TimedAnnouncements=(Message="<font color=\"#2e516b\">This is my timed</font><font color=\"#100cff\" size=\"20\"> announcement!</font>", Delay=8)
Sends this message to the server chat as an announcement every 8 seconds.

Our server's announcement is: TimedAnnouncements=(Message="<font color=\"#4bf442\" size=\"15\">Thank you </font><font color=\"#e3ed31\" size=\"15\">for </font><font color=\"#f46d00\" size=\"15\">choosing us.</font><font color=\"#f40000\" size=\"19\"><br><u>Have Fun!</u></font>", Delay=740)
Is there any way to add more than one timed announcement?
Yes, you must add your timed announcements line by line.

For example: If you have 2 timed announcements, it must be like this:
TimedAnnouncements=(Message="<font color=\"#4bf442\" size=\"15\">My timed announcement.</font>", Delay=740) TimedAnnouncements=(Message="<font color=\"#ff3f00\">My timed announcement 2.</font>", Delay=600)
Need help? We've got your back!
If you have a problem or a question, do not hesitate to contact us.
4 Comments
TheSlayerNL 29 Dec, 2019 @ 1:10am 
According to the Server Console, the max length of Timed Announcement is 260, unless it shows 270 as well.
Sad Hilter 26 Jul, 2018 @ 11:09am 
işime yaradı eline sağlık.
♀❤️FluffyRappy❤️♀ 22 May, 2018 @ 8:09am 
Nesi gg oldu xD Bence hala güzel ve bunu yayınladığın için teşekkürler.
Bordo Rujlu 21 May, 2018 @ 4:50am 
Reis iyi güzel emek harcamışsında, PCE gg oldu be...