Minetest is a sandbox building game, inspired somewhat by Infiniminer but mostly by Minecraft, created by Perttu “celeron55″ Ahola. The gameplay is very similar to Minecraft’s, consisting of creating and destroying blocks in a local or online 3D environment. Minetest is Free and Open Source Software, released under the LGPL. It was done this way to be more readily available to Linux users, and so that random people (like you!) could fix bugs and experiment effectively. Tutorial on how to install, config and run minetest server by Tux =)
Download and install minetest from my mirror.
wget http://gotux.net/files/arch/minetest-git-20130129-1-x86_64.pkg.tar.xz pacman -U minetest-git-20130129-1-x86_64.pkg.tar.xz
Use minetest mods installer script for server and desktop.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
#!/bin/bash # # MineTest Mods Installer v1.0 # Coded by TuxLyn {2013-01-30} # DIR="/home/$USER/.minetest/" URL='http://gotux.net/files/minetest' # create textures folder if needed [ ! -d "$DIR/textures/all" ] && mkdir -p "$DIR/textures/all" # create mods folder if needed [ ! -d "$DIR/mods/minetest" ] && mkdir -p "$DIR/mods/minetest" textures() { txrs='hdx' # download texture [ ! -e "$DIR/textures/all/alien_tree.jpg" ] && \ [ ! -e "$DIR/textures/$txrs.tgz" ] && \ wget -nc -A 'Mozilla/5.0' "$URL/$txrs.tgz" \ -O "$DIR/textures/$txrs.tgz" # extract texture [ -e "$DIR/textures/$txrs.tgz" ] && \ tar xvzf "$DIR/textures/$txrs.tgz" \ -C "$DIR/textures/all/" --strip 1 # remove texture tar [ -d "$DIR/textures/$txrs.tgz" ] && \ rm -f "$DIR/textures/$txrs.tgz" } #textures modules() { # modules array MODS=('carts' 'decoplants' 'firestone' 'homedecor' 'jungletree' 'lightsplus' 'mesecons' 'moreores' 'noncubic' 'pipeworks' 'plantlife') for mod in ${MODS[@]}; do # download modules [ ! -d "$DIR/mods/minetest/$mod/" ] && \ [ ! -e "$DIR/mods/minetest/$mod.tgz" ] && \ wget -nc -A 'Mozilla/5.0' "$URL/$mod.tgz" \ -O "$DIR/mods/minetest/$mod.tgz" # extract modules [ -e "$DIR/mods/minetest/$mod.tgz" ] && \ tar xvzf "$DIR/mods/minetest/$mod.tgz" \ -C "$DIR/mods/minetest/" # remove modules tars [ -d "$DIR/mods/minetest/$mod" ] && \ rm -f "$DIR/mods/minetest/$mod.tgz" done } #modules deltxrs() { [ -d "$DIR/textures" ] && rm -rf "$DIR/textures"; } delmods() { [ -d "$DIR/mods" ] && rm -rf "$DIR/mods"; } delcache() { [ -d "$DIR" ] && rm -rf "$DIR"; } usage() { printf " MineTest Mods Installer v1.0 Coded by TuxLyn {2013-01-30} See GoTux.net for More Stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Usage: $0 [option] -m, --mods \t\t download and install modules -t, --txrs \t\t download and install texture -h, --help \t\t display this help and exit --delete-texture \t delete old .minetest/textures folder --delete-modules \t delte old .minetest/mods folder --delete-cache \t delete old .minetest folder \n" } #usage case "$1" in -m|--mods) modules ;; -t|-txrs) textures ;; --delete-texture) deltxrs ;; --delete-modules) delmods ;; --delete-cache) delcache ;; *|-h|--help) usage ;; esac #EOF: mtmod.sh |
Server Side
In your /home/USER/.bashrc file add this two one-liner functions.
|
1 2 |
minestart() { screen -dmS minetest /usr/bin/minetestserver 2>&1; } minestop() { MTPID=$(ps a | grep minetestserver | head -n1 | awk -F' ' '{print $1}'); kill -9 $MTPID; } |
Create new server config file at /home/USER/.minetest/minetest.conf
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# # ~/.minetest/minetest.conf # # Server Settings address = YOUR_IP_HERE port = YOUR_PORT_HERE disallow_empty_password = true enable_pvp = true default_privs = interact,shout,fly,fast,teleport max_users = 50 #name = #motd = #selected_world_path = default_game = minetest texture_path = ../textures/all screenshot_path = ../sceeenshots # Video Settings fullscreen = false screenW = 1024 screenH = 768 vsync = false video_driver = opengl wanted_fps = 30 fps_max = 60 fullscreen_bpp = 24 console_color = (0,0,0) console_alpha = 192 viewing_range_nodes_min = 35 viewing_range_nodes_max = 160 view_bobbing_amount = 1.0 # Sound Settings enable_sound = true sound_volume = 0.5 # Features creative_mode = true enable_damage = true disable_anticheat = false fast_move = true free_move = true time_speed = 0 # change this if you want nights (24000 is midnight and 12000 is noon) enable_clouds = true enable_3d_clouds = true new_style_leaves = true opaque_water = false new_style_water = false smooth_lighting = true enable_fog = true enable_texture_atlas = true enable_farmesh = false farmesh_trees = true farmesh_distance = 40 only_peaceful_mobs = false give_initial_stuff = false desynchronize_mapblock_texture_animation = true fsaa = false selected_mainmenu_tab = 0 invert_mouse = false random_input = false continuous_forward = false aux1_descends = false active_object_send_range_blocks = 3 active_block_range = 2 server_map_save_interval = 5.3 ignore_world_load_errors = false unlimited_player_transfer_distance = true strict_protocol_version_checking = true enable_rollback_recording = false max_simultaneous_block_sends_per_client = 2 max_simultaneous_block_sends_server_total = 8 max_block_send_distance = 10 max_block_generate_distance = 6 time_send_interval = 5 full_block_send_enable_min_time_from_building = 2.0 server_unload_unused_data_timeout = 29 dedicated_server_step = 0.05 client_unload_unused_data_timeout = 600 # Keyboard Mapping keymap_forward = KEY_KEY_W keymap_backward = KEY_KEY_S keymap_left = KEY_KEY_A keymap_right = KEY_KEY_D keymap_jump = KEY_SPACE keymap_sneak = KEY_LSHIFT keymap_inventory = KEY_KEY_I keymap_special1 = KEY_KEY_E keymap_chat = KEY_KEY_T keymap_cmd = / keyman_console = KEY_F10 keymap_rangeselect = KEY_KEY_R keymap_freemove = KEY_KEY_K keymap_fastmove = KEY_KEY_J keymap_screenshot = KEY_F12 keymap_print_debug_stacks = KEY_KEY_P keymap_quicktune_prev = KEY_HOME keymap_quicktune_next = KEY_END keymap_quicktune_dec = KEY_NEXT keymap_quicktune_inc = KEY_PRIOR #EOF: minetest.conf |
Client Side
Optionally you can add custom alias to start minetest client easier. Edit your .bashrc file and add this.
|
1 |
alias minestart='/usr/bin/minetest' |