need help to make a minecraft server
from Oisann@lemmy.world to selfhosted@lemmy.world on 30 Jun 00:12
https://lemmy.world/post/32239344

so i have the server i need and everything but it all comes crashing down with pterodactyl as I don’t know much on it can someone help or guide me please

#selfhosted

threaded - newest

Darkcoffee@sh.itjust.works on 30 Jun 00:14 next collapse

I would also like to know, I’m on Linux.

schizanon@lemmy.world on 30 Jun 00:15 next collapse

what is pterodactyl?

Oisann@lemmy.world on 30 Jun 00:20 collapse

a server game management panel

some_guy@lemmy.sdf.org on 30 Jun 01:12 next collapse

Here’s a resource: serverfault.com

HelloRoot@lemy.lol on 30 Jun 02:00 next collapse

Sounds like you are in head over heels.

Pterodactyl has a discord, why don’t you go there for dedicated support?

Regardless of where you ask - if you want help you should provide detailed information. Tell exactly what commands you entered, from start to finish, not skipping anything and provide the outputs that you’ve gotten, especially the errors.

[deleted] on 30 Jun 05:16 next collapse
.
Oisann@lemmy.world on 30 Jun 07:22 collapse

well i’ve downloaded the panel and wings now I have a domain I bought from cloudfare but after that I don’t know what else to do

HelloRoot@lemy.lol on 30 Jun 08:10 next collapse

You can not run pterodactyl on cloudflare.

For pterodactyl or any gaming server, you need a real server with a real operating system that you get full control over.

Instead look for cheap VPS options in your country. Make sure their specs are good enough for a minecraft server. It will cost ~ 5-10$ per month. Then:

  • Point the domain from cloudflare to that VPS by changing the dns records in cloudflare

  • Install some linux on it like debian.

  • Get into that linux by using ssh.

  • Then follow the installation instructions on the pterodactyl website. pterodactyl.io/panel/1.0/getting_started.html

Oisann@lemmy.world on 30 Jun 08:59 collapse

do you have discord by chance sorry for asking just so I can ask stuff and I already have an ubuntu server setup isn’t that like an vps already

HelloRoot@lemy.lol on 30 Jun 09:06 collapse

If you already have a server then follow the installation instructions on the pterodactyl website. pterodactyl.io/panel/1.0/getting_started.html

Then if some step goes wrong:

if you want help you should provide detailed information. Tell exactly what commands you entered, from start to finish, not skipping anything and provide the outputs that you’ve gotten, especially the errors.

The pterodactyl discord will probably be more helpful there.

Oisann@lemmy.world on 30 Jun 14:05 collapse

good news got to work and all just one issue I am having is I can’t connect to it for some reason from my PC although its all working

WhyJiffie@sh.itjust.works on 30 Jun 16:06 collapse

how do you know it’s working if you can’t connect?

if you run the server on your computer, did you set up the port forwarding? does it work if you just connect to localhost, or the local ip of that computer?

swab148@lemmy.dbzer0.com on 30 Jun 08:47 collapse

Gotta set up DNS to point to your server, here’s a quick guide on how to accomplish this, but cloudflare might have their own guide that would be more specific to your platform.

jws_shadotak@sh.itjust.works on 30 Jun 02:13 next collapse

Does it have to be pterodactyl? I have two servers set up with Docker and they were very easy to set up.

I use this: github.com/itzg/docker-minecraft-server

Tolookah@discuss.tchncs.de on 30 Jun 02:25 next collapse

Itgz has Java and Bedrock variants, and there are a few useful helper tools out there for bedrock.

Voroxpete@sh.itjust.works on 30 Jun 02:46 next collapse

Seconding this. Itzg’s server is so easy, I taught my 15 year old niece to run one.

Oisann@lemmy.world on 30 Jun 05:11 next collapse

well using a web gui it’ll make it easier for me to control the files and etc

[deleted] on 30 Jun 08:18 next collapse
.
doodledup@lemmy.world on 30 Jun 10:20 collapse

