advertisement.json 示例
{
"Admins":[xxxxxxxxxxxxxxxxx], //填写SteamID64,如果你要多加管理员请用英文逗号隔开
"Ads": [
{
"Interval": 35, //广告滚动时间间隔
"Messages": [
{
"Chat": "IP: {RED}{IP}:{PORT}",// 聊天栏广告内容
"Center": "Server name: {SERVERNAME}" // 中下方广告内容
},
{
"Chat": "Chat Advertising 3",
"Center": "Center Advertising 2"
}
]
},
{
"Interval": 40,
"Messages": [
{
"Chat": "Chat Advertising 2"
//你只能写 "Chat" 或 "Center".
},
{
"Chat": "{RED}Chat {BLUE}Advertising {GREEN}4"
}
]
}
],
"Panel":[
"<font color='#ff00ff'>Panel Advertising 1</font>", // 面板广告内容,只在每回合最后结束时显示
"Panel Advertising 2",
"Panel Advertising 3"
]
}
聊天颜色代码: {DEFAULT}, {RED}, {LIGHTPURPLE}, {GREEN}, {LIME}, {LIGHTGREEN}, {LIGHTRED}, {GRAY}, {LIGHTOLIVE}, {OLIVE}, {LIGHTBLUE}, {BLUE}, {PURPLE}, {GRAYBLUE}
面板颜色示例: <font color='HEXCOLOR'>TEXT</font>
TAGS:
{MAP} - 当前地图
{TIME} - 服务器时间
{DATE} - 当前日期
{SERVERNAME} - 服务器名称
{IP} - 服务器IP
{PORT} - 服务器端口
\n - 换行
命令
css_advert_reload - 重新加载配置。仅适用于在配置中指定的那些参数