Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/by1337/bnms-plugin

A maven plugin for using NMS on paper <=1.16.5 with Mojang mappings.
https://github.com/by1337/bnms-plugin

Last synced: about 1 month ago
JSON representation

A maven plugin for using NMS on paper <=1.16.5 with Mojang mappings.

Awesome Lists containing this project

README

        

# Bnms-plugin

This plugin adds support for Paper NMS using Mojang mappings for versions 1.16.5 and below.

## Version Support

The plugin is designed for version 1.16.5 but also supports older versions. For example, a remapped 1.14.4 server may not run, whereas 1.16.5 runs stably.

## Remapped Server

The remapped server can be found at:
```
C:\Users\user\.m2\repository\org\by1337\nms\paper-nms\1.16.5\paper-nms-1.16.5.jar
```

## What Does This Plugin Remap?

- All libraries from `org/bukkit/craftbukkit/libs/` to `'/'` such as `org/apache`
- `org/bukkit/craftbukkit/v1_16_R3/` to `org/bukkit/craftbukkit/`
- Restores the original NMS structure

## Installation

First, add this plugin to your `pom.xml`:
```xml



by1337-repo
https://repo.by1337.space/repository/maven-releases/




org.by1337.bnms
bnms-plugin
1.3.1

1.16.5



package

remap







org.by1337.nms
paper-nms
1.16.5
provided

```

### Preparing the Local Repository

Initially, `paper-nms` will not be in your local repository. To fix this, follow these steps:

1. ![step_1.png](img%2Fstep_1.png)
2. ![step_2.png](img%2Fstep_2.png)

After this, the plugin will perform the necessary actions, and `paper-nms` will appear in your local repository.

## Task Descriptions

### `remap`

Takes the latest build from the `target` folder and remaps it to Spigot mappings.

### `spigot-to-mojang`

This task is more interesting. If you already have a lot of code on Spigot mappings, you can run this task, and the plugin will take the latest build from the `target` folder, remap it to Mojang mappings, and you just need to decompile it and transfer it to the source code.

Follow these instructions to successfully install and use the Bnms-plugin. If you have any questions or issues, feel free to reach out in the issues section.