File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
src/main/java/com/github/elic0de/thejpspit Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 44import com .github .elic0de .thejpspit .player .PitPlayer ;
55import com .github .elic0de .thejpspit .scoreboard .GameScoreboard ;
66import com .github .elic0de .thejpspit .task .GameTask ;
7+ import com .github .elic0de .thejpspit .util .killAssistHelper .KillAssistHelper ;
78import java .util .HashSet ;
89import java .util .Set ;
910
@@ -63,6 +64,8 @@ public void death(PitPlayer player) {
6364 .replaceAll ("%player%" , player .getName ())
6465 .replaceAll ("%rating%" , player .getRating () + "%" )
6566 );
67+
68+ //KillAssistHelper.test(player.getPlayer());
6669 }
6770
6871 public Set <PitPlayer > getPitPlayers () {
Original file line number Diff line number Diff line change 1+ package com .github .elic0de .thejpspit .util .killAssistHelper ;
2+
3+ public class KillAssistData {
4+
5+ }
Original file line number Diff line number Diff line change 1+ package com .github .elic0de .thejpspit .util .killAssistHelper ;
2+
3+ import com .github .elic0de .thejpspit .TheJpsPit ;
4+ import de .themoep .minedown .MineDown ;
5+ import org .bukkit .Bukkit ;
6+ import org .bukkit .entity .Player ;
7+ import org .bukkit .event .Listener ;
8+
9+ public class KillAssistHelper implements Listener {
10+
11+ public KillAssistHelper () {
12+ Bukkit .getPluginManager ().registerEvents (this , TheJpsPit .getInstance ());
13+ }
14+
15+ public static void test (Player player ) {
16+ player .spigot ().sendMessage (new MineDown ("[(+2 assist)](hover=04o7)" ).toComponent ());
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments