{"id":25595382,"url":"https://github.com/4k1d3v/doctor-plugin","last_synced_at":"2026-05-17T02:04:16.709Z","repository":{"id":278701880,"uuid":"936465256","full_name":"4K1D3V/doctor-plugin","owner":"4K1D3V","description":"Doctor is a feature-rich, medical-themed Minecraft plugin that adds a Doctor role, injury system, team mechanics, emergency events, and interactive GUIs to enhance survival gameplay.","archived":false,"fork":false,"pushed_at":"2025-02-21T07:29:05.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T08:27:46.737Z","etag":null,"topics":["bukkit","bukkit-plugin","bukkitdev","minecraft-plugin","minecraft-server","spigot-plugin"],"latest_commit_sha":null,"homepage":"https://ks.akii.pro","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4K1D3V.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-21T06:11:49.000Z","updated_at":"2025-02-21T07:37:47.000Z","dependencies_parsed_at":"2025-02-21T08:38:07.341Z","dependency_job_id":null,"html_url":"https://github.com/4K1D3V/doctor-plugin","commit_stats":null,"previous_names":["4k1d3v/doctor-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/4K1D3V/doctor-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4K1D3V%2Fdoctor-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4K1D3V%2Fdoctor-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4K1D3V%2Fdoctor-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4K1D3V%2Fdoctor-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4K1D3V","download_url":"https://codeload.github.com/4K1D3V/doctor-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4K1D3V%2Fdoctor-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33125184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"online","status_checked_at":"2026-05-17T02:00:05.366Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bukkit","bukkit-plugin","bukkitdev","minecraft-plugin","minecraft-server","spigot-plugin"],"created_at":"2025-02-21T11:20:30.265Z","updated_at":"2026-05-17T02:04:16.684Z","avatar_url":"https://github.com/4K1D3V.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doctor Plugin\n\n![Minecraft Version](https://img.shields.io/badge/Minecraft-1.20.4-green.svg)\n![License](https://img.shields.io/badge/License-MIT-blue.svg)\n![Build Status](https://img.shields.io/badge/Build-Passing-brightgreen.svg)\n\n**Doctor** is a feature-rich, medical-themed Minecraft plugin that adds a Doctor role, injury system, team mechanics, emergency events, and interactive GUIs to enhance survival gameplay. Built with industrial-grade code, it offers modularity, scalability, and a polished user experience.\n\n## Features\n\n- **Doctor Role**: Register as a Doctor with `/doctor register` (requires `doctor.use` permission).\n- **Injury System**: Random injuries (Broken Leg, Infection, Bleeding) on damage, managed centrally with configurable durations and effects.\n- **Healing Mechanics**: Use craftable items (Bandage, Antidote, Suture Kit, Splint) to heal or cure, with dynamic cooldowns influenced by team buffs.\n- **Crafting Recipes**: Configurable recipes for all medical items (e.g., Stethoscope from Iron Ingots + Glass Pane).\n- **Team System**: Join/lead teams, share XP, toggle team chat, and manage members via GUI or commands.\n- **Emergency Events**: Periodic server-wide events (Plague, Mass Bleeding, Mass Fracture) with configurable chances and durations.\n- **GUIs**: Intuitive interfaces for Medical Kit, Team Management, and Leaderboard with pagination and interactivity.\n- **XP Progression**: Level up (max 5) by healing, with team XP pools and buffs.\n- **Leaderboard**: Track top teams by XP pool and member XP, available as text or GUI.\n- **Persistence**: All data (Doctors, teams, XP) saved in `doctors.yml`.\n\n## Installation\n\n1. **Prerequisites**:\n   - Minecraft server running Spigot 1.20.4.\n   - Java 17 or higher.\n\n2. **Download**:\n   - Grab the latest `Doctor.jar` from the [Releases](https://github.com/4K1D3V/doctor-plugin/releases) page.\n\n3. **Setup**:\n   - Place `Doctor.jar` in your server’s `plugins` folder.\n   - Start the server to generate `config.yml` and `doctors.yml`.\n\n4. **Build from Source** (optional):\n   ```bash\n   git clone https://github.com/4K1D3V/doctor-plugin.git\n   cd doctor-plugin\n   mvn clean package\n   ```\n   - Copy `target/Doctor-1.0.jar` to `plugins`.\n\n5. **Dependencies**:\n   - Add Spigot 1.20.4 to your `pom.xml`:\n     ```xml\n     \u003cdependency\u003e\n         \u003cgroupId\u003eorg.spigotmc\u003c/groupId\u003e\n         \u003cartifactId\u003espigot\u003c/artifactId\u003e\n         \u003cversion\u003e1.20.4-R0.1-SNAPSHOT\u003c/version\u003e\n         \u003cscope\u003eprovided\u003c/scope\u003e\n     \u003c/dependency\u003e\n     ```\n\n## Usage\n\n### Commands\n- `/doctor register`: Become a Doctor (requires `doctor.use`).\n- `/doctor diagnose \u003cplayer\u003e`: Check a player’s health and injuries (needs Stethoscope).\n- `/doctor heal \u003cplayer\u003e`: Heal or cure a nearby player with an item.\n- `/doctor stats`: View your Doctor level and XP.\n- `/doctor kit`: Open the Medical Kit GUI.\n- `/doctor team [join \u003cname\u003e|leave|gui|kick \u003cplayer\u003e|distribute]`: Manage teams.\n- `/doctor leaderboard [gui \u003cpage\u003e]`: Display team leaderboard (text or GUI).\n\n### Tab Completion\n- Suggests subcommands, player names, team members, and leaderboard pages dynamically.\n\n### Permissions\n- `doctor.use`: Grants access to all commands (default: op).\n\n### GUI Interfaces\n- **Medical Kit**: Click items to heal nearby players with sound effects.\n- **Team GUI**: View/manage team members, distribute XP pool, toggle team chat.\n- **Leaderboard GUI**: Paginated list of teams; click for detailed stats.\n\n## Configuration\n\nEdit `config.yml` in the `plugins/Doctor` folder:\n\n- **Doctor Settings**: XP per heal, max level, cooldowns, team buffs.\n- **Injury Settings**: Chance, tick rate, durations, damage.\n- **Emergency Settings**: Interval, event chances (sum to 1.0).\n- **Items**: Materials, names, lore, and crafting recipes.\n\nExample tweak:\n```yaml\ndoctor:\n  team-xp-buff-multiplier: 0.0001  # Slower cooldown reduction\nemergency:\n  interval-minutes: 15  # More frequent events\n```\n\n## Development\n\n### Building\n```bash\nmvn clean package\n```\n\n### Structure\n- **Package**: `pro.akii.ks`\n- **Main**: `DoctorPlugin.java`\n- **Managers**: `DoctorManager`, `InjuryManager`, `EmergencyManager`\n- **Utils**: `NMSUtil`, `ConfigUtil`\n- **Data**: `DoctorData`\n- **GUI**: `MedicalKitGUI`, `TeamGUI`, `LeaderboardGUI`\n- **Commands**: `DoctorCommand`\n- **Listeners**: `DoctorListener`\n\n### NMS Usage\n- Uses `v1_20_R3` for health, particles, and attribute manipulation.\n\n## Contributing\n\n1. Fork the repository.\n2. Create a feature branch (`git checkout -b feature/new-feature`).\n3. Commit changes (`git commit -m \"Add new feature\"`).\n4. Push to your fork (`git push origin feature/new-feature`).\n5. Open a Pull Request.\n\n### Guidelines\n- Follow Java naming conventions.\n- Add comments for complex logic.\n- Test thoroughly before submitting.\n\n## License\n\nLicensed under the [MIT License](LICENSE). Feel free to use, modify, and distribute!\n\n## Issues\n\nReport bugs or suggest features on the [Issues](https://github.com/4K1D3V/doctor-plugin/issues) page.\n\n## Credits\n\nDeveloped by [Kit](https://github.com/4K1D3V). Inspired by medical-themed gameplay enhancements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4k1d3v%2Fdoctor-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4k1d3v%2Fdoctor-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4k1d3v%2Fdoctor-plugin/lists"}