Skip to content

Commit

Permalink
1.8 (#13)
Browse files Browse the repository at this point in the history
* License Updated

* Bump json from 20220924 to 20230227 (#10)

* License Updated (#9)

* Bump json from 20220924 to 20230227

Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220924 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: xSavior_of_God <66216419+xSavior-of-God@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Started development to support Folia

WIP

* scheduler manager - part#1

* Update pom.xml

Fix for Denial of Service in JSON-Java (dependabot)

* 1.21.x and Folia Support

- Solved #12
- Possible option for #3
- Added Folia Support
- Now the piston works if there are armorstands in the same chunk (see new config option)
- Limit Check optimization
- Added "/asl clear" command
- NOW ALL TIMERS ARE IN SECONDS, Min value is 10!

* updated CI/CD java version to 22

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
xSavior-of-God and dependabot[bot] authored Aug 15, 2024
1 parent 580cbac commit 1f1518a
Show file tree
Hide file tree
Showing 19 changed files with 1,308 additions and 520 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 22
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 22
- name: Cache Maven packages
uses: actions/cache@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 22
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 22
- name: Cache Maven packages
uses: actions/cache@v2
with:
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/codeql.yml

This file was deleted.

17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ArmorStand-Limiter

![Java CI with Maven](https://github.com/xSavior-of-God/ArmorStand-Limiter/workflows/Java%20CI%20with%20Maven/badge.svg?branch=main)
![CD](https://github.com/xSavior-of-God/ArmorStand-Limiter/actions/workflows/cd.yml/badge.svg?branch=master&description=Cas)
![SpigotMC downloads](https://img.shields.io/badge/dynamic/json?color=orange&label=SpigotMC%20Downloads&query=stats.downloads&url=https%3A%2F%2Fapi.spigotmc.org%2Fsimple%2F0.1%2Findex.php%3Faction%3DgetResource%26id%3D86706&style=for-the-badge&logo=googleanalytics)

allows you to limit armor stands, so you can fix TPS drops caused by a high number of ArmorStands in your server!
Can be used in all modalities and is fully and easily configurable thanks to its intuitive configuration file.
Expand All @@ -23,11 +24,12 @@ picture
* Check TPS status and if too low check and remove the Armor Stands in a sigle block or chunk ( this check is also
performed only on loaded chunks )
* Ability to limit players to placing a maximum of Armor Stands per chunk
* Ability to disable that the Armor Stand can be moved by the pistons or blocks connected to it
* Ability to disable that Armor Stand can move in the water
* Ability to disable that the Armor Stand can be moved by the pistons or blocks connected to it depending on the number of same chunk Armor Stands
* Ability to disable that Armor Stand can move in the water depending on the number of same chunk Armor Stands
* Ability to disable that Armor Stand can be spawned through dispensers
* Customized notification ( inGame, Discord, Telegram and Console ) of when Armor Stands are removed due to limit
violation
* [NEW] Folia Support!
* No Dependency!
* Open Source!

Expand All @@ -43,8 +45,15 @@ picture
* **/asl** - *Simple reload of the config file (Perms: `armostandlimiter.reload`)*
* **/asl check <chunk>** - *Simple command to control how many Armor Stands there are in a chunk or location in the
world (Perms: `armostandlimiter.check`)*
* **/asl clear <chunk>** - *Simple command to remove all Armor Stands there are in a chunk or location in the
world (Perms: `armostandlimiter.check`)*
* **/asl test** - *Simple command to test the notifications (Perms: `armostandlimiter.test`)*

## Stats
[![Stats](https://bstats.org/signatures/bukkit/ArmorStand-Limiter.svg)](https://bstats.org/plugin/bukkit/ArmorStand-Limiter/17051)



# Support

[![support image](https://www.heroxwar.com/discordLogo.png)](https://discord.gg/5GqJbRw)
Expand All @@ -53,4 +62,4 @@ picture

# Download

[![Spigotmc](https://static.spigotmc.org/img/spigot.png)](https://www.spigotmc.org/resources/armorstand-limiter.86706/) [![mc-market](https://pbs.twimg.com/profile_images/1557308606579556352/suzgxeGs_200x200.jpg)](https://builtbybit.com/resources/18303/)
[![Spigotmc](https://static.spigotmc.org/img/spigot.png)](https://www.spigotmc.org/resources/armorstand-limiter.86706/) [![mc-market](https://pbs.twimg.com/profile_images/1557308606579556352/suzgxeGs_200x200.jpg)](https://builtbybit.com/resources/18303/) [![hangar](https://avatars.githubusercontent.com/u/86071345?s=200&v=4)](https://hangar.papermc.io/xSavior_of_God/ArmorStand-Limiter) [![modrinth](https://avatars.githubusercontent.com/u/67560307?s=200&v=4)](https://modrinth.com/plugin/armorstand-limiter)
18 changes: 14 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<groupId>com.xSavior_of_God</groupId>
<artifactId>ArmorStand-Limiter</artifactId>
<modelVersion>4.0.0</modelVersion>
<version>1.7</version>
<version>1.8</version>
<build>
<finalName>ArmorStand-Limiter v${project.version}</finalName>
<defaultGoal>clean package</defaultGoal>
Expand Down Expand Up @@ -114,6 +114,10 @@
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/
</url>
</repository>
<repository>
<id>paper-repo</id> <!-- Folia -->
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<repository> <!-- Json API -->
<id>mvn</id>
<url>https://mvnrepository.com/artifact/org.json/json</url>
Expand All @@ -129,20 +133,26 @@
<dependency>
<groupId>com.ticxo.modelengine</groupId>
<artifactId>api</artifactId>
<version>R3.1.6</version>
<version>R3.1.11</version>
<systemPath>${basedir}/lib/ModelEngineAPI-R3.1.6.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<groupId>dev.folia</groupId>
<artifactId>folia-api</artifactId>
<version>1.20.6-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19.4-R0.1-SNAPSHOT</version>
<version>1.21.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20220924</version>
<version>20231013</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Loading

0 comments on commit 1f1518a

Please sign in to comment.