Fixed SavageFTOP Integration Setup

This commit is contained in:
Driftay 2019-07-03 22:30:58 -04:00
parent 87179d262a
commit 2937e05fda
3 changed files with 47 additions and 3 deletions

42
pom.xml
View File

@ -77,6 +77,48 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>com.github.wvengen</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals><goal>proguard</goal></goals>
</execution>
</executions>
<configuration>
<options>
<!-- General Settings -->
<option>-dontoptimize</option>
<option>-ignorewarnings</option>
<!-- All removes disabled -->
<!--option>-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,LocalVariable*Table,*Annotation*,Synthetic,EnclosingMethod</option-->
<!-- Boiled down to required options -->
<option>-keepattributes Signature,*Annotation*</option>
<!-- Keep the main class for the Plugin Loader to find -->
<option>-keep public class com.massivecraft.factions.SaberFactions</option>
<!-- These three are required for the json serializer, breaks if removed, oh and also for the config :) -->
<option>-keep class com.massivecraft.factions.Conf { *; }</option>
<option>-keepclassmembers enum * { *; } </option>
<option>-keep class com.massivecraft.factions.zcore.persist.json.** { *; }</option>
<!-- keep the lib -->
<option>-keep class net.amoebaman.** { *; }</option>
<!-- suppress warnings -->
<option>-dontnote org.bukkit.**</option>
<option>-dontnote net.amoebaman.**</option>
<option>-dontnote net.minecraft.server.**</option>
</options>
<libs>
<lib>${java.home}/lib/rt.jar</lib>
</libs>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -27,9 +27,11 @@ import java.util.List;
public interface FPlayer extends EconomyParticipator {
public void setAlt(boolean alt);
public boolean isAlt();
void setAlt(boolean alt);
boolean isAlt();
/**
* Used to know if stealth is toggled on or off

View File

@ -2,7 +2,7 @@ name: Factions
version: ${project.version}
api-version: 1.13
main: com.massivecraft.factions.SaberFactions
authors: [Olof Larsson, Brett Flannigan, drtshock, ProSavage, SvenjaReißaus, Driftay]
authors: [Olof Larsson, Brett Flannigan, drtshock, ProSavage, SvenjaReißaus, FroggyKnight, Driftay]
softdepend: [Skript, CoreProtect, PlayerVaults, PlaceholderAPI, MVdWPlaceholderAPI, PermissionsEx, Permissions, Essentials, EssentialsChat, HeroChat, iChat, LocalAreaChat, LWC, nChat, ChatManager, CAPI, AuthMe, Vault, Spout, WorldEdit, WorldGuard, AuthDB, CaptureThePoints, CombatTag, dynmap, FactionsTop]
commands: