# Placeholders

### **ItemsCore placeholders system**

After you got the API you can use: Object value = api.placeholder("%placeholder%") // To get value of a placeholder

Placeholders:

```yaml
"itemstat":
    usage: "%itemstat.<itemname>.<statname>%"
    result: The stat value, for example if I have the stat "damage" on my sword and its value is 50 the result will be 50
```

## PlaceholderAPI placeholders

| Placeholder                                   | Result                                                                           |
| --------------------------------------------- | -------------------------------------------------------------------------------- |
| `itemscore_statValue_%stat%_%itemName%`       | Will return the value of the specific stat on that item                          |
| `itemscore_statFancyName_%stat%`              | Will return the fancy name of that stat                                          |
| `itemscore_statFancyValue_%stat%_%itemName%`  | Will return the fancy value of that stat with the value of the stat in that item |
| `itemscore_statFancyString_%stat%_%itemName%` | Will return the complete fancy string, "%fancyName% %fancyValue"                 |
