1
0

Compare commits

..

4 Commits

Author SHA1 Message Date
da31ae4dc9 daemon service files for distros
* to this files to work you must set:
    * gameid in defaults , see multicraftserver.defaults file
      for set the paths of this file to work in scripts daemons
    * log file goes to /var/log/multicraft/multicraft.log
    * start config file to /etc/multicraft/multicraft.conf
    * user to start the daemon as "multicraft"
    * the game group must exist, the user must be into
* the shitstemd custom daemon is special, you can
  use as "multicraftserverNAME" and will use the config
  file "/e/tc/multicraft/NAME.conf" and log as "/var/log/multicraft/NAME.log"
  with gameid as "NAME"
* sysvinit script to new file:   multicraftserver.init
* openrc script to new file:   multicraftserver.initd
* shit-stemd script to new file:   multicraftserver.service
* shist-stemd custom config argument daemon as new file:   multicraftserver@.service
* log rotate for all services as     multicraftserver.logrotate
* defaults starting values for scripts as   multicraftserver.defaults
* closes https://codeberg.org/minenux/minetest-engine-multicraft2/issues/52
* closes https://github.com/MultiCraft/MultiCraft/issues/59
* packages at https://build.opensuse.org/project/show/home:venenux:minenux
2024-06-03 10:47:57 -04:00
d826909066 formspec_escape stability improvement and direct connect to servers
* dont show the register confirmation, try to connect as fast as possible
* improve stability cos formspec_escape causes server crash, when text
  argument is a number.  the `tostring(text)` prevents this
* Merge branch 'master' into minenux
2024-06-03 10:02:07 -04:00
17cb07a366 formspec_escape stability improvement
* formspec_escape causes server crash, when text argument is a number.
  the `tostring(text)` prevents this
* backported https://github.com/MultiCraft/MultiCraft/pull/87
2024-06-03 09:41:55 -04:00
ce35eb4122 dont show the register confirmation, try to connect as fast as possible
* this is a security risk, but also a easy step.. the easy of use
  is a key to create a anarchy environment where people must learn
  to take care by itselft
2024-06-03 09:26:57 -04:00

View File

@ -13,10 +13,10 @@ stages:
script:
- mkdir cmakebuild
- mkdir -p artifact/multicraft/usr/
# - mkdir -p games
# - cd games
# - git clone -b stable-5.2 --single-branch https://codeberg.org/minenux/minetest-game-minetest minetest
- cd cmakebuild
- mkdir -p games
- cd games
- git clone -b stable-5.2 --single-branch https://codeberg.org/minenux/minetest-game-minetest minetest
- cd ../cmakebuild
- cmake -DCMAKE_INSTALL_PREFIX=../artifact/multicraft/usr/ -DBUILD_SERVER=ON -DBUILD_CLIENT=ON -DRUN_IN_PLACE=OFF -DENABLE_CURL=ON -DENABLE_SOUND=ON -DENABLE_LUAJIT=ON -DENABLE_GETTEXT=ON -DENABLE_FREETYPE=ON -DENABLE_SYSTEM_GMP=ON -DENABLE_SYSTEM_JSONCPP=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_POSTGRESQL=ON ..
- make -j$(nproc)
- make install