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

Update JDA from deprecated 3.x to latest build. #151

Open
wants to merge 14 commits into
base: 1.6.x
Choose a base branch
from
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# SaberFactions
<center>
<a href="https://www.spigotmc.org/resources/saberfactions-1-8-1-15-the-complete-factions-solution.69771/"><img src="https://i.imgur.com/HMgdPGP.png"></a>
</center>

![Downloads](https://img.shields.io/github/downloads/driftay/saber-factions/total.svg) [![CodeFactor](https://www.codefactor.io/repository/github/driftay/saber-factions/badge)](https://www.codefactor.io/repository/github/driftay/saber-factions) [![License](https://img.shields.io/badge/license-GNU%20General%20Public%20License%20v3.0-brightgreen)](https://github.com/SaberLLC/Saber-Factions/blob/1.6.x/LICENSE) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/SaberLLC/Saber-Factions) [![](https://jitpack.io/v/SaberLLC/Saber-Factions.svg)](https://jitpack.io/#SaberLLC/Saber-Factions)


SaberFactions is an exotic, performance optimized, and feature rich factions plugin that focuses on not only making the player experience as great as possibly but maintaining this aspect with the cost of NOTHING! We strive to continue development for SaberFactions as the factions community is strongly growing and seeking new players every day.

## Some Exciting Features
<left>
<a href="https://www.spigotmc.org/resources/saberfactions-1-8-1-15-the-complete-factions-solution.69771/"><img src="https://i.imgur.com/KHX4SwR.png"></a>
</left>

Some of our features include the following

* Factions Grace Period - Deny Raiding Between Factions Temporarily
Expand All @@ -20,8 +25,13 @@ Some of our features include the following
* Faction Audit - A full based logging system (GUI designed) to see every aspect of what happens in your faction!
* Factions Check System - An automated check system that alerts players when to check walls/buffers!
* Faction Reserves - A system designed to reserve a specific faction name for a specific player!
* Faction Invsee - Allow Faction Members to see each others inventories!
* Factions Missions - Quest based system to allow players to do missions for in-game rewards!

<left>
<a href="https://www.spigotmc.org/resources/saberfactions-1-8-1-15-the-complete-factions-solution.69771/"><img src="https://i.imgur.com/cL8vejT.png"></a>
</left>

## Dependency With Maven
```
<repositories>
<repository>
Expand All @@ -36,12 +46,17 @@ Some of our features include the following
<version>2.3.3-STABLE</version>
</dependency>
```
## Moving Forward
<left>
<a href="https://www.spigotmc.org/resources/saberfactions-1-8-1-15-the-complete-factions-solution.69771/"><img src="https://i.imgur.com/Nye6EuK.png"></a>
</left>

Moving forward we plan to take all suggestions into consideration, as they come from our community.
We Plan on Releasing the latest and greatest factions/skyblock/prison plugins minecraft has to offer and wont settle for anything less

## Support
<left>
<a href="https://www.spigotmc.org/resources/saberfactions-1-8-1-15-the-complete-factions-solution.69771/"><img src="https://i.imgur.com/CyshdE9.png"></a>
</left>

Have a problem, question, or concer? We encourage our community to join and express any inquiry you may have
https://discord.saber.pw

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.massivecraft</groupId>
<artifactId>Factions</artifactId>
<version>1.6.9.5-2.3.9-RC</version>
<version>1.6.9.5-2.4.1-RC</version>
<packaging>jar</packaging>

<name>SaberFactions</name>
Expand Down Expand Up @@ -198,7 +198,7 @@
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>3.8.3_463</version>
<version>4.2.0_214</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -500,4 +500,4 @@
<url>file://${project.basedir}/mvn-repo</url>
</repository>
</distributionManagement>
</project>
</project>
2 changes: 1 addition & 1 deletion src/main/java/com/massivecraft/factions/Conf.java
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ public class Conf {
safeZoneNerfedCreatureTypes.add(EntityType.ENDERMAN);
safeZoneNerfedCreatureTypes.add(EntityType.GHAST);
safeZoneNerfedCreatureTypes.add(EntityType.MAGMA_CUBE);
safeZoneNerfedCreatureTypes.add(EntityType.PIG_ZOMBIE);
if (!FactionsPlugin.getInstance().mc116) safeZoneNerfedCreatureTypes.add(EntityType.PIG_ZOMBIE);
safeZoneNerfedCreatureTypes.add(EntityType.SILVERFISH);
safeZoneNerfedCreatureTypes.add(EntityType.SKELETON);
safeZoneNerfedCreatureTypes.add(EntityType.SPIDER);
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/com/massivecraft/factions/FactionsPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public class FactionsPlugin extends MPlugin {
public boolean mc113 = false;
public boolean mc114 = false;
public boolean mc115 = false;
public boolean mc116 = false;
public boolean useNonPacketParticles = false;
public List<String> itemList = getConfig().getStringList("fchest.Items-Not-Allowed");
SkriptAddon skriptAddon;
Expand Down Expand Up @@ -167,6 +168,10 @@ public void onEnable() {
FactionsPlugin.instance.log("Minecraft Version 1.15 found.");
mc115 = true;
break;
case 16:
FactionsPlugin.instance.log("Minecraft Version 1.16 found.");
mc116 = true;
break;
}
migrateFPlayerLeaders();
log("==== End Setup ====");
Expand Down
Loading