P4x94j Posted November 16, 2023 Posted November 16, 2023 Hello, I would like to ask for advice regarding the server I am creating. This is a local server for version 1.16.5 with mods. The problem is that the server starts and works normally, it lets me in but it doesn't acknowledge that there are mods on it. For example, the Adorn mod when he tries to place a block disappears, when he tries to shoot a bow from another mod, it won't shoot from twilight forest, when he tries to dig with a pickaxe, the block moves back. The server treats these mods as if they did not exist even though they are on the server. Please help. Quote
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 And I would also like to ask if it may be related to the fact that I started the server using the minecraft_server.1.16.5.jar file instead of the start.bat file. Start.bat doesn't work for me, when I try to run it I get the message "Unable to access jarfile server.jar" Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 Quote it lets me in but it doesn't acknowledge that there are mods on it. For example, the Adorn mod when he tries to place a block disappears That means, the mods are on your client active but not on the server Make sure you are starting the forge server jar via script Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 Do you mean the start.bat script? Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 Yes Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 (edited) Start.bat doesn't work and when I try to turn it on, it says in the console: "Unable to access jarfile server.jar" Edited November 16, 2023 by P4x94j Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 (edited) Add the lines of the start.bat and a screenshot of your server folder Edited November 16, 2023 by TileEntity Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 I will send you a photo of the folder around 4 p.m. your time. But I don't understand what you mean by talking about the lines in the start.bat file Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 Open the start.bat and copy the content of it Paste it here Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 start.bat C:\Users\User\Desktop\Serwer>java -Xms8GB -Xmx8G -jar server.jar nigue Error: Unable to access jarfile server.jar C:\Users\User\Desktop\Serwer>PAUSE Press any key to continue . . . Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 Install Java 8: https://www.azul.com/downloads/?version=java-8-lts&os=windows&architecture=x86-64-bit&package=jre&show-old-builds=true Scroll down to 8u302b08 and install this build Then open your start.bat and use: "C:\Program Files\Zulu\zulu-8-jre\bin\javaw.exe" -Xmx8G -jar forge-server.jar pause Keep the quotation marks and make sure the forge server jar file name is matching Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 The problem is that as soon as I press something, the console immediately closes Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 Did you add "pause" like in the script above? Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 I can't do anything in this console, even if I press any key, it closes Yes, I added a pause but it still closes Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 Is there a new log file in the logs-folder? Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 I don't see anything new I can send you the server logs if you need it, but I don't know if it will help Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 If there is no new log then the server does not start So the java path is incorrect or the forge server jar name is not matching or the forge server installation is broken Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 In the logs I only have the last 3 entries to the debug log server and the last log has nothing else there Could I try it on another engine that supports mods, for example Mohist? Quote
TileEntity Posted November 16, 2023 Posted November 16, 2023 Or just use a pre-configured server pack - some modpacks hhave a serverpack Quote Try my Modpack >>Link to Curseforge<<
P4x94j Posted November 16, 2023 Author Posted November 16, 2023 I managed to do it, but only on mohist, thanks for the help Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.