4.6.0 DEV3

This commit is contained in:
Rsl1122 2019-01-08 14:44:25 +02:00
parent 3439993ddd
commit 9ba2fad802
4 changed files with 321 additions and 228 deletions

View File

@ -8,27 +8,20 @@ Server:
IP: 0.0.0.0
Network:
Name: Plan
# -----------------------------------------------------
Plugin:
Debug: 'false'
Locale: default
Check-for-updates: true
Notify-About-DEV-Releases: false
KeepLogsForXDays: 7
Logging:
Locale: default
Create_new_locale_file_on_next_enable: false
Debug: false
Dev: false
Delete_logs_after_days: 7
Update_notifications:
# Display update notification on the website
Check_for_updates: true
Notify_about_DEV_releases: false
# -----------------------------------------------------
# More information about SSL Certificate Settings:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/SSL-Certificate-%28HTTPS%29-Set-Up
# -----------------------------------------------------
WebServer:
Port: 8804
InternalIP: 0.0.0.0
Security:
SSL-Certificate:
KeyStorePath: 'SSLCertificate.keystore'
KeyPass: 'default'
StorePass: 'default'
Alias: 'alias'
# Supported databases: MySQL
# -----------------------------------------------------
Database:
MySQL:
@ -37,91 +30,132 @@ Database:
User: root
Password: minecraft
Database: Plan
# Launch options to append after driver address, for example
LaunchOptions: "?rewriteBatchedStatements=true&useSSL=false"
# Launch options to append after mysql driver address
Launch_options: "?rewriteBatchedStatements=true&useSSL=false"
# -----------------------------------------------------
Commands:
AlternativeIP:
Enabled: false
Link: your.domain.here:%port%
Colors:
# More information about SSL Certificate Settings:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/SSL-Certificate-%28HTTPS%29-Set-Up
# -----------------------------------------------------
Webserver:
Port: 8804
Alternative_IP: false
# %port% is replaced automatically with Webserver.Port
Address: your.domain.here:%port%
# InternalIP usually does not need to be changed, only change it if you know what you're doing!
# 0.0.0.0 allocates Internal (local) IP automatically for the WebServer.
Internal_IP: 0.0.0.0
Security:
SSL_certificate:
KeyStore_path: Cert.jks
Key_pass: default
Store_pass: default
Alias: alias
# For those that want to serve Html from their own WebServer instead.
# Set up Html Export (https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/External-WebServer-Use)
# ATTENTION: On BungeeCord systems it is not possible to disable the WebServer on the plugin due to connection requirements.
# If the WebServer is disabled with this setting BungeeCord systems will cease to function.
Disable_Webserver: false
External_Webserver_address: "https://www.example.address"
# -----------------------------------------------------
Data_gathering:
Geolocations: true
# -----------------------------------------------------
# Supported time units: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
# -----------------------------------------------------
Time:
# UTC used if false. Only affects Timestamps and graphs.
Use_server_timezone: true
Delays:
Ping_server_enable_delay: 300
Unit: SECONDS
Ping_player_join_delay: 30
Unit: SECONDS
Thresholds:
# How long player needs to be idle until Plan considers them AFK
AFK_threshold: 3
Unit: MINUTES
# Activity Index considers last 3 weeks and uses these thresholds in the calculation
# The index is a number from 0 to 5.
# These numbers were calibrated with data of 250 players (Small sample size).
Activity_index:
Login_threshold: 2
Playtime_threshold: 30
Unit: MINUTES
Remove_inactive_player_data_after: 180
Unit: DAYS
Periodic_tasks:
Check_DB_for_server_config_files_every: 1
Unit: MINUTES
Clean_caches_every: 10
Unit: MINUTES
Clean_Database_every: 1
Unit: HOURS
# -----------------------------------------------------
Display_options:
# More information about Themes:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Themes
Theme: default
Sessions:
Replace_accordion_with_table: false
Show_most_played_world_in_title: true
Show_on_page: 50
# By Default World playtime pie is ordered alphabetically.
# Colors will be determined alphabetically in any case.
Order_world_pies_by_percentage: false
Players_table:
Show_on_players_page: 25000
Open_player_links_in_new_tab: false
Show_player_IPs: true
Graphs:
Show_gaps_in_data: false
Command_colors:
Main: '&2'
Secondary: '&7'
Highlight: '&f'
Analysis:
AutoRefreshPeriod: 60
Active:
# Minutes a player should play per week to be considered active
PlaytimeThreshold: 30
# How many days player should join per week to be considered active
LoginThreshold: 2
Export:
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
Geolocations: true
Ping:
ServerEnableDelaySeconds: 300
PlayerLoginDelaySeconds: 30
KeepInactivePlayerDataForDays: 180
# -----------------------------------------------------
Customization:
UseServerTime: true
Display:
SessionsAsTable: false
LargestWorldPercInSessionTitle: false
# By Default WorldPie is ordered alphabetically, colors are still determined alphabetically.
OrderWorldPieByPercentage: false
MaxSessions: 50
MaxPlayers: 2500
MaxPlayersPlayersPage: 25000
PlayerTableFooter: true
PlayerIPs: true
GapsInGraphData: false
Formatting:
DecimalPoints: '#.##'
Dates:
# RecentDays replaces date with Today, Yesterday, Wednesday etc.
RecentDays: true
# Non-regex pattern to replace
DatePattern: 'MMM d YYYY'
Full: 'MMM d YYYY, HH:mm:ss'
NoSeconds: 'MMM d YYYY, HH:mm'
JustClock: 'HH:mm:ss'
TimeAmount:
Year: '1 year, '
Years: '%years% years, '
Month: '1 month, '
Months: '%months% months, '
Day: '1d '
Days: '%days%d '
Hours: '%hours%h '
Minutes: '%minutes%m '
Seconds: '%seconds%s'
Zero: '0s'
Formatting:
Decimal_points: '#.##'
Time_amount:
Year: '1 year, '
Years: '%years% years, '
Month: '1 month, '
Months: '%months% months, '
Day: '1d '
Days: '%days%d '
Hours: '%hours%h '
Minutes: '%minutes%m '
Seconds: '%seconds%s'
Zero: '0s'
# Dates settings use Java SimpleDateFormat.
# You can find the patterns & examples here:
# https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
Dates:
# Show_recent_day_names replaces day number with Today, Yesterday, Wednesday etc.
Show_recent_day_names: true
# Non-regex pattern to replace
DatePattern: 'MMM d YYYY'
Full: 'MMM d YYYY, HH:mm:ss'
NoSeconds: 'MMM d YYYY, HH:mm'
JustClock: 'HH:mm:ss'
# -----------------------------------------------------
# More information about Themes:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Themes
# These settings will make Plan write .js, .css, .json and .html files to some location on disk.
# Relative path will render to /plugins/Plan/path
# Make sure user running the server has write permissions to the path.
# -----------------------------------------------------
Theme:
Base: Default
Font:
FontStyleSheet: https://fonts.googleapis.com/css?family=Quicksand:300,400
FontFamily: "'Quicksand', sans-serif"
Export:
HTML_Export_path: 'Analysis Results'
JSON_Export_path: 'Raw JSON'
Parts:
JavaScript_and_CSS: false
# Player pages/JSON are only written on join/leave.
Player_pages: false
Player_JSON: false
Players_page: false
Server_page: false
Server_JSON: false
# -----------------------------------------------------
Servers:
Example:
WebServerPort: 8034
ServerName: Example
ThemeBase: Default
# These settings affect Plugin data integration.
# If a plugin is causing issues the integration can be disabled by setting Plugin_name.Enabled: false
# -----------------------------------------------------
Plugins:
BuyCraft:

