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.
https://modrinth.com/plugin/profilsplayerstatistics
https://modrinth.com/plugin/profilesmanagercommands
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.Sorax5</groupId>
<artifactId>ProfilesManager</artifactId>
<version>Tag</version>
</dependency>
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.Sorax5:ProfilesManager:Tag'
}
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.
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);
}
Work in progress
the logo was made by game-icons.net under the CC BY 3.0 license.