Code Monkey home page Code Monkey logo

pore's Introduction

Pore travis badge

2016/04/19: Pore is officially discontinued. Read more here.


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.

Running Pore on Your Sponge Server

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

  1. Back up your existing system.
  2. Install Sponge, detailed instructions can be found here .
  3. Copy the Pore Snapshot into your server's mods directory.
  4. Make a bukkit-plugins directory in your server's base directory.
  5. Copy any of the plugins you want to try into the bukkit-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/LapisBlue/Pore.git
  • Navigate to the new directory: cd Pore
  • 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 Pore project as described in Plugin Debugging and Hotswapping (SpongeDocs)
  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. Pore 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 Pore? No problem! Feel free to ask in #lapis on EsperNet.

Licensing

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.

pore's People

Contributors

stephan-gh avatar caseif avatar russjr08 avatar maxov avatar molenzwiebel avatar jamierocks avatar aaron1011 avatar kailan avatar fkberthold avatar jbyoshi avatar lamp-post avatar formallymyles avatar phase avatar

Watchers

James Cloos avatar Bryan Hunter avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.