Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IceSoulHanxi authored May 22, 2018
1 parent 70422cc commit 3c44888
Showing 1 changed file with 9 additions and 72 deletions.
81 changes: 9 additions & 72 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,9 @@
# Pore Returned [![Build Status](https://jenkins.maxqia.com/job/PoreRT/badge/icon)](https://jenkins.maxqia.com/job/PoreRT/)

Pore was a plugin for the up-and-coming SpongeAPI built to provide compatibility for Bukkit plugins on the platform.
This is a continuation of Pore to add more features and update it for 1.10 (and beyond hopefully).
Please note that this project is still under heavy development and **is not yet considered functional**. The [statuses of plugins](https://github.com/Maxqia/PoreRT/wiki/Statuses-of-Plugins) wiki page has the statuses of some of the plugins I've tested. If you have a plugin that you would like to be supported and currently doesn't work correctly, please file an issue [here](https://github.com/Maxqia/PoreRT/issues).

## Running PoreRT on Your Sponge Server
<sup>**Warning** : The "bukkit-plugins" directory from previous versions of Pore has been moved to the "plugins" directory</sup>

If you like living on the bleeding edge and want to give Pore a try:

1. Back up your existing system.
2. Install [Sponge](https://www.spongepowered.org/), detailed instructions can be found [here](https://docs.spongepowered.org/en/server/getting-started/) .
3. Copy the [PoreRT Snapshot](https://jenkins.maxqia.com/job/PoreRT/lastSuccessfulBuild/) into your server's `mods` directory.
4. Make a `plugins` directory in your server's base directory.
5. Copy any of the plugins you want to try into the `plugins` directory.

When you spin up your server look for messages like:

```
[STDERR/sponge]: [name.richardson.james.bukkit.utilities.plugin.AbstractPlugin:onEnable:118]: org.apache.commons.lang3.NotImplementedException: TODO
```

These aren't an indication that a feature is broken, but that a feature needed for the plugin you're loading hasn't been implemented yet.

## Compilation

Gradle is used to handle dependencies.

- Clone the repo: `git clone https://github.com/Maxqia/PoreRT.git`
- Navigate to the new directory: `cd PoreRT`
- Update the Submodules: `git submodule update --init --recursive`
- Compile the project using the Gradle wrapper: `./gradlew` (`gradlew` on Windows)

## Running

You can run and debug Pore directly in your IDE if you setup your workspace like described in the following steps:

1. Setup the PoreRT project as described in
[Plugin Debugging and Hotswapping (SpongeDocs)](https://docs.spongepowered.org/en/plugin/debugging.html)
2. Create a **new** run configuration with the same settings as described in the link above, but add this as a program
argument: `--tweakClass blue.lapis.pore.tweaker.RemapTweaker`
3. Run the server as usual. PoreRT should load and you should be able to debug in your IDE.

### Configuring the annotation processor

Pore uses an annotation processor for event registration. It will be run by the Gradle wrapper by default and IDEA when
the project is first built, but if you wish to make changes to event registration, the IDE must be configured to run it
on project rebuild. If you don't know what event registration means, skip this step.

For IntelliJ IDEA:

1. Open `File`->`Settings`->`Build, Execution, and Deployment`->`Compiler`->`Annotation Processors`.
2. Click the `Add` (plus) button and name the new profile `Pore AP`.
3. Click the `Pore` module under the `Default` profile and click the `Move to` button to move it to the `Pore AP`
profile.
4. In the `Processor FQ Name` pane, click the `Add` button and enter the following:
`blue.lapis.pore.event.EventProcessor`
5. Click `Apply`. The processor will be run when the project is rebuilt (`Build`->`Rebuild Project`).

## Questions?

Have an issue or a question about PoreRT? No problem! Feel free to ask in #lapis on EsperNet.

## Licensing

PoreRT's source code is made available under the [MIT](http://opensource.org/licenses/MIT) and [AGPLv3](https://opensource.org/licenses/AGPL-3.0) licenses.
You may do as you wish with the source within its bounds.

`.patch` files for Bukkit are made available under the [GPLv3](http://opensource.org/licenses/gpl-3.0.html).

PoreRT's distribution is made available under the [AGPLv3](https://opensource.org/licenses/AGPL-3.0).
# Pore Returned
## 此插件随缘更新
## 特别兼容列表
1. Ymer     (已完成)
2. RPGItem     (正在兼容中)
3. ProtocolLib  
## 感谢所有对此项目提供帮助的人
有建议或意见还有Bug请加群啦
[点此加群](https://jq.qq.com/?_wv=1027&k=5EC5Hij "纳你进群")

0 comments on commit 3c44888

Please sign in to comment.