Create a complete Minecraft Java Edition Paper plugin named "Ocean SMP S1".
TARGET:
- Minecraft Paper 1.21.11
- Java 21
- Plugin must work on Paper 1.21.x
- No external plugins required
- Lightweight and optimized for SMP servers
PLUGIN NAME:
Ocean SMP S1
COMMANDS:
- /oceansmp
- /oceansmp help
- /oceansmp reload
- /oceansmp give <player> <item>
PERMISSIONS:
- oceansmp.admin
- oceansmp.give
- oceansmp.reload
CUSTOM WEAPONS:
- Ocean Sword
- Material: DIAMOND_SWORD
- Name: §b§lOcean Sword
- High durability
- Custom damage
- Ability: Ocean Strike
- Right-click activates the ability
- Creates a water-themed attack around the target
- Has a configurable cooldown
- Cooldown shown to the player
- Ocean Axe
- Material: DIAMOND_AXE
- Name: §3§lOcean Axe
- Custom damage
- Ability: Tide Smash
- Right-click creates a small knockback effect
- Configurable cooldown
- Ocean Trident
- Material: TRIDENT
- Name: §b§lOcean Trident
- Ability: Ocean Surge
- Right-click launches a water-themed projectile/effect
- Configurable cooldown
- Ocean Bow
- Material: BOW
- Name: §9§lOcean Bow
- Ability: Water Arrow
- Arrows create a water splash effect when hitting a target
- Configurable cooldown
CUSTOM ARMOR:
Ocean Helmet
- Material: DIAMOND_HELMET
- Name: §b§lOcean Helmet
- Gives Water Breathing
Ocean Chestplate
- Material: DIAMOND_CHESTPLATE
- Name: §b§lOcean Chestplate
- Gives additional protection
Ocean Leggings
- Material: DIAMOND_LEGGINGS
- Name: §b§lOcean Leggings
- Gives small movement bonus
Ocean Boots
- Material: DIAMOND_BOOTS
- Name: §b§lOcean Boots
- Gives Depth Strider effect
FULL SET BONUS:
- When wearing the complete Ocean Armor set:
- Permanent Water Breathing - Small Speed bonus - Small Resistance bonus
- Remove the bonus immediately when the full set is no longer equipped.
CUSTOM RECIPES:
Create balanced crafting recipes for:
- Ocean Sword
- Ocean Axe
- Ocean Trident
- Ocean Bow
- Ocean Helmet
- Ocean Chestplate
- Ocean Leggings
- Ocean Boots
Use normal Minecraft materials and a balanced amount of:
- Diamond
- Heart of the Sea
- Prismarine
- Nautilus Shell
- Netherite materials where appropriate
IMPORTANT:
- Every custom item must have a unique PersistentDataContainer ID.
- Never identify custom items only by display name.
- Custom items must survive server restart.
- Prevent accidental duplication.
- Recipes must correctly recognize the custom items.
- Custom abilities must only work with the correct custom item.
- Normal Minecraft items must not receive custom abilities.
CONFIG:
Create config.yml containing:
- weapon damage
- ability cooldowns
- armor bonuses
- recipe enable/disable options
- messages
- debug mode
Example:
ocean-sword: damage: 12.0 cooldown: 10
ocean-axe: damage: 14.0 cooldown: 12
ocean-trident: damage: 11.0 cooldown: 8
ocean-bow: cooldown: 6
MESSAGES:
Use configurable messages.
Example: §b§lOcean SMP S1 §7You received: §bOcean Sword
Cooldown message: §cAbility is on cooldown! §7Wait §b%time%s
ADMIN:
Only players with oceansmp.admin can use admin commands.
Give command examples:
- /oceansmp give <player> ocean_sword
- /oceansmp give <player> ocean_axe
- /oceansmp give <player> ocean_trident
- /oceansmp give <player> ocean_bow
- /oceansmp give <player> ocean_helmet
- /oceansmp give <player> ocean_chestplate
- /oceansmp give <player> ocean_leggings
- /oceansmp give <player> ocean_boots
PROJECT STRUCTURE:
Provide:
- pom.xml
- plugin.yml
- config.yml
- Main Java class
- command classes
- listener classes
- item manager
- recipe manager
- ability manager
- armor manager
- utility classes
PLUGIN.YML:
Include:
- name: OceanSMP
- version: 1.0.0
- main class
- api-version compatible with Paper 1.21.11
- commands
- permissions
FINAL REQUIREMENTS:
- Complete source code only.
- No TODOs.
- No placeholder code.
- No missing classes.
- No compilation errors.
- Use clean Java code.
- Use Adventure API/Paper API where appropriate.
- Do not require Skript, SkBee, Vault, PlaceholderAPI, or any other plugin.
- Make the final project ready to compile into a .jar.
- The resulting .jar must be placed directly into the server's plugins folder.
I created the Ocean SMP S1 Paper plugin project, but couldn’t start implementation: the workspace requires 30 credits to launch a project developer and currently has 21. Once the balance is sufficient, ask me to continue.
No files in this session