Unfortunately there was a bug related to the new way users are created. It has been fixed in the new release of the package but for servers already featuring a cuberite user, manual intervention is needed:
If you happen to encounter the error message This account is currently not available.
, you will need to update the login shell such that you can interact with the console again by running usermod -s /bin/bash cuberite
as root.
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-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
edh commented on 2020-10-03 09:55 (UTC)
edh commented on 2020-09-23 10:45 (UTC) (edited on 2020-09-23 10:45 (UTC) by edh)
@nasdack Thanks for the report. It should be fixed now.
eh8 commented on 2020-09-21 21:42 (UTC) (edited on 2020-09-22 01:47 (UTC) by eh8)
==> Starting prepare()...
bsdtar: Error opening archive: Failed to open 'Cuberite.b40_armv7h.tar.gz'
==> ERROR: A failure occurred in prepare().
Aborting...
error making: cuberite
To fix, please change line 28 from:
source_armv7h=("Cuberite.b${_build_armv7h}_armhf.tar.gz"::"https://builds.cuberite.org/view/all/job/linux-armhf/${_build_armv7h}/artifact/Cuberite.tar.gz")
to
source_armv7h=("Cuberite.b${_build_armv7h}_armv7h.tar.gz"::"https://builds.cuberite.org/view/all/job/linux-armhf/${_build_armv7h}/artifact/Cuberite.tar.gz")
edh commented on 2020-06-25 09:29 (UTC)
@ludwhe Oh, that was sloppy. Sorry for that and thanks a bunch for the patch! Though I am still a little surprised by the change as it is not reflected in their installation guide.
ludwhe commented on 2020-06-25 08:37 (UTC)
Hello again edh! Thank you for updating the package. It seems that upstream has modified the build directory structure, and this breaks this package's build. I have created a patch to fix that, which is as follows:
diff --git a/PKGBUILD b/PKGBUILD
index cf3c4c3..f23a45f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,10 @@ source=("${pkgname}-backup.service"
"${pkgname}.sh")
source_i686=("Cuberite.b${_build_i686}_i686.tar.gz"::"https://builds.cuberite.org/job/Cuberite%20Linux%20x86%20Master/${_build_i686}/artifact/Cuberite.tar.gz")
source_x86_64=("Cuberite.b${_build_x86_64}_x86_64.tar.gz"::"https://builds.cuberite.org/job/Cuberite%20Linux%20x64%20Master/${_build_x86_64}/artifact/Cuberite.tar.gz")
-source_armv7h=("Cuberite.b${_build_arm}_armhf.tar.gz"::"https://builds.cuberite.org/job/Cuberite%20Linux%20raspi-armhf%20Master/${_build_arm}/artifact/Cuberite.tar.gz")
+source_armv7h=("Cuberite.b${_build_armv7h}_armhv7h.tar.gz"::"https://builds.cuberite.org/job/Cuberite%20Linux%20raspi-armhf%20Master/${_build_armv7h}/artifact/Cuberite.tar.gz")
+noextract=("Cuberite.b${_build_i686}_i686.tar.gz"
+ "Cuberite.b${_build_x86_64}_x86_64.tar.gz"
+ "Cuberite.b${_build_armv7h}_armv7h.tar.gz")
sha512sums=('4b4161558343dd2ec4d6b2be41b958e061df2a41961d9476ac1d38f28530043f99735d20115ba65bdbdc04003582f3ab8beb00b19623aae72ecab81797eb05dc'
'2ae834c75dfc299e823308bcb500e028020f1ac47675c645c4a7832ae225f63e9f7d22c08cd1bbb754388db7cf57ab3d4c359615be70f8d234e82013c148b024'
'afc35227b91bc302e095c84c30ee85114e4b97220e8ee6acf8e7250306bee969e2cd4d57b4d2afd1e43298b32fc7ecaa543bdf6fead8c0f218cfc37aa51b524e'
@@ -37,6 +40,12 @@ sha512sums_armv7h=('51d131faa04250d2f37c254c449dd53a5bd03f7678cf990cf3eaf9924ed7
_game="cuberite"
_server_root="/srv/cuberite"
+prepare() {
+ _build="_build_$CARCH"
+ mkdir Server
+ bsdtar -xf "Cuberite.b${!_build}_${CARCH}.tar.gz" -C Server
+}
+
package() {
install -Dm644 ${_game}.conf "${pkgdir}/etc/conf.d/${_game}"
install -Dm755 ${_game}.sh "${pkgdir}/usr/bin/${_game}"
edh commented on 2020-06-24 10:25 (UTC)
@ludwhe Oh, that's blunder. I'll fix it today! Thanks a lot for the comment!
ludwhe commented on 2020-06-24 08:55 (UTC)
Hello edh,
in the last update, _build_x86_64
was changed to 270 instead of 1270 ; this has the effect of installing a very old version of Cuberite using the current PKGBUILD.
The last build is _build_x86_64=1278
with sha512sums_x86_64=('b768afec4baa01063d26a170ccf23884408d9ee9a662a384d5313319fd285c86d42b9c7e62c2a7e4847d592c605d9ba49f33590fd0c718d4d403454d06808689')
Thank you for maintaining this package!
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 2019-04-05 08:48 (UTC)
@carey
The management script would ideally work for more than just those three servers. Note, the regex is not that complicated and is properly explained in comments surrounding the expressions. Surely it is not more complex than the regex which you proposed disregarding the removal of colors from the string. It is juts more general.
Imagine if I were to introduce the change. The three if
statements would basically all look the same and I would probably be asked the question why I do not merge them.
carey commented on 2019-04-05 02:22 (UTC)
@edh Sorry, but honestly, I'm just going to stick with my patch. I know it works and I trust it more than the huge regexes currently in the script.
Since it seems like trying to use the same script for multiple servers is where most of the regex complexity comes from, it might be better to set it up something like this:
# change this line depending on the server you're using
server_type="cuberite"
is_player_online(){
if [ "$server_type" == "cuberite" ]; then
# do cuberite check
elif [ "$server_type" == "spigot" ]; then
# do spigot check
# ...
fi
}
That way you can still use the same script for all the packages you maintain (thank you!), but can have simpler code where they differ.
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)