1.18.2 - chorbintime/LPS-readme GitHub Wiki
Video Guide
Windows users can follow this guide for installing GraalVM and how to launch the server. For further questions, join our Discord server.
Java Installation
YOU NEED JAVA 21 TO HOST 1.18.2 MODPACKS.
Windows
Right click the download_graal.ps1
file in the server files and click "Run with Powershell". If you do not have the download_graal.ps1
file, then you can download it here.
If the file does not run, please follow the directions under the IMPORTANT FOR WINDOWS 11 USERS section.
Linux
Install GraalVM by following the steps here
MacOS
Go here and hover over the Download
buttons until you see one with the option to install a .dmg
file.
If you have an M-series Mac, then make sure to install the ARM64 version of this file.
If your server still doesn't launch, uninstall other Java versions! On Windows, this can be done by going to Programs and Features, then typing the letter "j" to search for versions of Java.
Download The Serverpack
To find the serverpack files, navigate to the Curseforge page for the modpack you wish to play. Go to the Files tab, and click the latest file, then navigate to "Additional Files". You can download the serverpack files here.
Running Your Server
Before anything, make sure you've extracted the initial serverpack file you downloaded!
Windows
If you see a start.bat
file included in the serverpack, you can simply double click it and your server will run. Some serverpacks will not include this file yet. If this is the case for you, simply follow these steps instead:
Right click the start.ps1
file and click Run with Powershell
Note that the file extension .ps1
will not show if you haven't enabled them through Windows settings. Instead, you can look for "Windows Powershell" to the right of the file named "start"
MacOS
Open the Terminal app, found in /Applications/Utilities/
Type cd <path to installer>
and press Enter to navigate to the installation folder. Make sure to replace <path to installer>
with the path.
If you don't know the path to the installer, type cd ,
(making sure to leave a space after the cd), and then drag the installer folder into the Terminal, and press Enter
Type chmod +x ./start.sh
to allow the script to run
Type ./start.sh
to run the installation script
Linux
Ensure you have curl
installed. If you're using Ubuntu, you probably don't have this! Most likely you have wget
, which can be used to install curl
.
Once inside the modpack directory, make the script executable by running chmod +x start.sh
To start the modpack now, you can simply run ./start.sh
Common Questions
Below is a list of commonly asked questions. If you have a question not answered in this document, please ask the question in our Discord
How do I join my server?
- Install the modpack using a modded launcher (Curseforge, ATLauncher, etc). You can follow a guide here
- Go to the Multiplayer tab in the main menu of Minecraft
- click Direct Connect and type
localhost
How do others join my server?
They will connect using your Public IP Address, which can be found by typing "my ip address" into Google. If people are unable to join with this IP, find a portforwarding guide online.
How do I allocate more RAM?
- Open the variables.txt text file
- On the line that says
JAVA_ARGS
, you can set your ram allocation.-Xmx8G
will set maximum RAM usage to 8 gigabytes. It's recommended to set the minimum to the same amount for better performance, so-Xmx8G -Xms8G
would be optimal.
Should I be worried about errors in the console?
Unless there is something that is not working as expected, don't mind any errors. 99% of them mean nothing.
Why is my server so laggy?
There are a few things you can do to for server lag:
- Follow this guide for optimal Java arguments. Please note that these can cause instability or worsened performance for some people.
- If lag persists, do the following command ingame
/spark profiler start --only-ticks-over 50
- Check the Spark Profiler website link that shows up in chat/console and check if your server is using all of the memory. You can allocate more memory accordingly.
- On the Spark Profiler website, you can also check what processes are using the most resources. Our Discord community can help you further if necessary.
How do I make my server public?
To get your server registered on the Server Browser you need to post your server here or click the "Add Server" button on the Server Browser tab in the Multiplayer Menu. Servers hosted using Bisect get placed higher on the server list. Make sure it's posted under the correct modpack or it will not show up in the ingame server browser.
IMPORTANT FOR WINDOWS 11 USERS
An update to windows introduced a new security feature that prevents powershell files from running on your PC. This is great for your security, but not so great for our server start scripts, which require powershell to run them. Fortunately there is a quick fix for this!
- Run powershell as administrator, then run
Set-ExecutionPolicy RemoteSigned
. Read the prompt and press accept. This will allow us to run scripts. - Next, navigate to your server directory using
cd path
. Make sure to replacepath
with the file path to your server files. For example:cd C:\Users\Username\Documents\Minecraft\Server
You can now run the server by double-clicking the start.ps1 file, or typing .\start.ps1
into the command line while in the directory.
Windows 11 users can also try doing Step 1-5 of the alternative method of opening the start.ps1
(which can be found above) and then running the following command: Unblock-file -Path InsertFilePathHere
Make sure to replace InsertFilePathHere
with the file path of where your server is installed.
After running this command, the start script should work again. If not, use the guides below.
Alternative to Self Hosting
If you'd like all of this to be handled for you with some of the best hardware available, we suggest hosting a server on Bisect.
Approximately $10 - $25 a month depending on what plan you choose. You can also get 25% off with code LunaPixel
.
Go to our Bisect page and order a plan which fits you. We suggest 1GB per player but nothing lower than 4GB as the server needs at least 3GB to run.