LeviLamina
LeviLamina is an unofficial mod loader designed to offer indispensable API support for Minecraft Bedrock Edition. It boasts a comprehensive API, an array of utility interfaces, a robust event system, and comprehensive support for basic interfaces. LeviLamina provides an expansive API, a powerful event system, and a wealth of encapsulated development infrastructure interfaces, forming a solid foundation for augmenting the Minecraft Bedrock Edition with additional gameplay features and functionalities. By leveraging mods, the process of extending Bedrock functionality becomes effortless, with a user-friendly development process and an adaptable approach.
Ports
Add an allocation on the node for each port.
- Game 19132
Install
- Installer image
- ghcr.io/ptero-eggs/installers:debian
- Install script
- 64 lines
Image
- Wine ghcr.io/ptero-eggs/yolks:wine_latest
Startup
The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.
8 variables
Startup command
cat | wine bedrock_server_mod.exeWINEDEBUGUsers cannot see
required|string|max:20
Version of LeviLamina to install in x.y.z format. Blank or "latest" will install the latest release.
VERSIONUsers can edit
nullable|string|max:20
The name for the server
SERVERNAMEUsers can edit
required|string
Allowed values: "survival", "creative", or "adventure"
GAMEMODEUsers can edit
required|string
Allowed values: "peaceful", "easy", "normal", or "hard"
DIFFICULTYUsers can edit
required|string
Maximum players to join on the server
MAXPLAYERSUsers can edit
required|integer
World/Level name to use for the server
WORLDNAMEUsers can edit
required|string
WINETRICKS_RUNUsers cannot see
required|string|max:20
Wings
- Stop command
- ^C (SIGINT)
- Running when the console shows
- IPv4 supported
Files Wings edits
Wings sets these values in these files before each start.
server.properties properties
- server-port
- {{server.build.default.port}}
- server-portv6
- {{server.build.default.port}}
- server-name
- {{server.build.env.SERVERNAME}}
- gamemode
- {{server.build.env.GAMEMODE}}
- difficulty
- {{server.build.env.DIFFICULTY}}
- max-players
- {{server.build.env.MAXPLAYERS}}
- level-name
- {{server.build.env.WORLDNAME}}
Readme
LeviLamina Bedrock Dedicated Server
LeviLamina - A lightweight, modular and versatile mod loader for Minecraft Bedrock Edition, formerly known as LiteLoaderBDS
Mod installation
During install the egg will look for a file called lip-install.txt and use lip to attempt to install all specified packages.
The format of lip-install.txt is one package per line in the usual format lip expects.
Create lip-install.txt, add your packages to it, then click the reinstall button.
Example
Install LeviAntiCheat version 0.3.7
github.com/LiteLDev/LeviAntiCheat@0.3.7
Install LeviAntiCheat latest version
github.com/LiteLDev/LeviAntiCheat
Server Ports
LeviLamina Bedrock Dedicated Server requires a single port (default 19132)
| Port | default |
|---|---|
| Game | 19132 |
Known Issues
General Issues can check here -> LeviLamina Issues
Changes
- LeviLamina: Update lip download url and dotnet version (#530)
· Red Banana · 469b2de
- LeviLamina: Replace wine64 with wine (#423)
· Daniel Barton · d4beac1
- LeviLamina: Update to support new version of lip
· Daniel Barton · 1f09d57
- Minecraft LeviLamina: Update egg to support new lip rewrite
· Daniel Barton · 619122c
- Move several games to wine_latest
· Daniel Barton · 7b08ba7
- Minecraft Bedrock: Add LeviLamina (#34)
· Daniel Barton · 4213033
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 64 lines bash in ghcr.io/ptero-eggs/installers:debian Show Hide
# Install required packages
apt update
apt install -y lsb-release xvfb unzip jq
# Install wine
wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/$(lsb_release -sc 2>/dev/null)/winehq-$(lsb_release -sc 2>/dev/null).sources
apt update
apt install --no-install-recommends winehq-stable cabextract -y
export WINEPREFIX=/root/.wine
mkdir -p $WINEPREFIX
# Setup display
export DISPLAY=:0
Xvfb :0 -screen 0 1024x768x16 &
# Install Winetricks
echo "Installing winetricks"
wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x /usr/sbin/winetricks
echo "Installing mono"
wget -q -O $WINEPREFIX/mono.msi https://dl.winehq.org/wine/wine-mono/9.1.0/wine-mono-9.1.0-x86.msi
WINEDLLOVERRIDES="mscoree,mshtml=" wine msiexec /i $WINEPREFIX/mono.msi /qn /quiet /norestart /log $WINEPREFIX/mono_install.log
# Install dotnet
echo "Installing dotnet"
winetricks -q dotnet10
# Setup tty width so wine console output doesn't prematurely wrap
stty columns 250
cd /mnt/server || { echo "Failed to change directory"; exit 1; }
# Install lip
LIP_VERSION="$(wget -qO- https://api.github.com/repos/futrime/lip/releases/latest | jq -r '.tag_name[1:]')"
LIP_URL="https://github.com/futrime/lip/releases/download/v${LIP_VERSION}/lip-${LIP_VERSION}-win-x64.zip"
wget "$LIP_URL" -O lip.zip
unzip -o lip.zip lip.exe
rm lip.zip
if [ -n "$VERSION" ] && [ "$VERSION" != "latest" ]; then
wine lip.exe install github.com/LiteLDev/LeviLamina@"$VERSION"
else
wine lip.exe install github.com/LiteLDev/LeviLamina
fi
echo "Server Installed"
if [ -f "lip-install.txt" ]; then
for package in $(cat "lip-install.txt" ); do
echo "Installing ${package} from lip-install.txt"
wine lip.exe install "${package}"
done
echo "Packages installed"
fi