mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-25 03:55:37 +01:00
Updated Html Customization (markdown)
parent
8596f74a11
commit
23629236a4
@ -5,15 +5,17 @@
|
||||
> [View the HTML branch](https://github.com/Rsl1122/Plan-PlayerAnalytics/tree/html/Plan/src/main/resources)
|
||||
|
||||
The web pages of the plugin can be completely customized.
|
||||
The way you do this is by copying and editing the files inside Plan.jar to **/plugins/Plan/web/**-folder.
|
||||
|
||||
This is done by copying the files from `<jar>/assets/Plan/web/` to `<server>/plugins/Plan/web/` (or `/config/Plan/web/`on Sponge) and modifying them.
|
||||
|
||||
This means that you can add a links to important pages related to your server, change layout to some extent and more customization than bare config settings allow.
|
||||
|
||||
## How to get modifyable files
|
||||
|
||||
After you have used Plan for a while, the config.yml will have a `Customized_files` section.
|
||||
Set any file as `true` and access the page again to place it in `/Plan/web/`-directory (Or copy them from `Plan.jar/assets/Plan/web/`).
|
||||
|
||||
Afterwards you can modify the files in `/Plan/web/` and Plan will use them!
|
||||
|
||||
### Currently supported files:
|
||||
|
||||
Everything inside the web folder inside the jar:
|
||||
- [Web Resources](https://github.com/plan-player-analytics/Plan/tree/master/Plan/common/src/main/resources/assets/plan/web)
|
||||
|
||||
Please note that [[Themes]] function by replacing default color variables in the .css and .html files and changing them may break the functionality.
|
||||
- Everything inside the web folder inside the jar: [Web Resources](https://github.com/plan-player-analytics/Plan/tree/master/Plan/common/src/main/resources/assets/plan/web)
|
||||
- Any files made customizable via [ResourceService](https://github.com/plan-player-analytics/Plan/wiki/APIv5-PageExtension-API)
|
Loading…
Reference in New Issue
Block a user