Your Own Minecraft Server on a Linode VPS
De WikiCinéjeu.
m (Your_Own_Minecraft_Server_on_a_Linode_VPS) |
m (Your_Own_Minecraft_Server_on_a_Linode_VPS) |
||
Ligne 1 : | Ligne 1 : | ||
- | + | To realize this job, just open a notepad file and paste the pursuing [http://www.awebcafe.com/blogs/viewstory/3051307 Your Own Minecraft Server on a Linode VPS] code: | |
- | + | Completed this, you are essential [http://www.fizzlive.com/member/390443/blog/view/597631/ Minecraft: The Very best Indie Match Yet!] to rename the file as "operate.bat." Help save it in your Minecraft folder. On the other hand, when the video game begins attaining momentum with more and a lot more of your good friends signing up for the enjoyment, your computer might encounter a difficult time to cope up with the additional pressure it is compelled to handle. /lib/lsb/init-features## Operate that commences the daemon/services#do_start()# Return# if daemon has been began# one if daemon was already running# 2 if daemon could not be started outcommence-quit-daemon -c $DAEMONUSER -g $DAEMONGROUP -u $DAEMONUSER --start off --verbose --background --chdir /usr/local/minecraft-server/ --pidfile $PIDFILE --make-pidfile --exec $DAEMON -- $DAEMON_ARGSecho "start off-quit-daemon -c $DAEMONUSER -g $DAEMONGROUP --begin --verbose --history --chdir /usr/nearby/minecraft-server/ --pidfile $PIDFILE --make-pidfile --exec $DAEMON -- $DAEMON_ARGS"# Include code listed here, if needed, that waits for the procedure to be all set# to deal with requests from services started out subsequently which depend# on this one. As a previous resort, snooze for some time.## Perform that stops the daemon/services#do_end()# Return# if daemon has been stopped# 1 if daemon was presently stopped# 2 if daemon could not be stopped# other if a failure happenedstart off-stop-daemon --cease --quiet --retry=Time period/thirty/Kill/5 --pidfile $PIDFILERETVAL="$?"[ "$RETVAL" = two ] && return 2# Hold out for children to end as well if this is a daemon that forks# and if the daemon is only at any time run from this initscript.# If the previously mentioned conditions are not satisfied then include some other code# that waits for the process to fall all methods that could be# essential by companies commenced subsequently. A final vacation resort is to# snooze for some time.start-quit-daemon --quit --silent --oknodo --retry=/thirty/Get rid of/five --exec $DAEMON[ "$?" = 2 ] && return two# Numerous daemons don't delete their pidfiles when they exit.rm -f $PIDFILEsnooze 5sreturn "$RETVAL"## Purpose that sends a SIGHUP to the daemon/service#do_reload() ## If the daemon can reload its configuration without having# restarting (for case in point, when it is sent a SIGHUP),# then employ that listed here.#start off-quit-daemon --quit --sign 1 --peaceful --pidfile $PIDFILE --identify $Namereturn circumstance "$1" inbegin)[ "$VERBOSE"!= no ] && log_daemon_msg "Commencing $DESC" "$NAME"do_startscenario "$?" in|one) [ "$VERBOSE"!= no ] && log_conclude_msg 2) [ "$VERBOSE"!= no ] && log_conclude_msg 1esacend)[ "$VERBOSE"!= no ] && log_daemon_msg "Stopping $DESC" "$NAME"do_quitcase "$?" in|1) [ "$VERBOSE"!= no ] && log_stop_msg 2) [ "$VERBOSE"!= no ] && log_end_msg 1esac#reload|power-reload)## If do_reload() is not executed then go away this commented out# and leave 'force-reload' as an alias for 'restart'.##log_daemon_msg "Reloading $DESC" "$NAME"#do_reload#log_finish_msg $?#restart|drive-reload)## If the "reload" option is applied then get rid of the# 'force-reload' alias#log_daemon_msg "Restarting $DESC" "$NAME"do_quitcase "$?" in|one)do_start offcircumstance "$?" in) log_conclude_msg one) log_conclude_msg one # Previous approach is even now running*) log_conclude_msg one # Unsuccessful to beginesac*)# Unsuccessful to quitlog_finish_msg 1esac*)#echo "Use: $SCRIPTNAME start" >&2echo "Usage: $SCRIPTNAME end" >&2exit threeesacActivate the startup script and commence the server by executing the subsequent commands:# update-rc.d minecraft-server defaults# /and so forth/init.d/minecraft-server startA lot more Resources | |
- | + | Visit http://bukkit.org/ for a wealth of details and plugins and come to feel free to speak to me at http://webdesign.danols.com. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | DESC | + | |
- | + | ||
- | + | ||
- | + |