Включил голосование за кик
This commit is contained in:
parent
f444eceb39
commit
efe5eda0e1
2 changed files with 27 additions and 5 deletions
|
|
@ -98,19 +98,19 @@ public sealed partial class CCVars
|
|||
/// Whether a votekick initiator must be a ghost or not.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> VotekickInitiatorGhostRequirement =
|
||||
CVarDef.Create("votekick.initiator_ghost_requirement", true, CVar.SERVERONLY);
|
||||
CVarDef.Create("votekick.initiator_ghost_requirement", false, CVar.SERVERONLY); // Sunrise-Edit
|
||||
|
||||
/// <summary>
|
||||
/// Should the initiator be whitelisted to initiate a votekick?
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> VotekickInitiatorWhitelistedRequirement =
|
||||
CVarDef.Create("votekick.initiator_whitelist_requirement", true, CVar.SERVERONLY);
|
||||
CVarDef.Create("votekick.initiator_whitelist_requirement", false, CVar.SERVERONLY); // Sunrise-Edit
|
||||
|
||||
/// <summary>
|
||||
/// Should the initiator be able to start a votekick if they are bellow the votekick.voter_playtime requirement?
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> VotekickInitiatorTimeRequirement =
|
||||
CVarDef.Create("votekick.initiator_time_requirement", false, CVar.SERVERONLY);
|
||||
CVarDef.Create("votekick.initiator_time_requirement", true, CVar.SERVERONLY); // Sunrise-Edit
|
||||
|
||||
/// <summary>
|
||||
/// Whether a votekick voter must be a ghost or not.
|
||||
|
|
@ -128,7 +128,7 @@ public sealed partial class CCVars
|
|||
/// Config for how many seconds a player must have been dead to initiate a votekick / be able to vote on a votekick.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<int> VotekickEligibleVoterDeathtime =
|
||||
CVarDef.Create("votekick.voter_deathtime", 30, CVar.REPLICATED | CVar.SERVER);
|
||||
CVarDef.Create("votekick.voter_deathtime", 0, CVar.REPLICATED | CVar.SERVER); // Sunrise-Edit
|
||||
|
||||
/// <summary>
|
||||
/// The required ratio of eligible voters that must agree for a votekick to go through.
|
||||
|
|
@ -140,7 +140,7 @@ public sealed partial class CCVars
|
|||
/// Whether or not to prevent the votekick from having any effect when there is an online admin.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> VotekickNotAllowedWhenAdminOnline =
|
||||
CVarDef.Create("votekick.not_allowed_when_admin_online", true, CVar.SERVERONLY);
|
||||
CVarDef.Create("votekick.not_allowed_when_admin_online", false, CVar.SERVERONLY); // Sunrise-Edit
|
||||
|
||||
/// <summary>
|
||||
/// The delay for which two votekicks are allowed to be made by separate people, in seconds.
|
||||
|
|
|
|||
|
|
@ -6469,3 +6469,25 @@
|
|||
type: Add
|
||||
id: 447
|
||||
time: '2024-11-26T14:50:19.825944+00:00'
|
||||
- author: VigersRay
|
||||
changes:
|
||||
- message: "\u0418\u0433\u0440\u043E\u043A\u0438 \u043A\u043E\u0442\u043E\u0440\u044B\
|
||||
\u0435 \u043D\u0430\u0438\u0433\u0440\u0430\u043B\u0438 \u0431\u043E\u043B\u0435\
|
||||
\u0435 100 \u0447\u0430\u0441\u043E\u0432 \u0442\u0435\u043F\u0435\u0440\u044C\
|
||||
\ \u043C\u043E\u0433\u0443\u0442 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\
|
||||
\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u043D\u0438\u044F \u043A\
|
||||
\u0438\u043A\u0435 \u0438 \u0431\u0430\u043D\u0435 \u0438\u0433\u0440\u043E\u043A\
|
||||
\u043E\u0432 \u043D\u0430 180 \u043C\u0438\u043D\u0443\u0442."
|
||||
type: Tweak
|
||||
- message: "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\
|
||||
\ \u043A\u0438\u043A\u0435 \u043C\u043E\u0436\u043D\u043E \u0437\u0430\u043F\
|
||||
\u0443\u0441\u043A\u0430\u0442\u044C \u0431\u0443\u0434\u0443\u0447\u0438 \u043D\
|
||||
\u0430 \u0440\u043E\u043B\u0435."
|
||||
type: Tweak
|
||||
- message: "\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u0442\u044C \u043E\
|
||||
\ \u043A\u0438\u043A\u0435 \u043C\u043E\u0433\u0443\u0442 \u043D\u0435 \u0442\
|
||||
\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0438\u0437\u0440\u0430\u043A\u0438\
|
||||
."
|
||||
type: Tweak
|
||||
id: 448
|
||||
time: '2024-11-26T15:36:36.207685+00:00'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue