Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additions and fixes #344

Merged
merged 22 commits into from
Feb 8, 2024
Merged

Additions and fixes #344

merged 22 commits into from
Feb 8, 2024

Conversation

0ft3n
Copy link
Contributor

@0ft3n 0ft3n commented Jan 22, 2024

  • Reimplemented ArgParserEntity
  • Fixed console commands in ConfigSlot
  • Added ability to configure literal cache ttl
  • Added HuskClaims antigrief support
  • Added HuskTowns antigrief support
  • Added ItemBridge lookup support (itembridge:key__id)
  • Added random function for math taking min and max arguments

@0ft3n 0ft3n requested a review from WillFP as a code owner January 22, 2024 13:58
@@ -15,7 +16,7 @@ public final class PatternUtils {
* Cache of compiled literal patterns.
*/
private static final Cache<String, Pattern> LITERAL_PATTERN_CACHE = Caffeine.newBuilder()
.expireAfterAccess(1, TimeUnit.MINUTES)
.expireAfterAccess(Eco.get().getEcoPlugin().getConfigYml().getInt(""), TimeUnit.MINUTES)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix this to actually pull from the config

@WillFP WillFP merged commit 2402fd6 into master Feb 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants