Minecraft - aesser11/home-lab GitHub Wiki

remote console access from command line

docker exec -u minecraft -ti <container name> screen -xS Minecraft

to exit the screen session press CTRL+A and then CTRL+D

Or user the web console http://192.168.1.69:9011

console command quick reference

command description
say <message> Broadcast message to the server
ban <playername> [reason] Blacklists the name playername from the server so that they can no longer connect. Note: Bans supersede any whitelisting in place.
ban-ip <ip | playername> Blacklists an IP address so that all subsequent connections from it are rejected.
banlist [ips] Displays the banlist. To display banned IP addresses, use the command "banlist ips"
deop <playername> Revokes a player's operator status.
kick <playername> [reason] Forcibly disconnects playername from the server, displaying an optionalreason to them.
list Shows the names of all currently-connected players (the same can be achieved when pressing tab)
op <playername> Grants playername operator status on the server.
pardon <playername> Removes playername from the blacklist, allowing them to connect again.
pardon > Removes ip-address from the IP blacklist, allowing players from that IP address to connect to the server.
save-all Forces the server to write all pending changes to the world to disk.
save-off Disables the server writing to the world files. All changes will temporarily be queued.
save-on Enables the server writing to the world files. This is the default behavior.
stop Gracefully shuts down the server.
whitelist <add | remove> <playername> Adds or removes playername from the whitelist.
whitelist list Displays all players in the whitelist.
whitelist <on | off> Enables/disables the server's use of a whitelist. Note: Server ops will alwaysbe able to connect when the whitelist is active, even if their names do not appear in the whitelist.
whitelist reload Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).
/gamerule playersSleepingPercentage ## sets the percentage of players sleeping required to initiate a sleep cycle

users to whitelist

username identity notes
Steve0Kinev0 me all powerful server admin
Carlton94 Andrew
marmalade_toast Rachel
Joshpoint0 Josh
milabelle32 Santi Josh's wife
MatsMaLife Yourri
BartFart68 Brian
AnnaBingsu Anna
Big_Daddy_Yeah Renny
Babjira Abbay
Iceblock23 Spencer
UghCatFarts Quynh
Atticus85 name? Quynhs friend
J4yv1L Jonathan Quynhs friend
littletiger2017 Brodie Quynhs friend
cupcake0019 Shayna Quynh & Brodies friend
emptyseatcushion who dis?
SgtMcMuffin who dis?
Purps98 who dis?
JustReckless Carlos
`` tyler
`` yayi
`` reese

World seeds

seed notes
-5552953114185611674 1.18 mountains!

BinHex World

seed notes
-3287129803684535466 1.19

installation

  • install binhex minecraft server through the community applications plugin (previously ich777)

docker template modifications (for ich777):

  • Name: minecraftjava
  • ServerFiles: /mnt/user/apps/docker/appdata/minecraft
  • Accept EULA: true
  • add UDP - Game Port: 25565
  • UID: 1011 (minecraftjavasvc)
  • GID: 100

ports to forward

  • UDP and TCP 25565

java server setup checklist

ops.json

add usernames in the console

whitelist.json

add usernames in the console

server.properties change from defaults

level-seed=insert seed here if applicable
level-name=minegoblins
motd=gabagool
pvp=false
max-players=32
online-mode=true
max-build-height=320 (part of 1.18 update)
enable-rcon=true
sync-chunk-writes=false
rcon.password=saved in password manager
white-list=true
snooper-enabled=false
enforce-whitelist=true
spawn-protection=0

possibly change in the future

view-distance=10 [3-32]
network-compression-threshold=256 [-1,0,64-1500]

network-compression-threshold fyi

-1 - disable compression entirely
0 - compress everything
MTU max 1500

references

⚠️ **GitHub.com Fallback** ⚠️