Skip to content

Start and End date on categories and challenges #15

@Lucaa8

Description

@Lucaa8

Just add 2 fields in category and challenge classes "long activeFrom" and "long activeUntil" then "public boolean isActive()" return isActive && sys#currentMillis() > activeFrom && sys#currentMillis() < activeUntil. This way categories and challenges are automatically unactive if not in date range. After that, the time conditions could be added on the representating item's lore for this challenge/category to warn player of start and end date.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions