Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_JCJKZvY2.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
SimpleCloud API Plugin - 墨喵 Minecraft 资源
SimpleCloud API Plugin 图标

SimpleCloud API Plugin

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.0-platform.54
本资源为搬运资源,原资源地址: https://modrinth.com/mod/simplecloud-api-plugin
资源信息

Minecraft 版本: 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: velocity

标签: library

资源介绍

Cloud API

Banner

[![Modrinth][badge-modrinth]][modrinth] [![Dev][badge-dev]][dev] [![License][badge-license]][license]
[![Discord][badge-discord]][social-discord] [![Follow @simplecloudapp][badge-x]][social-x] [![Follow @simplecloudapp][badge-bluesky]][social-bluesky] [![Follow @simplecloudapp][badge-youtube]][social-youtube]
[Report a Bug][issue-bug-report] · [Request a Feature][issue-feature-request]
🌟 Give us a star — your support means the world to us!


All information about this project can be found in our detailed documentation.

This Project aims to provide very easy API access. This project fixes all dependency issues that were present before.
Install the platform JAR on the server and use the dependency as described below.

[!CAUTION]
Paper specific API is very experimental and unstable. Use Spigot API if you are running paper!

Features

  • [x] Easy API Use: Just add the plugin to your server and include the api as a provided artifact.
  • [x] Supported Server Software: Supports Spigot and forks, Paper, Folia, BungeeCord, Velocity, Fabric, Quilt, and NeoForge.
  • [ ] Easy API access: Use every api method we provide, just from one interface.

Server Installation

  • Put the Spigot, Paper, Folia, BungeeCord, and Velocity JAR in the server's plugins directory.
  • Put the Fabric/Quilt or NeoForge JAR in the server's mods directory.
  • The shared Fabric/Quilt build requires Fabric API.
  • Fabric, Quilt, and NeoForge support is server-side only, targets Minecraft 26.2, and does not require clients to install the mod.

Usage

Go

The standalone Go SDK lives in go/. It includes the complete Controller REST API plus typed NATS events and does not require a Minecraft plugin runtime.

client, err := simplecloud.NewClientFromEnv()
if err != nil {
    log.Fatal(err)
}
defer client.Close()

groups, _, err := client.Groups.List(context.Background(), nil)

See the Go API README for installation, configuration, events, and raw endpoint access.

1. Depend on simplecloud-api

2. Use APIs

For always up-to-date artifacts visit dev artifacts or artifacts.

Note: If you want to use the dev version, you have to use the snapshot repository.

Gradle Kotlin
// Use Controller API if you want
compileOnly("app.simplecloud.controller:controller-api:VERSION")
// Use Player API if you want
compileOnly("app.simplecloud.controller:controller-api:VERSION")
Gradle Groovy
// Use Controller API if you want
compileOnly 'app.simplecloud.controller:controller-api:VERSION'
// Use Player API if you want
compileOnly 'app.simplecloud.controller:controller-api:VERSION'
Maven
<dependencies>
    <!-- Use Controller API if you want -->
    <dependency>
        <groupId>app.simplecloud.controller</groupId>
        <artifactId>controller-api</artifactId>
        <version>VERSION</version>
        <scope>provided</scope>
    </dependency>
    <!-- Use Player API if you want -->
    <dependency>
        <groupId>app.simplecloud.droplet.player</groupId>
        <artifactId>player-api</artifactId>
        <version>VERSION</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Contributing

Contributions to SimpleCloud are welcome and highly appreciated. However, before you jump right into it, we would like
you to read our Contribution Guide.

License

This repository is licensed under Apache 2.0.

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
UltimateChatTool

价格:0 墨喵币
下载量:0

查看详情
ItemChat

价格:0 墨喵币
下载量:0

查看详情
Crate Delight: Croptopia

价格:0 墨喵币
下载量:0

查看详情
Golden Days Emissive Ores

价格:0 墨喵币
下载量:0

查看详情