#LITV3 Crash

184 messages · Page 1 of 1 (latest)

blissful nexus
mortal anchor
#

@blissful nexus
How and what are you trying to edit

blissful nexus
#

server-config files of minecolonies, and changing the pvp to true

#

thanks

#

through files on docker image

#

@mortal anchor

#

please

#

@mortal anchor

mortal anchor
blissful nexus
#

it was on, but on docker the files don't show up unless its on weirdly

#

@mortal anchor

mortal anchor
#

nightconfig

#

corruption

#

lovely

mortal anchor
blissful nexus
#

yeah thats fair, how should I go about it then?

mortal anchor
blissful nexus
#

i havent played on it at all so im not worried about making another one and editing it correctly

mortal anchor
#

you would just need to move the serverconfig from the singleplayer world to the server

#

or just setup a new serverpack if its a system you have access to

#

make a new world

#

and copy over its serverconfig

#

whichever is less of a headahce

blissful nexus
#

Yeah I’ll try that, I was trying to mount the folder since docker is kind of weird with that, but it kept a crashing whenever it would load the file I edited but maybe I’ll try again thanks

karmic dove
blissful nexus
#

because it has an image that runs autocurseforge

#

what is crafty?

karmic dove
#

Crafty is another server manager software that you can run on windows, linux, and I think Mac

#

it is rather simple to use, and allows you to edit the config files while the server is stopped

blissful nexus
#

oh cool, does it easily boot up modpacks?

karmic dove
#

yeah. setting it up for 1.17.x forge modpacks is "slightly" tricky, only in that you have to explicitly state a few things in the java and startup strings, but other than that, it works great

#

supports running multiple servers at once, gives you a read out on CPU and RAM usage on the web panel, shows you how many and who is logged into each server

#

and I think it lets you ban users with a single click from the dashboard without needing to access the console

blissful nexus
#

i dont have any java script experience so if i have to write code it wont be good for me

karmic dove
#

nope you dsont

#

1 sec

#

so for a 1.17.x server you have to explicitly state the Java path, and then put the @libraries bit from the run.bat file into the Server Execution Command

#

then in the Server Executable you put the @libraries part but instead of @ before it you put ./

blissful nexus
#

but how do I get it to run LITV3

karmic dove
#

that is the hardest parts to remember is specifying the java 17 explicitly (assuming you have more than one Java installed) and the libraries part

#

To install modpacks you have 4 options

blissful nexus
#

isnt litv3 1.19

karmic dove
#

the easiest is to import from a zip file

#

1.19 is greater than 1.17

#

and as I said any 1.17.x + modpack would use the method above

blissful nexus
#

Oh + gotcha

karmic dove
#

to install LITV 3 you would download the server poackage from the curseforge website

#

then just fill in the information on this panel

blissful nexus
#

import or upload

karmic dove
#

the one on the right not the left

blissful nexus
#

thanks for the help

#

copy

karmic dove
#

NOW if you already have a server setup in a folder, and you want to use that instead...

#

you can do that also

blissful nexus
#

nah i just was running docker

karmic dove
blissful nexus
#

it works for the mostpart, but the autocurseforge is weird sometimes

karmic dove
#

and in your docker you have a server folder already that it can import

#

yeah with this, there is no wierdness

blissful nexus
#

true, i think ill just let crafty boot a new one as the docker one is just testing to get it to work so no special world or anything

#

well thanks!

#

ill lyk if it works

#

shoukd

karmic dove
#

and you can run it as a service in windows, or as a cron job in linux

#

doing it in windows takes a little doing, as you have to install .net 8 and Git

#

but it does work

blissful nexus
#

no idea what that means lol, thanks!

karmic dove
#

lol

blissful nexus
#

i am a bit new to all of this

karmic dove
#

.net 8 and GIT are software ytou need to install in windows

#

a cron job is a process that starts automatically at a specificed point in time or event in linux

blissful nexus
#

gotcha gotcha, so what does that have to do with crafty though, sorry if stupid question

#

also, what does it want for the field: Server Executable File

karmic dove
#

by setting it as a server (windows) or a Cronjob (linux) you can configure it to startup automatically when your machine starts up without you needing to manually start Crafty

#

you are in this panel?

#

@blissful nexus for the Server Executable File you would put ./@libraries/net/minecraftforge/forge/1.19.2-43.3.2/win_args.txt

blissful nexus
karmic dove
#

ok just making sure

#

once you have all the fields filled in, the Import Server button will light up

#

Once you do the import, there are a few more things we need to do before you can start the server

blissful nexus
#

okay I think it worked! thanks so much, now do i edit the config while its off or on

karmic dove
#

um it shouldnt be working yet, unless the only java you have installed is Java 17

blissful nexus
#

guess i have to run it once anyways

karmic dove
#

nope

#

you do not need to run it at all

blissful nexus
#

well the config file wont be there for me to edit if it isnt generated right?

karmic dove
#

if it is in world/serverconfig/ it is there, its in /defaultconfigs/

blissful nexus
#

ah okay sweet, so I need to download java now or can I run it?

#

thanks for your time and help

karmic dove
#

depends

#

what OS are you using right now, windows or linux?

blissful nexus
#

windows

karmic dove
#

open CMD

#

then run this command java --version

#

what is the full message that shows up when you do that

blissful nexus
#

it says thats not a command lol

karmic dove
#

so it says Command not found?

#

or unrecognized option?

blissful nexus
#

'java' is not recognized as an internal or external command,
operable program or batch file.

karmic dove
#

ok

#

that means you do not have ANY java installed, which is good in a way

#

!java

idle sigilBOT
karmic dove
#

download and install the Java 17

blissful nexus
#

thanks will do, get back to you when its done

#

msi or zip

karmic dove
#

msi as stated in the message above

blissful nexus
#

thanks sorry

#

okay done

karmic dove
#

ok in crafty go to the Config section of the server dashboard

#

this screen

blissful nexus
#

yeah I did the config I needed to in serverconfig for minecolonies I think, it saved it

#

copy

karmic dove
#

make sure server executable is ./libraries/net/minecraftforge/forge/1.19.2-43.3.2/win_args.txt

#

make sure that Server Execution Command is java -Xms6144M -Xmx8192M "@libraries/net/minecraftforge/forge/1.19.2-43.3.2/win_args.txt" nogui

#

the -Xms and -Xmx values listed above are the recommended values

#

since you only have 1 java installed, you do not need to worry about explicitly specfiying java

#

once those fields are correct, go to >_ Terminal

#

click the blue Start Button

#

it will pop up a message about accepting the EULA, click yes

#

I think you then need to click Start a second time

blissful nexus
#

awesome

karmic dove
#

If there's anything wrong it will tell you right away. Otherwise it will start the boot up process

blissful nexus
#

We can't seem to find your executable file. Has it finished downloading? Are the permissions set to executable?

#

it said this

#

but I did what you said above

karmic dove
#

Ok one sec

#

screenshot this screen please

#

I need to see all the fields listed

blissful nexus
#

i think there was a @ in the libraries left over from before I removed it and it is "updating" now

#

man it takes a while lol

#

does it usually take this long?

karmic dove
#

what does your terminal show right now, screenshot it

blissful nexus
#

just updating endlessly lol

karmic dove
#

wierd

blissful nexus
#

should I reload the page?

karmic dove
#

it shouldnt have taken this long to begin the start process

blissful nexus
#

okay it says start now ill click it again

karmic dove
#

ok

blissful nexus
#

it says this again /: We can't seem to find your executable file. Has it finished downloading? Are the permissions set to executable?

karmic dove
#

ok

#

this time SCREENSHOT the config page for me

blissful nexus
#

oh im stupid hol up

#

I will too but I think I know why

karmic dove
#

I cant diagnose possible mistypes and stuff if I cant see what you entered

blissful nexus
#

I removed the @ but didnt click save at the bottom smh

#

okay it says this now: Server LITV3 failed to start with error code: We have detected Java is not installed. Please install java then start the server.

karmic dove
#

ok

blissful nexus
#

I do have it installed though as I ran the command above and it said 1.17 installed in CMD

karmic dove
#

was afraid of that

#

ok

#

you see where it says java in the Server Execution Command

#

we need to change that

blissful nexus
#

copy

#

change it or delete it?

karmic dove
#

replace java with C:\Program Files\Eclipse Adoptium\jre-17.0.13.11-hotspot\bin\java.exe

#

correction

#

"C:\Program Files\Eclipse Adoptium\jre-17.0.13.11-hotspot\bin\java.exe"

#

forgot the " "

#

"C:\Program Files\Eclipse Adoptium\jre-17.0.13.11-hotspot\bin\java.exe" -Xms6144M -Xmx8192M "@libraries/net/minecraftforge/forge/1.19.2-43.3.2/win_args.txt" nogui

#

that should be the full string once you make the edit

blissful nexus
#

okay wonderful thanks so much

karmic dove
#

also 12gb is more than you will need, unless you plan on having 10ish people on the server at the same time

blissful nexus
#

gotcha

#

running now

karmic dove
#

now all oyu need to do is setu port forwarding in your router for port 25565 and your friends can join you

blissful nexus
#

Already done, thank you!

#

appreciate all your help really

#

sorry im slow with understanding a bit lol

karmic dove
#

if you port forward 8443 you can access your craft dashboard from anywhere

blissful nexus
#

oh interesting

#

thats helpful

#

does it run without the browser open or how does that work

karmic dove
#

crarfty runs in the background on your PC

#

you can close the browser as that is just the interface for it

blissful nexus
#

amazing thanks