update version, and add support for renaming default rank names through ClanTagCommands.json
This commit is contained in:
@ -3,18 +3,36 @@ using SharedLibraryCore.Interfaces;
|
||||
|
||||
namespace ClanTagRankApi
|
||||
{
|
||||
internal class Configuration : IBaseConfiguration
|
||||
public class Configuration : IBaseConfiguration
|
||||
{
|
||||
internal const string _name = "IW4MAdmin";
|
||||
|
||||
public int RestartTimerLength { get; set; }
|
||||
public string WARNING { get; set; }
|
||||
public string User { get; set; }
|
||||
public string Trusted { get; set; }
|
||||
public string Moderator { get; set; }
|
||||
public string Admin { get; set; }
|
||||
public string SeniorAdmin { get; set; }
|
||||
public string Owner { get; set; }
|
||||
public string Creator { get; set; }
|
||||
public string Console { get; set; }
|
||||
|
||||
|
||||
public IBaseConfiguration Generate()
|
||||
{
|
||||
//this.RestartTimerLength = Utilities.PromptInt("How long in seconds until a server is killed after it is empty?", (string)null, 60, 86400, new int?(43200));
|
||||
this.WARNING = "Do Not Exceed 8 characters, names will be truncated.";
|
||||
this.User = "User";
|
||||
this.Trusted = "Trusted";
|
||||
this.Moderator = "Mod";
|
||||
this.Admin = "Admin";
|
||||
this.SeniorAdmin = "SrAdmin";
|
||||
this.Owner = "Owner";
|
||||
this.Creator = "Creator";
|
||||
this.Console = "Console";
|
||||
return (IBaseConfiguration)this;
|
||||
}
|
||||
|
||||
string IBaseConfiguration.Name() => "ClanTagRankApi";
|
||||
string IBaseConfiguration.Name() => "ClanTagRankCommands";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user