Commit 3684fbc
committed
feat: add server category support to SurfCoreApi and its implementations
- Extend `SurfCoreApi` with `getCurrentServerCategory` method.
- Update all implementations (`Paper` and `Velocity`) to include server category retrieval.
- Modify `SurfServerConfig` to include a `serverCategory` field.1 parent 635a17f commit 3684fbc
File tree
4 files changed
+4
-0
lines changed- 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/config
- surf-core-paper/src/main/kotlin/dev/slne/surf/core/paper/api
- surf-core-velocity/src/main/kotlin/dev/slne/surf/core/velocity/api
4 files changed
+4
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
0 commit comments