#macos setup
175 messages · Page 1 of 1 (latest)
are you having trouble setting up a basic server minecraft server on macos or is it specifically trouble getting the geyser plugin to work on macos?
practically both, i get lost on how to change the auth, how to find the plug ins folder
ok, i can help walk you through
If you have a Minecraft Launcher that isn't the default one and allows you to create Minecraft servers, it'll probably be easier.
Plugins folder won't exist until you launch the server.
where do i go to find it once i launch minecraft and the server
like through a vc?
any helps is appreciated
anything is fine, just figured i'd give you the time to check if using another launcher would be easier. I have no experience with that, but I can help you get started on running the server through the terminal
if you navigate to whatever folder you have your minecraft server in through the terminal, you just need to run the .jar file, this should start up the server for the first time. once it has finished initializing there should be a plugins folder
you should get something like this on first run, you just need to open the eula.txt that is created in the same folder, in this case, it would be in the folder minecraft-macos
when running ls you can see that there is more than just the .jar file that we had put in there originally
i see the confusion, you're trying to run the file directly, but you need to do java -jar paper-1.21.11-92.jar nogui
also is there a reason that you are setting up your server in /Library/Java ? it might be simplier to setup a folder in your home directory something like ~/minecraft-server
ok no worries
let first start by installing homebrew, this will let us install java through the terminal
you just want to paste /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" into your terminal and once its installed let me know
is it supposed to take some time cause i get this and then unable to type anything
yea, so it doesn't show you what you type, but you are typing in that. you just need to type your password into the terminal
the password for your mac specifically
cool it should be installing
when its done, just type brew install openjdk into your terminal, this will install the latest java version
how will i know once its done?
it should give you access to type in the terminal again
yea, that is ok, its needed to be able to install anything through homebrew
no, its still installing, just wait till it shows you the prompt again like tym@Leclerc-16 ~ %
oh yea
now you can use it
it says comand not found brew
but yea, just copy paste those commands into your terminal before you try running brew
can you copy and paste these in?
we just need to tell your computer where the command 'brew' is after installing
ok try using brew help
yea i don't think it says anything after type it in
nice! its installed, now just type brew install openjdk
this will install the latest java version
once you get that installed i'll walk you through moving your server to your home directory
ok try running java -version
ok try running this
i dont think anything happened?
and once you run it, close your terminal and open a new one, it needs to load the new edits
should i still close it after nothing has happened?
yea, there shouldn't be any response from the terminal after running the command
ok i opened a new terminal, what should i do now?
try running java -version again
how should i go abt that
first we will make a new folder in the home directory with mkdir ~/minecraft-server
then if you do mv /Library/Java/Extensions/untitled\ folder/paper-1.21.11-92.jar ~/minecraft-server
this will move the file to the new folder that you made
ok now do cd ~/minecraft-server
ok, now do java -jar paper-1.21.11-92.jar nogui
ok now you want to go to finder and navigate to the minecraft-server folder
there should be a file in there called eula.txt, you just need to change it from false to true
looks good, just save the file and rerun the last command
nice! you got your server up and running
launch minecraft and see if you can join
go to multiplayer and then direct connection, for the ip use localhost
okay i was able to join
nice!
if you go to that minecraft-server folder then you should see a plugins folder
you can add geyser and whatever other plugins you want into that folder
okay i see it and opened it
you just need to restart the server to get the plugins to load
ok so i put the plugins in and reopened the game
in that terminal window that you running the minecraft server you can enter stop to stop the server. just make sure that when you are changing plugins that the server is off because it can cause some weird corruption issues if you move a file while its running
okay i used the command
yea so you should be able to just put the plugins in the plugins folder
to run the server again you just need to run the command java -jar paper-1.21.11-92.jar nogui
yup
nice, you should be able to join the server on your phone or whatever bedrock client you wanted to
you just need to figure out what your local network ip is
so will i have to redo the said commands whenver i wished for someone to join, or is it like permanently they can join, and what if im using a realm does that change anything?
it mostly depends on how you want to have it setup. im not sure if you're on a desktop or laptop
i am on a laptop
if you wanted you could just leave the server running all the time and that way your friends can join whenever or you can just run it when you and your friends want to play
but if you're on a laptop, i would not recommend running it all the time because its going to kill your battery life
i constantly keep it on the charger, will it cancel it out from dying
oh ok then yea, just run it whenever
the next thing that you're going to have to figure out is how to port forward on your router
okay so rn im in the realm i wanna use to have people join in and play together cause they will be on bedrock and me on java, how do i go about letting them join and such/
how do i do that
port forwarding allows the server to be accessible people outside of your local network
do i do that in terminal or how?
im not sure if you're able to connect a minecraft realm to a java server. I think you might be able to download the realm world and then transfer it to the server running on your laptop, but im not entirely sure
so does that cause me to not use a realm to connect with bedrock?
so with the setup that we just did, it runs a java server that allows bedrock players to connect to said java server.
i saw this
yea, that sounds like a really complicated setup
he also suggests just downloading the world
would that allow them to join anytime or no
and if i were to download it, how do i do that
honestly i have no idea
im not sure, ive never used realms before. i'd just recommend googling it and seeing what you can find
i feel like the user implied it does? but idk cause he vrought up the fact its always on
i more or less was able to download it but now it says its a single player world
yea im not really sure. it might be worth looking into a hosting service if you want to keep it running all the time because it really would simplify the setup
or just googling around some more
i'll try to help you out some more, but i just don't have any experience with these things myself so i don't feel super confident giving more advice
i appreciate all the advice even given now, i found a site that offers to host the server, but again backtracking to having bedrock players, how do i enable them to join and such cause ik im supposed to get a number or smth that they put in to join
yea no problem, when you setup that server with a host you can put the plugins in the plugins folder like we did. i think the only thing that you should look out for is that the hosting platform allows you to set another port for the server because the geyser plugin uses the bedrock port 19132 instead of the usual java port 25565
so if i wanted to say rn start up a multiplayer server, and want to enable it where people join, do i even create a multiplayer in the first place since it asks me to create a server address?
i appreciate all ur help and i apologize for any hinderence i have put on u,im js like completely lost in this area
you mean like the server ip that you give people to join the server that we just made or when you set one up on a hosting site
the one we js made
ok so you're going to have to port forward before you can give your friends the address unless you guys are all on the same wifi
im guessing you are in different houses?
yes, so how do i go about port forwarding
do you know what kind of router you have?
like provider, or like the physical thing
the physical thing
sometimes people get a different one than the one the provider gave them
oh ok, well i can go to my router but what would i be looking for
if you go to the physical router on the back or the bottom theres gonna be like a bunch of information like a website and a password and like an admin login or something like that
okay ill go to it now
it might look something like this https://192.168.1.1/
usually something like this

ok can you go to your wifi settings in macos?
if you click the ... then click network settings
you should see something like this
your numbers will be different
type the router ip address into your web browser
what now
did it load a webpage?
it more or less js looks like what pops up after any normal search, like a reddit forum and other articles/sites
oh like a normal google search?
yes
ah
Open ports on your router with our port forwarding guides. We have guides specific to your router.
this is what i used to learn how to port foward
you just need to figure out what router specifically you have so that this page can walk you through doing it
ah ty, i think i get the jist of everything and from here on out i can work it all out on my own, ive taken up a considerable anmount of time already and u helped me with the part i had the most trouble on
i appreciate u so much
sorry its just that the process is different for each router so its not super obvious how to walk you through those steps
its fine i understand, u were a tremoundous help
@ me or send me a pm if you need some more help