• Stable 2.7.0 b6347c8fad

    2.7.0 | SQLITE and other functions were added, some bugfixes

    JaTiTV released this 2 months ago | 0 commits to 2.7.0 since this release

    In this update some functions have been rewritten, changed and added.
    Among other things, this now includes SQLITE as a storage medium.

    In addition, some minor bugs have been fixed.

    The GUIs files have been split into GUI files and function files, this provides more clarity in the overall plugin structure and offers the possibility to call a function from multiple GUIs. For example, you can create a back button as a function and call it from 3 GUIs, the item, the function can also be in different places, because the slot is set in the GUI file.
    Config differences: https://git.t2code.net/JaTiTV/CommandGUI/src/branch/2.7.0/Config%20Update%20V5

    So in the GUI files it is set on which slot which function should be.
    Also, the permission to see and use the functions can now be set individually in the GUI config.

    In the functions, 2 new functions have also been added to allow players to turn permissions on and off and an option to turn the UseItem on and off.

    Placeholders have been added.

    This update includes a converter that builds the new structure from the old config structure. Your options should be carried over in the process. For security reasons, your old GUI files will be saved under the path 'plugins/CommandGUI/OldConfig/GUIs/Version4'.

    Added:

    • SQLITE as storage medium
    • Placeholders
    • %commandgui_useitem% - Shows if you have activated or deactivated the UseItem (in color, customizable in config.yml)
    • %commandgui_useitem_boolean% - Shows if you have enabled or disabled the UseItem
    • %commandgui_useitem_slot% - shows on which slot you have set the UseItem
    • ToggleUseItem as new option for slots
    • TogglePermission as new option for slots

    Changes:

    • Removed permissiond regestration from plugin.yml and regestred via code.
    • The Slot See and Use Permissions are now included in OP and commandgui.admin
    • refresh perms by reload
    • The MYSQL connection has been slightly optimized
    • If you changed the slot of the UseItem, the Protection (RemoveItemWhenItIsDisabled)
    • placeholder in slot permissions changed from '[guiname]' to '[function]'.
    • The config structure has been revised.

    Bug fixes:

    • use and see perm
    • The command 'gui-item slot ' dat not set the item to the right place?
    • If there was a function in the GUI that did not exist, then an error occurred in the console and the GUI could not be opened, this was fixed.
    • If you did not have the permission to see a function and still clicked on the slot, then an error occurred
    • the sound was not played when CostumSound was off in the function
    • Fixed a bug that prevented GUIs from opening.
    • The OpenGUI option, the command '/cgui ' did not work. The GUI that was set as default GUI in UseItem was always opened. This was fixed
    • The OpenGUI option, the command '/cgui ' did not work. The GUI that was set as default GUI in UseItem was always opened. This was fixed
    • Fixed a bug that prevented GUIs from opening.
    Downloads