SwordArMor-gentoo-overlay/games-server/minecraft-server/files
Alarig Le Lay da96bf46b3
games-server/minecraft-server: New package
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
2020-08-21 13:59:48 +02:00
..
minecraft-server.confd games-server/minecraft-server: New package 2020-08-21 13:59:48 +02:00
minecraft-server.initd-r3 games-server/minecraft-server: New package 2020-08-21 13:59:48 +02:00
README.gentoo games-server/minecraft-server: New package 2020-08-21 13:59:48 +02:00

This package provides an init script and a conf file.
You don't have to modify those files directly,
but instead you can make a symlink of that init script
and a copy of that conf file.
You would do this for every server, you want to setup.

For example, you wan't to setup an world called 'gentoo',
you would do:

cd /etc/init.d
ln -s minecraft-server minecraft-server.gentoo

cd /etc/conf.d
cp minecraft-server minecraft-server.gentoo

After that, make your settings in
/etc/conf.d/minecraft-server.gentoo.

If you don't make a symlink, but use the default scripts,
your world will be called 'main'.