Commit c31f2ae
committed
feat: extend SurfCoreApi and add Velocity-specific implementation
- Add `getOfflinePlayer(uuid)` method to `SurfCoreApi` and its implementations.
- Update `getCurrentServerName()` to return non-nullable String.
- Introduce `SurfCoreApiVelocityImpl` for Velocity platform with server name retrieval logic.1 parent 5a1adc6 commit c31f2ae
3 files changed
Lines changed: 17 additions & 1 deletion
File tree
- surf-core-api/surf-core-api-common/src/main/kotlin/dev/slne/surf/core/api/common
- surf-core-core/surf-core-core-common/src/main/kotlin/dev/slne/surf/core/core/common
- surf-core-velocity/src/main/kotlin/dev/slne/surf/core/velocity/api
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments