generated from AriasCreations/vsmodtemplate
parent
1f5458b8b1
commit
740801bd96
3 changed files with 10 additions and 3 deletions
|
@ -150,6 +150,8 @@ namespace AriasServerUtils
|
||||||
api.ChatCommands.Create("warps").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Lists all server warps").HandleWith(Events.HandleWarpList);
|
api.ChatCommands.Create("warps").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Lists all server warps").HandleWith(Events.HandleWarpList);
|
||||||
|
|
||||||
api.ChatCommands.Create("back").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Returns you to the last location you were at").HandleWith(Events.HandleBack);
|
api.ChatCommands.Create("back").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Returns you to the last location you were at").HandleWith(Events.HandleBack);
|
||||||
|
|
||||||
|
api.ChatCommands.Create("rtp").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Seeks a position possibly thousands of blocks away to teleport to.").HandleWith(Events.HandleRTP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace AriasServerUtils
|
||||||
{
|
{
|
||||||
internal static TextCommandResult HandleASU(TextCommandCallingArgs args)
|
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)
|
internal static TextCommandResult HandleBack(TextCommandCallingArgs args)
|
||||||
|
@ -39,6 +39,11 @@ namespace AriasServerUtils
|
||||||
return TextCommandResult.Success(Lang.Get($"{ServerUtilities.MOD_ID}:rmspawn"));
|
return TextCommandResult.Success(Lang.Get($"{ServerUtilities.MOD_ID}:rmspawn"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static TextCommandResult HandleRTP(TextCommandCallingArgs args)
|
||||||
|
{
|
||||||
|
return TextCommandResult.Success();
|
||||||
|
}
|
||||||
|
|
||||||
internal static TextCommandResult HandleDelHome(TextCommandCallingArgs args)
|
internal static TextCommandResult HandleDelHome(TextCommandCallingArgs args)
|
||||||
{
|
{
|
||||||
string homeName = "default";
|
string homeName = "default";
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"modid": "ariasserverutils",
|
"modid": "ariasserverutils",
|
||||||
"name": "Aria's Server Utilities",
|
"name": "Aria's Server Utilities",
|
||||||
"authors": ["zontreck"],
|
"authors": ["zontreck"],
|
||||||
"description": "A collection of server utilities\n\nBuild Date: 01-20-2025 @ 12:38 AM MST",
|
"description": "A collection of server utilities\n\nBuild Date: 03-06-2025 @ 9:36 AM MST",
|
||||||
"version": "1.0.4-dev.1",
|
"version": "1.0.4-dev.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"game": ""
|
"game": ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue