|
1 | | -# SimpleCloud v3 Controller |
| 1 | +# Controller |
2 | 2 |
|
3 | | -Process that (automatically) manages minecraft server deployments (across multiple root-servers). |
4 | | -At least one [ServerHost](#serverhosts) is needed to actually start servers. |
5 | | -> Please visit [our documentation](https://docs.simplecloud.app/controller) to learn how exactly it works |
| 3 | +![Banner][banner] |
6 | 4 |
|
| 5 | +<div align="center"> |
| 6 | + |
| 7 | +[![Modrinth][badge-modrinth]][modrinth] |
| 8 | +[![Dev][badge-dev]][dev] |
| 9 | +[![License][badge-license]][license] |
| 10 | +<br> |
| 11 | + |
| 12 | +[![Discord][badge-discord]][social-discord] |
| 13 | +[![Follow @simplecloudapp][badge-x]][social-x] |
| 14 | +[![Follow @simplecloudapp][badge-bluesky]][social-bluesky] |
| 15 | +[![Follow @simplecloudapp][badge-youtube]][social-youtube] |
| 16 | +<br> |
| 17 | + |
| 18 | +[Report a Bug][issue-bug-report] |
| 19 | +· |
| 20 | +[Request a Feature][issue-feature-request] |
| 21 | +<br> |
| 22 | + |
| 23 | +🌟 Give us a star — your support means the world to us! |
| 24 | +</div> |
| 25 | +<br> |
| 26 | + |
| 27 | +> All information about this project can be found in our detailed [documentation][docs-thisproject]. |
| 28 | +
|
| 29 | +The controller is a small program that keeps track of server groups and their online servers and manages them. It's the heart of SimpleCloud v3. |
7 | 30 | ## Features |
8 | 31 |
|
9 | 32 | - [x] Reconciler (auto-deploying for servers) |
10 | | -- [x] [API](#api-usage) using [gRPC](https://grpc.io/) |
| 33 | +- [x] API using [gRPC](https://grpc.io/) |
11 | 34 | - [x] Server cache [SQL](https://en.wikipedia.org/wiki/SQL)-Database (any dialect) |
| 35 | +- [ ] Multi controller support |
| 36 | +## Dependency |
| 37 | + |
| 38 | +> For always up-to-date artifacts visit [dev artifacts][dev-artifacts] or [artifacts][artifacts]. |
| 39 | +
|
| 40 | +> Note: If you want to use the dev version, you have to use the [snapshot repository][snapshots]. |
| 41 | +
|
| 42 | +### Gradle Kotlin |
| 43 | +```kt |
| 44 | +implementation("app.simplecloud.controller:controller-api:VERSION") |
| 45 | +``` |
| 46 | +### Gradle Groovy |
| 47 | +```groovy |
| 48 | +implementation 'app.simplecloud.controller:controller-api:VERSION' |
| 49 | +``` |
| 50 | + |
| 51 | +### Maven |
| 52 | +```xml |
| 53 | +<dependency> |
| 54 | + <groupId>app.simplecloud.controller</groupId> |
| 55 | + <artifactId>controller-api</artifactId> |
| 56 | + <version>VERSION</version> |
| 57 | +</dependency> |
| 58 | +``` |
| 59 | + |
| 60 | +## Contributing |
| 61 | +Contributions to SimpleCloud are welcome and highly appreciated. However, before you jump right into it, we would like you to read our [Contribution Guide][docs-contribute]. |
| 62 | + |
| 63 | +## License |
| 64 | +This repository is licensed under [Apache 2.0][license]. |
| 65 | + |
| 66 | + |
| 67 | +<!-- LINK GROUP --> |
| 68 | + |
| 69 | +<!-- ✅ PLEASE EDIT --> |
| 70 | +[banner]: https://raw.githubusercontent.com/simplecloudapp/branding/refs/heads/main/readme/banner/controller.png |
| 71 | +[issue-bug-report]: https://github.com/theSimpleCloud/simplecloud-controller/issues/new?labels=bug&projects=template=01_BUG-REPORT.yml&title=%5BBUG%5D+%3Ctitle%3E |
| 72 | +[issue-feature-request]: https://github.com/theSimpleCloud/simplecloud-controller/discussions/new?category=ideas |
| 73 | +[docs-thisproject]: https://docs.simplecloud.app/controller |
| 74 | +[docs-contribute]: https://docs.simplecloud.app/contribute |
12 | 75 |
|
13 | | -## ServerHosts |
| 76 | +[modrinth]: https://modrinth.com/organization/simplecloud |
| 77 | +[maven-central]: https://central.sonatype.com/artifact/app.simplecloud.controller/controller-api |
| 78 | +[dev]: https://repo.simplecloud.app/#/snapshots/app/simplecloud/controller/controller-api |
14 | 79 |
|
15 | | -ServerHosts are processes, that directly handle minecraft server deployments. Each root-server should have exactly one |
16 | | -ServerHost online. We provide a [default implementation](), |
17 | | -however, you can write your [own implementation](). You can have as many ServerHost instances as you like. |
18 | 80 |
|
19 | | -## API usage |
| 81 | +[artifacts]: https://repo.simplecloud.app/#/snapshots/app/simplecloud/controller/controller-api |
| 82 | +[dev-artifacts]: https://repo.simplecloud.app/#/snapshots/app/simplecloud/controller/controller-api |
20 | 83 |
|
21 | | -> If you are searching for documentation, please visit our [official documentation](https://docs.simplecloud.app/api) |
| 84 | +[badge-maven-central]: https://img.shields.io/maven-central/v/app.simplecloud.controller/controller-api?labelColor=18181b&style=flat-square&color=65a30d&label=Release |
| 85 | +[badge-dev]: https://repo.simplecloud.app/api/badge/latest/snapshots/app/simplecloud/controller/controller-api?name=Dev&style=flat-square&color=0ea5e9 |
22 | 86 |
|
23 | | -The SimpleCloud v3 Controller provides API for both server groups and actual servers. |
24 | | -The group API is used for [CRUD-Operations](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) of server |
25 | | -groups, whereas the server API is used to manage running servers or starting new ones. |
| 87 | +<!-- ⛔ DON'T TOUCH --> |
| 88 | +[license]: https://opensource.org/licenses/Apache-2.0 |
| 89 | +[snapshots]: https://repo.simplecloud.app/#/snapshots |
26 | 90 |
|
| 91 | +[social-x]: https://x.com/simplecloudapp |
| 92 | +[social-bluesky]: https://bsky.app/profile/simplecloud.app |
| 93 | +[social-youtube]: https://www.youtube.com/@thesimplecloud9075 |
| 94 | +[social-discord]: https://discord.simplecloud.app |
27 | 95 |
|
| 96 | +[badge-modrinth]: https://img.shields.io/badge/modrinth-18181b.svg?style=flat-square&logo=modrinth |
| 97 | +[badge-license]: https://img.shields.io/badge/apache%202.0-blue.svg?style=flat-square&label=license&labelColor=18181b&style=flat-square&color=e11d48 |
| 98 | +[badge-discord]: https://img.shields.io/badge/Community_Discord-d95652.svg?style=flat-square&logo=discord&color=27272a |
| 99 | +[badge-x]: https://img.shields.io/badge/[email protected]?style=flat-square&logo=x&color=27272a |
| 100 | +[badge-bluesky]: https://img.shields.io/badge/[email protected]?style=flat-square&logo=bluesky&color=27272a |
| 101 | +[badge-youtube]: https://img.shields.io/badge/youtube-d95652.svg?style=flat-square&logo=youtube&color=27272a |
0 commit comments