[ QMineCraft ] [ 1.19.3.0] MineCraft Server

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
onecolumbyte
Starting out
Posts: 18
Joined: Tue Jan 12, 2021 9:25 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by onecolumbyte »

This package doesn't work for me either. Similar error to above, connection refused.
I stopped the App in the App center and then chose update. After update I couldn't connect on my local LAN.
Previous package (1.15) was working fine.

I also tried removing and then doing a clean install. This didn't work either.
onecolumbyte
Starting out
Posts: 18
Joined: Tue Jan 12, 2021 9:25 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by onecolumbyte »

I tried to run the QMineCraft.sh shell script from a Putty command line and got the following error. Not sure if this is expected or not.

ln: /opt/QMineCraft/QMineCraft: File exists
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
onecolumbyte
Starting out
Posts: 18
Joined: Tue Jan 12, 2021 9:25 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by onecolumbyte »

It looks like there are many newer JDK packages available on the QNAP Club repo. Would removing JDK8 and upgrading help?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by QNAP_Stephane »

seem 1.17+ require OpenJDK 16

will update QPKG quickly
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
onecolumbyte
Starting out
Posts: 18
Joined: Tue Jan 12, 2021 9:25 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by onecolumbyte »

I installed the Open JDK16 package from QNap Club, and edited the QMineCraft.sh file to reference "QJDK16" and it worked!
cucca
New here
Posts: 5
Joined: Thu Feb 18, 2021 4:26 pm

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by cucca »

QNAP_Stephane wrote: Thu Jul 08, 2021 12:11 am seem 1.17+ require OpenJDK 16

will update QPKG quickly
I downloaded the new package but it's a text file... .qpkg.txt... It's enough to rename in .qpgk?

Edit: it's a safari problem... with chrome it's ok
mariosomma
New here
Posts: 2
Joined: Sun Aug 15, 2021 3:21 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by mariosomma »

Hi, someone could please help me to configure qmincraft?
I have a TS-253Be.
IP 192.168.1.111
Portforwarding on port 25565 192.168.1.111 TCP/UDP
I have installed QJDK16.
I have installed QMinecraft.
Do I have to install some minecraft version or some world on my qnap?

I try to connenct from my pc to server (192.168.1.111:25565) but "connection refused".
I'm a very noob, sorry.
Thanks in advance.
mariosomma
New here
Posts: 2
Joined: Sun Aug 15, 2021 3:21 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by mariosomma »

[04:47:10] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2690ms or 53 ticks behind
[04:47:20] [Server Watchdog/ERROR]: This crash report has been saved to: /share/CACHEDEV1_DATA/.qpkg/QMineCraft/./crash-reports/crash-2021-08-18_04.47.19-server.txt
[04:47:27] [Server thread/INFO]: Stopping server


Could i have some ram problem?

Inviato dal mio VOG-L29 utilizzando Tapatalk

USSBarb
Starting out
Posts: 14
Joined: Fri Oct 15, 2021 5:58 am

Re: [ QMineCraft ] [ 1.17.0 ] MineCraft Server

Post by USSBarb »

jorgebs wrote: Thu Apr 09, 2020 5:46 pm Hi all.
Firstly, thanks for all your work.
I have been reading the entire post, to learn how can I use mods with QMInecraft but, I have no idea.

I have read the it must be placed in plugins folder, but I Have no this one. These are my folders:

banned-ips.json*
minecraft_server.jar*
server.properties*
banned-players.json*
ops.json*
server.properties.ori*
build.txt*
ops.json.ori*
usercache.json*
eula.txt*
QMineCraft/
whitelist.json*
logs/
QMineCraft.sh*
world/
minecraft.pid*
ref*

Please, any one knows how can I add mods?

I am using a TS451A with 8GB and the last firmware installed.

