You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

MinecraftServerShManager, will allow you to host several minecraft servers on your machine and to navigate freely between their different consoles. Thanks to the simplified EndServ management script, you don't have to bother with a lot of useless commands, you just need to remember the name of your server!
5
13
6
14
## Getting Started
7
15
To get started you will need to install `screen`, `java` as well as `nano`, to do this follow the instructions below.
8
16
9
17
### Installing Dependencies
10
-
To perform updates if the system is not:
18
+
To perform updates if the system is not:
11
19
````sh
12
20
apt-get update && apt-get upgrade
13
21
````
14
22
15
-
Install Java, Screen, Nano (if you already have one of the packages remove it from the list)
23
+
Install Java, Screen, Nano (if you already have one of the packages remove it from the list).
16
24
````sh
17
25
apt-get install default-jdk screen nano
18
26
````
27
+
Warning, to be able to run `server.jar` you must have Java 8 at least (`apt-get install oracle-java8-installer`)
19
28
20
29
### Installing
21
30
For this installation the directory `~/home/minecraft/` will be the main directory where the minecraft servers will be stored.
@@ -31,42 +40,97 @@ mv MinecraftServerShManager minecraft && cd minecraft
31
40
32
41
### Create a Minecraft Server
33
42
Perform this process the number of times you need a minecraft server.
43
+
34
44
:warning: Don't forget to replace `server_name` with the name of your server.
35
45
36
46
````sh
37
47
# We copy the EndServ.sh file (to have one per server)
38
48
cp EndServ.sh server_name.sh
39
49
# We change permissions
40
50
chmod +x server_name.sh
41
-
# We chalk up the server's file and move in.
51
+
# We chalk up the server's file and move in
42
52
mkdir server_name &&cd server_name
43
-
#On craie le fichier EULA de Mojang et on le valide
53
+
#Let's chalk up Mojang's EULA file and validate it
44
54
touch eula.txt &&echo"eula=true">> eula.txt
45
55
````
46
56
47
-
Now you need to download the `.jar` Sigot, Vanilla, Sponge, ... you want to use as a server and put it in the server_name folder you just created. Once the downloaded `.jar` file renamed it to `server.jar` to do this you can use the command `mv file_name.jar server.jar`. Once all these manipulations are done your architecture should look like this:
57
+
Now you need to download the `.jar` Sigot, Vanilla, Sponge, ... you want to use as a server and put it in the server_name folder you just created. Once the downloaded `.jar` file renamed it to `server.jar` to do this you can use the command `mv file_name.jar server.jar`. Once all these manipulations are done your architecture should look like this:
48
58
````
49
59
~/home/minecraft
50
60
|-- .gitattributes
51
61
|-- EndServ.sh
52
62
|-- LICENSE
53
63
|-- README.md
54
64
|
65
+
|----@ /demo
66
+
| |-- server.jar
67
+
| |-- eula.txt
68
+
|-- demo.sh
69
+
|
55
70
|----@ /server_name
56
71
| |-- server.jar
57
72
| |-- eula.txt
58
73
|-- server_name.sh
59
74
|
60
75
|----@ /(your other servers)
76
+
| |-- server.jar
77
+
| |-- eula.txt
78
+
|-- (your other manager script).sh
61
79
````
62
80
63
-
Il faut maintenant configurer votre fichier`server_name.sh`.
81
+
Now you need to configure your`server_name.sh` file.
64
82
````sh
65
-
# We go back to the '~/home/minecraft' folder.
83
+
# We go back to the '~/home/minecraft' folder
66
84
cd ../
67
-
# We open your server's EndServ file with the nano editor.
68
-
# Replace in the configuration settings at the top of the file, 'server_name' with the name of your server.
69
-
# Use CTRL+O to save followed by CTRL+X followed by ENTER to exit.
85
+
# We open your server's EndServ file with the nano editor
86
+
# Replace in the configuration settings at the top of the file, 'server_name' with the name of your server
87
+
# Use CTRL+O to save followed by CTRL+X followed by ENTER to exit
70
88
nano server_name.sh
71
89
````
72
-
Congratulations! Your configuration is complete use the command `cd /home/minecraft` to go to your management directory and the command `./server_name.sh help` to display the script parameters.
90
+
Congratulations! Your configuration is complete use the command `cd /home/minecraft` to go to your management directory and the command `./server_name.sh help` to display the script parameters.
91
+
92
+
## Comment utiliser ?
93
+
After the installation is complete and a server is created, use this command to move to the EndServ scripts directory: `cd /home/minecraft`.
94
+
When you are in the directory you can access the controls of your server with this command: `./server_name.sh` this will display the help menu.
95
+
96
+
### EndServ commands
97
+
List of common EndServ commands :
98
+
99
+
- Start : `./server_name.sh start`
100
+
This command starts your minecraft server.
101
+
102
+
- Stop : `./server_name.sh stop`
103
+
Cette commande vous permet d'arrèter votre serveur minecraft.
104
+
105
+
- Status : `./server_name.sh status`
106
+
This command shows if your server is on or off.
107
+
108
+
- Screen : `./server_name.sh screen`
109
+
This command allows you to access the terminal of your minecraft server.
110
+
111
+
- Reload : `./server_name.sh reload`
112
+
This command reloads your minecraft server.
113
+
114
+
- Version : `./server_name.sh version`
115
+
This command gives you some information about the script you are currently using.
116
+
117
+
- Help : `./server_name.sh help`
118
+
This command displays the list of commands of the script.
119
+
120
+
### Demo server
121
+
A demo server has been made available before you can use its script don't forget to make it executable. Use this command in the `~/home/minecraft` directory to do this : `chmod +x demo.sh`. And start your demo server with the command `./demo.sh start`. (server in vanilla version 1.15.2).
122
+
123
+
## FAQ (Frequently Asked Questions)
124
+
Find below some answers to your questions !?
125
+
126
+
#### [FAQ 1°]: How do I exit the server console (screen) ?
127
+
To exit Screen use the keyboard shortcut : `CTRL + A + D`.
128
+
129
+
#### [FAQ 2°]: My server says the command `./server_name.sh` doesn't exist ?
130
+
Don't panic, check that you are in the sh EndServ script folder, if it is the case then the startup shortcut has been disabled on your server ... Run the script using the `sh server_name.sh` command instead of `./server_name.sh`.
131
+
132
+
#### [FAQ 3°]: My server tells me I don't have permission to run my EndServ script ?
133
+
Check that you are an administrator on your machine / vps. If it is not the case use the command `sudo ./server_name.sh` the server will ask you for the root password, indicate it. If you are the administrator in this case, maybe the permissions in your `server_name.sh` file are incorrect, use the command : `chmod 755 server_name.sh`.
134
+
135
+
#### [FAQ 4°]: The script says that my minecraft server starts but nothing works ?
136
+
In this case change the permissions of your minecraft server's folder by running this command : `chmod -R 775 server_name`. If after that your server still doesn't start check that you have correctly configured your EndServ script. You can always contact me at : `contact@endmove.eu` (French and English only).
0 commit comments