diff --git a/path-of-titansconfig.json b/path-of-titansconfig.json index 980ac75..a2cf87a 100644 --- a/path-of-titansconfig.json +++ b/path-of-titansconfig.json @@ -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":"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", diff --git a/path-of-titansmetaconfig.json b/path-of-titansmetaconfig.json index c77e967..db9e577 100644 --- a/path-of-titansmetaconfig.json +++ b/path-of-titansmetaconfig.json @@ -23,5 +23,18 @@ } } ] - } + }, + { + "ConfigFile":"PathOfTitans/Saved/Rules.txt", + "ConfigType":"kvp", + "ConfigFormat":"{0}{1}", + "Subsections":[ + { + "Heading":"$root", + "SettingMappings":{ + "":"Rules" + } + } + ] + } ]