colin1497 / synology-install-package-for-minecraft-and-craftbukkit Goto Github PK
View Code? Open in Web Editor NEWA package to allow you to run a Minecraft server on your Synology NAS
A package to allow you to run a Minecraft server on your Synology NAS
Just wondering if there are plans for a 1.14 update soon?
Also wondering if you got any further on the auto-update idea??
I see a bunch of errors in the logs regarding '\r' failing. I have fixed the package locally using dos2unix on my Mac which gets me further. Still waiting for my Oracle account to download Java for my aging DS213j :(
Hello,
Again is a problem with the source file of Spigot and others.
Please update it. My childs miss for the spigot server ;)
Have you possibility to protect the source on different server to avoid similar situation in future ?
Thank you for you work and support this project.
Hi there.
I recently had to reinstall the server in my DS916+ and after successfully installing it I was unable to change the server properties, or modify the world or nothing. I used WinSCP to log into the DS and still was unable to change anything (rewrite, save or even change permissions). I then realized that the "Minecraft" folder in @appstore was created under the user "minecraft" and not "root", thus not allowing me to have any permissions.
Did something changed? I was able to change and edit files previously.
Please let us know if there is a way to edit files owned by "minecraft" in the server.
Thanks!
We've been getting around it by manually running the 1.14.2 version but the kids are getting antsy to use some of the new features that are available in the latest release.
Hi,
I just tried to install the Craft Bukkit package, but it fails to find the download path. It seems that the path has been changed from
https://tcpr.ca/download/craftbukkit to
https://tcpr.ca/downloads/craftbukkit
Also, I noticed that a https://tcpr.ca/downloads/craftbukkit/craftbukkit-latest.jar exists, effectively being the latest version on the mirror. (1.8.8 currently)
Is installing the original Minecraft package from your repository a precondition for the Craft Bukkit to run?
Thanks a bunch for your effort in this!
HI,
I have got an issue on this great package.
When i try to install the package, it can not launch.
I've finally workarround the problem :
Inside launcher.sh, i'have remove the RAM detection
tail -n 0 -f /tmp/stdin.${DAEMON_USER} | java -Xmx1G -Xms1G ${JAVA_OPTS} -jar ${JAR_FILE} nogui
The first time I run the server as ROOT, then I changed minecraft folder owner's to minecraft user.
I noticed that minecraft daemon can not access to the /tmp/stdin.minecraft file.
The package is now working correctly
Best regards
The Minecraft Server is working perfectly but the Spigot and or the Craftbukkit Server won't start after installing. The Package is running but the Server doesn't start.
Hi Colin,
just wondering if there's any chance of an update any time soon?
Would also be happy to take over if you could do a how-to on how to update the package?
I know real life interferes...
Cheers!
Latest version is not 318, download file should be just paperclip.jar to prevent any download issues.
it would be nice if the latest snapshot (currently 20w08a) would be added as a seperate package or something
I don't currently have the time (busy with upgrading an Android app) for this, but I thought I would share this process:
If you query the following JSON file, you'll get the file that the Minecraft launcher makes use of for updating.
You'll need to do a bit of JSON parsing in order to grab the key release
which is followed by the current release value - currently: 1.9.2
.
Once you have that on your hands, you can then construct the following URL:
"https://s3.amazonaws.com/Minecraft.Download/versions/" + [release] + "/minecraft_server." + [release] + ".jar"
So the current release: https://s3.amazonaws.com/Minecraft.Download/versions/1.9.2/minecraft_server.1.9.2.jar
Notes:
To parse the json, you can use jsawk, but I believe that requires a JavaScript interpreter - I haven't looked into the Synology dev tools, but maybe they provide something along these lines, if not:
awk
is included in Linux installs and in DSM, I'll have to take some time to build the right arguments for you, but I'll update this when I do.
hello and a great thank for the minecraft package for synology,
my level in java development is very poor and a have a trouble recently after a DSM upgrade.
after the craftbukkit and minecraft shutdown during the DSM upgrade, when i get connected to the server after the upgrade, i lost completely my precedent world.
I have finally found the data in the world folder an copy this in a local folder,
The ancient wold work fine in solo mode on local, but a have not successfully achieve the copy on the server.
is there a procedure to achieve a functional copy of the ancient data world ?
thank a lot in advance,
JP
Need to put some CLI tools on this Windows box and create a script for creating new SPK's, etc.
"Just a remark about the eula.txt. I think the idea below this file is to force people who install the server to be aware of the eula (or at least aware that it exists). You check the eula automatically now, and people don't even know it exists. Ok, it's far more simpler, but not sure Mojang agreed with that. Maybe you can mention it during the installation."
LIke the topica says.
Best regards
DMS 6
I installed the package. It starts, but the package center identifies it as stopped. Actions offered are run and uninstall.
I think it is running because if I try to connect to it from a client, I see the try in the log (well, I'm having user disconected problem, but this is another issue).
How can I stop it from console?
Hey there - I know I'm bringing up an issue in regards to beta software but just wanted to give the heads up.
Synology may have changed, as always, a few things in regards to the user home service - or at least the way this package is detecting that.
At the moment, the install will not complete as it throws the error:
"Failed to install Minecraft Server.
The User Home Service is not enabled..."
User home service is enabled, but whatever Synology changed in DSM 6 (I have DSM 6.0-7274 or 6.0 beta 2) is causing this issue.
Are there any steps I can take in order to work around this?
From #1
"The first time I run the server as ROOT, then I changed minecraft folder owner's to minecraft user.
I noticed that minecraft daemon can not access to the /tmp/stdin.minecraft file."
Checking on my Rackstation, I see that permissions are set as follows:
drwxr-xr-x 5 minecraf root 4096 Aug 14 18:25 Minecraft
-rw-r--r-- 1 minecraf users 0 Aug 15 11:26 stdin.minecraft
Can you confirm yours?
Minecraft logging changed in 1.7. Update start-stop-status script for new format.
Should java output be captured in log file?
The install has been broken for a while. I haven't reported it because I hadn't had time to track down this GitHub repository.
I used to have it install on my DS412+ that is currently running DSM 6.2.1-23824 Update 6.
I saw the update come through so I thought that I would try it. I uninstalled the version I had installed to start fresh.
I have http://www.hildinger.us/sspks in my Package Sources and installed version 1.14.2-0038.
The Package Center thinks that Minecraft is running, but clients cannot connect to the Minecraft server.
Running "ps -ax" on the DS412+ shows the following related programs running:
/bin/sh /var/packages/Minecraft/scripts/launcher.sh start minecraft
tail -n 0 -f /tmp/stdin.minecraft
The related section from the /var/log/synopkg.log file is attached:
synopkg.log
The most obvious issue is that /volume1/@appstore/Minecraft/minecraft.jar is not available. Indeed, /volume1/@appstore/Minecraft/ only contains eula.txt.
Looking at the log, it looks like the install script downloads server.jar, and then looks to move the file /volume1/@tmp/minecraft*.jar somewhere. Looking in /volume1/@tmp/ I do see a server.jar file, so my guess is that the install script uses the wrong file name.
It looks like there may be other issues in the log as well, but I don't know if they are critical issues or not. The missing JAR file is critical though.
Reading the description on your site, and the code (after fork and clone), the world folder as well as *.json files should survive an upgrade, but unfortunately, they don't.
I have not yet taken a look at the scripts themselves, but perhaps I may be able to fix the problem, but I am unsure how to test it :) Perhaps we can help each other?
Per wiki documentation (http://forum.synology.com/wiki/index.php/Synology_package_files):
"Create a softlink (ln -s ) from /usr/syno/synoman/webman/3rdparty/$SYNOPKG_PKGNAME to $SYNOPKG_PKGDEST in your postinst script and make sure link is removed in the postuninst"
This does not exist on my server. Need to figure out read SDK and figure out repercussions.
http://global.download.synology.com/download/Document/DeveloperGuide/DSM_Developer_Guide.pdf
Hi,
The download link for Minecraft server is not working, so i just have the eula.txt file in the installation folder.
It is possible for you tu update it ?
Thank you
Whitelist, ops, etc. are deleted. Correct installer.sh
From
UPGRADE_FILES="server.properties *.txt world"
To
UPGRADE_FILES="server.properties world *.json"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.