|
1 | | - |
2 | | - |
3 | | - |
4 | 1 | #============================================================================== |
5 | | -# Web Server configuration |
| 2 | +# ____ _ _ _ ___ _ ____ _ _ _ ____ ___ ____ _ ___ ____ |
| 3 | +# [__ | |\/| |__] | |___ | | | |___ |__] [__ | | |___ |
| 4 | +# ___] | | | | |___ |___ |_|_| |___ |__] ___] | | |___ |
| 5 | +# Simple Plugin That Lets you host a website on your server |
| 6 | +# |
| 7 | +# Created by: Kasun Hapangama |
| 8 | +# Website: https://ka0un.github.io/simplewebsite/ |
| 9 | +# GitHub: https://github.com/ka0un/SimpleWebsite |
| 10 | +# Discord: https://dsc.gg/sundevs |
6 | 11 | #============================================================================== |
7 | 12 | webserver: |
| 13 | + # Website Configurations |
8 | 14 | domain: localhost |
| 15 | + # If you are connected a domain to your minecraft server then enter it here. |
| 16 | + # you can leave it as localhost if you are not using a domain. |
| 17 | + |
9 | 18 | indexFile: index.html |
| 19 | + # The file that will be loaded when a user visits your website. |
| 20 | + # You can change this to any file name you want. |
| 21 | + |
10 | 22 | port: 8081 |
| 23 | + # The port that the webserver will run on. |
| 24 | + # You can change this to any port you want. |
| 25 | + # you have to allocate the port from your server host before changing this. |
| 26 | + # once configured you can access your website by visiting http://localhost:8081 (replace localhost with your domain or server ip) |
| 27 | + |
11 | 28 | ssl: |
| 29 | + # SSL Configurations |
12 | 30 | useSSL: false |
| 31 | + # If you want to use SSL then set this to true. |
| 32 | + # You have to configure the SSL settings below if you want to use SSL. |
| 33 | + |
13 | 34 | keystorePassword: test |
| 35 | + # The password of the keystore file. |
| 36 | + # You can change this to any password you want. |
| 37 | + |
14 | 38 | api: |
| 39 | + # API Configurations |
15 | 40 | apiOnly: false |
| 41 | + # If you want to use the API only then set this to true. |
| 42 | + # This will disable the webserver and only run the API. |
| 43 | + |
16 | 44 | whitelistPlaceholders: false |
| 45 | + # If you want to whitelist the placeholders then set this to true. |
| 46 | + # This will only allow the placeholders that are listed in the whitelist. |
| 47 | + # You can add placeholders to the whitelist below. |
| 48 | + # This will prevent other parties from accessing your server data. |
| 49 | + |
17 | 50 | placeholder-whitelist: |
18 | 51 | - 'server_online' |
19 | 52 | - 'server_max_players' |
0 commit comments