A Minecraft Server Launcher Written by Golang. Deprecated, please use official BDS
A Minecraft Server Launcher Written in Golang.
Powered By MCMrARM/mcpelauncher-linux.
This server software utilizes the built-in server components inside the Minecraft android apk file to run a native Bedrock server. All features are available and you can get Xbox Live achievements on the server, just like realms. Plus more control over the server, it's actually way better than realms.
/etc/pacman.conf
[mcpeserver]
SigLevel = Never
Server = https://cdn.codehz.one/repo/archlinux/
pacman -Syu mcpeserver mcpeserver-core
systemctl reload dbus
install -dm 0755 -o mcpeserver /srv/mcpeserver
/srv/mcpeserver
, and then run cd /srv/mcpeserver && sudo mcpeserver unpack --apk (the apk filename)
systemctl start [email protected]
, Stop: systemctl stop [email protected]
mcpeserver attach -profile default
Tips: make sure the owner of /srv/mcpeserver is mcpeserver (except for bin/data directory)
Trying https://gist.github.com/codehz/610bdeba96fcec16e6339abae7208e7d
You might want to edit the server configuration file before actually running the server.
Server configuration file is located in /srv/mcpeserver/default.cfg.
Here is an example of the server configuration file.
level-dir=world
level-name="§aServer example"
level-generator=1
level-seed=1019130957
difficulty=3
gamemode=0
force-gamemode=false
motd="§6Welcome to §9server example!"
server-port=19132
server-port-v6=19133
max-players=40
online-mode=true
view-distance=56
player-idle-timeout=0
The preferred way is to put your own world in /srv/mcpeserver/worlds and change the level-dir to the name of your world folder. Otherwise the server will generate a world based on the seed in the config file with some very undesirable settings.
(Tips: make sure all files in /srv/mcpeserver can be accessed by mcpeserver user)
Basic server commands are supported such as list, say, op, etc.
socket://[email protected]$ /list
There are 1/40 players online:
CodeHz
socket://[email protected]$ /say Hi!
[Server] Hi!
socket://[email protected]$ /op CodeHz
Refer to wiki for other usage.
GPL v3