#LITV3 Crash
184 messages · Page 1 of 1 (latest)
@blissful nexus
How and what are you trying to edit
server-config files of minecolonies, and changing the pvp to true
thanks
through files on docker image
@mortal anchor
please
@mortal anchor
Was the server turned off or on when doing this
it was on, but on docker the files don't show up unless its on weirdly
@mortal anchor
for future refrence never edit server files while its running
yeah thats fair, how should I go about it then?
i havent played on it at all so im not worried about making another one and editing it correctly
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
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
Why use docker instead of an actual os like Linux? Also I find Crafty a lot easier to use
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
oh cool, does it easily boot up modpacks?
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
i dont have any java script experience so if i have to write code it wont be good for me
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 ./
but how do I get it to run LITV3
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
isnt litv3 1.19
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
Oh + gotcha
to install LITV 3 you would download the server poackage from the curseforge website
then just fill in the information on this panel
import or upload
the one on the right not the left
NOW if you already have a server setup in a folder, and you want to use that instead...
you can do that also
nah i just was running docker
it works for the mostpart, but the autocurseforge is weird sometimes
and in your docker you have a server folder already that it can import
yeah with this, there is no wierdness
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
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
no idea what that means lol, thanks!
lol
i am a bit new to all of this
.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
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
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
yes
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
okay I think it worked! thanks so much, now do i edit the config while its off or on
um it shouldnt be working yet, unless the only java you have installed is Java 17
guess i have to run it once anyways
well the config file wont be there for me to edit if it isnt generated right?
if it is in world/serverconfig/ it is there, its in /defaultconfigs/
ah okay sweet, so I need to download java now or can I run it?
thanks for your time and help
windows
open CMD
then run this command java --version
what is the full message that shows up when you do that
it says thats not a command lol
'java' is not recognized as an internal or external command,
operable program or batch file.
Uninstall other Java Versions by searching java/jdk through the apps and features menu.
If you need multiple Java versions use #absolute-pathing instead
Minecraft 1.16.5/1.12.2 requires Java 8,
- Download .msi and run the installer
https://adoptium.net/temurin/releases/?version=8&os=windows&arch=x64&package=jre
Minecraft MC 1.17 and newer requires Java 17
- Download .msi and run the installer
https://adoptium.net/temurin/releases/?version=17&os=windows&arch=x64&package=jre
download and install the Java 17
yeah I did the config I needed to in serverconfig for minecolonies I think, it saved it
copy
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
awesome
If there's anything wrong it will tell you right away. Otherwise it will start the boot up process
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
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?
what does your terminal show right now, screenshot it
wierd
should I reload the page?
it shouldnt have taken this long to begin the start process
okay it says start now ill click it again
ok
it says this again /: We can't seem to find your executable file. Has it finished downloading? Are the permissions set to executable?
I cant diagnose possible mistypes and stuff if I cant see what you entered
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.
ok
I do have it installed though as I ran the command above and it said 1.17 installed in CMD
was afraid of that
ok
you see where it says java in the Server Execution Command
we need to change that
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
okay wonderful thanks so much
also 12gb is more than you will need, unless you plan on having 10ish people on the server at the same time
now all oyu need to do is setu port forwarding in your router for port 25565 and your friends can join you
Already done, thank you!
appreciate all your help really
sorry im slow with understanding a bit lol
if you port forward 8443 you can access your craft dashboard from anywhere
oh interesting
thats helpful
does it run without the browser open or how does that work
crarfty runs in the background on your PC
you can close the browser as that is just the interface for it
amazing thanks