Spigot server configuration template.
- Download the latest release from here and extract the zip file into a new folder.
- Get spigot jar file from here(for begginers) or download it using BuildTools(if you are familiar with terminal commands you have pasion)
- Put the jar file in the the folder containing the extracted files.
- Edit the
start.bat
(orstart.sh
in linux) file according to the downloaded jar file.
@echo off
title Server Console
java -Xmx1G -jar <jar-file-name>.jar nogui
PAUSE
#!/bin/sh
java -Xms4G -Xmx4G -XX:+UseG1GC -jar "spigot-1.18.2.jar" nogui
Note that if you are using Spigot 1.18.1, you don't need to edit this file.
- Open a terminal and run the
run.bat
from there. - After server stoped open and edit the created file
eula.txt
, set it totrue
. - Do the 3rd step step and wait for the server to be runned.
- Connect to the ip:
localhost
in minecraft game.
Optional:
- Open the
bukkit.yml
and setallow-end=false
. It makes fast in the startup and runtime. More optimization?
Other tutorials:
- https://www.spigotmc.org/wiki/spigot-installation/
- https://www.youtube.com/watch?v=lNp4I-600wo
- https://minecraft.fandom.com/wiki/Tutorials/Setting_up_a_Spigot_server
- Download Intellij IDEA
- Open it and get the Minecraft Development plugin
- Create a new project, using the Minecraft template in the new project window.
- Select Spigot
- Fill the necessary fileds and choose the minecraft version. (1.18.1 recommended)
- Finish the new project wizard.
Now you can write plugins for minecraft. Useful links: