Set up Nukkit on Ubuntu Half a copy of the above
・ ConoHa VPS ・ OS Ubuntu 18.04 ・ Memory 512MB ・ Storage SSD 20GB ・ CPU 1core
Java is required for Nukkit to work This time, install ʻopenjdk-11-jre` as an example.
$ sudo apt-get install openjdk-11-jre
This time, as an example, 19132 ports.
Only those who have #
or $
at the beginning should be typed with the command
In other words, you don't have to type the word Rules updated
below.
$ ufw allow 19132/udp
Rules updated
This time we will create a user named nukkit
as an example
$ adduser nukkit
Adding user `nukkit' ...
Adding new group `nukkit' (1004) ...
Adding new user `nukkit' (1000) with group `nukkit' ...
Creating home directory `/home/nukkit' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
If this happens, enter the password for the new user Nothing is displayed when you hit it. Don't get me wrong
Retype new UNIX password:
Please type the same password again
passwd: password updated successfully
Changing the user information for pmmp
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
From Full Name []:
to ʻOther []: `, you can just press Enter.
Is the information correct? [Y/n]
Enter Y
when asked.
Sudo Put it in the Sudo group. If you don't understand the meaning, contact Mr. Google
$ gpasswd -a nukkit sudo
Adding user nukkit to group sudo
First, create a nukkit
directory (folder) for Nukkit.
$ su - nukkit
$ mkdir nukkit
$ cd nukkit
Install
$ wget https://ci.nukkitx.com/job/NukkitX/job/Nukkit/job/master/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar
From here it is different from PMMP First, create a shell script (is it used properly?) To start it.
$ vi start.sh
//Please paste ↓ using vi. How to use vi is Mr.Ask to google!
java -jar nukkit-1.0-SNAPSHOT.jar
$ ./start.sh
./start.sh: line 1: java: command not found
is displayed, try the ** Java installation ** at the top again.-su: ./start.sh: Permission denied
is displayed, ** permission settings are not working **, so please use chmod to do something about it (round throw).11:41:52 [INFO ] Welcome! Please choose a language first!
11:41:52 [INFO ] eng => English
11:41:52 [INFO ] chs =>Chinese(?body)
11:41:52 [INFO ] cht =>Chinese (Traditional)
11:41:52 [INFO ] jpn =>Japanese
11:41:52 [INFO ] rus => Pycc?ий
11:41:52 [INFO ] spa => Espanol
11:41:52 [INFO ] pol => Polish
11:41:52 [INFO ] bra => Portugues-Brasil
11:41:52 [INFO ] kor => ???
11:41:52 [INFO ] ukr => Укра?нська
11:41:52 [INFO ] deu => Deutsch
11:41:52 [INFO ] ltu => Lietuvi?kai
11:41:52 [INFO ] idn => Indonesia
11:41:52 [INFO ] cze => Czech
11:41:52 [INFO ] tur => Turkish
11:41:52 [INFO ] fin => Suomi
> jpn
11:42:53 [INFO ] Loading nukkit.yml ...
11:42:53 [INFO ] Loading server.properties ...
11:42:53 [INFO ]Japanese(jpn)Was selected as the language
11:42:53 [INFO ] Minecraft:BE server(v1.14.Corresponds to 0)Is running
11:42:53 [INFO ] Selected Zlib Provider: 2 (cn.nukkit.utils.ZlibThreadLocal)
> WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
11:42:53 [INFO ] 0.0.0.0:Starting the server on 19132
11:42:53 [INFO ]This server is Nukkit version git-db2afe0「」(API 1.0.9)Is moving in
11:42:53 [INFO ]Nukkit is distributed under the LGPL license
11:42:55 [INFO ] Loading recipes...
11:42:55 [INFO ] Loaded 1320 recipes.
11:42:55 [INFO ] Successfully loaded 0 resource packs
11:42:55 [WARN ]world"world"Not found
> WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.PlatformDependent0$1 (file:/home/nukkit/nukkit/nukkit-1.0-SNAPSHOT.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.PlatformDependent0$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
11:42:55 [INFO ]world"world"Is loading
11:42:56 [WARN ]world"nether"Not found
11:42:56 [INFO ] No level called "nether" found, creating default nether level.
11:42:56 [INFO ]world"nether"Is loading
11:42:56 [INFO ] Epoll Status is true
11:42:56 [INFO ]Start GS4 Status Listener
11:42:56 [INFO ]Set query port: 19132
11:42:56 [INFO ]The query is 0.0.0.0:Working with 19132
11:42:56 [INFO ]Default game type:Survival mode
11:42:56 [INFO ]Startup complete(63.552 seconds)! "help"Or"?"Get help with
I don't understand the meaning of the error on the way
It seems that you can leave it alone (PMM Per B says)
Please set from nukkit / nukkit.yml
It's done ぉ ぉ ぉ
You can use Screen to keep PMMP running in the background all the time. Installation ↓
$ sudo apt-get install screen
//Start a session
$ screen -S pmmp
$ ./start.sh
//Connect to a session
$ screen -r pmmp
//Leave the session
Ctrl + A +Press the D key at the same time
Gudaguda + I'm sorry for being appropriate I think it's full of mistakes so please let me know
Recommended Posts