View File

@ -4,44 +4,25 @@
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Bukkit-Configuration
# -----------------------------------------------------
Server:
ServerName: 'Plan'
# -----------------------------------------------------
# More information about Locale
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Localization
ServerName: Plan
# -----------------------------------------------------
Plugin:
Debug: false
Locale: default
WriteNewLocaleFileOnEnable: false
Bungee-Override:
StandaloneMode: false
CopyBungeeConfig: true
Check-for-updates: true
Notify-About-DEV-Releases: false
KeepLogsForXDays: 7
Logging:
# More information about Locale
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Localization
Locale: default
Create_new_locale_file_on_next_enable: false
Debug: false
Dev: false
Delete_logs_after_days: 7
Update_notifications:
# Display update notification on the website
Check_for_updates: true
Notify_about_DEV_releases: false
Configuration:
Allow_bungeecord_to_manage_settings: true
# -----------------------------------------------------
# More information about SSL Certificate Settings:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/SSL-Certificate-%28HTTPS%29-Set-Up
# -----------------------------------------------------
WebServer:
Port: 8804
# InternalIP usually does not need to be changed, only change it if you know what you're doing!
# 0.0.0.0 allocates Internal (local) IP automatically for the WebServer.
InternalIP: 0.0.0.0
Security:
SSL-Certificate:
KeyStorePath: 'SSLCertificate.keystore'
KeyPass: 'default'
StorePass: 'default'
Alias: 'alias'
# For those that want to serve Html from their own WebServer instead.
# Set up Html Export (https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/External-WebServer-Use)
# ATTENTION: On BungeeCord systems it is not possible to disable the WebServer on the plugin due to connection requirements.
# If the WebServer is disabled with this setting BungeeCord systems will cease to function.
DisableWebServer: false
ExternalWebServerAddress: "https://www.example.address"
# Supported databases: SQLite, H2, MySQL
# -----------------------------------------------------
Database:
Type: SQLite
@ -51,105 +32,157 @@ Database:
User: root
Password: minecraft
Database: Plan
# Launch options to append after driver address, for example
LaunchOptions: "?rewriteBatchedStatements=true&useSSL=false"
# Launch options to append after mysql driver address
Launch_options: ?rewriteBatchedStatements=true&useSSL=false
# -----------------------------------------------------
Commands:
AlternativeIP:
Enabled: false
Link: your.domain.here:%port%
Colors:
# More information about SSL Certificate Settings:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/SSL-Certificate-%28HTTPS%29-Set-Up
# -----------------------------------------------------
Webserver:
Port: 8804
Alternative_IP: false
# %port% is replaced automatically with Webserver.Port
Address: your.domain.here:%port%
# InternalIP usually does not need to be changed, only change it if you know what you're doing!
# 0.0.0.0 allocates Internal (local) IP automatically for the WebServer.
Internal_IP: 0.0.0.0
Security:
SSL_certificate:
KeyStore_path: Cert.jks
Key_pass: default
Store_pass: default
Alias: alias
# For those that want to serve Html from their own WebServer instead.
# Set up Html Export (https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/External-WebServer-Use)
# ATTENTION: On BungeeCord systems it is not possible to disable the WebServer on the plugin due to connection requirements.
# If the WebServer is disabled with this setting BungeeCord systems will cease to function.
Disable_Webserver: false
External_Webserver_address: https://www.example.address
# -----------------------------------------------------
Data_gathering:
Geolocations: true
Commands:
Log_unknown: false
Log_aliases_as_main_command: true
# -----------------------------------------------------
# Supported time units: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
# -----------------------------------------------------
Time:
# UTC used if false. Only affects Timestamps and graphs.
Use_server_timezone: true
Delays:
Ping_server_enable_delay: 300
Unit: SECONDS
Ping_player_join_delay: 30
Unit: SECONDS
Thresholds:
# How long player needs to be idle until Plan considers them AFK
AFK_threshold: 3
Unit: MINUTES
# Activity Index considers last 3 weeks and uses these thresholds in the calculation
# The index is a number from 0 to 5.
# These numbers were calibrated with data of 250 players (Small sample size).
Activity_index:
Login_threshold: 2
Playtime_threshold: 30
Unit: MINUTES
Remove_inactive_player_data_after: 180
Unit: DAYS
Periodic_tasks:
Analysis_refresh_every: 60
Unit: MINUTES
Check_DB_for_server_config_files_every: 1
Unit: MINUTES
Clean_caches_every: 10
Unit: MINUTES
Clean_Database_every: 1
Unit: HOURS
# -----------------------------------------------------
Display_options:
# More information about Themes:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Themes
Theme: default
Sessions:
Replace_accordion_with_table: false
Show_most_played_world_in_title: true
Show_on_page: 50
# By Default World playtime pie is ordered alphabetically.
# Colors will be determined alphabetically in any case.
Order_world_pies_by_percentage: false
Players_table:
Show_on_server_page: 2500
Show_on_players_page: 25000
Open_player_links_in_new_tab: false
Show_player_IPs: true
Graphs:
Show_gaps_in_data: false
TPS:
High_threshold: 18
Medium_threshold: 10
Disk_space:
High_threshold: 500
Medium_threshold: 100
Command_colors:
Main: '&2'
Secondary: '&7'
Highlight: '&f'
Analysis:
AutoRefreshPeriod: 60
Active:
# Minutes a player should play per week to be considered active
PlaytimeThreshold: 30
# How many days player should join per week to be considered active
LoginThreshold: 2
LogProgress: true
Export:
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
Geolocations: true
Ping:
ServerEnableDelaySeconds: 300
PlayerLoginDelaySeconds: 30
KeepInactivePlayerDataForDays: 180
# -----------------------------------------------------
Customization:
UseServerTime: true
Display:
SessionsAsTable: false
LargestWorldPercInSessionTitle: false
# By Default WorldPie is ordered alphabetically, colors are still determined alphabetically.
OrderWorldPieByPercentage: false
MaxSessions: 50
MaxPlayers: 2500
MaxPlayersPlayersPage: 25000
PlayerTableFooter: true
PlayerIPs: true
GapsInGraphData: false
Formatting:
DecimalPoints: '#.##'
# Dates settings use Java SimpleDateFormat.
# You can find the patterns & examples here:
# https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
Dates:
# RecentDays replaces date with Today, Yesterday, Wednesday etc.
RecentDays: true
# Non-regex pattern to replace
DatePattern: 'MMM d YYYY'
Full: 'MMM d YYYY, HH:mm:ss'
NoSeconds: 'MMM d YYYY, HH:mm'
JustClock: 'HH:mm:ss'
TimeAmount:
Year: '1 year, '
Years: '%years% years, '
Month: '1 month, '
Months: '%months% months, '
Day: '1d '
Days: '%days%d '
Hours: '%hours%h '
Minutes: '%minutes%m '
Seconds: '%seconds%s'
Zero: '0s'
WorldAliases:
world: world
Formatting:
Decimal_points: '#.##'
Time_amount:
Year: '1 year, '
Years: '%years% years, '
Month: '1 month, '
Months: '%months% months, '
Day: '1d '
Days: '%days%d '
Hours: '%hours%h '
Minutes: '%minutes%m '
Seconds: %seconds%s
Zero: 0s
# Dates settings use Java SimpleDateFormat.
# You can find the patterns & examples here:
# https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
Dates:
# Show_recent_day_names replaces day number with Today, Yesterday, Wednesday etc.
Show_recent_day_names: true
# Non-regex pattern to replace
DatePattern: 'MMM d YYYY'
Full: 'MMM d YYYY, HH:mm:ss'
NoSeconds: 'MMM d YYYY, HH:mm'
JustClock: HH:mm:ss
# -----------------------------------------------------
# More information about Themes:
# https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Themes
#
# Since 4.1.0 colors are set in theme.yml
# World aliases can be used to rename worlds and to combine multiple worlds into a group.
# -----------------------------------------------------
Theme:
Base: Default
Graphs:
TPS:
High-Threshold: 18
Medium-Threshold: 10
# Free Disk space thresholds, in megabytes.
Disk:
High-Threshold: 500
Medium-Threshold: 100
World_aliases:
world: world
# -----------------------------------------------------
# These settings will make Plan write .js, .css, .json and .html files to some location on disk.
# Relative path will render to /plugins/Plan/path
# Make sure user running the server has write permissions to the path.
# -----------------------------------------------------
Export:
HTML_Export_path: 'Analysis Results'
JSON_Export_path: 'Raw JSON'
Parts:
JavaScript_and_CSS: false
# Player pages/JSON are only written on join/leave.
Player_pages: false
Player_JSON: false
Players_page: false
Server_page: false
Server_JSON: false
# -----------------------------------------------------
# These settings affect Plugin data integration.
# If a plugin is causing issues the integration can be disabled by setting Plugin_name.Enabled: false
# -----------------------------------------------------
Plugins:
BuyCraft:
# http://help.buycraft.net/article/36-where-to-find-the-secret-key
Secret: '-'
Factions:
HideFactions:
- ExampleFaction
Towny:
HideTowns:
- ExampleTown
BuyCraft:
# http://help.buycraft.net/article/36-where-to-find-the-secret-key
Secret: "-"
- ExampleTown

