apnit / SpigotTemplate

Spigot server configuration template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpigotTemplate

Spigot server configuration template.

Setup Server

  1. Download the latest release from here and extract the zip file into a new folder.
  2. Get spigot jar file from here(for begginers) or download it using BuildTools(if you are familiar with terminal commands you have pasion)
  3. Put the jar file in the the folder containing the extracted files.
  4. Edit the start.bat (or start.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.

  1. Open a terminal and run the run.bat from there.
  2. After server stoped open and edit the created file eula.txt, set it to true.
  3. Do the 3rd step step and wait for the server to be runned.
  4. Connect to the ip: localhost in minecraft game.

Optional:

  1. Open the bukkit.yml and set allow-end=false. It makes fast in the startup and runtime. More optimization?

Other tutorials:

Setup Development Environment

  1. Download Intellij IDEA
  2. Open it and get the Minecraft Development plugin
  3. Create a new project, using the Minecraft template in the new project window.
  4. Select Spigot
  5. Fill the necessary fileds and choose the minecraft version. (1.18.1 recommended)
  6. Finish the new project wizard.

Now you can write plugins for minecraft. Useful links:

About

Spigot server configuration template.


Languages

Language:Shell 54.0%Language:Batchfile 46.0%