Go to file
Stijn b78736fcc3
Is top (#7)
* Add IslandTop command with refresh cooldown

The "IslandTop" command has been added. This provides a sorted list of top-performing islands. A configuration for refresh cooldown was also added. The sorted island list is updated once the specified minutes in the configuration have passed to improve performance. The ranking display for the player's island is highlighted in green text.

* Update IslandTop command

On plugin startup the IslandData is now loaded in. IslandData was moved to its own file and gets updated when a new island is created or when one levels up. The IslandData gets deleted when the owner leaves the island, destroying it.

* Update island name formatting in IslandData

The method which formats island name in IslandData class has been updated. If the island name is null, it now defaults to "Unnamed Island". This adjustment makes the information clearer when the island name is not defined.

* Set default name for islands during creation

Ensured that the 'owner' method in the 'Island' class set's the island name when an owner is set/changed. This will only happen if the island name is either null or blank. This is done to ensure island's always have a name when created.
2024-02-20 03:50:21 +01:00
api Events (#4) 2024-02-19 03:52:17 +01:00
gradle/wrapper init project 2024-01-04 22:43:10 +01:00
plugin Is top (#7) 2024-02-20 03:50:21 +01:00
.gitignore init project 2024-01-04 22:43:10 +01:00
build.gradle.kts Add Jenkinsfile 2024-01-17 10:10:22 +01:00
gradlew init project 2024-01-04 22:43:10 +01:00
gradlew.bat init project 2024-01-04 22:43:10 +01:00
Jenkinsfile Run gradlew clean before building 2024-02-05 18:55:03 +01:00
settings.gradle.kts init project 2024-01-04 22:43:10 +01:00