Thanks in advance for your help
Hello, I'm new here (yes; qnap fan) I'm here because QMineCraft :wink: I've gone from 1-18 page (I've found out 95% of things here (what I needed) and I can tell that for me 1.17.x Minecraft works flawlessly BIG thank you to #QNAP_Stephane. I've hooked myself on this post because I would like to support a creation and addition of "mods" folder (it would me useful) + I would like if would be possible "link" actual server.properties with preview (located in) "Web folder" of QNAP (in my case) so there would not be essential to go to SSH. (yes I know WEB UI adding works; perfect)
Last edited by USSBarb on Sat Oct 16, 2021 10:24 pm, edited 1 time in total.
USSBarb
Starting out
Posts: 14
Joined: Fri Oct 15, 2021 5:58 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by USSBarb »

mariosomma wrote: Sun Aug 15, 2021 4:15 am Hi, someone could please help me to configure qmincraft?
I have a TS-253Be.
IP 192.168.1.111
Portforwarding on port 25565 192.168.1.111 TCP/UDP
I have installed QJDK16.
I have installed QMinecraft.
Do I have to install some minecraft version or some world on my qnap?

I try to connenct from my pc to server (192.168.1.111:25565) but "connection refused".
I'm a very noob, sorry.
Thanks in advance.
I'll try to help:
  • locally; in web browser "your nas ip":8081/QMineCraft/config.php add your nas IP under "server-ip=x.x.x.x
  • open QNAP APP: myqnapcloud > auto router configuration > add NAS service > add a port: 25565 (TCP) > apply to router (OK)
Login to your Minecraft:
  • Multiplayer > direct connection (or add a server) > enter NAS local IP (or your NAS *DNS name) x.myqnapcloud.com *if you have it?
Your QMinecraft should pop up !!
  • And you should be able to log in + adjust your op's + whitelist + allow white list = true (in "your nas ip":8081/QMineCraft/)
restart QMinecraft
  • (app) OFF / ON
USSBarb
Starting out
Posts: 14
Joined: Fri Oct 15, 2021 5:58 am

Re: [ QMineCraft ] [ 1.17.0 ] MineCraft Server

Post by USSBarb »

markleungbmf wrote: Wed Jun 01, 2016 6:40 pm
roberto007 wrote:
jpcwebb wrote:Sorry for the dumb question, but how does one gain access via ftp or network to the QMineCraft directory to be able to replace the world file for example?
There is no way to access the minecraft folder with ftp by default.
Copy the world-folder on some share you created.
Then you can replace the world folder from this location in the Telnet session.
Sorry for my dumb question too, I don't understand how to replace the world. what you mean by replacing in Telnet session? :ashamed:

I have installed Qminecraft on my TS-253A and I can access the server in my PC but I don't know how to place my world which built previously.

Thank you.
Hello, everyone! I've notice that some people mixing together two different things as separate: SSH = SFTP / SFTP = SSH that's the same protocol / the same ports! For those who are more "visual types" (like me) i suggest downloading:
  1. TOTAL COMMANDER https://www.ghisler.com + ADDING (TO IT) PLUGIN = YouTube video as example "Using Total Commander to SSH a remote device"
  • enable service on QNAP SSH/FTP make sure that you as a user have a added rights to use SSH/SFTP
LOG IN to QNAP via TOTAL COMMANDER SSH
  • locate QPG/QMinecraft directory on your NAS
  • replace, copy, edit, any folder or file, directory directly (do what ever you want)
- for me it's working flawlessly! Don't forget to TURNED OFF SSH/SFTP service in QNAP after session is done and restart QMinecraft

as already gentleman bellow mentioned (but now you have visual representation) instead of "command line" in PUTTY
jadlak wrote: Sat Aug 12, 2017 2:35 pm To upgrade QMineCraft yourself (which I just did)

- Download the new jar file from https://minecraft.net/en-us/download/server
- Replace minecraft_server.jar in your .QPG/QMinecraft directory on your NAS.
- Restart QMineCraft. (./QMinecraft.sh restart should do the job from the above directory if you have SSHed in)

QNAP_Stephane, thanks for this great package. It's perfect!

suggestions for enhancements
- easy way to run multiple servers
- easy way to add in custom maps e.g. http://www.minecraftmaps.com/survival-maps/skyblock
- easy way to add in mods

