mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2025-02-16 01:41:26 +01:00
Updated Home (markdown)
parent
dee71b7e54
commit
a29f39d4c6
3
Home.md
3
Home.md
@ -111,9 +111,10 @@ Some points of how the placeholder service works,
|
||||
- hooks directly into external plugins such as PlaceholderAPI
|
||||
- allows declaring placeholders directly in types, example:
|
||||
```java
|
||||
@PlaceholderPrefix("player_")
|
||||
public interface Player {
|
||||
|
||||
@Placeholder("player_name")
|
||||
@Placeholder("name") // This will be %player_name% due to the PlaceholderPrefix
|
||||
String username();
|
||||
...
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user