Commit Graph

60 Commits

Author SHA1 Message Date
b0ff520847 new Config 2022-04-19 07:11:30 +02:00
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
65a01513ce Snapshot 3 2022-04-18 23:12:50 +02:00
31a4f2d2ad fix 2022-04-16 14:38:36 +02:00
0c45b650b8 Update pom.xml 2022-04-16 14:32:41 +02:00
c17733fe3f insert 2022-04-16 14:32:22 +02:00
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
58409dc523 Update pom.xml 2022-04-15 20:30:20 +02:00
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
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
92d4c86aa0 2.6.1 2022-03-21 22:21:54 +01:00
e98c047ff0 Update pom.xml 2022-03-10 22:54:24 +01:00
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
ce07fd2f37 Bugfix 2022-02-09 22:53:18 +01:00
c7fe0603fe Update pom.xml 2022-01-19 11:15:53 +01:00
4849ca06e7 Update ItemChange.java 2022-01-19 11:15:47 +01:00
fe7ae61242 Update database to Hikari 2022-01-16 03:03:04 +01:00
b3934e22cc Update T2C-LuckyBox API 2022-01-13 03:46:08 +01:00
7808a3bf6e Update pom.xml 2022-01-13 03:30:08 +01:00
f1e1c0de57 LuckyBox was added to OpenGui 2022-01-13 03:28:06 +01:00
c4525a0055 add debugmessages 2022-01-11 02:44:36 +01:00
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
811d6a7a9d Update Events.java 2022-01-07 20:42:32 +01:00
88bdac1fc8 small changes 2022-01-07 20:40:43 +01:00
JaTiTV
2e29bfb270 Merge pull request '2.5.19 | Add UseItem World Protection and Change and minor code changes' (#3) from world-black-/-whitelist into main
Reviewed-on: JaTiTV/CommandGUI#3
2022-01-07 20:40:17 +01:00
89030215a1 2.5.19 | Add UseItem World Protection and Change and minor code changes 2022-01-07 20:32:59 +01:00
b212b68f67 recode Bungee config 2022-01-07 19:19:40 +01:00
JaTiTV
ee587742d1 Merge pull request '2.5.18' (#2) from 2.5.18 into main
Reviewed-on: JaTiTV/CommandGUI#2
2022-01-07 18:17:43 +01:00
908e137943 Update pom.xml 2022-01-06 19:18:09 +01:00
47c2329ff9 Update pom.xml 2022-01-06 18:28:27 +01:00
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
8377667f55 code changes 2022-01-06 02:21:27 +01:00
7afbdd695c 2.5.18_DEV 2022-01-06 02:20:59 +01:00
91f8d744cc Update GUI_Listener.java 2022-01-03 18:11:51 +01:00
b80eaa08be Update OpenGUI.java 2022-01-01 17:48:42 +01:00
b36fdc2d67 2.5.17 2022-01-01 03:40:54 +01:00
35c277ba3b Update question.md 2021-12-31 05:47:45 +01:00
8fd5ac7c80 Update pom.xml 2021-12-31 04:28:30 +01:00
0aefd0eb64 Merge pull request '2.5.16' (#1) from 2.5.16_DEV into main
Reviewed-on: JaTiTV/CommandGUI#1
2021-12-31 04:24:41 +01:00
7b0d8952ec add ISSUE_TEMPLATE 2021-12-31 04:19:00 +01:00
5d8188b684 Added more subcommands for '/cgui admin info' 2021-12-31 04:17:11 +01:00
b5553c770d 2.5.16_Snapshot_1 2021-12-29 06:57:11 +01:00
f734748df8 Message added to the '/gui-item' command if this function is disabled 2021-12-29 06:55:36 +01:00
a80d0d3e43 Remove Debugmessages 2021-12-29 06:54:30 +01:00
6c53d936a0 clean code 2021-12-29 06:47:33 +01:00
ff5c559f93 Commented files (e.g. gui.ymlX) are no longer recognized as gui. 2021-12-29 06:44:04 +01:00