Allow admins to bypass the max rtp distance

This commit is contained in:
zontreck 2025-03-07 11:53:57 -07:00
parent 700de94ffe
commit c5c605d057
4 changed files with 25 additions and 4 deletions

View file

@ -22,7 +22,7 @@ namespace AriasServerUtils
{ CooldownType.RTP, "30s" },
{ CooldownType.Back, "5s" }
};
private static readonly int CURRENT_VERSION = 4;
private static readonly int CURRENT_VERSION = 5;
public int Version { get; set; } = 0;
@ -30,9 +30,10 @@ namespace AriasServerUtils
public bool AdminsBypassMaxHomes { get; set; } = true;
public bool onlyAdminsCreateWarps { get; set; } = true;
public bool AdminsBypassCooldowns { get; set; } = true;
public bool AdminsBypassRTPMaxDistance { get; set; } = false;
public int MaxBackCache { get; set; } = 10;
public int PlayerSleepingPercentage { get; set; } = 50;
public int MaxRTPBlockDistance { get; set; } = 5000;
public int MaxRTPBlockDistance { get; set; } = 50000;
public Dictionary<CooldownType, string> Cooldowns { get; set; } = new Dictionary<CooldownType, string>();
public Dictionary<CooldownType, string> GetDefaultCooldowns()