-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
161 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
# osbuddy-community [![Discord](https://img.shields.io/discord/177282798799945729.svg)](https://discord.gg/osbuddy) | ||
The OSBuddy Community API enables free, open source plugin development for OldSchool RuneScape. | ||
|
||
Plugins merged into this repository will be made freely available for install via the Community tab of the OSBuddy client from 23rd May onwards. | ||
Plugins merged into this repository will be made freely available for install via the Community tab of the OSBuddy client. | ||
|
||
## Building a plugin | ||
Your plugins must be built against the latest API, which can be built from source via the /api directory in this repository, or obtained from the [GitHub releases](https://github.com/RSBuddy/osbuddy-community/releases). | ||
An example plugin is provided which shows other typical dependencies, which are managed using gradle. We suggest using IntelliJ IDEA to import the gradle project. | ||
|
||
**This repository is currently a beta release until the OSBuddy update on 23rd May which will introduce the first community plugins. Please join us on Discord [#development](https://discord.gg/qqstZnZ) if you're interested in using the API at this stage.** | ||
## Setting up the project | ||
This is an initial commit, please check back shortly. | ||
## Creating a plugin | ||
This is an initial commit, please check back shortly. | ||
Make sure you have run OSBuddy so that you have an OSBuddy folder in your user directory. This will contain loader.jar, which you will need to your plugin project's class path so that you can run your plugin. | ||
|
||
To run your plugin (we recommend launching in Debug mode), launch the main class com.osbuddy.loader.Loader with the following VM arguments: | ||
``` | ||
-Dplugin-classpath=out/production/classes | ||
-Dplugin-resources=out/production/resources | ||
-Dnofork=true | ||
-Ddev=true | ||
-Xmx512m | ||
``` | ||
|
||
Your classpath and resources directories may differ depending on how you are building your code. | ||
|
||
## Contributions | ||
We will accept merge requests for contributions that match our [LICENSE](https://github.com/rsbuddy/osbuddy-community/LICENSE), and our contribution guidelines that will be made available here shortly. | ||
We will accept merge requests for contributions that match the permissive [LICENSE](https://github.com/rsbuddy/osbuddy-community/LICENSE) used in this repository. Further guidelines that will be made available here shortly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ plugins { | |
} | ||
|
||
group 'com.rsbuddy.osrs' | ||
version '1.0-SNAPSHOT' | ||
version '1.0' | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.rsbuddy.osrs.game.ui; | ||
|
||
public enum PaintHook { | ||
CLIENT, | ||
TLI, | ||
WORLD, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.rsbuddy.osrs.game.ui; | ||
|
||
import java.awt.Graphics2D; | ||
|
||
public interface Paintable { | ||
|
||
void paint(final Graphics2D g); | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters