Run Your Own Minetest Server In 4 easy Steps (Leave A Comment)

Post Reply
User avatar
madchicken13
Member
Posts: 741
Joined: Mon Jun 11, 2012 00:41
Location: Shelton, WA
Contact:

Run Your Own Minetest Server In 4 easy Steps (Leave A Comment)

by madchicken13 » Post

Do you what to run your own minetest server? Well follow these
4 steps
and ..... your dream comes true

1 ) Download this ZIP file and extract it : https://sites.google.com/site/customcli ... ects=0&d=1

2 ) Put the World you want for your server in the worlds folder
in the Server 0.4 folder
Path : <Path to the server 0.4 folder>server 0.4/worlds

3 ) Forward a PORT to Port 30000 For your minetest server
(Theres Programs to do that)

4 ) Run the .bat file in the bin folder and your server is up

Note : Your Address (IP) is Your IP at whatsmyip.us


Have fun with your Minetest server

PS : If you Know how to run a server with the bat file download it here : https://sites.google.com/site/customcli ... ects=0&d=1
Last edited by madchicken13 on Sat Jun 30, 2012 20:07, edited 1 time in total.
Minetest-CC = viewtopic.php?pid=122782
My Minetest Mods = MoreBlocks
My Website: http://www.cddo.us/

User avatar
sdzen
Member
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Post

wow wouldnt it have just been easier to just post a download for the bat file? after all the whole zip was corrupted from what i saw

Zen S.D.

The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

-_-
We have a wiki, please read (and contribute) to it instead.
http://wiki.minetest.com/Setting_up_a_server

User avatar
madchicken13
Member
Posts: 741
Joined: Mon Jun 11, 2012 00:41
Location: Shelton, WA
Contact:

by madchicken13 » Post

I made this for people to download and run so people dont need to make the bat file themselves.
Minetest-CC = viewtopic.php?pid=122782
My Minetest Mods = MoreBlocks
My Website: http://www.cddo.us/

User avatar
madchicken13
Member
Posts: 741
Joined: Mon Jun 11, 2012 00:41
Location: Shelton, WA
Contact:

by madchicken13 » Post

ill make a download link for the bat file
Minetest-CC = viewtopic.php?pid=122782
My Minetest Mods = MoreBlocks
My Website: http://www.cddo.us/

Issac
Member
Posts: 20
Joined: Sun Dec 23, 2012 16:47

by Issac » Post

wait wut do it slowly and easy

2232
Member
Posts: 104
Joined: Mon Dec 24, 2012 15:26
Location: USA
Contact:

by 2232 » Post

Issac wrote:wait wut do it slowly and easy
just go to the wiki. Its easier that way :)
-2232
"I'll keep my eyes fixed on the sun..."
-Shake Me Down by Cage The Elephant

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.

Code: Select all

apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &
Your minetest world, config, mod and such are in ~/.minetest

You server is up, you can stop here, or continue to creat daily backups

(if not root, replace /root with /home/username)

4.

Code: Select all

mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup
5. Enter

Code: Select all

#!/bin/sh
####################################

# What to backup. 
backup_files="/root/.minetest/worlds"

# Where to backup to.
dest="/root/.minetest/backups/"

# Create archive filename.
archive_file="worlds_$(date +%y%m%d).tar.xz"

# Backup the files using tar.
tar cJf $dest/$archive_file $backup_files
6.

Code: Select all

chmod 755 /etc/cron.daily/backup
Last edited by tux_peng on Wed Jan 02, 2013 18:28, edited 1 time in total.
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

spooks

by spooks » Post

madchicken13 wrote:Do you what to run your own minetest server? Well follow these
4 steps
and ..... your dream comes true

1 ) Download this ZIP file and extract it : https://sites.google.com/site/customcli ... ects=0&d=1

2 ) Put the World you want for your server in the worlds folder
in the Server 0.4 folder
Path : <Path to the server 0.4 folder>server 0.4/worlds

3 ) Forward a PORT to Port 30000 For your minetest server
(Theres Programs to do that)

4 ) Run the .bat file in the bin folder and your server is up

Note : Your Address (IP) is Your IP at whatsmyip.us


Have fun with your Minetest server

PS : If you Know how to run a server with the bat file download it here : https://sites.google.com/site/customcli ... ects=0&d=1
The files in the /builtin folder won't extract, even with rwxrwxrwx permissions.

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

His directions are obviously for windows, they extract fine for me though. If you rum linux, use my instructions or compile your own

