Commit Graph

69 Commits

Author SHA1 Message Date
JaTiTV 7768530c19 2.8.16
- 1.20.2 Support
- If UseItem.AllowToggle was disabled in config.yml, it was still possible to toggle it via the toggle function, this logic error has been fixed
- The BungeeCord option has been removed from config.yml. The setting from the T2CodeLib Config is adopted
2023-12-07 18:34:34 +01:00
JaTiTV a0026381af 2.8.16_dev 2023-09-05 22:56:44 +02:00
JaTiTV ae5a3b3557 2.8.15
- API update to Minecraft version 1.20
- T2CodeLib API update to 15.0 (this version is required from now on)
2023-06-08 07:02:06 +02:00
JaTiTV 367f1e32f4 Small bugfix 2023-04-23 13:25:14 +02:00
JaTiTV bcfe98bf22 2.8.14 2022-12-22 02:05:57 +01:00
JaTiTV b83766744d Bugfix: Player-Inv-Click
Bugfix: #14
2022-12-22 02:04:32 +01:00
JaTiTV cd366cbe14 Merge branch 'main' of https://git.t2code.net/JaTiTV/CommandGUI 2022-12-22 01:50:02 +01:00
JaTiTV 82cc31d41f 2.8.13
Change:
- The plugin reload now runs asyncron and therefore no longer causes the server to freeze briefly during a plugin reload.
2022-12-22 01:48:57 +01:00
JaTiTV 3050ad337d 2.8.12 2022-11-15 15:31:26 +01:00
JaTiTV 38b644bb27 T2CodeLib -> 13.0 2022-11-01 13:20:53 +01:00
JaTiTV 7be7c9f09e 1 2022-08-10 15:27:27 +02:00
JaTiTV 893f99c3e5 2.8.9
Bugfix: If the plugin was already converted to T2C-CommandGUI but still a plugin folder named CommandGUI was present, the original folder was overwritten.
Bugfix: If T2CodeLib was not installed, an unwanted error occurred
Bugfix: The permission 'commandgui.updatemsg' was wrongly registered as 'commandgui.updatemsgupdatemsg' and thus also recognized by Luckperm.
2022-07-29 15:16:52 +02:00
JaTiTV fa1af88777 2.8.8
This update fixes a security vulnerability where players with modified clients could intercept all commands.
This bug affects the proxy (Bungee, Waterfall etc.)!
2022-07-19 18:25:48 +02:00
JaTiTV f947025afa 2.8.7 No Permission Lore, Function load fix 2022-07-09 17:25:59 +02:00
JaTiTV da4bd4975a 2.8.6
Bugfix: If in a function the CustomSound was deactivated, the message came that the CustomSound does not exist, if none was specified and if one was specified, the CustomSound was played additionally. This has been fixed.
2022-07-09 10:50:47 +02:00
JaTiTV 78a0bd5f7e 2.8.5
- With this update the plugin has been renamed from 'CommandGUI' to 'T2C-CommandGUI'.
- The plugin folder is now called 'T2C-CommandGUI'.
- The commands 't2c-commandgui', 't2c-commandguihelp' and 't2c-commandgui-item' have been added
- A new tab 'NoPermission' has been added to the functions, where it is adjustable:
- Whether a message should be displayed if you click on the function but don't have permission for it.
- CustomNoPermMessage
- Whether a custom lore should be displayed if you don't have a permission for this function.
2022-07-09 09:13:10 +02:00
JaTiTV bdb6711907 Update pom.xml 2022-07-09 04:42:29 +02:00
JaTiTV a6dff7e243 2.8.4 | Minor code changes
In this update minor code changes were made to better structure the interaction with T2CodeLib
2022-06-28 08:25:23 +02:00
JaTiTV e7f5b00b31 Bugfix 2022-06-09 04:06:26 +02:00
JaTiTV c43a5fd90c 2.8.2
Changes:
- The structure of config.yml has been slightly changed (nothing needs to be changed as the settings paths remain the same)
- The code structure has been rebuilt / improved

Fix:
- Fixed an error that occurred when a player joined the sever and immediately left.
2022-06-08 05:11:26 +02:00
JaTiTV 48c06696ef 2.8.1
Bugfix for the AdminSubCommand option
2022-06-07 20:20:26 +02:00
JaTiTV 16123ec578 2.8.1
Bugfix for the AdminSubCommand option
2022-06-07 20:16:50 +02:00
JaTiTV c590255d38 Update pom.xml
Development status in the version removed
2022-06-07 06:10:48 +02:00
JaTiTV 5d646fce48 2.8.0 | VotePoints for payment, Items for payment and other new features
In this update more options to pay for the functions like Vote Points (VotingPlugin) and Items have been added.
Also, 2 completely new functions have been added to give or remove both Vote Points and Items to the player.
2022-06-07 06:09:37 +02:00
JaTiTV 87d0f75a4c Merge branch 'main' of https://git.t2code.net/JaTiTV/CommandGUI 2022-06-02 12:30:31 +02:00
JaTiTV 6f3da3e3f4 2.7.7
Fixed a bug that prevented the plugin from loading on the bungee.
2022-06-02 12:29:53 +02:00
JaTiTV f6860e9ab5 2.7.6
Critical bugfix: MySQL had a server crash
Fix: The message when disabling the GUIItem was not displayed
2022-06-01 13:32:53 +02:00
JaTiTV ebbec1f660 2.7.6_DEV 2022-06-01 13:23:53 +02:00
JaTiTV 381afeba89 2.7.5
Added the option for hover & clickable messages for players.
2022-06-01 00:01:15 +02:00
JaTiTV 19822f7024 2.7.4 | MySQL Bugfix
MySQL Bugfix
```
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS `Slot` INT(1) NULL DEFAULT NULL AFTER `Status`' at line 1
```
And minor code changes
2022-05-28 21:46:04 +02:00
JaTiTV ed810f31d7 Update pom.xml 2022-05-17 21:25:53 +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 326dfae0e9 2.7.2
Small code changes that fixes minor bugs
2022-05-16 14:03:53 +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 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 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 65a01513ce Snapshot 3 2022-04-18 23:12:50 +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 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 92d4c86aa0 2.6.1 2022-03-21 22:21:54 +01:00