RA-IslandMilestone

A Minecraft plugin for Paper 1.21.x that adds a milestone/quest system for SkyBlock servers powered by SuperiorSkyblock2.

Author: RajaAditya Website: rajaaditya.my.id Version: 1.0 API: Paper 1.21.x


Features

Personal Milestone

  • Each player has their own independent personal milestone progress
  • Multi-level system — all tasks in the current level must be completed before advancing to the next
  • Each task has its own reward granted immediately upon completion
  • Notification message + firework effect on task completion and level-up

Island Milestone

  • Per-island milestone — all island members contribute together
  • 5 independent categories: Slayer, Mining, Farming, Woodcutting, Fishing
  • Each category has its own level progression
  • Task rewards are granted to all online island members upon completion
  • Island progress is preserved even if a member leaves the island

Interactive GUI

  • Main Menu → choose between Personal or Island Milestone
  • Personal GUI → shows all tasks and progress for the current level
  • Island Overview → shows all 5 categories with their current levels
  • Island Detail → click a category to view its tasks and progress
  • When MAX LEVEL is reached: items change to GREEN_DYE with "MAX LEVEL" status

PlaceholderAPI Support

  • 6 ready-to-use placeholders for scoreboards, holograms, and more

Fully Configurable

  • All messages, tasks, rewards, and GUI elements are configurable without touching any code
  • /milestone reload reloads all config files without restarting the server

Dependencies

PluginRequiredPurpose
SuperiorSkyblock2YesIsland system
PlaceholderAPIYesPlaceholder support

Installation

  1. Make sure SuperiorSkyblock2 and PlaceholderAPI are already installed and running
  2. Place RA-IslandMilestone.jar into your plugins/ folder
  3. Restart the server
  4. Edit the config files in plugins/RA-IslandMilestone/ to your liking
  5. Use /milestone reload to apply config changes without restarting

File Structure

text
1
plugins/RA-IslandMilestone/
├── config.yml          # General settings (prefix, firework, autosave)
├── messages.yml        # All plugin messages
├── milestone.yml       # Task, level, and reward definitions
├── gui.yml             # GUI layout and appearance
└── data/
    ├── playerdata/
    │   └── [UUID].yml  # Personal milestone progress per player
    └── islanddata/
        └── [UUID].yml  # Island milestone progress (keyed by island UUID)

Configuration

config.yml

yaml
1
settings:
  prefix: "&8[&bRA-Milestone&8]&r"
  # true  = only track activity inside a SuperiorSkyblock island world
  # false = track activity anywhere
  island-world-only: true
  # Auto-save data every X minutes (0 = disabled)
  autosave-interval: 10

firework:
  duration: 30           # Ticks before the firework detonates
  type: BALL_LARGE       # BALL | BALL_LARGE | STAR | BURST | CREEPER
  colors:
    - "YELLOW"
    - "GOLD"
  trail: true
  flicker: true

messages.yml

All messages displayed by the plugin. Supports & color codes.

yaml
1
personal-milestone:
  level-complete: "&a&lPERSONAL MILESTONE &7» &eLevel {level} complete! Congratulations, {player}!"
  task-complete:  "&a&lTASK COMPLETE &7» &e{task} &7has been completed!"

island-milestone:
  level-complete: "&b&lISLAND MILESTONE &7» &eCategory {category} Level {level} complete!"
  task-complete:  "&b&lISLAND TASK &7» &e{category} &7- &f{task} &7complete!"

commands:
  no-permission:          "&cYou do not have permission to do this!"
  player-not-found:       "&cPlayer &e{player} &cwas not found!"
  reload-success:         "&aPlugin reloaded successfully!"
  reset-success:          "&aData has been reset!"
  no-island:              "&cYou do not have an island!"
  console-only-gui:       "&cThis command can only be used by a player!"
  invalid-uuid:           "&cInvalid UUID: &e{uuid}"
  invalid-number:         "&cLevel must be a number!"
  invalid-category:       "&cInvalid category! Valid: &eslayer, mining, farming, woodcutting, fishing"
  force-complete-success: "&aForce completed personal level &e{level} &afor &e{player}&a!"
  set-level-success:      "&aSet island &e{uuid} &acategory &e{category} &ato level &e{level}&a!"
  level-not-found:        "&cLevel &e{level} &cwas not found in the config!"
  help:
    - "&8&m----&r &bRA-Milestone &8&m----"
    - "&7/milestone &e- &fOpen the milestone GUI"
    - "..."

