class BasicInfo:RustPlugin 
- private StringBuilder sb // String builder
- private ConfigData configData // Configuration
- class ConfigData:BaseConfig // list of rules, commands, discord address, website address; command name configuration for each info response
- - public string ChatPrefixRules // Rules prefix
- - public string ChatPrefixDiscord // Discord prefix
- - public string ChatPrefixWebsite // Website prefix
- - public string ChatPrefixPopulation // Population prefix
- - public string ChatPrefixCommands // Commands prefix
- - public string ChatCommandRules // Rules command name
- - public string ChatCommandDiscord // Discord command name
- - public string ChatCommandWebsite // Website command name
- - public string ChatCommandPopulation // Population command name
- - public string ChatCommandCommands // Commands command name
- - public string[] Rules // Rules
- - public string[] Commands // Commands
- - public string Discord // Discord invite
- - public string Website // Website address
- class BaseConfig
- - public string ToJson() // Serialize current instance
- - public Dictionary<string, object> ToDictionary() // Re-serialize current instance
- protected void LoadDefaultConfig() // Load default configuration
- protected void LoadConfig() // Load configuration; compare if new keys appear in JSON; Print JSON errors if any
- protected void SaveConfig() // Save configuration
- private void Init() // Register commands from configuration
- private void CommandRules(BasePlayer player, string command, stri Provide response in all capital letters, no lowercase letters allowed.
user