Profiles 2.2.3

Plugin that allows players to save progress to profiles.

  1. Fix bug related to XP saving on auto save instances.

    CMPSCjg
    Looks like my previous update didn't capture all the xp bugs :(
  2. Fix bug related to XP saving and loading

    CMPSCjg
    Thanks to @KhrysAK47 for bringing this issue to my attention.

    There was a flaw in the logic I had in place for saving and loading the player's XP that was causing it dramatically increase the player's XP level. This should be resolved now.
    ccorp2002 likes this.
  3. Fix bug preventing save clicks from working.

    CMPSCjg
    Thanks to @QualitySetups for pointing this issue out to me!

    With this update, I resolved a bug that prevent save clicks from working as intended in the profiles GUI.
    ccorp2002 likes this.
  4. Make GUI elements customizable.

    CMPSCjg
    Thanks to @QualitySetups for making this suggestion.

    I've updated the config.yml to have a new section that allows users to customize all the GUI elements inside the /profiles open menu.
    ccorp2002 likes this.
  5. Add support for legacy versions of Minecraft (1.8.8 - 1.16.x).

    CMPSCjg
    When I built the first version of Profiles, I did not realize that there was a significant change to the ItemStack/Material logic starting with 1.13.x. Because of this, how I was constructing the items was not going to work for earlier versions of Minecraft (< 1.13.x).

    With this update, I have been able to update the ItemStack/Material logic to work properly for Legacy versions of Minecraft. I tried my best to test all earlier versions (1.8.8, 1.9.4, 1.10.2, 1.11.2 and 12.2) and found that...
    ccorp2002 likes this.
  6. Move Data section from Config.yml to Data.yml (MAJOR UPDATE)

    CMPSCjg
    With this update, the Profiles data will no longer be loaded or saved to the config.yml file, but rather to it's own file data.yml. This update was made to clean-up the codebase in preparation to add MySQL support in a later update.

    NOTE: This is a major breaking change! If you want to persist your previously saved player data on versions of Profiles before 2.0.0, you WILL need to copy over the 'data' section from config.yml over to the new data.yml file. Here is a demo on how to do...
    ccorp2002 likes this.
  7. Add 'Dispatch Commands' Feature

    CMPSCjg
    Thanks to @KhrysAK47 for the suggestion!

    Added the ability to configure a list of commands to dispatch whenever the player saves, loads or deletes a profile in a specific slot. The command list has a <PLAYER> token. Meaning if you add <PLAYER> to the command, it will replace this token with the current player's in-game name.

    Here is the latest config.yml:
    Code (YAML):
    # Profiles - Configuration
    # Each player will have 3 save slots stored in this file.
    # Any changes to the...
    ccorp2002 likes this.
  8. Add Command Functionality for Save, Load and Delete

    CMPSCjg
    Thanks to @KhrysAK47 for the suggestion!

    This update will extend the save, load and delete functionality to be available via commands. I've updated the /profiles command to list more details about these commands.
    [​IMG]

    The /profiles save, load and delete commands will work exactly as the GUI functionality has previously. I've added some additional properties to...
    KhrysAK47 likes this.
  9. Fix bug where dying would force an auto save

    CMPSCjg
    Found a negative player gameplay loop where if the player died the auto-save functionality would fire.

    This would save the empty inventory and player health value of 0.0 to the slot, effectively killing that save slot unless the 'config.yml' was updated manually.

    Planning to have additional bug fixes for any other auto-save issues as they are found and/or reported.
    KhrysAK47 likes this.
  10. Add 'Auto Save' feature when player inventory changes

    CMPSCjg
    Thanks @NurdTurd for the suggestion!

    With this version of Profiles, any change to the player's inventory (picking up an item, dropping an item, placing an item into a chest, etc) will cause an 'auto save' to occur for whichever Profile slot the player has last interacted with.

    For example, if you load a profile on slot #1 and dropped an item onto the ground, the profile on slot #1 will save automatically.