Available placeholders in messages:

PlaceholderAvailable In
{player}personal messages, command feedback
{level}level-complete, force-complete-success, set-level-success
{task}task-complete
{category}island level-complete, island task-complete
{uuid}invalid-uuid, set-level-success

milestone.yml

The main file for defining all tasks, levels, and rewards. You can add as many levels as you want.

Personal Milestone Structure

yaml
1
personal:
  level-1:                        # Level key (level-1, level-2, etc.)
    display-name: "Beginner"      # Level name shown in the GUI
    tasks:
      task-key:                   # Task key (any unique string per level)
        type: CREATE_ISLAND       # Task type (see Task Types section)
        target: 1                 # Progress target
        display: "Create Island"  # Task name shown in the GUI
        rewards:                  # List of console commands; {player} = player name
          - "give {player} diamond 5"
          - "eco give {player} 1000"

Island Milestone Structure

yaml
1
island:
  slayer:                         # Category (slayer/mining/farming/woodcutting/fishing)
    level-1:
      display-name: "Beginner Slayer"
      tasks:
        slay-sheep:
          type: SLAY_MOB
          mob: SHEEP              # Entity type filter (Bukkit EntityType name)
          target: 300
          display: "Kill Sheep"
          rewards:
            - "give {player} white_wool 32"

Task Types

Personal Milestone

TypeExtra FieldTriggerNotes
CREATE_ISLAND—Player creates a new islandOne-time task, use target: 1
HARVEST_CROP—Player breaks a fully-grown cropAll crop types count
BREED_ANIMAL—Player breeds an animalAll breedable animals count
KILL_HOSTILE—Player kills a hostile mobAll entities implementing Monster

Island Milestone — Slayer

TypeExtra FieldDescription
SLAY_MOBmob: <EntityType>Kill a specific entity type

Valid mob values:

SHEEPCOWPIGCHICKENRABBIT
ZOMBIESKELETONCREEPERSPIDERENDERMAN
BLAZEWITHER_SKELETONDROWNEDHUSKSTRAY
WITCHPIGLINHOGLINPHANTOMGUARDIAN
ELDER_GUARDIANSHULKER

Island Milestone — Mining

TypeExtra FieldDescription
MINE_BLOCKblock: <Material>Break a specific block type

Valid block values:

COBBLESTONESTONEGRAVELSANDCOAL_ORE
IRON_OREGOLD_OREDIAMOND_OREEMERALD_ORELAPIS_ORE
REDSTONE_OREDEEPSLATE_COAL_OREDEEPSLATE_IRON_OREDEEPSLATE_GOLD_OREDEEPSLATE_DIAMOND_ORE
DEEPSLATE_EMERALD_OREOBSIDIANNETHERRACKBASALTBLACKSTONE

Island Milestone — Farming

TypeExtra FieldDescription
HARVEST_CROPcrop: <Material>Break a specific fully-grown crop

Valid crop values:

WHEATCARROTSPOTATOESBEETROOTS
MELONPUMPKINNETHER_WARTCOCOA
SWEET_BERRY_BUSHTORCHFLOWERPITCHER_PLANT

Island Milestone — Woodcutting

TypeExtra FieldDescription
CHOP_LOGlog: <Material>Break a specific log type

Valid log values:

OAK_LOGSPRUCE_LOGBIRCH_LOGJUNGLE_LOG
ACACIA_LOGDARK_OAK_LOGMANGROVE_LOGCHERRY_LOG
CRIMSON_STEMWARPED_STEMBAMBOO_BLOCK

Island Milestone — Fishing

TypeExtra FieldDescription
CATCH_FISHfish: <Material>Catch a specific fish item

Valid fish values: COD, SALMON, TROPICAL_FISH, PUFFERFISH


Commands

CommandDescriptionUsage
/milestoneOpen the main milestone GUIPlayer only
/milestone reloadReload all config filesPlayer / Console
/milestone reset player <name>Reset a player's personal dataPlayer / Console
/milestone reset island <islandUUID>Reset an island's milestone dataPlayer / Console
/milestone complete <player> <level>Force complete a personal levelPlayer / Console
/milestone set <islandUUID> <category> <level>Set an island category levelPlayer / Console

Tip: The <islandUUID> can be found from the file names inside plugins/RA-IslandMilestone/data/islanddata/


Permissions

PermissionDefaultDescription
milestone.usetrueOpen the GUI with /milestone
milestone.admin.reloadopUse /milestone reload
milestone.admin.resetopUse /milestone reset
milestone.admin.giveopUse /milestone complete and /milestone set

PlaceholderAPI

This plugin registers a PlaceholderAPI expansion with the identifier milestone.

PlaceholderDescriptionNo Island
%milestone_personal_level%Player's current personal milestone level—
%milestone_island_slayer_level%Player's island Slayer level0
%milestone_island_mining_level%Player's island Mining level0
%milestone_island_farming_level%Player's island Farming level0
%milestone_island_woodcutting_level%Player's island Woodcutting level0
%milestone_island_fishing_level%Player's island Fishing level0

Example scoreboard usage:

text
1
Personal: %milestone_personal_level%
Slayer:   %milestone_island_slayer_level%
Mining:   %milestone_island_mining_level%

Data Format

Data is stored as flat-file YAML. Do not edit these files while the server is running.

playerdata/[UUID].yml

yaml
1
personal-level: 2
tasks:
  level-1:
    create-island: 1
    harvest-crop: 100
    breed-animals: 25
    kill-hostile: 50
rewarded-tasks:
  - "level-1:create-island"
  - "level-1:harvest-crop"
  - "level-1:breed-animals"
  - "level-1:kill-hostile"

islanddata/[islandUUID].yml

yaml
1
slayer-level: 2
mining-level: 1
farming-level: 1
woodcutting-level: 1
fishing-level: 1
tasks:
  slayer:
    level-1:
      slay-sheep: 300
      slay-cow: 300
  mining:
    level-1:
      mine-cobblestone: 120
rewarded-tasks:
  - "slayer:level-1:slay-sheep"
  - "slayer:level-1:slay-cow"

Plugin API

This plugin exposes its internal managers for integration with other plugins.

Getting the Instance

java
1
import id.rajaaditya.islandmilestone.RAIslandMilestone;

RAIslandMilestone plugin = (RAIslandMilestone) Bukkit.getPluginManager().getPlugin("RA-IslandMilestone");
if (plugin == null) return; // plugin is not active

PersonalMilestoneManager

java
1
PersonalMilestoneManager pmm = plugin.getPersonalMilestoneManager();
MethodReturnDescription
getLevelKey(int level)StringConverts a level number to its config key ("level-1")
getLevelDisplayName(int level)StringDisplay name of the level from config
getTaskTarget(int level, String taskKey)intTarget progress value for a task
getTaskDisplay(int level, String taskKey)StringDisplay name of a task
getTaskType(int level, String taskKey)StringTask type string (CREATE_ISLAND, etc.)
getTaskRewards(int level, String taskKey)List<String>List of reward commands for a task
getTaskKeys(int level)List<String>All task keys defined in a level
levelExists(int level)booleanCheck whether a level is defined in config
getMaxLevel()intTotal number of personal levels in config
incrementTask(UUID playerUUID, String taskType, int amount)voidIncrement task progress by type
completeCreateIsland(UUID playerUUID)voidMark the CREATE_ISLAND task as done
forceComplete(UUID playerUUID, int level)voidForce complete a level and grant all its rewards

Example:

java
1
pmm.incrementTask(player.getUniqueId(), "KILL_HOSTILE", 1);

IslandMilestoneManager

java
1
IslandMilestoneManager imm = plugin.getIslandMilestoneManager();

Valid categories: slayer, mining, farming, woodcutting, fishing

MethodReturnDescription
getLevelKey(int level)StringConverts a level number to its config key
getLevelDisplayName(String category, int level)StringDisplay name of a category level
getTaskTarget(String category, int level, String taskKey)intTarget progress for a task
getTaskDisplay(String category, int level, String taskKey)StringDisplay name of a task
getTaskType(String category, int level, String taskKey)StringTask type string
getTaskRewards(String category, int level, String taskKey)List<String>Reward commands for a task
getTaskKeys(String category, int level)List<String>All task keys in a category level
levelExists(String category, int level)booleanCheck whether a category level exists in config
getMaxLevel(String category)intTotal levels defined for a category
incrementTask(UUID islandUUID, String category, String taskType, String filterValue, int amount)voidIncrement island task progress
forceSetLevel(UUID islandUUID, String category, int level)voidForce set a category level for an island
CATEGORIESString[]Array of all valid category names

