mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Removed colors in example to reduce confusion
This commit is contained in:
parent
7adecf162b
commit
f9e627e34f
@ -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 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user