Add display for pings (#112)

* Add display for pings

* Add name placeholder

* Change comment per request

* pign -> ping
This commit is contained in:
Underscore11 authored and GitHub committed 2020-10-24 20:49:38 -07:00
1 parent d7edcb4d07
commit be2ee01f9f
2 files changed
+45 -3

No files matched your search

@@ -31,6 +31,10 @@ public final class ChannelPings {
1.0F
);
@Setting
@Comment("The way players will see the ping")
private @NonNull String display = "<bold><red><ping></red><bold>";
public boolean enabled() {
return this.enabled;
}
@@ -47,4 +51,8 @@ public final class ChannelPings {
return this.sound;
}
public String display() {
return this.display;
}
}