๐
1 file
7,982 chars
๐
pasted-code-1793943564210.txt
txt
219 lines
โถ
pasted-code-1793943564210.txt
txt
219 lines
# PROJECT: ADVANCED MOBTOKENS PLUGIN
Create a fully functional, advanced Minecraft Java plugin named **AdvancedMobTokens** for Minecraft Paper 1.21.11.
The plugin must be optimized, configurable, multiplayer-compatible, and ready to use on a survival SMP server.
## 1. RANDOM TOKEN ON FIRST JOIN
- Every player receives exactly ONE random MobToken when joining the server for the first time.
- Select the token randomly from 85 different mob tokens.
- Play a special token-receiving animation.
- Display magical particles, glowing effects, and custom sounds.
- Show a title: "NEW MOB TOKEN UNLOCKED!"
- Display the token name and its special ability.
- Never give another starting token when the player rejoins.
- Save the received token permanently.
## 2. 85 UNIQUE MOB TOKENS
Create 85 different tokens based on Minecraft mobs.
Each token must have:
- Unique custom name.
- Custom item texture/model.
- Unique description and lore.
- One special ability based on its original mob.
- Custom activation sound.
- Unique particle effects.
- Custom cooldown of 60 seconds.
- Configurable ability duration and strength.
Use mobs such as:
Zombie, Skeleton, Creeper, Enderman, Ender Dragon, Wither, Blaze, Ghast, Warden, Iron Golem, Snow Golem, Spider, Cave Spider, Slime, Magma Cube, Witch, Evoker, Vindicator, Ravager, Pillager, Vex, Phantom, Guardian, Elder Guardian, Drowned, Husk, Stray, Bogged, Breeze, Creaking, Piglin, Piglin Brute, Hoglin, Zoglin, Zombified Piglin, Wither Skeleton, Shulker, Silverfish, Endermite, Allay, Axolotl, Dolphin, Turtle, Frog, Goat, Panda, Polar Bear, Wolf, Cat, Fox, Ocelot, Horse, Donkey, Mule, Camel, Llama, Trader Llama, Sniffer, Bee, Bat, Chicken, Cow, Mooshroom, Pig, Sheep, Rabbit, Parrot, Squid, Glow Squid, Cod, Salmon, Pufferfish, Tropical Fish, Strider, Villager, Wandering Trader, Armadillo, and other suitable mobs until there are exactly 85 tokens.
Every ability must be different and functional. Do not simply give different potion effects to every token.
## 3. SPECIAL MOB ABILITIES
Examples:
- Zombie Token: Summon temporary zombie allies.
- Skeleton Token: Shoot a powerful explosive arrow.
- Creeper Token: Create a controlled explosion without destroying blocks.
- Enderman Token: Teleport a short distance.
- Ender Dragon Token: Release a dragon energy shockwave.
- Wither Token: Apply Wither to nearby enemies.
- Blaze Token: Create a fire ring.
- Ghast Token: Launch a powerful fireball.
- Warden Token: Release a sonic boom.
- Spider Token: Shoot webs at nearby enemies.
- Slime Token: Perform a super jump.
- Witch Token: Throw a magical potion.
- Phantom Token: Temporarily gain flight.
- Guardian Token: Release an underwater energy attack.
- Iron Golem Token: Gain temporary resistance and strength.
- Bee Token: Summon attacking bees.
- Wolf Token: Summon protective wolves.
- Fox Token: Gain speed and temporary invisibility.
- Snow Golem Token: Create a freezing snowstorm.
- Breeze Token: Release a powerful wind blast.
- Shulker Token: Levitate nearby enemies.
- Allay Token: Receive temporary regeneration.
- Dolphin Token: Gain swimming speed.
- Turtle Token: Gain powerful resistance.
- Evoker Token: Summon temporary fangs.
Create similarly creative, balanced, mob-themed abilities for all 85 tokens.
## 4. TOKEN ACTIVATION
- Player activates a token using right-click.
- Each token has an independent 60-second cooldown.
- Play its custom activation sound.
- Display unique particles and animations.
- Show an action-bar cooldown message.
- Display the ability name on activation.
- Prevent activation while on cooldown.
- Abilities must work correctly in multiplayer.
## 5. TOKEN PROTECTION
Tokens must never disappear accidentally.
- Tokens cannot burn in lava or fire.
- Tokens cannot be destroyed by explosions.
- Tokens cannot despawn when dropped.
- Tokens cannot be consumed accidentally.
- Tokens cannot be lost on player death.
- Tokens must be protected from ordinary inventory-clearing actions.
- Tokens must remain identifiable through unique PersistentDataContainer IDs.
- Normal players cannot duplicate tokens using crafting, anvils, or other exploits.
IMPORTANT Q KEY FEATURE:
- Tokens must be protected from accidental dropping.
- If a player deliberately presses Q, the token should be dropped normally.
- Dropped tokens must retain their identity and protection.
- Players should be able to pick up their tokens again.
## 6. CUSTOM CRAFTING RECIPES
Create unique crafting recipes for all 85 MobTokens.
- Each token should have a unique crafting recipe.
- Use mob-related ingredients.
- Use rare materials for powerful tokens.
- Display recipes correctly in the crafting table.
- Recipes must be configurable.
- Prevent crafting exploits and duplication.
- Make recipes balanced for survival SMP gameplay.
Example:
Enderman Token:
Ender Pearl + Obsidian + Ender Eye + Amethyst Shard.
Creeper Token:
Gunpowder + TNT + Emerald + Nether Star.
## 7. CUSTOM RESOURCE PACK
Create a complete custom Minecraft resource pack.
Requirements:
- 85 unique token textures.
- Custom item models.
- Unique colors and designs for every mob.
- Minecraft-style magical appearance.
- Custom token icons.
- Custom sounds for every token.
- Custom activation sounds.
- Custom receiving animation sounds.
- Compatible with Minecraft 1.21.11.
- Generate the resource pack ZIP.
- Generate a SHA-1 hash for server configuration.
- Provide instructions for hosting and automatically downloading the pack.
Use CustomModelData or the appropriate modern Paper/Minecraft item model system.
## 8. PARTICLE AND SOUND EFFECTS
Every token must have its own:
- Activation particle animation.
- Receiving particle animation.
- Custom activation sound.
- Unique visual ability effect.
- Cooldown feedback sound.
Use particles such as:
END_ROD, SOUL, FLAME, PORTAL, ELECTRIC_SPARK, TOTEM, ENCHANT, CLOUD, CRIT, and EXPLOSION.
Avoid excessive particles that cause server lag.
## 9. TOKEN GUI
Create a beautiful inventory GUI.
Commands:
- /mobtokens
- /mobtokens give
- /mobtokens list
- /mobtokens reload
- /mobtokens reset
- /mobtokens info
GUI features:
- Display all 85 tokens.
- Show token descriptions and abilities.
- Show cooldown information.
- Show locked and unlocked tokens.
- Allow administrators to manage tokens.
## 10. CONFIGURATION
Create configuration files:
config.yml
tokens.yml
abilities.yml
recipes.yml
messages.yml
sounds.yml
resourcepack.yml
Allow administrators to customize:
- Cooldowns.
- Ability duration.
- Ability damage.
- Particle effects.
- Sounds.
- Token recipes.
- Token rarity.
- Starting token settings.
- PvP restrictions.
- World restrictions.
## 11. TECHNICAL REQUIREMENTS
- Java 21.
- Paper API 1.21.11.
- Maven project.
- Proper plugin.yml.
- Clean Java package structure.
- Use PersistentDataContainer to identify tokens.
- Use efficient Bukkit scheduler tasks.
- Prevent memory leaks.
- Handle player joins, quits, deaths, drops, and pickups.
- Save player token data safely.
- No console errors.
- No placeholder or unfinished abilities.
- No fake features.
- All 85 abilities must actually work.
## 12. FINAL DELIVERABLES
Generate a complete working project containing:
1. AdvancedMobTokens.jar
2. Complete Java source code.
3. Maven pom.xml.
4. All configuration files.
5. Custom resource pack ZIP.
6. All 85 token textures.
7. All custom sound files.
8. Crafting recipes for all 85 tokens.
9. Installation instructions.
10. Admin command guide.
The final plugin must be ready to install on a Paper 1.21.11 server.
IMPORTANT: Do not generate only a concept or explanation. Generate the actual working source code and buildable project. Test compilation and fix all errors before delivering the files.
KodariNov 6 at 5:39 am 1
AdvancedMobTokens
A comprehensive Minecraft Paper plugin providing 85 unique mob-themed tokens with functional special abilities. Features first-join random token distribution with animations, right-click activation with 60-second cooldowns, persistent token protection via PersistentDataContainer, custom crafting recipes, a full GUI management system, configurable abilities and cooldowns, custom particle effects and sounds, and complete resource pack integration. Includes admin commands for token management, player data persistence, and full configuration files for customization.
Kodari can build the Paper plugin, but it cannot create the custom resource pack or its textures and sounds.
Kodari can make mistakes. Review important code before using.
Files
mob plugin
Code
1 2
mob plugin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30