Skip to content

Commit

Permalink
Update README and build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
froobynooby committed Apr 28, 2024
1 parent 34fb975 commit 8a52e26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up NabConfiguration JDK
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'

- name: Check out NabConfiguration
uses: actions/checkout@v2
with:
repository: froobynooby/nab-configuration

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Install NabConfiguration
run: ./gradlew install

- name: Set up FarmControl JDK
uses: actions/setup-java@v2
with:
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,18 @@ FarmControl is a Bukkit plugin that allows you to control certain properties of
* Disable breeding in oversized animal farms and villager breeders.
* Reduce unnecessary random movement within mob farms.
* Disable the AI of mobs in farms.
* Limit the number of mobs allowed in a farm.
* Limit the number of entities allowed in an area.
* Highly configurable - allowing you to tailor the plugin to your needs.
* Low impact - with the brunt of the plugin's processing performed asynchronously.

## Building
If you would like to build the plugin yourself you can follow these steps.

1\. Install dependency NabConfiguration to maven local
```bash
git clone https://github.com/froobynooby/nab-configuration
cd nab-configuration
./gradlew clean install
```
2\. Clone FarmControl and build
1\. Clone FarmControl and build
```bash
git clone https://github.com/froobynooby/FarmControl
cd FarmControl
./gradlew clean build
```

3\. Find jar in `FarmControl/build/libs`
2\. Find jar in `FarmControl/build/libs`

0 comments on commit 8a52e26

Please sign in to comment.