Impactor
一个旨在简化通用环境开发工作并支持各种 Minecraft 环境(包括模组环境和原版环境)的开发人员 API。
此外,Impactor 还致力于在其代码库中保持不同 Minecraft 版本间的兼容性。
Impactor 的主要目标是简化其他开发人员所需完成的工作,同时让他们更好地支持多个平台。示例包括:
提供的功能集
尽管 Impactor 本质上是一个开发人员 API,但它还提供了一组服务器所有者只需安装此 API 即可立即利用的功能。
经济系统
默认提供用于 Economy API 的内置服务,允许您建立一个即插即用的经济系统。
提供的系统支持多种货币类型,并提供能够与该系统进行交互的基本命令。我们还为感兴趣的用户提供了 /baltop 命令。
如果您正在使用其他 EconomyService,Impactor 的 API 允许我们将默认服务替换为您所使用的服务的镜像服务,从而可以映射任何 API 调用。虽然这需要编写代码,但可以利用 Impactor 向其他插件输送信息,而无需插件直接支持多种不同的经济系统。
Impactor 支持哪些平台
截至 5.3.5 版本,Impactor 支持以下平台:
计划支持以下平台:
支持的 Minecraft 版本
截至 5.2.0 版本,Impactor 支持以下 Minecraft 版本:
计划支持以下版本:
在项目中使用 Impactor
Impactor 尽力提供一种 API 访问方式,使您仅引入所需的内容。基于此,以下是引入当前经济 API 的示例:
repositories {
maven("https://maven.impactdev.net/repository/development")
}
dependencies {
implementation("net.impactdev.impactor.api:economy:5.3.5")
}
Impactor
A developer API meant to streamline work in a common environment, and support any sort of Minecraft environment, modded or vanilla.
Additionally, Impactor attempts to maintain commonality amongst its codebase across Minecraft versions.
Impactor's primary objective is to simplify the work other developers are required to complete, while also
allowing them to better support multiple platforms. Examples include:
- ItemStack Creation
- Players and Entities
- Scoreboards
- Economy
Provided Feature Set
While Impactor is a developer API at heart, it also provides a set of provided features server owners can
immediately leverage just with installing this API.
Economy
A built-in service for the Economy API is provided by default, allowing you to establish a ready to go
economy system.
The provided system supports multiple types of currencies and provides basic commands capable of interacting
with the system. We also provide a /baltop command for those interested parties.
Should you be using another EconomyService, Impactor's API allows the replacement of our default service
with a service which can mirror any API calls to the service you yourself are using. While this will
require code, Impactor can be leveraged to feed information to other plugins while not requiring plugins
to outright support multiple different economy systems.
What Platforms Does Impactor Support
As of 5.3.5, Impactor supports the following platforms:
Support is planned for the following platforms:
Supported Minecraft Versions
As of 5.2.0, Impactor supports the following Minecraft versions:
Support is planned for the following versions:
Using Impactor in your Projects
Impactor does its best to provide API access in a manner that allows you to only pull in what you need. With this
in mind, here's an example of pulling in the current economy API:
repositories {
maven("https://maven.impactdev.net/repository/development")
}
dependencies {
implementation("net.impactdev.impactor.api:economy:5.3.5")
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