mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-08-20 19:52:45 +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_PLAYERS("Customization.Display.MaxPlayers"),
|
||||
MAX_PLAYERS_PLAYERS_PAGE("Customization.Display.MaxPlayersPlayersPage"),
|
||||
AFK_THRESHOLD_MINUTES("Data.AFKThresholdMinutes"),
|
||||
|
||||
// String
|
||||
DEBUG("Plugin.Debug"),
|
||||
|
|
|
@ -147,7 +147,7 @@ public class NetworkSettings {
|
|||
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_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..");
|
||||
for (Settings setting : sameStrings) {
|
||||
|
|
|
@ -58,6 +58,8 @@ Analysis:
|
|||
DestinationFolder: 'Analysis Results'
|
||||
|
||||
Data:
|
||||
# How many minutes player has to stay still to be considered AFK
|
||||
AFKThresholdMinutes: 3
|
||||
Commands:
|
||||
LogUnknownCommands: false
|
||||
CombineCommandAliases: true
|
||||
|
|
|
@ -72,6 +72,8 @@ Analysis:
|
|||
Enabled: false
|
||||
DestinationFolder: 'Analysis Results'
|
||||
Data:
|
||||
# How many minutes player has to stay still to be considered AFK
|
||||
AFKThresholdMinutes: 3
|
||||
Commands:
|
||||
LogUnknownCommands: false
|
||||
CombineCommandAliases: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user