February 19, 2024

Minecraft Java editon, ubuntu native Craft to Exile

 screen /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xms8G -Xmx32G -Xmn384m -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UseCompressedOops -XX:-UsePerfData -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=4 -XX:ConcGCThreads=2 -XX:+UseG1GC -XX:InitiatingHeapOccupancyPercent=50 -XX:G1HeapRegionSize=1 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -jar server.jar



/etc/systemd/system/multi-user.target.wants/minecraft-server.service

sixteen-unfilled-washboard


/media/nas-backup/scripts/backup-minecraft 

February 09, 2024

Matter - 5 Channel LED Setup

$23.22  200W (Aluminum), CHINA, DC 24V

$43.26 RGBCCT 840LEDs 12mm, IP20 Non-waterproof, 24V DC

$19.59 WM5


PSU 200 Watt 8Amps

        WM5 Output - 360 Watts - 72 Watts per channel  - 5 x 3A

        LED draw 18W per M - 90 Watts (5 Metres) -  18W per channel for 5M

December 30, 2023

TellyTV Docker for BBC News

 # References

# https://jonohill.nz/2019/3/11/plex-dvr-nz.html
# https://github.com/tellytv/telly
# https://www.matthuisman.nz/2017/07/new-updated-nz-iptv-files.html

mkdir /var/lib/telly-uk

nano /var/lib/telly-uk/telly.config.toml

[Discovery]                                    
  Device-Auth = "telly123"                     
  Device-ID = 12345678                         
  Device-UUID = ""
  Device-Firmware-Name = "hdhomeruntc_atsc"
  Device-Firmware-Version = "20150826"
  Device-Friendly-Name = "telly"
  Device-Manufacturer = "Silicondust"
  Device-Model-Number = "HDTC-2US"
  SSDP = true
[IPTV]
  Streams = 3
  Starting-Channel = 1
  XMLTV-Channels = true
  FFMpeg = true             
[Log]
  Level = "warn"
  Requests = false
[Web]
  Base-Address = "192.168.1.60:6077"
  Listen-Address = "0.0.0.0:6077"
[[Source]]
  Name = "BBC News"
  Provider = "Custom"
  M3U = "https://gist.githubusercontent.com/Shuggy999/5d1f287ca96c5b030b3d9f6a4bf61d80/raw/e2a1aa3de7bbda446a38761537dfbbfd22063432/bbc.m3u"
  Filter = ""
  FilterKey = ""
  FilterRaw = false
  Sort = ""

apt-get install docker.io

docker run -d \
  --name='telly-uk' \
  --net='bridge' \
  -e TZ="Pacific/Auckland" \
  -p 192.168.1.60:6077:6077/tcp \
  -v /var/lib/telly-uk:/etc/telly \
  --restart unless-stopped \
  tellytv/telly:dev-ffmpeg

December 06, 2023

Minecraft Java Server Backup

 #!/bin/bash

function rcon {
    /home/minecraft/minecraft-20231204/tools/mcrcon -H 127.0.0.1 -P 25575 -p YOURCONSOLEPASSWORD "$1"
}


rcon 'say [WARNING] Server backup process will begin in 15 minutes'
sleep 10m

rcon 'say [WARNING] Server backup process will begin in 5 minutes'
sleep 5m

rcon 'say [WARNING] Server backup process is starting NOW.'

rcon "save-off"
rcon "save-all"

day=$(date '+%d-%m-%Y_%H-%M-%S')
hostname=$(hostname -s)
archive_file="$hostname-$day.tgz"

tar czf /media/nas-backup/minecraft/quilt/$archive_file /media/nas-media/Aidan/minecraft-20231204

sleep 2

rcon "save-on"

rcon 'say [NOTICE] Server backup process is complete. Carry on.'

December 05, 2023

Minecraft Java, Quilt, Native, Ubuntu

upto 32GB 4Cores


screen /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xms8G -Xmx32G -Xmn384m -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UseCompressedOops -XX:-UsePerfData -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=4 -XX:ConcGCThreads=2 -XX:+UseG1GC -XX:InitiatingHeapOccupancyPercent=50 -XX:G1HeapRegionSize=1 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -jar quilt-server-launch.jar

https://gist.github.com/Obydux/55b967f5dcc00633fe895e5a473363d5

https://quiltmc.org/en/install/server/

https://www.minecraftforum.net/forums/support/server-support-and/3153252-server-java-version-issues

https://mcversions.net/download/1.19.4

Voice Chat               UDP 24454
Minecraft Server     TCP 25565

Backup the server:

https://www.reddit.com/r/admincraft/comments/qgeo2b/how_does_everyone_backup_their_servers/

December 04, 2023

Minecraft Java Edition with Quilt running in Docker

  docker run -d -it --name mc-a \
    --restart unless-stopped \
    -e EULA=TRUE \
    -e VERSION="1.19.4" \
    -e MEMORY=16G \
    -e TYPE=QUILT \
    -e QUILT_LOADER_VERSION=0.21.0 \
    -e QUILT_INSTALLER_VERSION=0.21.0 \
    -p 192.168.1.40:25565:25565 \
    -v minecraft-a:/data \
    itzg/minecraft-server

https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/server-types/quilt/

FAILED MISERABLY! NEED MORE RESOURCES.....

November 05, 2023

Minecraft Ultimate Origins Docker Instance

 docker run -d -it --name minecraft -e EULA=TRUE -e VERSION="1.19.2" -p 192.168.1.177:25565:25565 -v minecraft-volume:/data itzg/minecraft-server

 docker run -d -it --name mc-vh \
    --restart unless-stopped \
    -e EULA=TRUE \
    -e VERSION="1.18.2" \
    -e MEMORY=16G \
    -e TYPE=FORGE \
    -e FORGEVERSION=40.2.9 \
    -e CF_SERVER_MOD=https://mediafilez.forgecdn.net/files/4747/283/Vault-Hunters-3rd-Edition-3.11.5-server-files.zip \
    -p 192.168.1.50:25565:25565 \
    -v minecraft-vh:/data \
    itzg/minecraft-server
    


netplan/00-installer-config.yaml

https://edge.forgecdn.net/files/4747/283/Vault-Hunters-3rd-Edition-3.11.5-server-files.zip

    -e GENERIC_PACK="https://mediafilez.forgecdn.net/files/4747/283/Vault-Hunters-3rd-Edition-3.11.5-server-files.zip" \