From a345587bd08649311d4d3fb0433ce5f1358dfc01 Mon Sep 17 00:00:00 2001 From: stacey <57187883+moisterrific@users.noreply.github.com> Date: Fri, 12 Jun 2020 19:18:44 -0400 Subject: [PATCH 1/3] Add spawnpets perm to trustedadmin & owner Also fix a few formatting inconsistencies that was the result from editing on mobile --- TShockAPI/DB/GroupManager.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/TShockAPI/DB/GroupManager.cs b/TShockAPI/DB/GroupManager.cs index 1462411d..a1b4ca50 100644 --- a/TShockAPI/DB/GroupManager.cs +++ b/TShockAPI/DB/GroupManager.cs @@ -77,7 +77,7 @@ namespace TShockAPI.DB Permissions.whisper, Permissions.wormhole, Permissions.canpaint, - Permissions.pylon)); + Permissions.pylon)); AddDefaultGroup("vip", "default", string.Join(",", @@ -125,7 +125,7 @@ namespace TShockAPI.DB Permissions.tppos, Permissions.tpsilent, Permissions.userinfo, - Permissions.spawn)); + Permissions.spawn)); AddDefaultGroup("trustedadmin", "admin", string.Join(",", @@ -158,7 +158,8 @@ namespace TShockAPI.DB Permissions.startdd2, Permissions.uploaddata, Permissions.uploadothersdata, - Permissions.journey_timefreeze, + Permissions.spawnpets, + Permissions.journey_timefreeze, Permissions.journey_timeset, Permissions.journey_timespeed, Permissions.journey_godmode, @@ -170,7 +171,7 @@ namespace TShockAPI.DB Permissions.journey_setdifficulty, Permissions.journey_biomespreadfreeze, Permissions.journey_setspawnrate, - Permissions.journey_contributeresearch)); + Permissions.journey_contributeresearch)); AddDefaultGroup("owner", "trustedadmin", string.Join(",", From c7d5b14edcd83fa85952d8b9406edc0e28420c1c Mon Sep 17 00:00:00 2001 From: stacey <57187883+moisterrific@users.noreply.github.com> Date: Sat, 13 Jun 2020 10:35:43 -0400 Subject: [PATCH 2/3] Added spawnpets perms to trustedadmin & owner --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1d1f9fc..4aee940f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * Adding GolfBallItemIDs list in Handlers.LandGolfBallInCupHandler.cs * Fixed an issue in the SendTileSquare handler that was rejecting valid tile objects (@QuiCM) * Fixed the issue where players were unable to place regular ropes because of the valid placement being caught in Bouncer OnTileEdit. (@Patrikkk) +* Added pet license usage permissions to `trustedadmin` and `owner` groups. Do note that this has a high network usage and can be easily be abused so it is not recommended to give out this permission to lower level groups. ## TShock 4.4.0 (Pre-release 11) * New permission `tshock.tp.pylon` to enable teleporting via Teleportation Pylons (@QuiCM) From 5b44c9dd84041c9d5471f5a28089607df36b7c8a Mon Sep 17 00:00:00 2001 From: stacey <57187883+moisterrific@users.noreply.github.com> Date: Sat, 13 Jun 2020 10:41:02 -0400 Subject: [PATCH 3/3] Fix formatting...again --- TShockAPI/DB/GroupManager.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TShockAPI/DB/GroupManager.cs b/TShockAPI/DB/GroupManager.cs index a1b4ca50..ceb8e433 100644 --- a/TShockAPI/DB/GroupManager.cs +++ b/TShockAPI/DB/GroupManager.cs @@ -77,7 +77,7 @@ namespace TShockAPI.DB Permissions.whisper, Permissions.wormhole, Permissions.canpaint, - Permissions.pylon)); + Permissions.pylon)); AddDefaultGroup("vip", "default", string.Join(",", @@ -125,7 +125,7 @@ namespace TShockAPI.DB Permissions.tppos, Permissions.tpsilent, Permissions.userinfo, - Permissions.spawn)); + Permissions.spawn)); AddDefaultGroup("trustedadmin", "admin", string.Join(",", @@ -159,7 +159,7 @@ namespace TShockAPI.DB Permissions.uploaddata, Permissions.uploadothersdata, Permissions.spawnpets, - Permissions.journey_timefreeze, + Permissions.journey_timefreeze, Permissions.journey_timeset, Permissions.journey_timespeed, Permissions.journey_godmode, @@ -171,7 +171,7 @@ namespace TShockAPI.DB Permissions.journey_setdifficulty, Permissions.journey_biomespreadfreeze, Permissions.journey_setspawnrate, - Permissions.journey_contributeresearch)); + Permissions.journey_contributeresearch)); AddDefaultGroup("owner", "trustedadmin", string.Join(",",