Begin adding RTP

Part of #2
This commit is contained in:
zontreck 2025-03-06 09:36:38 -07:00
parent 1f5458b8b1
commit 740801bd96
3 changed files with 10 additions and 3 deletions

View file

@ -12,7 +12,7 @@ namespace AriasServerUtils
{
internal static TextCommandResult HandleASU(TextCommandCallingArgs args)
{
return TextCommandResult.Success(Lang.Get($"{ServerUtilities.MOD_ID}:help", ServerUtilities.config.MaxHomes, ServerUtilities.config.AdminsBypassMaxHomes, ServerUtilities.config.MaxBackCache, string.Join(", ", new string[] { "setspawn", "spawn", "delspawn", "sethome", "home", "delhome", "homes", "restoreinv", "asu", "warp", "setwarp", "delwarp", "warps", "back" })));
return TextCommandResult.Success(Lang.Get($"{ServerUtilities.MOD_ID}:help", ServerUtilities.config.MaxHomes, ServerUtilities.config.AdminsBypassMaxHomes, ServerUtilities.config.MaxBackCache, string.Join(", ", new string[] { "setspawn", "spawn", "delspawn", "sethome", "home", "delhome", "homes", "restoreinv", "asu", "warp", "setwarp", "delwarp", "warps", "back", "rtp" })));
}
internal static TextCommandResult HandleBack(TextCommandCallingArgs args)
@ -39,6 +39,11 @@ namespace AriasServerUtils
return TextCommandResult.Success(Lang.Get($"{ServerUtilities.MOD_ID}:rmspawn"));
}
internal static TextCommandResult HandleRTP(TextCommandCallingArgs args)
{
return TextCommandResult.Success();
}
internal static TextCommandResult HandleDelHome(TextCommandCallingArgs args)
{
string homeName = "default";