Merge branch 'general-devel' into patch-21
This commit is contained in:
commit
94939bc050
6 changed files with 12 additions and 5 deletions
|
|
@ -41,7 +41,7 @@ namespace TShockAPI.Configuration
|
|||
|
||||
/// <summary>The path to the directory where logs should be written to.</summary>
|
||||
[Description("The path to the directory where logs should be written to.")]
|
||||
public string LogPath = "tshock";
|
||||
public string LogPath = "tshock/logs";
|
||||
|
||||
/// <summary>Whether or not the server should output debug level messages related to system operation.</summary>
|
||||
[Description("Whether or not the server should output debug level messages related to system operation.")]
|
||||
|
|
|
|||
|
|
@ -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(",",
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ namespace TShockAPI
|
|||
/// <summary>LogFormat - This is the log format, which is never set again.</summary>
|
||||
private static string LogFormat = LogFormatDefault;
|
||||
/// <summary>LogPathDefault - The default log path.</summary>
|
||||
private const string LogPathDefault = "tshock";
|
||||
private const string LogPathDefault = "tshock/logs";
|
||||
/// <summary>This is the log path, which is initially set to the default log path, and then to the config file log path later.</summary>
|
||||
private static string LogPath = LogPathDefault;
|
||||
/// <summary>LogClear - Determines whether or not the log file should be cleared on initialization.</summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue