mirror of
https://github.com/JonasunderscoreJones/McWebserver.git
synced 2025-10-23 11:29:19 +02:00
Added base mod
base mod with basic http server and simple config system
This commit is contained in:
commit
ec3c622896
231 changed files with 3298 additions and 0 deletions
1
run/banned-ips.json
Normal file
1
run/banned-ips.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
1
run/banned-players.json
Normal file
1
run/banned-players.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
8
run/config/mcwebserver.properties
Normal file
8
run/config/mcwebserver.properties
Normal file
|
@ -0,0 +1,8 @@
|
|||
web.isEnabled=true #whether or not the webserver should be enabled or not | default: true
|
||||
web.port=8080 #The port of the webserver | default: 8080
|
||||
web.root=./webserver/ #the root directory of the webserver, starting from the main server directory | default: webserver/
|
||||
web.file.root=index.html #the name of the html file for the homepage | default: index.html
|
||||
web.file.404=404.html #the name of the html file for 404 page | default: 404.html
|
||||
web.file.notSupported=not_supported.html #the name of the html file for 'not supported' page | default: not_supported.html
|
||||
logger.verbose=true #whether or not to log verbose output | default: true
|
||||
|
3
run/eula.txt
Normal file
3
run/eula.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://aka.ms/MinecraftEULA).
|
||||
#Sun Jul 24 23:32:51 CEST 2022
|
||||
eula=true
|
BIN
run/logs/2022-07-24-1.log.gz
Normal file
BIN
run/logs/2022-07-24-1.log.gz
Normal file
Binary file not shown.
BIN
run/logs/2022-07-24-2.log.gz
Normal file
BIN
run/logs/2022-07-24-2.log.gz
Normal file
Binary file not shown.
BIN
run/logs/2022-07-24-3.log.gz
Normal file
BIN
run/logs/2022-07-24-3.log.gz
Normal file
Binary file not shown.
BIN
run/logs/2022-07-24-4.log.gz
Normal file
BIN
run/logs/2022-07-24-4.log.gz
Normal file
Binary file not shown.
BIN
run/logs/debug-1.log.gz
Normal file
BIN
run/logs/debug-1.log.gz
Normal file
Binary file not shown.
BIN
run/logs/debug-2.log.gz
Normal file
BIN
run/logs/debug-2.log.gz
Normal file
Binary file not shown.
BIN
run/logs/debug-3.log.gz
Normal file
BIN
run/logs/debug-3.log.gz
Normal file
Binary file not shown.
BIN
run/logs/debug-4.log.gz
Normal file
BIN
run/logs/debug-4.log.gz
Normal file
Binary file not shown.
1172
run/logs/debug.log
Normal file
1172
run/logs/debug.log
Normal file
File diff suppressed because it is too large
Load diff
89
run/logs/latest.log
Normal file
89
run/logs/latest.log
Normal file
|
@ -0,0 +1,89 @@
|
|||
[23:57:49] [main/INFO] (FabricLoader/GameProvider) Loading Minecraft 1.19 with Fabric Loader 0.14.6
|
||||
[23:57:50] [ForkJoinPool-1-worker-1/WARN] (FabricLoader/Metadata) Mod mcwebserver uses the version v0.1.0 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'v0'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
|
||||
[23:57:50] [main/INFO] (FabricLoader) Loading 35 mods:
|
||||
- fabric 0.55.1+1.19
|
||||
- fabric-api-base 0.4.8+e62f51a357
|
||||
- fabric-api-lookup-api-v1 1.6.5+9ff28f4057
|
||||
- fabric-biome-api-v1 9.0.11+e62f51a357
|
||||
- fabric-command-api-v2 2.0.1+e62f51a357
|
||||
- fabric-content-registries-v0 3.0.15+9ff28f4057
|
||||
- fabric-convention-tags-v1 1.0.7+37622d2457
|
||||
- fabric-crash-report-info-v1 0.2.2+bd0a0d4a57
|
||||
- fabric-data-generation-api-v1 5.0.0+2a5b921057
|
||||
- fabric-dimensions-v1 2.1.26+72da3b3d57
|
||||
- fabric-entity-events-v1 1.4.15+9ff28f4057
|
||||
- fabric-events-interaction-v0 0.4.25+9ff28f4057
|
||||
- fabric-game-rule-api-v1 1.0.18+1899036157
|
||||
- fabric-gametest-api-v1 1.0.29+e62f51a357
|
||||
- fabric-item-api-v1 1.5.3+767db26e57
|
||||
- fabric-item-groups-v0 0.3.22+9ff28f4057
|
||||
- fabric-lifecycle-events-v1 2.0.8+21a5acaa57
|
||||
- fabric-loot-api-v2 1.0.0+9e7660c657
|
||||
- fabric-message-api-v1 1.0.0+513f4a5957
|
||||
- fabric-mining-level-api-v1 2.1.6+9ff28f4057
|
||||
- fabric-networking-api-v1 1.0.26+7fe9740957
|
||||
- fabric-object-builder-api-v1 4.0.4+9ff28f4057
|
||||
- fabric-particles-v1 1.0.7+9ff28f4057
|
||||
- fabric-registry-sync-v0 0.9.15+92cf9a3e57
|
||||
- fabric-rendering-data-attachment-v1 0.3.11+9ff28f4057
|
||||
- fabric-rendering-fluids-v1 3.0.4+9ff28f4057
|
||||
- fabric-resource-conditions-api-v1 2.0.8+e62f51a357
|
||||
- fabric-resource-loader-v0 0.5.2+9e7660c657
|
||||
- fabric-screen-handler-api-v1 1.2.5+9ff28f4057
|
||||
- fabric-transfer-api-v1 2.0.7+e62f51a357
|
||||
- fabric-transitive-access-wideners-v1 1.1.0+9e7660c657
|
||||
- fabricloader 0.14.6
|
||||
- java 17
|
||||
- mcwebserver v0.1.0
|
||||
- minecraft 1.19
|
||||
[23:57:50] [main/INFO] (FabricLoader/Mixin) SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/home/jonas_jones/.gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/c1dc27696aa4006e492c2485c9ccbcb26045a971/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
|
||||
[23:57:51] [main/INFO] (FabricLoader/Mixin) Loaded Fabric development mappings for mixin remapper!
|
||||
[23:57:51] [main/INFO] (FabricLoader/Mixin) Compatibility level set to JAVA_16
|
||||
[23:57:51] [main/INFO] (FabricLoader/Mixin) Compatibility level set to JAVA_17
|
||||
[23:57:54] [main/WARN] (FileUtil) Configuration conflict: there is more than one oshi.properties file on the classpath
|
||||
[23:57:54] [main/WARN] (FileUtil) Configuration conflict: there is more than one oshi.architecture.properties file on the classpath
|
||||
[23:58:01] [main/INFO] (Minecraft) Building unoptimized datafixer
|
||||
[23:58:04] [main/INFO] (mcwebserver - VERBOSE LOGGER) Verbose Logger is now logging.
|
||||
[23:58:04] [main/INFO] (mcwebserver - VERBOSE LOGGER) Loaded config file successfully: found 7 overrides and configurations.
|
||||
[23:58:04] [main/INFO] (mcwebserver) McWebserver initialized!
|
||||
[23:58:04] [main/INFO] (mcwebserver) Starting Webserver...
|
||||
[23:58:04] [Thread-1/INFO] (mcwebserver) Server started.
|
||||
[23:58:04] [Thread-1/INFO] (mcwebserver - VERBOSE LOGGER) Listening for connections on port : " + PORT + " ...
|
||||
[23:58:05] [main/INFO] (Minecraft) Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
|
||||
[23:58:11] [main/INFO] (Minecraft) Loaded 7 recipes
|
||||
[23:58:11] [main/INFO] (Minecraft) Loaded 1179 advancements
|
||||
[23:58:13] [main/INFO] (BiomeModificationImpl) Applied 0 biome modifications to 0 of 63 new biomes in 3.173 ms
|
||||
[23:58:13] [Server thread/INFO] (Minecraft) Starting minecraft server version 1.19
|
||||
[23:58:13] [Server thread/INFO] (Minecraft) Loading properties
|
||||
[23:58:13] [Server thread/INFO] (Minecraft) Default game type: SURVIVAL
|
||||
[23:58:13] [Server thread/INFO] (Minecraft) Generating keypair
|
||||
[23:58:13] [Server thread/INFO] (Minecraft) Starting Minecraft server on *:25565
|
||||
[23:58:13] [Server thread/INFO] (Minecraft) Using epoll channel type
|
||||
[23:58:14] [Server thread/INFO] (Minecraft) Preparing level "world"
|
||||
[23:58:14] [Server thread/INFO] (Minecraft) Preparing start region for dimension minecraft:overworld
|
||||
[23:58:21] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 0%
|
||||
[23:58:22] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 1%
|
||||
[23:58:23] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 7%
|
||||
[23:58:23] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 17%
|
||||
[23:58:24] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 32%
|
||||
[23:58:24] [Worker-Main-3/INFO] (Minecraft) Preparing spawn area: 45%
|
||||
[23:58:25] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 61%
|
||||
[23:58:25] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 79%
|
||||
[23:58:26] [Worker-Main-1/INFO] (Minecraft) Preparing spawn area: 93%
|
||||
[23:58:26] [Server thread/INFO] (Minecraft) Time elapsed: 11605 ms
|
||||
[23:58:26] [Server thread/INFO] (Minecraft) Done (12.077s)! For help, type "help"
|
1
run/ops.json
Normal file
1
run/ops.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
57
run/server.properties
Normal file
57
run/server.properties
Normal file
|
@ -0,0 +1,57 @@
|
|||
#Minecraft server properties
|
||||
#Sun Jul 24 23:58:05 CEST 2022
|
||||
enable-jmx-monitoring=false
|
||||
rcon.port=25575
|
||||
level-seed=
|
||||
gamemode=survival
|
||||
enable-command-block=false
|
||||
enable-query=false
|
||||
generator-settings={}
|
||||
enforce-secure-profile=false
|
||||
level-name=world
|
||||
motd=A Minecraft Server
|
||||
query.port=25565
|
||||
pvp=true
|
||||
generate-structures=true
|
||||
max-chained-neighbor-updates=1000000
|
||||
difficulty=easy
|
||||
network-compression-threshold=256
|
||||
max-tick-time=60000
|
||||
require-resource-pack=false
|
||||
use-native-transport=true
|
||||
max-players=20
|
||||
online-mode=true
|
||||
enable-status=true
|
||||
allow-flight=false
|
||||
broadcast-rcon-to-ops=true
|
||||
view-distance=10
|
||||
server-ip=
|
||||
resource-pack-prompt=
|
||||
allow-nether=true
|
||||
server-port=25565
|
||||
enable-rcon=false
|
||||
sync-chunk-writes=true
|
||||
op-permission-level=4
|
||||
prevent-proxy-connections=false
|
||||
hide-online-players=false
|
||||
resource-pack=
|
||||
entity-broadcast-range-percentage=100
|
||||
simulation-distance=10
|
||||
rcon.password=
|
||||
player-idle-timeout=0
|
||||
force-gamemode=false
|
||||
rate-limit=0
|
||||
hardcore=false
|
||||
white-list=false
|
||||
broadcast-console-to-ops=true
|
||||
spawn-npcs=true
|
||||
previews-chat=false
|
||||
spawn-animals=true
|
||||
function-permission-level=2
|
||||
level-type=minecraft\:normal
|
||||
text-filtering-config=
|
||||
spawn-monsters=true
|
||||
enforce-whitelist=false
|
||||
spawn-protection=16
|
||||
resource-pack-sha1=
|
||||
max-world-size=29999984
|
1
run/usercache.json
Normal file
1
run/usercache.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
12
run/webserver/404.html
Normal file
12
run/webserver/404.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<header></header>
|
||||
<main></main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
1
run/whitelist.json
Normal file
1
run/whitelist.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
BIN
run/world/DIM-1/data/raids.dat
Normal file
BIN
run/world/DIM-1/data/raids.dat
Normal file
Binary file not shown.
BIN
run/world/DIM1/data/raids_end.dat
Normal file
BIN
run/world/DIM1/data/raids_end.dat
Normal file
Binary file not shown.
BIN
run/world/data/raids.dat
Normal file
BIN
run/world/data/raids.dat
Normal file
Binary file not shown.
BIN
run/world/entities/r.-1.-1.mca
Normal file
BIN
run/world/entities/r.-1.-1.mca
Normal file
Binary file not shown.
BIN
run/world/level.dat
Normal file
BIN
run/world/level.dat
Normal file
Binary file not shown.
BIN
run/world/level.dat_old
Normal file
BIN
run/world/level.dat_old
Normal file
Binary file not shown.
BIN
run/world/poi/r.-1.-1.mca
Normal file
BIN
run/world/poi/r.-1.-1.mca
Normal file
Binary file not shown.
0
run/world/poi/r.-1.-2.mca
Normal file
0
run/world/poi/r.-1.-2.mca
Normal file
0
run/world/poi/r.-1.0.mca
Normal file
0
run/world/poi/r.-1.0.mca
Normal file
0
run/world/poi/r.-2.-1.mca
Normal file
0
run/world/poi/r.-2.-1.mca
Normal file
0
run/world/poi/r.-2.-2.mca
Normal file
0
run/world/poi/r.-2.-2.mca
Normal file
0
run/world/poi/r.-2.0.mca
Normal file
0
run/world/poi/r.-2.0.mca
Normal file
0
run/world/poi/r.0.-1.mca
Normal file
0
run/world/poi/r.0.-1.mca
Normal file
0
run/world/poi/r.0.-2.mca
Normal file
0
run/world/poi/r.0.-2.mca
Normal file
0
run/world/poi/r.0.0.mca
Normal file
0
run/world/poi/r.0.0.mca
Normal file
BIN
run/world/region/r.-1.-1.mca
Normal file
BIN
run/world/region/r.-1.-1.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.-1.-2.mca
Normal file
BIN
run/world/region/r.-1.-2.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.-1.0.mca
Normal file
BIN
run/world/region/r.-1.0.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.-2.-1.mca
Normal file
BIN
run/world/region/r.-2.-1.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.-2.-2.mca
Normal file
BIN
run/world/region/r.-2.-2.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.-2.0.mca
Normal file
BIN
run/world/region/r.-2.0.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.0.-1.mca
Normal file
BIN
run/world/region/r.0.-1.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.0.-2.mca
Normal file
BIN
run/world/region/r.0.-2.mca
Normal file
Binary file not shown.
BIN
run/world/region/r.0.0.mca
Normal file
BIN
run/world/region/r.0.0.mca
Normal file
Binary file not shown.
1
run/world/session.lock
Normal file
1
run/world/session.lock
Normal file
|
@ -0,0 +1 @@
|
|||
☃
|
Loading…
Add table
Add a link
Reference in a new issue