codex.avni

Create a complete, production-ready Minecraft plugin called "CustomPlug" for Minecraft versions 26.1, 26.2, and 26.3.

The plugin should be well-structured, optimized, configurable, and ready to compile and use on a Minecraft server.

---

  1. Main Command

Use:

"/rc"

as the main command for the plugin.

The old "/customplug" command should not be required for normal usage. "/rc" should be the primary command and should support all CustomPlug features.

---

  1. Efficiency X Book

Create a special custom book called:

Efficiency X

Default crafting recipe

The default recipe should require:

  • 8 × Diamond Blocks
  • 1 × Gold Block

The recipe should be crafted in a Crafting Table using a configurable 3×3 recipe pattern.

When crafted, the player receives 1 Efficiency X book.

The book should have lore/description:

"9 blocks per 1 break"

The plugin must uniquely identify the custom Efficiency X book so that a normal Minecraft book cannot activate the special ability.

Configurability

The following must be configurable in "config.yml":

  • Recipe ingredients
  • Ingredient amounts
  • Recipe pattern
  • Book name
  • Book lore/description
  • Other relevant settings

Players should normally obtain Efficiency X by crafting it through this recipe.

---

  1. BlockBreaker / 3×3 Mining

Create the BlockBreaker system.

Commands:

"/rc BlockBreaker on"

"/rc BlockBreaker off"

"/rc BlockBreaker"

When BlockBreaker is ON, the player can use the special Efficiency X system to break a 3×3 area.

Breaking one block should break the surrounding blocks as well, for a total of up to 9 blocks per break, centered around the originally broken block.

When BlockBreaker is OFF, normal single-block breaking should occur.

The system must prevent recursive block-break events or infinite loops when the additional blocks are being broken.

---

  1. Player-Specific Settings

BlockBreaker must be player-specific.

For example:

  • Player 1 → BlockBreaker ON
  • Player 2 → BlockBreaker OFF

If Player 1 enables BlockBreaker, it must NOT enable it for Player 2 or any other player.

Every player must have their own independent ON/OFF state.

The same player-specific behavior should also apply to TreeCuter.

Persist player settings appropriately so that they behave consistently across server restarts.

---

  1. Protected Blocks

BlockBreaker must NOT break protected blocks.

By default, protect:

  • All ores
  • Bedrock
  • Obsidian
  • Beds
  • Glass
  • End Portal blocks
  • Ender Dragon Egg
  • Chests
  • Other important/special blocks as appropriate

All ores must be protected by default, including but not limited to:

  • Coal Ore
  • Iron Ore
  • Copper Ore
  • Gold Ore
  • Redstone Ore
  • Lapis Ore
  • Diamond Ore
  • Emerald Ore
  • Nether Quartz Ore
  • Ancient Debris
  • Their relevant deepslate/Nether variants where applicable

The protected-block list must be completely configurable through "config.yml".

Server owners must be able to add or remove protected blocks without changing the plugin source code.

If a protected block is encountered inside the 3×3 mining area, that block must remain untouched while other eligible blocks can still be broken.

---

  1. TreeCuter

Add a new feature called TreeCuter.

Commands:

"/rc TreeCuter on"

"/rc TreeCuter off"

The feature must be player-specific.

Behavior

When TreeCuter is ON:

  • It works only when the player is using an axe.
  • When the player breaks a tree log, the connected tree logs should automatically be cut.
  • Maximum tree logs broken from one activation: 100 logs.
  • It should intelligently detect connected logs belonging to the tree.
  • It should not endlessly scan or cause recursive block-break events.

When TreeCuter is OFF:

  • Normal Minecraft behavior should occur.

TreeCuter must NOT activate when using:

  • Pickaxe
  • Shovel
  • Hoe
  • Sword
  • Hand
  • Other non-axe items

For example, if TreeCuter is ON but the player uses a pickaxe, breaking a log must NOT activate TreeCuter.

The maximum of 100 logs should be configurable if appropriate.

---

  1. Professional GUI Menu

Add:

"/rc menu"

Create a polished, professional Minecraft GUI similar in quality and organization to menus used by large Minecraft server plugins.

The menu should provide convenient control over the player's CustomPlug features.

At minimum, include:

BlockBreaker

