{"id":17782739,"url":"https://github.com/kredwi/zombiesinfection","last_synced_at":"2026-03-10T02:05:37.125Z","repository":{"id":259506995,"uuid":"876637493","full_name":"Kredwi/ZombiesInfection","owner":"Kredwi","description":"The plugin adds an infection to your server, if a player is attacked by a zombie, then after a while the player receives the effects that are specified in the config.","archived":false,"fork":false,"pushed_at":"2024-10-26T16:47:43.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-14T14:09:53.543Z","etag":null,"topics":["bukkit","bukkit-api","java","paper","paper-api","paper-plugin","plugin","spigot-api","spigot-plugin","spigotmc","zombiesinfection"],"latest_commit_sha":null,"homepage":"https://www.spigotmc.org/resources/zombiesinfection.120395/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kredwi.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":"2024-10-22T10:03:21.000Z","updated_at":"2024-10-27T06:51:00.000Z","dependencies_parsed_at":"2024-10-26T11:59:14.637Z","dependency_job_id":null,"html_url":"https://github.com/Kredwi/ZombiesInfection","commit_stats":null,"previous_names":["kredwi/zombiesinfection"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kredwi%2FZombiesInfection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kredwi%2FZombiesInfection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kredwi%2FZombiesInfection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kredwi%2FZombiesInfection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kredwi","download_url":"https://codeload.github.com/Kredwi/ZombiesInfection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229711047,"owners_count":18112054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-api","java","paper","paper-api","paper-plugin","plugin","spigot-api","spigot-plugin","spigotmc","zombiesinfection"],"created_at":"2024-10-27T06:03:51.917Z","updated_at":"2026-03-10T02:05:32.087Z","avatar_url":"https://github.com/Kredwi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZombiesInfection\n\nThe plugin adds an infection to your server, if a player is attacked by a zombie, then after a while the player gets the effect of poisoning.\n\n**Spigot/Paper 1.12.2 - 1.21.5**\n\n## Commands\n- `/zombiesinfection reload` - Reload the plugin\n\n## Permissions\n- `zombiesinfection.reload` - Gives the player the right to reload your plugin. (default: op)\n- `zombiesinfection.effect` - If you want the player not to receive any effects, then remove this permission from him. (default: true)\n\n## CONFIG\n\n- `n * 20` - means that the entered number will be multiplied by 20.\n\n#### Example\n*(the example is taken from **ZIConfig.java:64** line)*\n```java\nreturn number * 20;\n```\n\n- `debug` - Enables debugging mode, it outputs additional information to the console, which may be useless\n- `if-player-infected` - If the player is infected\n  - `message` - Enable a message every time a player is hit and he is infected\n  - `play-sound` - Turn on the sound playback every time a player is beaten, and at the same time he is infected\n  - `update-timer` - Enable timer update every time\n- `effect-will-applied-after` - after what time the effect will be given (the higher the value, the longer it will be stored in **HashMap**)\n- `delay` and `period` - read [HERE](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/scheduler/BukkitScheduler.html#runTaskTimer(org.bukkit.plugin.Plugin,java.lang.Runnable,long,long))\n- `random_time_from_range` is a sector for working with the number selection area\n - `enable` - enable this selector *(if it is disabled, the time will be counted from `from_effect`)*\n - `range_from` - the minimum value for the time\n - `range_to` - the maximum value for the time\n- `potion-gived` - These effects will be given to the player when his infection is over\n - `POISON` - ENUM is an enumeration of the effect, you can find it [HERE](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html)\n   - `potion-duration` - Duration of the effect (n * 20)\n - `BLINDNESS` - ENUM is an enumeration of the effect, you can find it [HERE](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html)\n   - `potion-duration` - Duration of the effect (n * 20)\n - `HUNGER` - ENUM is an enumeration of the effect, you can find it [HERE](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html)\n   - `potion-duration` - Duration of the effect (n * 20)\n- `sound-played` - The sector with sounds\n  - `sound-in-attack` - This sound will be played while the zombie is hitting you.\n    - `enable` - Enable this sector\n    - `sound` - ENUM is an enumeration of the effect, you can find it [HERE](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html)\n    - `volume` - The volume of the sound\n    - `pitch` - The pitch of the sound\n  - `sound-in-effect-gived` - This sound will be played while the effects are being issued.\n    - `enable` - Enable this sector\n    - `sound` - ENUM is an enumeration of the effect, you can find it [HERE](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html)\n    - `volume` - The volume of the sound\n    - `pitch` - The pitch of the sound\n- `messages` is a sector with messages from the plugin (not a *debugging* message).\n - `plugin_reload` is a message when restarting the plugin\n - `no_permission` is a message when the player does not have rights to participate in the team.\n - `no_command_args` is a message when a player enters a command without a nested command\n - `no_found_command` is a message when the nested command is not found\n - `you_infected` is a message when the player is infected and the timer is running\n - `effect-gived` is a message that is displayed when you get the effects\n\n### Example settings\n```yaml\nconfig_version: 2\n\n# Enable debug mode (output additional messages to the console)\ndebug: false\n\n# Settings for messages and sounds when a player is infected\nif-player-infected:\n  # Enable displaying the infection message\n  message: false\n  # Enable playing the sound when infected\n  play-sound: false\n  # Update the timer when infected\n  update-timer: true\n\n# Number of times the effect will be applied\neffect-will-applied-after: 5\n\n# Delay in server ticks before executing the first repeat (n * 20)\ndelay: 5\n\n# Period in server ticks for task repetition (n * 20)\nperiod: 5\n\n# Enable a random time range for effect application\nrandom_time_from_range:\n  # Enable a random time range\n  enable: true\n  # Lower limit of the time range in seconds\n  range_from: 5\n  # Upper limit of the time range in seconds\n  range_to: 10\n\n# Settings for potions that will be given\npotion-gived:\n  # Settings for poison potion\n  POISON:\n    # Potion duration in seconds (n * 20 ticks)\n    potion-duration: 60\n  # Settings for blindness potion\n  BLINDNESS:\n    # Potion duration in seconds (n * 20 ticks)\n    potion-duration: 5\n  # Settings for hunger potion\n  HUNGER:\n    # Potion duration in seconds (n * 20 ticks)\n    potion-duration: 30\n\n# Settings for sounds that will be played\nsound-played:\n  # Enable the sound when attacked\n  sound-in-attack:\n    # Enable the attack sound\n    enable: true\n    # Sound name from Minecraft resources\n    sound: \"AMBIENT_CAVE\"\n    # Sound volume (from 0 to 100)\n    volume: 100.0\n    # Sound pitch (from 0 to 2)\n    pitch: 1.0\n  # Enable the sound when the effect is given\n  sound-in-effect-gived:\n    # Enable the effect sound\n    enable: true\n    # Sound name from Minecraft resources\n    sound: \"ENTITY_ENDERMEN_DEATH\"\n    # Sound volume (from 0 to 100)\n    volume: 100.0\n    # Sound pitch (from 0 to 2)\n    pitch: 1.0\n\n# Messages for different events\nmessages:\n  # Plugin reload success message\n  plugin_reload: \"§2Plugin successfully reloaded\"\n  # Insufficient permissions message\n  no_permission: \"§cYou do not have permission\"\n  # Missing subcommand message\n  no_command_args: \"§cUsage: /%s \u003csubcommand\u003e \u003cargs\u003e\"\n  # Invalid command message\n  no_found_command: \"§cThe command was not found\"\n  # Infection message\n  you_infected: \"§4§lYOU ARE INFECTED!!\"\n  # Effect applied message\n  effect-gived: \"§c§lTHE INFECTION IS SPREADING\"\n```\n\n## Known issues\n- Optimization (an eternal problem)\n- Level potion effect not work\n- The timer is updated only when a player is added to the **HashMap**.\n\n## Zombie support\n- An ordinary zombie\n- Zombie resident\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkredwi%2Fzombiesinfection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkredwi%2Fzombiesinfection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkredwi%2Fzombiesinfection/lists"}