Egg Repository

Pterodactyl Community Egg Repository

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.

Read Me

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/[email protected]

Install LeviAntiCheat latest version github.com/LiteLDev/LeviAntiCheat

Server Ports

LeviLamina Bedrock Dedicated Server requires a single port (default 19132)

Portdefault
Game19132

Known Issues

General Issues can check here -> LeviLamina Issues

Yolks
NameTag
ghcr.io/ptero-eggs/yolks:wine_latestghcr.io/ptero-eggs/yolks:wine_latest
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Wine DebugWINEDEBUG-allNoNo
VersionVersion of LeviLamina to install in x.y.z format. Blank or "latest" will install the latest release.VERSIONYesYes
Server NameThe name for the serverSERVERNAMEBedrock Dedicated ServerYesYes
GamemodeAllowed values: "survival", "creative", or "adventure"GAMEMODEsurvivalYesYes
DifficultyAllowed values: "peaceful", "easy", "normal", or "hard"DIFFICULTYeasyYesYes
Maximum PlayersMaximum players to join on the serverMAXPLAYERS10YesYes
World NameWorld/Level name to use for the serverWORLDNAMEBedrock levelYesYes
WinetricksWINETRICKS_RUNvcrun2022NoNo
Install Script
# 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