Lumia is a Minecraft plugin designed to manage and enhance player skills. It provides a robust system for tracking skill progression, levels, XP, tiers, and ranks. The plugin integrates with PlaceholderAPI to allow server administrators to display skill-related information dynamically.
-
Skill Management:
- Tracks player skills such as Farming, Combat, Mining, and more.
- Handles XP addition, level-up logic, and tier/rank calculations.
- Provides a GUI menu to display skill progress.
-
Database Integration:
- Uses SQLite for persistent storage of player skill data.
-
PlaceholderAPI Integration:
- Exposes placeholders for skill-related data.
-
Customizable Configuration:
- Language and skill settings are configurable via
config.ymlandlanguages.yml.
- Language and skill settings are configurable via
- Description: Opens a GUI menu displaying all player skills.
- Permission:
lumia.skills
The plugin integrates with PlaceholderAPI to provide the following placeholders:
| Placeholder | Description |
|---|---|
%lumia_level_<skill>% |
Displays the current level of the specified skill. |
%lumia_xp_<skill>% |
Displays the current XP of the specified skill. |
%lumia_tier_<skill>% |
Displays the tier of the specified skill. |
%lumia_rank_<skill>% |
Displays the rank of the specified skill. |
%lumia_name_<skill>% |
Displays the display name of the specified skill. |
%lumia_progress_<skill>% |
Displays the progress percentage towards the next level of the skill. |
Example Usage:
%lumia_level_farming%→ Displays the Farming skill level.%lumia_xp_combat%→ Displays the current XP for the Combat skill.
language: Sets the plugin's language (e.g.,en,es).- Skill Settings:
base-xp: Base XP required for leveling up.progression: Multiplier for XP progression.xp-per-action: XP gained per action (e.g., mining ores).
language: "en"
skill:
farming:
base-xp: 100
progression: 1.4
xp-per-action: 5- Contains localized messages for the plugin.
- Example:
messages:
en:
prefix: "[Lumia]"
progress_to_level: "Progress to level {level}"
no_perks: "No perks available"- Farming
- Combat
- Mining
- Foraging
- Fishing
- Enchanting
- Alchemy
- Archery
- Agility
- Smithing
- Level: Tracks the player's current level in the skill.
- XP: Tracks the player's current XP in the skill.
- Tier: Calculated based on the level (e.g., every 10 levels = 1 tier).
- Rank: A string representation of the skill's tier and type.
- Command:
/lumia skills - Description: Displays a menu with all skills, their levels, XP, and progress.
- Icons:
- Farming → Wheat
- Combat → Diamond Sword
- Mining → Iron Pickaxe
- Foraging → Oak Log
- Fishing → Fishing Rod
- Enchanting → Enchanting Table
- Alchemy → Brewing Stand
- Archery → Bow
- Agility → Feather
- Smithing → Smithing Table
- Storage: SQLite
- Tables:
player_skills: Stores player UUID, skill type, XP, and level.
- Setup:
- Install PlaceholderAPI on your server.
- Ensure Lumia is installed and enabled.
- Use the placeholders listed above in your server's configuration files or plugins.
- SkillManager: Handles loading, saving, and managing player skills.
- SQLStorage: Manages database operations for skill data.
- LanguageConfig: Handles language-specific messages.
- SkillType: Enum representing all skill types.
- AbstractSkill: Base class for all skills.
- PlayerSkillHolder: Manages all skills for a specific player.
This documentation provides a comprehensive guide to using and configuring the Lumia plugin.