diff --git a/README.md b/README.md index e2f209c..23a2be6 100644 --- a/README.md +++ b/README.md @@ -213,32 +213,32 @@ The following is a list of plugins built into SquadJS, you can click their title
Unassigned - automatically removed
How often in seconds should we warn the player about being unassigned?
+How often in Seconds should we warn the player about being unassigned?
30
How long in minutes to wait before a player that is unassigned 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 to disable set to -1 to disable
+Player count required for AutoKick to start kicking players, set to -1 to disable
93
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
Whether or not admins will be auto kicked for being unassigned
+true
: Admins will NOT be kickedfalse
: Admins WILL be kickedfalse
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/config.json b/config.json
index 7875960..e153f63 100644
--- a/config.json
+++ b/config.json
@@ -71,8 +71,9 @@
"kickMessage": "Unassigned - automatically removed",
"frequencyOfWarnings": 30,
"unassignedTimer": 6,
+ "unassignedTimer": 360,
"playerThreshold": 93,
- "roundStartDelay": 15,
+ "roundStartDelay": 900,
"ignoreAdmins": false,
"ignoreWhitelist": false
},
diff --git a/squad-server/plugins/auto-kick-unassigned.js b/squad-server/plugins/auto-kick-unassigned.js
index 74e25a5..26812e9 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',
- default: 6
+ description: 'How long in Seconds to wait before a unassigned player is kicked',
+ default: 360
},
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',
- default: 15
+ 'Time delay in Seconds from start of the round before AutoKick starts kicking again',
+ default: 900
},
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 kicked