11# Do not edit
2- file-version : ' 14 '
2+ file-version : ' 17 '
33# Do you want to check for updates on the startup?
44check-for-updates : true
55preview-kits-menu :
@@ -16,6 +16,12 @@ preview-kits-menu:
1616 lore :
1717 - ' '
1818 - ' <white><i>(( Click to close this menu! ))'
19+ claim-button :
20+ material : BARRIER
21+ name : <red><b>QUICK CLAIM
22+ lore :
23+ - ' '
24+ - ' <white><i>(( Click to quick claim! ))'
1925 previous-page-button :
2026 material : PLAYER_HEAD
2127 texture : http://textures.minecraft.net/texture/816ea34a6a6ec5c051e6932f1c471b7012b298d38d179f1b487c413f51959cd4
@@ -154,9 +160,6 @@ preview-kits-menu:
154160 - ' <bold><color:#10987A>*<color:#10987A></bold> <gradient:#10987A:#49ECC3>Number of Items:</gradient> <color:#E5DCD9>{items}<color:#E5DCD9>'
155161 - ' '
156162 - ' <italic><gradient:#10987A:#49ECC3>(( You have to wait for the delay! ))</gradient></italic>'
157- first-join-vouchers : []
158- first-join-kits :
159- - ' Coal;1'
160163allow-claim-kit-with-full-inventory : true
161164# Set 0 to disable
162165data-save-interval-ticks : 12000
@@ -177,15 +180,20 @@ time-units:
177180 second : ' {number} Second'
178181 no-seconds : ' '
179182storage :
180- # Available storage providers: YAML, SQLITE, MYSQL, MARIADB, POSTGRESQL, MONGODB
181- # WARNING: The SQLITE, MYSQL, MARIADB, POSTGRESQL, MONGODB providers are currently under development and could
183+ # Available storage providers: YAML, SQLITE, H2, MYSQL, MARIADB, POSTGRESQL, MONGODB
184+ # WARNING: The SQLITE, H2, MYSQL, MARIADB, POSTGRESQL, MONGODB providers are currently under development and could
182185 # potentially lead to data loss in future updates. For production environments, it is recommended to use the YAML
183186 # provider due to its stability and reliability. However, you can choose other providers at your own risk.
184187 database : YAML
185188 settings :
186189 yaml :
190+ # Placeholders: {separator}
187191 folder : playerdata
188192 sqlite :
193+ # Placeholders: {separator}
194+ file : database
195+ h2 :
196+ # Placeholders: {separator}
189197 file : database
190198 # Configure here MYSQL, MARIADB, & POSTGRESQL
191199 mysql :
@@ -275,19 +283,6 @@ voucher-settings:
275283 # To work this option, your server version must be 1.9.4 or newer.
276284 disable-anvil-rename : true
277285menu-settings :
278- # Determines whether the current menu should be closed before opening a new one.
279- # If set to true, the current menu will be closed, and the mouse will be centered on the switch.
280- # Note: Sound effects and particles will not be triggered when menus are closed during menu switching.
281- close-menu-before-open :
282- # Close the current menu before opening the main menu.
283- # This occurs when using the back button on a category.
284- main : false
285- # Close the current menu before opening a category menu.
286- # This occurs when opening a category menu from the main menu.
287- category : false
288- # Close the current menu before opening a preview menu.
289- # This occurs when opening a preview menu from the main menu or categories.
290- preview : true
291286 # Control whether the menu should close on successful and failed kit claims.
292287 close-menu-on-claim-kit :
293288 # Close the menu when the player successfully receives the kit.
@@ -337,3 +332,60 @@ command-settings:
337332 aliases : []
338333 # permission: advancedkits.command.kitpreview
339334 description : Previews the specified kit.
335+ # =====================================================
336+ # Redis Configuration for AdvancedKits
337+ # Purpose: Used ONLY to cache player data for faster access
338+ # Not required unless you want Redis-based caching
339+ # =====================================================
340+ redis :
341+ # Enable or disable Redis caching
342+ # true -> Player data will be cached in Redis
343+ # false -> No Redis caching will be used
344+ enabled : false
345+ # The IP address or hostname of your Redis server
346+ address : 127.0.0.1
347+ # The port Redis is running on (default is 6379)
348+ port : 6379
349+ # The password for your Redis server (leave blank if none)
350+ password : password
351+ # The prefix used for Redis keys for this plugin
352+ # Helps prevent key conflicts with other plugins
353+ prefix : advancedkits
354+ # Time (in seconds) before cached player data expires
355+ # Example: 86400 = 1 day
356+ # Use -1 to disable expiry (data will stay until manually removed)
357+ expire-seconds : 86400
358+ # =====================================================
359+ # Grant Triggers Configuration for AdvancedKits
360+ # Purpose: Define automatic rewards for players triggered
361+ # by events like first join or respawn.
362+ # Notes:
363+ # - Each trigger can be enabled/disabled
364+ # - Grants can include kits and vouchers
365+ # - Requirements can restrict who receives grants
366+ # - Multiple grants per trigger are supported
367+ # =====================================================
368+ grant-triggers :
369+ # Triggered when a player joins the server for the first time
370+ on-first-join :
371+ # true = trigger is active, false = ignored
372+ enabled : true
373+ # Optional conditions to meet before grants are applied
374+ requirements : {}
375+ # List of rewards given when the trigger activates
376+ grants :
377+ - type : KIT # Grant a kit
378+ kit : Coal # Name of the kit to give
379+ level : 1 # Kit level
380+ # You can add more grants here, e.g. vouchers or additional kits
381+ # Triggered when a player respawns
382+ on-respawn :
383+ enabled : false
384+ requirements : {}
385+ grants :
386+ - type : KIT
387+ kit : Coal
388+ level : 1
389+ - type : VOUCHER
390+ voucher : Coal
391+ amount : 5
0 commit comments