Commit Graph

12 Commits

Author SHA1 Message Date
JaTiTV 32c1219bb2 2.7.2
ADD: Added a UseItem Item/Block Blacklist so that when you look at one of these blocks, the GUI does not open but the block (for example: CHEST, CRAFTING_TABLE, or buttons).
2022-05-17 00:19:39 +02:00
JaTiTV a05b941aaf 2.7.1 | Bug fixes
Bug fixes:
- When sneaking and using the UseItem, an error occurred.
- The config.yml was not reloaded on '/commandgui admin reload' and the change was rolled back
- The command '/gui-item slot <slot>' was calculated incorrectly and it often came the message that the selected slot was occupied although it was not.
2022-05-12 18:28:35 +02:00
JaTiTV 36de2ff0ca Small bugfix 2022-05-03 19:23:17 +02:00
JaTiTV b6347c8fad 2.7.0 2022-04-28 19:40:41 +02:00
JaTiTV f3feddd317 api changes & clean code 2022-04-22 19:05:34 +02:00
JaTiTV cfd07b01f2 2.7.0_Snapshot-6 | Fix
Fixes:
- 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 changed the slot of the UseItem, the Protection (RemoveItemWhenItIsDisabled) was ignored and you got the item.
2022-04-21 01:58:54 +02:00
JaTiTV c5bc880ab1 Add SQLITE & Bugfix
Add: SQLITE as storage medium
Change: The MYSQL connection has been slightly optimized
Fix: The command 'gui-item slot <number>' dat not set the item to the right place?
2022-04-19 18:03:44 +02:00
JaTiTV f2a666773f 2.7.0 Snapshot 1
In this update some functions were rewritten, changed and added.

Also some minor bugs have been fixed.

The GUIs files have been split into GUI files and function files, this provides more clarity in the complete plugin structure and offers the possibility to access a function from multiple GUIs. Thus, for example, you can create a back button as a function and open it from 3 GUIs, the item, the function can also be in different places, because the slot is set in the GUI file.

In the GUI files is thus specified on which slot which function should be located.
In addition, the permission for See and for Use of the functions can now be set individually in the GUI Config.

In the functions also 2 new functions were added, with which players can switch permissions on and off and an option to switch 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 taken over. For security reasons your old GUI files are saved under the path 'plugins/CommandGUI/OldConfig/GUIs/Version4'.

Bug fixes:
- Fixed a bug that prevented GUIs from opening.
- The OpenGUI option, the command '/cgui <guiname>' did not work. The GUI that was set as default GUI in UseItem was always opened. This was fixed

New features:
- 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:
- The config structure has been revised.
2022-04-19 07:08:33 +02:00
JaTiTV c17733fe3f insert 2022-04-16 14:32:22 +02:00
JaTiTV 89030215a1 2.5.19 | Add UseItem World Protection and Change and minor code changes 2022-01-07 20:32:59 +01:00
JaTiTV 75ab60bbaa Changes
- If the option Join.Cursor.ToGUIItem.OnLogin was set to true the cursor was set to the UseItem even if the GameMode was changed, this was fixed.
- Protection was completed
2022-01-06 03:04:56 +01:00
JaTiTV 8377667f55 code changes 2022-01-06 02:21:27 +01:00