From 82d4201727d4b0fe8ff09bd2e9cb3acce9100c83 Mon Sep 17 00:00:00 2001 From: D1GQ Date: Sun, 15 Sep 2024 23:08:01 -0500 Subject: [PATCH] Setup for The Enhanced Network --- Patches/MainMenuPatch.cs | 2 ++ Patches/PingTrackerPatch.cs | 4 ++-- Resources/ModNews/BAU.v.1.0.0.txt | 4 ++-- Resources/ModNews/BAU.v1.1.0.txt | 4 ++-- main.cs | 18 +++++++++--------- 5 files changed, 17 insertions(+), 15 deletions(-) diff --git a/Patches/MainMenuPatch.cs b/Patches/MainMenuPatch.cs index c54a34e..cfd3d1a 100644 --- a/Patches/MainMenuPatch.cs +++ b/Patches/MainMenuPatch.cs @@ -58,6 +58,7 @@ internal class MainMenuPatch string creditsTextTitle = "-=Mod Credits=-\n"; string creditsText = "◆ Head Developer: D1GQ"; + /* if (creditsButton == null) { creditsButton = CreateButton( @@ -70,6 +71,7 @@ internal class MainMenuPatch }, "Mod Credits"); //"Credits" } + */ if (gitHubButton == null) { diff --git a/Patches/PingTrackerPatch.cs b/Patches/PingTrackerPatch.cs index 4a64ef4..a842b59 100644 --- a/Patches/PingTrackerPatch.cs +++ b/Patches/PingTrackerPatch.cs @@ -31,8 +31,8 @@ public class PingTrackerPatch } sb.Append($"BetterAmongUs {Main.GetVersionText(true)}\n"); - // sb.Append("By The Enhanced Network\n"); - sb.Append($"{Main.Github}\n"); + sb.Append("By The Enhanced Network\n"); + /// sb.Append($"{Main.Github}\n"); if (Main.BetterHost.Value && GameStates.IsHost) { diff --git a/Resources/ModNews/BAU.v.1.0.0.txt b/Resources/ModNews/BAU.v.1.0.0.txt index 828a9e8..a409a50 100644 --- a/Resources/ModNews/BAU.v.1.0.0.txt +++ b/Resources/ModNews/BAU.v.1.0.0.txt @@ -18,8 +18,8 @@ BetterAmongUs comes packed with a variety of features designed to improve your g # Issues & Bugs # -- If you encounter any issues or have feedback, please report them on our Github Issues Page or Bug Reports channel in the BAU Discord Server. +- If you encounter any issues or have feedback, please report them on our Github Issues Page or Bug Reports channel in the TEN Discord Server. # Thank you for your support, and we hope you enjoy the new features of BetterAmongUs! # -Discord Github +Discord Github diff --git a/Resources/ModNews/BAU.v1.1.0.txt b/Resources/ModNews/BAU.v1.1.0.txt index 629eab0..feb0777 100644 --- a/Resources/ModNews/BAU.v1.1.0.txt +++ b/Resources/ModNews/BAU.v1.1.0.txt @@ -40,8 +40,8 @@ Added list of Better Settings # Issues & Bugs # -- If you encounter any issues or have feedback, please report them on our Github Issues Page or Bug Reports channel in the BAU Discord Server. +- If you encounter any issues or have feedback, please report them on our Github Issues Page or Bug Reports channel in the TEN Discord Server. # Thank you for your support, and we hope you enjoy the new features of BetterAmongUs! # -Discord Github +Discord Github diff --git a/main.cs b/main.cs index 83ff931..6303393 100644 --- a/main.cs +++ b/main.cs @@ -14,7 +14,7 @@ namespace BetterAmongUs; public enum ReleaseTypes : int { Release, - Canary, + Beta, Dev, } @@ -23,14 +23,14 @@ public enum ReleaseTypes : int public class Main : BasePlugin { public const ReleaseTypes ReleaseBuildType = ReleaseTypes.Release; - public const string CanaryNum = "0"; + public const string BetaNum = "0"; public const string HotfixNum = "2"; public const bool IsHotFix = true; - public const string PluginGuid = "com.d1gq.betteramongus"; + public const string PluginGuid = "com.ten.betteramongus"; public const string PluginVersion = "1.1.2"; - public const string ReleaseDate = "09.12.2024"; // mm/dd/yyyy - public const string Github = "https://github.com/D1GQ/BetterAmongUs-Public"; - public const string Discord = "https://discord.gg/vjYrXpzNAn"; + public const string ReleaseDate = "09.15.2024"; // mm/dd/yyyy + public const string Github = "https://github.com/EnhancedNetwork/BetterAmongUs-Public"; + public const string Discord = "https://discord.gg/ten"; public static string modSignature { @@ -46,7 +46,7 @@ public class Main : BasePlugin var versionData = new StringBuilder() .Append(Enum.GetName(typeof(ReleaseTypes), ReleaseBuildType)) - .Append(CanaryNum) + .Append(BetaNum) .Append(HotfixNum) .Append(PluginGuid) .Append(GetVersionText().Replace(" ", ".")) @@ -70,8 +70,8 @@ public class Main : BasePlugin if (ReleaseBuildType == ReleaseTypes.Release) text = $"v{BetterAmongUsVersion}"; - else if (ReleaseBuildType == ReleaseTypes.Canary) - text = $"v{BetterAmongUsVersion}{newLineText}Canary {Main.CanaryNum}"; + else if (ReleaseBuildType == ReleaseTypes.Beta) + text = $"v{BetterAmongUsVersion}{newLineText}Beta {Main.BetaNum}"; else if (Main.ReleaseBuildType == ReleaseTypes.Dev) text = $"v{BetterAmongUsVersion}{newLineText}Dev {Main.ReleaseDate}";