Show:

  • Feature name
  • Current status
  • ON/OFF indicator

Use a clearly visible:

🟢 Green indicator when ON

🔴 Red indicator when OFF

Players should be able to click the menu option to toggle BlockBreaker.

TreeCuter

Show:

  • Feature name
  • Current status
  • ON/OFF indicator

Use:

🟢 Green indicator when ON

🔴 Red indicator when OFF

Players should be able to click the menu option to toggle TreeCuter.

The menu must update the displayed status immediately after a player changes a setting.

Each player's GUI should reflect their own personal settings, not another player's settings.

The GUI should be visually organized, with appropriate item names, lore, spacing, and navigation.

---

  1. AI Question System

Add:

"/rc ai <question>"

The AI command must NOT be limited to mathematics.

It should be capable of answering useful general questions, including:

  • Mathematics
  • General knowledge
  • Minecraft-related questions
  • Basic programming/technical questions
  • Explanations
  • General useful questions

Example:

"/rc ai 2+2"

Response:

"4"

Another example:

"/rc ai What is the capital of India?"

The plugin should return an appropriate answer in Minecraft chat.

The command must correctly handle multi-word questions.

The AI functionality should be implemented using a configurable AI/API integration where required.

Any required API key or AI configuration should be stored securely/configurably rather than hard-coded into the source code.

If the AI service is unavailable, the plugin should show a clear, user-friendly error message instead of crashing.

---

  1. OnePlayerSleep

Add a permanent server-wide feature called OnePlayerSleep.

There must be:

  • No ON/OFF command
  • No menu toggle
  • No per-player setting

The feature must always be active while the plugin is running.

Behavior

If one player sleeps in a bed, the night should be skipped and the world should become day.

The transition from night to day must happen within 5 seconds.

The system should work without requiring a certain percentage of players to sleep.

It should work server-wide according to the relevant world/dimension sleep mechanics.

---

  1. Configuration

Create a clean and well-documented "config.yml".

Make appropriate settings configurable, including:

  • Efficiency X recipe
  • Recipe pattern
  • Book name
  • Book lore
  • Protected blocks
  • TreeCuter maximum logs
  • Messages
  • GUI settings where reasonable
  • AI settings/API configuration
  • Permissions
  • Other relevant plugin settings

Do not hard-code settings that server owners would reasonably want to customize.

---

  1. Commands Summary

The plugin should support at minimum:

"/rc menu"

"/rc BlockBreaker on"

"/rc BlockBreaker off"

"/rc BlockBreaker"

"/rc TreeCuter on"

"/rc TreeCuter off"

"/rc ai <question>"

Also provide:

"/rc help"

to display available commands.

Add appropriate permissions, command validation, useful error messages, and tab completion.

---

  1. Quality & Safety

Make the plugin production-ready.

Ensure:

  • No infinite block-break loops
  • No recursive TreeCuter loops
  • No duplicated drops
  • No unexpected item duplication
  • Protected blocks remain protected
  • BlockBreaker only affects eligible blocks
  • TreeCuter only works with axes
  • Player settings remain independent
  • GUI reflects the correct player's settings
  • OnePlayerSleep does not interfere with normal gameplay unnecessarily
  • AI errors are handled safely
  • The plugin does not crash if configuration values are invalid
  • Appropriate logging is provided for important errors

Optimize block scanning so that TreeCuter and BlockBreaker do not unnecessarily cause server lag.

---

  1. Permissions

Create appropriate permissions for administrative functionality and player functionality.

For example, permissions can include:

  • "customplug.blockbreaker"
  • "customplug.treecuter"
  • "customplug.ai"
  • "customplug.menu"
  • "customplug.admin"

Make permissions configurable/clearly documented where appropriate.

---

  1. Required Project Files

Provide a complete, compilable plugin project containing:

  • Complete Java source code
  • "plugin.yml" or the appropriate metadata for the selected server API
  • "config.yml"
  • All required classes
  • Commands
  • Event listeners
  • GUI system
  • Configuration system
  • Permissions
  • AI integration
  • Build configuration
  • Any required resources

Include clear build instructions and explain how to install the resulting ".jar" into a Minecraft server.

The final implementation must actually compile and the implemented features must work together as one complete CustomPlug plugin.