View File

@ -32,6 +32,9 @@
<!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
<link href="../css/themes/all-themes.css" rel="stylesheet"/>
<!-- Jquery Core Js -->
<script src="../plugins/jquery/jquery.min.js"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
@ -84,9 +87,7 @@
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<!-- Call Search (Disabled)
<li><a href="javascript:void(0);" class="js-search" data-close="true"><i class="material-icons">search</i></a></li>
<!-- #END# Call Search -->
${backButton}
<li class="pull-right"><a href="javascript:void(0);" class="js-right-sidebar" data-close="true"><i
class="material-icons">settings</i></a></li>
</ul>
@ -795,9 +796,6 @@
</div>
</section>
<!-- Jquery Core Js -->
<script src="../plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap Core Js -->
<script src="../plugins/bootstrap/js/bootstrap.js"></script>

View File

@ -87,9 +87,7 @@
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<!-- Call Search (Disabled)
<li><a href="javascript:void(0);" class="js-search" data-close="true"><i class="material-icons">search</i></a></li>
<!-- #END# Call Search -->
${backButton}
<li class="pull-right"><a href="javascript:void(0);" class="js-right-sidebar" data-close="true"><i
class="material-icons">settings</i></a></li>
</ul>
@ -909,6 +907,16 @@
<small>(AVG.)</small>
<span class="pull-right"><b>${chunkAverageMonth}</b></span>
</li>
<li>
<i class="col-green fa fa-hdd"></i> Free Disk
<small>(MAX)</small>
<span class="pull-right"><b>${freeDiskMaximumMonth} Mb</b></span>
</li>
<li>
<i class="col-green fa fa-hdd"></i> Free Disk
<small>(MIN)</small>
<span class="pull-right"><b>${freeDiskMinimumMonth} Mb</b></span>
</li>
</ul>
</div>
</div>
@ -949,6 +957,16 @@
<small>(AVG.)</small>
<span class="pull-right"><b>${chunkAverageWeek}</b></span>
</li>
<li>
<i class="col-green fa fa-hdd"></i> Free Disk
<small>(MAX)</small>
<span class="pull-right"><b>${freeDiskMaximumWeek} Mb</b></span>
</li>
<li>
<i class="col-green fa fa-hdd"></i> Free Disk
<small>(MIN)</small>
<span class="pull-right"><b>${freeDiskMinimumWeek} Mb</b></span>
</li>
</ul>
</div>
</div>
@ -989,6 +1007,16 @@
<small>(AVG.)</small>
<span class="pull-right"><b>${chunkAverageDay}</b></span>
</li>
<li>
<i class="col-green fa fa-hdd"></i> Free Disk
<small>(MAX)</small>
<span class="pull-right"><b>${freeDiskMaximumDay} Mb</b></span>
</li>
<li>
<i class="col-green fa fa-hdd"></i> Free Disk
<small>(MIN)</small>
<span class="pull-right"><b>${freeDiskMinimumDay} Mb</b></span>
</li>
</ul>
</div>
</div>