mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-12 06:48:50 +02:00
Added AFK Threshold setting
This commit is contained in:
parent
88b3e6cc1b
commit
20fa9c4665
@ -46,6 +46,7 @@ public enum Settings {
|
|||||||
MAX_SESSIONS("Customization.Display.MaxSessions"),
|
MAX_SESSIONS("Customization.Display.MaxSessions"),
|
||||||
MAX_PLAYERS("Customization.Display.MaxPlayers"),
|
MAX_PLAYERS("Customization.Display.MaxPlayers"),
|
||||||
MAX_PLAYERS_PLAYERS_PAGE("Customization.Display.MaxPlayersPlayersPage"),
|
MAX_PLAYERS_PLAYERS_PAGE("Customization.Display.MaxPlayersPlayersPage"),
|
||||||
|
AFK_THRESHOLD_MINUTES("Data.AFKThresholdMinutes"),
|
||||||
|
|
||||||
// String
|
// String
|
||||||
DEBUG("Plugin.Debug"),
|
DEBUG("Plugin.Debug"),
|
||||||
|
@ -147,7 +147,7 @@ public class NetworkSettings {
|
|||||||
Settings.MAX_PLAYERS_PLAYERS_PAGE, Settings.PLAYERTABLE_FOOTER, Settings.FORMAT_DATE_RECENT_DAYS,
|
Settings.MAX_PLAYERS_PLAYERS_PAGE, Settings.PLAYERTABLE_FOOTER, Settings.FORMAT_DATE_RECENT_DAYS,
|
||||||
Settings.FORMAT_DATE_RECENT_DAYS_PATTERN, Settings.FORMAT_DATE_CLOCK, Settings.FORMAT_DATE_NO_SECONDS,
|
Settings.FORMAT_DATE_RECENT_DAYS_PATTERN, Settings.FORMAT_DATE_CLOCK, Settings.FORMAT_DATE_NO_SECONDS,
|
||||||
Settings.FORMAT_DATE_FULL, Settings.DISPLAY_PLAYER_IPS, Settings.ACTIVE_LOGIN_THRESHOLD,
|
Settings.FORMAT_DATE_FULL, Settings.DISPLAY_PLAYER_IPS, Settings.ACTIVE_LOGIN_THRESHOLD,
|
||||||
Settings.ACTIVE_PLAY_THRESHOLD, Settings.DISPLAY_GAPS_IN_GRAPH_DATA
|
Settings.ACTIVE_PLAY_THRESHOLD, Settings.DISPLAY_GAPS_IN_GRAPH_DATA, Settings.AFK_THRESHOLD_MINUTES
|
||||||
};
|
};
|
||||||
Log.debug("NetworkSettings: Adding Config Values..");
|
Log.debug("NetworkSettings: Adding Config Values..");
|
||||||
for (Settings setting : sameStrings) {
|
for (Settings setting : sameStrings) {
|
||||||
|
@ -58,6 +58,8 @@ Analysis:
|
|||||||
DestinationFolder: 'Analysis Results'
|
DestinationFolder: 'Analysis Results'
|
||||||
|
|
||||||
Data:
|
Data:
|
||||||
|
# How many minutes player has to stay still to be considered AFK
|
||||||
|
AFKThresholdMinutes: 3
|
||||||
Commands:
|
Commands:
|
||||||
LogUnknownCommands: false
|
LogUnknownCommands: false
|
||||||
CombineCommandAliases: true
|
CombineCommandAliases: true
|
||||||
|
@ -72,6 +72,8 @@ Analysis:
|
|||||||
Enabled: false
|
Enabled: false
|
||||||
DestinationFolder: 'Analysis Results'
|
DestinationFolder: 'Analysis Results'
|
||||||
Data:
|
Data:
|
||||||
|
# How many minutes player has to stay still to be considered AFK
|
||||||
|
AFKThresholdMinutes: 3
|
||||||
Commands:
|
Commands:
|
||||||
LogUnknownCommands: false
|
LogUnknownCommands: false
|
||||||
CombineCommandAliases: true
|
CombineCommandAliases: true
|
||||||
|
Loading…
Reference in New Issue
Block a user