Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Join min playtime (#604)" #615

Merged
merged 1 commit into from
Dec 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions Content.Server/Corvax/JoinPlayTime/JoinPlayTimeManager.cs

This file was deleted.

2 changes: 0 additions & 2 deletions Content.Server/Entry/EntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Content.Server.Afk;
using Content.Server.Chat.Managers;
using Content.Server.Connection;
using Content.Server.Corvax.JoinPlayTime;
using Content.Server.Corvax.JoinQueue;
using Content.Server.Corvax.Sponsors;
using Content.Server.Database;
Expand Down Expand Up @@ -102,7 +101,6 @@ public override void Init()
IoCManager.Resolve<GhostKickManager>().Initialize();
IoCManager.Resolve<SponsorsManager>().Initialize(); // Corvax-Sponsors
IoCManager.Resolve<JoinQueueManager>().Initialize(); // Corvax-Queue
IoCManager.Resolve<JoinPlayTimeManager>().Initialize(); // Corvax-JoinPlaytime
IoCManager.Resolve<ServerInfoManager>().Initialize();

_voteManager.Initialize();
Expand Down
2 changes: 0 additions & 2 deletions Content.Server/IoC/ServerContentIoC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Content.Server.Afk;
using Content.Server.Chat.Managers;
using Content.Server.Connection;
using Content.Server.Corvax.JoinPlayTime;
using Content.Server.Corvax.JoinQueue;
using Content.Server.Corvax.Sponsors;
using Content.Server.Database;
Expand Down Expand Up @@ -61,7 +60,6 @@ public static void Register()
IoCManager.Register<UserDbDataManager>();
IoCManager.Register<SponsorsManager>(); // Corvax-Sponsors
IoCManager.Register<JoinQueueManager>(); // Corvax-Queue
IoCManager.Register<JoinPlayTimeManager>(); // Corvax-JoinPlaytime
IoCManager.Register<ServerInfoManager>();
}
}
Expand Down
10 changes: 0 additions & 10 deletions Content.Shared/CCVar/CCVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1426,15 +1426,5 @@ public static readonly CVarDef<float>
/// </summary>
public static readonly CVarDef<bool>
QueueEnabled = CVarDef.Create("queue.enabled", false, CVar.SERVERONLY);

/*
* Corvax | JoinPlaytime
*/

/// <summary>
/// Minimum required overall play hours to join server
/// </summary>
public static readonly CVarDef<int> JoinPlaytimeHours =
CVarDef.Create("joinplaytime.min_hours", 0, CVar.SERVERONLY);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
join-playtime-deny-reason =
Необходимо минимальное отыгранное время для доступа к серверу - { $hours } { $hours ->
[one] час
[few] часа
*[other] часов
}.