Setup for The Enhanced Network

This commit is contained in:
D1GQ committed 2024-09-15 23:08:01 -05:00
1 parent fbd3efc8cc
commit 82d4201727
5 files changed
+17 -15

No files matched your search

+2
View File
@@ -58,6 +58,7 @@ internal class MainMenuPatch
string creditsTextTitle = "<size=150%><color=#0dff00><b>-=Mod Credits=-</b></color></size>\n";
string creditsText = "<size=75%>◆ <color=#0088ff>Head Developer</color>: <b>D1GQ</b></size>";
/*
if (creditsButton == null)
{
creditsButton = CreateButton(
@@ -70,6 +71,7 @@ internal class MainMenuPatch
},
"Mod Credits"); //"Credits"
}
*/
if (gitHubButton == null)
{
+2 -2
View File
@@ -31,8 +31,8 @@ public class PingTrackerPatch
}
sb.Append($"<color=#00dbdb><size=75%>BetterAmongUs {Main.GetVersionText(true)}</size></color>\n");
// sb.Append("<size=68%><color=#8040bf>By</color> <color=#bc4345>The Enhanced Network</color></size>\n");
sb.Append($"<size=50%><color=#b5b5b5>{Main.Github}</color></size>\n");
sb.Append("<size=68%><color=#8040bf>By</color> <color=#bc4345>The Enhanced Network</color></size>\n");
/// sb.Append($"<size=50%><color=#b5b5b5>{Main.Github}</color></size>\n");
if (Main.BetterHost.Value && GameStates.IsHost)
{
+2 -2
View File
@@ -18,8 +18,8 @@ BetterAmongUs comes packed with a variety of features designed to improve your g
#
<size=150%>Issues & Bugs</size>
#
- If you encounter any issues or have feedback, please report them on our <nobr><link="https://github.com/D1GQ/BetterAmongUs-Public/issues">Github Issues Page</nobr></link> or Bug Reports channel in the <nobr><link="https://discord.gg/a3eVJHp9p5">BAU Discord Server</nobr></link>.
- If you encounter any issues or have feedback, please report them on our <nobr><link="https://github.com/EnhancedNetwork/BetterAmongUs-Public/issues">Github Issues Page</nobr></link> or Bug Reports channel in the <nobr><link="https://discord.gg/ten">TEN Discord Server</nobr></link>.
#
Thank you for your support, and we hope you enjoy the new features of <b>BetterAmongUs</b>!
#
<size=150%><nobr><link="https://discord.gg/vjYrXpzNAn">Discord</nobr></link> </size> <size=150%><nobr><link="https://github.com/D1GQ/BetterAmongUs-Public">Github</nobr></link> </size>
<size=150%><nobr><link="https://discord.gg/ten">Discord</nobr></link> </size> <size=150%><nobr><link="https://github.com/EnhancedNetwork/BetterAmongUs-Public">Github</nobr></link> </size>
+2 -2
View File
@@ -40,8 +40,8 @@ Added list of Better Settings
#
<size=150%>Issues & Bugs</size>
#
- If you encounter any issues or have feedback, please report them on our <nobr><link="https://github.com/D1GQ/BetterAmongUs-Public/issues">Github Issues Page</nobr></link> or Bug Reports channel in the <nobr><link="https://discord.gg/a3eVJHp9p5">BAU Discord Server</nobr></link>.
- If you encounter any issues or have feedback, please report them on our <nobr><link="https://github.com/EnhancedNetwork/BetterAmongUs-Public/issues">Github Issues Page</nobr></link> or Bug Reports channel in the <nobr><link="https://discord.gg/ten">TEN Discord Server</nobr></link>.
#
Thank you for your support, and we hope you enjoy the new features of <b>BetterAmongUs</b>!
#
<size=150%><nobr><link="https://discord.gg/vjYrXpzNAn">Discord</nobr></link> </size> <size=150%><nobr><link="https://github.com/D1GQ/BetterAmongUs-Public">Github</nobr></link> </size>
<size=150%><nobr><link="https://discord.gg/ten">Discord</nobr></link> </size> <size=150%><nobr><link="https://github.com/EnhancedNetwork/BetterAmongUs-Public">Github</nobr></link> </size>
+9 -9
View File
@@ -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}";