Remember to close all cuberite sessions prior to upgrading GNU screen since you can not reattach to the previous session [1] after the upgrade.
[1] https://www.archlinux.org/news/screen-440-1-unable-to-attach-old-sessions/
Search Criteria
Package Details: cuberite 1.12.2c2_eda440e-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/cuberite.git (read-only, click to copy) |
---|---|
Package Base: | cuberite |
Description: | A Minecraft-compatible multiplayer game server that is written in C++ and designed to be efficient with memory and CPU, as well as having a flexible Lua Plugin API. It is compatible with the vanilla Minecraft client. |
Upstream URL: | https://cuberite.org/ |
Keywords: | C C++ efficient load minecraft optimized plugin server speed |
Licenses: | Apache |
Provides: | minecraft-server, spigot |
Submitter: | edh |
Maintainer: | edh |
Last Packager: | edh |
Votes: | 10 |
Popularity: | 0.000000 |
First Submitted: | 2016-05-28 18:48 (UTC) |
Last Updated: | 2023-12-09 20:02 (UTC) |
Dependencies (14)
- awk (gawk-gitAUR, busybox-coreutilsAUR, gawk)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- lua
- sed (busybox-coreutilsAUR, sed-gitAUR)
- sqlite (sqlite-fossilAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR, fudo-gitAUR)
- tmux (tmux-tcl-gitAUR, tmux-fullwidth-backspaceAUR, tmux-xdg-gitAUR, tmux-sixel-gitAUR, tmux-gitAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gtest (googletest-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- netcat (nmap-netcatAUR, openbsd-netcat-gitAUR, gnu-netcat-svnAUR, gnu-netcat, openbsd-netcat) (optional) – required in order to suspend an idle server
- tar (tar-gitAUR, busybox-coreutilsAUR) (optional) – needed in order to create world backups
Required by (0)
Sources (20)
- git+https://github.com/cuberite/ChatLog
- git+https://github.com/cuberite/cmake-coverage
- git+https://github.com/cuberite/Core
- git+https://github.com/cuberite/cuberite#commit=eda440e
- git+https://github.com/cuberite/expat
- git+https://github.com/cuberite/libdeflate
- git+https://github.com/cuberite/libevent
- git+https://github.com/cuberite/lua
- git+https://github.com/cuberite/luaexpat
- git+https://github.com/cuberite/luaproxy
- git+https://github.com/cuberite/polarssl
- git+https://github.com/cuberite/ProtectionAreas
- git+https://github.com/cuberite/sqlite
- git+https://github.com/cuberite/SQLiteCpp
- git+https://github.com/cuberite/TCLAP
- git+https://github.com/cuberite/toluapp
- git+https://github.com/fmtlib/fmt
- git+https://github.com/grafi-tt/lunajson
- git+https://github.com/open-source-parsers/jsoncpp
- minecraft-server-1.0.4.tar.gz
Latest Comments
« First ‹ Previous 1 2 3 4
edh commented on 2016-06-26 20:07 (UTC)
edh commented on 2016-06-24 17:19 (UTC) (edited on 2016-06-24 17:19 (UTC) by edh)
I added complete cuberite support to the minecraft-server management script in a recent commit:
* Handle server command output completely through screen instead of relying on a possible outdated log file. (Implemented in the game_command function.) The default screen command dump resides in /tmp.
* LOGPATH is not needed anymore.
* Unite various java options into one lengthier SERVER_START_CMD.
* Update configuration file accordingly.
Not only is it now possible to attach to the console but rather all features from the minecraft-server are available for cuberite: backup, restore, idle_server, single command execution and proper systemd support.
I turned away from solely relying on the log file and chose to better integrate GNU screen since cuberite apparently logs only in 4 KiB blocks to reduce the system footprint and neither did I wanted to circumvent this optimization nor did I wanted to drop the feature.
See [1] for more details.
[1] https://github.com/Edenhofer/abs/pull/3
edh commented on 2016-06-19 20:45 (UTC)
@spyrothemagic
Theoretically it should be quite easy to port this script to cuberite and I initially tried but apparently the server is not logging commands directly to the current log file which makes more advanced things (suspening, command output and even restarting) quite complicated. In addition cuberite provides a proper web interface with the basic functionality. Though admittedly I would prefer a command line interface as well, it at least removes the pressure to create a script.
Since there obviously is a desire for a cli, I will have another look next weekend. Please feel free to manipulate the script [1] to fit your needs. It is about ~500 lines of pure bash code and the config file is in bash as well. Furthermore I licensed it under GPL [2] in order to be used in whicherever way seems fitting.
[1] https://github.com/Edenhofer/abs/blob/master/minecraft-server/minecraftd.sh
[2] https://github.com/Edenhofer/abs/blob/master/README.md
spyrothemagic commented on 2016-06-18 03:50 (UTC)
@edh Thanks. Would it be possible to use the spigot.sh script to launch this server? I understand you own the copyright on that particular script.
Ideally perhaps splitting the spigot.sh script out to its own package and having this package depend on it? This is just a thought/suggestion.
I am happy to help with some of the legwork here, but I might need some guidance.
edh commented on 2016-06-17 10:38 (UTC)
@spyrothemagic
Done.
spyrothemagic commented on 2016-06-17 06:13 (UTC)
This can be built for the raspberry pi if you add:
_build_pi=469
source_armv7h=("Cuberite.b${_build}_armhf.tar.gz"::"https://builds.cuberite.org/job/Cuberite%20Linux%20raspi-armhf%20Master/${_build_pi}/artifact/Cuberite.tar.gz")
and change:
arch=('i686' 'x86_64' 'armv7h')
Pinned Comments
edh commented on 2019-11-28 22:17 (UTC)
Unfortunately, upstream does not really have proper releases but instead points to build-versions of the software. Note, I will not push every new build of the package to the AUR but I will update the package upon new minecraft releases, e.g. for 1.14.4 to 1.14.5.
edh commented on 2016-12-11 20:51 (UTC)