Example:

java
1
// Add SLAY_MOB progress for ZOMBIE in the slayer category
imm.incrementTask(islandUUID, "slayer", "SLAY_MOB", "ZOMBIE", 1);

// Add MINE_BLOCK progress for DIAMOND_ORE
imm.incrementTask(islandUUID, "mining", "MINE_BLOCK", "DIAMOND_ORE", 1);

// Pass an empty filterValue to match all tasks of that type
imm.incrementTask(islandUUID, "farming", "HARVEST_CROP", "", 1);

DataManager

java
1
DataManager dm = plugin.getDataManager();
MethodReturnDescription
getPersonalData(UUID uuid)PersonalDataGet a player's personal data (loads from file if not cached)
loadPersonalData(UUID uuid)PersonalDataForce load personal data from file
savePersonalData(UUID uuid)voidSave personal data to file
resetPersonalData(UUID uuid)voidDelete a player's personal data
getIslandData(UUID islandUUID)IslandDataGet island data (loads from file if not cached)
loadIslandData(UUID islandUUID)IslandDataForce load island data from file
saveIslandData(UUID islandUUID)voidSave island data to file
resetIslandData(UUID islandUUID)voidDelete an island's data
saveAllData()voidSave all currently cached data to disk

PersonalData

java
1
PersonalData data = plugin.getDataManager().getPersonalData(player.getUniqueId());
MethodReturnDescription
getPlayerUUID()UUIDThe player's UUID
getPersonalLevel()intCurrent personal milestone level
setPersonalLevel(int level)voidSet the personal level
getTaskProgress(String levelKey, String taskKey)intProgress for a specific task
setTaskProgress(String levelKey, String taskKey, int value)voidSet task progress
incrementTaskProgress(String levelKey, String taskKey, int amount)voidAdd to task progress
getLevelProgress(String levelKey)Map<String, Integer>All task progress in a level
getAllTaskProgress()Map<String, Map<String, Integer>>All progress across all levels
isTaskRewarded(String levelKey, String taskKey)booleanCheck if a task's reward has been granted
markTaskRewarded(String levelKey, String taskKey)voidMark a task as rewarded
getRewardedTasks()Set<String>All rewarded task entries

IslandData

java
1
IslandData data = plugin.getDataManager().getIslandData(islandUUID);
MethodReturnDescription
getIslandUUID()UUIDThe island's UUID
getCategoryLevel(String category)intCurrent level for a category
setCategoryLevel(String category, int level)voidSet a category level
getCategoryLevels()Map<String, Integer>All categories and their current levels
getTaskProgress(String category, String levelKey, String taskKey)intProgress for a specific task
setTaskProgress(String category, String levelKey, String taskKey, int value)voidSet task progress
incrementTaskProgress(String category, String levelKey, String taskKey, int amount)voidAdd to task progress
getLevelProgress(String category, String levelKey)Map<String, Integer>All task progress in a category level
getAllTaskProgress()Map<String, Map<String, Map<String, Integer>>>All progress across all categories
isTaskRewarded(String category, String levelKey, String taskKey)booleanCheck if a task's reward has been granted
markTaskRewarded(String category, String levelKey, String taskKey)voidMark a task as rewarded
getRewardedTasks()Set<String>All rewarded task entries

Integrating with This Plugin

plugin.yml:

yaml
1
depend: [RA-IslandMilestone]
# or soft depend if optional:
softdepend: [RA-IslandMilestone]

pom.xml — since the source code is closed, add the JAR as a local dependency:

xml
1
<dependency>
    <groupId>id.rajaaditya</groupId>
    <artifactId>RA-IslandMilestone</artifactId>
    <version>1.0</version>
    <scope>system</scope>
    <systemPath>${project.basedir}/libs/RA-IslandMilestone-1.0.jar</systemPath>
</dependency>

License

Developed by RajaAditya — rajaaditya.my.id

This plugin is closed source. Redistribution without permission is prohibited.