Commit Graph

8 Commits

Author SHA1 Message Date
BONNe 9953459e50 Add support for gamemode-specific translations.
This was a request from Floris
2023-03-31 11:12:08 +03:00
BONNe 57a4c08c0c
Rewrite action display logic. (#308)
There were no filters for action displaying. All actions were active from the start, even if they are not possible.
I added action filter that will remove impossible actions:
    - COMPLETE_MAX and MULTIPLE_PANEL for non-repeatable challenge,
    - already completely finished challenge.
Fixes #307
2022-11-21 08:01:13 +02:00
BONNe 71e0029d46 Fixes incorrect NEXT and PREVIOUS button descriptions.
Fixes #289
2022-01-04 21:38:52 +02:00
BONNe bb5e861b30 Implement timeout respecting in challenges completion.
Implement timeout in GUI's.

Relates #71
2021-09-24 16:03:02 +03:00
BONNe aa0336d62a Fixes #187
Add a new method that updates unlocked level list without changing active level. This method returns if last unlocked level was changed, and in that case it triggers whole gui rebuilding.
2021-09-24 12:26:44 +03:00
BONNe 2bc71b5f52 Clean up Constants a bit. 2021-09-19 21:04:09 +03:00
BONNe 6fbc9d0676 Changes User#sendMessage to Utils#sendMessage
This allows add "prefix" to all messages send from Challenges addon.
2021-09-19 15:36:52 +03:00
BONNe 09a30f00db Implement customizable user panels.
Server owners can customize 3 panels:
- main panel
- gamemode selector
- multiple completions

Panel functions will be explained in docs later.
2021-09-18 12:54:17 +03:00