mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-22 00:57:55 +01:00
Page:
How to configure X
Pages
4.0.0 Set Up after 3.6.4
APIv4
APIv5 DataExtension API
APIv5 DataExtension API by Example
APIv5 PageExtension API
APIv5 Query API
APIv5
Architectural Decision Records
Bukkit Configuration
Bukkit Set Up
Bungee Configuration
Bungee Set Up
Commands & Permissions
Contribution Guidelines
DataExtension API Getting started
DataExtension API Builders
Database Schema
Database management
External WebServer Use
External Webserver use: Reverse proxy
Get Started
Home
How to configure X
How to update supported fabric version for curseforge release pipeline
How to update the plugin
Html Customization migration guide to React
Html Customization
Localization
Migration guide from Version 4.x.x to Version 5.0
Migration guide from Version 5.5 to 5.6
Migration guide to Version 5.1 build 768
PlaceholderAPI
Possible GDPR Privacy Policy section
Preparation for update with database schema changes
Project Architecture
Project Setup
Query API Getting started
SSL Certificate (HTTPS) Set Up
Supported Plugins
Themes
Web permissions
3
How to configure X
Aurora Lahtela edited this page 2024-01-21 13:19:27 +02:00
How to configure ___?
This page has some frequently asked configuration/customization how-to's listed. They are optional.
How to configure the website to use different time format? (12h / 24h)
Configuring time formats of the timestamps
- Change
Formatting.Dates
settings in the Plan config. See https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html for pattern reference
Configuring time formats of the graphs
- This feature is in development https://github.com/plan-player-analytics/Plan/issues/2781
Specific graph
Add a new dateTimeLabelFormats
to the graph's configuration options. (Note that xAxis section may also be needed)
xAxis: {
dateTimeLabelFormats: {
hour: '%H:%M',
day: '%e. %b',
},
},
See https://api.highcharts.com/highcharts/xAxis.dateTimeLabelFormats for pattern reference
All graphs
Add some configuration at the top of the graphs.js file
Highcharts.setOptions({
xAxis: {
dateTimeLabelFormats: {
hour: '%H:%M',
day: '%e. %b',
},
}
});
See https://api.highcharts.com/highcharts/xAxis.dateTimeLabelFormats for pattern reference
How to add more time buttons to graphs
- Use Html Customization to get customized
js/graphs.js
file.
Change the buttons
sections in the file
buttons: [{
type: 'hour',
count: 1,
text: '1h'
},{
type: 'hour',
count: 6,
text: '6h'
},{
type: 'hour',
count: 12,
text: '12h'
},{
type: 'hour',
count: 24,
text: '24h'
},{
type: 'day',
count: 7,
text: '7d'
},{
type: 'month',
count: 1,
text: '30d'
},{
type: 'all',
text: 'All'
}]
Documentation
Tutorials
Configuration
- Game server Set-up
- Network Set-up
- Game server Configuration
- Network Configuration
- Login / HTTPS Set-Up
- Commands & Permissions
- Database management
- PlaceholderAPI