Create a Minecraft server plugin with the following full specifications. Plugin Name: BedrocklolSMP Plugin Version: 1.0 Server Support: Bukkit, Spigot (1.13 to latest) Note: If Fabric cannot be included in the same JAR, generate Bukkit/Spigot version. ================================================== ADMIN & CONSOLE COMMANDS ================================================== 1. /reload - Reload all server files and plugins without restarting the server - Executable by console and operators only 2. /b reload - Reload only this plugin's config and data files 3. /bedrocklol reload - Reload only this plugin and its config ================================================== ONE HIT SWORD SYSTEM ================================================== 4. /give Onehitsword - Give a custom One Hit Sword - OP only OneHitSword behavior: - Kills any player or mob in exactly one hit - Ignores armor and effects - Has a 2-hour cooldown per player - If used during cooldown: - Sword becomes invisible / removed from inventory - After 2 hours: - Sword automatically returns to the owner's inventory - Cooldown must persist through logout and server restart ================================================== BROADCAST & PVP ================================================== 5. /msg <message> - Broadcast message to all players - Message appears on all players' screens 6. /pvp on - Enable PvP globally for all players 7. /pvp off - Disable PvP globally for all players - PvP setting applies to players who join later ================================================== JAIL SYSTEM ================================================== 8. /setjail <number> - Save admin’s current location as jail with ID number - Save permanently in config 9. /jail <player> <number> - Teleport player to jail - Set player gamemode to ADVENTURE - Block teleport, commands, and escape 10. /unjail <player> - Remove player from jail - Set gamemode to SURVIVAL - Teleport to spawn ================================================== SPAWN SYSTEM ================================================== 11. /setspawn - Save admin location as global spawn - Save permanently 12. /spawn - Teleport player to spawn - On player join: - Automatically teleport to spawn ================================================== NICK & NAME HIDE SYSTEM ================================================== 13. /nick <player> <name> - Change player display name - Update name in: - Chat - Tab list - Player name above head 14. /nick hide <player> - Hide the player's identity completely - Replace name with a hidden name such as "MysteryPlayer" - Hide name from: - Chat messages - Tab list - Join messages - Leave messages - Death messages - On-screen messages - Messages involving the player must show no real name 15. /nick show <player> - Restore original player name - Show name again in: - Chat - Tab list - Join messages - Leave messages - Death messages - On-screen messages ================================================== CUSTOM ADDCOMMAND SYSTEM ================================================== 16. /addcommand <command> <permission> <permission_message> <trigger> Behavior: - Dynamically create new commands without restart - Save commands permanently in config.yml Execution logic: - When /<command> is executed: - If player lacks permission: - Send permission_message - If player has permission: - If trigger starts with "https://": - Send clickable link - Else: - Send trigger as normal message Extra rules: - Unlimited custom commands - Existing commands can be overwritten - Console can execute all commands ================================================== NORMAL PLAYER COMMANDS ================================================== 17. /sethome <name> - Save up to 20 homes per player 18. /home <name> - Teleport to home after 3 seconds delay 19. /delhome <name> - Delete saved home 20. /back - Teleport to last death location after 5 seconds delay 21. /echest - Open ender chest 22. /enderchest - Open ender chest 23. /invsee <player> - View/edit player inventory 24. /ecsee <player> - View/edit player ender chest ================================================== DATA & STORAGE REQUIREMENTS ================================================== - Save all data in YAML config files - Data must persist after restart: - Homes - Spawn - Jails - OneHitSword cooldown - Nicknames - Hidden players - Custom commands - No external plugins required - Plugin must compile into a working .jar file