Commit Graph

84 Commits

Author SHA1 Message Date
JaTiTV b0286e597f Merge branch 'main' of https://git.t2code.net/JaTiTV/CommandGUI 2022-05-17 21:04:30 +02:00
JaTiTV ddfea4eba6 2.7.3
CHANGE: The placeholders are now usable internally in the plugin, even if PlaceholderAPI is not available.

FIX: Playerheads, Base64 Heads are now also available with 1.8 - 1.12
2022-05-17 21:04:23 +02:00
JaTiTV ed86e7b143 „README.md“ ändern 2022-05-17 00:56:19 +02:00
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 326dfae0e9 2.7.2
Small code changes that fixes minor bugs
2022-05-16 14:03:53 +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 777c6876fc Merge pull request '2.7.0' (#8) from 2.7.0 into main
Reviewed-on: JaTiTV/CommandGUI#8
2022-04-28 19:55:33 +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 35a9930017 error fix 2022-04-21 02:38:43 +02:00
JaTiTV fc98f931e2 Bugfix
Bugfix: If you did not have the permission to see a function and still clicked on the slot, then an error occurred
2022-04-21 02:19:27 +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 3bd0662273 fix use and see perm 2022-04-19 09:40:15 +02:00
JaTiTV 7993dca126 refresh perms by reload 2022-04-19 09:32:18 +02:00
JaTiTV 520df8dc97 2.7.0_Snapshot-3 | Perm Update
Removed permissiond regestration from plugin.yml and regestred via code.
- The Slot See and Use Permissions are now included in OP and commandgui.admin
2022-04-19 09:22:56 +02:00
JaTiTV 8e90aee0ca 2.7.0_Snapshot-2 | small change
Fix: the sound was not played when CostumSound was off in the function
Change: placeholder in slot permissions changed from '[guiname]' to '[function]'.
2022-04-19 08:32:07 +02:00
JaTiTV 7fda797cae remove config poll 2022-04-19 07:15:09 +02:00
JaTiTV 007d8776b9 update default config to V5 2022-04-19 07:14:35 +02:00
JaTiTV b0ff520847 new Config 2022-04-19 07:11:30 +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 dcd524ab3c „Config poll/new/GUIs/default.yml“ ändern 2022-04-19 00:45:40 +02:00
JaTiTV c3d0990853 „Config poll/new/Functions/SupportDiscord.yml“ ändern 2022-04-19 00:13:25 +02:00
JaTiTV 04a7d4952e „Config poll/new/Functions/SupportDiscord.yml“ ändern 2022-04-19 00:13:11 +02:00
JaTiTV 65a01513ce Snapshot 3 2022-04-18 23:12:50 +02:00
JaTiTV d96205887c Config poll 2022-04-16 15:46:26 +02:00
JaTiTV 31a4f2d2ad fix 2022-04-16 14:38:36 +02:00
JaTiTV 0c45b650b8 Update pom.xml 2022-04-16 14:32:41 +02:00
JaTiTV c17733fe3f insert 2022-04-16 14:32:22 +02:00
JaTiTV 5e4998734d Update pom.xml 2022-04-16 14:26:08 +02:00
JaTiTV c2782bbb97 Merge pull request 'open-gui-test' (#7) from open-gui-test into main
Reviewed-on: JaTiTV/CommandGUI#7
2022-04-16 14:09:16 +02:00
JaTiTV 58409dc523 Update pom.xml 2022-04-15 20:30:20 +02:00
JaTiTV 17b1a0568e bugfix
If you didn't have the permission to see an item, you could still click on it and get the message that you don't have the permission. This has now been changed so that you only get the message if you can see the item.
2022-04-06 20:21:19 +02:00
JaTiTV 1c6e6d6660 2.6.2_Snapshop-1
The GUI listener has been redesigned in terms of code and improved in terms of performance.
2022-03-28 21:56:57 +02:00
JaTiTV ff2cb3ce96 Merge pull request '2.6.1' (#6) from perm-change into main
Reviewed-on: JaTiTV/CommandGUI#6
2022-03-21 22:23:25 +01:00
JaTiTV 92d4c86aa0 2.6.1 2022-03-21 22:21:54 +01:00
JaTiTV e98c047ff0 Update pom.xml 2022-03-10 22:54:24 +01:00
JaTiTV 4cbe8ed802 2.6.0
Add:
- 1.18.2 Support

Bugfix:
- Fixed a bug where bungee commands were executed multiple times when multiple players were on the server.

New features:
- Bungee commands can now also be executed from the server
2022-03-08 20:12:02 +01:00
JaTiTV e8b5d49822 Merge pull request 'Bugfix' (#5) from 2.5.23 into main
Reviewed-on: JaTiTV/CommandGUI#5
2022-02-09 22:54:29 +01:00
JaTiTV ce07fd2f37 Bugfix 2022-02-09 22:53:18 +01:00
JaTiTV c7fe0603fe Update pom.xml 2022-01-19 11:15:53 +01:00
JaTiTV 4849ca06e7 Update ItemChange.java 2022-01-19 11:15:47 +01:00
JaTiTV fe7ae61242 Update database to Hikari 2022-01-16 03:03:04 +01:00
JaTiTV b3934e22cc Update T2C-LuckyBox API 2022-01-13 03:46:08 +01:00
JaTiTV 7808a3bf6e Update pom.xml 2022-01-13 03:30:08 +01:00
JaTiTV f1e1c0de57 LuckyBox was added to OpenGui 2022-01-13 03:28:06 +01:00
JaTiTV c4525a0055 add debugmessages 2022-01-11 02:44:36 +01:00
JaTiTV 7e81c3403d 2.5.20 | bugfix 2022-01-08 07:47:49 +01:00
JaTiTV cb5f8a7350 Merge pull request '2.5.19' (#4) from world-black-/-whitelist into main
Reviewed-on: JaTiTV/CommandGUI#4
2022-01-07 20:43:37 +01:00