From 4d05d3e2302c5930885b7b51c3ec22fc4cee8286 Mon Sep 17 00:00:00 2001 From: parkervcp Date: Sat, 14 Dec 2019 12:39:00 -0500 Subject: [PATCH] add default config files This adds files that can be pulled for configs --- minecraft_java/cuberite/settings.ini | 52 ++++++++++++++++++++++++++++ minecraft_java/cuberite/webadmin.ini | 14 ++++++++ 2 files changed, 66 insertions(+) create mode 100644 minecraft_java/cuberite/settings.ini create mode 100644 minecraft_java/cuberite/webadmin.ini diff --git a/minecraft_java/cuberite/settings.ini b/minecraft_java/cuberite/settings.ini new file mode 100644 index 00000000..a6b1afbb --- /dev/null +++ b/minecraft_java/cuberite/settings.ini @@ -0,0 +1,52 @@ +; This is the main server configuration +; Most of the settings here can be configured using the webadmin interface, if enabled in webadmin.ini + +[Authentication] +Authenticate=1 +AllowBungeeCord=0 +Server=sessionserver.mojang.com +Address=/session/minecraft/hasJoined?username=%USERNAME%&serverId=%SERVERID% + +[MojangAPI] +NameToUUIDServer=api.mojang.com +NameToUUIDAddress=/profiles/minecraft +UUIDToProfileServer=sessionserver.mojang.com +UUIDToProfileAddress=/session/minecraft/profile/%UUID%?unsigned=false + +[Server] +Description=Cuberite - in C++! +ShutdownMessage=Server shutdown +MaxPlayers=100 +HardcoreEnabled=0 +AllowMultiLogin=0 +Ports=25565 +AllowMultiWorldTabCompletion=1 +DefaultViewDistance=10 + +[RCON] +Enabled=0 + +[AntiCheat] +LimitPlayerBlockChanges=1 + +[PlayerData] +LoadOfflinePlayerData=0 +LoadNamedPlayerData=1 + +[Worlds] +DefaultWorld=world +World=world_nether +World=world_the_end + +[WorldPaths] +world=world +world_nether=world_nether +world_the_end=world_the_end + +[Plugins] +Plugin=Core +Plugin=ChatLog + +[DeadlockDetect] +Enabled=1 +IntervalSec=20 diff --git a/minecraft_java/cuberite/webadmin.ini b/minecraft_java/cuberite/webadmin.ini new file mode 100644 index 00000000..64652b85 --- /dev/null +++ b/minecraft_java/cuberite/webadmin.ini @@ -0,0 +1,14 @@ +; This file controls the webadmin feature of Cuberite +; It specifies whether webadmin is enabled, and what logins are allowed. +; Username format: [User:*username*] +; Password format: Password=*password*; for example: +; [User:admin] +; Password=admin +; Please restart Cuberite to apply changes made in this file! + +[WebAdmin] +Ports=8080 +Enabled=1 + +[User:admin] +Password= \ No newline at end of file