Removed colors in example to reduce confusion

This commit is contained in:
Prestley 2024-05-23 15:49:36 -05:00 committed by GitHub
parent 7adecf162b
commit f9e627e34f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -173,7 +173,7 @@ public class JoinExample extends JavaPlugin implements Listener {
@EventHandler(priority = EventPriority.HIGHEST) @EventHandler(priority = EventPriority.HIGHEST)
public void onJoin(PlayerJoinEvent event) { public void onJoin(PlayerJoinEvent event) {
String joinText = "%player_name% &ajoined the server! They are rank &f%vault_rank%"; String joinText = "%player_name% joined the server! They are rank %vault_rank%";
/* /*
* We parse the placeholders using "setPlaceholders" * We parse the placeholders using "setPlaceholders"
@ -187,4 +187,4 @@ public class JoinExample extends JavaPlugin implements Listener {
} }
} }
``` ```
/// ///