If you’re a beginner use Pufferpanel. Pterodactyl is a nightmare to setup and maintain.

LostXOR@fedia.io on 30 Jun 02:47 next collapse

I've always just run the server directly from the JAR in a screen session. If you're just running a simple server and don't need the features of Pterodactyl it's definitely the easiest option. Just download the JAR from Minecraft's website to a new directory, and run with java -Xmx4G -Xms4G -jar minecraft_server.1.21.6.jar nogui (The page says 1 gig of RAM, but I'd recommend more if you have it available).

xavier666@lemmy.umucat.day on 30 Jun 14:56 collapse

tmux over screen 👀

LostXOR@fedia.io on 30 Jun 16:31 collapse

Either works fine; I just use screen out of habit lol.

poVoq@slrpnk.net on 30 Jun 06:42 next collapse

www.luanti.org

Is much nicer 👍

doodledup@lemmy.world on 30 Jun 10:19 collapse

There is no competition to Minecraft.

doodledup@lemmy.world on 30 Jun 10:22 next collapse

Pufferpanel is an alternative to Pterodactyl. So it Pelican Panel. I’d use Pufferpanel for easier setup maintenance.

xavier666@lemmy.umucat.day on 30 Jun 13:07 next collapse

I just use docker compose to manage my mc server.

All from the terminal but works very nice.

sugar_in_your_tea@sh.itjust.works on 30 Jun 14:39 next collapse

I need to move mine, my current solution kinda sucks.

lime@feddit.nu on 01 Jul 09:53 collapse

do you use a premade compose file or did you write your own? i started out my own but it quickly got very complicated…

xavier666@lemmy.umucat.day on 01 Jul 13:52 collapse

I wrote my own but it’s manageable. I use mods, resource packs, data packs and have a whitelist. I make sure to backup the compose file from time to time.

If you are having an issue managing it, let me know.

lime@feddit.nu on 01 Jul 14:00 collapse

oh this was a while ago, i currently don’t have a homelab. i gave up waiting for mods to update and then it slipped my mind.

irmadlad@lemmy.world on 30 Jun 14:41 next collapse

OP, you bring back memories. I had an absolute blast running my server. Now, I had mine set up on a baremetal VPS with some balls because I was running a lot of add-ons and shaders. Good luck with your project. Minecraft, to me, is a bit more than just a game when you get into the guts of it.

i.imgur.com/CjFbFuM.png

i.imgur.com/mNBJC51.png

i.imgur.com/JMZLm5t.png

AngryCommieKender@lemmy.world on 30 Jun 15:08 collapse

You’d enjoy Vintage Story. It started as the Vintage Craft mod, but it got too big for MC. Still in early access, but already a great game, with a built in modding API

irmadlad@lemmy.world on 30 Jun 16:40 collapse

I’m sure I’d dig it. Alas, my seizure condition now won’t let me play moving graphics games. It can/does induce a seizure, which chaps my ass something fierce because there are a lot of kick ass games I’d like to try. Those graphics on Vintage Story look very nice.

MangoPenguin@piefed.social on 30 Jun 14:53 next collapse

What errors are you getting? Can't do much without knowing something about why it's not starting up or is crashing once running.

Tons of comments telling OP to do it differently and almost none actually offering help lol

Oisann@lemmy.world on 30 Jun 22:33 next collapse

good news i fixed all the errors right now i am just making a map for my server if anyone is interested when its ready I can put the IP here if you guys wanna try it out

xavier666@lemmy.umucat.day on 01 Jul 09:34 collapse

Please use a whitelist on your server! I cannot stress this enough

Oisann@lemmy.world on 01 Jul 10:47 collapse

for testing or?

xavier666@lemmy.umucat.day on 01 Jul 13:49 collapse

A minecraft whitelist. To prevent random people from joining and destroying your MC world.

Oisann@lemmy.world on 01 Jul 18:07 collapse

this is going to be a public server for people to come

optimaldud@lemmy.world on 02 Jul 21:43 collapse

Spend $5 and buy AMP. You can run it in Windows and Docker.

cubecoders.com/AMP