Kodari AI
KodariSep 25 at 9:42 am 24
CustomPlug
A comprehensive Minecraft plugin featuring a 3x3 BlockBreaker system with configurable protected blocks, a TreeCuter that automatically fells connected logs when using an axe, a custom Efficiency X book with a configurable crafting recipe, a professional GUI menu for player-specific feature toggles, an AI question-answering system with configurable API integration, and a permanent OnePlayerSleep feature. All settings are managed through a well-documented config.yml, with player-specific settings persisted across restarts.

I’ll build the plugin in four parts:

  1. Project metadata, configuration, and persistent player settings.

  2. The Efficiency X recipe, BlockBreaker, TreeCuter, and OnePlayerSleep.

  3. /rc, the per-player GUI, and asynchronous AI integration.

  4. Build and installation instructions.

Created the CustomPlug project with /rc commands, a configurable Efficiency X crafting recipe, per-player BlockBreaker and TreeCuter settings, a clickable settings menu, one-player sleep, and optional asynchronous AI responses. The project includes permissions, configuration, persistent player settings, and build instructions.

Build with JDK 25 and Gradle 9.1+ using gradle clean build, then copy build/libs/CustomPlug-1.0.0.jar into a Paper server’s plugins/ directory. AI requires a configured API key; the other features do not. I could not run a build in this environment, so compilation has not been verified.

codex.avni

Update the Efficiency X system with the following requirement:

The Efficiency X book must be applicable directly to a pickaxe.

When a player applies the Efficiency X book to a pickaxe, the pickaxe should become a special Efficiency X pickaxe.

The player must NOT need to keep the Efficiency X book in their off-hand or anywhere else in their inventory while using the pickaxe.

Once the book has been successfully applied to the pickaxe, the Efficiency X ability should be permanently associated with that pickaxe and work automatically according to the BlockBreaker settings.

The Efficiency X book should be consumed when successfully applied to the pickaxe, just like a normal enchantment book would be consumed when used.

The plugin must correctly recognize the custom Efficiency X pickaxe even after:

  • Putting it in the inventory
  • Moving it between inventory slots
  • Dropping and picking it back up
  • Relogging
  • Server restarting

Do not require the original Efficiency X book to remain in the player's inventory or off-hand after applying it to the pickaxe.

Kodari AI
KodariSep 25 at 9:58 am 7

Efficiency X now applies to a pickaxe in an anvil. Applying it consumes one custom book and the configured experience levels, and stores the ability on the pickaxe itself. BlockBreaker checks the pickaxe in the player’s main hand, so the book no longer needs to be carried. The pickaxe remains recognizable after inventory moves, drops, relogs, and server restarts.

I also updated the menu, help text, configuration, and usage instructions. Compilation was not verified in this environment.

codex.avni

Modify the existing Minecraft plugin according to the following requirements.

IMPORTANT: Do not remove or break any existing functionality unless this prompt specifically asks you to remove or change it. Apply these changes to the existing plugin cleanly and make sure all systems continue working together.

---

  1. Rename the Plugin

Change the plugin name everywhere from:

CustomPlug

to:

RC-Taken

Update the name everywhere it appears, including:

  • Plugin metadata
  • GUI titles
  • Messages
  • Item lore where applicable
  • Configuration
  • Permissions
  • Documentation
  • Internal display names where appropriate

Do not leave old "CustomPlug" branding visible in the finished plugin.

---

  1. Rename Efficiency X → Driller III

Completely rename the existing:

Efficiency X

system to:

Driller III

This is a complete rename, not just a GUI change.

Replace Efficiency X everywhere, including:

  • Item name
  • Book name
  • Pickaxe name/lore
  • Configuration
  • Messages
  • GUI
  • Permissions where applicable
  • Internal references where appropriate
  • Documentation

The special mining pickaxe/book should now be called Driller III.

The existing special-book-to-pickaxe functionality should remain.

The Driller III ability must still work without requiring the original book to be in the player's off-hand.

---

  1. Driller III 3×3 Mining — Mixed Blocks

Improve the existing 3×3 Driller III mining system.

The 3×3 mining ability must break all eligible blocks inside the selected 3×3 area, regardless of whether they are the same block type as the original block.

Do NOT make it "only break blocks matching the originally mined block."

Example:

Suppose the 3×3 mining area contains:

