M
๐
1 file
4,066 chars
๐
pasted-code-1780641718488.txt
txt
40 lines
โถ
pasted-code-1780641718488.txt
txt
40 lines
"Create a complete Minecraft Spigot plugin and PaperMC project for version latest or any, with the following features and file structure. The project should be organized in a folder with the required sub-folders for source code and configuration files.
Plugin Name Idea: MalwaDropSkin
Core Mechanics
Player Death & Skin Drop: When a player is killed 10 times, they will drop their current player skin as an item, and they will be instantly banned from the server.
Skin Usability: Any other player on the server can pick up that dropped skin, equip it, and use it.
Steve Skin Reset: When a banned player is eventually unbanned, their skin will automatically reset back to the default Steve skin.
Unban Commands (Admin/OP Only)
Command: /s unban
Permissions: Only Server Administrators and OPs can use this command to instantly unban a player who lost their skin. Normal players do not have access to this.
The Revival Chair System (For Normal Players)
World Generation: Revival Chairs will automatically generate only in World 7 (which could be a custom Floating Island world).
Activation Process: A player must go to the chair, crouch on it, and long-press (interact) for 2 to 4 seconds.
Claiming the Chair: After the timer finishes, the player must write their name on it so no other player can hijack or use that specific chair.
Crafting Limits:
A single player can only craft 1 Revival Chair in total.
There can only be a maximum of 5 Revival Chairs total registered per player's name.
Crafting Recipe (Revival Chair)
You must use a Crafting Table with the following grid layout:
Left Column: 2x Diamond Blocks (Top slot), 4x Gold Ingots (Middle slot), 3x Diamond Ingots (Bottom slot).
Right Column: 2x Diamond Blocks (Top slot), 4x Gold Ingots (Middle slot), 3x Diamond Ingots (Bottom slot).
Center Slot: 1x Revive Star.
The Wizard Warden Boss Fight (WiradWarden)
Location: Spawns in the auto-generated World 7 structures (Floating Islands).
Boss Stats: The Wizard Warden has a massive health pool of 1,190 Hearts (2,380 HP).
Minion Spawning Phase: When the boss's health drops to 990 Hearts, it will spawn a regular Warden helper. From that point on, it will automatically spawn 1 additional regular Warden for every 200 Hearts of health it loses.
The Grind: You must defeat a total of 5 Wizard Wardens to gather enough materials for a Revive Star.
Drops (Revive Tokens): Defeating 1 Wizard Warden drops 1โ3 Revive Tokens randomly. By the time you defeat all 5 Wizard Wardens, you will have collected exactly 7 Revive Tokens.
Star Crafting: Take your 7 Revive Tokens to a crafting table to combine them into 1 Revive Star.
Part 2: Custom Textures (Mojang Base64 Skull Textures)
Since this plugin utilizes a profile library (XSkull.class/MojangAPI.class) to render custom item textures without requiring players to download a server resource pack, you can use these official Mojang API Texture Values.
In your config.yml or Java code, apply these Base64 Value Strings to the custom items to give them their unique textures:
1. Wizard Warden Texture (WiradWarden)
This gives the Warden a unique magical, runic wizard aesthetic with glowing cyan eyes and gold accents.Value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmY0ZTIyMzhjMmE1YjU3NzM0YThjYTcxYmU0MzVjNTlhZTZlNmY2YWNjYTIzNzk2MjY3OWY2YjI2YmU0MmI0In19fQ==
2. Revive Token Texture (ReviveTokenItem)
A specialized physical coin graphic featuring a green regeneration cross embedded in a metallic token border.
Value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTcyZDRmYmI5YmRjYmNmZTE2ZGM0Njg0ZGRhYmI4Y2VkM2Q5YmI0YTI1YmU4ZGE0Y2U3YTAxY2U1ZDE0MTI5In19fQ==
3. Revive Star Texture (ReviveStarItem)
A glowing Nether Star variant re-textured with emerald green healing magic hues to symbolize revival properties.
Value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTRiZDVmYWU0N2MzN2Y0NGU5NzdhYmY2N2Y5Mjg0MDVlYWY4NTVmZThhZDlmMzg2ZGEwZDU2MWY0Y2Y0MG
KodariJun 5 at 6:46 am 1
Iโll create the MalwaDropSkin plugin โ a comprehensive Paper plugin with skin-drop mechanics, revival chairs, and Wizard Warden boss fights.
MalwaDropSkin
A Paper plugin where players permanently lose their skin after 10 deaths and are banned. Other players can claim dropped skins. Revival Chairs in World 7 (Floating Islands) allow revival via crafting. Includes the Wizard Warden boss fight with minion-spawning mechanics, custom crafting recipes for Revive Stars and Revival Chairs, and admin unban commands. Custom textures use Mojang Base64 skull data.
Let me start with the infrastructure files, then build up the source code systematically.
Starting the MalwaDropSkin project โ a Paper 1.21 plugin with skin-drop ban mechanics, revival chair system, and Wizard Warden boss fights.
MalwaDropSkin
A Paper plugin where players losing their skin after 10 deaths and are banned. Dropped skin items can be claimed and equipped by other players. Revival Chairs in World 7 allow claimed revival. Features craftable Revive Stars, Wizard Warden boss fights with minion spawning, and admin unban commands.
Creating infrastructure files first
M
/create again
KodariJun 19 at 5:06 am 1
The generation was stopped before any content could be produced.
Kodari can make mistakes. Review important code before using.
Files
build.gradle
Code
1 28
build.gradle
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