diff --git a/.gitmodules b/.gitmodules index a5435efd..10e01496 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ -[submodule "TerrariaServerAPI"] +[submodule "TShockScaffoldAPI"] path = TerrariaServerAPI url = https://github.com/NyxStudios/TerrariaAPI-Server.git ignore = dirty diff --git a/CHANGELOG.md b/CHANGELOG.md index 580245a2..a918504a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * Added permissions for using Teleportation Potions, Magic Conch, and Demon Conch. (@drunderscore) * `tshock.tp.tppotion`, `tshock.tp.magicconch`, and `tshock.tp.demonconch` respectively. * Updated HealOtherPlayer damage check to make more sense by respecting `ignoredamagecap` permission. (@moisterrific) +* Added preliminary support for Terraria 1.4.2.3 (@moisterrific, @Moneylover3246, @DeathCradle) +* Added celebration mk2 explosive to explosives ItemID set in TSAPI. Solves #2304. (@Quinci135) +* TShock now writes its log files to the `logs` folder inside the `tshock` folder by default, as opposed to just the `tshock` folder. (@QuiCM) +* The default MOTD is now prettier. The MOTD format can now contain `%specifier%` to send the command specifier. (@moisterrific) ## TShock 4.5.2 * Added preliminary support for Terraria 1.4.2.2. (@hakusaro) diff --git a/TShockAPI/Configuration/TShockConfig.cs b/TShockAPI/Configuration/TShockConfig.cs index 0f1139e6..ed78bb53 100644 --- a/TShockAPI/Configuration/TShockConfig.cs +++ b/TShockAPI/Configuration/TShockConfig.cs @@ -41,7 +41,7 @@ namespace TShockAPI.Configuration /// The path to the directory where logs should be written to. [Description("The path to the directory where logs should be written to.")] - public string LogPath = "tshock"; + public string LogPath = "tshock/logs"; /// Whether or not the server should output debug level messages related to system operation. [Description("Whether or not the server should output debug level messages related to system operation.")] diff --git a/TShockAPI/DB/GroupManager.cs b/TShockAPI/DB/GroupManager.cs index e8610421..3bc66adb 100644 --- a/TShockAPI/DB/GroupManager.cs +++ b/TShockAPI/DB/GroupManager.cs @@ -77,7 +77,10 @@ namespace TShockAPI.DB Permissions.whisper, Permissions.wormhole, Permissions.canpaint, - Permissions.pylon)); + Permissions.pylon, + Permissions.tppotion, + Permissions.magicconch, + Permissions.demonconch)); AddDefaultGroup("vip", "default", string.Join(",", diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index c60e5961..48c9bfe8 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -68,7 +68,7 @@ namespace TShockAPI /// LogFormat - This is the log format, which is never set again. private static string LogFormat = LogFormatDefault; /// LogPathDefault - The default log path. - private const string LogPathDefault = "tshock"; + private const string LogPathDefault = "tshock/logs"; /// This is the log path, which is initially set to the default log path, and then to the config file log path later. private static string LogPath = LogPathDefault; /// LogClear - Determines whether or not the log file should be cleared on initialization. diff --git a/TerrariaServerAPI b/TerrariaServerAPI index 96c1bc95..27b27553 160000 --- a/TerrariaServerAPI +++ b/TerrariaServerAPI @@ -1 +1 @@ -Subproject commit 96c1bc95fe7526b294f65dc711a1494b5869c9ea +Subproject commit 27b275538bffb1f0fcb8b9c1830bc715373f5da1