http://wiki.minetest.com/wiki/Setting_u ... er-_Ububtu
Last edited by tux_peng on Fri Jan 04, 2013 19:28, edited 1 time in total.
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

spooks

by spooks » Post

tux_peng wrote:His directions are obviously for windows, they extract fine for me though. If you rum linux, use my instructions or compile your own

http://wiki.minetest.com/wiki/Setting_u ... er-_Ububtu
I'm using OpenSUSE (12.1).

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

Linux is linux, it's mostly the same. The only difference is how you install. I think OpenSUSE has a package for minetest http://software.opensuse.org/download.h ... e=minetest

If that is not current you can easily compile your own...


I just wrote up
http://wiki.minetest.com/wiki/Setting_u ... r-OpenSUSE
Last edited by tux_peng on Sat Jan 05, 2013 23:27, edited 1 time in total.
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

spooks

by spooks » Post

tux_peng wrote:Linux is linux, it's mostly the same. The only difference is how you install. I think OpenSUSE has a package for minetest http://software.opensuse.org/download.h ... e=minetest

If that is not current you can easily compile your own...


I just wrote up
http://wiki.minetest.com/wiki/Setting_u ... r-OpenSUSE
OpenSUSE doesn't have a repo for the --server install. It uses Irrilicht Engine, but I don't know if it can be used on a dedicated Server (Which is OpenSUSE 12.2), on which I want the Minetest Server.

User avatar
12Me22
Member
Posts: 38
Joined: Fri Apr 12, 2013 21:20
Location: Earth

by 12Me22 » Post

How would you restore from one of these backups?

i tried extracting the backup .tar.xz to the worlds folder (overwritting the existing files) and now I get this error after the game starts:

Cannot open chunk metadata
In thread 7fd0aa623700:
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7fd0a9e22700:
#0 virtual void* EmergeThread::Thread()
#1 MapBlock* ServerMap::loadBlock(v3s16)
#2 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool)
(Leftover data: #3 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7fd0aa623700:
#0 virtual void* ServerThread::Thread()
(Leftover data: #1 void Server::AsyncRunStep())
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 void ServerMap::saveMapMeta())
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
DEBUG STACK FOR THREAD 7fd0b0aa2740:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
(Leftover data: #3 void Server::step(float))
Aborted




tux_peng wrote:I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.

Code: Select all

apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &
Your minetest world, config, mod and such are in ~/.minetest

You server is up, you can stop here, or continue to creat daily backups

(if not root, replace /root with /home/username)

4.

Code: Select all

mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup
5. Enter

Code: Select all

#!/bin/sh
####################################

# What to backup. 
backup_files="/root/.minetest/worlds"

# Where to backup to.
dest="/root/.minetest/backups/"

# Create archive filename.
archive_file="worlds_$(date +%y%m%d).tar.xz"

# Backup the files using tar.
tar cJf $dest/$archive_file $backup_files
6.

Code: Select all

chmod 755 /etc/cron.daily/backup
Last edited by 12Me22 on Mon May 13, 2013 22:53, edited 1 time in total.

User avatar
12Me22
Member
Posts: 38
Joined: Fri Apr 12, 2013 21:20
Location: Earth

by 12Me22 » Post

Server is back up - it was a permissions issue on the restored files.

keyxmakerx
Member
Posts: 104
Joined: Mon Apr 08, 2013 23:53

by keyxmakerx » Post

tux_peng wrote:I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.

Code: Select all

apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &
Your minetest world, config, mod and such are in ~/.minetest

You server is up, you can stop here, or continue to creat daily backups

(if not root, replace /root with /home/username)

4.

Code: Select all

mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup
5. Enter

Code: Select all

#!/bin/sh
####################################

# What to backup. 
backup_files="/root/.minetest/worlds"

# Where to backup to.
dest="/root/.minetest/backups/"

# Create archive filename.
archive_file="worlds_$(date +%y%m%d).tar.xz"

# Backup the files using tar.
tar cJf $dest/$archive_file $backup_files
6.

Code: Select all

chmod 755 /etc/cron.daily/backup
J/s I prefer pear os server. Prebuilt with webmin.

QueenVasma
New member
Posts: 1
Joined: Sat Nov 19, 2016 12:02
GitHub: QueenVasma
IRC: QueenVasma
In-game: QueenVasma

Re: Run Your Own Minetest Server In 4 easy Steps (Leave A Co

by QueenVasma » Post

I run this:
apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get install minetestc55; nohup minetest --server &

and I get this back:
nohup: failed to run command 'minetest': No such file or directory

HELP PLEASE!!

I have Ubuntu 16.10

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests