Lorekeeper News Publisher
Handles publication of weekly lore news broadcasts and snapshots.
Types
Link copied to clipboard
data class PublishResult(val weekNumber: Long, val entries: List<LoreStorage.LoreEntry>, val aiSummary: String?, val alreadyPublished: Boolean)
Result of a news publication operation.
Functions
Link copied to clipboard
Returns true when a publish result has a non-fallback AI summary ready for sale.
Link copied to clipboard
fun publishWeeklyNews(server: MinecraftServer, createSnapshot: Boolean, forceAiRetry: Boolean = false): LorekeeperNewsPublisher.PublishResult
Publishes or retrieves weekly news, optionally creating a persistent snapshot.