Layer 1:

  • 3 Gravel
  • Other normal blocks

Layer 2:

  • 3 Dirt
  • Other normal blocks

Layer 3:

  • 3 Stone
  • Other normal blocks

If the player mines the stone layer with Driller III, the entire valid 3×3 area should be processed.

The Gravel, Dirt, and Stone can all be broken because they are valid blocks within the mining area.

The system must NOT require:

«"I mined Stone, therefore only Stone can break."»

Instead:

«"Break every eligible block inside the 3×3 area."»

IMPORTANT EXCEPTIONS

The following must NEVER be broken by Driller III:

  • All ores
  • Bedrock
  • Obsidian
  • Beds
  • Glass
  • End Portal blocks
  • Ender Dragon Egg
  • Chests
  • Any other blocks configured as protected

The protected-block system must remain configurable through the configuration files.

If a protected block exists inside the 3×3 area, simply skip that block while breaking the other eligible blocks.

Do not break protected blocks accidentally.

---

  1. Bed / Last Spawn Teleport Button

Add a Bed icon/button to the main "/rc menu".

The purpose of this button is to teleport the player to their last valid bed spawn point.

When the player clicks the Bed icon:

  • Find the player's most recently registered valid bed spawn location.
  • Teleport the player there.
  • If the bed/spawn point is still valid, teleport normally.
  • If the bed is destroyed or the spawn point is no longer valid, show a clear message instead of teleporting.
  • If the player has never set a bed spawn point, show an appropriate message.

The menu button should clearly communicate that it is the player's Bed / Last Spawn location.

Use a professional bed icon and appropriate lore.

---

  1. Driller III Statistics

Add a complete statistics system for Driller III.

Track at minimum:

  • Total blocks mined/broken using Driller III
  • Driller III experience
  • Current Driller III level
  • Experience required for the next level
  • Total experience earned
  • Number of protected blocks skipped, if practical

These statistics must be saved per player.

Example GUI display:

Driller III

«Level: 27 XP: 7,420 / 10,000 Total Blocks Mined: 184,921»

The statistics must persist through:

  • Relogging
  • Server restart
  • Player leaving and joining again

Use player UUIDs for persistent player data.

---

  1. TreeCapitor Statistics & Experience

Rename/display the tree-cutting system as:

TreeCapitor

Track separate statistics for TreeCapitor.

At minimum:

  • Total logs/blocks cut
  • TreeCapitor experience
  • Current TreeCapitor level
  • XP required for the next level
  • Total TreeCapitor XP

Example:

TreeCapitor

«Level: 18 XP: 3,250 / 5,000 Total Logs Cut: 12,842»

Driller III and TreeCapitor must have separate XP and progression systems.

Do not combine their experience.

---

  1. Driller III Skill Area

Create a dedicated Driller III Skill / Progression area inside the "/rc menu".

This should feel like a professional skill tree/progression system.

Display:

  • Current Driller III level
  • Current XP
  • XP needed for next level
  • Total blocks mined
  • Unlocked abilities
  • Locked abilities
  • Available rewards
  • Progress toward the next level

When the player reaches a new level, they should receive the configured reward for that level.

Example:

Driller III Level 10 → Reward unlocked

Level 20 → New reward

Level 30 → New ability/reward

etc.

The exact level rewards should be configurable.

---

  1. Skill Rewards Must Be Configurable

Server owners must be able to configure:

  • Required XP per level
  • Level progression
  • Rewards
  • Commands executed as rewards
  • Items given as rewards
  • Abilities unlocked at specific levels
  • Other progression settings

Do NOT hard-code all rewards into Java.

Use configuration files so the server owner can customize the progression.

---

  1. Admin Skill/Reward Management

Create a professional admin system for managing Driller III progression.

Admin access should be available through:

"/rc admin <6996>"

Use 6996 as the admin access code exactly as specified.

The admin panel should allow authorized administrators to manage the plugin's progression/settings.

At minimum, provide management for:

  • Driller III levels
  • XP requirements
  • Level rewards
  • Abilities
  • Protected blocks
  • TreeCapitor settings
  • Player statistics
  • General plugin settings
  • GUI settings where appropriate

Do not expose sensitive admin controls to normal players.

Make sure the admin system has proper permission protection in addition to the access code.

