Files
ScoreKeeper/TODO.md

2.7 KiB

Migration TODOs for Paper Modernization

  • Switch all player score storage to use UUID instead of Player as the key
  • Update logger usage to use getLogger() from JavaPlugin
  • Remove or modernize any old/deprecated event registration (use @EventHandler and registerEvents)
  • Review and update player lookup logic to use getPlayerExact or handle case sensitivity
  • Ensure all commands are properly defined in plugin.yml
  • Initialize Gradle build system
  • Set project metadata in build.gradle
  • Add repositories and dependencies
  • Configure Java version
  • Ensure resource handling for plugin.yml
  • Add Gradle plugins as needed (e.g., Shadow)
  • Update .gitignore for Gradle
  • Remove Maven files
  • Update documentation and scripts
  • Test the Gradle build

Tasks

ID Status Title
SK-01 Done Save scores between server launches.
SK-02 Done Allow tracking scores by bucket. An admin or other plugin should be able to create types of scores with named other than points. { id: "Bread", singular: "loaf", plural: "loaves", initialValue: 0 } Each player's score will be tracked in a bucket by id. Players may be all switched to a bucket or individually switched.
SK-03 Done Add optional score reporting to buckets with these four values. { id: "Bread", singular: "loaf", plural: "loaves", initialValue: 0, reporting:"admin
SK-04 Ready Tell a player when their bucket changes. Something like "You are now tracking ${id}. You have ${score} ${plural or singular depending in score}."
SK-05 Ready Enable high score runs for a bucket. Admins or pugins should be able to start a run on a certain kind of score. The top n (configurable) players will have their scores reported globally for this bucket and the individual player will have their score reported to them when it changes. Scores will be optionally reset to their initialValue with the old score for this bucket saved. High score runs will have a lifetime of a target high score, a time like 4 hours or 1 week, or until-disabled. When the high score run is finished all players will be messaged a table with the top n places and their scores along with the individual user's place and score. The scores will be reset to their previous values if they were reset to their initialValue at the beginning otherwise they will be left alone.
SK-06 Ready Score archiving. Scores either all or within a given bucket should be able to be archived and reset to their initial value. The archived scores should be able to be listed via a command.