(yes, I know the above can still be done manually, which I have. But a nice interface would rock)
NOW! LET'S Minecraft (build a be nice)
User avatar
sjaglin
Getting the hang of things
Posts: 74
Joined: Sat Sep 15, 2007 2:52 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server [SOLVED]

Post by sjaglin »

Good Morning,

I have installed the 17.1 package and applied some of the solutions kindly given above.

The server is correctly deployed but I get the "can't connect" that a few people seem to have:
Screenshot from 2021-11-22 06-31-27.png
The log doesn't give that much information:
Screenshot from 2021-11-22 06-31-14.png
Help welcome, my boys are harassing me... (5 and 8 years old!) :roll:
You do not have the required permissions to view the files attached to this post.
QNAP TS-251B 4Gb 2x 1TB SOLAR POWERED (50%)
QNAP TS-119+Version 3.4.0 Build 0212T(1 TB) SOLAR POWERED (90%)TB
RaPi 3 and 4 -> OMV and Raspiblitz
SOLD EeePC 1000H Mandriva 2010.1, Puppy and XP SOLAR POWERED (50%)
SOLD ASROCK Ion 330 Mandriva 2010.1 SOLAR POWERED (50%)
User avatar
sjaglin
Getting the hang of things
Posts: 74
Joined: Sat Sep 15, 2007 2:52 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by sjaglin »

Hi,

I solvedf my issue by accessing the correct folder wherer the config file was and switche whitelist to false.

Thanks,
QNAP TS-251B 4Gb 2x 1TB SOLAR POWERED (50%)
QNAP TS-119+Version 3.4.0 Build 0212T(1 TB) SOLAR POWERED (90%)TB
RaPi 3 and 4 -> OMV and Raspiblitz
SOLD EeePC 1000H Mandriva 2010.1, Puppy and XP SOLAR POWERED (50%)
SOLD ASROCK Ion 330 Mandriva 2010.1 SOLAR POWERED (50%)
USSBarb
Starting out
Posts: 14
Joined: Fri Oct 15, 2021 5:58 am

Re: [ QMineCraft ] [ 1.18.0] MineCraft Server

Post by USSBarb »

Hi, @ QNAP_Stephane can we get update on Minecraft 1.18.0 https://minecraft.fandom.com/wiki/Java_ ... ite_note-1
1.18, the release of Caves & Cliffs: Part II @ released on November 30, 2021. https://www.minecraft.net/en-us/download/server
THANK YOU on your time @ QNAP_Stephane
-
If I try to do it myself by replacing just: minecraft_server.jer (over SFTP / SSH) w / newer version: minecraft_server.jer (server stil tying to run previous version of Minecraft) why?
By just replacing *.jar file I can't get Minecraft working on latest version, /bin/java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui = (OK) = still NO work on newer version (hm)
... after each replasment of *.jar app / server was restarted: OFF / ON

it should be that simple / by just replacing; minecraft_server.jer w/ newer version ... I'm lost?
qminecraft sftp
qminecraft sh
qminecraft sever log file
You do not have the required permissions to view the files attached to this post.
User avatar
sjaglin
Getting the hang of things
Posts: 74
Joined: Sat Sep 15, 2007 2:52 am

Re: [ QMineCraft ] [ 1.17.0] MineCraft Server

Post by sjaglin »

Done,

Stephane has updated to 1.18

I never updated my QMinecraft server, do you keep the world you are on (we have worked on it for the last 2 weeks...)

Thanks Stephane!
You do not have the required permissions to view the files attached to this post.
QNAP TS-251B 4Gb 2x 1TB SOLAR POWERED (50%)
QNAP TS-119+Version 3.4.0 Build 0212T(1 TB) SOLAR POWERED (90%)TB
RaPi 3 and 4 -> OMV and Raspiblitz
SOLD EeePC 1000H Mandriva 2010.1, Puppy and XP SOLAR POWERED (50%)
SOLD ASROCK Ion 330 Mandriva 2010.1 SOLAR POWERED (50%)
Post Reply

Return to “Community Apps”