ProfilesManagerCore 图标

ProfilesManagerCore

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.2.3-SNAPSHOT
本资源为搬运资源,原资源地址: https://modrinth.com/mod/profilesmanagercore
资源信息

Minecraft 版本: 1.12.2 1.16.5

平台: bukkit paper purpur spigot

标签: library management utility

资源介绍

ProfilesManagerCore
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![](https://img.shields.io/bstats/servers/15930?label=bStats)](https://bstats.org/plugin/bukkit/ProfilsManagerCore/15930) [![](https://img.shields.io/github/stars/Sorax5/ProfilesManager.svg?label=Stars&logo=github)](https://github.com/Sorax5/ProfilesManager/stargazers) [![CodeFactor](https://www.codefactor.io/repository/github/sorax5/profilesmanager/badge)](https://www.codefactor.io/repository/github/sorax5/profilesmanager) ![](https://img.shields.io/badge/environment-server-orangered?style=flat-square)

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

https://modrinth.com/plugin/profilsplayerstatistics

ProfilesManagerCommands

https://modrinth.com/plugin/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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Piggy Admin

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

查看详情
The Great Shrimpsby

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

查看详情
Naturalis

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

查看详情
WayGL

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

查看详情