Commit Graph

64 Commits

Author SHA1 Message Date
2252ead38a Allows the list join delimiter in FormatBuilder to be customized in some cases
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-13 00:43:20 +02:00
298b339ac6 Increases flexibility and reduces number of methods for the format builder
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
Adds some tests for the FormatBuilder
Replaces all the different methods with a few methods that accept any object
Adds a method for converting any non-null object to a string
Adds throws to the methods that might throw an IllegalStateException
2025-09-12 02:36:07 +02:00
1e24fef874 Adds more options for replacing with the format builder
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
Adds methods for auto conversion of arrays to string
Adds methods for auto conversion of objects to string
Adds method for alternate color conversion
Removes redundancy for a lot of FormatBuilder methods
2025-09-12 00:01:39 +02:00
9e04d72449 Makes sure configuration pointers are still valid after reloading
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 16:14:08 +02:00
0ac76f28c3 Makes the format builder accept format builders for replacement and appending
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 14:40:02 +02:00
5c063d6c3f Fixes TabExecutor being expected instead of TabCompleter
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 04:12:22 +02:00
e4127d37c5 Fixes encapsulation
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 04:09:49 +02:00
22ce26d273 Adds missing constructors required for MockBukkit
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 04:03:59 +02:00
ec64a19fc7 Adds methods for registering a command
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 03:51:12 +02:00
44bcab98c6 Fixes some comments
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 02:43:28 +02:00
fd5a2dcb4a Require ConfigCommentPlugin for migration
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 02:41:56 +02:00
20cbf42df3 Makes the configuration private
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 02:09:43 +02:00
9976f614ec Fixes wrong plugin implementation
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 02:02:44 +02:00
a1b69c4d74 Adds a custom plugin implementation that uses the StargateYamlConfiguration
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-06 01:59:35 +02:00
368d6e9128 Fixes a bug when checking if a config key is a comment
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-05 22:13:31 +02:00
6dffb7a784 Attempts to clean the migration code a bit
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-05 21:51:28 +02:00
0b56f3db8f Removes some redundancy
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-05 21:01:39 +02:00
9d46a8398b Changes migrator to ensure old-style configuration is used during migration
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-05 20:56:29 +02:00
49cc4183da Allows any file configuration to be saved through StargateYamlConfiguration
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-05 19:15:11 +02:00
1b21f7a939 Adds code for config migration with comment retaining
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-05 19:09:29 +02:00
fb807d6163 Adds some helper code mainly related to signs
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-03 17:43:08 +02:00
0a4b9d5d8a Makes the string replacer more useful for translatable messages
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-03 03:05:48 +02:00
dee068f142 Adds some missing scope specifiers
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-09-03 02:28:05 +02:00
51ea6be94a Makes the format builder more flexible
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
Adds new no-argument constructor
Adds methods for constructing, appending and replacing with string builders
Adds ability to use translatable messages as placeholders
Adds missing handling of an uninitialized string formatter for some methods
2025-09-03 02:03:06 +02:00
5a0deb877e Adds ability to append to a format builder
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-08-27 13:05:30 +02:00
42bf143e8b Adds format builder method for replacing string with translatable message
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-08-22 16:58:43 +02:00
5aa16bd528 Adds a FormatBuilder for cleaner advanced formatting operations
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2025-08-22 15:39:21 +02:00
5427e2a401 Fixes some problems with TabCompletionHelper.getStringList
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2024-05-04 13:59:53 +02:00
1d6a3f976e Fixes some problems with TabCompletionHelper.getStringList
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2024-05-04 13:37:49 +02:00
a0f81879db Adds a new tab-completion helper function
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
Adds a new tab-completion helper function which is able to tab-complete comma-separated inputs.
2024-05-03 14:58:55 +02:00
75d4f84884 Fixes typos and float instead of double
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2024-04-30 02:46:19 +02:00
e9efb7cd34 Makes getting lines that are not key value pairs possible
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2024-04-29 05:56:19 +02:00
c35325c5a7 Improves particles
Some checks failed
KnarCraft/KnarLib/pipeline/head There was a failure building this commit
Allows specifying separate particle trails for each player.
Removes random particles as a class option.
Adds a particle config builder for easier particle specification.
2024-02-12 23:06:44 +01:00
17fd61e8b9 Adds methods for getting raw messages from the string formatter
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2024-01-25 15:21:01 +01:00
7dc0315469 Makes both String[] and List<String> available for string formatting
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2024-01-11 14:04:36 +01:00
a89ed1fb39 Removes unnecessary processingBlock variable
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2023-09-29 00:32:29 +02:00
8028a8556b Allows creating a particle spawner without material configurations 2023-09-27 14:56:20 +02:00
6ba13a1ced Improves some descriptions, and fixes a nullability problem
All checks were successful
KnarCraft/KnarLib/pipeline/head This commit looks good
2023-09-23 19:14:12 +02:00
5c3c3045eb Adds method for parsing a material without tag support
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
KnarCraft/KnarLib/pipeline/head This commit looks good
2023-07-10 13:15:23 +02:00
5719a8ec4c Makes sure to color message text if a custom prefix is used
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-07-09 18:03:22 +02:00
46f85d37ab Allows specifying the material tag prefix
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-07-08 17:49:39 +02:00
94d74e7794 Adds missing @NotNull annotations
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-07-08 17:22:56 +02:00
914485c67b Adds a helper class for parsing materials and tags
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-07-08 16:49:16 +02:00
e35156bea9 Makes some particle classes final
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-07-08 15:33:27 +02:00
ad5dabc712 Adds code for spawning customizable particle and trail effects
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-07-08 15:20:59 +02:00
4fb4429f8b Adds more options to StringFormatter
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
Makes it possible to set the prefix before the plugin name
Makes it possible to set the suffix after the plugin name
Makes it possible to set the ColorConversion for translated messages
2023-07-08 03:01:15 +02:00
88ea42783a Improves some TimeFormatter code
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
Adds more comments to make things easier to understand for returning developers
Extracts some functionality to improve cleanliness
Makes sure UNIT_NOW not being registered throws an exception
Makes sure to initialize units before any checks to improve consistency
Reduces the number of indentations where possible
2023-03-06 20:07:02 +01:00
2618d42992 Allows partial usage of time units if preferable
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-03-06 14:31:49 +01:00
e8d62930ca Makes string formatter colors configurable
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-01-25 17:03:39 +01:00
5e8b13785d Makes translator color conversion configurable
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
2023-01-25 16:38:56 +01:00