801b43610f
Renames the plugin from Curiosidades to Canalhandia (the server name) now that it covers more than curiosities, and adds: - adivinha: the curiosity with the name hidden and clickable player names, revealing who guessed right. Curiosity sentences never contained the subject's name, so the same generator feeds both with no redaction step. - luto: a clickable [F] under death messages with a closing count. - enquete: polls with clickable options and a live boss-bar tally. - ranking + marcos: leaderboards covering offline players, and one-time milestone announcements persisted to marcos.yml. Fixes the reaction counter being invisible. Chat cannot be edited after sending, so the button counts are necessarily frozen; previously the only live surface was the boss bar and the buttons showed no number at all. Counts now appear in the buttons at send time, on the boss bar, on the reactor's action bar, and as a final tally line when the window closes. Late clicks used to be dropped silently once the 90s window passed. The last 8 reaction sets now stay live for reacao-validade-minutos (15). Rankings read the stats JSON directly because Bukkit only exposes statistics for online players. Adds README.md documenting the design constraints that are easy to mistake for bugs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ActvLGJApdxEAd2yfKPwqv
44 lines
1.3 KiB
XML
44 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>dev.marcospaulo</groupId>
|
|
<artifactId>canalhandia</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<!-- Paper 26.2's API ships Java 25 class files, so the build JDK must be 25. -->
|
|
<maven.compiler.release>25</maven.compiler.release>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>papermc</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.papermc.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>26.2.build.92-stable</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>Canalhandia-${project.version}</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project>
|