Commit Graph

46 Commits

Author SHA1 Message Date
BONNe
e9f37e8dee Replace GuiUtils and HeadLib to the PanelUtils library. 2021-10-02 14:04:30 +03:00
BONNe
a75c243762 Add search field to the PagedSelectors.
Add missing tooltips.
2021-09-20 14:39:21 +03:00
BONNe
2bc71b5f52 Clean up Constants a bit. 2021-09-19 21:04:09 +03:00
BONNe
3ee89af5df Update all admin panels.
Admin panels will not contain better locales codding and easier-to-improve design.

Remove old and unused GUIs.
2021-09-18 12:56:44 +03:00
BONNe
3bb0a30657 Rename classes to Selectors.
Split single and multiple item selectors for easier implementation.
Update proper locales.
2021-09-18 12:51:00 +03:00
BONNe
c63087c5af Create Statistic Requirement for Challenges addon.
Statistic requirement is a new type of challenge that is based on Statistic page for clients.
2021-08-14 19:25:04 +03:00
BONNe
8d5514325c Fix issue when AbandonedListener targeted correct input values.
I did not understand correctly how that listener worked.
2020-04-29 23:15:24 +03:00
BONNe
5a0d63a272 Add option to quit from conversation by writing "cancel" in chat.
Move sanitizeInput to a GuiUtil class.
2020-04-22 01:12:46 +03:00
tastybento
2aa437f071 English update (#193)
* Organized imports

* Minor code cleanup

* Updated English locale file.
2019-10-10 08:35:25 +03:00
BONNe
0c47f811dc Fix issue when users could not select non-block items as icons for challenges and levels. (#190) 2019-09-28 20:09:21 +03:00
BONNe
449890def5 Drop Depricated 1.13 SIGN object.
Update to 1.7 BentoBox.
2019-09-08 20:15:30 +03:00
BONNe
4e6d37cd90 Rework Challenge Object Data storing.
Requires MIGRATION if upgrade from older version.
2019-09-08 20:03:46 +03:00
BuildTools
c516d53907 Update to v1.6.0 version.
Remove AnvilGUI, as it is broken. Replaced with Spigot Conversation API.
Remove lore-config from GUI (broken).
Remove RIGHT_CLICK to complete multiple times (broken).
2019-08-25 22:43:15 +03:00
BONNe
1a70ee3ad8 Fix issue with Entity and Block selecting GUIs.
Items were not selected unless player use right click. Not it will work correctly.
2019-06-16 11:43:05 +03:00
BONNe
330034ea8e Add SIGN_MATERIAL constant in ChallengesAddon which value depends on Minecraft version.
This will allow to drop down 1.14 branch.
2019-05-20 08:28:35 +03:00
BONNe
c3f93fd797 Implement ability to select multiple Entities and Blocks in SelectBlockGUI and SelectEntityGUI. (#121)
Fix issue with unsplitted text in ManageBlocksGUI and ManageEntitiesGUI. (#121)
2019-05-18 00:01:03 +03:00
BONNe
d60f20e394 Fix issue when Color codes did not work in opened Panels and Titles (#110)
These text element colors were not translated correctly.
Now it should work.
2019-05-04 11:16:41 +03:00
BONNe
a41859459f Implement ability to change text via Chat instead of AnvilGUI (#97).
It was necessary as Anvil has limited char input, while chat is almost unlimited.
2019-04-26 21:20:36 +03:00
BONNe
507c68d683 Add ability to edit string messages from StringListGUI via Chat. 2019-04-26 20:59:52 +03:00
BONNe
a957dc3a62 Update to BentoBox API 1.4.0 2019-03-29 00:42:51 +02:00
BONNe1704
bf9d71077b Fix issue when selecting single challenge does nothing.
It was not added to challenge set :(
2019-02-14 11:59:48 +02:00
BONNe1704
8f9aa78435 Fix confusing Select Challenge GUI. #86
Left Click on challenge will immediately return to previous panel (status = true), right click will select challenge.
2019-02-14 11:46:37 +02:00
BONNe1704
78fa459aa4 Implement ability to Fix player Data from GUI.
Fix issue when accept and decline buttons were with wrong names.
2019-02-13 16:17:44 +02:00
BONNe
0317d057ab Implement Challenge Description into SelectChallengeGUI.
Fix issue, when reset and complete user challenges showed all challenges, instead of mission one.
2019-02-12 13:03:13 +02:00
BONNe
ab3275cd69 Rework Challenges Addon Language structure.
Reorganize structure.
Add missing translations.
Add colors.
2019-02-12 01:38:16 +02:00
BONNe
b2201ec48d Add ability to specify Lore line length via Settings. 2019-02-11 15:29:19 +02:00
BONNe
586b076860 Fix issues when Description were to long to fit in window. 2019-01-26 14:46:03 +02:00
BONNe1704
dba5a44461 Rename Challenges and ChallengeLevels classes. 2019-01-23 16:09:38 +02:00
BONNe1704
60789276be Set all util guis to 45 element size.
Add Glass Pane Borders to these guis.
2019-01-21 12:21:53 +02:00
BONNe
24646678bf Remove code duplication.
Material icon and Entities icon creation now are in GuiUtils class.
2019-01-20 17:54:51 +02:00
BONNe
dadf907efb Create SelectBlocksGUI that allows to select single Material that is block from GUI. 2019-01-20 11:54:40 +02:00
BONNe
be7435f73a Implement AnvilGUI into StringListGui so users could edit text via Anvil. 2019-01-19 18:21:37 +02:00
BONNe
faa237ddf0 Integrate AnvilGUI into NumberGUI so users could manually write numbers in GUI.
Add error messages, if number is not valid.
2019-01-19 18:13:15 +02:00
BONNe
6125eb5d34 Create SelectChallengeGUI that allows to choose one challenge from input challenge list and return it into GUI. 2019-01-19 17:53:50 +02:00
BONNe
865fa626af Create SelectEnvironmentGUI that allows to select and deselect different world environments. 2019-01-19 17:12:00 +02:00
BONNe
17d0f0b8f3 Create SelectEntityGUI that allows to select an entity from all living creatures.
It displays mobs in two ways: as Mob eggs or as Mob Heads.
2019-01-19 16:54:43 +02:00
BONNe1704
97174930d5 Create constructor that allows to input any String Collection. 2019-01-18 17:22:44 +02:00
BONNe1704
fb06dae7ab Add constructors that allows to set minimal and maximal return value. 2019-01-18 17:03:08 +02:00
BONNe1704
25371fc6aa Replace setValue method with BiConsumer.
This will provide ability to use setters directly in caller GUIs.
2019-01-18 16:50:34 +02:00
BONNe1704
09f69bd46a Implement Consumer in ConfirmationGUI instead of depending on setValue method. 2019-01-18 16:49:39 +02:00
BONNe
dab5f2b331 Remove commands from UtilGuis, instead use CommonGUI.valueObject to store new value.
Proper ItemSwitchGUI implementation.
2019-01-17 22:44:48 +02:00
BONNe1704
2ae8a5d634 Create ItemGUI class that will be used to change all required and reward item stacks. 2019-01-17 17:49:51 +02:00
BONNe1704
1508492a69 Create StringListGUI class that allows to edit list of strings. 2019-01-17 16:55:32 +02:00
BONNe1704
c79173b411 Remove command existing check from ConfirmationGUI.
Add CompositeCommand as class variable.
2019-01-17 16:27:16 +02:00
BONNe1704
6903fa5d40 Create NumberGUI that allows to change integer value and run command that will apply this integer. 2019-01-17 16:23:03 +02:00
BONNe1704
e1f6cc8b47 Create ConfirmationGUI class that creates GUI with 2 buttons.
On Cancel it should return to previous GUI.
On Accept it should process given command. If command does not exist, it should throw error message in chat. At the end it should return to previous GUI.
2019-01-17 13:16:42 +02:00