From 00e336c4b25355ee0155c8a374969673c79a51ee Mon Sep 17 00:00:00 2001
From: NorbiPeti
Date: Fri, 9 Sep 2016 21:44:51 +0200
Subject: [PATCH] Updated flair thread, added Mvn repo stuff
---
pom.xml | 60 +++++++++++++++++++++++---
src/buttondevteam/chat/PluginMain.java | 6 +--
2 files changed, 57 insertions(+), 9 deletions(-)
diff --git a/pom.xml b/pom.xml
index 28ec1c6..3314240 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,10 +1,9 @@
4.0.0
- TheButtonMCPlugin0.0.1-SNAPSHOT
- The Button Minecraft Plugin
- The Button Minecraft Plugin
+ The Button Minecraft Chat Plugin
+ The Button Minecraft Chat Pluginsrc
@@ -20,8 +19,8 @@
maven-compiler-plugin3.3
-
- 1.7
+
+ 1.8
@@ -54,9 +53,42 @@
+
+ maven-deploy-plugin
+ 2.8.1
+
+ internal.repo::default::file://${project.build.directory}/mvn-repo
+
+
+
+ com.github.github
+ site-maven-plugin
+ 0.11
+
+ Maven artifacts for ${project.version}
+ true
+ ${project.build.directory}/mvn-repo
+ refs/heads/master
+
+ **/*
+
+ mvn-repo
+ TBMCPlugins
+
+
+
+
+
+ site
+
+ deploy
+
+
+
- tk.sznp
+ buttondevteamspigot-repo
@@ -71,4 +103,20 @@
runtime
+ ButtonChat
+
+ TBMCPlugins
+ https://github.com/TBMCPlugins
+
+
+
+ internal.repo
+ Temporary Staging Repository
+ file://${project.build.directory}/mvn-repo
+
+
+
+
+ github
+
\ No newline at end of file
diff --git a/src/buttondevteam/chat/PluginMain.java b/src/buttondevteam/chat/PluginMain.java
index e22e2b4..6caf591 100644
--- a/src/buttondevteam/chat/PluginMain.java
+++ b/src/buttondevteam/chat/PluginMain.java
@@ -46,9 +46,9 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
// A user, which flair isn't obtainable:
// https://www.reddit.com/r/thebutton/comments/31c32v/i_pressed_the_button_without_really_thinking/
public static PluginMain Instance;
- public static ConsoleCommandSender Console; // 2015.08.12.
+ public static ConsoleCommandSender Console;
public static Scoreboard SB;
- public final static String FlairThreadURL = "https://www.reddit.com/r/TheButtonMinecraft/comments/433ptk/autoflair_thread/";
+ public final static String FlairThreadURL = "https://www.reddit.com/r/Chromagamers/comments/51ys94/flair_thread_for_the_mc_server/";
public TownyUniverse TU;
public ArrayList Towns;
public ArrayList Nations;
@@ -57,7 +57,7 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
* This variable is used as a cache for flair state checking when reading the flair thread.
*
*
- * It's used because normally it has to load all associated player files everytime to read the filename
+ * It's used because normally it has to load all associated player files every time to read the filename
*
*/
private Set PlayersWithFlairs = new HashSet<>();