MineCraft: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 1: Line 1:
=== Introduction ===
This document will go over how to install minecraft java on your linux server.


=== MineCraft Setup ===
=== MineCraft Setup ===


dl: https://www.minecraft.net/en-us/download/server
download page: https://www.minecraft.net/en-us/download/server
 
version as of now [[User:David|David]] ([[User talk:David|talk]]) 20:21, 12 September 2023 (UTC) version 1.20.1 https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba59902951553/server.jar
 
list of older versions: https://mcversions.net/
 
you can either down load this to your laptop and then upload it to the server, or download it dirrectly while logged into the server.
 
on the server you can do this:
 
<pre>
cd /tmp
wget https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba59902951553/server.jar
</pre>
 
This downloads the server software to a file called "server.jar" in the /tmp directory.
 
Rename the file to what ever version you down loaded , for example:
 
<pre>
mv /tmp/server.jar /tmp/server-1.20.1.jar
</pre>
 
now move the file to the minecraft main directory on the server:


manual DL of binary jar  
<pre>
mv /tmp/server-1.20.1.jar /data/minecraft_server.1.15.2
</pre>


by hand:
by hand:

Latest revision as of 20:21, 12 September 2023

Introduction

This document will go over how to install minecraft java on your linux server.

MineCraft Setup

download page: https://www.minecraft.net/en-us/download/server

version as of now David (talk) 20:21, 12 September 2023 (UTC) version 1.20.1 https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba59902951553/server.jar

list of older versions: https://mcversions.net/

you can either down load this to your laptop and then upload it to the server, or download it dirrectly while logged into the server.

on the server you can do this:

cd /tmp
wget https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba59902951553/server.jar

This downloads the server software to a file called "server.jar" in the /tmp directory.

Rename the file to what ever version you down loaded , for example:

mv /tmp/server.jar /tmp/server-1.20.1.jar

now move the file to the minecraft main directory on the server:

mv /tmp/server-1.20.1.jar /data/minecraft_server.1.15.2 

by hand:

/data/minecraft_server.1.15.2

run.sh

#!/bin/sh
java -Xmx1024M -Xms1024M -jar minecraft_server.1.15.2.java nogui


Access Control

To add players:

whitelist add player_name

To remove players:

whitelist remove player_name

To view the whitelist:

whitelist list

mc.quadratic.net

teraform

one instance + piblic IP address.

backups.


References

https://minecraft.fandom.com/wiki/Tutorials/Griefing_prevention

https://minecraft.fandom.com/wiki/Tutorials/Setting_up_a_server