---

  1. Professional Admin Panel

The "/rc admin <6996>" interface should be a high-quality professional admin GUI, not a basic chest menu.

Organize it into sections such as:

⚙ General Settings

  • Plugin settings
  • Messages
  • Configuration controls

⛏ Driller III

  • Skill levels
  • XP
  • Rewards
  • Ability settings
  • Mining statistics

🌳 TreeCapitor

  • Levels
  • XP
  • Rewards
  • Tree settings
  • Statistics

🛡 Protection

  • Protected blocks
  • Add/remove protected blocks
  • View current protected blocks

👤 Player Management

  • Search/select players
  • View player statistics
  • View progression
  • Manage/reset progression where permitted

📊 Statistics

  • Global statistics
  • Player statistics
  • Mining statistics
  • TreeCapitor statistics

🔄 Configuration

  • Reload configuration
  • Validate configuration
  • Show configuration errors clearly

The admin panel should have professional icons, item names, lore, navigation buttons, back buttons, pagination, confirmation screens where needed, and clear visual status indicators.

---

  1. Recent Death System

Add:

"/rc recent-death"

This command should show the player's most recent death information.

Display useful information such as:

  • Death location
  • World
  • X coordinate
  • Y coordinate
  • Z coordinate
  • Cause of death
  • What killed the player, when available
  • Time/date of death

Example:

«☠ Recent Death World: Survival Location: X 124, Y 63, Z -421 Cause: Zombie Time: 7:32 PM»

If the player has no recorded death, show:

«You have no recent death recorded.»

Store the most recent death data per player.

The system should persist through server restarts.

Do not expose another player's death information through this command.

---

  1. Remove AI System Completely

Remove the existing AI command and AI system.

Delete:

"/rc ai <question>"

Remove all AI-related:

  • Commands
  • Code
  • GUI buttons
  • Configuration
  • Permissions
  • API settings
  • API keys
  • Dependencies that are only required for the AI system
  • Messages

The finished plugin must contain no AI command or AI feature.

---

  1. Upgrade the Main GUI

Improve "/rc menu" significantly.

The GUI should have a professional large-server-plugin style rather than a basic inventory menu.

Include sections/buttons for:

  • ⛏ Driller III
  • 🌳 TreeCapitor
  • 🛏 Bed / Last Spawn
  • 📊 Statistics
  • 🏆 Skills / Progression
  • ⚙ Settings where applicable
  • ❓ Help
  • ❌ Close

Use:

  • Professional icons
  • Clear item names
  • Detailed lore
  • Consistent layout
  • Decorative elements
  • Page navigation where needed
  • Back buttons
  • Click feedback
  • Sound effects where appropriate
  • Green/red status indicators for toggleable systems

The menu must show the current player's own statistics and settings.

Do not show Player 2's information to Player 1.

---

  1. Preserve Player-Specific Systems

Keep the existing player-specific behavior.

For example:

Player 1:

  • Driller III / BlockBreaker ON

Player 2:

  • Driller III / BlockBreaker OFF

These settings must remain independent.

TreeCapitor must also remain player-specific.

---

  1. Performance & Reliability

Make sure the new systems do not create unnecessary server lag.

Especially optimize:

  • 3×3 mining
  • TreeCapitor
  • XP calculation
  • Statistics tracking
  • GUI updates
  • Death tracking
  • Player data saving

Do not cause duplicate drops or recursive block-break events.

Do not allow protected blocks or ores to be accidentally broken by the Driller III area mining system.

---

  1. Final Verification

After making these modifications, verify that:

  1. Plugin name is RC-Taken everywhere.
  2. Efficiency X has been completely renamed to Driller III.
  3. Driller III can still be applied to a pickaxe.
  4. The book does not need to remain in the off-hand.
  5. Driller III breaks eligible mixed blocks in the entire 3×3 area.
  6. Ores and configured protected blocks are never broken.
  7. Bed button correctly teleports to the player's valid last bed spawn.
  8. Driller III statistics work and persist.
  9. TreeCapitor statistics work and persist.
  10. Driller III XP/level progression works.
  11. Level rewards can be configured.
  12. "/rc admin <6996>" opens the protected professional admin panel.
  13. "/rc recent-death" correctly displays the player's latest death.
  14. The AI system is completely removed.
  15. "/rc menu" is redesigned to a professional, polished GUI.
  16. Existing features not mentioned for removal continue working.

