Compare commits

...
5 Commits
Author SHA1 Message Date
MV 059dbac2e4 Download Statistics
Added download badges for total and latest downloads.
2026-08-05 21:27:05 +02:00
Ape 95a203b711 v1.9.3 2026-08-05 21:21:23 +02:00
Ape 9c1d8a2943 v1.9.2 BE 2026-08-03 20:02:59 +02:00
Ape 90f0224d54 Whatever 2026-08-01 11:03:12 +02:00
Ape a74f7872e9 1.9.0 2026-08-01 00:10:52 +02:00
36 changed files with 1681 additions and 682 deletions

No files matched your search

+2 -2
View File
@@ -44,9 +44,10 @@ public partial class Main : BasePlugin
public static bool HasArgumentException;
public static string CredentialsText;
public const string ModVersion = "v1.8.4";
public const string ModVersion = "v1.9.3";
public static float GameTimer;
public static float AfkTimer;
public static readonly Dictionary<int, int> SayStartTimes = [];
public static readonly Dictionary<int, int> SayDeniedWordTimes = [];
@@ -110,7 +111,6 @@ public partial class Main : BasePlugin
{
public static void Prefix(ModManager __instance)
{
__instance.ShowModStamp();
LateTask.Update(Time.deltaTime);
}
}
+54 -6
View File
@@ -27,6 +27,7 @@ public static class BanManager
public static string ModeratorListPath = $"{DataPath}/AUR-DATA/Moderator.txt";
public static string AdminListPath = $"{DataPath}/AUR-DATA/Admin.txt";
private static string TemplatePath = $"{DataPath}/AUR-DATA/Templates.txt";
private static string StartWordsPath = $"{DataPath}/AUR-DATA/Startwords.txt";
public static Dictionary<string, string> Templates = new();
public static List<string> TempBanWhiteList = [];
public static void Init()
@@ -42,6 +43,7 @@ public static class BanManager
CheckFile(ModeratorListPath, Translator.Get("moderatorWelcome"), "Moderator.txt");
CheckFile(AdminListPath, Translator.Get("adminWelcome"), "Admin.txt");
CheckFile(TemplatePath, Translator.Get("templateWelcome"), "Templates.txt");
CheckFile(StartWordsPath, Translator.Get("startWordsWelcome"), "StartWords.txt");
LoadTemplates();
@@ -168,12 +170,12 @@ public static class BanManager
public static bool IsWordBanned(PlayerControl player, string input)
{
if (input == "" || !AmongUsClient.Instance.AmHost || Utils.CheckAccessLevel(player.Data.FriendCode) > 0) return false;
if (input == "" || !AmongUsClient.Instance.AmHost || Utils.CheckAccessLevel(player.Data.FriendCode) > 0 || !Options.EnableDeniedWords.GetBool()) return false;
int clientId = player.Data.ClientId;
var bannedWords = File.ReadAllLines(BanWordPath).Where(x => !x.StartsWith("#"));
if (bannedWords.Where(code => !string.IsNullOrWhiteSpace(code)).Any(code => input.Contains(code, StringComparison.OrdinalIgnoreCase)))
if ((Options.DeniedWordsStrength.GetBool() && bannedWords.Where(code => !string.IsNullOrWhiteSpace(code)).Any(code => input.Contains(code, StringComparison.OrdinalIgnoreCase))) || (!Options.DeniedWordsStrength.GetBool() && bannedWords.Where(code => !string.IsNullOrWhiteSpace(code)).Any(code => input.Equals(code, StringComparison.OrdinalIgnoreCase))))
{
if (!Main.SayDeniedWordTimes.ContainsKey(clientId))
@@ -185,9 +187,52 @@ public static class BanManager
if (Main.SayDeniedWordTimes[clientId] >= Options.DeniedWordsToKick.GetInt())
{
AmongUsClient.Instance.KickPlayer(clientId, false);
Logger.Info(Translator.Get("banWordKick", player.Data.PlayerName, Options.DeniedWordsToKick.GetInt()), "DeniedWordKick");
Logger.SendInGame(Translator.Get("banWordKick", player.Data.PlayerName, Options.DeniedWordsToKick.GetInt()));
if (Options.DeniedWordsAsBan.GetBool())
{
AmongUsClient.Instance.KickPlayer(clientId, true);
Logger.SendInGame(Translator.Get("banWordBan", player.Data.PlayerName, Options.DeniedWordsToKick.GetInt()));
}
else
{
AmongUsClient.Instance.KickPlayer(clientId, false);
Logger.SendInGame(Translator.Get("banWordKick", player.Data.PlayerName, Options.DeniedWordsToKick.GetInt()));
}
Logger.Info(Translator.Get("banWordKick", player.Data.PlayerName, Options.DeniedWordsToKick.GetInt()), "DeniedWordKick");
}
return true;
}
else return false;
}
public static bool IsStartWord(PlayerControl player, string input)
{
if (input == "" || !AmongUsClient.Instance.AmHost || Utils.CheckAccessLevel(player.Data.FriendCode) > 0 || !Options.AutoKickStart.GetBool() || !Utils.IsLobby) return false;
int clientId = player.Data.ClientId;
var startWords = File.ReadAllLines(StartWordsPath).Where(x => !x.StartsWith("#"));
if ((Options.AutoKickStartStrength.GetBool() && startWords.Where(code => !string.IsNullOrWhiteSpace(code)).Any(code => input.Contains(code, StringComparison.OrdinalIgnoreCase))) || (!Options.AutoKickStartStrength.GetBool() && startWords.Where(code => !string.IsNullOrWhiteSpace(code)).Any(code => input.Equals(code, StringComparison.OrdinalIgnoreCase))))
{
if (!Main.SayStartTimes.ContainsKey(clientId))
{
Main.SayStartTimes.Add(clientId, 0);
}
Main.SayStartTimes[clientId]++;
if (Main.SayStartTimes[clientId] >= Options.AutoKickStartTimes.GetInt())
{
if (Options.AutoKickStartAsBan.GetBool())
{
AmongUsClient.Instance.KickPlayer(clientId, true);
Logger.SendInGame(Translator.Get("startWordKick", player.Data.PlayerName, Options.AutoKickStartTimes.GetInt()));
}
else
{
AmongUsClient.Instance.KickPlayer(clientId, false);
Logger.SendInGame(Translator.Get("startWordBan", player.Data.PlayerName, Options.AutoKickStartTimes.GetInt()));
}
Logger.Info(Translator.Get("startWordKick", player.Data.PlayerName, Options.AutoKickStartTimes.GetInt()), "StartWordKick");
}
return true;
}
@@ -249,7 +294,8 @@ public static class BanManager
{
Dictionary<string, string> variables = new()
{
{ "ModVersion", Main.ModVersion }
{ "ModVersion", Main.ModVersion },
{ "\\n", Environment.NewLine }
};
foreach (var kvp in variables)
@@ -257,6 +303,8 @@ public static class BanManager
text = text.Replace($"{{{kvp.Key}}}", kvp.Value);
}
text = text.Replace("\\n", Environment.NewLine);
return text;
}
}
+9 -2
View File
@@ -45,7 +45,7 @@ internal static class CommandHelper
new Cmd { Name = new[] { "/s" }, Prompt = "/s", Description = Translator.Get("sDesc"), HasVariable = false },
new Cmd { Name = new[] { "/start" }, Prompt = "/start", Description = Translator.Get("sDesc"), HasVariable = false },
new Cmd { Name = new[] { "/r" }, Prompt = "/r {role}", Description = Translator.Get("rDesc"), HasVariable = true },
new Cmd { Name = new[] { "/r" }, Prompt = "/r", Description = Translator.Get("rDesc"), HasVariable = false },
new Cmd { Name = new[] { "/roles" }, Prompt = "/roles", Description = Translator.Get("rolesDesc"), HasVariable = false },
new Cmd { Name = new[] { "/kick" }, Prompt = "/kick {name}", Description = Translator.Get("kickDesc"), HasVariable = true },
@@ -72,7 +72,14 @@ internal static class CommandHelper
new Cmd { Name = new[] { "/lastgame" }, Prompt = "/lastgame", Description = Translator.Get("lastgameDesc"), HasVariable = false },
new Cmd { Name = new[] { "/t" }, Prompt = "/t {template}", Description = Translator.Get("templateDesc"), HasVariable = true }
new Cmd { Name = new[] { "/t" }, Prompt = "/t {template}", Description = Translator.Get("templateDesc"), HasVariable = true },
new Cmd { Name = new[] { "/seeker" }, Prompt = "/seeker {name}", Description = Translator.Get("seekerDesc"), HasVariable = true },
new Cmd { Name = new[] { "/seekers" }, Prompt = "/seekers", Description = Translator.Get("seekersDesc"), HasVariable = false },
new Cmd { Name = new[] { "/clearseeker" }, Prompt = "/clearseeker", Description = Translator.Get("clearSeekerDesc"), HasVariable = false },
new Cmd { Name = new[] { "/mapvote" }, Prompt = "/mapvote", Description = Translator.Get("mapVoteDesc"), HasVariable = false },
new Cmd { Name = new[] { "/allmapvote" }, Prompt = "/allmapvote", Description = Translator.Get("allMapVoteDesc"), HasVariable = false }
};
[HarmonyPostfix]
+154 -213
View File
@@ -48,7 +48,7 @@ namespace AmongUsRevamped
public static readonly string[] gameModes =
{
"Standard", "0 Kill Cooldown", "Shift And Seek", "Speedrun"
"Standard", "Shift And Seek", "Speedrun"
};
public static readonly string[] accessLevels =
@@ -56,15 +56,13 @@ namespace AmongUsRevamped
Translator.Get("everyone"), Translator.Get("vipAndAbove"), Translator.Get("moderatorAndAbove"), Translator.Get("admin"), Translator.Get("onlyYou")
};
public static readonly string[] crewmateAbilities =
public static readonly string[] afkPenalties =
{
"Mayor", "Workhorse", "Jester", "Tasker", "None"
};
public static readonly string[] impostorAbilities =
{
"Tyrant", "Stealer", "Juggernaut", "None"
Translator.Get("kick"), Translator.Get("ban"), Translator.Get("notifyMe")
};
//System
public static OptionItem Language;
@@ -72,32 +70,57 @@ namespace AmongUsRevamped
public static OptionItem TabGroupMain;
public static OptionItem TabGroupLevelKick;
public static OptionItem EnableKickLowLevelPlayer;
public static OptionItem KickLowLevelPlayer;
public static OptionItem DontKickLevelOnes;
public static OptionItem TempBanLowLevelPlayer;
public static OptionItem EnableKickHighLevelPlayer;
public static OptionItem KickHighLevelPlayer;
public static OptionItem TempBanHighLevelPlayer;
public static OptionItem TabGroupKickInvalidFriendCodes;
public static OptionItem KickInvalidFriendCodes;
public static OptionItem TempBanInvalidFriendCodes;
public static OptionItem TabGroupDeniedWords;
public static OptionItem EnableDeniedWords;
public static OptionItem DeniedWordsToKick;
public static OptionItem DeniedWordsAsBan;
public static OptionItem DeniedWordsStrength;
public static OptionItem TabGroupAutoKickStart;
public static OptionItem AutoKickStart;
public static OptionItem AutoKickStartAsBan;
public static OptionItem AutoKickStartTimes;
public static OptionItem AutoKickStartStrength;
public static OptionItem TabGroupAutomation;
public static OptionItem AutoSendGameInfo;
public static OptionItem AutoRejoinLobby;
public static OptionItem EnableJoinMessages;
public static OptionItem MessagePerPlayerNum;
public static OptionItem AutomaticMapPoll;
public static OptionItem TimeBeforeMapPoll;
public static OptionItem AutomaticAllMapPoll;
public static OptionItem TimeBeforeAllMapPoll;
public static OptionItem TabGroupAutostart;
public static OptionItem AutoStartTimer;
public static OptionItem WaitAutoStart;
public static OptionItem PlayerAutoStart;
public static OptionItem EnableJoinMessages;
public static OptionItem MessagePerPlayerNum;
public static OptionItem Rehost;
public static OptionItem Public;
public static OptionItem TabGroupAfk;
public static OptionItem EnableAfkDetection;
public static OptionItem AfkTimer;
public static OptionItem AfkPenalty;
public static OptionItem OnlyDetectSpawn;
public static OptionItem TabGroupMisc;
public static OptionItem MapVoteDuration;
public static OptionItem StartCountdown;
public static OptionItem ColorCommandLevel;
public static OptionItem AllowFortegreen;
@@ -107,6 +130,7 @@ namespace AmongUsRevamped
public static OptionItem SlashColorCmd;
public static OptionItem SlashRolesAndGamemodeCmd;
public static OptionItem SlashLastGameCmd;
public static OptionItem SlashMapAndSeekerCmd;
public static OptionItem SlashKickCmd;
public static OptionItem SlashBanCmd;
public static OptionItem SlashEndMeetingCmd;
@@ -267,12 +291,10 @@ namespace AmongUsRevamped
public static OptionItem TabGroupHNS;
public static OptionItem NumSeekers;
public static OptionItem TabGroup0Kcd;
public static OptionItem NoKcdSettingsOverride;
public static OptionItem TabGroupSNS;
public static OptionItem SNSSettingsOverride;
public static OptionItem SNSChatInGame;
public static OptionItem SNSChatInGameExtend;
public static OptionItem CrewAutoWinsGameAfter;
public static OptionItem CantKillTime;
public static OptionItem MisfiresToSuicide;
@@ -290,52 +312,6 @@ namespace AmongUsRevamped
public static OptionItem GameAutoEndsAfter;
public static OptionItem EngineerMode;
// Abilities
public static OptionItem TabGroupCrewmate;
public static OptionItem OverrideCrewmate;
public static OptionItem CrewmateAbility;
public static OptionItem OverrideScientist;
public static OptionItem ScientistAbility;
public static OptionItem OverrideEngineer;
public static OptionItem EngineerAbility;
public static OptionItem OverrideNoisemaker;
public static OptionItem NoisemakerAbility;
public static OptionItem OverrideTracker;
public static OptionItem TrackerAbility;
public static OptionItem OverrideDetective;
public static OptionItem DetectiveAbility;
public static OptionItem TabGroupCrewmateAbilities;
public static OptionItem ExtraVotesCrewmate;
public static OptionItem ExtraVotesPerTask;
public static OptionItem SpeedrunnerShortTasks;
public static OptionItem SpeedrunnerLongTasks;
public static OptionItem TabGroupImpostor;
public static OptionItem OverrideImpostor;
public static OptionItem ImpostorAbility;
public static OptionItem OverrideShapeshifter;
public static OptionItem ShapeshifterAbility;
public static OptionItem OverridePhantom;
public static OptionItem PhantomAbility;
public static OptionItem OverrideViper;
public static OptionItem ViperAbility;
public static OptionItem TabGroupImpostorAbilities;
public static OptionItem ExtraVotesImpostor;
public static OptionItem ExtraVotesPerKill;
public static OptionItem KillsNeededForJuggernaut;
public static bool IsLoaded = false;
public static void Load()
@@ -343,130 +319,120 @@ namespace AmongUsRevamped
if (IsLoaded) return;
_ = PresetOptionItem.Create(0, TabGroup.SystemSettings)
.SetColor(new Color32(204, 204, 0, 255))
.SetColor(Color.yellow)
.SetHeader(true);
Gamemode = StringOptionItem.Create(1, Translator.Get("gamemode"), gameModes, 0, TabGroup.SystemSettings, false)
.SetColor(Color.green)
.SetColor(Color.yellow)
.SetHeader(true);
TabGroupMain = TextOptionItem.Create(60000, Translator.Get("tabGroupMain"), TabGroup.SystemSettings)
.SetColor(Color.blue);
DeniedWordsToKick = IntegerOptionItem.Create(60049, Translator.Get("deniedWordsToKick"), new(1, 5, 1), 1, TabGroup.SystemSettings, false)
TabGroupLevelKick = TextOptionItem.Create(60048, Translator.Get("tabGroupLevelKick"), TabGroup.ModerationSettings)
.SetColor(Color.red);
EnableKickLowLevelPlayer = BooleanOptionItem.Create(60049, Translator.Get("enableKickLowLevelPlayer"), false, TabGroup.ModerationSettings, false);
KickLowLevelPlayer = IntegerOptionItem.Create(60050, Translator.Get("kickLowLevelPlayer"), new(0, 100, 1), 0, TabGroup.ModerationSettings, false)
.SetParent(EnableKickLowLevelPlayer)
.SetValueFormat(OptionFormat.Level);
KickLowLevelPlayer = IntegerOptionItem.Create(60050, Translator.Get("kickLowLevelPlayer"), new(0, 100, 1), 0, TabGroup.SystemSettings, false)
TempBanLowLevelPlayer = BooleanOptionItem.Create(60051, Translator.Get("tempBanLowLevelPlayer"), false, TabGroup.ModerationSettings, false)
.SetParent(EnableKickLowLevelPlayer);
DontKickLevelOnes = BooleanOptionItem.Create(60052, Translator.Get("dontKickLevelOnes"), false, TabGroup.ModerationSettings, false)
.SetParent(EnableKickLowLevelPlayer);
EnableKickHighLevelPlayer = BooleanOptionItem.Create(60053, Translator.Get("enableKickHighLevelPlayer"), false, TabGroup.ModerationSettings, false);
KickHighLevelPlayer = IntegerOptionItem.Create(60054, Translator.Get("kickHighLevelPlayer"), new(100, 5000, 50), 1000, TabGroup.ModerationSettings, false)
.SetParent(EnableKickHighLevelPlayer)
.SetValueFormat(OptionFormat.Level);
TempBanLowLevelPlayer = BooleanOptionItem.Create(60051, Translator.Get("tempBanLowLevelPlayer"), false, TabGroup.SystemSettings, false)
.SetParent(KickLowLevelPlayer);
DontKickLevelOnes = BooleanOptionItem.Create(60052, Translator.Get("dontKickLevelOnes"), false, TabGroup.SystemSettings, false)
.SetParent(KickLowLevelPlayer);
TempBanHighLevelPlayer = BooleanOptionItem.Create(60055, Translator.Get("tempBanLowLevelPlayer"), false, TabGroup.ModerationSettings, false)
.SetParent(EnableKickHighLevelPlayer);
KickInvalidFriendCodes = BooleanOptionItem.Create(60080, Translator.Get("kickInvalidFriendCodes"), true, TabGroup.SystemSettings, false);
TempBanInvalidFriendCodes = BooleanOptionItem.Create(60081, Translator.Get("tempBanInvalidFriendCodes"), false, TabGroup.SystemSettings, false)
TabGroupKickInvalidFriendCodes = TextOptionItem.Create(60079, Translator.Get("tabGroupKickInvalidFriendCodes"), TabGroup.ModerationSettings)
.SetColor(Color.red);
KickInvalidFriendCodes = BooleanOptionItem.Create(60080, Translator.Get("kickInvalidFriendCodes"), true, TabGroup.ModerationSettings, false);
TempBanInvalidFriendCodes = BooleanOptionItem.Create(60081, Translator.Get("tempBanInvalidFriendCodes"), false, TabGroup.ModerationSettings, false)
.SetParent(KickInvalidFriendCodes);
AutoKickStart = BooleanOptionItem.Create(60123, Translator.Get("autoKickStart"), false, TabGroup.SystemSettings, false);
AutoKickStartAsBan = BooleanOptionItem.Create(60124, Translator.Get("autoKickStartAsBan"), false, TabGroup.SystemSettings, false)
TabGroupDeniedWords = TextOptionItem.Create(60082, Translator.Get("tabGroupDeniedWords"), TabGroup.ModerationSettings)
.SetColor(Color.red);
EnableDeniedWords = BooleanOptionItem.Create(60083, Translator.Get("enableDeniedWords"), false, TabGroup.ModerationSettings, false);
DeniedWordsAsBan = BooleanOptionItem.Create(60084, Translator.Get("autoKickStartAsBan"), false, TabGroup.ModerationSettings, false)
.SetParent(EnableDeniedWords);
DeniedWordsToKick = IntegerOptionItem.Create(60085, Translator.Get("deniedWordsToKick"), new(1, 5, 1), 1, TabGroup.ModerationSettings, false)
.SetParent(EnableDeniedWords)
.SetValueFormat(OptionFormat.Level);
DeniedWordsStrength = BooleanOptionItem.Create(60086, Translator.Get("autoKickStartStrength"), false, TabGroup.ModerationSettings, false)
.SetParent(EnableDeniedWords);
TabGroupAutoKickStart = TextOptionItem.Create(600122, Translator.Get("tabGroupAutoKickStart"), TabGroup.ModerationSettings)
.SetColor(Color.red);
AutoKickStart = BooleanOptionItem.Create(60123, Translator.Get("autoKickStart"), false, TabGroup.ModerationSettings, false);
AutoKickStartAsBan = BooleanOptionItem.Create(60124, Translator.Get("autoKickStartAsBan"), false, TabGroup.ModerationSettings, false)
.SetParent(AutoKickStart);
AutoKickStartTimes = IntegerOptionItem.Create(60125, Translator.Get("autoKickStartTimes"), new(1, 10, 1), 1, TabGroup.SystemSettings, false)
AutoKickStartTimes = IntegerOptionItem.Create(60125, Translator.Get("autoKickStartTimes"), new(1, 10, 1), 1, TabGroup.ModerationSettings, false)
.SetParent(AutoKickStart)
.SetValueFormat(OptionFormat.Times);
AutoKickStartStrength = BooleanOptionItem.Create(60126, Translator.Get("autoKickStartStrength"), false, TabGroup.SystemSettings, false)
AutoKickStartStrength = BooleanOptionItem.Create(60126, Translator.Get("autoKickStartStrength"), false, TabGroup.ModerationSettings, false)
.SetParent(AutoKickStart);
TabGroupAccess = TextOptionItem.Create(60127, Translator.Get("tabGroupAccess"), TabGroup.ModerationSettings)
.SetColor(Color.red);
SlashColorCmd = StringOptionItem.Create(60128, Translator.Get("slashColorCmd"), accessLevels, 1, TabGroup.ModerationSettings, false);
SlashRolesAndGamemodeCmd = StringOptionItem.Create(60129, Translator.Get("slashRolesAndGamemodeCmd"), accessLevels, 1, TabGroup.ModerationSettings, false);
SlashLastGameCmd = StringOptionItem.Create(60130, Translator.Get("slashLastGameCmd"), accessLevels, 1, TabGroup.ModerationSettings, false);
SlashMapAndSeekerCmd = StringOptionItem.Create(60131, Translator.Get("slashMapAndSeekerCmd"), accessLevels, 1, TabGroup.ModerationSettings, false);
SlashKickCmd = StringOptionItem.Create(60132, Translator.Get("slashKickCmd"), accessLevels, 2, TabGroup.ModerationSettings, false);
SlashBanCmd = StringOptionItem.Create(60133, Translator.Get("slashBanCmd"), accessLevels, 2, TabGroup.ModerationSettings, false);
SlashEndMeetingCmd = StringOptionItem.Create(60134, Translator.Get("slashEndMeetingCmd"), accessLevels, 3, TabGroup.ModerationSettings, false);
SlashStartAndEndGameCmd = StringOptionItem.Create(60135, Translator.Get("slashStartAndEndGameCmd"), accessLevels, 3, TabGroup.ModerationSettings, false);
TabGroupAutomation = TextOptionItem.Create(60149, Translator.Get("tabGroupAutomation"), TabGroup.SystemSettings)
.SetColor(Color.yellow);
AutoSendGameInfo = BooleanOptionItem.Create(60150, Translator.Get("autoSendGameInfo"), true, TabGroup.SystemSettings, false);
AutoRejoinLobby = BooleanOptionItem.Create(60210, Translator.Get("autoRejoinLobby"), false, TabGroup.SystemSettings, false);
AutoStartTimer = IntegerOptionItem.Create(64420, Translator.Get("autoStartTimer"), new(1, 5, 1), 5, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds);
WaitAutoStart = IntegerOptionItem.Create(64421, Translator.Get("waitAutoStart"), new(10, 600, 10), 300, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds);
PlayerAutoStart = IntegerOptionItem.Create(64422, Translator.Get("playerAutoStart"), new(1, 15, 1), 1, TabGroup.SystemSettings, false);
EnableJoinMessages = BooleanOptionItem.Create(64423, Translator.Get("enableJoinMessages"), true, TabGroup.SystemSettings, false);
MessagePerPlayerNum = IntegerOptionItem.Create(64424, Translator.Get("messagePerPlayerNum"), new(1, 15, 1), 5, TabGroup.SystemSettings, false)
AutoRejoinLobby = BooleanOptionItem.Create(60151, Translator.Get("autoRejoinLobby"), false, TabGroup.SystemSettings, false);
EnableJoinMessages = BooleanOptionItem.Create(60152, Translator.Get("enableJoinMessages"), true, TabGroup.SystemSettings, false);
MessagePerPlayerNum = IntegerOptionItem.Create(60153, Translator.Get("messagePerPlayerNum"), new(1, 15, 1), 5, TabGroup.SystemSettings, false)
.SetParent(EnableJoinMessages);
AutomaticMapPoll = BooleanOptionItem.Create(60154, Translator.Get("automaticMapPoll"), false, TabGroup.SystemSettings, false);
TimeBeforeMapPoll = IntegerOptionItem.Create(60155, Translator.Get("timeBeforeMapPoll"), new(10, 300, 5), 10, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds)
.SetParent(AutomaticMapPoll);
AutomaticAllMapPoll = BooleanOptionItem.Create(60156, Translator.Get("automaticAllMapPoll"), false, TabGroup.SystemSettings, false);
TimeBeforeAllMapPoll = IntegerOptionItem.Create(60157, Translator.Get("timeBeforeMapPoll"), new(10, 300, 5), 10, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds)
.SetParent(AutomaticAllMapPoll);
TabGroupMisc = TextOptionItem.Create(60379, Translator.Get("tabGroupMisc"), TabGroup.SystemSettings)
.SetColor(Color.green);
StartCountdown = IntegerOptionItem.Create(60380, Translator.Get("startCountdown"), new(1, 5, 1), 5, TabGroup.SystemSettings, false)
TabGroupAutostart = TextOptionItem.Create(64425, Translator.Get("tabGroupAutostart"), TabGroup.SystemSettings)
.SetColor(Color.yellow);
AutoStartTimer = IntegerOptionItem.Create(64426, Translator.Get("autoStartTimer"), new(1, 5, 1), 5, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds);
AllowFortegreen = BooleanOptionItem.Create(60382, Translator.Get("allowFortegreen"), false, TabGroup.SystemSettings, false);
WaitAutoStart = IntegerOptionItem.Create(64427, Translator.Get("waitAutoStart"), new(10, 600, 10), 300, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds);
PlayerAutoStart = IntegerOptionItem.Create(64428, Translator.Get("playerAutoStart"), new(1, 15, 1), 1, TabGroup.SystemSettings, false);
Rehost = BooleanOptionItem.Create(64429, Translator.Get("rehost"), false, TabGroup.SystemSettings, false);
Public = BooleanOptionItem.Create(64430, Translator.Get("public"), false, TabGroup.SystemSettings, false)
.SetParent(Rehost);
TabGroupAfk = TextOptionItem.Create(60370, Translator.Get("tabGroupAfk"), TabGroup.SystemSettings)
.SetColor(Color.yellow);
EnableAfkDetection = BooleanOptionItem.Create(60371, Translator.Get("enableAfkDetection"), false, TabGroup.SystemSettings, false);
AfkTimer = IntegerOptionItem.Create(60372, Translator.Get("afkTimer"), new(15, 120, 5), 30, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds)
.SetParent(EnableAfkDetection);
AfkPenalty = StringOptionItem.Create(60373, Translator.Get("afkPenalty"), afkPenalties, 0, TabGroup.SystemSettings, false)
.SetParent(EnableAfkDetection);
OnlyDetectSpawn = BooleanOptionItem.Create(60374, Translator.Get("onlyDetectSpawn"), true, TabGroup.SystemSettings, false)
.SetParent(EnableAfkDetection);
TabGroupMisc = TextOptionItem.Create(60378, Translator.Get("tabGroupMisc"), TabGroup.SystemSettings)
.SetColor(Color.yellow);
MapVoteDuration = IntegerOptionItem.Create(60379, Translator.Get("mapVoteDuration"), new(5, 60, 5), 20, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds)
.SetColor(Color.red);
StartCountdown = IntegerOptionItem.Create(60380, Translator.Get("startCountdown"), new(1, 5, 1), 5, TabGroup.SystemSettings, false)
.SetValueFormat(OptionFormat.Seconds)
.SetColor(Color.red);
AllowFortegreen = BooleanOptionItem.Create(60382, Translator.Get("allowFortegreen"), false, TabGroup.SystemSettings, false)
.SetColor(Color.red);
NoGameEnd = BooleanOptionItem.Create(60383, Translator.Get("noGameEnd"), false, TabGroup.SystemSettings, false)
.SetColor(Color.red);
TabGroupAccess = TextOptionItem.Create(60400, Translator.Get("tabGroupAccess"), TabGroup.SystemSettings)
.SetColor(Color.red);
SlashColorCmd = StringOptionItem.Create(60401, Translator.Get("slashColorCmd"), accessLevels, 1, TabGroup.SystemSettings, false);
SlashRolesAndGamemodeCmd = StringOptionItem.Create(60402, Translator.Get("slashRolesAndGamemodeCmd"), accessLevels, 1, TabGroup.SystemSettings, false);
SlashLastGameCmd = StringOptionItem.Create(60403, Translator.Get("slashLastGameCmd"), accessLevels, 1, TabGroup.SystemSettings, false);
SlashKickCmd = StringOptionItem.Create(60405, Translator.Get("slashKickCmd"), accessLevels, 2, TabGroup.SystemSettings, false);
SlashBanCmd = StringOptionItem.Create(60406, Translator.Get("slashBanCmd"), accessLevels, 2, TabGroup.SystemSettings, false);
SlashEndMeetingCmd = StringOptionItem.Create(60407, Translator.Get("slashEndMeetingCmd"), accessLevels, 3, TabGroup.SystemSettings, false);
SlashStartAndEndGameCmd = StringOptionItem.Create(60408, Translator.Get("slashStartAndEndGameCmd"), accessLevels, 3, TabGroup.SystemSettings, false);
// Ability settings
TabGroupCrewmate = TextOptionItem.Create(100000, Translator.Get("tabGroupCrewmate"), TabGroup.AbilitySettings)
.SetColor(CL.Hex("#8cffff"));
CrewmateAbility = StringOptionItem.Create(100001, Translator.Get("crewmateAbility"), crewmateAbilities, 4, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#8cffff"));
ScientistAbility = StringOptionItem.Create(100101, Translator.Get("scientistAbility"), crewmateAbilities, 4, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#8cffff"));
EngineerAbility = StringOptionItem.Create(100201, Translator.Get("engineerAbility"), crewmateAbilities, 4, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#8cffff"));
NoisemakerAbility = StringOptionItem.Create(100301, Translator.Get("noisemakerAbility"), crewmateAbilities, 4, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#8cffff"));
TrackerAbility = StringOptionItem.Create(100401, Translator.Get("trackerAbility"), crewmateAbilities, 4, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#8cffff"));
DetectiveAbility = StringOptionItem.Create(100501, Translator.Get("detectiveAbility"), crewmateAbilities, 4, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#8cffff"));
TabGroupCrewmateAbilities = TextOptionItem.Create(101000, Translator.Get("tabGroupCrewmateAbilities"), TabGroup.AbilitySettings)
.SetColor(CL.Hex("#8cffff"));
ExtraVotesCrewmate = IntegerOptionItem.Create(101001, Translator.Get("extraVotesCrewmate"), new(1, 15, 1), 1, TabGroup.AbilitySettings, false)
.SetValueFormat(OptionFormat.Level);
ExtraVotesPerTask = FloatOptionItem.Create(101002, Translator.Get("extraVotesPerTask"), new(0.25f, 3f, 0.25f), 0.5f, TabGroup.AbilitySettings, false)
.SetValueFormat(OptionFormat.Level);
SpeedrunnerShortTasks = IntegerOptionItem.Create(101003, Translator.Get("speedrunnerShortTasks"), new(0, 15, 1), 4, TabGroup.AbilitySettings, false)
.SetValueFormat(OptionFormat.Level);
SpeedrunnerLongTasks = IntegerOptionItem.Create(101004, Translator.Get("speedrunnerLongTasks"), new(0, 15, 1), 3, TabGroup.AbilitySettings, false)
.SetValueFormat(OptionFormat.Level);
TabGroupImpostor = TextOptionItem.Create(102000, Translator.Get("tabGroupImpostor"), TabGroup.AbilitySettings)
.SetColor(CL.Hex("#ff1919"));
ImpostorAbility = StringOptionItem.Create(100002, Translator.Get("impostorAbility"), impostorAbilities, 3, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#ff1919"));
ShapeshifterAbility = StringOptionItem.Create(102101, Translator.Get("shapeshifterAbility"), impostorAbilities, 3, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#ff1919"));
PhantomAbility = StringOptionItem.Create(102201, Translator.Get("phantomAbility"), impostorAbilities, 3, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#ff1919"));
ViperAbility = StringOptionItem.Create(102301, Translator.Get("viperAbility"), impostorAbilities, 3, TabGroup.AbilitySettings, false)
.SetColor(CL.Hex("#ff1919"));
TabGroupImpostorAbilities = TextOptionItem.Create(103000, Translator.Get("tabGroupImpostorAbilities"), TabGroup.AbilitySettings)
.SetColor(CL.Hex("#ff1919"));
ExtraVotesImpostor = IntegerOptionItem.Create(103001, Translator.Get("extraVotesImpostor"), new(1, 15, 1), 1, TabGroup.AbilitySettings, false)
.SetValueFormat(OptionFormat.Level);
ExtraVotesPerKill = FloatOptionItem.Create(103002, Translator.Get("extraVotesPerKill"), new(0.25f, 3f, 0.25f), 0.5f, TabGroup.AbilitySettings, false)
.SetValueFormat(OptionFormat.Level);
KillsNeededForJuggernaut = IntegerOptionItem.Create(103003, Translator.Get("killsNeededForJuggernaut"), new(3, 15, 1), 7, TabGroup.AbilitySettings, false)
.SetValueFormat(OptionFormat.Level);
// Gamemode Settings
TabGroupHNS = TextOptionItem.Create(70000, Translator.Get("tabGroupHNS"), TabGroup.GamemodeSettings)
@@ -474,14 +440,12 @@ namespace AmongUsRevamped
NumSeekers = IntegerOptionItem.Create(70001, Translator.Get("numSeekers"), new(1, 15, 1), 1, TabGroup.GamemodeSettings, false)
.SetValueFormat(OptionFormat.Level);
TabGroup0Kcd = TextOptionItem.Create(70025, Translator.Get("tabGroup0Kcd"), TabGroup.GamemodeSettings)
.SetColor(Color.red);
NoKcdSettingsOverride = BooleanOptionItem.Create(70026, Translator.Get("noKcdSettingsOverride"), true, TabGroup.GamemodeSettings, false);
TabGroupSNS = TextOptionItem.Create(70050, Translator.Get("tabGroupSNS"), TabGroup.GamemodeSettings)
.SetColor(Color.yellow);
.SetColor(Color.green);
SNSSettingsOverride = BooleanOptionItem.Create(70051, Translator.Get("snsSettingsOverride"), true, TabGroup.GamemodeSettings, false);
SNSChatInGame = BooleanOptionItem.Create(70063, Translator.Get("snsChatInGame"), false, TabGroup.GamemodeSettings, false);
SNSChatInGameExtend = BooleanOptionItem.Create(70064, Translator.Get("snsChatInGameExtend"), false, TabGroup.GamemodeSettings, false)
.SetParent(SNSChatInGame);
CantKillTime = IntegerOptionItem.Create(70053, Translator.Get("cantKillTime"), new(0, 60, 5), 20, TabGroup.GamemodeSettings, false)
.SetValueFormat(OptionFormat.Seconds);
MisfiresToSuicide = IntegerOptionItem.Create(70052, Translator.Get("misfiresToSuicide"), new(1, 10, 1), 2, TabGroup.GamemodeSettings, false);
@@ -511,7 +475,7 @@ namespace AmongUsRevamped
.SetColor(Color.red);
TabGroupSpeedrun = TextOptionItem.Create(70075, Translator.Get("tabGroupSpeedrun"), TabGroup.GamemodeSettings)
.SetColor(Color.blue);
.SetColor(Color.green);
SpeedrunSettingsOverride = BooleanOptionItem.Create(70076, Translator.Get("speedrunSettingsOverride"), true, TabGroup.GamemodeSettings, false);
GameAutoEndsAfter = IntegerOptionItem.Create(70077, Translator.Get("gameAutoEndsAfter"), new(0, 600, 10), 300, TabGroup.GamemodeSettings, false)
.SetValueFormat(OptionFormat.Seconds);
@@ -519,7 +483,7 @@ namespace AmongUsRevamped
// Gameplay Settings
TabGroupSabotages = TextOptionItem.Create(60450, Translator.Get("tabGroupSabotages"), TabGroup.ModSettings)
.SetColor(Color.red);
.SetColor(Color.blue);
DeadImpostorsCanSabotage = BooleanOptionItem.Create(60455, Translator.Get("deadImpostorsCanSabotage"), true, TabGroup.ModSettings, false)
.SetColor(Color.red);
DisableSabotage = BooleanOptionItem.Create(60456, Translator.Get("disableSabotage"), false, TabGroup.ModSettings, false)
@@ -547,100 +511,77 @@ namespace AmongUsRevamped
TabGroupGameplayGeneral = TextOptionItem.Create(60564, Translator.Get("tabGroupGameplayGeneral"), TabGroup.ModSettings)
.SetColor(Color.blue);
DisableAnnoyingMeetingCalls = BooleanOptionItem.Create(60565, Translator.Get("disableAnnoyingMeetingCalls"), false, TabGroup.ModSettings, false)
.SetColor(new Color32(19, 188, 233, byte.MaxValue));
DisableAnnoyingMeetingCalls = BooleanOptionItem.Create(60565, Translator.Get("disableAnnoyingMeetingCalls"), false, TabGroup.ModSettings, false);
ChangeDecontaminationTime = BooleanOptionItem.Create(60550, Translator.Get("changeDecontaminationTime"), false, TabGroup.ModSettings, false)
.SetColor(new Color32(19, 188, 233, byte.MaxValue));
ChangeDecontaminationTime = BooleanOptionItem.Create(60550, Translator.Get("changeDecontaminationTime"), false, TabGroup.ModSettings, false);
DecontaminationTimeOnMiraHQ = FloatOptionItem.Create(60551, Translator.Get("decontaminationTimeOnMiraHQ"), new(0.5f, 10f, 0.25f), 3f, TabGroup.ModSettings, false)
.SetParent(ChangeDecontaminationTime)
.SetValueFormat(OptionFormat.Seconds)
.SetColor(new Color32(19, 188, 233, byte.MaxValue));
.SetValueFormat(OptionFormat.Seconds);
DecontaminationDoorOpenTimeOnMiraHQ = FloatOptionItem.Create(60552, Translator.Get("decontaminationDoorOpenTimeOnMiraHQ"), new(0.5f, 10f, 0.25f), 3f, TabGroup.ModSettings, false)
.SetParent(ChangeDecontaminationTime)
.SetValueFormat(OptionFormat.Seconds)
.SetColor(new Color32(19, 188, 233, byte.MaxValue));
.SetValueFormat(OptionFormat.Seconds);
DecontaminationTimeOnPolus = FloatOptionItem.Create(60553, Translator.Get("decontaminationTimeOnPolus"), new(0.5f, 10f, 0.25f), 3f, TabGroup.ModSettings, false)
.SetParent(ChangeDecontaminationTime)
.SetValueFormat(OptionFormat.Seconds)
.SetColor(new Color32(19, 188, 233, byte.MaxValue));
.SetValueFormat(OptionFormat.Seconds);
DecontaminationDoorOpenTimeOnPolus = FloatOptionItem.Create(60554, Translator.Get("decontaminationDoorOpenTimeOnPolus"), new(0.5f, 10f, 0.25f), 3f, TabGroup.ModSettings, false)
.SetParent(ChangeDecontaminationTime)
.SetValueFormat(OptionFormat.Seconds)
.SetColor(new Color32(19, 188, 233, byte.MaxValue));
.SetValueFormat(OptionFormat.Seconds);
DisableSporeTrigger = BooleanOptionItem.Create(60558, Translator.Get("disableSporeTrigger"), false, TabGroup.ModSettings, false)
.SetColor(new Color32(19, 188, 233, byte.MaxValue));
DisableSporeTrigger = BooleanOptionItem.Create(60558, Translator.Get("disableSporeTrigger"), false, TabGroup.ModSettings, false);
DisableDevices = BooleanOptionItem.Create(22900, Translator.Get("disableDevices"), false, TabGroup.ModSettings, false)
.SetColor(Color.red);
DisableDevices = BooleanOptionItem.Create(22900, Translator.Get("disableDevices"), false, TabGroup.ModSettings, false);
DisableSkeldDevices = BooleanOptionItem.Create(22905, Translator.Get("disableSkeldDevices"), false, TabGroup.ModSettings, false)
.SetParent(DisableDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
DisableSkeldAdmin = BooleanOptionItem.Create(22906, Translator.Get("disableSkeldAdmin"), false, TabGroup.ModSettings, false)
.SetParent(DisableSkeldDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableSkeldDevices);
DisableSkeldCamera = BooleanOptionItem.Create(22907, Translator.Get("disableSkeldCamera"), false, TabGroup.ModSettings, false)
.SetParent(DisableSkeldDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableSkeldDevices);
DisableMiraHQDevices = BooleanOptionItem.Create(22908, Translator.Get("disableMiraHQDevices"), false, TabGroup.ModSettings, false)
.SetParent(DisableDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
DisableMiraHQAdmin = BooleanOptionItem.Create(22909, Translator.Get("disableMiraHQAdmin"), false, TabGroup.ModSettings, false)
.SetParent(DisableMiraHQDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableMiraHQDevices);
DisableMiraHQDoorLog = BooleanOptionItem.Create(22910, Translator.Get("disableMiraHQDoorLog"), false, TabGroup.ModSettings, false)
.SetParent(DisableMiraHQDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableMiraHQDevices);
DisablePolusDevices = BooleanOptionItem.Create(22911, Translator.Get("disablePolusDevices"), false, TabGroup.ModSettings, false)
.SetParent(DisableDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
DisablePolusAdmin = BooleanOptionItem.Create(22912, Translator.Get("disablePolusAdmin"), false, TabGroup.ModSettings, false)
.SetParent(DisablePolusDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisablePolusDevices);
DisablePolusCamera = BooleanOptionItem.Create(22913, Translator.Get("disablePolusCamera"), false, TabGroup.ModSettings, false)
.SetParent(DisablePolusDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisablePolusDevices);
DisablePolusVital = BooleanOptionItem.Create(22914, Translator.Get("disablePolusVital"), false, TabGroup.ModSettings, false)
.SetParent(DisablePolusDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisablePolusDevices);
DisableAirshipDevices = BooleanOptionItem.Create(22915, Translator.Get("disableAirshipDevices"), false, TabGroup.ModSettings, false)
.SetParent(DisableDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
DisableAirshipCockpitAdmin = BooleanOptionItem.Create(22916, Translator.Get("disableAirshipCockpitAdmin"), false, TabGroup.ModSettings, false)
.SetParent(DisableAirshipDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableAirshipDevices);
DisableAirshipRecordsAdmin = BooleanOptionItem.Create(22917, Translator.Get("disableAirshipRecordsAdmin"), false, TabGroup.ModSettings, false)
.SetParent(DisableAirshipDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableAirshipDevices);
DisableAirshipCamera = BooleanOptionItem.Create(22918, Translator.Get("disableAirshipCamera"), false, TabGroup.ModSettings, false)
.SetParent(DisableAirshipDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableAirshipDevices);
DisableAirshipVital = BooleanOptionItem.Create(22919, Translator.Get("disableAirshipVital"), false, TabGroup.ModSettings, false)
.SetParent(DisableAirshipDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableAirshipDevices);
DisableFungleDevices = BooleanOptionItem.Create(22925, Translator.Get("disableFungleDevices"), false, TabGroup.ModSettings, false)
.SetParent(DisableDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
DisableFungleVital = BooleanOptionItem.Create(22927, Translator.Get("disableFungleVital"), false, TabGroup.ModSettings, false)
.SetParent(DisableFungleDevices)
.SetColor(new Color32(255, 153, 153, byte.MaxValue));
.SetParent(DisableFungleDevices);
TabGroupTasks = TextOptionItem.Create(22995, Translator.Get("tabGroupTasks"), TabGroup.ModSettings)
.SetColor(Color.yellow);
.SetColor(Color.blue);
TaskPercentNeededToWin = IntegerOptionItem.Create(22996, Translator.Get("taskPercentNeededToWin"), new(30, 100, 5), 100, TabGroup.ModSettings, false)
.SetColor(new Color32(255, 255, 153, byte.MaxValue))
.SetValueFormat(OptionFormat.Percent);
AllPlayersSameTasks = BooleanOptionItem.Create(22998, Translator.Get("allPlayersSameTasks"), false, TabGroup.ModSettings, false)
.SetColor(new Color32(255, 255, 153, byte.MaxValue));
OverrideTaskSettings = BooleanOptionItem.Create(22999, Translator.Get("overrideTaskSettings"), false, TabGroup.ModSettings, false)
.SetColor(new Color32(255, 255, 153, byte.MaxValue));
AllPlayersSameTasks = BooleanOptionItem.Create(22998, Translator.Get("allPlayersSameTasks"), false, TabGroup.ModSettings, false);
OverrideTaskSettings = BooleanOptionItem.Create(22999, Translator.Get("overrideTaskSettings"), false, TabGroup.ModSettings, false);
DisableMiraTasks = BooleanOptionItem.Create(23000, Translator.Get("disableMiraTasks"), false, TabGroup.ModSettings, false)
.SetColor(new Color32(173, 216, 230, byte.MaxValue))
+5 -3
View File
@@ -7,9 +7,11 @@ using UnityEngine;
namespace AmongUsRevamped;
// It was a fun ride, but this won't last.
// Edit: WE ARE SO BACK
// Edit 2: Hello old friend. It's time to go again.
public static class AbilityManagement
{
/*
public static bool IsMayor(PlayerControl player)
{
if (player.Data.RoleType == RoleTypes.Crewmate && Options.CrewmateAbility.GetValue() == 0 ||
@@ -179,7 +181,7 @@ public static class AbilityManagement
}, 6.6f, "SendRoleMessage");
}
}
/*
public static class CustomRoleManagement
{
public static Dictionary<byte, string> PlayerRoles = new Dictionary<byte, string>();
@@ -380,5 +382,5 @@ public static class CustomRoleManagement
}
return string.Join("\n", lines);
}
}
*/
*/
}
+21
View File
@@ -201,4 +201,25 @@ internal class EACR
return true;
}
}
public static void VentCheat(PlayerControl player, Vent __instance)
{
AmongUsClient.Instance.KickPlayer(player.Data.ClientId, true);
Logger.SendInGame($"{player.Data.PlayerName} was banned for invalid venting (cheating)");
Logger.Info($" {player.Data.PlayerName} was banned for invalid venting", "EACR");
}
public static void PlayAnimationCheat(PlayerControl player)
{
AmongUsClient.Instance.KickPlayer(player.Data.ClientId, true);
Logger.SendInGame($"{player.Data.PlayerName} was banned for an invalid animation (cheating)");
Logger.Info($" {player.Data.PlayerName} was banned for an invalid animation", "EACR");
}
public static void TaskCheat(PlayerControl player)
{
AmongUsClient.Instance.KickPlayer(player.Data.ClientId, true);
Logger.SendInGame($"{player.Data.PlayerName} was banned for invalidly completing a task (cheating)");
Logger.Info($" {player.Data.PlayerName} was banned for invalidly completing a task", "EACR");
}
}
+95 -21
View File
@@ -9,11 +9,27 @@ namespace AmongUsRevamped;
[HarmonyPatch(typeof(InnerNetClient), nameof(InnerNetClient.FixedUpdate))]
public static class FixedUpdate
{
public static readonly Dictionary<string, Vector2> SpawnRange = new()
{
["Skeld"] = new(-0.8f, 1.2f),
["Mira"] = new(-4.4f, 2.4f),
["MiraMeeting"] = new(23.9f, 2.6f),
["Polus"] = new(16.6f, -1.1f),
["PolusMeeting"] = new(19.5f, -16.9f),
["AirshipMeeting"] = new(11f, 15.3f),
["Fungle"] = new(-9.8f, 1.8f),
["FungleMeetings"] = new(-3.1f, -1.3f)
};
public static float Range = 4f;
public static Dictionary<byte, Vector2> Position = new Dictionary<byte, Vector2>();
public static void Postfix()
{
if (Utils.InGame && !Utils.IsMeeting && !ExileController.Instance)
{
Main.GameTimer += Time.fixedDeltaTime;
Main.AfkTimer += Time.fixedDeltaTime;
}
GameObject n = GameObject.Find("NewRequestInactive");
@@ -30,6 +46,77 @@ public static class FixedUpdate
if (!AmongUsClient.Instance.AmHost) return;
DisableDevice.FixedUpdate();
if (Main.AfkTimer >= Options.AfkTimer.GetInt())
{
Main.AfkTimer = 0;
if (!Options.EnableAfkDetection.GetBool()) return;
foreach (var p in PlayerControl.AllPlayerControls)
{
if (p.Data == null || p == PlayerControl.LocalPlayer) continue;
Vector2 newPos = p.GetTruePosition();
if (Options.OnlyDetectSpawn.GetBool() && !IsSpawn(newPos))
{
Position[p.PlayerId] = newPos;
continue;
}
if (Position.TryGetValue(p.PlayerId, out Vector2 oldPos))
{
if (Vector2.Distance(oldPos, newPos) < 0.05f)
{
switch (Options.AfkPenalty.GetValue())
{
case 0:
AmongUsClient.Instance.KickPlayer(p.Data.ClientId, false);
Logger.Info(Translator.Get("afkKick", p.Data.PlayerName, Options.AfkTimer.GetInt()), "AfkManagement");
Logger.SendInGame(Translator.Get("afkKick", p.Data.PlayerName, Options.AfkTimer.GetInt()));
break;
case 1:
AmongUsClient.Instance.KickPlayer(p.Data.ClientId, true);
Logger.Info(Translator.Get("afkBan", p.Data.PlayerName, Options.AfkTimer.GetInt()), "AfkManagement");
Logger.SendInGame(Translator.Get("afkBan", p.Data.PlayerName, Options.AfkTimer.GetInt()));
break;
case 2:
Logger.Info(Translator.Get("afkNotify", p.Data.PlayerName, Options.AfkTimer.GetInt()), "AfkManagement");
Logger.SendInGame(Translator.Get("afkNotify", p.Data.PlayerName, Options.AfkTimer.GetInt()));
break;
}
}
}
Position[p.PlayerId] = p.GetTruePosition();
}
}
}
private static bool IsSpawn(Vector2 pos)
{
switch (Utils.GetActiveMapId())
{
case 0:
return Vector2.Distance(pos, SpawnRange["Skeld"]) <= Range;
case 1:
return Vector2.Distance(pos, SpawnRange["Mira"]) <= Range || Vector2.Distance(pos, SpawnRange["MiraMeeting"]) <= Range;
case 2:
return Vector2.Distance(pos, SpawnRange["Polus"]) <= Range || Vector2.Distance(pos, SpawnRange["PolusMeeting"]) <= Range;
case 4:
return Vector2.Distance(pos, SpawnRange["AirshipMeeting"]) <= Range;
case 5:
return Vector2.Distance(pos, SpawnRange["Fungle"]) <= Range || Vector2.Distance(pos, SpawnRange["FungleMeetings"]) <= Range;
default:
return true;
}
}
}
@@ -72,18 +159,10 @@ class FixedUpdateInGamePatch
switch (gamemode)
{
case 1: // 0Kc
if (Main.NormalOptions.KillCooldown != 0.01f)
Main.NormalOptions.KillCooldown = 0.01f;
if (Options.NoKcdSettingsOverride.GetBool() && settingsLabel == null)
{
Main.NormalOptions.EmergencyCooldown = 0;
Main.NormalOptions.TaskBarMode = 0;
}
case 0:
break;
case 2: // SnS
case 1: // SnS
if (Main.NormalOptions.KillCooldown != 2.5f)
Main.NormalOptions.KillCooldown = 2.5f;
@@ -91,19 +170,14 @@ class FixedUpdateInGamePatch
Main.NormalOptions.TaskBarMode = 0;
break;
case 3: // Speedrun
break;
case 0: // Reset
if (Main.NormalOptions.KillCooldown <= 0.01f)
Main.NormalOptions.KillCooldown = 25f;
case 2: // Speedrun
break;
}
if (Utils.InGame && !Utils.IsMeeting && !ExileController.Instance)
{
// 2 = Shift and Seek
if (Options.Gamemode.GetValue() == 2 && !Utils.isHideNSeek && Options.CrewAutoWinsGameAfter.GetInt() != 0 && !Options.NoGameEnd.GetBool())
// 1 = Shift and Seek
if (Options.Gamemode.GetValue() == 1 && !Utils.isHideNSeek && Options.CrewAutoWinsGameAfter.GetInt() != 0 && !Options.NoGameEnd.GetBool())
{
if (Main.GameTimer > Options.CrewAutoWinsGameAfter.GetInt())
{
@@ -114,8 +188,8 @@ class FixedUpdateInGamePatch
NormalGameEndChecker.CheckWinnerText("SnSTimer");
}
}
// 3 = Speedrun
if (Options.Gamemode.GetValue() == 3 && !Utils.isHideNSeek && Options.GameAutoEndsAfter.GetInt() != 0 && !Options.NoGameEnd.GetBool())
// 2 = Speedrun
if (Options.Gamemode.GetValue() == 2 && !Utils.isHideNSeek && Options.GameAutoEndsAfter.GetInt() != 0 && !Options.NoGameEnd.GetBool())
{
if (Main.GameTimer > Options.GameAutoEndsAfter.GetInt())
{
@@ -123,7 +197,7 @@ class FixedUpdateInGamePatch
Utils.CustomWinnerEndGame(PlayerControl.LocalPlayer, 0);
Logger.Info($" No one won because the game took longer than {Options.GameAutoEndsAfter.GetInt()}s", "SpeedrunManager");
NormalGameEndChecker.CheckWinnerText("NoOneWin");
NormalGameEndChecker.CheckWinnerText("NoOneWinsSpeedrun");
}
}
}
+1 -1
View File
@@ -214,8 +214,8 @@ namespace AmongUsRevamped
public enum TabGroup
{
SystemSettings,
ModerationSettings,
//CustomRoleSettings,
AbilitySettings,
ModSettings,
GamemodeSettings,
+27
View File
@@ -0,0 +1,27 @@
using InnerNet;
using UnityEngine;
using System;
using AmongUs.GameOptions;
namespace AmongUsRevamped
{
[HarmonyPatch(typeof(InnerNetClient), nameof(InnerNetClient.DisconnectInternal))]
public static class DisconnectManager
{
public static bool Rehosting;
public static void Prefix(InnerNetClient __instance, DisconnectReasons reason, string stringReason)
{
Logger.Info($" Disconnected due to {reason}/{stringReason}, ping:{__instance.Ping})", "DisconnectManager");
if (!Options.Rehost.GetBool() || reason == DisconnectReasons.NewConnection || reason == DisconnectReasons.ConnectionLimit || reason == DisconnectReasons.ExitGame) return;
_ = new LateTask(() =>
{
Rehosting = true;
PSManager.Instance.CreateGame(GameModes.Normal);
Logger.Info(Translator.Get("rehostSuccess"), "DisconnectManager");
}, 5f, "RehostManager");
}
}
}
+5 -3
View File
@@ -13,7 +13,9 @@ public static class Translator
English,
Italian,
SimplifiedChinese,
Spanish
Spanish,
Japanese,
Russian
}
private static readonly Dictionary<SupportedLangs, Dictionary<string, string>> _languages = new();
@@ -29,12 +31,12 @@ public static class Translator
try
{
string path = $"{BanManager.DataPath}/Language/YourLanguage.txt";
string path = Path.Combine(LanguageFolder, "YourLanguage.txt");
if (!File.Exists(path))
{
Logger.Warn($" Creating a new language file", "Translator");
File.WriteAllText(path, "# In this file you can set your Among Us Revamped language.\n# To set the language, replace the 'English' text below with the language you want to select.\n# Supported languages: English, Spanish, SimplifiedChinese, Italian\n\nEnglish");
File.WriteAllText(path, "# In this file you can set your Among Us Revamped language.\n# To set the language, replace the 'English' text below with the language you want to select.\n# Supported languages: English, Spanish, SimplifiedChinese, Italian, Japanese, Russian\n\nEnglish");
}
string l = File.ReadAllLines(path).FirstOrDefault(x => !string.IsNullOrWhiteSpace(x) && !x.StartsWith("#"))?.Trim() ?? "English";
+97 -8
View File
@@ -73,8 +73,8 @@ public static class Utils
{
case TabGroup.SystemSettings:
return Translator.Get("systemSettings");
case TabGroup.AbilitySettings:
return Translator.Get("abilitySettings");
case TabGroup.ModerationSettings:
return Translator.Get("moderationSettings");
case TabGroup.ModSettings:
return Translator.Get("gameplaySettings");
case TabGroup.GamemodeSettings:
@@ -204,17 +204,17 @@ public static class Utils
HandlingGameEnd = false;
OnGameJoinedPatch.AutoStartCheck = false;
Main.GameTimer = 0f;
Main.AfkTimer = 0f;
FixedUpdate.Position.Clear();
NormalGameEndChecker.canUpdateWinnerText = true;
MurderPlayerPatch.misfireCount.Clear();
MurderPlayerPatch.killCount.Clear();
LateTask.Tasks.Clear();
LateTask.Tasks.RemoveAll(x => x.name != "RehostManager");
NormalGameEndChecker.ImpCheckComplete = false;
CreateOptionsPickerPatch.SetDleks2 = false;
CanCallMeetings = true;
AbilityManagement.HandlingRoleMessages = false;
PlayerControlSetRolePatch.FirstAssign = true;
PlayerControlSetRolePatch.Jesters.Clear();
PlayerControlCompleteTaskPatch.playerTasksCompleted.Clear();
PlayerControlCompleteTaskPatch.tasksPerPlayer.Clear();
@@ -225,11 +225,10 @@ public static class Utils
OnPlayerJoinedPatch.JoinNum = 0;
PlayerControlSetRolePatch.Seekers.Clear();
PlayerControlSetRolePatch.Jesters.Clear();
PlayerControlSetRolePatch.FirstAssign = true;
PlayerControlSetRolePatch.manualSeekers.Clear();
OnGameStartPatch.ScheduleExile = false;
CoShowIntroPatch.IntroInitiated = false;
OnGameStartPatch.PastStartScreen = false;
}
public static PlayerControl[] AllAlivePlayerControls
@@ -576,4 +575,94 @@ public static class Utils
}
else return $"<color=#8cffff>{p.Data.RoleType}</color>";
}
public static int skeldVotes;
public static int miraVotes;
public static int polusVotes;
public static int airshipVotes;
public static int fungleVotes;
public static int dleksVotes;
public static bool MapVoteActive;
public static bool DleksEnabled;
public static readonly List<byte> HasVoted = [];
public static void MapVote(bool dleks, bool moderator)
{
if (MapVoteActive) return;
DleksEnabled = dleks;
MapVoteActive = true;
if (dleks && moderator) Utils.ModeratorChatCommand("A map vote is active!\n\nA: Skeld\nB: Mira\nC: Polus\nD: Airship\nE: Fungle\nF: Eht Dleks\n\nType /vote 'letter' to vote.", "", false);
else if (moderator) Utils.ModeratorChatCommand("A map vote is active!\n\nA: The Skeld\nB: Mira HQ\nC: Polus\nD: The Airship\nE: The Fungle\n\nType /vote 'letter' to vote.", "", false);
if (dleks && !moderator) Utils.ChatCommand(DestroyableSingleton<HudManager>.Instance.Chat, "A map vote is active!\n\nA: Skeld\nB: Mira\nC: Polus\nD: Airship\nE: Fungle\nF: Eht Dleks\n\nType /vote 'letter' to vote.", "", false);
else if (!moderator) Utils.ChatCommand(DestroyableSingleton<HudManager>.Instance.Chat, "A map vote is active!\n\nA: The Skeld\nB: Mira HQ\nC: Polus\nD: The Airship\nE: The Fungle\n\nType /vote 'letter' to vote.", "", false);
new LateTask(() =>
{
int highest = skeldVotes;
string winner = "Skeld";
byte mapId = 0;
bool tie = false;
void Check(int votes, string name, byte id)
{
if (votes > highest)
{
highest = votes;
winner = name;
mapId = id;
tie = false;
}
else if (votes == highest)
{
tie = true;
}
}
Check(miraVotes, "Mira HQ", 1);
Check(polusVotes, "Polus", 2);
Check(airshipVotes, "Airship", 4);
Check(fungleVotes, "The Fungle", 5);
if (DleksEnabled) Check(dleksVotes, "Eht Dleks", 3);
string voteResults = $"Skeld: {skeldVotes}\n" + $"Mira: {miraVotes}\n" + $"Polus: {polusVotes}\n" + $"Airship: {airshipVotes}\n" + $"Fungle: {fungleVotes}";
if (DleksEnabled) voteResults += $"\nEht Dleks: {dleksVotes}";
if (highest == 0)
{
ModeratorChatCommand("Lol, no one voted. Hooray for democracy?", "", false);
}
else if (tie)
{
ModeratorChatCommand($"Map vote tied. No new map selected.\n\n{voteResults}", "", false);
}
else
{
ModeratorChatCommand(SendChatPatch.ConvertNum($"Winner: {winner} ({highest})\n\n{voteResults}"), "", false);
if (winner == "Eht Dleks")
{
CreateOptionsPickerPatch.ApplyDleks(Utils.isHideNSeek);
}
else
{
CreateOptionsPickerPatch.ClearDleks();
if (!Utils.isHideNSeek) Main.NormalOptions.MapId = mapId;
else Main.HideNSeekOptions.MapId = mapId;
}
}
skeldVotes = 0;
miraVotes = 0;
polusVotes = 0;
airshipVotes = 0;
fungleVotes = 0;
dleksVotes = 0;
HasVoted.Clear();
MapVoteActive = false;
}, Options.MapVoteDuration.GetInt(), "MapPoll");
}
}
+195 -97
View File
@@ -1,4 +1,5 @@
using Hazel;
using AmongUs.GameOptions;
using Hazel;
using InnerNet;
using System;
using System.IO;
@@ -323,45 +324,122 @@ internal static class SendChatPatch
return false;
}
if (__instance.timeSinceLastMessage < 3f || OnGameJoinedPatch.WaitingForChat || AbilityManagement.HandlingRoleMessages) return false;
if (text.StartsWith("/seeker "))
{
if (!Utils.IsLobby || !Utils.isHideNSeek)
{
__instance.freeChatField.textArea.Clear();
__instance.freeChatField.textArea.SetText(string.Empty);
return false;
}
string argSeeker = text.Substring(8).Trim();
bool found = false;
foreach (PlayerControl p in PlayerControl.AllPlayerControls)
{
if (p.Data == null) continue;
if (p.Data.PlayerName.Equals(argSeeker, StringComparison.OrdinalIgnoreCase))
{
found = true;
PlayerControlSetRolePatch.manualSeekers.Add(p.PlayerId);
break;
}
}
if (found)
{
List<string> names = new();
foreach (PlayerControl pl in PlayerControl.AllPlayerControls)
{
if (PlayerControlSetRolePatch.manualSeekers.Contains(pl.PlayerId)) names.Add(pl.Data.PlayerName);
}
HudManager.Instance.Chat.AddChat(PlayerControl.LocalPlayer, Translator.Get("seekers") + string.Join(", ", names));
}
if (!found)
{
HudManager.Instance.Chat.AddChat(PlayerControl.LocalPlayer, $"Player '{argSeeker}' not found.");
}
__instance.freeChatField.textArea.Clear();
__instance.freeChatField.textArea.SetText(string.Empty);
return false;
}
if (text == "/clearseeker")
{
PlayerControlSetRolePatch.manualSeekers.Clear();
HudManager.Instance.Chat.AddChat(PlayerControl.LocalPlayer, Translator.Get("clearedSeekers"));
__instance.freeChatField.textArea.Clear();
__instance.freeChatField.textArea.SetText(string.Empty);
return false;
}
if (text == "/seekers")
{
List<string> n = new();
foreach (PlayerControl pc in PlayerControl.AllPlayerControls)
{
if (PlayerControlSetRolePatch.manualSeekers.Contains(pc.PlayerId)) n.Add(pc.Data.PlayerName);
}
HudManager.Instance.Chat.AddChat(PlayerControl.LocalPlayer, Translator.Get("seekers") + string.Join(", ", n));
__instance.freeChatField.textArea.Clear();
__instance.freeChatField.textArea.SetText(string.Empty);
return false;
}
if (__instance.timeSinceLastMessage < 3f || OnGameJoinedPatch.WaitingForChat) return false;
if (text == "/mapvote")
{
if (Utils.IsLobby)
{
Utils.MapVote(false, false);
__instance.freeChatField.textArea.Clear();
__instance.freeChatField.textArea.SetText(string.Empty);
return false;
}
}
if (text == "/allmapvote")
{
if (Utils.IsLobby)
{
Utils.MapVote(true, false);
__instance.freeChatField.textArea.Clear();
__instance.freeChatField.textArea.SetText(string.Empty);
return false;
}
}
if (text == "/vote a" && Utils.MapVoteActive && !Utils.HasVoted.Contains(PlayerControl.LocalPlayer.Data.PlayerId)) {Utils.skeldVotes++; Utils.HasVoted.Add(PlayerControl.LocalPlayer.Data.PlayerId);}
if (text == "/vote b" && Utils.MapVoteActive && !Utils.HasVoted.Contains(PlayerControl.LocalPlayer.Data.PlayerId)) {Utils.miraVotes++; Utils.HasVoted.Add(PlayerControl.LocalPlayer.Data.PlayerId);}
if (text == "/vote c" && Utils.MapVoteActive && !Utils.HasVoted.Contains(PlayerControl.LocalPlayer.Data.PlayerId)) {Utils.polusVotes++; Utils.HasVoted.Add(PlayerControl.LocalPlayer.Data.PlayerId);}
if (text == "/vote d" && Utils.MapVoteActive && !Utils.HasVoted.Contains(PlayerControl.LocalPlayer.Data.PlayerId)) {Utils.airshipVotes++; Utils.HasVoted.Add(PlayerControl.LocalPlayer.Data.PlayerId);}
if (text == "/vote e" && Utils.MapVoteActive && !Utils.HasVoted.Contains(PlayerControl.LocalPlayer.Data.PlayerId)) {Utils.fungleVotes++; Utils.HasVoted.Add(PlayerControl.LocalPlayer.Data.PlayerId);}
if (text == "/vote f" && Utils.MapVoteActive && !Utils.HasVoted.Contains(PlayerControl.LocalPlayer.Data.PlayerId) && Utils.DleksEnabled) {Utils.dleksVotes++; Utils.HasVoted.Add(PlayerControl.LocalPlayer.Data.PlayerId);}
if (text == "/l" || text == "/lastgame")
{
if (string.IsNullOrEmpty(NormalGameEndChecker.LastWinReason) || Utils.InGame) return false;
Utils.ChatCommand(__instance, $"{NormalGameEndChecker.LastWinReason}", "", false);
__instance.freeChatField.textArea.Clear();
__instance.freeChatField.textArea.SetText(string.Empty);
return false;
}
if (text == "/r jester"){
Utils.ChatCommand(__instance, "Jester:\n\nThe Jester is a Crewmate who can also win alone by getting voted.", "", false);
return false;}
if (text == "/r mayor"){
Utils.ChatCommand(__instance, $"Mayor:\n\nThe Mayor is a Crewmate with {Options.ExtraVotesCrewmate.GetInt()} additional vote(s). Use them wisely.", "", false);
return false;}
if (text == "/r tyrant"){
Utils.ChatCommand(__instance, $"Tyrant:\n\nThe Tyrant is an Impostor with {Options.ExtraVotesImpostor.GetInt()} additional vote(s). Use them wisely.", "", false);
return false;}
if (text == "/r workhorse"){
Utils.ChatCommand(__instance, $"Workhorse:\n\nThe Workhorse gains {Options.ExtraVotesPerTask.GetInt()} additional vote(s) per completed task. Votes are rounded down.", "", false);
return false;}
if (text == "/r stealer"){
Utils.ChatCommand(__instance, $"Stealer:\n\nThe Stealer gains {Options.ExtraVotesPerKill.GetInt()} additional vote(s) per killed player. Votes are rounded down.", "", false);
return false;}
if (text == "/r juggernaut"){
Utils.ChatCommand(__instance, $"Juggernaut:\n\nThe Impostors instantly win if the Juggernaut gains {Options.KillsNeededForJuggernaut.GetInt()} kills.", "", false);
return false;}
if (text == "/r tasker"){
Utils.ChatCommand(__instance, "Tasker:\n\nThe Crewmates win if the Tasker completes tasks and is alive. The Tasker has more tasks.", "", false);
return false;}
}
if (text == "/aur" || text == "/socials")
{
Utils.ChatCommand(__instance, "AUR socials:\n\ng i t h u b . c o m /\nApeMV/AmongUsRevamped\n\nd i s c o r d . g g /\n83Zhzhyhya", "", false);
Utils.ChatCommand(__instance, "AUR socials:\n\ng i t h u b . c o m /\nApeMV/AmongUsRevamped\n\nd i s c о r d . g g /\n83Zhzhyhya", "", false);
return false;
}
@@ -379,7 +457,7 @@ internal static class SendChatPatch
}
else
{
Utils.ChatCommand(__instance, "Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", $"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide", true);
Utils.ChatCommand(__instance, "Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", ConvertNum($"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide"), true);
}
return false;
}
@@ -395,25 +473,24 @@ internal static class SendChatPatch
switch (Options.Gamemode.GetValue())
{
case 0:
AbilityManagement.SendRoleList(__instance, AbilityManagement.RoleList(), false);
if (GameOptionsManager.Instance.CurrentGameOptions.GetFloat(FloatOptionNames.KillCooldown) == 0.01f)
{
Utils.ChatCommand(__instance, "0 Kill Cooldown:\n\nImpostors have no kill cooldown, Crewmates have low tasks\nThink fast and pay attention!", "", false);
}
break;
case 1:
Utils.ChatCommand(__instance, "0 Kill Cooldown:\n\nImpostors have no kill cooldown, Crewmates have low tasks\nThink fast and pay attention!", "", false);
break;
case 2:
if (Options.MisfiresToSuicide.GetInt() == 1 || Options.CantKillTime.GetInt() == 0)
{
Utils.ChatCommand(__instance, "Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", $"Crewmates win by doing tasks or surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImpostors win by killing everyone\n{Options.MisfiresToSuicide.GetInt()} wrong kill(s) = suicide", true);
}
else
{
Utils.ChatCommand(__instance, "Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", $"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide", true);
Utils.ChatCommand(__instance, "Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", ConvertNum($"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide"), true);
}
break;
case 3:
case 2:
Utils.ChatCommand(__instance, $"Speedrun:\n\nEveryone is a crewmate. The 1st player to finish tasks wins the game. Game auto ends after {Options.GameAutoEndsAfter.GetInt()}s", "", false);
break;
@@ -541,38 +618,55 @@ public static class RPCHandlerPatch
string text = msgtext.ToLower();
Logger.Info($" {__instance.Data.PlayerName}: {msgtext}", "SendChat");
string[] keywords = Options.AutoKickStartStrength.GetBool() ? new[] { "start", "begin", "commence" } : new[] { "start", "begin", "commence", "s t a r t", "go" };
bool c = false;
if (Options.AutoKickStartStrength.GetBool())
{
c = keywords.Any(k => text.Contains(k));
}
else
{
c = keywords.Any(k => text == k);
}
if (c && Utils.CheckAccessLevel(__instance.Data.FriendCode) < 1 && Options.AutoKickStart.GetBool() && !Utils.InGame)
BanManager.IsStartWord(__instance, text);
BanManager.IsWordBanned(__instance, text);
if (text.StartsWith("/seeker ") && Utils.CheckAccessLevel(__instance.Data.FriendCode) >= Options.SlashMapAndSeekerCmd.GetValue())
{
int clientId = __instance.Data.ClientId;
if (!Main.SayStartTimes.ContainsKey(clientId))
Main.SayStartTimes.Add(clientId, 0);
Main.SayStartTimes[clientId]++;
if (Main.SayStartTimes[clientId] >= Options.AutoKickStartTimes.GetInt())
if (!Utils.IsLobby || !Utils.isHideNSeek)
{
bool sBan = Options.AutoKickStartAsBan.GetBool();
AmongUsClient.Instance.KickPlayer(clientId, sBan);
Logger.Info($" {__instance.Data.PlayerName} was {(sBan ? "banned" : "kicked")} for saying start", "KickAnnoyingKids");
Logger.SendInGame($" {__instance.Data.PlayerName} was {(sBan ? "banned" : "kicked")} for saying start");
return;
}
string argSeeker = text.Substring(8).Trim();
bool found = false;
foreach (PlayerControl p in PlayerControl.AllPlayerControls)
{
if (p.Data == null) continue;
if (p.Data.PlayerName.Equals(argSeeker, StringComparison.OrdinalIgnoreCase))
{
found = true;
PlayerControlSetRolePatch.manualSeekers.Add(p.PlayerId);
break;
}
}
if (found)
{
List<string> names = new();
foreach (PlayerControl pl in PlayerControl.AllPlayerControls)
{
if (PlayerControlSetRolePatch.manualSeekers.Contains(pl.PlayerId)) names.Add(pl.Data.PlayerName);
}
HudManager.Instance.Chat.AddChat(PlayerControl.LocalPlayer, Translator.Get("seekers") + string.Join(", ", names));
}
if (!found)
{
HudManager.Instance.Chat.AddChat(PlayerControl.LocalPlayer, $"Player '{argSeeker}' not found.");
}
}
BanManager.IsWordBanned(__instance, text);
if (text == "/clearseeker")
{
if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < Options.SlashMapAndSeekerCmd.GetValue()) return;
PlayerControlSetRolePatch.manualSeekers.Clear();
HudManager.Instance.Chat.AddChat(PlayerControl.LocalPlayer, Translator.Get("clearedSeekers"));
}
bool col1 = text.StartsWith("/col ");
bool col2 = text.StartsWith("/color ");
@@ -638,8 +732,6 @@ public static class RPCHandlerPatch
}
}
if (AbilityManagement.HandlingRoleMessages || OnGameJoinedPatch.WaitingForChat || GameStartManagerUpdatePatch.CountingDown) return;
if (text == "/eg" || text == "/endgame")
{
if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < Options.SlashStartAndEndGameCmd.GetValue()) return;
@@ -663,6 +755,33 @@ public static class RPCHandlerPatch
GameStartManager.Instance.BeginGame();
}
if (OnGameJoinedPatch.WaitingForChat || GameStartManagerUpdatePatch.CountingDown) return;
if (text == "/mapvote")
{
if (Utils.IsLobby)
{
if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < Options.SlashMapAndSeekerCmd.GetValue()) return;
Utils.MapVote(false, true);
}
}
if (text == "/allmapvote")
{
if (Utils.IsLobby)
{
if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < Options.SlashMapAndSeekerCmd.GetValue()) return;
Utils.MapVote(true, true);
}
}
if (text == "/vote a" && Utils.MapVoteActive && !Utils.HasVoted.Contains(__instance.Data.PlayerId)) {Utils.skeldVotes++; Utils.HasVoted.Add(__instance.Data.PlayerId);}
if (text == "/vote b" && Utils.MapVoteActive && !Utils.HasVoted.Contains(__instance.Data.PlayerId)) {Utils.miraVotes++; Utils.HasVoted.Add(__instance.Data.PlayerId);}
if (text == "/vote c" && Utils.MapVoteActive && !Utils.HasVoted.Contains(__instance.Data.PlayerId)) {Utils.polusVotes++; Utils.HasVoted.Add(__instance.Data.PlayerId);}
if (text == "/vote d" && Utils.MapVoteActive && !Utils.HasVoted.Contains(__instance.Data.PlayerId)) {Utils.airshipVotes++; Utils.HasVoted.Add(__instance.Data.PlayerId);}
if (text == "/vote e" && Utils.MapVoteActive && !Utils.HasVoted.Contains(__instance.Data.PlayerId)) {Utils.fungleVotes++; Utils.HasVoted.Add(__instance.Data.PlayerId);}
if (text == "/vote f" && Utils.MapVoteActive && !Utils.HasVoted.Contains(__instance.Data.PlayerId) && Utils.DleksEnabled) {Utils.dleksVotes++; Utils.HasVoted.Add(__instance.Data.PlayerId);}
if (text == "/l" || text == "/lastgame")
{
if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < Options.SlashLastGameCmd.GetValue()) return;
@@ -673,7 +792,7 @@ public static class RPCHandlerPatch
if (text == "/aur" || text == "/socials")
{
if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < Options.SlashLastGameCmd.GetValue()) return;
Utils.ModeratorChatCommand("AUR socials:\n\ng i t h u b . c o m /\nApeMV/AmongUsRevamped\n\nd i s c o r d . g g /\n83Zhzhyhya", "", false);
Utils.ModeratorChatCommand("AUR socials:\n\ng i t h u b . c o m /\nApeMV/AmongUsRevamped\n\nd i s c о r d . g g /\n83Zhzhyhya", "", false);
}
if (text == "/0kc" || text == "/0killcooldown")
@@ -691,7 +810,8 @@ public static class RPCHandlerPatch
}
else
{
Utils.ModeratorChatCommand("Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", $"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide", true);
Utils.ModeratorChatCommand("Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", SendChatPatch.ConvertNum($"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide"), true);
}
}
@@ -707,25 +827,24 @@ public static class RPCHandlerPatch
switch (Options.Gamemode.GetValue())
{
case 0:
AbilityManagement.SendRoleList(DestroyableSingleton<HudManager>.Instance.Chat, AbilityManagement.RoleList(), true);
if (GameOptionsManager.Instance.CurrentGameOptions.GetFloat(FloatOptionNames.KillCooldown) == 0.01f)
{
Utils.ModeratorChatCommand("0 Kill Cooldown:\n\nImpostors have no kill cooldown, Crewmates have low tasks\nThink fast and pay attention!", "", false);
}
break;
case 1:
Utils.ModeratorChatCommand("0 Kill Cooldown:\n\nImpostors have no kill cooldown, Crewmates have low tasks\nThink fast and pay attention!", "", false);
break;
case 2:
if (Options.MisfiresToSuicide.GetInt() == 1 || Options.CantKillTime.GetInt() == 0)
{
Utils.ModeratorChatCommand("Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", $"Crewmates win by doing tasks or surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImpostors win by killing everyone\n{Options.MisfiresToSuicide.GetInt()} wrong kill(s) = suicide", true);
}
else
{
Utils.ModeratorChatCommand("Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", $"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide", true);
Utils.ModeratorChatCommand("Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", SendChatPatch.ConvertNum($"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide"), true);
}
break;
case 3:
case 2:
Utils.ModeratorChatCommand($"Speedrun:\n\nEveryone is a crewmate. The 1st player to finish tasks wins the game. Game auto ends after {Options.GameAutoEndsAfter.GetInt()}s", "", false);
break;
@@ -733,27 +852,6 @@ public static class RPCHandlerPatch
}
if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < Options.SlashRolesAndGamemodeCmd.GetValue()) return;
if (text == "/r jester"){
Utils.ModeratorChatCommand("Jester:\n\nThe Jester is a Crewmate who can also win alone by getting voted.", "", false);}
if (text == "/r mayor"){
Utils.ModeratorChatCommand($"Mayor:\n\nThe Mayor is a Crewmate with {Options.ExtraVotesCrewmate.GetInt()} additional vote(s). Use them wisely.", "", false);}
if (text == "/r tyrant"){
Utils.ModeratorChatCommand($"Tyrant:\n\nThe Tyrant is an Impostor with {Options.ExtraVotesImpostor.GetInt()} additional vote(s). Use them wisely.", "", false);}
if (text == "/r workhorse"){
Utils.ModeratorChatCommand($"Workhorse:\n\nThe Workhorse gains {Options.ExtraVotesPerTask.GetInt()} additional vote(s) per completed task. Votes are rounded down.", "", false);}
if (text == "/r stealer"){
Utils.ModeratorChatCommand($"Stealer:\n\nThe Stealer gains {Options.ExtraVotesPerKill.GetInt()} additional vote(s) per killed player. Votes are rounded down.", "", false);}
if (text == "/r juggernaut"){
Utils.ModeratorChatCommand($"Juggernaut:\n\nThe Impostors instantly win if the Juggernaut gains {Options.KillsNeededForJuggernaut.GetInt()} kills.", "", false);}
if (text == "/r tasker"){
Utils.ModeratorChatCommand("Tasker:\n\nThe Crewmates win if the Tasker completes tasks and is alive. The Tasker has more tasks.", "", false);}
if (text.StartsWith("/t "))
{
+3 -2
View File
@@ -28,8 +28,7 @@ namespace AmongUsRevamped
static void GMButtonToggle()
{
if (Main.GM.Value)
HudManager.Instance.ShowPopUp(Translator.Get("gameMasterWarning"));
if (Main.GM.Value && Utils.IsLobby) HudManager.Instance.ShowPopUp(Translator.Get("gameMasterWarning"));
}
}
@@ -77,11 +76,13 @@ namespace AmongUsRevamped
}
}
// MY MODSTAMP IS FASTER THAN YOURS!!11!!!1
[HarmonyPatch(typeof(SplashManager), nameof(SplashManager.Update))]
internal class SplashLogoAnimatorPatch
{
public static void Prefix(SplashManager __instance)
{
ModManager.Instance.ShowModStamp();
__instance.sceneChanger.AllowFinishLoadingScene();
__instance.startedSceneLoad = true;
}
+16 -1
View File
@@ -25,7 +25,22 @@ class CreateOptionsPickerPatch
isSkeldFlipped = value;
}
}
public static void ApplyDleks(bool hideNSeek)
{
SetDleks = true;
FlippedSkeld = true;
if (!Utils.isHideNSeek) Main.NormalOptions.MapId = 0;
else Main.HideNSeekOptions.MapId = 0;
}
public static void ClearDleks()
{
SetDleks = false;
FlippedSkeld = false;
}
private static MapSelectButton DleksButton;
[HarmonyPatch]
public static class GameOptionsMapPickerPatch
+4 -25
View File
@@ -29,7 +29,7 @@ class NormalGameEndChecker
public static bool Prefix()
{
if (Options.NoGameEnd.GetBool() || Options.Gamemode.GetValue() == 3 || Utils.HandlingGameEnd) return false;
if (Options.NoGameEnd.GetBool() || Options.Gamemode.GetValue() == 2 || Utils.HandlingGameEnd) return false;
var allPlayers = PlayerControl.AllPlayerControls.ToArray();
@@ -50,27 +50,6 @@ class NormalGameEndChecker
var impostorList = string.Join(", ", imps.Select(p => p.Data.PlayerName));
if (!canUpdateWinnerText) return;
if (Winner == "Jester")
{
LastWinReason = "Jester wins! (voted)\n\nImpostors: " + impostorList;
canUpdateWinnerText = false;
return;
}
if (Winner == "Juggernaut")
{
LastWinReason = $"Impostors win! (Juggernaut killed {Options.KillsNeededForJuggernaut.GetInt()} players)\n\nImpostors: " + impostorList;
canUpdateWinnerText = false;
return;
}
if (Winner == "Speedrunner")
{
LastWinReason = "Crewmates win! (Tasker finished tasks)\n\nImpostors: " + impostorList;
canUpdateWinnerText = false;
return;
}
if (Winner == "SnSTimer")
{
@@ -86,12 +65,12 @@ class NormalGameEndChecker
return;
}
if (Utils.AliveImpostors == 0 || Winner == "Crewmate")
if ((Options.Gamemode.GetValue() != 2 && Utils.AliveImpostors == 0) || Winner == "Crewmate")
{
LastWinReason = "Crewmates Win!\n\nImpostors: " + impostorList;
canUpdateWinnerText = false;
}
else if (Utils.AliveImpostors >= Utils.AliveCrewmates || Winner == "Impostor")
else if ((Options.Gamemode.GetValue() != 2 && Utils.AliveImpostors >= Utils.AliveCrewmates) || Winner == "Impostor")
{
LastWinReason = "Impostors Win!\n\nImpostors: " + impostorList;
canUpdateWinnerText = false;
@@ -101,7 +80,7 @@ class NormalGameEndChecker
LastWinReason = $"Crewmates Win! ({Options.TaskPercentNeededToWin.GetInt()}% tasks completed)\n\nImpostors: " + impostorList;
canUpdateWinnerText = false;
}
else if (Options.Gamemode.GetValue() < 2 || Winner == "ImpostorSabotage")
else if (Options.Gamemode.GetValue() < 1 || Winner == "ImpostorSabotage")
{
LastWinReason = "Impostors Win! (Sabotage)\n\n Impostors: " + impostorList;
}
-8
View File
@@ -48,14 +48,6 @@ class ExileControllerWrapUpPatch
}
Logger.Info($" {ejectedPlayer.PlayerName} was ejected", "ExileController");
if (PlayerControlSetRolePatch.Jesters.Contains(exiledPlayer))
{
Logger.Info($"Jester {ejectedPlayer.PlayerName} wins", "ExilePatch");
Utils.CustomWinnerEndGame(exiledPlayer, 1);
NormalGameEndChecker.CheckWinnerText("Jester");
return;
}
}
[HarmonyPatch]
+2 -2
View File
@@ -115,8 +115,8 @@ namespace AmongUsRevamped
case TabGroup.SystemSettings:
__instance.MenuDescriptionText.text = Translator.Get("systemSettingsDesc");
break;
case TabGroup.AbilitySettings:
__instance.MenuDescriptionText.text = Translator.Get("abilitySettingsDesc");
case TabGroup.ModerationSettings:
__instance.MenuDescriptionText.text = Translator.Get("moderationSettingsDesc");
break;
case TabGroup.ModSettings:
__instance.MenuDescriptionText.text = Translator.Get("gameplaySettingsDesc");
+1
View File
@@ -119,6 +119,7 @@ public class GameStartManagerBeginGamePatch
public static void Prefix(GameStartManager __instance)
{
if (Options.NoGameEnd.GetBool()) Logger.SendInGame(Translator.Get("noGameEndWarning"));
if (Main.GM.Value) Logger.SendInGame(Translator.Get("gameMasterWarningTwo"));
}
}
+13 -7
View File
@@ -9,16 +9,11 @@ namespace AmongUsRevamped;
[HarmonyPatch(typeof(HudManager), nameof(HudManager.CoShowIntro))]
internal static class CoShowIntroPatch
{
public static bool IntroInitiated;
public static void Postfix(IntroCutscene __instance)
{
Logger.Info(" Intro initiated", "CoShowIntro");
if (!AmongUsClient.Instance.AmHost) return;
IntroInitiated = true;
AbilityManagement.SendRoleMessages();
foreach (var p in PlayerControl.AllPlayerControls)
{
@@ -32,8 +27,6 @@ internal static class CoShowIntroPatch
Logger.Info($" {p.Data.PlayerName} -> {p.Data.RoleType}", "RoleInfo");
}
if (!Utils.isHideNSeek && Options.Gamemode.GetValue() < 2) Logger.Info($" {AbilityManagement.RoleList()}", "AbilityInfo");
if (Options.DisableAnnoyingMeetingCalls.GetBool() && !Utils.isHideNSeek)
{
Utils.CanCallMeetings = false;
@@ -42,6 +35,19 @@ internal static class CoShowIntroPatch
Utils.CanCallMeetings = true;
}, 33f, "MeetingEnabled");
}
if (Options.Gamemode.GetValue() == 1 && Options.SNSChatInGameExtend.GetBool())
{
if (Options.MisfiresToSuicide.GetInt() == 1 || Options.CantKillTime.GetInt() == 0)
{
Utils.ModeratorChatCommand("Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", $"Crewmates win by doing tasks or surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImpostors win by killing everyone\n{Options.MisfiresToSuicide.GetInt()} wrong kill(s) = suicide", true);
}
else
{
Utils.ModeratorChatCommand("Shift and Seek:\n\nImpostors can only kill someone while shapeshifted as them\nEmergency Meetings = Off", SendChatPatch.ConvertNum($"Crew wins by tasks/surviving {Options.CrewAutoWinsGameAfter.GetInt()}s\nImp wins by killing\nOne wrong kill = Can't kill for {Options.CantKillTime.GetInt()}s\n{Options.MisfiresToSuicide.GetInt()} wrong kills = suicide"), true);
}
}
}
}
+44 -4
View File
@@ -45,6 +45,27 @@ internal static class OnGameJoinedPatch
WaitingForChat = false;
}, 5.2f, "AutoSendGameInfo2");
}
if (Options.AutomaticMapPoll.GetBool())
{
new LateTask(() =>
{
Utils.MapVote(false, true);
}, Options.TimeBeforeMapPoll.GetInt(), "AutoMapPoll");
}
if (Options.AutomaticAllMapPoll.GetBool())
{
new LateTask(() =>
{
Utils.MapVote(true, true);
}, Options.TimeBeforeAllMapPoll.GetInt(), "AutoMapPoll");
}
if (Options.Public.GetBool() && DisconnectManager.Rehosting)
{
AmongUsClient.Instance.ChangeGamePublic(true);
DisconnectManager.Rehosting = false;
}
}
}
@@ -134,25 +155,44 @@ public static class SetLevelPatch
public static List<PlayerControl> HandledLevelKicks = [];
public static void Prefix(PlayerControl __instance, uint level)
{
if (AmongUsClient.Instance.AmHost && level < Options.KickLowLevelPlayer.GetInt() - 1 && __instance.Data.ClientId != AmongUsClient.Instance.HostId)
if (AmongUsClient.Instance.AmHost && level < Options.KickLowLevelPlayer.GetInt() - 1 && __instance.Data.ClientId != AmongUsClient.Instance.HostId && Options.EnableKickLowLevelPlayer.GetBool())
{
if (level == 0 && Options.DontKickLevelOnes.GetBool()) return;
if (HandledLevelKicks.Contains(__instance)) return;
if (!Options.TempBanLowLevelPlayer.GetBool())
if (!Options.TempBanLowLevelPlayer.GetBool() && Utils.CheckAccessLevel(__instance.Data.FriendCode) < 1)
{
AmongUsClient.Instance.KickPlayer(__instance.Data.ClientId, false);
Logger.Info($" {__instance.Data.PlayerName} (level {level + 1}) was kicked for being under level {Options.KickLowLevelPlayer.GetInt()}", "KickLowLevelPlayer");
Logger.SendInGame($" {__instance.Data.PlayerName} (level {level + 1}) was kicked for being under level {Options.KickLowLevelPlayer.GetInt()}");
}
else
else if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < 1)
{
AmongUsClient.Instance.KickPlayer(__instance.Data.ClientId, true);
Logger.Info($" {__instance.Data.PlayerName} (level {level + 1}) was banned for being under level {Options.KickLowLevelPlayer.GetInt()} ", "BanLowLevelPlayer");
Logger.SendInGame($" {__instance.Data.PlayerName} (level {level + 1}) was banned for being under level {Options.KickLowLevelPlayer.GetInt()}");
}
HandledLevelKicks.Add(__instance);
}
}
if (AmongUsClient.Instance.AmHost && level > Options.KickHighLevelPlayer.GetInt() - 1 && __instance.Data.ClientId != AmongUsClient.Instance.HostId && Options.EnableKickHighLevelPlayer.GetBool())
{
if (HandledLevelKicks.Contains(__instance)) return;
if (!Options.TempBanHighLevelPlayer.GetBool() && Utils.CheckAccessLevel(__instance.Data.FriendCode) < 1)
{
AmongUsClient.Instance.KickPlayer(__instance.Data.ClientId, false);
Logger.Info($" {__instance.Data.PlayerName} (level {level + 1}) was kicked for being above level {Options.KickHighLevelPlayer.GetInt()}", "KickHighLevelPlayer");
Logger.SendInGame($" {__instance.Data.PlayerName} (level {level + 1}) was kicked for being above level {Options.KickHighLevelPlayer.GetInt()}");
}
else if (Utils.CheckAccessLevel(__instance.Data.FriendCode) < 1)
{
AmongUsClient.Instance.KickPlayer(__instance.Data.ClientId, true);
Logger.Info($" {__instance.Data.PlayerName} (level {level + 1}) was banned for being above level {Options.KickHighLevelPlayer.GetInt()} ", "BanHighLevelPlayer");
Logger.SendInGame($" {__instance.Data.PlayerName} (level {level + 1}) was banned for being above level {Options.KickHighLevelPlayer.GetInt()}");
}
HandledLevelKicks.Add(__instance);
}
}
}
+4 -6
View File
@@ -2,6 +2,8 @@
namespace AmongUsRevamped;
// Old patch for roles and abilities. Might use later.
/*
[HarmonyPatch(typeof(MeetingHud), nameof(MeetingHud.CheckForEndVoting))]
public static class CheckForEndVotingPatch
{
@@ -36,12 +38,7 @@ public static class CheckForEndVotingPatch
int extraVotesPerTask = (int)(Options.ExtraVotesPerTask.GetFloat()*PlayerControlCompleteTaskPatch.playerTasksCompleted[voterId]+0.1f);
int extraVotesPerKill = (int)(Options.ExtraVotesPerKill.GetFloat()*MurderPlayerPatch.killCount[voterId]+0.1f);
if (!votes.TryGetValue(votedFor, out int currentVotes)) currentVotes = 0;
if (AbilityManagement.IsMayor(pc)) extraVotes += extraVotesCrewmate;
if (AbilityManagement.IsTyrant(pc)) extraVotes += extraVotesImpostor;
if (AbilityManagement.IsWorkhorse(pc)) extraVotes += extraVotesPerTask;
if (AbilityManagement.IsStealer(pc)) extraVotes += extraVotesPerKill;
if (!votes.TryGetValue(votedFor, out int currentVotes)) currentVotes = 0;
for (int i = 0; i < extraVotes; i++)
{
@@ -59,6 +56,7 @@ public static class CheckForEndVotingPatch
return false;
}
}
*/
[HarmonyPatch(typeof(MeetingHud), nameof(MeetingHud.Start))]
class MeetingHudStartPatch
+12
View File
@@ -17,6 +17,17 @@ public static class NumberOption_Increase
if (Utils.IsLobby)
{
if (__instance.Title == StringNames.GameKillCooldown)
{
if (__instance.Value == 0.01f)
{
__instance.Value = 0.5f;
__instance.UpdateValue();
__instance.OnValueChanged.Invoke(__instance);
return false;
}
}
if (__instance.Value <= __instance.ValidRange.min)
{
return true;
@@ -103,6 +114,7 @@ public static class NumberOption_Initialize
case StringNames.GameKillCooldown:
__instance.Increment = 0.5f;
__instance.ValidRange = new FloatRange(0.01f, 900f);
break;
case StringNames.GamePlayerSpeed:
+41 -31
View File
@@ -17,6 +17,11 @@ internal class CoStartGamePatch
Logger.Info($" Players: {PlayerControl.AllPlayerControls.Count}", "StartGame");
Logger.Info($" Map: {(MapNames)GameOptionsManager.Instance.CurrentGameOptions.MapId}", "StartGame");
if (Main.GM.Value)
{
Logger.Info($" Game Master Enabled", "StartGame");
}
NormalGameEndChecker.imps.Clear();
NormalGameEndChecker.LastWinReason = "";
@@ -29,7 +34,7 @@ class PlayerControlSetRolePatch
public static bool FirstAssign;
private static readonly HashSet<byte> ProcessedPlayers = new();
public static HashSet<byte> Seekers = new();
public static HashSet<PlayerControl> Jesters = new();
public static HashSet<byte> manualSeekers = new();
private static readonly System.Random rand = new System.Random();
public static bool Prefix(PlayerControl __instance, ref RoleTypes roleType, ref bool canOverrideRole)
@@ -38,25 +43,36 @@ class PlayerControlSetRolePatch
if (!ProcessedPlayers.Add(__instance.PlayerId)) return true;
canOverrideRole = false;
// canOverrideRole = false;
if (Main.GM.Value && __instance == PlayerControl.LocalPlayer)
{
roleType = RoleTypes.Crewmate;
OnGameStartPatch.ScheduleExile = true;
}
if (Utils.isHideNSeek && Seekers.Count() == 0 && Options.NumSeekers.GetInt() != 1)
if (Utils.isHideNSeek && Seekers.Count() == 0 && Options.NumSeekers.GetInt() > 0)
{
int seekersCount = Options.NumSeekers.GetInt();
if (manualSeekers.Count > seekersCount) seekersCount = manualSeekers.Count;
var candidates = new List<PlayerControl>();
foreach (var p in PlayerControl.AllPlayerControls)
{
if (!Main.GM.Value || p != PlayerControl.LocalPlayer) candidates.Add(p);
}
seekersCount = Math.Min(seekersCount, candidates.Count);
if (manualSeekers.Count == 0)
{
seekersCount = Math.Min(seekersCount, candidates.Count);
}
else
{
seekersCount = Math.Min(seekersCount, candidates.Count + manualSeekers.Count);
}
foreach (byte id in manualSeekers)
{
if (Seekers.Count >= seekersCount) break;
Seekers.Add(id);
}
candidates.RemoveAll(p => manualSeekers.Contains(p.PlayerId));
for (int j = candidates.Count - 1; j > 0; j--)
{
@@ -64,25 +80,27 @@ class PlayerControlSetRolePatch
(candidates[j], candidates[k]) = (candidates[k], candidates[j]);
}
for (int j = 0; j < seekersCount; j++)
foreach (var p in candidates)
{
Seekers.Add(candidates[j].PlayerId);
if (Seekers.Count >= seekersCount) break;
Seekers.Add(p.PlayerId);
}
}
if (Utils.isHideNSeek && Options.NumSeekers.GetInt() != 1)
if (Utils.isHideNSeek && Options.NumSeekers.GetInt() > 0)
{
if (Seekers.Contains(__instance.PlayerId)) roleType = RoleTypes.Impostor;
else roleType = RoleTypes.Engineer;
}
if (Options.Gamemode.GetValue() == 3 && !Utils.isHideNSeek)
if (Options.Gamemode.GetValue() == 2 && !Utils.isHideNSeek)
{
if (Options.EngineerMode.GetBool()) roleType = RoleTypes.Engineer;
else roleType = RoleTypes.Crewmate;
}
if (Options.Gamemode.GetValue() == 2 && !Utils.isHideNSeek)
if (Options.Gamemode.GetValue() == 1 && !Utils.isHideNSeek)
{
if (roleType == RoleTypes.Impostor || roleType == RoleTypes.Phantom || roleType == RoleTypes.Viper) roleType = RoleTypes.Shapeshifter;
}
@@ -91,19 +109,8 @@ class PlayerControlSetRolePatch
{
Seekers.Clear();
ProcessedPlayers.Clear();
FirstAssign = false;
Logger.Info("PCSRP successful", "RoleManaging");
}
if (roleType == RoleTypes.Crewmate && Options.CrewmateAbility.GetValue() == 2 ||
roleType == RoleTypes.Scientist && Options.ScientistAbility.GetValue() == 2 ||
roleType == RoleTypes.Engineer && Options.EngineerAbility.GetValue() == 2 ||
roleType == RoleTypes.Noisemaker && Options.NoisemakerAbility.GetValue() == 2 ||
roleType == RoleTypes.Tracker && Options.TrackerAbility.GetValue() == 2 ||
roleType == RoleTypes.Detective && Options.DetectiveAbility.GetValue() == 2)
{
Jesters.Add(__instance);
Logger.Info(" PCSRP successful", "RoleManaging");
}
return true;
@@ -113,24 +120,27 @@ class PlayerControlSetRolePatch
[HarmonyPatch(typeof(HudManager), nameof(HudManager.OnGameStart))]
internal static class OnGameStartPatch
{
public static bool ScheduleExile;
public static bool PastStartScreen;
public static void Postfix()
{
if (AmongUsClient.Instance.AmHost && Options.Gamemode.GetValue() == 2 && Options.SNSChatInGame.GetBool())
if (AmongUsClient.Instance.AmHost && Options.Gamemode.GetValue() == 1 && Options.SNSChatInGame.GetBool())
{
PlayerControl.LocalPlayer.CmdReportDeadBody(null);
if (MeetingHud.Instance != null) MeetingHud.Instance.RpcClose();
}
if (ScheduleExile)
if (Main.GM.Value)
{
Logger.Info($" Game Master Successful", "StartGame");
PlayerControl.LocalPlayer.Exiled();
ScheduleExile = false;
PlayerControl.LocalPlayer.RpcSetRole(RoleTypes.CrewmateGhost);
}
foreach (var p in PlayerControl.AllPlayerControls)
{
Utils.StoredRoleText[p.PlayerId] = Utils.GetRoleText(p);
}
PastStartScreen = true;
}
}
+78 -32
View File
@@ -17,7 +17,7 @@ class ReportDeadBodyPatch
if (!AmongUsClient.Instance.AmHost || __instance == null) return true;
if (Utils.isHideNSeek) return false;
if (Options.DisableAnnoyingMeetingCalls.GetBool() && !Utils.CanCallMeetings && target == null && Options.Gamemode.GetValue() < 2)
if (Options.DisableAnnoyingMeetingCalls.GetBool() && !Utils.CanCallMeetings && target == null && Options.Gamemode.GetValue() < 1)
{
Logger.Info($" {__instance.Data.PlayerName} is calling a meeting too fast, attempt blocked", "ReportDeadBodyPatch");
return false;
@@ -25,7 +25,7 @@ class ReportDeadBodyPatch
// target == null means meeting
if (Options.Gamemode.GetValue() == 2 || Options.Gamemode.GetValue() == 3)
if (Options.Gamemode.GetValue() == 1 || Options.Gamemode.GetValue() == 2)
{
if (target != null)
{
@@ -81,15 +81,8 @@ internal static class MurderPlayerPatch
}
}
if (Options.Gamemode.GetValue() < 2 && AbilityManagement.IsJuggernaut(__instance) && killCount[__instance.PlayerId] >= Options.KillsNeededForJuggernaut.GetInt())
{
Logger.Info("Juggernaut win", "MurderPlayer");
Utils.ContinueEndGame((byte)GameOverReason.ImpostorsByVote);
NormalGameEndChecker.CheckWinnerText("Juggernaut");
}
//2 = Shift and Seek
if (Options.Gamemode.GetValue() == 2 && !Utils.isHideNSeek)
if (Options.Gamemode.GetValue() == 1 && !Utils.isHideNSeek)
{
if (!resultFlags.HasFlag(MurderResultFlags.Succeeded))
return;
@@ -115,7 +108,7 @@ internal static class MurderPlayerPatch
new LateTask(() =>
{
__instance.isNew = false;
if (!__instance.Data.IsDead) {__instance.RpcSetRole(RoleTypes.Shapeshifter, false);}
if (!__instance.Data.IsDead && __instance != null) {__instance.RpcSetRole(RoleTypes.Shapeshifter, false);}
}, Options.CantKillTime.GetInt(), "SNSResetRole");
}
@@ -140,7 +133,7 @@ internal static class CheckShapeshiftPatch
if (!AmongUsClient.Instance.AmHost) return true;
// Canceling a Shapeshift freezes the player until they successfully Shapeshift again. Unavoidable game logic.
if (Options.Gamemode.GetValue() == 2 && !Utils.isHideNSeek && __instance.isNew)
if (Options.Gamemode.GetValue() == 1 && !Utils.isHideNSeek && __instance.isNew)
{
Logger.Info($" {__instance.Data.PlayerName} shapeshifted during misfire cooldown, making the game temporarily freeze them.", "SNSShapeshiftManager");
Logger.SendInGame($" {__instance.Data.PlayerName} shapeshifted during misfire cooldown, making the game temporarily freeze them.");
@@ -166,11 +159,6 @@ class PlayerControlCompleteTaskPatch
foreach (var p in PlayerControl.AllPlayerControls)
{
if (AbilityManagement.IsJester(p) && !tasksInitiated)
{
ignoredTasks += p.Data.Tasks.Count;
tasksInitiated = true;
}
if (!playerTasksCompleted.ContainsKey(p.PlayerId))
{
@@ -179,28 +167,26 @@ class PlayerControlCompleteTaskPatch
tasksPerPlayer[p.PlayerId] = p.Data.Tasks.Count;
}
if (__instance.Data.RoleType == RoleTypes.Impostor ||
__instance.Data.RoleType == RoleTypes.Shapeshifter ||
__instance.Data.RoleType == RoleTypes.Phantom ||
__instance.Data.RoleType == RoleTypes.Viper)
{
EACR.TaskCheat(__instance);
}
playerTasksCompleted[__instance.PlayerId]++;
if (AbilityManagement.IsJester(__instance))
if (playerTasksCompleted[__instance.PlayerId] > __instance.Data.Tasks.Count)
{
ignoredCompletedTasks = playerTasksCompleted[__instance.PlayerId];
EACR.TaskCheat(__instance);
}
Logger.Info($" {__instance.Data.PlayerName} completed {idx}", "TaskPatch");
if (Options.Gamemode.GetValue() < 2)
{
if (AbilityManagement.IsSpeedrunner(__instance) && !__instance.Data.IsDead && playerTasksCompleted[__instance.PlayerId] >= __instance.Data.Tasks.Count)
{
Logger.Info($"Speedrunner {__instance.Data.PlayerName} won", "TaskPatch");
Utils.ContinueEndGame((byte)GameOverReason.CrewmatesByVote);
NormalGameEndChecker.CheckWinnerText("Speedrunner");
}
}
if (Options.Gamemode.GetValue() != 2) CalculateTaskWin();
if (Options.Gamemode.GetValue() != 3) CalculateTaskWin();
if (Options.Gamemode.GetValue() == 3)
if (Options.Gamemode.GetValue() == 2)
{
if (!__instance.Data.IsDead && playerTasksCompleted[__instance.PlayerId] >= __instance.Data.Tasks.Count)
{
@@ -219,7 +205,7 @@ class PlayerControlCompleteTaskPatch
public static void CalculateTaskWin()
{
if (!Utils.GamePastRoleSelection || Utils.isHideNSeek || Options.NoGameEnd.GetBool() || !CoShowIntroPatch.IntroInitiated) return;
if (!Utils.GamePastRoleSelection || Utils.isHideNSeek || Options.NoGameEnd.GetBool() || !OnGameStartPatch.PastStartScreen) return;
//Logger.Info($" Checking if {GameData.Instance.CompletedTasks} - {ignoredCompletedTasks} >= ({GameData.Instance.TotalTasks} - {ignoredTasks}) * 0.01 * {Options.TaskPercentNeededToWin.GetInt()}", "TaskPatch");
@@ -242,3 +228,63 @@ public static class PlayerControlCheckSporeTriggerPatch
else return true;
}
}
[HarmonyPatch(typeof(PlayerControl), nameof(PlayerControl.PlayAnimation))]
public static class PlayAnimationPatch
{
public static void Prefix(PlayerControl __instance, byte animType)
{
if (!AmongUsClient.Instance.AmHost || __instance == PlayerControl.LocalPlayer) return;
var task = (TaskTypes)animType;
switch (task)
{
case TaskTypes.PrimeShields:
case TaskTypes.ClearAsteroids:
case TaskTypes.EmptyGarbage:
if (__instance.Data.RoleType == RoleTypes.Impostor ||
__instance.Data.RoleType == RoleTypes.Shapeshifter ||
__instance.Data.RoleType == RoleTypes.Phantom ||
__instance.Data.RoleType == RoleTypes.Viper)
{
EACR.PlayAnimationCheat(__instance);
return;
}
if (!GameManager.Instance.LogicOptions.GetVisualTasks())
{
{
EACR.PlayAnimationCheat(__instance);
return;
}
}
break;
}
}
}
[HarmonyPatch(typeof(PlayerControl), nameof(PlayerControl.SetScanner))]
public static class SetScannerPatch
{
public static void Prefix(PlayerControl __instance)
{
if (!AmongUsClient.Instance.AmHost || __instance == PlayerControl.LocalPlayer) return;
if (__instance.Data.RoleType == RoleTypes.Impostor ||
__instance.Data.RoleType == RoleTypes.Shapeshifter ||
__instance.Data.RoleType == RoleTypes.Phantom ||
__instance.Data.RoleType == RoleTypes.Viper)
{
EACR.PlayAnimationCheat(__instance);
return;
}
if (!GameManager.Instance.LogicOptions.GetVisualTasks() && __instance != PlayerControl.LocalPlayer)
{
{
EACR.PlayAnimationCheat(__instance);
return;
}
}
}
}
+5 -3
View File
@@ -18,7 +18,7 @@ public static class SabotageSystemTypeRepairDamagePatch
var Sabo = (SystemTypes)amount;
Logger.Info($" {player.Data.PlayerName} is trying to sabotage: {Sabo}", "SabotageCheck");
if (Options.Gamemode.GetValue() == 0 || Options.Gamemode.GetValue() == 1)
if (Options.Gamemode.GetValue() == 0)
{
if (Sabo == SystemTypes.LifeSupp && Options.DisableOxygen.GetBool() ||
Sabo == SystemTypes.Reactor && Options.DisableReactor.GetBool() ||
@@ -26,6 +26,7 @@ public static class SabotageSystemTypeRepairDamagePatch
Sabo == SystemTypes.Comms && Options.DisableComms.GetBool() ||
Sabo == SystemTypes.HeliSabotage && Options.DisableHeli.GetBool() ||
Sabo == SystemTypes.MushroomMixupSabotage && Options.DisableMushroomMixup.GetBool() ||
Sabo == SystemTypes.Laboratory && Options.DisableReactor.GetBool() && msgReader != null ||
player.Data.IsDead && !Options.DeadImpostorsCanSabotage.GetBool())
{
Logger.Info($" Sabotage {Sabo} by: {player.Data.PlayerName} was blocked", "SabotageCheck");
@@ -34,7 +35,7 @@ public static class SabotageSystemTypeRepairDamagePatch
return true;
}
if (Options.Gamemode.GetValue() == 2)
if (Options.Gamemode.GetValue() == 1)
{
if (Sabo == SystemTypes.LifeSupp && Options.SNSDisableOxygen.GetBool() ||
Sabo == SystemTypes.Reactor && Options.SNSDisableReactor.GetBool() ||
@@ -42,6 +43,7 @@ public static class SabotageSystemTypeRepairDamagePatch
Sabo == SystemTypes.Comms && Options.SNSDisableComms.GetBool() ||
Sabo == SystemTypes.HeliSabotage && Options.SNSDisableHeli.GetBool() ||
Sabo == SystemTypes.MushroomMixupSabotage && Options.SNSDisableMushroomMixup.GetBool() ||
Sabo == SystemTypes.Laboratory && Options.SNSDisableReactor.GetBool() && msgReader != null ||
player.Data.IsDead && !Options.DeadImpostorsCanSabotage.GetBool())
{
Logger.Info($" Sabotage {Sabo} by: {player.Data.PlayerName} was blocked", "SnSSabotageCheck");
@@ -62,7 +64,7 @@ class ShipStatusCloseDoorsPatch
Logger.Info($" Trying to close the door in: {room}", "DoorCheck");
if (Options.DisableCloseDoor.GetBool() && (Options.Gamemode.GetValue() == 0 || Options.Gamemode.GetValue() == 1) || Options.Gamemode.GetValue() == 2 && Options.SNSDisableCloseDoor.GetBool())
if ((Options.DisableCloseDoor.GetBool() && Options.Gamemode.GetValue() == 0) || (Options.Gamemode.GetValue() == 1 && Options.SNSDisableCloseDoor.GetBool()))
{
Logger.Info($" Door sabotage in: {room} was blocked", "DoorCheck");
return false;
-6
View File
@@ -163,12 +163,6 @@ internal static class RpcSetTasksPatch
int numLongTasks = Main.NormalOptions.NumLongTasks;
int numShortTasks = Main.NormalOptions.NumShortTasks;
if (AbilityManagement.IsSpeedrunner(pc))
{
numLongTasks = Options.SpeedrunnerLongTasks.GetInt();
numShortTasks = Options.SpeedrunnerShortTasks.GetInt();
}
if (taskTypeIds.Length == 0) hasCommonTasks = false;
switch (hasCommonTasks)
+15 -8
View File
@@ -1,8 +1,7 @@
namespace AmongUsRevamped;
using AmongUs.GameOptions;
//Old Patch for Mayor
namespace AmongUsRevamped;
/*
[HarmonyPatch(typeof(Vent), nameof(Vent.EnterVent))]
class EnterVentPatch
{
@@ -10,11 +9,19 @@ class EnterVentPatch
{
if (!AmongUsClient.Instance.AmHost) return;
if (CustomRoleManagement.PlayerRoles.TryGetValue(pc.PlayerId, out var role) && role == "Mayor")
if (pc.Data.RoleType != RoleTypes.Impostor &&
pc.Data.RoleType != RoleTypes.Shapeshifter &&
pc.Data.RoleType != RoleTypes.Phantom &&
pc.Data.RoleType != RoleTypes.Viper &&
pc.Data.RoleType != RoleTypes.Engineer &&
!pc.Data.IsDead)
{
pc.CmdReportDeadBody(null);
Logger.Info($" The Mayor, {pc.Data.PlayerName}, called a meeting by venting", "EnterVent");
EACR.VentCheat(pc, __instance);
}
if (__instance.Id > 15)
{
EACR.VentCheat(pc, __instance);
}
}
}
*/
}
+2 -2
View File
@@ -19,8 +19,8 @@ internal static class AddVotePatch
{
Logger.Info($" Kicked {target.Data.PlayerName}, {target.Data.FriendCode}", "KickPatch");
}
return true;
return false;
}
}
+34 -30
View File
@@ -9,6 +9,14 @@
<a href="https://github.com/apemv/AmongUsRevamped/releases/latest" target="_blank"><img src="https://img.shields.io/badge/Latest Version%20-%231DA1F2.svg?&style=for-the-badge&logo=github&logoColor=white&color=181717"/></a>
</center>
<a href="../../releases">
<img src="https://img.shields.io/github/downloads/ApeMV/AmongUsRevamped/total?style=for-the-badge&color=red">
</a>
<a href="../../releases/latest">
<img src="https://img.shields.io/github/downloads/ApeMV/AmongUsRevamped/latest/total?style=for-the-badge">
</a>
</p>
@@ -29,24 +37,7 @@
<img src="https://github.com/astra1dev/AUnlocker/assets/90265231/14226f03-a003-4efc-b27b-6df53fb394d6" width=410 height=240>****
‎
# 🎮 Features (v1.8.3):
## <b> 🌟 Custom Abilities:</b>
- Mayor (Crewmate)
- The Mayor has a configurable amount of extra votes
- Jester (Crewmate)
- The Jester wins alone by getting ejected, can win with Crewmates
- Tasker (Crewmate)
- The Crewmates win if the Tasker completes tasks and is alive
- Workhorse (Crewmate)
- The Workhorse gains additional votes per completed task
- Tyrant (Impostor)
- The Tyrant has a configurable amount of extra votes
- Stealer (Impostor)
- The Stealer gains additional votes per kill
- Juggernaut (Impostor)
- The Impostors win if the Juggernaut gains a set amount of kills
- For the enabled ability list, type /r
- To check ability descriptions, type /r {ability}
# 🎮 Features (v1.9.3):
## <b>♠️ Client Side settings:</b>
- Game Master (Spectator)
@@ -55,22 +46,22 @@
- Toggle Lobby Music
- Show/Hide Info When Dead
## <b>⚙️ Technical settings:</b>
- Kick/Ban players under a certain level
- Kick/Ban invalid FriendCodes
- Advanced AFK Detection system
- Kick/Ban players under/above a certain level
- Kick/Ban invalid (Empty) Friendcodes
- Kick/Ban players who say "start"
- Denyword system
- Banlist system
- Denyname system
- Multi layer moderator system
- Denyword and Denyname system
- Advanced Moderator system
- To add Admins, Moderators and VIP's, type the user's Friendcode in the designated files located in AUR-DATA
- Enable No Game End
- Custom starting countdown
## <b>♻️ Automation settings:</b>
- Automatically start game
- Full Autohost and Rehost support
- Automatically rejoin lobby
- Automatically send winner info
- Enable (configurable) Welcome Messages
- The Welcome Template is in Templates.txt
- Automatically Send Map Votes
- Enable (configurable) Welcome Messages from Templates.txt
## <b>🔧 Gameplay Settings:</b>
- Dead impostors can sabotage
- Disable critical sabotages (invividual)
@@ -84,11 +75,20 @@
- All players have same tasks
- Hide and Seek: Custom Seeker count
## <b>🏆 Custom Gamemodes:</b>
- 0 Kill Cooldown
- 0 Kill Cooldown -> Set Kill Cooldown to 0.01
- Shift and Seek
- Speedrun
## <b>👾 Custom Anticheat:</b>
- Detect invalid sabotages
- Detect malformed RPC's
- Detect invalid venting
- Detect Invalid animations
- Detect Invalid task completions
- Detect immortality cheats
- Block attempted votekicks
- These are all enabled by default
## <b>❓ Other Improvements:</b>
- Among Us Revamped supports other languages
- Lanuage support: English, Italian, Japanese, Russian, Simplified Chinese, Spanish
- Select a language in Language/YourLanguage.txt
- Preset system for mod settings
- Command Helper
@@ -97,12 +97,12 @@
- Ability to cancel starting countdown
- Improved main menu
- Faster startup time
- Custom anticheat system
- Zoom out in lobby or when dead
- See player kill/task count and Role when dead
- Higher and more accurate Option ranges
- Always visible lobby timer
- Access experimental animation test scene
- Manually set multiple Seekers in HnS
- <b>🎉 And this all works in public lobbies!</b>
### Hotkeys
@@ -122,7 +122,6 @@
| /help | Show command help |
| /l<br>/lastgame | Send last game info |
| /r | Send current gamemode/roles description |
| /r {ability} | Send specific Ability info |
| /0kc<br>/sns</br>/sp | Send respective gamemode description |
| /ban {name} | Ban a player by name |
| /kick {name} | Kick a player by name |
@@ -137,6 +136,11 @@
| /s<br>/start | Start game countdown |
| /vip<br>/moderator<br>/admin | Add a user to respective list by name |
| /t {template} | Send a Template from Templates.txt |
| /seeker {name} | Manually adds someone as Seeker in HnS |
| /seekers | Shows manual Seeker list in HnS |
| /clearseekers | Clears manual Seeker list in HnS |
| /mapvote | Starts a vote for the map. Default maps only |
| /allmapvote | Starts a vote for the map. Includes Eht Dleks |
‎
**Credit to these mods and their developers for their code:**
+60 -35
View File
@@ -10,7 +10,7 @@
"disableCommandHelper": "Disable Command Helper",
"disableCompatibilityWarning": "Disable Compatibility Warning",
"gameMasterWarning":"You will now spectate games until Game Master is turned off. WARNING: Ability messages will not be sent and role assigning might be inaccurate if this setting is enabled.",
"gameMasterWarning":"You will now spectate games until Game Master is turned off. WARNING: Role assigning might be inaccurate if this setting is enabled.",
"cancelStartCountdown": "Start countdown canceled",
@@ -19,35 +19,52 @@
"language": "Language (Requires Restart)",
"gamemode": "Gamemode",
"tabGroupMain": "Moderation",
"tabGroupLevelKick": "Level Moderation",
"enableKickLowLevelPlayer": "Kick Low Level Players",
"kickLowLevelPlayer": "Kick Players Under Level",
"tempBanLowLevelPlayer": "Ban Instead Of Kick",
"enableKickHighLevelPlayer": "Kick High Level Players",
"kickHighLevelPlayer": "Kick Players Above Level",
"dontKickLevelOnes": "Don't Kick Lv.1 Players For Glitched Lobbies",
"tabGroupKickInvalidFriendCodes": "Invalid Friendcodes",
"kickInvalidFriendCodes": "Kick Invalid (Empty) Friendcodes",
"tempBanInvalidFriendCodes": "Ban Instead Of Kick",
"deniedWordsToKick": "Sent Denied Words To Kick Player",
"moderatorCanUseCommand": "Moderators can use commands",
"tabGroupAutoKickStart": "Start Words",
"autoKickStart": "Kick Players Who Say Start",
"autoKickStartAsBan": "Ban Instead Of Kick",
"autoKickStartTimes": "Start messages needed to kick",
"autoKickStartTimes": "Sent Start Words To Kick Player",
"autoKickStartStrength": "Strict detection mode",
"tabGroupAutomation": "Automation",
"autoSendGameInfo": "Automatically send winner info",
"autoRejoinLobby": "Auto Rejoin Lobby",
"tabGroupAutostart": "Autohost",
"autoStartTimer": "Countdown For Auto Start",
"waitAutoStart": "Auto Start After",
"playerAutoStart": "Players Needed To Auto Start",
"rehost": "Automatically Recreate Lobby On Disconnect",
"public": "Automatically Publicize New Lobby",
"enableJoinMessages": "Enable Welcome Messages",
"messagePerPlayerNum": "Message Per Amount Of Joins",
"tabGroupMisc": "Miscelleneous",
"tabGroupMisc": "Experimental",
"startCountdown": "Default Starting Countdown",
"colorCommandLevel": "Who Can use Color Commands",
"allowFortegreen": "Allow Fortegreen Color",
"noGameEnd": "No Game End",
"mapVoteDuration": "Map Vote Duration",
"tabGroupDeniedWords": "Denied Words",
"enableDeniedWords": "Kick Players Who Say Denied Words",
"tabGroupAccess": "Access Levels",
"slashColorCmd": "Who Can Use /color",
"slashRolesAndGamemodeCmd": "Who Can Use /r & Templates",
"slashLastGameCmd": "Who Can Use /l & /aur",
"slashMapAndSeekerCmd": "Who Can Use /seeker & /mapvote",
"slashKickCmd": "Who Can Use /kick & /ckick",
"slashBanCmd": "Who Can Use /ban & /cban",
"slashEndMeetingCmd": "Who Can Use /endmeeting",
@@ -65,6 +82,7 @@
"noKcdSettingsOverride": "Auto Update Settings",
"tabGroupSNS": "Shift and Seek",
"snsChatInGame": "Chat during gameplay (experimental)",
"snsChatInGameExtend": "Send gamemode info after game start",
"snsSettingsOverride": "Auto Update Settings",
"cantKillTime": "After Misfiring, Can't kill for",
"misfiresToSuicide": "Suicide After Amount Of Misfires",
@@ -216,35 +234,10 @@
"disableSubmitScan": "Disable Submit Scan",
"disableUploadData": "Disable Upload Data",
"allCommandsFull": "<b>ALL COMMANDS:</b>\n\n<b>/help</b>\nShow this message.\n<b>/aur, /socials</b>\nSend Among Us Revamped social links.\n\n<b>/r, /gm</b>\nSend current mode description or ability list.\n<b>/r {ability}</b>\nSend specific ability info.\n<b>/l, /lastgame</b>\nSend last winner info.\n\n<b>/0kc, /0killcooldown</b>\nSend 0 Kill Cooldown mode description.\n<b>/sns, /shiftandseek</b>\nSend Shift and Seek mode description.\n<b>/sp, /speedrun</b>\nSend Speedrun mode description.\n\n/<b>kick, /ban</b>\nKick or ban a player by name.\n<b>/ckick, /cban</b>\nKick or ban a player by color.\n\n<b>/vip /moderator /admin</b>\nAdd a player as VIP, Moderator, or Admin.\n<b>/removevip, /removemoderator, /removeadmin</b>\nRemove VIP, Moderator, or Admin from a player.\n\n<b>/eg, /endgame</b>\nEnd the current game.\n<b>/em, /endmeeting</b>\nEnd the current meeting.\n<b>/s, /start</b>\nBegin the game starting countdown.\n\n<b>/t {template}</b>\nSend a template from AUR-DATA/templates.txt.\n\n<b>/col, /color, /colour</b>\nSet your color, can be used to bypass limits.",
"allCommandsFull": "<b>ALL COMMANDS:</b>\n\n<b>/help</b>\nShow this message.\n<b>/aur, /socials</b>\nSend Among Us Revamped social links.\n\n<b>/r, /gm</b>\nSend current mode description.\n<b>/l, /lastgame</b>\nSend last winner info.\n\n<b>/0kc, /0killcooldown</b>\nSend 0 Kill Cooldown mode description.\n<b>/sns, /shiftandseek</b>\nSend Shift and Seek mode description.\n<b>/sp, /speedrun</b>\nSend Speedrun mode description.\n\n/<b>kick, /ban</b>\nKick or ban a player by name.\n<b>/ckick, /cban</b>\nKick or ban a player by color.\n\n<b>/vip /moderator /admin</b>\nAdd a player as VIP, Moderator, or Admin.\n<b>/removevip, /removemoderator, /removeadmin</b>\nRemove VIP, Moderator, or Admin from a player.\n\n<b>/eg, /endgame</b>\nEnd the current game.\n<b>/em, /endmeeting</b>\nEnd the current meeting.\n<b>/s, /start</b>\nBegin the game starting countdown.\n\n<b>/t {template}</b>\nSend a template from AUR-DATA/templates.txt.\n\n<b>/col, /color, /colour</b>\nSet your color, can be used to bypass limits.",
"translationReloaded": "Your file has successfully been reset.\nTo apply all changes, restart your game.",
"tabGroupCrewmateAbilities": "Crewmate Ability Settings",
"crewmateAbility": "Crewmate (Role) Ability",
"scientistAbility": "Scientist Ability",
"engineerAbility": "Engineer Ability",
"noisemakerAbility": "Noisemaker Ability",
"trackerAbility": "Tracker Ability",
"detectiveAbility": "Detective Ability",
"extraVotesCrewmate": "Extra Votes For Mayor",
"extraVotesPerTask": "Extra Votes Per Task For Workhorse",
"speedrunnerShortTasks": "Short Tasks For Tasker",
"speedrunnerLongTasks": "Long Tasks For Tasker",
"tabGroupImpostorAbilities": "Impostor Ability Settings",
"impostorAbility": "Impostor (Role) Ability",
"shapeshifterAbility": "Shapeshifter Ability",
"phantomAbility": "Phantom Ability",
"viperAbility": "Viper Ability",
"extraVotesImpostor": "Extra Votes For Tyrant",
"extraVotesPerKill": "Extra Votes Per Kill For Stealer",
"killsNeededForJuggernaut": "Kills Needed For Juggernaut",
"ability": "Ability",
"templateWelcome": "# In this file you can add Templates, which serve as easy copy-paste alternatives.\n# To create a template, write a new line with the same formatting as the test Template below.\n# Note that Templates can't be longer than 120 characters and can't contain special characters. Having so will kick you.\n\ntest: this is an example template. Type '/t test' to see it.\n\nwelcome: Welcome! This lobby uses Among Us Revamped {ModVersion} by MV. Enjoy!",
"moderatorWelcome": "# In this file you can add Moderators by Friendcode.\n# If you add someone, they will gain a purple name in-game.\n# Go to 'System Settings' in-game to customize Moderator permissions. Below is a Friendcode example.\n\nfriendcode#0000",
"vipWelcome": "# In this file you can add VIP's by Friendcode.\n# If you add someone, they will gain a yellow name in-game.\n# Go to 'System Settings' in-game to customize VIP permissions. Below is a Friendcode example.\n\nfriendcode#0000\n",
@@ -252,9 +245,10 @@
"banlistWelcome": "# In this file you can ban players from your lobby by Friendcode.\n# Banning someone in-game will automatically add them here as well. Below is a Friendcode example.\n\nfriendcode#0000\n",
"banwordWelcome": "# In this file you can set denied words, automatically kicking anyone in-game who sends words listed here.\n# Make sure to separate words by using new lines.",
"bannameWelcome": "# In this file you can set denied names, automatically kicking anyone in-game who uses names listed here.\n# Make sure to separate names by using new lines.",
"languageWelcome": "# In this file you can set your Among Us Revamped language.\n# To set the language, type one of the supported languages in a new line. The default is English.\n# Supported languages: English, Spanish, SimplifiedChinese, Italian\n\nEnglish",
"startWordsWelcome": "# In this file you can set the detected words for 'Kick Players Who Say Start'.\n# 'Strict Detection Mode' OFF = Messages have to exactly match words. 'Strict Detection Mode' ON = Messages only have to contain words.\n# You can put unrelated words in as well in order to detect them only in lobby.\n\nstart\nbegin\ncommence",
"noGameEndWarning": "WARNING: No Game End is enabled",
"gameMasterWarningTwo": "WARNING: Game Master is enabled",
"tooLongTemplate": "Your Template is longer than 120 characters and would kick you upon sending. Please reduce the length.",
@@ -274,7 +268,7 @@
"emDesc": "End the current meeting.",
"aurDesc": "Send Among Us Revamped social links.",
"sDesc": "Start the game countdown.",
"rDesc": "/r sends active abilities or current gamemode. /r {ability} sends specific ability info",
"rDesc": "Sends current gamemode description.",
"rolesDesc": "Send all abilities/gamemode overview.",
"kickDesc": "Kick a player by name.",
"ckickDesc": "Kick a player by color.",
@@ -291,18 +285,26 @@
"removeAdminDesc": "Remove Admin from user.",
"lastgameDesc": "Send last game info.",
"templateDesc": "Send a specified template from AUR-DATA/templates.txt.",
"seekerDesc": "Adds player as Seeker in HnS.",
"seekersDesc": "Shows all manually selected Seekers.",
"clearSeekerDesc": "Clears the manual Seeker list.",
"mapVoteDesc": "Starts a vote between the 5 core maps.",
"allMapVoteDesc": "Starts a vote between all 6 maps, including Eht Dleks.",
"banWordKick": "{0} was kicked because they sent a banned word {1} time(s)",
"banWordKick": "{0} was kicked because they sent a word in DeniedWords.txt {1} time(s)",
"startWordKick": "{0} was kicked because they sent a word in StartWords.txt {1} time(s)",
"banWordBan": "{0} was banned because they sent a word in DeniedWords.txt {1} time(s)",
"startWordBan": "{0} was banned because they sent a word in StartWords.txt {1} time(s)",
"pluginWarning": "<color=red><size=5><b>WARNING:</color></b></size>\n<size=3><b>You have 2 or more detected Plugins.</size></b>\nAmong Us Revamped is not compatible with most mods.\nIf you find bugs, they are most likely due to incompatibility.",
"systemSettings": "System Settings",
"abilitySettings": "Ability Settings",
"moderationSettings": "Moderation Settings",
"gameplaySettings": "Gameplay Settings",
"gamemodeSettings": "Gamemode Settings",
"systemSettingsDesc": "Quality settings to improve comfort and testing.",
"abilitySettingsDesc": "Ability settings to enhance vanilla roles.",
"moderationSettingsDesc": "Moderation settings to combat toxicity and misconduct.",
"gameplaySettingsDesc": "Gameplay settings to improve the in-game experience.",
"gamemodeSettingsDesc": "Situational settings to apply for specific gamemodes.",
@@ -310,5 +312,28 @@
"vipAndAbove": "<color=yellow>VIP</color> And Above",
"moderatorAndAbove": "<color=purple>Moderator</color> And Above",
"admin": "<color=red>Admin</color>",
"onlyYou": "Only You"
"onlyYou": "Only You",
"seekers": "Seekers: ",
"clearedSeekers": "Successfully cleared the manual Seeker list.",
"rehostSuccess": "Successfully rehosted a lobby",
"kick": "Kick",
"ban": "Ban",
"notifyMe": "Notify Me",
"tabGroupAfk": "AFK Detection",
"enableAfkDetection": "Enable AFK Detection",
"afkTimer": "Detection Threshold",
"afkPenalty": "AFK Penalty",
"onlyDetectSpawn": "Only Detect Players At Spawn",
"afkNotify": "{0} has been AFK for {1}s",
"afkKick": "{0} has been AFK for {1s}, kicking user",
"afkBan": "{0} has been AFK for {1}s, banning user",
"automaticMapPoll": "Automatic /mapvote After Rejoining",
"automaticAllMapPoll": "Automatic /allmapvote After Rejoining",
"timeBeforeMapPoll": "Time Before Poll Starts"
}
+2 -29
View File
@@ -216,35 +216,10 @@
"disableSubmitScan": "Disabilita Invia la scansione",
"disableUploadData": "Disabilita Carica i dati",
"allCommandsFull": "<b>TUTTI I COMANDI:</b>\n\n<b>/help</b>\nMostra questo messaggio.\n<b>/aur, /socials</b>\nInvia i link social di Among Us Revamped.\n\n<b>/r, /gm</b>\nInvia la descrizione della modalità corrente o l'elenco delle abilità.\n<b>/r {ability}</b>\nInvia le informazioni di un'abilità specifica.\n<b>/l, /lastgame</b>\nInvia le informazioni sull'ultimo vincitore.\n\n<b>/0kc, /0killcooldown</b>\nInvia la descrizione della modalità Ricarica uccisione a 0.\n<b>/sns, /shiftandseek</b>\nInvia la descrizione della modalità Mutaforma e cerca.\n<b>/sp, /speedrun</b>\nInvia la descrizione della modalità Speedrun.\n\n/<b>kick, /ban</b>\nEspelli o banna un giocatore per nome.\n<b>/ckick, /cban</b>\nEspelli o banna un giocatore per colore.\n\n<b>/vip /moderator /admin</b>\nAggiungi un giocatore come VIP, Moderatore o Admin.\n<b>/removevip, /removemoderator, /removeadmin</b>\nRimuovi VIP, Moderatore o Admin da un giocatore.\n\n<b>/eg, /endgame</b>\nTermina la partita corrente.\n<b>/em, /endmeeting</b>\nTermina la riunione corrente.\n<b>/s, /start</b>\nAvvia il conto alla rovescia di inizio partita.\n\n<b>/t {template}</b>\nInvia un template da AUR-DATA/templates.txt.\n\n<b>/col, /color, /colour</b>\nImposta il tuo colore, può essere usato per aggirare i limiti.",
"allCommandsFull": "<b>TUTTI I COMANDI:</b>\n\n<b>/help</b>\nMostra questo messaggio.\n<b>/aur, /socials</b>\nInvia i link social di Among Us Revamped.\n\n<b>/r, /gm</b>\nInvia la descrizione della modalità corrente o l'elenco delle abilità.\n<b>/l, /lastgame</b>\nInvia le informazioni sull'ultimo vincitore.\n\n<b>/0kc, /0killcooldown</b>\nInvia la descrizione della modalità Ricarica uccisione a 0.\n<b>/sns, /shiftandseek</b>\nInvia la descrizione della modalità Mutaforma e cerca.\n<b>/sp, /speedrun</b>\nInvia la descrizione della modalità Speedrun.\n\n/<b>kick, /ban</b>\nEspelli o banna un giocatore per nome.\n<b>/ckick, /cban</b>\nEspelli o banna un giocatore per colore.\n\n<b>/vip /moderator /admin</b>\nAggiungi un giocatore come VIP, Moderatore o Admin.\n<b>/removevip, /removemoderator, /removeadmin</b>\nRimuovi VIP, Moderatore o Admin da un giocatore.\n\n<b>/eg, /endgame</b>\nTermina la partita corrente.\n<b>/em, /endmeeting</b>\nTermina la riunione corrente.\n<b>/s, /start</b>\nAvvia il conto alla rovescia di inizio partita.\n\n<b>/t {template}</b>\nInvia un template da AUR-DATA/templates.txt.\n\n<b>/col, /color, /colour</b>\nImposta il tuo colore, può essere usato per aggirare i limiti.",
"translationReloaded": "Il tuo file è stato ripristinato con successo.\nPer applicare tutte le modifiche, riavvia il gioco.",
"tabGroupCrewmateAbilities": "Impostazioni abilità astronauta",
"crewmateAbility": "Abilità dell'astronauta (Ruolo)",
"scientistAbility": "Abilità dello scienziato",
"engineerAbility": "Abilità dell'ingegnere",
"noisemakerAbility": "Abilità del noisemaker",
"trackerAbility": "Abilità del tracker",
"detectiveAbility": "Abilità del detective",
"extraVotesCrewmate": "Voti extra per il sindaco",
"extraVotesPerTask": "Voti extra per incarico per lo sgobbone",
"speedrunnerShortTasks": "Incarichi brevi per il tasker",
"speedrunnerLongTasks": "Incarichi lunghi per il tasker",
"tabGroupImpostorAbilities": "Impostazioni abilità impostore",
"impostorAbility": "Abilità dell'impostore (Ruolo)",
"shapeshifterAbility": "Abilità del mutaforma",
"phantomAbility": "Abilità del fantasma",
"viperAbility": "Abilità della vipera",
"extraVotesImpostor": "Voti extra per il tiranno",
"extraVotesPerKill": "Voti extra per uccisione per il ladro",
"killsNeededForJuggernaut": "Uccisioni necessarie per il juggernaut",
"ability": "Abilità",
"templateWelcome": "# In questo file puoi aggiungere i Template, che fungono da comode alternative per il copia-incolla.\n# Per creare un template, scrivi una nuova riga con la stessa formattazione del Template di prova qui sotto.\n# Nota che i Template non possono superare i 120 caratteri e non possono contenere caratteri speciali. In caso contrario verrai espulso.\n\ntest: questo è un esempio di template. Digita '/t test' per vederlo.\n\nwelcome: Benvenuto! Questa lobby utilizza Among Us Revamped {ModVersion} di MV. Buon divertimento!",
"moderatorWelcome": "# In questo file puoi aggiungere i Moderatori tramite Codice Amico.\n# Se aggiungi qualcuno, otterrà un nome viola all'interno del gioco.\n# Vai su 'Impostazioni di sistema' nel gioco per personalizzare i permessi dei Moderatori. Di seguito è riportato un esempio di Codice Amico.\n\nfriendcode#0000",
"vipWelcome": "# In questo file puoi aggiungere i VIP tramite Codice Amico.\n# Se aggiungi qualcuno, otterrà un nome giallo all'interno del gioco.\n# Vai su 'Impostazioni di sistema' nel gioco per personalizzare i permessi dei VIP. Di seguito è riportato un esempio di Codice Amico.\n\nfriendcode#0000\n",
@@ -273,7 +248,7 @@
"emDesc": "Termina la riunione corrente.",
"aurDesc": "Invia i link social di Among Us Revamped.",
"sDesc": "Avvia il conto alla rovescia del gioco.",
"rDesc": "/r invia le abilità attive o la modalità di gioco corrente. /r {ability} invia le informazioni di un'abilità specifica",
"rDesc": "/r invia le abilità attive o la modalità di gioco corrente.",
"rolesDesc": "Invia una panoramica di tutte le abilità/modalità di gioco.",
"kickDesc": "Espelli un giocatore per nome.",
"ckickDesc": "Espelli un giocatore per colore.",
@@ -296,12 +271,10 @@
"pluginWarning": "<color=red><size=5><b>AVVISO:</color></b></size>\n<size=3><b>Hai 2 o più Plugin rilevati.</size></b>\nAmong Us Revamped non è compatibile con la maggior parte delle mod.\nSe riscontri dei bug, molto probabilmente sono dovuti all'incompatibilità.",
"systemSettings": "Impostazioni di sistema",
"abilitySettings": "Impostazioni abilità",
"gameplaySettings": "Impostazioni di gioco",
"gamemodeSettings": "Impostazioni modalità di gioco",
"systemSettingsDesc": "Impostazioni di qualità per migliorare il comfort e i test.",
"abilitySettingsDesc": "Impostazioni delle abilità per potenziare i ruoli base.",
"gameplaySettingsDesc": "Impostazioni di gioco per migliorare l'esperienza in partita.",
"gamemodeSettingsDesc": "Impostazioni situazionali da applicare per specifiche modalità di gioco.",
+320
View File
@@ -0,0 +1,320 @@
{
"LanguageID": "4",
"gameMaster": "ゲームマスター",
"showFPS": "FPSを表示",
"autoStart": "自動スタート",
"enableDarkTheme": "ダークテーマを有効化",
"enableLobbyMusic": "ロビーBGM",
"disableInfoWhenDead": "死亡時に情報を非表示",
"disableCommandHelper": "コマンドヘルパーを無効化",
"disableCompatibilityWarning": "互換性警告を無効化",
"gameMasterWarning": "ゲームマスターをオフにするまで観戦モードになります。警告: この設定が有効な場合、役職の割り当てが正確に行われない可能性があります。",
"cancelStartCountdown": "カウントダウンがキャンセルされました",
"invalidFriendCodeKick": "{0} は無効なフレンドコードのためキックされました",
"invalidFriendCodeBan": "{0} は無効なフレンドコードのためBANされました",
"language": "言語 (再起動が必要)",
"gamemode": "ゲームモード",
"tabGroupMain": "モデレーション",
"kickLowLevelPlayer": "指定レベル未満のプレイヤーをキック",
"tempBanLowLevelPlayer": "キックの代わりにBAN",
"dontKickLevelOnes": "Lv.1プレイヤーをキックしない (バグロビー対策)",
"kickInvalidFriendCodes": "無効(空欄)なフレンドコードをキック",
"tempBanInvalidFriendCodes": "キックの代わりにBAN",
"deniedWordsToKick": "NGワード送信者をキック",
"moderatorCanUseCommand": "モデレーターのコマンド使用を許可",
"autoKickStart": "「Start/開始」と発言したプレイヤーをキック",
"autoKickStartAsBan": "キックの代わりにBAN",
"autoKickStartStrength": "厳格検出モード",
"tabGroupAutomation": "自動化",
"autoSendGameInfo": "勝者情報を自動送信",
"autoRejoinLobby": "ロビーへ自動再参加",
"autoStartTimer": "自動スタートのカウントダウン",
"waitAutoStart": "自動スタートまでの待機時間",
"playerAutoStart": "自動スタートに必要な人数",
"enableJoinMessages": "参加歓迎メッセージを有効化",
"messagePerPlayerNum": "指定参加人数ごとの通知",
"tabGroupMisc": "その他",
"startCountdown": "デフォルトのカウントダウン",
"colorCommandLevel": "カラーコマンドの使用権限",
"allowFortegreen": "フォルテグリーン色を許可",
"noGameEnd": "ゲーム終了なし",
"tabGroupAccess": "アクセス権限",
"slashColorCmd": "/color の使用権限",
"slashRolesAndGamemodeCmd": "/r & テンプレート の使用権限",
"slashLastGameCmd": "/l & /aur の使用権限",
"slashKickCmd": "/kick & /ckick の使用権限",
"slashBanCmd": "/ban & /cban の使用権限",
"slashEndMeetingCmd": "/endmeeting & /seeker の使用権限",
"slashStartAndEndGameCmd": "/startgame & /endgame の使用権限",
"tabGroupCrewmate": "クルー役職",
"tabGroupNeutral": "第三陣営役職",
"tabGroupImpostor": "インポスター役職",
"tabGroupStandard": "ノーマル",
"tabGroupHNS": "かくれんぼ (Hide and Seek)",
"numSeekers": "鬼の人数",
"tabGroup0Kcd": "キルクールダウン0秒",
"noKcdSettingsOverride": "設定を自動更新",
"tabGroupSNS": "シェイプ&シーク (Shift and Seek)",
"snsChatInGame": "ゲーム中のチャットを許可 (ベータ機能)",
"snsSettingsOverride": "設定を自動更新",
"cantKillTime": "お手付き後のキル不可時間",
"misfiresToSuicide": "指定回数のお手付きで自滅",
"crewAutoWinsGameAfter": "クルーの自動勝利カウントダウン",
"snsDisableSabotage": "SnS緊急サボタージュを無効化",
"snsDisableReactor": "リアクターサボタージュを無効化",
"snsDisableOxygen": "O2サボタージュを無効化",
"snsDisableLights": "停電サボタージュを無効化",
"snsDisableComms": "通信妨害サボタージュを無効化",
"snsDisableHeli": "墜落危険サボタージュを無効化",
"snsDisableMushroomMixup": "キノコシャッフルサボタージュを無効化",
"snsDisableCloseDoor": "SnSドア閉鎖を無効化",
"tabGroupSpeedrun": "スピードラン",
"speedrunSettingsOverride": "設定を自動更新",
"gameAutoEndsAfter": "ゲームの自動終了時間",
"engineerMode": "全員エンジニア",
"tabGroupSabotages": "サボタージュ設定",
"deadImpostorsCanSabotage": "幽霊インポスターのサボタージュを許可",
"disableSabotage": "緊急サボタージュを無効化",
"disableReactor": "リアクターサボタージュを無効化",
"disableOxygen": "O2サボタージュを無効化",
"disableLights": "停電サボタージュを無効化",
"disableComms": "通信妨害サボタージュを無効化",
"disableHeli": "墜落危険サボタージュを無効化",
"disableMushroomMixup": "キノコシャッフルサボタージュを無効化",
"disableCloseDoor": "ドア閉鎖を無効化",
"tabGroupGameplayGeneral": "一般ゲーム設定",
"disableAnnoyingMeetingCalls": "開始30秒間の緊急会議召集を禁止",
"disableReport": "通報を無効化",
"changeDecontaminationTime": "除染時間を変更 (ノーマル限定)",
"decontaminationTimeOnMiraHQ": "MIRA HQ 除染所要時間",
"decontaminationDoorOpenTimeOnMiraHQ": "MIRA HQ 除染ドア開放時間",
"decontaminationTimeOnPolus": "Polus 除染所要時間",
"decontaminationDoorOpenTimeOnPolus": "Polus 除染ドア開放時間",
"disableSporeTrigger": "Fungleの胞子発生を無効化",
"disableDevices": "端末・設備を無効化",
"disableSkeldDevices": "The Skeld の設備を無効化",
"disableSkeldAdmin": "The Skeld アドミンを無効化",
"disableSkeldCamera": "The Skeld 防犯カメラを無効化",
"disableMiraHQDevices": "MIRA HQ の設備を無効化",
"disableMiraHQAdmin": "MIRA HQ アドミンを無効化",
"disableMiraHQDoorLog": "MIRA HQ ドアログを無効化",
"disablePolusDevices": "Polus の設備を無効化",
"disablePolusAdmin": "Polus アドミンを無効化",
"disablePolusCamera": "Polus 防犯カメラを無効化",
"disablePolusVital": "Polus バイタルを無効化",
"disableAirshipDevices": "The Airship の設備を無効化",
"disableAirshipCockpitAdmin": "The Airship 操縦室アドミンを無効化",
"disableAirshipRecordsAdmin": "The Airship 記録室アドミンを無効化",
"disableAirshipCamera": "The Airship 防犯カメラを無効化",
"disableAirshipVital": "The Airship バイタルを無効化",
"disableFungleDevices": "The Fungle の設備を無効化",
"disableFungleVital": "The Fungle バイタルを無効化",
"tabGroupTasks": "タスク設定",
"allPlayersSameTasks": "全員同じタスクを割り当て",
"overrideTaskSettings": "すべてのタスクを無効化",
"taskPercentNeededToWin": "クルー勝利に必要なタスク完了率(%)",
"disableMiraTasks": "MIRA HQ タスクを無効化",
"disableBuyBeverage": "「飲料の購入」を無効化",
"disableMeasureWeather": "「天気の測定」を無効化",
"disableProcessData": "「データの処理」を無効化",
"disableRunDiagnostics": "「診断の実行」を無効化",
"disableSortSamples": "「標本の仕分け」を無効化",
"disablePolusTasks": "Polus タスクを無効化",
"disableActivateWeatherNodes": "「気象ノードの有効化」を無効化",
"disableAlignTelescope": "「望遠鏡の整列」を無効化",
"disableFillCanisters": "「キャニスターへの充填」を無効化",
"disableInsertKeys": "「鍵の挿入」を無効化",
"disableOpenWaterways": "「水路を開く」を無効化",
"disableRebootWifi": "「Wi-Fiの再起動」を無効化",
"disableRepairDrill": "「ドリルの修理」を無効化",
"disableScanBoardingPass": "「搭乗券のスキヤン」を無効化",
"disableAirshipTasks": "The Airship タスクを無効化",
"disableCleanToilet": "「トイレの掃除」を無効化",
"disableDecontaminate": "「除染」を無効化",
"disableDevelopPhotos": "「写真の現像」を無効化",
"disableDressMannequin": "「マネキンの着せ替え」を無効化",
"disableFixShower": "「シャワーの修理」を無効化",
"disableMakeBurger": "「バーガーの作成」を無効化",
"disablePickUpTowels": "「タオルを拾う」を無効化",
"disablePolishRuby": "「ルビーを磨く」を無効化",
"disablePutAwayPistols": "「拳銃の片付け」を無効化",
"disablePutAwayRifles": "「ライフルを片付ける」を無効化",
"disableRewindTapes": "「テープの巻き戻し」を無効化",
"disableResetBreakers": "「ブレーカーのリセット」を無効化",
"disableSortRecords": "「記録の整理」を無効化",
"disableStartFans": "「ファンを始動」を無効化",
"disableUnlockSafe": "「金庫の解錠」を無効化",
"disableFungleTasks": "The Fungle タスクを無効化",
"disableBuildSandcastle": "「砂の城を作る」を無効化",
"disableCatchFish": "「魚を捕まえる」を無効化",
"disableCollectSamples": "「標本の採取」を無効化",
"disableCollectShells": "「貝殻の採取」を無効化",
"disableCollectVegetables": "「野菜の収穫」を無効化",
"disableCrankGenerator": "「発電機を回す」を無効化",
"disableExtractFuel": "「燃料の抽出」を無効化",
"disableFixAntenna": "「アンテナの修理」を無効化",
"disableHelpCritter": "「生き物の救出」を無効化",
"disableHoistSupplies": "「物資の引き上げ」を無効化",
"disableLiftWeights": "「ウエイトリフティング」を無効化",
"disableMineOres": "「鉱石の採掘」を無効化",
"disablePlayVideoGame": "「ゲームを遊ぶ」を無効化",
"disablePolishGem": "「宝石を磨く」を無効化",
"disableReplaceParts": "「部品の交換」を無効化",
"disableRoastMarshmallow": "「マシュマロを焼く」を無効化",
"disableThrowFisbee": "「フリスビーを投げる」を無効化",
"disableFindSignal": "「信号を探す」を無効化",
"disableMiscCommonTasks": "共通タスクを無効化",
"disableEnterIdCode": "「IDコードの入力」を無効化",
"disableFixWiring": "「配線の修理」を無効化",
"disableSwipeCard": "「カードを通す」を無効化",
"disableMiscShortTasks": "ショートタスクを無効化",
"disableAssembleArtifact": "「アーティファクトの組み立て」を無効化",
"disableChartCourse": "「航路の確認」を無効化",
"disableCleanO2Filter": "「O2フィルターの清掃」を無効化",
"disableCleanVent": "「ベントの清掃」を無効化",
"disableMonitorMushroom": "「キノコの監視」を無効化",
"disableMonitorTree": "「木の監視」を無効化",
"disablePrimeShields": "「シールドの準備」を無効化",
"disableRecordTemperature": "「温度の記録」を無効化",
"disableStabilizeSteering": "「操舵の安定化」を無効化",
"disableStoreArtifacts": "「アーティファクトの保管」を無効化",
"disableUnlockManifolds": "「マニホールドの開錠」を無効化",
"disableMiscLongTasks": "ロングタスクを無効化",
"disableAlignEngineOutput": "「エンジン出力の調整」を無効化",
"disableClearAsteroids": "「小惑星の破壊」を無効化",
"disableEmptyChute": "「ダストシュートを空にする」を無効化",
"disableInspectSample": "「検体の検査」を無効化",
"disableReplaceWaterJug": "「給水ボトルの交換」を無効化",
"disableStartReactor": "「リアクターの起動」を無効化",
"disableWaterPlants": "「植物の水やり」を無効化",
"disableMiscMixedTasks": "ミックス(多段階)タスクを無効化",
"disableCalibrateDistributor": "「ディストリビューターの調整」を無効化",
"disableDivertPower": "「電力のバイパス」を無効化",
"disableEmptyGarbage": "「ゴミ捨て」を無効化",
"disableFuelEngines": "「エンジンへの給油」を無効化",
"disableSubmitScan": "「スキャンの送信」を無効化",
"disableUploadData": "「データのアップロード」を無効化",
"allCommandsFull": "<b>全コマンド一覧:</b>\n\n<b>/help</b>\nこのヘルプメッセージを表示します。\n<b>/aur, /socials</b>\nAmong Us Revamped のSNSリンクを送信します。\n\n<b>/r, /gm</b>\n現在のゲームモードの説明を送信します。\n<b>/l, /lastgame</b>\n前回の勝者情報を送信します。\n\n<b>/0kc, /0killcooldown</b>\nキルクール0秒モードの説明を送信します。\n<b>/sns, /shiftandseek</b>\nシェイプ&シークモードの説明を送信します。\n<b>/sp, /speedrun</b>\nスピードランモードの説明を送信します。\n\n/<b>kick, /ban</b>\n名前指定でプレイヤーをキック/BANします。\n<b>/ckick, /cban</b>\n色指定でプレイヤーをキック/BANします。\n\n<b>/vip /moderator /admin</b>\nプレイヤーをVIP、モデレーター、管理人に設定します。\n<b>/removevip, /removemoderator, /removeadmin</b>\nプレイヤーの権限を削除します。\n\n<b>/eg, /endgame</b>\n現在のゲームを強制終了します。\n<b>/em, /endmeeting</b>\n現在の会議を強制終了します。\n<b>/s, /start</b>\nゲーム開始のカウントダウンを開始します。\n\n<b>/t {template}</b>\nAUR-DATA/templates.txt から定型文を送信します。\n\n<b>/col, /color, /colour</b>\n自分の色を設定します(制限解除に使用可能)。",
"translationReloaded": "翻訳ファイルが正常にリセットされました。\n変更を適用するにはゲームを再起動してください。",
"templateWelcome": "# このファイルには定型文(テンプレート)を追加できます。\n# テンプレートを作成するには、下の例と同じフォーマットで新しい行を追加してください。\n# 注意: テンプレートは120文字を超えてはいけず、特殊文字も使用できません(送信時にキックされます)。\n\ntest: これはテンプレートの例です。'/t test' と入力して送信します。\n\nwelcome: ようこそ! このロビーは MV 作成の Among Us Revamped {ModVersion} を使用しています。お楽しみください!",
"moderatorWelcome": "# このファイルにはフレンドコードでモデレーターを追加できます。\n# 追加されたプレイヤーはゲーム内で名前が紫色で表示されます。\n# 権限のカスタマイズはゲーム内の「システム設定」で行えます。以下は記述例です。\n\nfriendcode#0000",
"vipWelcome": "# このファイルにはフレンドコードでVIPを追加できます。\n# 追加されたプレイヤーはゲーム内で名前が黄色で表示されます。\n# 権限のカスタマイズはゲーム内の「システム設定」で行えます。以下は記述例です。\n\nfriendcode#0000\n",
"adminWelcome": "# このファイルにはフレンドコードで管理人(Admin)を追加できます。\n# 追加されたプレイヤーはゲーム内で名前が赤色で表示されます。\n# 権限のカスタマイズはゲーム内の「システム設定」で行えます。以下は記述例です。\n\nfriendcode#0000\n",
"banlistWelcome": "# このファイルにフレンドコードを記述することでプレイヤーをBANリストに追加できます。\n# ゲーム内でBANしたプレイヤーも自動的にここへ追加されます。以下は記述例です。\n\nfriendcode#0000\n",
"banwordWelcome": "# このファイルではNGワードを設定できます。リスト内の単語を発言したプレイヤーは自動的にキックされます。\n# 単語ごとに改行して区切ってください。",
"bannameWelcome": "# このファイルではNGネームを設定できます。リスト内の名前を使用しているプレイヤーは自動的にキックされます。\n# 名前ごとに改行して区切ってください。",
"noGameEndWarning": "警告: 「ゲーム終了なし」が有効になっています",
"tooLongTemplate": "テンプレートが120文字を超えているため、送信するとキックされます。文字数を減らしてください。",
"vipAdd": "{0} をVIPに追加しました。",
"moderatorAdd": "{0} をモデレーターに追加しました。",
"adminAdd": "{0} を管理人に追加しました。",
"vipRemove": "{0} のVIP権限を削除しました。",
"moderatorRemove": "{0} のモデレーター権限を削除しました。",
"adminRemove": "{0} の管理人権限を削除しました。",
"permFail": "ユーザー '{0}' が見つかりませんでした。綴りが正しいか確認してください。",
"helpDesc": "すべてのコマンドと機能を表示します。",
"snsDesc": "シェイプ&シークモードの説明を送信します。",
"0kcDesc": "キルクール0秒モードの説明を送信します。",
"SrDesc": "スピードランモードの説明を送信します。",
"egDesc": "現在のゲームを強制終了します。",
"emDesc": "現在の会議を強制終了します。",
"aurDesc": "Among Us Revamped のSNSリンクを送信します。",
"sDesc": "ゲーム開始カウントダウンを開始します。",
"rDesc": "現在のゲームモードの説明を送信します。",
"rolesDesc": "すべての能力・モードの概要を送信します。",
"kickDesc": "名前指定でプレイヤーをキックします。",
"ckickDesc": "色指定でプレイヤーをキックします。",
"banDesc": "名前指定でプレイヤーをBANします。",
"cbanDesc": "色指定でプレイヤーをBANします。",
"dumpDesc": "LogOutputを別のファイルにコピーします。",
"colDesc": "自分の色を変更します。",
"reloadDesc": "言語ファイルを再読み込みします。",
"vipDesc": "ユーザーをVIPに追加します。",
"moderatorDesc": "ユーザーをモデレーターに追加します。",
"adminDesc": "ユーザーを管理人に追加します。",
"cremoveVipDesc": "ユーザーからVIP権限を削除します。",
"removeModeratorDesc": "ユーザーからモデレーター権限を削除します。",
"removeAdminDesc": "ユーザーから管理人権限を削除します。",
"lastgameDesc": "前回のゲーム情報を送信します。",
"templateDesc": "AUR-DATA/templates.txt から指定のテンプレートを送信します。",
"seekerDesc": "かくれんぼでプレイヤーを鬼(Seeker)に指定します。",
"banWordKick": "{0} は DeniedWords.txt に登録されたNGワードを {1} 回送信したためキックされました",
"pluginWarning": "<color=red><size=5><b>警告:</color></b></size>\n<size=3><b>複数のプラグイン(Mod)が検出されました。</size></b>\nAmong Us Revamped は他の多くのMODと互換性がありません。\nバグが発生する場合、そのほとんどはMod間の競合によるものです。",
"systemSettings": "システム設定",
"gameplaySettings": "ゲームプレイ設定",
"gamemodeSettings": "ゲームモード設定",
"systemSettingsDesc": "快適性やテスト作業を向上させる各種設定。",
"gameplaySettingsDesc": "局内の体験を向上させるゲームプレイ設定。",
"gamemodeSettingsDesc": "特定モード用に適用する状況別の設定。",
"everyone": "全員",
"vipAndAbove": "<color=yellow>VIP</color> 以上",
"moderatorAndAbove": "<color=purple>モデレーター</color> 以上",
"admin": "<color=red>管理人</color>",
"onlyYou": "あなたのみ",
"seekersDesc": "手動で選択されたシーカーをすべて表示します。",
"clearSeekerDesc": "手動シーカーリストをクリアします。",
"startWordsWelcome": "# このファイルでは、「Start」と発言したプレイヤーをキックする機能で検出する単語を設定できます。\n# 「厳格検出モード」OFF = メッセージが単語と完全に一致する必要があります。\n# 「厳格検出モード」ON = メッセージに単語が含まれているだけで検出されます。\n# ロビー内でのみ検出したい無関係な単語を追加することもできます。\n\nstart\nbegin\ncommence",
"gameMasterWarningTwo": "警告:ゲームマスターが有効になっています",
"startWordKick": "{0} は StartWords.txt に設定された単語を送信したためキックされました(回数:{1}回)",
"seekers": "シーカー:",
"clearedSeekers": "手動シーカーリストを正常にクリアしました。",
"autoKickStartTimes": "StartWordsを送信した回数でキック",
"tabGroupLevelKick": "レベル管理",
"enableKickLowLevelPlayer": "低レベルのプレイヤーをキック",
"tabGroupKickInvalidFriendCodes": "無効なフレンドコード",
"tabGroupAutoKickStart": "StartWords",
"tabGroupAutostart": "自動ホスト",
"rehost": "切断時にロビーを自動で再作成",
"public": "新しいロビーを自動で公開",
"mapVoteDuration": "マップ投票時間",
"tabGroupDeniedWords": "禁止ワード",
"enableDeniedWords": "禁止ワードを送信したプレイヤーをキック",
"slashMapAndSeekerCmd": "/seeker と /mapvote を使用できる人",
"snsChatInGameExtend": "ゲーム開始後にゲームモード情報を送信",
"mapVoteDesc": "5つの通常マップで投票を開始します。",
"allMapVoteDesc": "Eht Dleks を含む全6マップで投票を開始します。",
"banWordBan": "{0} は DeniedWords.txt の単語を {1} 回送信したためBANされました",
"startWordBan": "{0} は StartWords.txt の単語を {1} 回送信したためBANされました",
"moderationSettings": "モデレーション設定",
"moderationSettingsDesc": "荒らしや迷惑行為を防止するための設定です。",
"rehostSuccess": "ロビーの再作成に成功しました"
}
+321
View File
@@ -0,0 +1,321 @@
{
"LanguageID": "5",
"gameMaster": "Наблюдатель",
"showFPS": "Показать FPS",
"autoStart": "Авто Старт",
"enableDarkTheme": "Включить Тёмную Тему",
"enableLobbyMusic": "Музыка Лобби",
"disableInfoWhenDead": "Скрывать Информацию После Смерти",
"disableCommandHelper": "Выключить Командного Помощника",
"disableCompatibilityWarning": "Выключить Предупреждение Совместимости",
"cancelStartCountdown": "Отсчёт до старта отменён",
"invalidFriendCodeKick": "{0} был кикнут из-за неправильного Кода друга",
"invalidFriendCodeBan": "{0} был забанен из-за неправильного Кода друга",
"language": "Язык (Нужен Перезапуск)",
"gamemode": "Режим",
"tabGroupMain": "Модерация",
"kickLowLevelPlayer": "Кикать Игроков Ниже Уровня",
"tempBanLowLevelPlayer": "Банить вместо кика",
"dontKickLevelOnes": "Не кикать Игроков Ур.1 В Глитчнутых Лобби",
"kickInvalidFriendCodes": "Кикать Неправильные (Пустые) Коды друзей",
"tempBanInvalidFriendCodes": "Банить вместо кика",
"deniedWordsToKick": "Отправленных Запрещённых Слов Чтобы Кикнуть Игрока",
"moderatorCanUseCommand": "Модераторы Могут Использовать Команды",
"autoKickStart": "Кикать Игроков Которые Говорят Start",
"autoKickStartAsBan": "Банить вместо кика",
"autoKickStartStrength": "Режим строгого обнаружения",
"tabGroupAutomation": "Автоматизация",
"autoSendGameInfo": "Автоматически отправлять информацию о победителях",
"autoRejoinLobby": "Автоматически перезаходить в лобби",
"autoStartTimer": "Отсчёт Для Авто Старта",
"waitAutoStart": "Авто Старт После",
"playerAutoStart": "Игроков Нужно Для Авто Старта",
"enableJoinMessages": "Включить Сообщение С Приветствиями",
"messagePerPlayerNum": "Сообщение Каждые # Заходов",
"tabGroupMisc": "Экспериментальное",
"startCountdown": "Отсчёт Для Старта По Умолчанию",
"colorCommandLevel": "Кто Может использовать Команды Цветов",
"allowFortegreen": "Разрешить Фортезелёный Цвет",
"noGameEnd": "Без Конца Игры",
"tabGroupAccess": "Уровни Доступа",
"slashColorCmd": "Кто Может Использовать /color",
"slashRolesAndGamemodeCmd": "Кто Может Использовать /r & Templates",
"slashLastGameCmd": "Кто Может Использовать /l & /aur",
"slashKickCmd": "Кто Может Использовать /kick & /ckick",
"slashBanCmd": "Кто Может Использовать /ban & /cban",
"slashStartAndEndGameCmd": "Кто Может Использовать /startgame & /endgame",
"tabGroupCrewmate": "Роли Экипажа",
"tabGroupNeutral": "Роли Нейтралов",
"tabGroupImpostor": "Роли Предателей",
"tabGroupStandard": "Стандарт",
"tabGroupHNS": "Прятки",
"numSeekers": "# Искателей",
"tabGroup0Kcd": "0 Перезарядка Убийств",
"noKcdSettingsOverride": "Автоматически Обновлять Настройки",
"tabGroupSNS": "Клон",
"snsChatInGame": "Чат во время игры (экспериментальное)",
"snsSettingsOverride": "Автоматически Обновлять Настройки",
"cantKillTime": "После Осечки Нельзя Убивать В Течение",
"misfiresToSuicide": "Самоубийство После Количества Осечек",
"crewAutoWinsGameAfter": "Экипаж Автоматически Побеждает После",
"snsDisableSabotage": "Выключить Критические Саботажи в Режиме Клона",
"snsDisableReactor": "Выключить Сабботаж Реактора",
"snsDisableOxygen": "Выключить Сабботаж O2",
"snsDisableLights": "Выключить Сабботаж Света",
"snsDisableComms": "Выключить Сабботаж Связи",
"snsDisableHeli": "Выключить Сабботаж Столкновения",
"snsDisableMushroomMixup": "Выключить Сабботаж Грибного Переполоха",
"snsDisableCloseDoor": "Выключить Сабботаж Дверей в Режиме Клона",
"tabGroupSpeedrun": "Спидран",
"speedrunSettingsOverride": "Автоматически Обновлять Настройки",
"gameAutoEndsAfter": "Игра автоматически заканчивается после",
"engineerMode": "Все Инженеры",
"tabGroupSabotages": "Саботажи",
"deadImpostorsCanSabotage": "Умершие Предатели Могут Саботировать",
"disableSabotage": "Выключить Критические Саботажи",
"disableReactor": "Выключить Сабботаж Реактора",
"disableOxygen": "Выключить Сабботаж O2",
"disableLights": "Выключить Сабботаж Света",
"disableComms": "Выключить Сабботаж Связи",
"disableHeli": "Выключить Сабботаж Столкновения",
"disableMushroomMixup": "Выключить Сабботаж Грибного Переполоха",
"disableCloseDoor": "Выключить Сабботаж Дверей",
"tabGroupGameplayGeneral": "Основное",
"disableAnnoyingMeetingCalls": "В первые 30 секунд нельзя созывать собрания",
"disableReport": "Выключить Репорты Трупов",
"changeDecontaminationTime": "Изменить Время Обеззараживания (Только Стандартный Режим)",
"decontaminationTimeOnMiraHQ": "Время обеззараживания на Mira HQ",
"decontaminationDoorOpenTimeOnMiraHQ": "Время открытия дверей на Mira HQ",
"decontaminationTimeOnPolus": "Время обеззараживания на Polus",
"decontaminationDoorOpenTimeOnPolus": "Время открытия дверей на Polus",
"disableSporeTrigger": "Выключить споры на Fungle",
"disableDevices": "Выключить Девайсы",
"disableSkeldDevices": "Выключить Девайсы на Skeld",
"disableSkeldAdmin": "Выключить Админ на Skeld",
"disableSkeldCamera": "Выключить Камеры на Skeld",
"disableMiraHQDevices": "Выключить Девайсы на Mira HQ",
"disableMiraHQAdmin": "Выключить Админ на Mira HQ",
"disableMiraHQDoorLog": "Выключить Журнал на Mira HQ",
"disablePolusDevices": "Выключить Девайсы на Polus",
"disablePolusAdmin": "Выключить Админ на Polus",
"disablePolusCamera": "Выключить Камеры на Polus",
"disablePolusVital": "Выключить Пульс на Polus",
"disableAirshipDevices": "Выключить Девайсы на Airship",
"disableAirshipCockpitAdmin": "Выключить Админ в Кабине на Airship",
"disableAirshipRecordsAdmin": "Выключить Админ в Архиве на Airship",
"disableAirshipCamera": "Выключить Камеры на Airship",
"disableAirshipVital": "Выключить Пульс на Airship",
"disableFungleDevices": "Выключить Девайсы на Fungle",
"disableFungleVital": "Выключить Пульс на Fungle",
"tabGroupTasks": "Задания",
"allPlayersSameTasks": "Одинаковые задания для всех",
"overrideTaskSettings": "Отключить задания",
"taskPercentNeededToWin": "% Выполненных заданий для победы экипажа",
"disableMiraTasks": "Выключить Задания на Mira HQ",
"disableBuyBeverage": "Выключить Купить Напиток",
"disableMeasureWeather": "Выключить Изучить Погодные Условия",
"disableProcessData": "Выключить Обработать Данные",
"disableRunDiagnostics": "Выключить Провести Диагностику",
"disableSortSamples": "Выключить Разобрать Образцы",
"disablePolusTasks": "Выключить Задания на Polus",
"disableActivateWeatherNodes": "Выключить Починить Узел",
"disableAlignTelescope": "Выключить Навести Телескоп",
"disableFillCanisters": "Выключить Наполнить Баллоны",
"disableInsertKeys": "Выключить Вставить Ключи",
"disableOpenWaterways": "Выключить Открыть Водопровод",
"disableRebootWifi": "Выключить Перезагрузить Wi-Fi",
"disableRepairDrill": "Выключить Починить Бур",
"disableScanBoardingPass": "Выключить Проверить Посадочный Талон",
"disableAirshipTasks": "Выключить Задания на Airship",
"disableCleanToilet": "Выключить Помыть Туалет",
"disableDecontaminate": "Выключить Пройти Обработку",
"disableDevelopPhotos": "Выключить Проявить Фото",
"disableDressMannequin": "Выключить Одеть Манекен",
"disableFixShower": "Выключить Починить Душ",
"disableMakeBurger": "Выключить Сделать Бургер",
"disablePickUpTowels": "Выключить Поднять Полотенца",
"disablePolishRuby": "Выключить Полировать рубин",
"disablePutAwayPistols": "Выключить Убрать Пистолеты",
"disablePutAwayRifles": "Выключить Убрать Ружья",
"disableRewindTapes": "Выключить Перемотать Кассеты",
"disableResetBreaker": "Выключить Перезапуск Пробок",
"disableSortRecords": "Выключить Разобрать Записи",
"disableStartFans": "Выключить Запустить Вентилятор",
"disableUnlockSafe": "Выключить Открыть Сейф",
"disableFungleTasks": "Выключить Задания на Fungle",
"disableBuildSandcastle": "Выключить Построить Песчаный Замок",
"disableCatchFish": "Выключить Поймать Рыбу",
"disableCollectSamples": "Выключить Собрать Образцы",
"disableCollectShells": "Выключить Собрать Ракушки",
"disableCollectVegetables": "Выключить Собрать Овощи",
"disableCrankGenerator": "Выключить Завести Генератор",
"disableExtractFuel": "Выключить Извлечь Топливо",
"disableFixAntenna": "Выключить Починить Антенну",
"disableHelpCritter": "Выключить Помочь Животному",
"disableHoistSupplies": "Выключить Поднять Припасы",
"disableLiftWeights": "Выключить Поднять Грузы",
"disableMineOres": "Выключить Добыть Руду",
"disablePlayVideoGame": "Выключить Играть в Видеоигру",
"disablePolishGem": "Выключить Отполировать Драгоценный Камень",
"disableReplaceParts": "Выключить Заменить Детали",
"disableRoastMarshmallow": "Выключить Поджарить Зефирки",
"disableThrowFisbee": "Выключить Играть с Фрисби",
"disableFindSignal": "Выключить Найти Сигнал",
"disableMiscCommonTasks": "Выключить Общие Задания",
"disableEnterIdCode": "Выключить Ввести Код Доступа",
"disableFixWiring": "Выключить Починить Проводку",
"disableSwipeCard": "Выключить Провести Картой",
"disableMiscShortTasks": "Выключить Короткие Задания",
"disableAssembleArtifact": "Выключить Собрать Артефакт",
"disableChartCourse": "Выключить Выровнять Курс",
"disableCleanO2Filter": "Выключить Очистить Фильтр O2",
"disableCleanVent": "Выключить Прочистить Люк",
"disableMonitorMushroom": "Выключить Наблюдать За Грибом",
"disableMonitorTree": "Выключить Проверить Дерево",
"disablePrimeShields": "Выключить Запустить Щиты",
"disableRecordTemperature": "Выключить Записать Температуру",
"disableStabilizeSteering": "Выключить Выровнять Курс",
"disableStoreArtifacts": "Выключить Сложить Артефакты",
"disableUnlockManifolds": "Выключить Открыть Коллекторы",
"disableMiscLongTasks": "Выключить Длинные Задания",
"disableAlignEngineOutput": "Выключить Выровнять Отдачу Моторов",
"disableClearAsteroids": "Выключить Разрушить Астероиды",
"disableEmptyChute": "Выключить Очистить Мусоросборник",
"disableInspectSample": "Выключить Исследовать Образец",
"disableReplaceWaterJug": "Выключить Заменить Кулер",
"disableStartReactor": "Выключить Запустить Реактор",
"disableWaterPlants": "Выключить Полить Растения",
"disableMiscMixedTasks": "Выключить Смешанные Задания",
"disableCalibrateDistributor": "Выключить Откалибровать Распределитель",
"disableDivertPower": "Выключить Подать Энергию",
"disableEmptyGarbage": "Выключить Выбросить Мусор",
"disableFuelEngines": "Выключить Заправить Моторы",
"disableSubmitScan": "Выключить Пройти Скан",
"disableUploadData": "Выключить Загрузить Данные",
"allCommandsFull": "<b>ВСЕ КОМАНДЫ:</b>\n\n<b>/help</b>\nПоказать это сообщение.\n<b>/aur, /socials</b>\nОтправляет ссылки Among Us Revamped.\n\n<b>/r, /gm</b>\nОтправляет описание текущего режима или списка способностей.\n<b>/l, /lastgame</b>\nОтправляет информацию о последнем победителе.\n\n<b>/0kc, /0killcooldown</b>\nОтправляет описание режима 0 Перезарядки Убийств.\n<b>/sns, /shiftandseek</b>\nОтправляет описание режима Клона.\n<b>/sp, /speedrun</b>\nОтправляет описание режима Спидрана.\n\n/<b>kick, /ban</b>\nКикает или банит игрока по нику.\n<b>/ckick, /cban</b>\nКикает или банит игрока по цвету.\n\n<b>/vip /moderator /admin</b>\nДобавляет игрока как VIP, Модератора или Админа.\n<b>/removevip, /removemoderator, /removeadmin</b>\nУбирает VIP, Модератора или Админа у игрока.\n\n<b>/eg, /endgame</b>\nЗаканчивает текущую игру.\n<b>/em, /endmeeting</b>\nЗаканчивает текущее собрание.\n<b>/s, /start</b>\nНачинает Отсчёт для старта.\n\n<b>/t {template}</b>\nОтправляет шаблон из AUR-DATA/templates.txt.\n\n<b>/col, /color, /colour</b>\nМеняет ваш цвет, может быть использована чтобы обойти ограничения по цветам.",
"translationReloaded": "Ваш языковой файл был успешно сброшен.\nЧтобы применить все изменения, перезапустите вашу игру.",
"templateWelcome": "# В этом файле вы можете создавать шаблоны, которые могут служить как простая альтернатива копировать-вставить.\n# Чтобы создать шаблон, напишите новую линию с таким же форматированием как и у тестового шаблона снизу.\n# Шаблоны не могут быть длиннее, чем 120 символов и не могут содержать специальные символы. В противном вас будет кикать.\n\ntest: это пример шаблона. Напишите '/t test', чтобы увидеть его.\n\nwelcome: Добро Пожаловать! Это Лобби Использует Among Us Revamped {ModVersion} от MV. Наслаждайтесь!",
"moderatorWelcome": "# В этом файле вы можете добавлять Модераторов по Коду друга.\n# Если вы добавите кого-то, они получат фиолетовый ник в игре.\n# Перейдите в 'Системные Настройки' в игре чтобы изменить полномочия Модераторов. Снизу приведен пример Кода друга.\n\nfriendcode#0000",
"vipWelcome": "# В этом файле вы можете добавлять VIP по Коду друга.\n# Если вы добавите кого-то, они получат желтый ник в игре.\n# Перейдите в 'Системные Настройки' в игре чтобы изменить полномочия VIP. Снизу приведен пример Кода друга.\n\nfriendcode#0000\n",
"adminWelcome": "# В этом файле вы можете добавлять Админов по Коду друга.\n# Если вы добавите кого-то, они получат красный ник в игре.\n# Перейдите в 'Системные Настройки' в игре чтобы изменить полномочия Админов. Снизу приведен пример Кода друга.\n\nfriendcode#0000\n",
"banlistWelcome": "# В этом файле вы можете банить игроков из ваших лобби по Коду друга.\n# Если вы забаните кого-то в игре они автоматически добавятся в этот файл. Снизу приведен пример Кода друга.\n\nfriendcode#0000\n",
"banwordWelcome": "# В этом файле вы можете создавать запрещенные слова, автоматически кикает тех кто сказали эти слова которые написаны здесь.\n# Обратите внимание, чтобы разделять слова надо при помощи новых строк.",
"bannameWelcome": "# В этом файле вы можете создавать запрещенные имена, автоматически кикает тех кто использует имена которые написаны здесь.\n# Обратите внимание, чтобы разделять имена надо при помощи новых строк.",
"languageWelcome": "# In this file you can set your Among Us Revamped language.\n# To set the language, type one of the supported languages in a new line. The default is English.\n# Supported languages: English, Spanish, SimplifiedChinese, Italian\n\nEnglish",
"noGameEndWarning": "ВНИМАНИЕ: Настройка 'Без Конца Игры' Включена",
"tooLongTemplate": "Ваш шаблон длиннее, чем 120 символов и вас кикнет если он будет отправлен. Пожалуйста, уменьшите длину.",
"vipAdd": "Успешно добавлен {0} как VIP.",
"moderatorAdd": "Успешно добавлен {0} как Модератор.",
"adminAdd": "Успешно добавлен {0} как Админ.",
"vipRemove": "Успешно убран VIP у {0}.",
"moderatorRemove": "Успешно убран Модератор у {0}.",
"adminRemove": "Успешно убран Админ у {0}.",
"permFail": "Не удалось найти игрока '{0}'. Убедитесь, что вы написали ник корректно",
"helpDesc": "Показывает все Команды и что они делают.",
"snsDesc": "Отправляет описание режима Клона.",
"0kcDesc": "Отправляет описание режима 0 Перезарядки Убийств.",
"SrDesc": "Отправляет описание режима Спидрана.",
"egDesc": "Заканчивает текущую игру.",
"emDesc": "Заканчивает текущее собрание.",
"aurDesc": "Отправляет Ссылки Us Revamped.",
"sDesc": "Начинает Отсчёт для старта.",
"rDesc": "/r Отправляет включеные способности или текущий режим.",
"rolesDesc": "Отправляет обзор всех способностей/режимов.",
"kickDesc": "Кикает игрока по нику.",
"ckickDesc": "Кикает игрока по цвету.",
"banDesc": "Банит игрока по нику.",
"cbanDesc": "Банит игрока по цвету.",
"dumpDesc": "Копирует LogOutput в отдельный файл.",
"colDesc": "Меняет ваш цвет.",
"reloadDesc": "Перезагружает языковой файл.",
"vipDesc": "Добавляет игрока как VIP.",
"moderatorDesc": "Добавляет игрока как Модератора.",
"adminDesc": "Добавляет игрока как Админа.",
"cremoveVipDesc": "Убирает VIP у игрока.",
"removeModeratorDesc": "Убирает Модератора у игрока.",
"removeAdminDesc": "Убирает Админа у игрока.",
"lastgameDesc": "Отправляет информацию о последней игре.",
"templateDesc": "Отправляет определённый шаблон из AUR-DATA/templates.txt.",
"banWordKick": "{0} был кикнут потому что они отправили запрещенное слово {1} раз(а)",
"pluginWarning": "<color=red><size=5><b>ВНИМАНИЕ:</color></b></size>\n<size=3><b>У вас обнаружено 2 или более активных плагинов.</size></b>\nAmong Us Revamped не совместим с большинством модов.\nЕсли у вас будут баги, они наверняка происходят из-за несовместимости.",
"systemSettings": "Системные Настройки",
"gameplaySettings": "Игровые Настройки",
"gamemodeSettings": "Настройки Режима",
"systemSettingsDesc": "Системные Настройки Для Повышения Комфорта и Упрощения Тестирования.",
"gameplaySettingsDesc": "Игровые Настройки Для Улучшения Игрового Процесса.",
"gamemodeSettingsDesc": "Дополнительные Настройки Для Определённых Игровых Режимов.",
"everyone": "Все",
"vipAndAbove": "<color=yellow>VIP</color> И Выше",
"moderatorAndAbove": "<color=purple>Модератор</color> И Выше",
"admin": "<color=red>Админ</color>",
"onlyYou": "Только Вы",
"seekerDesc": "Добавляет игрока как искателя в прятках",
"seekersDesc": "Показывает всех вручную выбранных искателей.",
"clearSeekerDesc": "Очищает список всех вручную выбранных искателей",
"slashEndMeetingCmd": "Кто Может Использовать /endmeeting & /seeker",
"gameMasterWarning":"Вы будете наблюдать игры пока включён режим наблюдателя. ВНИМАНИЕ: Назначение ролей может быть неправильным, если эта настройка включена.",
"startWordsWelcome": "# В этом файле вы можете создавать слова которые будут 'Кикать Игроков Которые Говорят Старт'.\n# 'Режим строгого обнаружения' ВЫКЛ = Сообщения должны идеально совпадать с определенными словами. 'Режим строгого обнаружения' ВКЛ = Сообщения нуждаются только в определённых словах.\n# Вы также можете добавлять несвязанные слова, которые будут обнаруживаться только в лобби..\n\nstart\nbegin\ncommence\nстарт\nначинайте\n",
"gameMasterWarningTwo": "ВНИМАНИЕ: Режим Наблюдателя Включен",
"startWordKick": "{0} Был кикнут так как они отправили слово которое было в StartWords.txt {1} раз(а)",
"seekers": "Искателей: ",
"clearedSeekers": "Успешно очищен список вручную выбранных искателей.",
"tabGroupLevelKick": "Уровневая Модерация",
"enableKickLowLevelPlayer": "Кикать Игроков С Низким Уровнем",
"tabGroupKickInvalidFriendCodes": "Неправильные Коды Друзей",
"tabGroupAutoKickStart": "Старт Слова",
"autoKickStartTimes": "Отправленных Cтарт сообщений нужно для кика",
"tabGroupAutostart": "АвтоХост",
"rehost": "Автоматически Пересоздавать Лобби При Вылете",
"public": "Автоматически Делать Новое Лобби Публичным",
"mapVoteDuration": "Продолжительность Голосования За Карты",
"tabGroupDeniedWords": "Запрещенные Слова",
"enableDeniedWords": "Кикать Игроков Которые Говорят Запрещенные Слова",
"slashMapAndSeekerCmd": "Кто Может Использовать /seeker & /mapvote",
"snsChatInGameExtend": "Отправлять информацию о режиме после начала игры",
"mapVoteDesc": "Начинает голосование между 5 основными картами.",
"allMapVoteDesc": "Начинает голосование между всеми 6 картами, включая Eht Dleks.",
"banWordBan": "{0} Были забанены потому что они отправили слово из DeniedWords.txt {1} раз(а)",
"startWordBan": "{0} Были забанены потому что они отправили слово из StartWords.txt {1} раз(а)",
"moderationSettings": "Настройки Модерации",
"moderationSettingsDesc": "Настройки Модерации чтобы бороться с токсичностью и плохим поведением.",
"rehostSuccess": "Лобби Было Успешно Пересоздано"
}
+37 -43
View File
@@ -1,7 +1,7 @@
{
"LanguageID": "2",
"gameMaster": "游戏大师(Game Master)",
"gameMaster": "游戏主管(Game Master)",
"showFPS": "显示帧率 (FPS)",
"autoStart": "自动开始",
"enableDarkTheme": "启用深色主题",
@@ -28,7 +28,6 @@
"moderatorCanUseCommand": "管理人员可以使用命令",
"autoKickStart": "自动踢出发送“Start”的玩家",
"autoKickStartAsBan": "改为封禁而非踢出",
"autoKickStartTimes": "踢出所需的“Start”消息次数",
"autoKickStartStrength": "严格检测模式",
"tabGroupAutomation": "自动化",
"autoSendGameInfo": "自动发送获胜者信息",
@@ -45,13 +44,13 @@
"noGameEnd": "游戏永不结束",
"tabGroupAccess": "权限等级",
"slashColorCmd": "谁可以使用 /color",
"slashColorCmd": "谁可以使用 /color 指令",
"slashRolesAndGamemodeCmd": "谁可以使用 /r 和模板",
"slashLastGameCmd": "谁可以使用 /l 和 /aur",
"slashKickCmd": "谁可以使用 /kick 和 /ckick",
"slashBanCmd": "谁可以使用 /ban 和 /cban",
"slashEndMeetingCmd": "谁可以使用 /endmeeting",
"slashStartAndEndGameCmd": "谁可以使用 /startgame 和 /endgame",
"slashLastGameCmd": "谁可以使用 /l 和 /aur 指令",
"slashKickCmd": "谁可以使用 /kick 和 /ckick 指令",
"slashBanCmd": "谁可以使用 /ban 和 /cban 指令",
"slashEndMeetingCmd": "谁可以使用 /endmeeting 和 /seeker 指令",
"slashStartAndEndGameCmd": "谁可以使用 /startgame 和 /endgame 指令",
"tabGroupCrewmate": "船员职业",
"tabGroupNeutral": "中立职业",
@@ -216,35 +215,10 @@
"disableSubmitScan": "禁用“提交扫描”",
"disableUploadData": "禁用“上传数据”",
"allCommandsFull": "<b>所有命令:</b>\n\n<b>/help</b>\n显示此帮助信息。\n<b>/aur, /socials</b>\n发送 Among Us Revamped 的社交链接。\n\n<b>/r, /gm</b>\n发送当前模式介绍或技能列表。\n<b>/r {ability}</b>\n发送指定技能的详细信息。\n<b>/l, /lastgame</b>\n发送上一局获胜者的信息。\n\n<b>/0kc, /0killcooldown</b>\n发送 0秒击杀冷却 模式介绍。\n<b>/sns, /shiftandseek</b>\n发送 变形与搜寻 模式介绍。\n<b>/sp, /speedrun</b>\n发送 速通 模式介绍。\n\n/<b>kick, /ban</b>\n通过名字踢出或封禁玩家。\n<b>/ckick, /cban</b>\n通过颜色踢出或封禁玩家。\n\n<b>/vip /moderator /admin</b>\n将玩家设为 VIP、管理员(Moderator) 或 超级管理员(Admin)。\n<b>/removevip, /removemoderator, /removeadmin</b>\n移除玩家的 VIP、管理员 或 超级管理员权限。\n\n<b>/eg, /endgame</b>\n结束当前游戏。\n<b>/em, /endmeeting</b>\n结束当前会议。\n<b>/s, /start</b>\n开始游戏开局倒计时。\n\n<b>/t {template}</b>\n发送 AUR-DATA/templates.txt 中的指定模板。\n\n<b>/col, /color, /colour</b>\n设置您的颜色,可用于绕过限制。",
"allCommandsFull": "<b>所有命令:</b>\n\n<b>/help</b>\n显示此帮助信息。\n<b>/aur, /socials</b>\n发送 Among Us Revamped 的社交链接。\n\n<b>/r, /gm</b>\n发送当前模式介绍或技能列表。\n<b>/l, /lastgame</b>\n发送上一局获胜者的信息。\n\n<b>/0kc, /0killcooldown</b>\n发送 0秒击杀冷却 模式介绍。\n<b>/sns, /shiftandseek</b>\n发送 变形与搜寻 模式介绍。\n<b>/sp, /speedrun</b>\n发送 速通 模式介绍。\n\n/<b>kick, /ban</b>\n通过名字踢出或封禁玩家。\n<b>/ckick, /cban</b>\n通过颜色踢出或封禁玩家。\n\n<b>/vip /moderator /admin</b>\n将玩家设为 VIP、管理员(Moderator) 或 超级管理员(Admin)。\n<b>/removevip, /removemoderator, /removeadmin</b>\n移除玩家的 VIP、管理员 或 超级管理员权限。\n\n<b>/eg, /endgame</b>\n结束当前游戏。\n<b>/em, /endmeeting</b>\n结束当前会议。\n<b>/s, /start</b>\n开始游戏开局倒计时。\n\n<b>/t {template}</b>\n发送 AUR-DATA/templates.txt 中的指定模板。\n\n<b>/col, /color, /colour</b>\n设置您的颜色,可用于绕过限制。",
"translationReloaded": "您的文件已成功重置。\n要应用所有更改,请重启游戏。",
"tabGroupCrewmateAbilities": "船员技能设置",
"crewmateAbility": "船员(职业)技能",
"scientistAbility": "科学家技能",
"engineerAbility": "工程师技能",
"noisemakerAbility": "噪音制造者技能",
"trackerAbility": "追踪者技能",
"detectiveAbility": "侦探技能",
"extraVotesCrewmate": "市长额外票数",
"extraVotesPerTask": "老黄牛每项任务获得的额外票数",
"speedrunnerShortTasks": "任务达人的短任务",
"speedrunnerLongTasks": "任务达人的长任务",
"tabGroupImpostorAbilities": "内鬼技能设置",
"impostorAbility": "内鬼(职业)技能",
"shapeshifterAbility": "伪装者技能",
"phantomAbility": "魔魂技能",
"viperAbility": "蝰蛇技能",
"extraVotesImpostor": "暴君额外票数",
"extraVotesPerKill": "小偷每击杀获得的额外票数",
"killsNeededForJuggernaut": "主宰所需的击杀数",
"ability": "技能",
"templateWelcome": "# 在此文件中,您可以添加模板,以便快捷复制粘贴。\n# 要创建新模板,请另起一行并使用与下方测试模板相同的格式。\n# 请注意,模板长度不能超过 120 个字符,且不能包含特殊字符,否则您会被踢出房间。\n\ntest: 这是一个示例模板。输入 '/t test' 即可查看。\n\nwelcome: 欢迎!本大厅使用的是由 MV 制作的 Among Us Revamped {ModVersion}。祝您玩得开心!",
"moderatorWelcome": "# 在此文件中,您可以通过好友代码添加管理员 (Moderator)。\n# 添加后,他们在游戏内的名字将变为紫色。\n# 请前往游戏内的“系统设置”自定义管理员权限。下方为好友代码示例。\n\nfriendcode#0000",
"vipWelcome": "# 在此文件中,您可以通过好友代码添加 VIP。\n# 添加后,他们在游戏内的名字将变为黄色。\n# 请前往游戏内的“系统设置”自定义 VIP 权限。下方为好友代码示例。\n\nfriendcode#0000\n",
@@ -264,7 +238,6 @@
"moderatorRemove": "已成功移除 {0} 的管理员 (Moderator) 权限。",
"adminRemove": "已成功移除 {0} 的超级管理员 (Admin) 权限。",
"permFail": "找不到用户 '{0}'。请检查拼写是否正确?",
"helpDesc": "显示所有命令及其功能。",
"snsDesc": "发送 变形与搜寻 (Shift and Seek) 游戏模式介绍。",
"0kcDesc": "发送 0秒击杀冷却 (0 Kill Cooldown) 游戏模式介绍。",
@@ -273,7 +246,7 @@
"emDesc": "结束当前会议。",
"aurDesc": "发送 Among Us Revamped 社交链接。",
"sDesc": "开始游戏倒计时。",
"rDesc": "/r 发送活跃技能或当前模式。/r {ability} 发送特定技能信息",
"rDesc": "/r 发送活跃技能或当前模式。",
"rolesDesc": "发送所有技能/游戏模式总览。",
"kickDesc": "通过名字踢出玩家。",
"ckickDesc": "通过颜色踢出玩家。",
@@ -290,18 +263,12 @@
"removeAdminDesc": "移除用户的超级管理员 (Admin) 权限。",
"lastgameDesc": "发送上一局游戏信息。",
"templateDesc": "发送 AUR-DATA/templates.txt 中指定的模板。",
"banWordKick": "{0} 因发送违禁词被踢出,累计次数:{1} 次",
"pluginWarning": "<color=red><size=5><b>警告:</color></b></size>\n<size=3><b>检测到您启用了 2 个或更多插件。</size></b>\nAmong Us Revamped 与大多数模组不兼容。\n如果遇到 Bug,极有可能是因为冲突所致。",
"systemSettings": "系统设置",
"abilitySettings": "能力设置",
"gameplaySettings": "游戏设置",
"gamemodeSettings": "模式设置",
"systemSettingsDesc": "用于提升舒适度与测试的画质/系统设置。",
"abilitySettingsDesc": "用于增强原版角色能力的设置。",
"gameplaySettingsDesc": "用于改善游戏内体验的设置。",
"gamemodeSettingsDesc": "适用于特定游戏模式的情境设置。",
@@ -309,5 +276,32 @@
"vipAndAbove": "<color=yellow>VIP</color> 及以上",
"moderatorAndAbove": "<color=purple>管理员</color> 及以上",
"admin": "<color=red>管理员</color>",
"onlyYou": "仅自己"
"onlyYou": "仅自己",
"seekersDesc": "显示所有手动选择的搜寻者。",
"clearSeekerDesc": "清除手动搜寻者列表。",
"startWordsWelcome": "# 在此文件中,您可以设置检查发送 “Start” 并踢出该玩家的功能。\n# 严格检测关闭 = 消息必须完全匹配关键词。\n# 严格检测开启 = 消息只需包含关键词即可。\n# 也可以添加无关词语,仅用于大厅检测。\n\nstart\nbegin\ncommence",
"gameMasterWarningTwo": "警告:游戏主管已启用",
"startWordKick": "{0} 因发送 StartWords.txt 中的关键词被踢出,累计次数:{1} 次",
"seekers": "搜寻者:",
"clearedSeekers": "已成功清除手动搜寻者列表。",
"autoKickStartTimes": "发送 StartWords 关键词达到此次数时踢出玩家",
"tabGroupLevelKick": "等级管理",
"enableKickLowLevelPlayer": "启用低等级玩家踢出",
"tabGroupKickInvalidFriendCodes": "无效好友代码",
"tabGroupAutoKickStart": "StartWords",
"tabGroupAutostart": "自动开房",
"rehost": "断线后自动重新创建大厅",
"public": "自动将新大厅设为公开",
"mapVoteDuration": "地图投票持续时间",
"tabGroupDeniedWords": "违禁词",
"enableDeniedWords": "踢出发送违禁词的玩家",
"slashMapAndSeekerCmd": "谁可以使用 /seeker 与 /mapvote",
"snsChatInGameExtend": "游戏开始后发送游戏模式介绍",
"mapVoteDesc": "发起包含 5 张官方地图的地图投票。",
"allMapVoteDesc": "发起包含全部 6 张地图(包括 Eht Dleks)的地图投票。",
"banWordBan": "{0} 因发送了 DeniedWords.txt 中的关键词,第 {1} 次违规,已被封禁。",
"startWordBan": "{0} 因发送了 StartWords.txt 中的关键词,第 {1} 次违规,已被封禁。",
"moderationSettings": "管理设置",
"moderationSettingsDesc": "用于防止恶意行为和不当行为的管理设置。",
"rehostSuccess": "已成功重新创建大厅。"
}
+2 -24
View File
@@ -195,28 +195,8 @@
"disableFuelEngines": "Desactivar Tarea Recargar Motores",
"disableSubmitScan": "Desactivar Tarea Enviar Escaneo",
"disableUploadData": "Desactivar Tarea Subir Datos",
"allCommandsFull": "<b>TODOS LOS COMANDOS:</b>\n\n<b>/help</b>\nMuestra este mensaje.\n<b>/aur, /socials</b>\nEnviar los enlaces sociales de Among Us Revamped.\n\n<b>/r, /gm</b>\nEnviar la descripción del modo actual o la lista de habilidades.\n<b>/r {ability}</b>\nEnviar información sobre una habilidad específica.\n<b>/l, /lastgame</b>\nEnviar la información del ganador anterior.\n\n<b>/0kc, /0killcooldown</b>\nEnviar la descripción del modo 0 de enfriamiento para matar.\n<b>/sns, /shiftandseek</b>\nEnviar la descripción del modo Shift and Seek.\n<b>/sp, /speedrun</b>\nEnviar la descripción del modo Speedrun.\n\n/<b>kick, /ban</b>\nExpulsa o bloquea a un jugador por nombre.\n<b>/ckick, /cban</b>\nExpulsa o bloquea a un jugador por color.\n\n<b>/vip /moderator /admin</b>\nAgrega a un jugador como VIP, moderador o administrador.\n<b>/removevip, /removemoderator, /removeadmin</b>\nElimina VIP, moderador o administrador de un jugador.\n\n<b>/eg, /endgame</b>\nTermina la partida actual.\n<b>/em, /endmeeting</b>\nTermina la reunión actual.\n<b>/s, /start</b>\nInicia la cuenta regresiva de la partida.\n\n<b>/t {template}</b>\nEnviar una plantilla de AUR-DATA/templates.txt.\n\n<b>/col, /color, /colour</b>\nCambia tu color; puede usarse para evitar límites.",
"allCommandsFull": "<b>TODOS LOS COMANDOS:</b>\n\n<b>/help</b>\nMuestra este mensaje.\n<b>/aur, /socials</b>\nEnviar los enlaces sociales de Among Us Revamped.\n\n<b>/r, /gm</b>\nEnviar la descripción del modo actual o la lista de habilidades.\n<b>/l, /lastgame</b>\nEnviar la información del ganador anterior.\n\n<b>/0kc, /0killcooldown</b>\nEnviar la descripción del modo 0 de enfriamiento para matar.\n<b>/sns, /shiftandseek</b>\nEnviar la descripción del modo Shift and Seek.\n<b>/sp, /speedrun</b>\nEnviar la descripción del modo Speedrun.\n\n/<b>kick, /ban</b>\nExpulsa o bloquea a un jugador por nombre.\n<b>/ckick, /cban</b>\nExpulsa o bloquea a un jugador por color.\n\n<b>/vip /moderator /admin</b>\nAgrega a un jugador como VIP, moderador o administrador.\n<b>/removevip, /removemoderator, /removeadmin</b>\nElimina VIP, moderador o administrador de un jugador.\n\n<b>/eg, /endgame</b>\nTermina la partida actual.\n<b>/em, /endmeeting</b>\nTermina la reunión actual.\n<b>/s, /start</b>\nInicia la cuenta regresiva de la partida.\n\n<b>/t {template}</b>\nEnviar una plantilla de AUR-DATA/templates.txt.\n\n<b>/col, /color, /colour</b>\nCambia tu color; puede usarse para evitar límites.",
"translationReloaded": "Tu archivo se reinició correctamente.\nPara aplicar todos los cambios, reinicia el juego.",
"tabGroupCrewmateAbilities": "Configuración de habilidades de tripulante",
"crewmateAbility": "Habilidad de tripulante (rol)",
"scientistAbility": "Habilidad de científico",
"engineerAbility": "Habilidad de ingeniero",
"noisemakerAbility": "Habilidad de alertador",
"trackerAbility": "Habilidad de rastreador",
"detectiveAbility": "Habilidad de detective",
"extraVotesCrewmate": "Votos extra para el alcalde",
"extraVotesPerTask": "Votos extra por tarea para el trabajador",
"speedrunnerShortTasks": "Tareas cortas para el trabajador",
"speedrunnerLongTasks": "Tareas largas para el trabajador",
"tabGroupImpostorAbilities": "Configuración de habilidades de impostor",
"impostorAbility": "Habilidad de impostor (rol)",
"shapeshifterAbility": "Habilidad de cambiaformas",
"phantomAbility": "Habilidad de fantasma",
"viperAbility": "Habilidad de víbora",
"extraVotesImpostor": "Votos extra para el tirano",
"extraVotesPerKill": "Votos extra por asesinato para el ladrón",
"killsNeededForJuggernaut": "Muertes necesarias para el Juggernauta",
"ability": "Habilidad",
"templateWelcome": "# En este archivo puedes agregar plantillas, que sirven como alternativas fáciles de copiar y pegar.\n# Para crear una plantilla, escribe una nueva línea con el mismo formato que la plantilla de prueba de abajo.\n# Ten en cuenta que las plantillas no pueden tener más de 120 caracteres ni contener caracteres especiales. Si los tienen, te expulsarán.\n\ntest: esta es una plantilla de ejemplo. Escribe '/t test' para verla.\n\nwelcome: ¡Bienvenido! Esta sala usa Among Us Revamped {ModVersion} por MV. ¡Diviértete!",
"moderatorWelcome": "# En este archivo puedes agregar moderadores por código de amigo.\n# Si agregas a alguien, tendrá un nombre morado dentro del juego.\n# Ve a \"Configuración del sistema\" dentro del juego para personalizar los permisos de moderador. Abajo hay un ejemplo de código de amigo.\n\nfriendcode#0000",
"vipWelcome": "# En este archivo puedes agregar VIPs por código de amigo.\n# Si agregas a alguien, tendrá un nombre amarillo dentro del juego.\n# Ve a \"Configuración del sistema\" dentro del juego para personalizar los permisos de VIP. Abajo hay un ejemplo de código de amigo.\n\nfriendcode#0000\n",
@@ -241,7 +221,7 @@
"emDesc": "Termina la reunión actual.",
"aurDesc": "Envía los enlaces sociales de Among Us Revamped.",
"sDesc": "Inicia la cuenta regresiva de la partida.",
"rDesc": "/r envía las habilidades activas o el modo de juego actual. /r {ability} envía información de una habilidad específica",
"rDesc": "/r envía las habilidades activas o el modo de juego actual.",
"rolesDesc": "Enviar el resumen de todas las habilidades/modo de juego.",
"kickDesc": "Expulsa a un jugador por nombre.",
"ckickDesc": "Expulsa a un jugador por color.",
@@ -262,12 +242,10 @@
"pluginWarning": "<color=red><size=5><b>ADVERTENCIA:</color></b></size>\n<size=3><b>Se han detectado 2 o más plugins.</size></b>\nAmong Us Revamped no es compatible con la mayoría de mods.\nSi encuentras errores, probablemente se deban a incompatibilidad.",
"systemSettings": "Configuración del sistema",
"abilitySettings": "Configuración de habilidades",
"gameplaySettings": "Configuración de la partida",
"gamemodeSettings": "Configuración del modo de juego",
"systemSettingsDesc": "Ajustes de calidad para mejorar la comodidad y facilitar las pruebas.",
"abilitySettingsDesc": "Ajustes de habilidades para mejorar los roles originales.",
"gameplaySettingsDesc": "Ajustes de la partida para mejorar la experiencia de juego.",
"gamemodeSettingsDesc": "Ajustes específicos para determinados modos de juego.",
-28
View File
@@ -1,28 +0,0 @@
var target = Argument("target", "Build");
var workflow = BuildSystem.GitHubActions.Environment.Workflow;
var buildId = workflow.RunNumber;
var tag = workflow.RefType == GitHubActionsRefType.Tag ? workflow.RefName : null;
Task("Build")
.Does(() =>
{
var settings = new DotNetBuildSettings
{
Configuration = "Release",
MSBuildSettings = new DotNetMSBuildSettings()
};
if (tag != null)
{
settings.MSBuildSettings.Version = tag;
}
else if (buildId != 0)
{
settings.MSBuildSettings.VersionSuffix = "ci." + buildId;
}
DotNetBuild(".", settings);
});
RunTarget(target);