Pore is a plugin for the up-and-coming SpongeAPI built to provide compatibility for Bukkit plugins on the platform. Please note that this project is still under heavy development and is not yet considered functional. Currently, no Bukkit plugins are verified to be supported.
Gradle is used to handle dependencies.
- Clone the repo:
git clone https://github.com/LapisBlue/Pore.git
- Navigate to the new directory:
cd Pore
- Compile the project using the Gradle wrapper:
./gradlew
(gradlew
on Windows)
You can run and debug Pore directly in your IDE if you setup your workspace like described in the following steps:
- Setup the Pore project as described in Plugin Debugging and Hotswapping (SpongeDocs)
- 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
- Run the server as usual. Pore should load and you should be able to debug in your IDE.
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:
- Open
File
->Settings
->Build, Execution, and Deployment
->Compiler
->Annotation Processors
. - Click the
Add
(plus) button and name the new profilePore AP
. - Click the
Pore
module under theDefault
profile and click theMove to
button to move it to thePore AP
profile. - In the
Processor FQ Name
pane, click theAdd
button and enter the following:blue.lapis.pore.event.EventProcessor
- Click
Apply
. The processor will be run when the project is rebuilt (Build
->Rebuild Project
).
Have an issue or a question about Pore? No problem! Feel free to ask in #lapis on EsperNet.
Pore's source code is made available under the MIT license. You may do as you wish with the source within its bounds.
.patch
files for Bukkit are made available under the GPLv3.
Pore's distribution is made available under the GPLv3.