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

User avatar
madchicken13
Member
 
Posts: 741
Joined: Mon Jun 11, 2012 00:41

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

by madchicken13 » Sat Jun 30, 2012 09:04

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/customclientdownload/download/MinetestServer.zip?attredirects=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/customclientdownload/download/runserver.zip?attredirects=0&d=1
Last edited by madchicken13 on Sat Jun 30, 2012 20:07, edited 1 time in total.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Sat Jun 30, 2012 12:39

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
[h]Zen S.D.[/h] 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
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Jun 30, 2012 14:16

-_-
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

by madchicken13 » Sat Jun 30, 2012 19:56

I made this for people to download and run so people dont need to make the bat file themselves.
 

User avatar
madchicken13
Member
 
Posts: 741
Joined: Mon Jun 11, 2012 00:41

by madchicken13 » Sat Jun 30, 2012 19:57

ill make a download link for the bat file
 

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

by Issac » Sun Dec 23, 2012 17:13

wait wut do it slowly and easy
 

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

by 2232 » Mon Dec 24, 2012 18:35

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 » Thu Dec 27, 2012 20:23

I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.
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
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.
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
mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup


5. Enter
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
####################################

# 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.
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
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 » Fri Jan 04, 2013 03:59

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/customclientdownload/download/MinetestServer.zip?attredirects=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/customclientdownload/download/runserver.zip?attredirects=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 » Fri Jan 04, 2013 18:31

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_up_a_server-_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 » Sat Jan 05, 2013 05:50

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_up_a_server-_Ububtu

I'm using OpenSUSE (12.1).
 

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

by tux_peng » Sat Jan 05, 2013 18:54

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.html?project=games&package=minetest

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


I just wrote up
http://wiki.minetest.com/wiki/Setting_up_a_server-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 » Mon Jan 07, 2013 00:24

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.html?project=games&package=minetest

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


I just wrote up
http://wiki.minetest.com/wiki/Setting_up_a_server-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

by 12Me22 » Mon May 13, 2013 22:28

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.
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
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.
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
mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup


5. Enter
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
####################################

# 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.
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
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

by 12Me22 » Mon May 13, 2013 23:27

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 » Fri May 17, 2013 09:35

tux_peng wrote:I like this better...

1. Install Ubuntu server

2. forward the port on your router to your computer

3.
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
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.
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
mkdir -p ~/minetest/backups; apt-get install xz-utils; nano /etc/cron.daily/backup


5. Enter
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
####################################

# 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.
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
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 » Sat Nov 19, 2016 12:09

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
 


Return to Minetest Servers

Who is online

Users browsing this forum: Bing [Bot] and 9 guests

cron