Skip to content

Fork of the Minecraft server software "Paper"

License

Notifications You must be signed in to change notification settings

LordSpigot/LumiPaper

 
 

Repository files navigation

LumiPaper

License

The PATCHES-LICENSE.txt file describes the license for api, mojangapi, and server patches, found in ./patches/api, ./patches/mojangapi, and ./patches/server.

Keep patch author tags, even if porting single patches. Use co-authored if necessary.

Plugin developers

In order to use Paper as a dependency you must following the steps laid out in Building and setting up and build paper. Each time you want to update your dependency you must re-build paper.

LumiPaper-API maven dependency:

<dependency>
    <groupId>net.luminu.paper</groupId>
    <artifactId>paper-api</artifactId>
    <version>1.15.2-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
 </dependency>

LumiPaper-Server maven dependency:

<dependency>
   <groupId>net.luminu.paper</groupId>
   <artifactId>paper</artifactId>
   <version>1.15.2-R0.1-SNAPSHOT</version>
   <scope>provided</scope>
</dependency>

There is no repository required since the artifacts should be locally installed via building paper.

Building and setting up

Run the following commands in the root directory:

git submodule init
git submodule update
./lumi up
./lumi patch

This should initialize the repo such that you can now start modifying and creating patches. The folder LumiPaper-API is the api repo and the LumiPaper-Server folder is the server repo and will contain the source files you will modify.

Creating a patch

Patches are effectively just commits in either LumiPaper-API or LumiPaper-Server. To create one, just add a commit to either repo and run ./lumi rb, and a patch will be placed in the patches folder. Modifying commits will also modify its corresponding patch file.

Building

Use the command ./lumi build to build the api and server. Compiled jars will be placed under LumiPaper-API/target and LumiPaper-Server/target.

About

Fork of the Minecraft server software "Paper"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%