Forum CS2D - Community Scripts CS2D Serverinfo XML exemple

CS2D Serverinfo XML exemple

Post by MâDmâX » 03.07.2023 14:42:39


Since you are able to use XML in the serverinfo.txt file you can use basicly HTML tags. It's needed to be this way style because otherwise there will be a rare bug that causes missing spaces and else.

 

Edit: I belive i found the problem. You should not use & in the server info, it breaks the xml.

 

<?xml version="1.0"?>
<serverinfo>

<br/>
<text size = "30" color = "#FFC800" align = "left">
Welcome, visitor!</text>

<br/> <br/>

<text size = "20" color = "#FFC800" align = "left">
This server is hosted </text>
<text size = "20" color = "#FFC800" align = "left" url = "https://gamerscentral.de">
by GamersCentral.de </text>
<text size = "20" color = "#FFC800" align = "left">
Community.</text><br/>
<br/> <br/>
<text size = "15" color = "#FFFFFF" align = "left">
Rules (you will be banned if you abuse the rules): 
</text><br/>
<text size = "15" color = "#969696" align = "left">
- Do not cheat.</text><br/>
<text size = "15" color = "#969696" align = "left">
- Do not spam.</text><br/>
<text size = "15" color = "#969696" align = "left">
- Do not ads.</text><br/>
<text size = "15" color = "#969696" align = "left">
- Do not be toxic.</text><br/>

<br/> <br/>

<text size = "15" color = "#FFFFFF" align = "left">
Commands:</text><br/>
<text size = "15" color = "#969696" align = "left">
- Press F2 to check the leaderboard.</text><br/>
<text size = "15" color = "#969696" align = "left">
- Type in chat "!name thename" to change your name.
</text><br/>
<text size = "15" color = "#969696" align = "left">
- Type in chat "!rs" to set your score to zero.
</text><br/>
<text size = "15" color = "#969696" align = "left">
- Type in chat "!admins" to see who are the admins.
</text><br/>
<text size = "15" color = "#969696" align = "left">
- Type in chat "!blacklist" to see blacklisted players.
</text><br/>
<text size = "15" color = "#969696" align = "left">
- Type in chat "!banned" to see temp banned players.
</text><br/>
<text size = "15" color = "#969696" align = "left">
- VIP players can use "!votekick id" to start a votekick on a cheater. 
</text>
<text size = "15" color = "#00FF00" align = "left">
NEW!</text>
<text size = "15" color = "#969696" align = "left">
 - 30 min TB
</text><br/>
<text size = "15" color = "#969696" align = "left">
- VIP players can use "!votefow" to start a vote for fog of war. 
</text>
<text size = "15" color = "#00FF00" align = "left">
NEW!
</text><br/>
<text size = "15" color = "#969696" align = "left">
- Admins can use "!demote id" to revoke VIP status from abuser.
</text>

<br/> <br/>

<image 
width = "400" height= "300" color= "#fff" align = "center" source = "gfx\ranks\ranks.png">
</image>  

<br/> <br/>

<text size = "15" color = "#FFFF00" align = "left">
A: How to become VIP?</text><br/>
<text size = "15" color = "#969696" align = "left">
Make apply to become VIP. Or get 1000 kills.
</text>

<br/> <br/>

<text size = "15" color = "#FFFF00" align = "left">
A.1: How to become GC Member?</text><br/>
<text size = "15" color = "#969696" align = "left">
By just joining our Discord Server and pick Member role.</text>

<br/> <br/>

<text size = "15" color = "#FFFF00" align = "left">
A.2: How to become STAFF/Mod/Admin?</text><br/>
<text size = "15" color = "#969696" align = "left">
Firstly you must become Member, and you can make apply to our discord when 
</text><br/>
<text size = "15" color = "#969696" align = "left">
the apply is openend.</text>

<br/> <br/> <br/>

<text size = "15" color = "#FFFFFF" align = "left">
Discord Community:</text><br/>
<text size = "15" color = "#969696" align = "left" url = "https://discord.gg/fgnVqh2">
https://discord.gg/fgnVqh2</text>

<br/> <br/>

<text size = "15" color = "#FFFFFF" align = "left">
Owner:</text><br/>
<text size = "15" color = "#969696" align = "left">
TheFrozenThr0ne</text><br/>

<br/>

</serverinfo>

 


,,I AM A GAMER. NOT BECAUSE I DON'T HAVE A LIFE, BUT BECAUSE I CHOOSE TO HAVE MANY."
User avatar
MâDmâX
Administrator
Forum-Member
 
Posts: 101
Joined: 2020-01-04 01:12:05