Release 1.0.2

This commit is contained in:
zontreck 2025-01-18 16:14:51 -07:00
parent 737c51989b
commit 1f43ffaa6c
2 changed files with 6 additions and 6 deletions

View file

@ -125,10 +125,10 @@ namespace AriasServerUtils
.WithDescription("Lists all Aria's Server Utils commands") .WithDescription("Lists all Aria's Server Utils commands")
.EndSubCommand(); .EndSubCommand();
api.ChatCommands.Create("setwarp").RequiresPlayer().WithDescription("Creates a new server warp").HandleWith(Events.HandleWarpUpdate).WithArgs(parsers.OptionalWord("name")); api.ChatCommands.Create("setwarp").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Creates a new server warp").WithArgs(parsers.OptionalWord("name")).HandleWith(Events.HandleWarpUpdate);
api.ChatCommands.Create("warp").RequiresPlayer().WithDescription("Warp to the specified server warp").HandleWith(Events.HandleWarp).WithArgs(parsers.OptionalWord("name")); api.ChatCommands.Create("warp").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Warp to the specified server warp").WithArgs(parsers.OptionalWord("name")).HandleWith(Events.HandleWarp);
api.ChatCommands.Create("delwarp").RequiresPlayer().WithDescription("Deletes the specified warp").HandleWith(Events.HandleWarpDelete).WithArgs(parsers.OptionalWord("name")); api.ChatCommands.Create("delwarp").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Deletes the specified warp").WithArgs(parsers.OptionalWord("name")).HandleWith(Events.HandleWarpDelete);
api.ChatCommands.Create("warps").RequiresPlayer().WithDescription("Lists all server warps").HandleWith(Events.HandleWarpList); api.ChatCommands.Create("warps").RequiresPlayer().RequiresPrivilege(Privilege.chat).WithDescription("Lists all server warps").HandleWith(Events.HandleWarpList);
} }
private void OnPlayerDC(IServerPlayer byPlayer) private void OnPlayerDC(IServerPlayer byPlayer)

View file

@ -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-18-2025 @ 04:10 PM", "description": "A collection of server utilities\n\nBuild Date: 01-18-2025 @ 04:14 PM",
"version": "1.0.1-dev.2", "version": "1.0.2",
"dependencies": { "dependencies": {
"game": "" "game": ""
} }