diff --git a/.metadata/.log b/.metadata/.log
index 1d5699e..146af7d 100644
--- a/.metadata/.log
+++ b/.metadata/.log
@@ -1310,3 +1310,25 @@ user global configuration and to define the default location to store repositori
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+!SESSION 2015-08-28 18:27:09.642 -----------------------------------------------
+eclipse.buildId=M20130204-1200
+java.version=1.8.0_45
+java.vendor=Oracle Corporation
+BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU
+Framework arguments: -product org.eclipse.epp.package.jee.product
+Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-08-28 18:27:44.185
+!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
+Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
+The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
+this system level configuration. The Git installation location can be configured on the
+Team > Git > Configuration preference page's 'System Settings' tab.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
+
+!ENTRY org.eclipse.egit.ui 2 0 2015-08-28 18:27:44.219
+!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
+user global configuration and to define the default location to store repositories: 'C:\Users\Norbi'. If this is
+not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
+EGit might behave differently since they see different configuration options.
+This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
diff --git a/.metadata/.mylyn/.tasks.xml.zip b/.metadata/.mylyn/.tasks.xml.zip
index a53ff67..5a24558 100644
Binary files a/.metadata/.mylyn/.tasks.xml.zip and b/.metadata/.mylyn/.tasks.xml.zip differ
diff --git a/.metadata/.mylyn/tasks.xml.zip b/.metadata/.mylyn/tasks.xml.zip
index 812aac4..9bd5166 100644
Binary files a/.metadata/.mylyn/tasks.xml.zip and b/.metadata/.mylyn/tasks.xml.zip differ
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/e4/77/69/e/history.index b/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/e4/77/69/e/history.index
index 3b70f8f..6361a7c 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/e4/77/69/e/history.index and b/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/e4/77/69/e/history.index differ
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/history.index b/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/history.index
index ba852d5..a6727b6 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/history.index and b/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.indexes/history.index differ
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.markers b/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.markers
index 08c0600..d300ccc 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.markers and b/.metadata/.plugins/org.eclipse.core.resources/.projects/TheButtonAutoFlair/.markers differ
diff --git a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
index a13ec9f..0383800 100644
Binary files a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources and b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ
diff --git a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
index d465f2c..b41c55b 100644
--- a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
+++ b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
@@ -235,40 +235,46 @@
categoryTag:Help
-
+
newtablook
org.eclipse.e4.primaryDataStack
EditorStack
-
+
Editor
org.eclipse.jdt.ui.CompilationUnitEditor
removeOnHide
- activeOnClose
-
+
Editor
org.eclipse.jdt.ui.CompilationUnitEditor
removeOnHide
-
+
Editor
org.eclipse.jdt.ui.CompilationUnitEditor
removeOnHide
-
+
Editor
org.eclipse.jdt.ui.CompilationUnitEditor
removeOnHide
-
+
Editor
org.eclipse.jdt.ui.CompilationUnitEditor
removeOnHide
+ activeOnClose
+
+
+
+ Editor
+ org.eclipse.ui.DefaultTextEditor
+ removeOnHide
@@ -324,7 +330,7 @@
categoryTag:General
-
+
View
categoryTag:General
@@ -426,18 +432,18 @@
Draggable
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
toolbarSeparator
@@ -445,38 +451,38 @@
Draggable
-
-
-
+
+
+
Draggable
-
-
+
+
Draggable
-
-
+
+
Draggable
-
-
+
+
Draggable
-
-
-
-
+
+
+
+
Draggable
-
-
-
-
+
+
+
+
Draggable
@@ -486,20 +492,20 @@
Draggable
-
-
-
-
+
+
+
+
Draggable
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Draggable
@@ -517,15 +523,15 @@
Draggable
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
toolbarSeparator
@@ -537,8 +543,8 @@
Draggable
-
-
+
+
stretch
@@ -568,7 +574,11 @@
TrimStack
-
+
+
+ TrimStack
+
+
diff --git a/.metadata/.plugins/org.eclipse.jdt.core/1508644233.index b/.metadata/.plugins/org.eclipse.jdt.core/1508644233.index
index 771e783..b44ebe8 100644
Binary files a/.metadata/.plugins/org.eclipse.jdt.core/1508644233.index and b/.metadata/.plugins/org.eclipse.jdt.core/1508644233.index differ
diff --git a/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps b/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
index 99a8400..21b68f1 100644
Binary files a/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps and b/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps differ
diff --git a/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt b/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
index 3795b71..efc317c 100644
--- a/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
+++ b/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
@@ -1,18 +1,18 @@
INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\.metadata\.plugins\org.eclipse.jdt.core
-3656756579.index
+1508644233.index
3089967703.index
2674037006.index
323251068.index
355369697.index
-3716007315.index
1934142626.index
+3716007315.index
1045485630.index
605290374.index
533208796.index
1337478678.index
1528680760.index
-1467104569.index
1737447423.index
+1467104569.index
4187470955.index
2535676096.index
1787405673.index
@@ -22,4 +22,4 @@ INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spi
994834796.index
3954291735.index
3045053200.index
-1508644233.index
+3656756579.index
diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
index 62009c4..411145e 100644
--- a/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
+++ b/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
@@ -20,7 +20,6 @@
-
@@ -53,11 +52,12 @@
-
-
+
+
+
diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
index 2ffa316..9832abd 100644
--- a/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
+++ b/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
@@ -22,4 +22,5 @@
+
\ No newline at end of file
diff --git a/TheButtonAutoFlair.jar b/TheButtonAutoFlair.jar
index f4e616a..b8b9eb7 100644
Binary files a/TheButtonAutoFlair.jar and b/TheButtonAutoFlair.jar differ
diff --git a/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/Commands.class b/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/Commands.class
index 3da9fb9..f284f54 100644
Binary files a/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/Commands.class and b/TheButtonAutoFlair/bin/tk/sznp/thebuttonautoflair/Commands.class differ
diff --git a/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java b/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java
index ab17787..06f1226 100644
--- a/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java
+++ b/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/Commands.java
@@ -112,6 +112,20 @@ public class Commands implements CommandExecutor {
case "announce":
DoAnnounce(player, args);
break;
+ case "name":
+ if (args.length == 0) {
+ player.sendMessage("§cUsage: /u name §r");
+ break;
+ }
+ if (!MaybeOfflinePlayer.AllPlayers.containsKey(args[1])) {
+ player.sendMessage("§cUnknown user: " + args[1]);
+ break;
+ }
+ player.sendMessage("§bUsername of "
+ + args[1]
+ + ": "
+ + MaybeOfflinePlayer.AllPlayers.get(args[1]).UserName);
+ break;
default:
return false;
}
@@ -126,9 +140,9 @@ public class Commands implements CommandExecutor {
.AddPlayerIfNeeded(player.getName()).RPMode;
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = true;
String message = "";
- for(String arg : args)
- message+=arg+" ";
- player.chat(message.substring(0, message.length()-1));
+ for (String arg : args)
+ message += arg + " ";
+ player.chat(message.substring(0, message.length() - 1));
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = rpmode;
}
return true;
@@ -141,9 +155,9 @@ public class Commands implements CommandExecutor {
.AddPlayerIfNeeded(player.getName()).RPMode;
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = false;
String message = "";
- for(String arg : args)
- message+=arg+" ";
- player.chat(message.substring(0, message.length()-1));
+ for (String arg : args)
+ message += arg + " ";
+ player.chat(message.substring(0, message.length() - 1));
MaybeOfflinePlayer.AddPlayerIfNeeded(player.getName()).RPMode = rpmode;
}
return true;