community-content icon indicating copy to clipboard operation
community-content copied to clipboard

Bad practices on "How to create a Minecraft server on a VPS"

Open Cubxity opened this issue 3 years ago • 5 comments
trafficstars

Original comment on Twitter

Tutorial PR: #429

Problems

1. Third party download API

The tutorial uses a third-party download API (serverjars.com), which is run by Songoda. Songoda is known to produce poor quality plugins for Minecraft, which makes them less reputable.

Furthermore, serverjars redistributes Vanilla Minecraft server JAR, which may go against the Minecraft EULA.

Both Minecraft and Paper provide first-party downloads.

  • https://www.minecraft.net/en-us/download/server
  • https://papermc.io/downloads

2. Unoptimized JVM startup flags

JVM startup flags are crucial for Minecraft servers. By not having the appropriate flags, your server may not perform at it's fullest potential.

See https://docs.papermc.io/paper/aikars-flags#recommended-jvm-startup-flags

Cubxity avatar Mar 17 '22 12:03 Cubxity

https://www.minecraft.net/en-us/download/server

minecraft.net does not provide links to older server.jars though. Is there any alternative API to get old server jars?

cc @YusufYaser

raspla avatar Mar 17 '22 12:03 raspla

https://www.minecraft.net/en-us/download/server

minecraft.net does not provide links to older server.jars though. Is there any alternative API to get old server jars?

cc @YusufYaser

Yes, see:

  • https://launchermeta.mojang.com/mc/game/version_manifest.json
  • https://wiki.vg/Game_files

Cubxity avatar Mar 17 '22 12:03 Cubxity

Thanks for the links. I wasn't aware that Songoda produces bad plugins and serverjars was recommended on multiple sites when I checked the tutorial. It's not a that big issues in my opinion but it could definitely be replaced.

@YusufYaser can you adapt this and also add a hint to the recommended and probably helpful server flags mentioned above?

raspla avatar Mar 17 '22 13:03 raspla

@YusufYaser can you adapt this and also add a hint to the recommended and probably helpful server flags mentioned above?

In my opinion, the flags should be in the script by default. Since there's no reason to not do so.

Cubxity avatar Mar 17 '22 13:03 Cubxity

Thanks for the links. I wasn't aware that Songoda produces bad plugins and serverjars was recommended on multiple sites when I checked the tutorial. It's not a that big issues in my opinion but it could definitely be replaced.

@YusufYaser can you adapt this and also add a hint to the recommended and probably helpful server flags mentioned above?

I could add the server flags part, PaperMC, and Vanilla Minecraft server download links. However, https://launchermeta.mojang.com/mc/game/version_manifest.json makes things more complicated for the reader as it is not user-friendly. Older vanilla server jars can't be downloaded from the official Minecraft site except for using the link above. If you still would like this to be added, you can let me know.

YusufYaser avatar Mar 17 '22 15:03 YusufYaser