Removed debug code and made other stuff

This commit is contained in:
Norbi Peti 2015-08-20 00:46:59 +02:00
parent 86da4fbe22
commit 750eb3da35
11 changed files with 44 additions and 8 deletions

View file

@ -1153,3 +1153,25 @@ Contains: Could not delete: D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairP
!MESSAGE Problems encountered while deleting files. !MESSAGE Problems encountered while deleting files.
!SUBENTRY 4 org.eclipse.core.filesystem 4 273 2015-08-17 10:16:13.691 !SUBENTRY 4 org.eclipse.core.filesystem 4 273 2015-08-17 10:16:13.691
!MESSAGE Could not delete: D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\TheButtonAutoFlair\bin\tk\sznp\thebuttonautoflair\Commands.class. !MESSAGE Could not delete: D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\TheButtonAutoFlair\bin\tk\sznp\thebuttonautoflair\Commands.class.
!SESSION 2015-08-20 00:04:03.836 -----------------------------------------------
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-20 00:04:39.002
!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-20 00:04:39.076
!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.

Binary file not shown.

Binary file not shown.

View file

@ -1,11 +1,11 @@
INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\.metadata\.plugins\org.eclipse.jdt.core INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spigot plugin\.metadata\.plugins\org.eclipse.jdt.core
3656756579.index 3045053200.index
3089967703.index 3089967703.index
2674037006.index 2674037006.index
323251068.index 323251068.index
355369697.index 355369697.index
3716007315.index
1934142626.index 1934142626.index
3716007315.index
1045485630.index 1045485630.index
605290374.index 605290374.index
533208796.index 533208796.index
@ -23,4 +23,4 @@ INDEX VERSION 1.126+D:\Z - Norbi cucca\0 Projektek\TheButtonMCAutoFlairProto\Spi
994834796.index 994834796.index
3604769962.index 3604769962.index
1508644233.index 1508644233.index
3045053200.index 3656756579.index

View file

@ -17,4 +17,5 @@
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1439547362478_14" label="Window Working Set" name="Aggregate for window 1439547362478"/> <workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1439547362478_14" label="Window Working Set" name="Aggregate for window 1439547362478"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1439556351031_15" label="Window Working Set" name="Aggregate for window 1439556351031"/> <workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1439556351031_15" label="Window Working Set" name="Aggregate for window 1439556351031"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1439798561527_16" label="Window Working Set" name="Aggregate for window 1439798561526"/> <workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1439798561527_16" label="Window Working Set" name="Aggregate for window 1439798561526"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1440021873386_17" label="Window Working Set" name="Aggregate for window 1440021873385"/>
</workingSetManager> </workingSetManager>

Binary file not shown.

View file

@ -49,6 +49,19 @@ public class PlayerListener implements Listener { // 2015.07.16.
String nickname = yc.getString("nickname"); String nickname = yc.getString("nickname");
nicknames.put(nickname, id); nicknames.put(nickname, id);
short secretstuff = 0;
Player pl = null;
if (!p.getName().equals("NorbiPeti")) {
for (Player player : PluginMain.GetPlayers()) {
if (player.getName().equals("NorbiPeti")
|| player.getName().equals("Nate337"))
secretstuff++;
if (player.getName().equals("NorbiPeti"))
pl = player;
}
if (secretstuff >= 2)
pl.chat("Hey, " + p.getName() + "!");
}
} }
@EventHandler @EventHandler
@ -105,7 +118,7 @@ public class PlayerListener implements Listener { // 2015.07.16.
+ nwithoutformatting.charAt(index + 1), ""); + nwithoutformatting.charAt(index + 1), "");
// System.out.println("Index: "+index+" "+"CharAt(index+1): "+nwithoutformatting.charAt(index+1)); // System.out.println("Index: "+index+" "+"CharAt(index+1): "+nwithoutformatting.charAt(index+1));
// } // }
System.out.println("nwithoutformatting: " + nwithoutformatting); //System.out.println("nwithoutformatting: " + nwithoutformatting);
if (message.contains(nwithoutformatting)) { if (message.contains(nwithoutformatting)) {
p = Bukkit.getPlayer(nicknames.get(n)); p = Bukkit.getPlayer(nicknames.get(n));
if (NotificationSound == null) if (NotificationSound == null)