Editing
Tutorials/Server startup script
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Alternative Startup Scripts == The following scripts offer the same functions as the above script but contain more useful features: * [https://github.com/spikegrobstein/mcwrapper mcwrapper] * [https://github.com/sandain/MinecraftServerControlScript [Multi World] Minecraft Server Control Script] ** Run multiple Minecraft worlds. ** Start, stop, and restart single or multiple worlds. ** Create, delete, disable, and enable worlds. ** Supports [http://bukkit.org/ CraftBukkit] in addition to the standard Mojang server distribution. ** Users automatically notified of important server events. ** Uses the [http://wiki.vg/Query Minecraft Query protocol] to keep track of current server conditions. ** LSB and systemd compatible init script, allows for seamless integration with your server's startup and shutdown sequences. ** Map worlds using the [http://overviewer.org/ Minecraft Overviewer] mapping software. ** Backup worlds, and remove backups older than X days. ** Update the server software and installed addons. ** Send commands to a world server from the command line. * [https://github.com/Edenhofer/abs/blob/master/minecraft-server minecraftd] ** Start, stop, and restart the server using either systemd or the script directly ** Send commands to a server from the command line ** Backup server (world, plugins, configuration, etc.), and purge old ones (configurable) ** Suspend server if no player is logged in and bring it up as soon as one tries to join to maximazie efficiency ** Purely written in bash and condensed features in about 500 lines of code to keep the foorprint small ** Flexible configuration: support for e.g. spigot/craftbukkit, adjustable threads and RAM usage, etc. ** Full systemd support with init and backup script ** Secure resource usage: run script as different user and drop permissions if not requiered ** Very similar to the script described in this article: It as well uses screen and tar but offers more advanced features ** Excellent [https://wiki.archlinux.org/index.php/Minecraft#Server Arch Linux support] * [http://www.minecraftforum.net/topic/112218-mc-sheller-automation-shell-script-v240403 MC Sheller] * [https://teilgedanken.de/Blog/post/8/ Minecraft Systemd Service] A nice systemd service that features: ** safe shutdown using rcon ** protection of the system by making most of the system readonly ** uses systemd journal to log ** can be combined with a nice [https://teilgedanken.de/Blog/post/9/ commandcenter script] ** is fully integrated in the systemd-toolchain * [https://github.com/Ahtenus/minecraft-init minecraft init] ** modification of this script with a lot more features like multiworld * [https://github.com/edvind/minecraft-service Minecraft Service] * [http://www.minecraftforum.net/topic/186525-sysv-init-script-v106-for-linux/ Dagmar d'Surreal's Sysv init script] * [http://coriolis-storm.com/stuff/minecraft Setsuna-Xero's OpenRC(Gentoo) compatible init script, with conf.d defaults] * [http://www.homebrewtechnology.org/2011/12/mineserv-automatic-startstop-perl-init.html Mineserv Perl Init Script] ** A very simple automatic start/stop script with backup and cleanup functions and the ability to pass commands to the server console. *[https://github.com/7thCore/mcsrv-script McSrv Script by 7thCore] ** Bash language only script ** Only uses systemd ** Start, stop, backup functions and much more ** Multi instance support ** TmpFs/Ramdisk support that can be configured for each instance ** Vanilla server automatic updates ** Can run vanilla, forge and spigot jar files ** Pre-built packages for Arch and Debian based systems that also install all dependancies ** Discord integration. Sends notifications on start, stop, crashd and update events ** Email integration. Sends emails on start, stop, crash and update events. Crash events also include logs in the email ** More documentation available on the project's GitHub Wiki {{tutorials}} [[Category:Server]] [[zh:ๆ็จ/ๆๅกๅจๆถ่ฎพ่ๆฌ]]
Summary:
Please note that all contributions to Kiiw may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Kiiw:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information