mirror of
https://github.com/TotalFreedomMC/TF-Marriage.git
synced 2025-02-05 06:12:41 +00:00
Release 2.0.20
This commit is contained in:
parent
998f72f081
commit
1be10bb7a6
5 changed files with 14 additions and 10 deletions
3
pom.xml
3
pom.xml
|
@ -4,10 +4,9 @@
|
|||
|
||||
<groupId>com.lenis0012.bukkit</groupId>
|
||||
<artifactId>marriage2</artifactId>
|
||||
<version>2.0.20-SNAPSHOT</version>
|
||||
<version>2.0.20</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>Marriage</name>
|
||||
<url>http://dev.bukkit.org/server-mods/marriage-reloaded/</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
|
|
@ -4,7 +4,6 @@ import com.google.common.collect.Lists;
|
|||
import com.lenis0012.bukkit.marriage2.Marriage;
|
||||
import com.lenis0012.pluginutils.PluginHolder;
|
||||
import com.lenis0012.pluginutils.modules.configuration.ConfigurationModule;
|
||||
import com.lenis0012.pluginutils.modules.packets.PacketModule;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.reflect.Method;
|
||||
|
@ -22,8 +21,7 @@ public class MarriagePlugin extends PluginHolder {
|
|||
private final List<Method>[] methods = new List[Register.Type.values().length];
|
||||
|
||||
public MarriagePlugin() {
|
||||
super(PacketModule.class,
|
||||
ConfigurationModule.class);
|
||||
super(ConfigurationModule.class);
|
||||
core = new MarriageCore(this);
|
||||
|
||||
//Scan methods
|
||||
|
|
|
@ -87,8 +87,10 @@ public class DataManager {
|
|||
long startTime = System.currentTimeMillis();
|
||||
int purged = purge(daysInMillis, purgeMarried);
|
||||
long duration = System.currentTimeMillis() - startTime;
|
||||
if(purged > 0) {
|
||||
core.getLogger().log(Level.INFO, "Purged " + purged + " player entries in " + duration + "ms");
|
||||
}
|
||||
}
|
||||
}, 0L, delayTime);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
{
|
||||
"version": "Marriage v2.0.19",
|
||||
"version": "Marriage v2.0.20",
|
||||
"data":
|
||||
[
|
||||
[
|
||||
"---[ Changelog ]---",
|
||||
"",
|
||||
"- Added 1.13 support",
|
||||
"- Fixed AAC support (thanks Janmm14)",
|
||||
"",
|
||||
"More updates coming soon"
|
||||
"- Added PlotSquared v5 support (1.13+)",
|
||||
"",
|
||||
"- Disallow gifting to a full inventory",
|
||||
"",
|
||||
"Full changelog on spigotmc.org"
|
||||
],
|
||||
[
|
||||
"====[ DONATE ]====",
|
||||
|
|
|
@ -3,8 +3,9 @@ version: ${project.version}
|
|||
main: com.lenis0012.bukkit.marriage2.internal.MarriagePlugin
|
||||
author: lenis0012
|
||||
description: A plugin wich provides the function to start a relationship in minecraft.
|
||||
dev-url: http://dev.bukkit.org/bukkit-mods/marriage-reloaded/
|
||||
website: https://www.spigotmc.org/resources/marriage-reloaded-1-15-1-8.18998/
|
||||
softdepend: [Vault, PlotSquared]
|
||||
api-version: '1.13'
|
||||
commands:
|
||||
marry:
|
||||
description: Marriage main command.
|
||||
|
|
Loading…
Reference in a new issue