Do not simply rename labels in the GUI. Update the underlying plugin code, configuration, commands, permissions, item identifiers, and data structures wherever necessary so these changes are genuinely implemented.

Kodari AI
KodariSep 27 at 2:13 pm 53
  1. Rename the plugin and Driller III identifiers, then remove the AI feature.

  2. Update protected 3×3 mining and add persistent, separate skill statistics and configurable rewards.

  3. Add the Bed and recent-death features.

  4. Rebuild the player menu and add a permission-protected admin panel.

  5. Check the integrated commands, configuration, and remaining references.

Updated the existing plugin as RC-Taken. Efficiency X is now Driller III throughout the player-facing configuration, items, commands, and menus; the AI command and its dependency are removed.

The book still applies to a pickaxe in an anvil and is consumed. The ability stays on the pickaxe—no book is needed in the off-hand or inventory. Driller III now processes eligible mixed blocks in its 3×3 area while skipping ores and protected blocks. Driller III and TreeCapitor have separate, persistent UUID-based statistics, XP, levels, abilities, and configurable rewards.

/rc menu now includes skill progression, statistics, Bed / Last Spawn, and recent-death access. /rc recent-death shows only the caller’s record. A permission-protected /rc admin 6996 panel provides progression, protection, player-data, and configuration controls. Existing player settings and legacy tagged items remain recognized.

I checked the command registrations, metadata, and remaining old-name references statically. Compilation and in-server behavior could not be verified here, so those checks remain necessary before deployment.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
README.md
settings.gradle
Code
16 2,036
src/main/java/com/kodari/rctaken/RcTakenPlugin.java
package com.kodari.rctaken;

import org.bukkit.ChatColor;
import org.bukkit.command.PluginCommand;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class RcTakenPlugin extends JavaPlugin {
    private SettingsStore settings;
    private BookRecipe bookRecipe;
    private MiningListener mining;
    private MenuListener menu;
    private AdminMenuListener adminMenu;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        settings = new SettingsStore(this);
        settings.load();
        bookRecipe = new BookRecipe(this);
        bookRecipe.register();
        mining = new MiningListener(this);
        mining.reload();

        getServer().getPluginManager().registerEvents(bookRecipe, this);
        getServer().getPluginManager().registerEvents(mining, this);
        getServer().getPluginManager().registerEvents(new TreeListener(this), this);
        menu = new MenuListener(this);
        getServer().getPluginManager().registerEvents(menu, this);
        adminMenu = new AdminMenuListener(this);
        getServer().getPluginManager().registerEvents(adminMenu, this);
        getServer().getPluginManager().registerEvents(new SleepListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerHistoryListener(this), this);

        RcCommand rc = new RcCommand(this);
        PluginCommand command = getCommand("rc");
        if (command != null) {
            command.setExecutor(rc);
            command.setTabCompleter(rc);
        }
        getServer().getScheduler().runTaskTimer(this, settings::saveIfDirty, 6000L, 6000L);
    }

    @Override
    public void onDisable() {
        if (settings != null) settings.save();
    }

    public void reloadServices() {
        reloadConfig();
        bookRecipe.register();
        mining.reload();
    }

    public SettingsStore settings() {
        return settings;
    }

    public BookRecipe bookRecipe() {
        return bookRecipe;
    }

    public MiningListener mining() {
        return mining;
    }

    public MenuListener menu() {
        return menu;
    }

    public AdminMenuListener adminMenu() {
        return adminMenu;
    }

    public boolean allowed(Player player, String feature) {
        String node = getConfig().getString("permissions." + feature, "rc-taken." + feature);
        return player.hasPermission(node == null || node.isBlank() ? "rc-taken." + feature : node);
    }

    public String color(String value) {
        return ChatColor.translateAlternateColorCodes('&', value == null ? "" : value);
    }

    public String message(String key) {
        return color(getConfig().getString("messages.prefix", "&8[&bRC-Taken&8] &r")
            + getConfig().getString("messages." + key, "&cMessage unavailable."));
    }

    public void send(Player player, String key) {
        player.sendMessage(message(key));
    }
}