POT: add server rules setting (#403)
This commit is contained in:
parent
39fd5fdc9c
commit
0927ca1df3
@ -78,6 +78,19 @@
|
||||
"DefaultValue":"AMP_Powered_POT_Server",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server Rules",
|
||||
"Category":"POT Server Settings",
|
||||
"Description":"Sets the server rules displayed and that must be accepted when players first join the server. Refer to these [formatting instructions](https://github.com/Alderon-Games/pot-community-servers/wiki/Setting-up-Rules#formatting)",
|
||||
"Keywords":"rules",
|
||||
"FieldName":"Rules",
|
||||
"InputType":"Textarea",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"Rules",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"<title>Server Rules</>\n<red>1 - Please only attack Camptos.</>\nCamptosauruses are very evil!\n\n<orange>2 - Corpse Cove is closed due to dirty water.</>\n\nThese are the only rules on this server!\n<large>Thanks, and have fun!</>",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Welcome Message",
|
||||
"Category":"POT Server Settings",
|
||||
|
@ -23,5 +23,18 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"ConfigFile":"PathOfTitans/Saved/Rules.txt",
|
||||
"ConfigType":"kvp",
|
||||
"ConfigFormat":"{0}{1}",
|
||||
"Subsections":[
|
||||
{
|
||||
"Heading":"$root",
|
||||
"SettingMappings":{
|
||||
"":"Rules"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user