Spaces:
Running
Running
Create WebServer/config.yml
Browse files- plugins/WebServer/config.yml +123 -0
plugins/WebServer/config.yml
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 2 |
+
#ββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 3 |
+
#βββββββββββββββββββββββββββββ¦β βββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 4 |
+
#ββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 5 |
+
#βββββββββββββββββββββββββββββ¦β βββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 6 |
+
#ββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 7 |
+
# for Spigot by FundyJo createt to Support your Server
|
| 8 |
+
# with your personal Website!
|
| 9 |
+
|
| 10 |
+
# ! IMPORTANT BEVOR USE !
|
| 11 |
+
|
| 12 |
+
# This Website Plugin can be used on the Version 1.8 - 1.18.2 if your Server
|
| 13 |
+
# use a Version like 1.7 that is not *Supportet* our Support wouldnt
|
| 14 |
+
# help you. In this WebServer.zip you find a php folder you can if you wanna
|
| 15 |
+
# add this File to your Server as PHP so you can use .php Files!
|
| 16 |
+
# you find a short info how to do under this text by (shstags-enabled)
|
| 17 |
+
#
|
| 18 |
+
# Get Support on my Disocrd: https://discord.gg/WfXDbv7par
|
| 19 |
+
|
| 20 |
+
# API for Html
|
| 21 |
+
#
|
| 22 |
+
# SERVER_NAME - Prints your server name from server.properties.
|
| 23 |
+
# SERVER_VERSION - Prints your server version
|
| 24 |
+
# SERVER_IP - Prints the server ip from server.properties
|
| 25 |
+
# SERVER_PORT - Prints the server port from server.properties
|
| 26 |
+
# MAX_PLAYERS - Prints server max player slots from server.properties
|
| 27 |
+
# SERVER_MOTD - Prints a non-stylized MOTD from server.properties
|
| 28 |
+
# PLAYERS_ONLINE_LIST - Prints a list of characters online with the avatar.
|
| 29 |
+
# PLAYERS_ONLINE_COUNT - Prints the count (int) of players online in the server.
|
| 30 |
+
|
| 31 |
+
# you find a example at the bottom of this File!
|
| 32 |
+
|
| 33 |
+
# Index.php (PHP USE)
|
| 34 |
+
# should your main File be a Index.php if you have php enabled?
|
| 35 |
+
php-index: false
|
| 36 |
+
|
| 37 |
+
# Web Site/Network Name
|
| 38 |
+
server-name: WebServer - Examplename
|
| 39 |
+
|
| 40 |
+
# Web Site/Network Address
|
| 41 |
+
server-address: null
|
| 42 |
+
|
| 43 |
+
# Server IP (Eg localhost / 127.0.0.1 / Bound External IP )
|
| 44 |
+
server-ip: 0.0.0.0
|
| 45 |
+
|
| 46 |
+
# Additional IPs, do not uncomment unless assigning available ips on your network
|
| 47 |
+
#additional-ips:
|
| 48 |
+
# - 192.168.0.1
|
| 49 |
+
|
| 50 |
+
# Web Port (Default: 80)
|
| 51 |
+
server-port: 7001
|
| 52 |
+
|
| 53 |
+
# Error Pages where do you wanna send your client?
|
| 54 |
+
# if your Website Response an error while
|
| 55 |
+
# joining your Website (404,403....)
|
| 56 |
+
503-error: 503.html
|
| 57 |
+
404-error: 404.html
|
| 58 |
+
401-error: 401.html
|
| 59 |
+
|
| 60 |
+
# Server Root Path
|
| 61 |
+
# This is where your HTTP server root is. No trailing slash! Examples:
|
| 62 |
+
# Windows: C:\Users\Minecraft\Spigot\plugins\SpigotHttpServer\public_html
|
| 63 |
+
# Linux: /home/spigot/server/plugins/SpigotHttpServer/public_html
|
| 64 |
+
server-path: /app/plugins/WebServer/public_html
|
| 65 |
+
|
| 66 |
+
# Max simultaneous connections
|
| 67 |
+
# Considering you are running a small server via a plugin on your
|
| 68 |
+
# Spigot Server, considering keeping this low. Connections over this limit
|
| 69 |
+
# will be rejected with a 503 Service Unavailable Error.
|
| 70 |
+
# Setting this to 0 or 1 will drop all incoming connections serving the 503
|
| 71 |
+
max-connections: 200
|
| 72 |
+
|
| 73 |
+
#Plugin Language
|
| 74 |
+
# The Default Language will be set to english
|
| 75 |
+
# else you can change it!
|
| 76 |
+
language: NONE
|
| 77 |
+
|
| 78 |
+
# Kill Switch
|
| 79 |
+
# If this enabled, instead of serving a 503 error when connection limit is
|
| 80 |
+
# reached, Spigot HTTP Server will shutdown for X time before returning online
|
| 81 |
+
kill-switch-enabled: false
|
| 82 |
+
|
| 83 |
+
# Kill Switch - Restart Timer (In Ticks)
|
| 84 |
+
# [Default: 2400] - 2 Minutes
|
| 85 |
+
kill-switch-restart: 2400
|
| 86 |
+
|
| 87 |
+
# PHP Gateway Enabled
|
| 88 |
+
# This shouldn't be enabled if you do not have PHP installed
|
| 89 |
+
php-gateway-enabled: false
|
| 90 |
+
|
| 91 |
+
# PHP Path*
|
| 92 |
+
# This is the full path, or command to your PHP parser
|
| 93 |
+
# Linux Example: /user/bin/php
|
| 94 |
+
# Windows Example C:\Users\Example_Name\file_to_php\php.exe
|
| 95 |
+
|
| 96 |
+
# Note (Linux): On linux if you do not know your PHP path you may have to guess if you do not have access to the terminal. If you do, try running: find / -name "php"
|
| 97 |
+
# Note (Windows): On windows your php-path should point to your php.exe. (You can download PHP form here: http://windows.php.net/download/ or use another instance like WAMPs)
|
| 98 |
+
|
| 99 |
+
php-path: php
|
| 100 |
+
|
| 101 |
+
# SHS Tags Enabled
|
| 102 |
+
# SHS Tags incorperates a secondary parser before pages are served and replaces
|
| 103 |
+
# Registered types with their corresponding value. You can accesss SHSTags through
|
| 104 |
+
# Spigot HTTP Server plugin and add your own custom types.
|
| 105 |
+
shstags-enabled: true
|
| 106 |
+
|
| 107 |
+
# SHS Online Userlist Avatar Size
|
| 108 |
+
# [Default: 24]
|
| 109 |
+
shstags-avatar-size: 24
|
| 110 |
+
|
| 111 |
+
# Max HTML Online Player List Count
|
| 112 |
+
shstags-max-online-list-shown: 25
|
| 113 |
+
|
| 114 |
+
# Did we, or do we want to generate the default index
|
| 115 |
+
# This is set false for first run to generate an example
|
| 116 |
+
generated-index: false
|
| 117 |
+
|
| 118 |
+
# Html API use Example!
|
| 119 |
+
#
|
| 120 |
+
# <div id="usersonline">
|
| 121 |
+
# We have <shs type="players_online_count"> of <shs type="max_players"> players online.<br />
|
| 122 |
+
# <p id="userlist"><shs type="players_online_list"><p>
|
| 123 |
+
# </div>
|