LeviLamina
GamesLeviLamina 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.
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
Docker Images (1)
| Name | Image |
|---|---|
ghcr.io/ptero-eggs/yolks:wine_latest | ghcr.io/ptero-eggs/yolks:wine_latest |
Startup Command
cat | wine bedrock_server_mod.exe Variables (8)
Wine Debug
- Environment:
WINEDEBUG- Default:
-all- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Version
Version of LeviLamina to install in x.y.z format. Blank or "latest" will install the latest release.
- Environment:
VERSION- Default:
None- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
nullable|string|max:20
Server Name
The name for the server
- Environment:
SERVERNAME- Default:
Bedrock Dedicated Server- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string
Gamemode
Allowed values: "survival", "creative", or "adventure"
- Environment:
GAMEMODE- Default:
survival- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string
Difficulty
Allowed values: "peaceful", "easy", "normal", or "hard"
- Environment:
DIFFICULTY- Default:
easy- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string
Maximum Players
Maximum players to join on the server
- Environment:
MAXPLAYERS- Default:
10- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|integer
World Name
World/Level name to use for the server
- Environment:
WORLDNAME- Default:
Bedrock level- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string
Winetricks
- Environment:
WINETRICKS_RUN- Default:
vcrun2022- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Installation Script
ghcr.io/ptero-eggs/installers:debianbash# Install required packages
apt update
apt install -y lsb-release xvfb
# 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 dotnet9
# 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_URL="https://github.com/futrime/lip/releases/latest/download/lip-cli-win-x64.zip"
wget $LIP_URL -O lip.zip
unzip -o lip.zip lip.exe
rm lip.zip
if [ -n "$VERSION" ] && [ "$VERSION" != "latest" ]; then
wine64 lip.exe install github.com/LiteLDev/LeviLamina@"$VERSION"
else
wine64 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"
wine64 lip.exe install "${package}"
done
echo "Packages installed"
fi