Updated APIv5 (markdown)
parent
b4f04c6959
commit
cb58cce01b
12
APIv5.md
12
APIv5.md
|
@ -356,10 +356,11 @@ These annotations can be used to add information structures. They might have dif
|
|||
**Speciality:** Multiple `Group`s the player is in. Any providers with `Group` parameter will be called with the groups that this method provides.
|
||||
|
||||
<details>
|
||||
<summary>Limitations and Additional data (Expand)</summary>
|
||||
<summary>Limitations and Additional data</summary>
|
||||
|
||||
- **There can only be one GroupProvider per DataExtension** - If you need multiple kinds of groups, create another `DataExtension` class.
|
||||
- **GroupProvider method requires UUID or String as method parameter.**
|
||||
- There can only be one GroupProvider per DataExtension - If you need multiple kinds of groups, create another `DataExtension` class.
|
||||
- Method requires UUID or String as method parameter.
|
||||
- Does not work with `@Tab` annotations
|
||||
|
||||
Plan will construct following from given group data:
|
||||
|
||||
|
@ -399,11 +400,16 @@ public String[] playerJobs(UUID playerUUID) {...}
|
|||
|
||||
**Speciality:** Table structures.
|
||||
|
||||
<details>
|
||||
<summary>Limitations</summary>
|
||||
|
||||
- Player tables can have 4 columns.
|
||||
- Server tables can have 5 columns.
|
||||
|
||||
> If you want to display a table that lists how many players are using something (or data about groups), eg. Players on each version, use `@GroupProvider` (and `Group` parameter methods) instead.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Usage & Parameters</summary>
|
||||
|
||||
|
|
Loading…
Reference in New Issue