How to Set up a Minecraft Server with Plugins or Mods (Ubuntu Server)

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2023
  • In this video, I show you how to set up a Minecraft server with either plugins or mods, on Ubuntu Server.
    *Because of the way plugins and mods are implemented on Minecraft Server, there is no way to have support for both plugins and mods on the same server; you must choose one or the other. Also, if you are setting up a server with mods, unlike with plugins, Minecraft Forge, as well as the mods on your server, will also need to be installed on each of your players' computers.
    *If you are using Windows or Mac, you will need to use a third-party SFTP client in order to transfer files between your computer and your server.
    Disclaimer: When installing Ubuntu Server, make absolutely sure that you select the correct target drive in the installer, and that there is nothing on the target drive that you need, because it WILL BE ERASED!
    Prerequisites:
    1. A spare computer (to install Ubuntu Server on, and to act as the server)
    2. A flash drive (at least 2 GB)
    3. A network connection for your server (preferably Ethernet, but Wi-Fi will do)
    Links:
    Ubuntu Server ISO: ubuntu.com/download/server
    Commands:
    Check for updates: sudo apt update
    Install updates: sudo apt upgrade
    Enable the firewall: sudo ufw enable
    Open a port (to your local network): sudo ufw allow [port]/[protocol (optional)] (example: sudo ufw allow 25565/tcp)
    Connect to your server via SSH: ssh [username]@[ip address] (example: ssh drew@192.168.1.152)
    Create a directory: mkdir [directory name] (example: mkdir minecraft-spigot-server)
    Rename a file (also used to move files from one directory to another): mv [current file name] [new file name] (example: mv spigot-1.19.3.jar server.jar)
    Delete a file: rm [file name] (example: rm BuildTools.jar)
    Install Java: sudo apt install openjdk-17-jre (note: this may change in the future)
    Download a file directly to your server: wget [link to file] (example: wget 𝚑𝚝𝚝𝚙𝚜://𝚑𝚞𝚋.𝚜𝚙𝚒𝚐𝚘𝚝𝚖𝚌.𝚘𝚛𝚐/𝚓𝚎𝚗𝚔𝚒𝚗𝚜/𝚓𝚘𝚋/𝙱𝚞𝚒𝚕𝚍𝚃𝚘𝚘𝚕𝚜/𝚕𝚊𝚜𝚝𝚂𝚞𝚌𝚌𝚎𝚜𝚜𝚏𝚞𝚕𝙱𝚞𝚒𝚕𝚍/𝚊𝚛𝚝𝚒𝚏𝚊𝚌𝚝/𝚝𝚊𝚛𝚐𝚎𝚝/𝙱𝚞𝚒𝚕𝚍𝚃𝚘𝚘𝚕𝚜.𝚓𝚊𝚛)
    Install Minecraft Spigot Server: java -jar BuildTools.jar --rev [version number] (note: the "--rev" argument is optional) (example: java -jar BuildTools.jar --rev 1.19.3)
    Install Minecraft Forge Server: java -jar [name of Minecraft Forge installer file] --installServer (example: java -jar forge-1.19.3-44.1.0-installer.jar --installServer)
    Run Minecraft Spigot Server: java -Xmx[max RAM for Minecraft Server] -Xms1G -jar [name of Minecraft Server jar file] nogui (example: java -Xmx2G -Xms1G -jar server.jar nogui)
    Stop the Minecraft server: stop
    Edit a file: nano [file name] (example: nano eula.txt)
    Shut down the server: sudo poweroff
    Restart the server: sudo reboot
    Join this channel to get access to perks:
    th-cam.com/users/drewhowdentec...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 219

  • @Sam-ef6gz
    @Sam-ef6gz 4 หลายเดือนก่อน +4

    Bro, you're awesome! I've been trying to do this non-stop for two days straight, lol. Couldn't find any videos on it either.

  • @SusanAmberBruce
    @SusanAmberBruce 2 หลายเดือนก่อน +3

    Brilliant video thanks, saw so many vids on how to set up a GUI server but finally found some good and concise help on setting up a headless server for minecraft with your video.

  • @lilGyros
    @lilGyros 3 หลายเดือนก่อน +2

    best tutorial on yt
    i had no start.sh file so i just used the same command i used to start the spigot server in order to start the forge server
    thank u man

  • @connerhoang1696
    @connerhoang1696 6 หลายเดือนก่อน +2

    You have saved me hours of research! thankyou so much for sharing you expertise and helping me through creating my server!!

  • @zshieda
    @zshieda ปีที่แล้ว +3

    Thanks!! It works very well.
    The only thing i have to do it for work is able the port 25565 for tcp and udp on ubuntu firewall, them reload and works

  • @mathajs8555
    @mathajs8555 3 หลายเดือนก่อน +1

    This is a great tutorial! Thank you!

  • @D_e_n_M_a_nFex
    @D_e_n_M_a_nFex หลายเดือนก่อน +2

    Bro, thank you so much! You're the best👍

  • @santipallares1338
    @santipallares1338 6 หลายเดือนก่อน +1

    Very useful video, it works! i like it

  • @JonathanRiggsisyourfriend
    @JonathanRiggsisyourfriend 7 หลายเดือนก่อน +5

    Excellent detailed tutorial. I'd love to find a comparable resource for a private Bedrock server on Ubuntu server.

    • @Georgetwentyten
      @Georgetwentyten 24 วันที่ผ่านมา

      You can use geyser spigot for that :)

  • @vicuszx
    @vicuszx 4 หลายเดือนก่อน +1

    thank you, its awesome

  • @CecepGorbacev
    @CecepGorbacev หลายเดือนก่อน +1

    amazing bro.. thanks!!!!!

  • @Chimpswithautism
    @Chimpswithautism 4 หลายเดือนก่อน +1

    awsome bro thanks

  • @projecthiro
    @projecthiro ปีที่แล้ว +2

    Very informative🤔

  • @hendrickparra1714
    @hendrickparra1714 ปีที่แล้ว +8

    Amazing video!!! I’m looking forward to create a Minecraft server for me and my friends with some MODS. I would like your help to check the best option. I currently don’t have any secondary PC so I’m looking to set it up in the cloud, which service and specs do you recommend using, keeping in mind I’m planning to have 50 users, and I want it running 24/7.

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +3

      I would recommend you use a dedicated Minecraft Server host like Apex Hosting.
      My general rule of thumb is that, as a bare minimum, you will want 1 GB of RAM for every 20 players. So, since you are planning to allow up to 50 players on at the same time, you will want at least 3 GB of RAM. And because you want to install mods, you will definitely want to increase this to at least 4 GB of RAM. You might even want to go for up 6 GB of RAM depending on how many mods you are planning to run.
      TLDR: I would recommend 4 - 6 GB of RAM for your server.

  • @dawidczapiewski9384
    @dawidczapiewski9384 ปีที่แล้ว +1

    Bro! You are excellent! This is fesrt tutorial where are your saying every think. This is tutorial step for step for all idiots :D Thank you Very much! :)

  • @raven7338
    @raven7338 10 หลายเดือนก่อน +1

    Love the video!! I was wondering if you possibly make a guide to set up MineOS on a Ubuntu Server

    • @DrewHowdenTech
      @DrewHowdenTech  10 หลายเดือนก่อน +1

      I’ll have to check that out, but I think that would make for a great video.

  • @HHojatAnsari
    @HHojatAnsari ปีที่แล้ว +1

    thank you

  • @balisha100
    @balisha100 ปีที่แล้ว +1

    Hi!
    thanks a lot for this guide, i was looking for an in details guide for doing this and this is the one there is, and u doing it great! :)
    does this work linux distro other than ubuntu server?

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +1

      The command you use to install Java may vary depending on which distribution you choose (due to differences in package managers and package names), and the firewall may also be different; you may even have to install one manually. But other than that, the process should be similar across Linux distributions.

    • @balisha100
      @balisha100 ปีที่แล้ว +1

      @@DrewHowdenTech i tried it on lubuntu (light ubuntu version) and it works fine :)
      ty

  • @geisenhasuer7541
    @geisenhasuer7541 6 หลายเดือนก่อน +2

    Amazingly detailed tutorial. Would these steps work for my paper sever that I already have running? or would I need to create a new server? Thanks!

    • @DrewHowdenTech
      @DrewHowdenTech  6 หลายเดือนก่อน +1

      You would need to get a new server.jar file, but you can use the same server directory (which contains your world, server.properties file, whitelist, among other things).

  • @wangjh370
    @wangjh370 ปีที่แล้ว +2

    May I ask how to switch the java and linux shells, leave the server command interface and let the server continue to execute. And let the server continue to execute in the logged out state. Thanks

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +3

      The best way to do this would be to use a program called GNU Screen. You can install it by running "sudo apt install screen".
      Now, just run "screen" before running your Minecraft Server launch command, then press Ctrl+A, then D to move the process to the background. Then you can log out, and the process should continue running in the background.

  • @claudiututu6124
    @claudiututu6124 ปีที่แล้ว +7

    Can you make a video in which you show how to put a map that we want on our ubuntu Minecraft server ?

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +4

      Just download the map, unzip the file to your Minecraft Server directory on your server, then go into the server.properties file by running "nano server.properties" from within your Minecraft Server directory, then on the "level-name" line, replace "world" with the name of the folder you just unzipped.

  • @Royyalflush
    @Royyalflush 2 หลายเดือนก่อน

    Thank you for the help, I look forward to trying this soon, is there any sort of community discord of some sort that you have in the case that I have any questions?

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน +1

      My Discord server is members only, however I do have a subreddit, r/DrewHowdenTech.

  • @Francisco1234Cruz
    @Francisco1234Cruz 11 หลายเดือนก่อน +3

    The reason why you can't get the plug-in file directly from Curseforhe is because the like to satisfy download uses another link that hosts the file, infact the link saying "Click this if the download hasn't started" leads to that and downloads the file.
    Small edit: Specifically a ftp service

    • @hectordevora3803
      @hectordevora3803 28 วันที่ผ่านมา

      Yeah for me wget works when I copy the "try again" link adress

  • @rojinalt
    @rojinalt ปีที่แล้ว

    Hey so far this video has been very informative I just have a question. When setting up port forwarding is the IP address you're sharing for people to connect secure? I mean is it you're public IP or an IPV?

    • @DrewHowdenTech
      @DrewHowdenTech  11 หลายเดือนก่อน +2

      You would be using your public IP address, so the security of that depends on the security of your server, and any other devices you are forwarding ports to.
      In general, Linux server is known for being very secure, and Minecraft server doesn't currently have any known vulnerabilities that would allow hackers to gain access to the rest of your server, or other devices on your network. So as long as you keep those up-to-date, you should be safe.

    • @rojinalt
      @rojinalt 11 หลายเดือนก่อน +1

      @@DrewHowdenTech Thanks for your response, I set up everything and it works fine, I checked my router and I think my public IP changes every week or every time the router restart. Anyway your video is one of the best out there for setting up a minecraft server.

    • @DrewHowdenTech
      @DrewHowdenTech  11 หลายเดือนก่อน +2

      What you can do is set up dynamic DNS with a service like No-IP. This way you would have a domain name that you would use as your server address, and the IP address that it points to automatically changes when your public IP address does.

    • @AlgoFin
      @AlgoFin 11 หลายเดือนก่อน +1

      You can use a reverse proxy to implement obscurity so that most low level hackers will not be able to attack your network. Basically when someone connects they will only be able to see an outward facing proxy that redirects data from the source to the end user. This also is good for ddos mitigation. @@rojinalt

  • @DereckR
    @DereckR 8 หลายเดือนก่อน +1

    Do you know how to port foward in opnsense? this is a very good tut and I got it working.

    • @DrewHowdenTech
      @DrewHowdenTech  8 หลายเดือนก่อน +1

      Go to Firewall > Port Forward.
      It will want you to specify a port RANGE. Just type in the port that your Minecraft server runs on (by default it's 25565) in both boxes.
      If you need more detailed instructions, watch my video on how to set up port forwarding here:
      th-cam.com/video/PbV8gPi_RSo/w-d-xo.html

  • @tuptustv1730
    @tuptustv1730 4 หลายเดือนก่อน +1

    Hello I have a question when i leave the minecraft consol by using alt + left arrow how can i return to see the console? Is there a command or something like that? I use alt + left arrow because ctrl + d doesn't work on my ubuntu server somehow

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +1

      Use the “fg” command.

  • @iang5536
    @iang5536 หลายเดือนก่อน +1

    For some reason, the most recent version of spigot, as of 6-17-24, doesn't have a version .jar file. I fixed this by just downgrading to 1.20.1, instead of the more recent 1.21.

  • @MYG
    @MYG 8 หลายเดือนก่อน +1

    Hello and thank you for the tutorial! I'm trying to use filezilla for files but chmod 777 bricks my setup, could you please help?

    • @DrewHowdenTech
      @DrewHowdenTech  7 หลายเดือนก่อน +1

      How is it breaking your setup? And why do you need to run chmod 777?

  • @mrjacy01
    @mrjacy01 8 หลายเดือนก่อน +1

    What if I wanted a skyfatory or specific modded server from curseforge how Duse a person do it ?

    • @DrewHowdenTech
      @DrewHowdenTech  7 หลายเดือนก่อน +1

      Unfortunately Modpacks are beyond the scope of this video. It looks like you would need to install them via the CurseForge app, then move the mods onto your server manually.

  • @Squishybird7
    @Squishybird7 3 หลายเดือนก่อน

    Great tutorial! Any way I could make it so my server stays up whenever I close the Terminal tab from my non-server pc? Or would I have to go start the minecraft server from the server pc itself?

    • @DrewHowdenTech
      @DrewHowdenTech  3 หลายเดือนก่อน +2

      You have to start the Minecraft Server from the server itself.

  • @chrisking4744
    @chrisking4744 6 หลายเดือนก่อน +1

    With this im wanting to transfer my world from a previous server. Because we have alot of progress on it. How would i go about doing this?

    • @DrewHowdenTech
      @DrewHowdenTech  6 หลายเดือนก่อน +1

      Create a new server with Spigot/Forge, and copy the "world" folder from your old server.

  • @DraconicMaker
    @DraconicMaker 13 วันที่ผ่านมา

    anyway to do the similar process of putting in plugins/mods through the file explorer on windows? I tried mapping a network drive similar to the process shown in your video and it says that it doesn't exist

    • @DrewHowdenTech
      @DrewHowdenTech  13 วันที่ผ่านมา

      On Windows, you have to use an SFTP client, such as WinSCP.

  • @joshuameltz9817
    @joshuameltz9817 ปีที่แล้ว +1

    Great video! I'm trying to host (not a localhost) a MC server with my friends. Did u know how can I make it posible?

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +2

      If you want your server to be accessible from the internet, you will need to configure port forwarding on your router. I made a video showing you how to do that here:
      th-cam.com/video/PbV8gPi_RSo/w-d-xo.html

  • @GamingWithDimond
    @GamingWithDimond 10 หลายเดือนก่อน +1

    Is there a way to access the ubuntu server file system from windows 10 through the network?

    • @DrewHowdenTech
      @DrewHowdenTech  10 หลายเดือนก่อน +1

      Yes. You would need to get an SFTP client for Windows.

  • @oknotok8853
    @oknotok8853 2 หลายเดือนก่อน

    everything was going so well until i was stuck at the mods transfer to the forge server part (26:55) , i used a modpack (prominence 2) to transfer into the mods folder but for some reason its not letting me run the server after using the ./run.sh command... any advice on what might be causing the problem?

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน

      Can you paste the output of ./run.sh here?

    • @oknotok8853
      @oknotok8853 2 หลายเดือนก่อน

      @@DrewHowdenTech sent a link but im sure youve received it

    • @oknotok8853
      @oknotok8853 2 หลายเดือนก่อน

      nvm ill just make it as a post on your subreddit

  • @officialkyano
    @officialkyano 4 หลายเดือนก่อน

    Is it possible to install a modpack in a forge server, if i download a modpack with the wget command it will download a zip file, and that doesn't work.

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +1

      Unzip the folder using the “unzip” command, then copy the contents of the “mods” folder contained within to your server’s mods folder. Keep in mind that anyone who plays on your server will also need these mods in their mods folder.
      If the unzip command is not already installed, you can install it with “sudo apt install unzip”.

  • @forster164
    @forster164 7 หลายเดือนก่อน

    I have run the command "java -jar forge-1.20.4-49.0.3-installer.jar --installServer" it appears to install correctly but it doesnt create all the files. I have no run.bat run.sh or user_jvm_args.txt. Any ideas?

    • @DrewHowdenTech
      @DrewHowdenTech  7 หลายเดือนก่อน +1

      What are the outputs of the "pwd" and "ls" commands?

  • @uncleben5988
    @uncleben5988 6 หลายเดือนก่อน

    Hey Drew, thanks for the great Guide, but it seems that i cant connect to my SSH server, so I would ask for your advice.
    When I try to connect PowerShell tells me there is a connection timeout. Do you have any Advice for an absolte newbie like me, who just followed the Tutorila to a T. ?

    • @DrewHowdenTech
      @DrewHowdenTech  6 หลายเดือนก่อน +2

      1. Make sure you have the right username and IP address FOR YOUR SERVER.
      2. Make sure your server and your PC are on the same Wi-Fi network.
      3. If you set up a firewall on your server, make sure port 22 is allowed through.
      4. Ensure openssh-server is installed on your server.
      5. Try using Command Prompt instead of PowerShell.

    • @uncleben5988
      @uncleben5988 5 หลายเดือนก่อน +1

      @@DrewHowdenTech thanks a lot, I got it to run now! (obviosly it was my stupidity :P)

    • @DrewHowdenTech
      @DrewHowdenTech  5 หลายเดือนก่อน +1

      There is no stupidity. Only learning!

  • @Ryno_YT
    @Ryno_YT 3 หลายเดือนก่อน

    Will the ipv4 config fail if i move the PC to a separate network with a different IP configuration?

    • @DrewHowdenTech
      @DrewHowdenTech  3 หลายเดือนก่อน +1

      If you set up a static IP, then yes.

  • @SimonSorensen198
    @SimonSorensen198 ปีที่แล้ว

    I don't know if you could help @Drew Howden tech.
    I been trying to port warding, with Ubuntu, and its an vanlia server, and i does let my friend in? any ideas

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +1

      First of all, can you access your server from your local network?

  • @Formastigor
    @Formastigor 7 หลายเดือนก่อน

    How would i reset world? delete word files so new get generated? it doesnt let me using rm comand

    • @DrewHowdenTech
      @DrewHowdenTech  7 หลายเดือนก่อน +2

      Use the rm -rf command.

  • @ldxlu
    @ldxlu 6 หลายเดือนก่อน

    your linux desktop is cool what distro is it and where'd you get the mac os theme from?

    • @DrewHowdenTech
      @DrewHowdenTech  6 หลายเดือนก่อน +1

      That's Ubuntu (specifically Ubuntu 22.04 LTS). I made a video showing how I customized my Ubuntu 22.04 desktop. Click the link below to watch:
      th-cam.com/video/8yrYq8leff0/w-d-xo.html

    • @ldxlu
      @ldxlu 6 หลายเดือนก่อน

      @@DrewHowdenTech alright thanks

  • @Aerb931
    @Aerb931 ปีที่แล้ว +1

    most helpful video ive found. but for the curseforge server, i could get the mods downloaded and see the "forge mods" command shows them, but the mods wont run on the server. still trying to figure that out

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +2

      You also need to have the mods installed on the client PC.

    • @Aerb931
      @Aerb931 ปีที่แล้ว +1

      @@DrewHowdenTech ah yes that worked, makes sense. Trying to make good use of my old PC as a server.

  • @y.m.o.fh.s.c8580
    @y.m.o.fh.s.c8580 7 หลายเดือนก่อน +1

    I have followed the whole tutorial but once I get to putting the mods into the mods folder i can't follow anymore, I am on windows and i have tried everything to find the mods folder like you did, can you help me please? i know the issue is that i am on windows but i am unsure of a work-around

    • @DrewHowdenTech
      @DrewHowdenTech  7 หลายเดือนก่อน +1

      Try using an SFTP client like WinSCP.

    • @y.m.o.fh.s.c8580
      @y.m.o.fh.s.c8580 6 หลายเดือนก่อน +1

      @@DrewHowdenTech i got it working, I ended up using a USB which worked fine

  • @a.ihsanyksl7716
    @a.ihsanyksl7716 3 หลายเดือนก่อน +2

    after i do everything it says "server refused our key" when i try to transfer the plugin file to my server from filezilla with sftp. Have it to do with this tutorial? can you guys please help me?

    • @DrewHowdenTech
      @DrewHowdenTech  3 หลายเดือนก่อน +1

      I'm not familiar with FileZilla, but look at your settings to make sure that password authentication is enabled. If you can't get it to connect, try a different SFTP client.

    • @a.ihsanyksl7716
      @a.ihsanyksl7716 3 หลายเดือนก่อน

      @@DrewHowdenTech i think it has nothing to do with filezilla because i cant even connect per putty to my server. It happens after i follow your steps. The only thing i do myself is giving permission to the files with “chmod -R 777 /home”

    • @a.ihsanyksl7716
      @a.ihsanyksl7716 3 หลายเดือนก่อน

      @@DrewHowdenTech maybe it has to do with my processor. It’s ARM based. It is possible or maybe my OS.

    • @DrewHowdenTech
      @DrewHowdenTech  3 หลายเดือนก่อน +1

      Did you enable UFW? If you did, did you open port 22?
      Also, don’t chmod 777 your home folder. It’s not necessary, and it just reduces the security of your files.

    • @a.ihsanyksl7716
      @a.ihsanyksl7716 3 หลายเดือนก่อน

      @@DrewHowdenTech yeah i enable the ufw and open service ssh. How can i give permission otherwise for change the folders etc. from filezilla?

  • @dj13579100
    @dj13579100 ปีที่แล้ว +2

    got it all set up but its very laggy like cant break blocks for a will then once I can it takes a sec for the item to drop how can I optimize the server

    • @DrewHowdenTech
      @DrewHowdenTech  11 หลายเดือนก่อน +1

      You could try getting plugins/mods that reduce lag, reducing the number of plugins/mods that you have at all, upgrading your server's RAM, and switching to a more optimized version of Minecraft.
      Alternatively, you could switch to a vanilla Minecraft server, as plugins and mods will inevitably create lag.

    • @dj13579100
      @dj13579100 11 หลายเดือนก่อน

      @DrewHowdenTech only has one plugin currently its on 1.20.1 the server is on a ryzen 1700x system its a problem with World sawn on only is happening there

    • @qcuzi
      @qcuzi 11 หลายเดือนก่อน +1

      @@DrewHowdenTech hey im on windows and how would i be able to do what you did at 16:27

    • @DrewHowdenTech
      @DrewHowdenTech  11 หลายเดือนก่อน +1

      You would need an SFTP client (e.g. WinSCP).

    • @qcuzi
      @qcuzi 11 หลายเดือนก่อน +1

      tysm@@DrewHowdenTech

  • @claudiututu6124
    @claudiututu6124 ปีที่แล้ว +1

    Can you show us how we can make possible to connect with the cracked version of Minecraft (TLouncher) ?

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +2

      Unfortunately I'm not going to make a video covering "cracked" Minecraft launchers, due to legal issues, however you can go into your server.properties file by running "nano server.properties", then find the "online-mode=true" line, and replace it with "online-mode=false", to make your server accessible to "cracked" Minecraft installations.

  • @clashclans9783
    @clashclans9783 4 หลายเดือนก่อน +1

    could you please show one with downloading modpacks, im having so many problems figuring this stuff out. its specifically with rlcraft mod pack. I can donwlaod individual mods just fine, but mod packs just overwhelm me and all the forums and content online is so outdated.
    Thanks for helping me with this vid tho, i have another server running up with mods and plugins, its the server with rlcraft i keep having toruble setting up

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +2

      With a modpack, unzip the folder using the “unzip” command, then copy the contents of the “mods” folder contained within to your server’s mods folder. Keep in mind that anyone who plays on your server will also need these mods in their mods folder.
      If the unzip command is not already installed, you can install it with “sudo apt install unzip”.

    • @clashclans9783
      @clashclans9783 4 หลายเดือนก่อน +1

      @@DrewHowdenTech Thanks!, i actually figured out my problem in the end. I had the wrong version of Java installed, all i had to do was download the right version. But your video still helped immensely!

  • @HoriaArabul
    @HoriaArabul 10 หลายเดือนก่อน +1

    can you tell me how can I setup minecraft server to work with cloudflare tunnels for domain instead of ip address

    • @DrewHowdenTech
      @DrewHowdenTech  10 หลายเดือนก่อน +1

      That’s a great question. I’m not familiar with Cloudflare Tunnels, but you can look up how to set it up on Ubuntu Server.

    • @HoriaArabul
      @HoriaArabul 9 หลายเดือนก่อน +1

      @@DrewHowdenTech I have one more questiom, and thanks for the response :). How can I update the server to anewer version of minecraft when it will come?

    • @DrewHowdenTech
      @DrewHowdenTech  9 หลายเดือนก่อน +1

      You will need to download a new Minecraft Server jar.
      Before you do this, I strongly recommend making a backup copy of your Minecraft Server folder, just in case anything gets messed up by the new version.

    • @HoriaArabul
      @HoriaArabul 9 หลายเดือนก่อน

      @@DrewHowdenTech Thanks a lot! One more thing does forge mods work on this server? I tried multiple mods like trains, cars, etc but none work. Of course I downloaded them for 1.20.1. But I'm confused because I clearly made the server as in your video but Idk if forge mods work for spigot because I'm assuming you installed spigot not forge.

    • @DrewHowdenTech
      @DrewHowdenTech  9 หลายเดือนก่อน +1

      No. Spigot does not support Forge mods. This is why I said that you can't have a Minecraft server with plugins and mods at the same time. Bukkit (Spigot) plugins and Forge mods are NOT interchangeable. Sorry. :(

  • @1313Raymond
    @1313Raymond ปีที่แล้ว +2

    could we get a 3rd party file management tutorial for unbuntu as well pls

    • @1313Raymond
      @1313Raymond ปีที่แล้ว +1

      im using windows and now i'm not sure what to do next - 16:25

    • @tudorcoriciuc
      @tudorcoriciuc ปีที่แล้ว

      @@1313Raymond I have the same problem

  • @ivmatt3142
    @ivmatt3142 7 หลายเดือนก่อน

    When doing the forge server, I did not get the run.sh, run.bat, not the user_jvm_args.txt
    When I use the ls command, I got minecraft_server.1.16.5.jar instead of the 3 I need (I’m doing a 1.16.5 server)
    Any insight?

    • @DrewHowdenTech
      @DrewHowdenTech  7 หลายเดือนก่อน +1

      Are you sure you did not install Forge Server to a different directory.

    • @ivmatt3142
      @ivmatt3142 7 หลายเดือนก่อน +1

      I was able to work around the problem. Thank you though.

    • @DrewHowdenTech
      @DrewHowdenTech  6 หลายเดือนก่อน +1

      That's great. Do you mind sharing how you worked around it.

  • @vinc3973
    @vinc3973 3 หลายเดือนก่อน

    This helped so much, but how can I change my minecraft versions? Im trying to reset all the minecraft progress and use new mods and a new minecraft verison.

    • @DrewHowdenTech
      @DrewHowdenTech  3 หลายเดือนก่อน +2

      Create a new server directory, and download a new version of the Minecraft Server jar.
      Optionally, you can delete your old server directory with the rm -rf command.

    • @vinc3973
      @vinc3973 3 หลายเดือนก่อน

      @@DrewHowdenTech Thank you, also how do I get my server on a version that the build tools jar does not support? EDIT: I found out I was doing everything wrong because I was trying to do modded.... Good video though 👍

  • @simondesarodrigues9012
    @simondesarodrigues9012 5 หลายเดือนก่อน

    Can someone help? On my own Network it works perfectly fin, but as soon as im changing the wifi i cant connect, how do i solve this?

    • @DrewHowdenTech
      @DrewHowdenTech  5 หลายเดือนก่อน +1

      You will need to set up port forwarding on your router.

  • @Everything_I_Like.
    @Everything_I_Like. 4 หลายเดือนก่อน +1

    @DrewHowdenTech how do i make it a cracked server?

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +1

      Easy. From your Minecraft Server directory, run “nano server.properties”, find the “online-mode=true” line, and change that to “online-mode=false”.

  • @DraconicMaker
    @DraconicMaker 15 วันที่ผ่านมา

    9:16 stuck here. I can’t get my client to connect up to my server for ssh, it keeps on timing out. They are on the same internet

    • @DrewHowdenTech
      @DrewHowdenTech  15 วันที่ผ่านมา

      If you enabled UFW, ensure ports 22 and 25565 are allowed through the firewall.
      Also, make sure you are typing your server’s IP address correctly.

    • @DraconicMaker
      @DraconicMaker 14 วันที่ผ่านมา

      @@DrewHowdenTechI enabled both of them, nothing still, it was also an issue for a while when I was setting up a raspberry pi for printing. Although it was a different reason.
      - I pinged both from the client and server to each other and they both do not recognize each other, even tried puTTy to confirm

    • @DraconicMaker
      @DraconicMaker 14 วันที่ผ่านมา

      Never mind, I switched to another network on my client pc, and somehow the fixed it

  • @ottovonbismarck5827
    @ottovonbismarck5827 8 หลายเดือนก่อน

    Works great! But I have a question, if I close my SSH connection my server shuts down, is there a way where my server keeps running, and I can log out of SSH? Because then I would not need to keep my terminal open all the time....

    • @DrewHowdenTech
      @DrewHowdenTech  8 หลายเดือนก่อน +2

      You could log directly into your server (not over SSH).

    • @AndrewKiethBoggs
      @AndrewKiethBoggs 8 หลายเดือนก่อน

      Hi Drew, great video. I have the same question as above. Can you elaborate a bit more on how to do this?

    • @luigiplayer1547
      @luigiplayer1547 6 หลายเดือนก่อน

      @@DrewHowdenTech wouldn't there be a better solution for this problem because i am planning for my server to be in a "far" place

    • @DrewHowdenTech
      @DrewHowdenTech  หลายเดือนก่อน

      You could also move the process to the background by pressing CTRL + Z, and typing “bg.”
      Type “fg” to bring the process back to the foreground.

  • @danielxda6901
    @danielxda6901 4 หลายเดือนก่อน

    Hello I have a problem because I cannot add any mods by drag & drop to folder files. I have only and only Ubuntu server and I have to install these mods by commands. Can you tell me what commands I have to use for instance to install create from curseforge or even github? Btw thank you for your tutorial it was very useful, it helped me a lot (I am a beginner so I dont understand everything yet)

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +2

      If you’re on Windows, you can use a program like WinSCP to connect to your server over SFTP, which will allow you to drag & drop files onto your server.

    • @danielxda6901
      @danielxda6901 4 หลายเดือนก่อน

      @DrewHowdenTech I downloaded WinSCP but I still can't manage to do anything. Before I tell you why, I have ubuntu server on raspberry Pi and I insert sd disk to disk reader. When I try to use it even on WinSCP it says that I can't use volume F. That's why I'm asking you how to download these mods or modpack via commands rather than this WinSCP. Or if you know how to solve this problem I would like to follow your guide.

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +2

      The point of WinSCP is that you leave the SD card in your Pi, and connect to your Pi over your network--selecting SFTP as the protocol, and using your Pi's IP address, and the username and password that you use to log into your Pi (similar to the way I connected to my server via my file manager on Linux).
      I think this goes without saying, but you have to have your Pi on for this to work.

    • @danielxda6901
      @danielxda6901 4 หลายเดือนก่อน +1

      Thank you so much! @@DrewHowdenTech

  • @volosmnt9155
    @volosmnt9155 10 หลายเดือนก่อน

    i keep getting this message No X11 DISPLAY variable was set, trying to install forge

    • @volosmnt9155
      @volosmnt9155 10 หลายเดือนก่อน

      how can i fix this?

    • @DrewHowdenTech
      @DrewHowdenTech  10 หลายเดือนก่อน +1

      You need to add --installServer to your forge install command.

  • @Vitro0505
    @Vitro0505 ปีที่แล้ว +1

    What about doing this inside a docker container?

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +1

      Never thought about that. I will look into it.

    • @SanJoseDevelopers
      @SanJoseDevelopers 5 หลายเดือนก่อน

      you can do this i have this a docker whit ubuntu 18.04 LTS

  • @Chimpswithautism
    @Chimpswithautism หลายเดือนก่อน +1

    how do we update the server, i would like to play 1.21

    • @DrewHowdenTech
      @DrewHowdenTech  หลายเดือนก่อน

      Just tried it myself, it seems to be a particular dependency causing the issue. Hopefully that will be fixed soon. In the meantime, you're just going to have to use 1.20.

    • @Chimpswithautism
      @Chimpswithautism หลายเดือนก่อน

      @@DrewHowdenTech thanks but Id like to know how to update it in general without deleting all my data

  • @Dusctii
    @Dusctii 3 หลายเดือนก่อน

    What version of java? If I totally missed it mb.

    • @DrewHowdenTech
      @DrewHowdenTech  3 หลายเดือนก่อน +1

      I used Java 17 in this video, but I made this video a year ago, so that might be outdated by now.

  • @colbyluke-judy19
    @colbyluke-judy19 9 วันที่ผ่านมา

    Can I run this and play on the same computer?

  • @idk-zj1gu
    @idk-zj1gu 2 หลายเดือนก่อน

    how can i reopen the minecraft server process bro ? . Each time i access my ubuntu server it doesnt show up the minecraft server process

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน +2

      Using the same command that you used to start the server the first time.

    • @idk-zj1gu
      @idk-zj1gu 2 หลายเดือนก่อน

      @@DrewHowdenTech didnt work bro :(( , i used this command "java -Xmx2G -Xms1G -jar server.jar nogui" to start my server , when i tried to use that command again , it started a new minecraft server not the old one :((

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน +1

      Weird. It should load the world you had before. What’s the output of the command?

    • @idk-zj1gu
      @idk-zj1gu 2 หลายเดือนก่อน

      @@DrewHowdenTech it said already locked ( possibly by other minecraft instance)

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน

      It’s probably still running in the background. You can try the “fg” command, or else just reboot your server.

  • @SigmaGames-t4g
    @SigmaGames-t4g 4 หลายเดือนก่อน

    do you need the firewall

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +1

      It’s not essential, but having a firewall will improve security.

  • @hunterpatti7915
    @hunterpatti7915 10 หลายเดือนก่อน +1

    ok now how do I open that home folder if Im on windows

    • @DrewHowdenTech
      @DrewHowdenTech  10 หลายเดือนก่อน +1

      That would be your user folder. You can find it in C:\Users

  • @Fredduin
    @Fredduin 13 วันที่ผ่านมา

    and how do i install the mods from a windows?

    • @DrewHowdenTech
      @DrewHowdenTech  13 วันที่ผ่านมา +1

      On Windows, you have to use an SFTP client, such as WinSCP.

  • @ilijaveljkovicwt
    @ilijaveljkovicwt ปีที่แล้ว

    how can i connect my windows pc to ubuntu

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +1

      Using the SSH command in the Windows terminal.
      In case you are talking about how to JOIN the Minecraft server, same way you would join any other server on Minecraft Java Edition.

  • @TheHighHeelFreak
    @TheHighHeelFreak ปีที่แล้ว

    Thank you very much, great video! When installing a forge server on Ubuntu, I get following error message though:
    Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Unsupported major.minor version 60.0
    Did I install the false java version?
    java -version
    openjdk version "11.0.18" 2023-01-17
    OpenJDK Runtime Environment (build 11.0.18+10-post-Ubuntu-0ubuntu122.04)
    OpenJDK 64-Bit Server VM (build 11.0.18+10-post-Ubuntu-0ubuntu122.04, mixed mode, sharing)
    javac -version
    javac 1.8.0_362
    Thanks in advance for any help!

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +2

      What version of Minecraft did you get?

    • @TheHighHeelFreak
      @TheHighHeelFreak ปีที่แล้ว +1

      @@DrewHowdenTech 1.19.2

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +2

      You need to install a later version of Java. Try running “sudo apt install openjdk-17-jre”.

    • @TheHighHeelFreak
      @TheHighHeelFreak ปีที่แล้ว +1

      @@DrewHowdenTech thank you so much! Java 17 works

  • @spleegaming5065
    @spleegaming5065 6 หลายเดือนก่อน

    hit the enter button harder for a better server!

  • @tamtam2384
    @tamtam2384 ปีที่แล้ว +1

    where do i find my server username and password, i didn't fully get this point as I tried using my minecraft account credentials and it didn't work

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +4

      Use the username and password you set up on installation of Ubuntu Server.

  • @djplays2157
    @djplays2157 4 หลายเดือนก่อน

    i am an absolute noob. i am stuck at 9:44 bcs i cant open terminal ...

    • @DrewHowdenTech
      @DrewHowdenTech  4 หลายเดือนก่อน +1

      If you’re on Windows and you don’t have the Terminal app, you would use command prompt.

  • @Food_Games
    @Food_Games หลายเดือนก่อน

    How do you not get Permission denied i cant do ./run.sh because of that

    • @DrewHowdenTech
      @DrewHowdenTech  หลายเดือนก่อน

      Run “chmod +x run.sh”.

    • @Food_Games
      @Food_Games หลายเดือนก่อน

      Now i got problem that says "Error could not open 'user_jvm_args.txt'. How do i fix it?

    • @DrewHowdenTech
      @DrewHowdenTech  หลายเดือนก่อน

      What does it say after that?

    • @Food_Games
      @Food_Games หลายเดือนก่อน

      Nothing

    • @DrewHowdenTech
      @DrewHowdenTech  หลายเดือนก่อน

      What is the output of “ls -la”?

  • @rockett_dragonn4582
    @rockett_dragonn4582 2 หลายเดือนก่อน

    it just boots to a black screen, sorta stuck on what to do.

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน +1

      What part are you getting stuck on?

    • @rockett_dragonn4582
      @rockett_dragonn4582 2 หลายเดือนก่อน

      @@DrewHowdenTech Okay, sorry abt that lol, I did not understand that I needed to take the drive out after it finished downloading, now I am stuck at 27:00 unsure of how to connect to the server with the file manager because I do not have the option to add or connect to a server

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน +1

      These instructions are for a Linux PC. If you’re on Windows, you will need to use an SFTP client, such as WinSCP.

    • @rockett_dragonn4582
      @rockett_dragonn4582 2 หลายเดือนก่อน

      @@DrewHowdenTech typing ./run.sh gives me the error message
      -bash: ./run.sh: No such file or directory
      Did I do something wrong somewhere?

    • @DrewHowdenTech
      @DrewHowdenTech  2 หลายเดือนก่อน +1

      What is the output of “pwd” and “ls -a”?

  • @TygoBlox
    @TygoBlox ปีที่แล้ว

    HOW TO PASTE TEXT FROM GOOGLE

    • @TygoBlox
      @TygoBlox ปีที่แล้ว

      sorry for capslock

    • @DrewHowdenTech
      @DrewHowdenTech  ปีที่แล้ว +1

      You have to do that over SSH.

    • @coldhardwick
      @coldhardwick ปีที่แล้ว +1

      Depends on your terminal. For Ubuntu, I think you have to right click, or you can `CTRL + SHIFT + V`. For windows CMD, you can right click to paste. I believe Powershell is the same or similar.

  • @HaroonHussain-ng9ei
    @HaroonHussain-ng9ei 5 หลายเดือนก่อน

    @DrewHowdenTech i get the error message port 22 : no route to host

    • @DrewHowdenTech
      @DrewHowdenTech  5 หลายเดือนก่อน +1

      1. Make sure you have the right username and IP address FOR YOUR SERVER.
      2. Make sure your server and your PC are on the same Wi-Fi network.
      3. If you set up a firewall on your server, make sure port 22 is allowed through.
      4. Ensure openssh-server is installed on your server.
      5. Try using Command Prompt instead of PowerShell.

    • @HaroonHussain-ng9ei
      @HaroonHussain-ng9ei 5 หลายเดือนก่อน

      @@DrewHowdenTech they are

    • @DrewHowdenTech
      @DrewHowdenTech  5 หลายเดือนก่อน +1

      Did you select the option to install openssh-server when installing Ubuntu Server?

    • @HaroonHussain-ng9ei
      @HaroonHussain-ng9ei 5 หลายเดือนก่อน

      @@DrewHowdenTech yes

    • @DrewHowdenTech
      @DrewHowdenTech  5 หลายเดือนก่อน +1

      If this is on a virtual machine, you will need to change your virtual machine’s network type to “bridged” under the “network” settings for your virtual machine.

  • @dajab6320
    @dajab6320 8 หลายเดือนก่อน

    Hello, how can I keep the server running? After some time, the ssh connection times out and the server stops, so how can I keep the server just continually running?

    • @DrewHowdenTech
      @DrewHowdenTech  8 หลายเดือนก่อน +1

      You could log in from on the server itself.

    • @dajab6320
      @dajab6320 8 หลายเดือนก่อน +1

      @@DrewHowdenTech Ill try that, maybe I can just run the minecraft server through the computer instead of doing it from my laptop. Also, this was a great tutorial, I have like 130 mods in my server and Im adding more and the gameplay is great! I just need to get a static ip address so my cousin can join the server, I might switch to business internet to get it, or I might just set up the server in one of my relatives busisnesses

    • @AndrewKiethBoggs
      @AndrewKiethBoggs 8 หลายเดือนก่อน

      Like instead of ssh?

    • @DrewHowdenTech
      @DrewHowdenTech  8 หลายเดือนก่อน +1

      @AndrewKiethBoggs Yes.