mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Add display for pings (#112)
* Add display for pings * Add name placeholder * Change comment per request * pign -> ping
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user