TotalFreedomMod/pom.xml

468 lines
17 KiB
XML
Raw Normal View History

2015-11-18 20:41:51 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2015-11-18 20:41:51 +00:00
<modelVersion>4.0.0</modelVersion>
<groupId>me.totalfreedom</groupId>
2019-11-28 09:28:48 +00:00
<artifactId>TotalFreedomMod</artifactId>
Release 2021.06 (#97) * Update Command_ride.java * ok, done (FS-156) * Fixes FS-137 * grammar fix * Remove a number of wipe commands we don't want anyway We shouldn't be wiping any of this data within the server now anyway so let's not tempt fate again. * Why overcomplicating things is a horrifically bad idea (#55) The longer I look into this plugin's code, the angrier I will become. This fixes 2 bugs in the /potion command: - Fixes non-admins being able to clear other players - Fixes NPE caused when trying to add potion effects to players who are not on the server as a non-admin. Both of these issues are caused by overcomplicating seemingly simple solutions, hence the name of this commit. Co-authored-by: Ryan <Wild1145@users.noreply.github.com> Co-authored-by: Nathan Curran <30569566+Focusvity@users.noreply.github.com> * Bug fixes, improvements, and removals (FS-192) (#46) * Three fixes * Fixes /tempban throwing a NullPointerException when trying to get a player who isn't on the server but was in the past * Fixes /tempban banning players for 24 hours regardless of the duration defined * Fixes /list -t throwing a NullPointerException when performed from a non-player source (such as Telnet) * Removes hubworld entriely * Configurable blacklists for tag, muted commands, and wildcard Changes: * Moves globally blocked commands to the `global` subsection of the original `blocked_commands` section. You *will* need to update your configurations * /wildcard's command blacklist is now configurable under the `wildcard` section in `blocked_commands`. * The commands muted players can't use are now configurable under the `muted` section in `blocked_commands`. * Removes some commented-out globally blocked command entries. Co-authored-by: Ryan <Wild1145@users.noreply.github.com> * Switched from -c to -ci (#63) Resolves FS-219 * Added new dependency to allow TFM to compile (#65) * Name change for Fleek (#64) * Add //g to blocked commands (#62) Co-authored-by: Nathan Curran <30569566+Focusvity@users.noreply.github.com> * Small modification to new TFGuilds (FS-255) (#67) * Calculate the player count without offline players (FS-247) (#68) Co-authored-by: Ryan <Wild1145@users.noreply.github.com> * Use long instead of int and use offset to check time (FS-181) (#69) * Use long instead of int and use offset to check time (FS-181) * Remove star import * Addresses FS-224 (#70) * Continuation on that notes thing (#74) I forgot to remove the dependency after I removed the code that used JSONMessage. This fixes that by removing both the repository and the dependency from the pom file. * Updated permissions to re-baseline with the dev server (#75) Updating this to be based off of the dev server as it seems this has not been updated in some time. Primary purpose is to add the crackshot bypass removal for everyone (Though allow admins to bypass) and to add a start of network manager perms in the hopes it makes it more usable going forward. * Two fixes, one commit To kill two birds with one stone, I've done two fixes in this commit. - Fixes issue that caused quiet warns to behave improperly (e.g. the warnings wouldn't increment if quiet) - Added WARN to the PunishmentType list. * Update EntityWiper.java * FS-27 * FS-26 * FS-25 * Code quality and consistency improvements Here's all the changes I've made in this commit: - Resolves FS-44 (AutoEject.java) - Resolves FS-45 (BlockBlocker.java) - Resolves FS-47 and FS-48 (InteractBlocker.java) - Resolves FS-49 (Command_cage.java) - Resolves FS-50 (Command_manageshop.java) - Resolves FS-51 (Command_notes.java) - Resolves FS-52 (Command_potion.java) - Resolves FS-53 (Command_tag.java) - Resolves FS-55 (ItemFun.java) - Resolves FS-56 (Module_list.java) - Resolves FS-57 (Module_players.java) - Removes redundant code from InteractBlocker.java - Misc. code consistency corrections (global) * FS-54 * Shut up Codacy * FS-201 * Simple fix * Even more punishment log types Here's what I've changed in this commit: - Adds /blockcmd to the punishment log (FS-239) - Adds /blockedit and /blockpvp to the punishment log (FS-240) - Adds /cage to the punishment log (FS-241) - Adds /orbit to the punishment log (FS-242) - Changes the order of operations in some commands to be a bit more consistent * Order of operations fix * ez (#77) * Start building Java 16 (#84) * Start building Java 16 * Re-apply Fleek's change * Removed the shitty Github auto formatted white space. * Update to the maven build in Github workflows Given TravisCI has started to charge, I guess this might be what we move back to using as our main way to verify if something can actually build. * Update maven.yml * Delete .travis.yml * Adds /seed command (FS-225) (#85) * Create Command_seed.java * Addresses requested changes * My IDE decided to try to "fix" things with *s in imports Co-authored-by: Ryan <Wild1145@users.noreply.github.com> * Use 'getPlayer()' to prevent NPE (FS-159) (#87) Co-authored-by: Ryan <Wild1145@users.noreply.github.com> * 2 bugfixes - Fixes FS-309 by checking if a material provided is actually a block before caging someone. - Fixes a bug that causes the command to throw an ArrayOutOfBoundsException if one were to use a command like `/cage player1 block`. * Temporarily re-naming /clearchat to /cleanchat (#91) * Temporarily re-naming /clearchat to /cleanchat Due to another plugin which currently doesn't quite have all the permissions working, this command is not currently able to be executed as it stands. * Shhh I know I'm an idiot * Let's actually do dependency uplifts (#89) * Bump release to 2021.06-RC01 * Bump to release version We're good to go! Co-authored-by: Video <videogamesm12@gmail.com> Co-authored-by: Elmon11 <elmon11bussiness@gmail.com> Co-authored-by: Nathan Curran <30569566+Focusvity@users.noreply.github.com> Co-authored-by: Paldiu <pawereus@gmail.com>
2021-08-15 00:06:21 +00:00
<version>2021.06</version>
2015-11-18 20:41:51 +00:00
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tfm.build.codename>Phoenix</tfm.build.codename>
<jar.finalName>${project.name}</jar.finalName>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>MM/dd/yyyy HH:mm</maven.build.timestamp.format>
2015-11-18 20:41:51 +00:00
</properties>
<name>TotalFreedomMod</name>
<description>Server modification for the TotalFreedom server</description>
<url>https://github.com/AtlasMediaGroup/TotalFreedomMod</url>
2015-11-18 20:41:51 +00:00
<licenses>
<license>
<name>TotalFreedom General License</name>
<url>https://github.com/TotalFreedom/License/blob/master/LICENSE.md</url>
</license>
</licenses>
<organization>
2020-01-12 02:59:12 +00:00
<name>TotalFreedom</name>
2015-11-18 20:41:51 +00:00
<url>https://totalfreedom.me</url>
</organization>
<scm>
<connection>scm:git:git@github.com:TFPatches/TotalFreedomMod.git</connection>
<developerConnection>scm:git:git@github.com:TFPatches/TotalFreedomMod.git</developerConnection>
2018-07-25 02:44:00 +00:00
<url>git@github.com:TFPatches/TotalFreedomMod.git</url>
2015-11-18 20:41:51 +00:00
</scm>
<repositories>
<repository>
<id>atlas-nexus-01-totalfreedom-development</id>
<url>https://nexus-01.core.atlas-media.co.uk/repository/totalfreedom-development/</url>
</repository>
<repository>
<id>CodeMC</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
</repository>
<repository>
<id>nms-repo</id>
<url>https://repo.codemc.org/repository/nms/</url>
</repository>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
2020-04-14 06:40:22 +00:00
<repository>
<id>enginehub</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
2017-10-14 13:33:53 +00:00
<repository>
<id>elmakers-repo</id>
2020-12-24 22:52:35 +00:00
<url>https://maven.elmakers.com/repository/</url>
2017-10-14 13:33:53 +00:00
</repository>
<repository>
<id>sk89q-snapshots</id>
2020-12-24 22:52:35 +00:00
<url>https://maven.sk89q.com/artifactory/repo</url>
</repository>
<repository>
<id>dv8tion</id>
<name>m2-dv8tion</name>
<url>https://m2.dv8tion.net/releases/</url>
</repository>
<repository>
<id>playpro</id>
<url>https://maven.playpro.com/</url>
</repository>
<repository>
<id>md_5-public</id>
2020-12-24 22:52:35 +00:00
<url>https://repo.md-5.net/content/groups/public/</url>
</repository>
<repository>
<id>dmulloy2-repo</id>
2020-12-24 22:52:35 +00:00
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
</repository>
<repository>
<id>sk89q-repo</id>
2020-12-24 22:52:35 +00:00
<url>https://maven.sk89q.com/repo/</url>
</repository>
2019-11-13 02:50:53 +00:00
2020-01-15 23:10:00 +00:00
<repository>
<id>esentialsx-repo</id>
<url>https://repo.essentialsx.net/releases/</url>
</repository>
2015-11-18 20:41:51 +00:00
</repositories>
<dependencies>
2019-07-17 19:35:36 +00:00
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
2019-07-17 19:35:36 +00:00
<scope>compile</scope>
</dependency>
2019-07-31 04:35:41 +00:00
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.11</version>
2019-07-31 04:35:41 +00:00
<scope>compile</scope>
</dependency>
2020-01-25 06:27:16 +00:00
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
2020-10-29 23:47:53 +00:00
<version>1.15</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.github.speedxx</groupId>
<artifactId>Mojangson</artifactId>
<version>1957eef8d6</version>
2020-10-29 23:47:53 +00:00
</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>2.2.1</version>
2020-01-25 06:27:16 +00:00
<scope>compile</scope>
</dependency>
2015-11-18 20:41:51 +00:00
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
2021-02-25 21:42:30 +00:00
<version>1.16.5-R0.1-SNAPSHOT</version>
2017-12-29 18:12:47 +00:00
<scope>provided</scope>
2015-11-18 20:41:51 +00:00
</dependency>
<dependency>
2020-10-29 23:47:53 +00:00
<groupId>com.github.TotalFreedomMC</groupId>
<artifactId>BukkitTelnet</artifactId>
2020-10-29 23:47:53 +00:00
<version>541e9fdb84</version>
2017-12-29 18:12:47 +00:00
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.AtlasMediaGroup</groupId>
<artifactId>TF-LibsDisguises</artifactId>
<version>5a340341b0</version>
<scope>provided</scope>
2019-07-17 19:35:36 +00:00
</dependency>
<dependency>
2020-04-14 06:40:22 +00:00
<groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-bukkit</artifactId>
<version>7.2.4</version>
2017-12-29 18:12:47 +00:00
<scope>provided</scope>
</dependency>
2015-11-18 20:41:51 +00:00
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>4.2.1_255</version>
2018-07-25 02:44:00 +00:00
<scope>provided</scope>
2015-11-18 20:41:51 +00:00
</dependency>
2017-10-14 13:33:53 +00:00
<dependency>
<groupId>net.coreprotect</groupId>
<artifactId>coreprotect</artifactId>
<version>19.5</version>
2019-04-23 07:36:51 +00:00
<scope>provided</scope>
2017-10-14 13:33:53 +00:00
</dependency>
2017-10-14 13:33:53 +00:00
<dependency>
2020-04-14 06:40:22 +00:00
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
2020-10-20 00:07:44 +00:00
<version>7.0.4</version>
<scope>provided</scope>
2017-10-14 13:33:53 +00:00
</dependency>
2020-01-15 23:10:00 +00:00
<dependency>
<groupId>io.papermc</groupId>
<artifactId>paperlib</artifactId>
<version>1.0.6</version>
<scope>compile</scope>
2020-01-15 23:10:00 +00:00
</dependency>
2020-01-25 06:27:16 +00:00
2020-04-08 02:20:01 +00:00
<dependency>
<groupId>com.github.vexsoftware</groupId>
<artifactId>votifier</artifactId>
<version>v1.9</version>
<scope>provided</scope>
</dependency>
2020-04-29 23:29:43 +00:00
<dependency>
<groupId>net.ess3</groupId>
<artifactId>EssentialsX</artifactId>
<version>2.18.2</version>
<scope>compile</scope>
2020-04-29 23:29:43 +00:00
</dependency>
2020-07-01 01:51:06 +00:00
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
2020-10-29 23:47:53 +00:00
<version>0.9.12</version>
<scope>compile</scope>
2020-07-01 01:51:06 +00:00
</dependency>
<dependency>
2020-10-29 23:47:53 +00:00
<groupId>org.javassist</groupId>
2020-07-01 01:51:06 +00:00
<artifactId>javassist</artifactId>
2020-10-29 23:47:53 +00:00
<version>3.27.0-GA</version>
<scope>compile</scope>
2020-07-01 01:51:06 +00:00
</dependency>
2020-07-21 19:21:51 +00:00
<dependency>
<groupId>me.totalfreedom</groupId>
<artifactId>tfguilds</artifactId>
<version>2021.06-RC2</version>
<scope>compile</scope>
2020-07-21 19:21:51 +00:00
</dependency>
2021-03-02 05:03:49 +00:00
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>22.0.0</version>
2021-03-02 05:03:49 +00:00
<scope>compile</scope>
</dependency>
2020-08-01 04:10:44 +00:00
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
2020-10-29 23:47:53 +00:00
<scope>compile</scope>
2020-08-01 04:10:44 +00:00
</dependency>
2021-03-02 05:03:49 +00:00
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.4.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.inject</artifactId>
<version>0.3.4</version>
</dependency>
2015-11-18 20:41:51 +00:00
</dependencies>
<build>
<!-- Filter resources for build.properties -->
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<!-- Compiler -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<outputFileName>TotalFreedomMod.jar</outputFileName>
<compilerVersion>11</compilerVersion>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<!-- Git describe -->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
2020-08-30 19:39:07 +00:00
<version>4.0.2</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
</execution>
<execution>
<id>validate-the-git-infos</id>
<goals>
<goal>validateRevision</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
<prefix>git</prefix>
<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
<verbose>false</verbose>
<format>properties</format>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
<includeOnlyProperties>
<includeOnlyProperty>git.commit.id.abbrev</includeOnlyProperty>
</includeOnlyProperties>
<gitDescribe>
<skip>false</skip>
<always>false</always>
<abbrev>7</abbrev>
<dirty>-dirty</dirty>
<match>*</match>
</gitDescribe>
</configuration>
</plugin>
2015-11-18 20:41:51 +00:00
<!-- Antrun -->
<plugin>
2018-06-02 08:18:28 +00:00
<groupId>org.apache.maven.plugins</groupId>
2015-11-18 20:41:51 +00:00
<artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
2015-11-18 20:41:51 +00:00
<executions>
<execution>
<id>default-cli</id>
2015-11-18 20:41:51 +00:00
<phase>initialize</phase>
<configuration>
<target>
<propertyfile file="${project.basedir}/src/main/resources/build.properties"
comment="Build information. Edit this to your liking.">
<entry key="buildAuthor" default="unknown"/>
<entry key="buildNumber" default="0"/>
2018-08-08 21:51:40 +00:00
<entry key="buildCodeName" value="${tfm.build.codename}"/>
<entry key="buildVersion" value="${project.version}"/>
<entry key="buildDate" value="${timestamp}"/>
<!--suppress UnresolvedMavenProperty -->
<entry key="buildHead" value="${git.commit.id.abbrev}"/>
2015-11-18 20:41:51 +00:00
</propertyfile>
</target>
2015-11-18 20:41:51 +00:00
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Properties -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${project.basedir}/src/main/resources/build.properties</file>
2015-11-18 20:41:51 +00:00
</files>
</configuration>
</execution>
</executions>
</plugin>
<!-- Buildnumber -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<buildNumberPropertyName>maven.buildnumber</buildNumberPropertyName>
<buildNumberPropertiesFileLocation>${project.basedir}/src/main/resources/build.properties
</buildNumberPropertiesFileLocation>
TotalFreedomMod Electrum Version 5.0 This TotalFreedomMod release implements many changes. Most notably, the internals have been completely revamped. TotalFreedomMod now relies on the Aero library for core mechanics such as command handling and services. Another important change is the UUID system. In TotalFreedomMod Electrum, it has been completely removed. The core reason for this is that the system as a whole was very bugged. Additionally, it did not solve the primary reason for its conception: preserving player data when the player changes their username. This is because TotalFreedomMod servers usually run in offline-mode. This meaning that some of the players joining do not have a registerd Mojang UUID whatsoever. All in all, the UUID system was buggy, and it did not fix the reason it was implemented, so it has been completely removed. The admin list and the ban list now use usernames and IPs again. Lastly, many smaller changes have been implemented. Due to the amount of changes, they have not been named individualy. Please refer to the issues below for more details. Fixes #342 Fixes #350 Fixes #380 Fixes #684 Fixes #704 Fixes #716 Fixes #735 Fixes #745 Fixes #784 Fixes #765 Fixes #791 Fixes #805 Fixes #826 Fixes #883 Fixes #1524 Fixes #1534 Fixes #1536 Fixes #1538 Fixes #1545 Fixes #1546 Fixes #1568 Fixes #1627 Resolves #403 Resolves #435 Resolves #597 Resolves #603 Resolves #628 Resolves #690 Resolves #708 Resolves #747 Resolves #748 Resolves #749 Resolves #764 Resolves #767 Resolves #782 Resolves #809 Resolves #803 Resolves #811 Resolves #813 Resolves #830 Resolves #848 Resolves #856 Resolves #876 Resolves #908 Resolves #992 Resolves #1018 Resolves #1432 Resolves #1446 Resolves #1494 Resolves #1501 Resolves #1526 Resolves #1540 Resolves #1550 Resolves #1560 Resolves #1561 Resolves #1578 Resolves #1613
2016-05-12 19:40:39 +00:00
<format>{0,number,#}</format>
2015-11-18 20:41:51 +00:00
<items>
<item>buildNumber</item>
</items>
</configuration>
</plugin>
2019-07-17 19:35:36 +00:00
<!-- Shade -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
2020-09-12 03:27:26 +00:00
<relocations>
<relocation>
<pattern>io.papermc.lib</pattern>
<shadedPattern>me.totalfreedom.totalfreedommod.paperlib
</shadedPattern> <!-- Replace this -->
2020-09-12 03:27:26 +00:00
</relocation>
2020-10-29 23:47:53 +00:00
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>me.totalfreedom.totalfreedommod</shadedPattern>
</relocation>
2020-09-12 03:27:26 +00:00
</relocations>
<artifactSet>
<includes>
<include>commons-io:commons-io</include>
<include>org.apache.commons:commons-lang3</include>
<include>commons-codec:commons-codec</include>
<include>org.reflections:reflections</include>
2020-10-29 23:47:53 +00:00
<include>org.javassist:javassist</include>
2020-09-12 03:27:26 +00:00
<include>io.papermc:paperlib</include>
2020-12-28 22:04:14 +00:00
<include>com.github.speedxx:Mojangson</include>
2020-10-29 23:47:53 +00:00
<include>org.bstats:bstats-bukkit</include>
2021-03-02 05:03:49 +00:00
<include>org.jetbrains:annotations</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
2015-11-18 20:41:51 +00:00
</plugins>
</build>
<reporting>
<!-- Checkstyle -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<failOnViolation>true</failOnViolation>
<failsOnError>true</failsOnError>
<consoleOutput>true</consoleOutput>
</configuration>
</plugin>
</plugins>
</reporting>
2020-12-24 22:52:35 +00:00
</project>