Minecraft Server Launcher
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.
- Currently the release version supports Minecraft version 1.6.0 as the server core. But all 1.6.x client versions should be able to play on the server.
Features
- Auto Complete For Command
- Full Minecraft Bedrock server feature/bug support
- Systemd Based Service
- DBus Based Interface
Installation
For ArchLinux
- Append the repo to
/etc/pacman.conf
[mcpeserver]
SigLevel = Never
Server = https://cdn.codehz.one/repo/archlinux/
- Execute
pacman -Syu mcpeserver mcpeserver-core
- Execute
systemctl reload dbus
- Execute
install -dm 0755 -o mcpeserver /srv/mcpeserver
- Put the minecraft x86 apk to
/srv/mcpeserver
, and then runcd /srv/mcpeserver && sudo mcpeserver unpack --apk (the apk filename)
- Start:
systemctl start [email protected]
, Stop:systemctl stop [email protected]
- Attach to the server for input command:
mcpeserver attach -profile default
Tips: make sure the owner of /srv/mcpeserver is mcpeserver (except for bin/data directory)
For Other Distros
Trying https://gist.github.com/codehz/610bdeba96fcec16e6339abae7208e7d
Usage
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.
LICENSE
GPL v3