mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-05 17:07:06 +02:00
Removed colors in example to reduce confusion
This commit is contained in:
@@ -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 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user