From d1a4bd276a5e34ba40a611a2bb66c6f085504476 Mon Sep 17 00:00:00 2001
From: SeanWalsh95 How often in seconds should we warn the player about being unassigned? How often in Seconds should we warn the player about being unassigned? How long in minutes to wait before a player that is unassigned is kicked How long in Minutes to wait before a unassigned player is kicked Player count required for AutoKick to start kicking players to disable set to -1 to disable Player count required for AutoKick to start kicking players, set to -1 to disable Time delay in minutes from start of the round before AutoKick starts kicking again Time delay in Minutes from start of the round before AutoKick starts kicking again Whether or not admins will be auto kicked for being unassignedUnassigned - automatically removed
frequencyOfWarnings
Description
- Default
30
unassignedTimer
Description
- Default
6
playerThreshold
Description
- Default
93
roundStartDelay
Description
- Default
15
ignoreAdmins
Description
- true
: Admins will NOT be kickedfalse
: Admins WILL be kicked
false
Whether or not players in the whitelist will be auto kicked for being unassigned
+true
: Reserve slot players will NOT be kickedfalse
: Reserve slot players WILL be kickedfalse
diff --git a/squad-server/plugins/auto-kick-unassigned.js b/squad-server/plugins/auto-kick-unassigned.js
index 74e25a5..af3e6d2 100644
--- a/squad-server/plugins/auto-kick-unassigned.js
+++ b/squad-server/plugins/auto-kick-unassigned.js
@@ -26,35 +26,43 @@ export default class AutoKickUnassigned extends BasePlugin {
},
frequencyOfWarnings: {
required: false,
- description: 'How often in seconds should we warn the player about being unassigned?',
+ description:
+ 'How often in Seconds should we warn the player about being unassigned?',
default: 30
},
unassignedTimer: {
required: false,
- description: 'How long in minutes to wait before a player that is unassigned is kicked',
+ description: 'How long in Minutes to wait before a unassigned player is kicked',
default: 6
},
playerThreshold: {
required: false,
description:
- 'Player count required for AutoKick to start kicking players to disable set to -1 to disable',
+ 'Player count required for AutoKick to start kicking players, set to -1 to disable',
default: 93
},
roundStartDelay: {
required: false,
description:
- 'Time delay in minutes from start of the round before AutoKick starts kicking again',
+ 'Time delay in Minutes from start of the round before AutoKick starts kicking again',
default: 15
},
ignoreAdmins: {
required: false,
- description: 'Whether or not admins will be auto kicked for being unassigned',
+ description:
+ 'true
: Admins will NOT be kickedfalse
: Admins WILL be kickedtrue
: Reserve slot players will NOT be kickedfalse
: Reserve slot players WILL be kicked30
How long in Minutes to wait before a unassigned player is kicked
+How long in Seconds to wait before a unassigned player is kicked
6
+ 360
Player count required for AutoKick to start kicking players, set to -1 to disable
@@ -228,9 +228,9 @@ The following is a list of plugins built into SquadJS, you can click their title93
Time delay in Minutes from start of the round before AutoKick starts kicking again
+Time delay in Seconds from start of the round before AutoKick starts kicking again
15
+ 900
true
: Admins will NOT be kickedfalse
: Admins WILL be kicked