Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 1.20.2 support, SEPARATE_ARENA_SPECTATORS, kits.yml early mechanic | Fixed player chat issue & more #32

Merged
merged 43 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
617b19d
Bump version from 1.3.1 to 1.3.1-SNAPSHOT0
Aug 9, 2023
610e897
Fixed doubled statistics, which result in 0 placeholders
Tigerpanzer02 Aug 9, 2023
ac0c7b4
Bump version from 1.3.1-SNAPSHOT0 to 1.3.1-SNAPSHOT1
Aug 9, 2023
37fa1d2
Merge remote-tracking branch 'origin/development' into development
Tigerpanzer02 Aug 9, 2023
c628712
Bump version from 1.3.2 to 1.3.2-SNAPSHOT0
Aug 9, 2023
47f1423
Merge remote-tracking branch 'origin/development' into development
Tigerpanzer02 Aug 9, 2023
4fd6399
Fixed bossbar did not disable (config option)
Tigerpanzer02 Aug 11, 2023
2512cb3
added default poms for maven building
Tigerpanzer02 Aug 11, 2023
d483a21
Bump version from 1.3.2-SNAPSHOT0 to 1.3.2-SNAPSHOT1
Aug 11, 2023
d128715
fixed rewards enabling
Tigerpanzer02 Aug 11, 2023
fd39d0f
Bump version from 1.3.2-SNAPSHOT1 to 1.3.2-SNAPSHOT2
Aug 11, 2023
e48be3c
Fixed locale registration if services are unavailable
Tigerpanzer02 Sep 14, 2023
8e412c3
fixed version
Tigerpanzer02 Sep 14, 2023
8745c89
Bump version from 1.3.2-SNAPSHOT2 to 1.3.2-SNAPSHOT3
Sep 14, 2023
cddbe4f
Added SEPARATE_ARENA_SPECTATORS
Tigerpanzer02 Sep 14, 2023
4fb3357
Bump version from 1.3.2-SNAPSHOT3 to 1.3.2-SNAPSHOT4
Sep 14, 2023
8fc77d2
Fixed NPE on command usage /pluginindicator stop
Tigerpanzer02 Oct 10, 2023
9c6814f
Bump version from 1.3.2-SNAPSHOT4 to 1.3.2-SNAPSHOT5
Oct 10, 2023
d43d6f9
Support 1.20.2
Tigerpanzer02 Oct 10, 2023
f739b36
Bump version from 1.3.2-SNAPSHOT5 to 1.3.2-SNAPSHOT6
Oct 10, 2023
8b0f3a6
prepared kits.yml file upgrade
Tigerpanzer02 Oct 10, 2023
7b70817
Bump version from 1.3.2-SNAPSHOT6 to 1.3.2-SNAPSHOT7
Oct 10, 2023
71031a1
Kit editing (#31)
Lagggpixel Oct 10, 2023
fb4aa8a
Bump version from 1.3.2-SNAPSHOT13 to 1.3.2-SNAPSHOT14
Oct 10, 2023
316d120
Added method to move full hologramarmorstand
Tigerpanzer02 Oct 12, 2023
945a1b8
Merge remote-tracking branch 'origin/development' into development
Tigerpanzer02 Oct 12, 2023
ec82cd2
Bump version from 1.3.2-SNAPSHOT14 to 1.3.2-SNAPSHOT15
Oct 12, 2023
66e36e3
Fixed kits startup issues
Tigerpanzer02 Oct 15, 2023
ebe72af
Added kits description
Tigerpanzer02 Oct 15, 2023
da00ac5
Added KitAction NO_AMOUR
Tigerpanzer02 Oct 15, 2023
1468bf6
Fixed kit name and lore on kitmenu
Tigerpanzer02 Oct 15, 2023
2320976
Fixed colour on KitMenuItems
Tigerpanzer02 Oct 15, 2023
4d8763f
Bump version from 1.3.2-SNAPSHOT15 to 1.3.2-SNAPSHOT16
Oct 15, 2023
6d8b8e5
Fixed player name on chat is removed while PAPI enabled
Tigerpanzer02 Oct 16, 2023
62b3072
Bump version from 1.3.2-SNAPSHOT16 to 1.3.2-SNAPSHOT17
Oct 16, 2023
ad6ac30
Fixed SelectKitArgument showing for plugins without kits
Tigerpanzer02 Oct 19, 2023
7ece6a3
Bump version from 1.3.2-SNAPSHOT17 to 1.3.2-SNAPSHOT18
Oct 19, 2023
99ac4d2
Moved KitAction to KitAbility
Tigerpanzer02 Oct 25, 2023
b53831d
Added kit restock method, should be used with optional configuration
Tigerpanzer02 Oct 25, 2023
ef79004
Allow plugin specific KitAbilities
Tigerpanzer02 Oct 25, 2023
9ca0c52
Bump version from 1.3.2-SNAPSHOT18 to 1.3.2-SNAPSHOT19
Oct 25, 2023
cb9478d
Renamed actions to abilities in kits.yml
Tigerpanzer02 Oct 25, 2023
e3fbd3a
Bump version from 1.3.2-SNAPSHOT19 to 1.3.2-SNAPSHOT20
Oct 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
### 1.3.3 Release (16.10.2023)
* Added 1.20.2 support
* Added kits.yml mechanic
* Added SEPARATE_ARENA_SPECTATORS to adjust the chat for spectators to be on there own
* Changed config value Separate-Arena-Chat to Chat.Separate.Arena
* Fixed rewards enabling
* Fixed bossbar disable
* Fixed locale registration if services are unavailable
* Fixed player name on chat is removed while PAPI enabled
* Fixed NPE on command usage /pluginindicator stop

### 1.3.2 Release (09.08.2023)
* Fixed placeholders of core statistics found on StatisticType
* Fixed placeholders of core statistics found on StatisticType

### 1.0.0 Initial Release (2023)
* Added paged fast inv
* Added some more methods to itembuilder
* Refactored code
* It's now possible to configure more arena timings such as shorten waiting and restarting
* Powerups don't need HolographicDisplays anymore
* language.properties files are depreciated and all files are now yml
* General file overhaul
* Specialitems can now have rewards and permissions
* Its possible to add own specialitems on different stages
* Refactored messages and language.yml
* Removed some static methods
* Made it plugin unspecific to allow the core to work on its own with variables
* Added arena timer placeholder
* All stat placeholder will now automatically also registered with papi
* Added permissions.yml with custom permissions such as exp boost
* Refactored spectator gui to match functions from hypixel
(speed, nightvision, auto teleport, first person mode, visibility)
* Its possible to add more items into spectator settings menu (own permissions and commands supported)
226 changes: 226 additions & 0 deletions .github/maven/classic/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ MiniGamesBox - Library box with massive content that could be seen as minigames core.
~ Copyright (C) 2023 Plugily Projects - maintained by Tigerpanzer_02 and contributors
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>minigamesbox</artifactId>
<groupId>plugily.projects</groupId>
<version>1.3.2-java8</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>MiniGamesBox-Classic</artifactId>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<repositories>
<repository>
<id>mojang-repo</id>
<url>https://libraries.minecraft.net/</url>
</repository>
<repository>
<id>simonsators-repo</id>
<url>https://simonsator.de/repo/</url>
</repository>
<repository>
<id>alessiodp-repo</id>
<url>https://repo.alessiodp.com/releases/</url>
</repository>
<repository>
<id>plugilyprojects-repo</id>
<url>https://maven.plugily.xyz/releases</url>
</repository>
<repository>
<id>papi-repo</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.mojang</groupId>
<artifactId>authlib</artifactId>
<version>2.3.31</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.tigerhix.lib</groupId>
<artifactId>scoreboard</artifactId>
<version>1.4.0</version>
<scope>compile</scope>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>9.4.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>de.simonsator</groupId>
<artifactId>DevelopmentPAFSpigot</artifactId>
<version>1.0.67</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.simonsator</groupId>
<artifactId>Party-and-Friends-MySQL-Edition-Spigot-API</artifactId>
<version>1.5.4-RELEASE</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.simonsator</groupId>
<artifactId>Spigot-Party-API-For-RedisBungee</artifactId>
<version>1.0.3-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alessiodp.parties</groupId>
<artifactId>parties-api</artifactId>
<version>3.2.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>plugily.projects</groupId>
<artifactId>MiniGamesBox-Inventory</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>plugily.projects</groupId>
<artifactId>MiniGamesBox-Utils</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>plugily.projects</groupId>
<artifactId>MiniGamesBox-Database</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.11.2</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.9.0</version>
<scope>compile</scope>
</dependency>
<!-- Paper Lib-->
<dependency>
<groupId>io.papermc</groupId>
<artifactId>paperlib</artifactId>
<version>1.0.7</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<windowtitle>MiniGamesBox Classic API docs for v${project.version}</windowtitle>
<description>Library box with massive content that could be seen as minigames core.</description>
<destDir>minecraft/minigamesbox/classic</destDir>
<isOffline>false</isOffline>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<relocations>
<relocation>
<pattern>com.cryptomorin.xseries.particles</pattern>
<shadedPattern>plugily.projects.minigamesbox.classic.utils.version.xseries</shadedPattern>
</relocation>
<relocation>
<pattern>com.cryptomorin.xseries</pattern>
<shadedPattern>plugily.projects.minigamesbox.classic.utils.version.xseries</shadedPattern>
</relocation>
<relocation>
<pattern>me.tigerhix.lib.scoreboard</pattern>
<shadedPattern>plugily.projects.minigamesbox.classic.utils.scoreboard</shadedPattern>
</relocation>
<relocation>
<pattern>fr.mrmicky.fastinv</pattern>
<shadedPattern>plugily.projects.minigamesbox.inventory.utils.fastinv</shadedPattern>
</relocation>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>plugily.projects.minigamesbox.classic.utils.bstats</shadedPattern>
</relocation>
<relocation>
<pattern>io.papermc.lib</pattern>
<shadedPattern>plugily.projects.minigamesbox.classic.utils.paperlib</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>3.5.2</version>
</extension>
</extensions>
</build>
</project>
71 changes: 71 additions & 0 deletions .github/maven/database/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ MiniGamesBox - Library box with massive content that could be seen as minigames core.
~ Copyright (C) 2023 Plugily Projects - maintained by Tigerpanzer_02 and contributors
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>minigamesbox</artifactId>
<groupId>plugily.projects</groupId>
<version>1.3.2-java8</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>MiniGamesBox-Database</artifactId>


<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
<!-- https://mvnrepository.com/artifact/com.zaxxer/HikariCP -->
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>4.0.3</version>
</dependency>

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<windowtitle>MiniGamesBox Inventory API docs for v${project.version}</windowtitle>
<description>Library box with massive content that could be seen as minigames core.</description>
<destDir>minecraft/minigamesbox/inventory</destDir>
<isOffline>false</isOffline>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>3.5.2</version>
</extension>
</extensions>
</build>
</project>
Loading