MineCraft: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Introduction === | |||
This document will go over how to install minecraft java on your linux server. | |||
=== MineCraft Setup === | === MineCraft Setup === | ||
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 | |||
1.21.1 https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar [[User:David|David]] ([[User talk:David|talk]]) | |||
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: | |||
<pre> | |||
mv /tmp/server-1.20.1.jar /data/minecraft_server.1.15.2 | |||
</pre> | |||
by hand: | by hand: | ||
Line 30: | Line 61: | ||
whitelist list | whitelist list | ||
== mc.quadratic.net == | |||
teraform | |||
one instance + piblic IP address. | |||
backups. | |||
== References == | == References == |
Latest revision as of 16:51, 12 August 2024
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
1.21.1 https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar David (talk)
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