A server.sh script

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

A server.sh script

by jordan4ibanez » Fri Oct 12, 2012 00:17

Here is a simple .sh script i used to use when i ran a bukkit server in minecraft. This will bind to the directory the executable is in and work from there.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
#!/bin/sh
 BINDIR=$(dirname "$(readlink -fn "$0")")
 cd "$BINDIR"
 ./minetestserver --gameid minetest
If you can think it, you can make it.
 

Return to Minetest General

Who is online

Users browsing this forum: No registered users and 19 guests