diff --git a/BattleBitAPI/Common/Conts.cs b/BattleBitAPI/Common/Conts.cs
index 14dffab..cdd1f55 100644
--- a/BattleBitAPI/Common/Conts.cs
+++ b/BattleBitAPI/Common/Conts.cs
@@ -33,10 +33,10 @@
public const int MaxTokenSize = 512;
public const int MinGamemodeNameLength = 2;
- public const int MaxGamemodeNameLength = 12;
+ public const int MaxGamemodeNameLength = 64;
public const int MinMapNameLength = 2;
- public const int MaxMapNameLength = 36;
+ public const int MaxMapNameLength = 64;
public const int MinLoadingScreenTextLength = 0;
public const int MaxLoadingScreenTextLength = 1024 * 8;
diff --git a/BattleBitAPI/Server/Internal/ServerSettings.cs b/BattleBitAPI/Server/Internal/ServerSettings.cs
index 7cadb7f..052f845 100644
--- a/BattleBitAPI/Server/Internal/ServerSettings.cs
+++ b/BattleBitAPI/Server/Internal/ServerSettings.cs
@@ -56,6 +56,17 @@ namespace BattleBitAPI.Server
mResources.IsDirtyRoomSettings = true;
}
}
+ public bool HideMapVotes
+ {
+ get => mResources._RoomSettings.HideMapVotes;
+ set
+ {
+ if (mResources._RoomSettings.HideMapVotes == value)
+ return;
+ mResources._RoomSettings.HideMapVotes = value;
+ mResources.IsDirtyRoomSettings = true;
+ }
+ }
public bool CanVoteDay
{
get => mResources._RoomSettings.CanVoteDay;
diff --git a/CommunityServerAPI.csproj b/CommunityServerAPI.csproj
index 0129f7e..fcd53a0 100644
--- a/CommunityServerAPI.csproj
+++ b/CommunityServerAPI.csproj
@@ -18,7 +18,7 @@
https://github.com/MrOkiDoki/BattleBit-Community-Server-API
https://github.com/MrOkiDoki/BattleBit-Community-Server-API
BattleBit
- 1.0.3
+ 1.0.4