ProfilesManagerCore
ProfilesManager 是一款适用于 Bukkit/Spigot/Paper 的 Minecraft 插件,允许玩家在同一服务器上拥有多个游戏档案。告别小号,欢迎使用 Profiles!需要注意的是,该插件本身仅作为 API 提供,需配合附加组件(addons)才能发挥实际作用。
BStats
官方附加组件
ProfilesPlayerStatistics
ProfilesManagerCommands
API
Maven 构件包
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.Sorax5</groupId>
<artifactId>ProfilesManager</artifactId>
<version>Tag</version>
</dependency>
Gradle 构件包
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.Sorax5:ProfilesManager:Tag'
}
示例
创建附加组件
附加组件允许您根据用户档案保存信息。如需保存和加载附加组件的信息,您可以使用两个相应的函数。
PlayerStats class
注册您的附加组件
您必须向 API 指定实现了 AddonData 抽象类的类,否则由于 API 无法识别您的附加组件,其信息将不会被保存。
@Override
public void onLoad(){
// PlayerStats.class 是您的 AddonData
UsersManager.getInstance().registerClass(PlayerStats.class);
}
JavaDocs
制作中
使用者
作者
美术资源
Logo 由 game-icons.net 制作,遵循 CC BY 3.0 license 协议。
ProfilesManagerCore
ProfilesManager is a Bukkit/Spigot/Paper minecraft plugin allowing players to have multiple game profiles on the same server, goodbye second account and welcome to Profiles! Only this plugin is useless it's an API so it requires addons to be useful.
BStats
Official Addon
ProfilesPlayerStatistics
ProfilesManagerCommands
API
Maven Artifact Package
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.Sorax5</groupId>
<artifactId>ProfilesManager</artifactId>
<version>Tag</version>
</dependency>
Gradle Artifact Package
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.Sorax5:ProfilesManager:Tag'
}
Exemple
Create an Addon
The addons allow you to save information according to the profiles, you have two functions that allow you to save and load the information of the addon if needed.
PlayerStats class
Register your Addon
You must specify to the API the class that implements the abstract class AddonData, otherwise the information of your addon will not be saved because the API does not recognize your addon.
@Override
public void onLoad(){
// PlayerStats.class is your AddonData
UsersManager.getInstance().registerClass(PlayerStats.class);
}
JavaDocs
Work in progress
Used By
Authors
Artwork
the logo was made by game-icons.net under the CC BY 3.0 license.
下载 ProfilesManagerCore
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ProfilesManagerCore
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ProfilesManagerCore
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ProfilesManagerCore
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ProfilesManagerCore
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ProfilesManagerCore
完整更新日志:
修复 ProfilesLoadedEvent 调用。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