RPProfessions - Discontinued. Use the Free Version Instead icon

RPProfessions - Discontinued. Use the Free Version Instead -----

Create Immersive RP Professions Focused on Crafting



v1.3.1 | API Update
New Feature

You can now easily develop other resources by accessing the plugin API.

Code (Java):

private void loadRPProfessions ( ) {
    if (Bukkit. getServer ( ). getPluginManager ( ). isPluginEnabled ( "RPProfessions" ) )     {
        //initialize the field
        rpProfessionsAPI = RPProfessions. getAPI ( ) ;
        Formatter. info ( "&aHooked onto RPProfessions." ) ;
    } else {
        Formatter. info ( "RPProfessions not found." ) ;
    }
}
 

Code (Java):

public Optional <ItemStack > getRPProfessionsItem ( final String id ) {
    return rpProfessionsAPI. getItemStack (id ) ;
}

public int getPlayerRPProfessionLevel ( final Player player ) {
    return rpProfessionsAPI. getPlayerProfessionLevel (player ) ;
}
 

Improvements


I made sure RPProfessions 1.3.1 is still compatible with Spigot for Minecraft 1.20.1. Compatibility with 1.20.2 is still untested but should still work as only API calls exist in the code (no NMS).

I fixed some bug/issues regarding the GUI. Should you encounter any more please use the issue section of the repository to post about it.
----------, Oct 4, 2023
Resource Information
Author:
----------
Total Downloads: 32
First Release: Mar 3, 2023
Last Update: Feb 21, 2024
Category: ---------------
All-Time Rating:
6 ratings
Find more info at gilles1348.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings