COWMODSКаталог модов

ZombiesInfection

The plugin adds an infection to your server, if a player is attacked by a zombie.

Автор: Kredwi5273обновлён 26 окт. 2024 г.
ПриключенияПроклятыеМобы

Описание

ZombiesInfection

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.

Commands

  • /zombiesinfection reload - Reload the plugin

Permissions

  • zombiesinfection.reload - Gives the player the right to reload your plugin. (default: op)
  • zombiesinfection.effect - If you want the player not to receive any effects, then remove this permission from him. (default: true)

n * 20 - means that the entered number will be multiplied by 20.

  • The list of sounds can be viewed here (latest version)
  • The list of effects can be viewed here (latest version)

Important clarification, the effects are given 1 time!!

config.yml
config_version: 2

# Enable debug mode (output additional messages to the console)
debug: false

# Settings for messages and sounds when a player is infected
if-player-infected:
  # Enable displaying the infection message
  message: false
  # Enable playing the sound when infected
  play-sound: false
  # Update the timer when infected
  update-timer: true

# Number of times the effect will be applied
effect-will-applied-after: 5

# Delay in server ticks before executing the first repeat (n * 20)
delay: 5

# Period in server ticks for task repetition (n * 20)
period: 5

# Enable a random time range for effect application
random_time_from_range:
  # Enable a random time range
  enable: true
  # Lower limit of the time range in seconds
  range_from: 5
  # Upper limit of the time range in seconds
  range_to: 10

# Settings for potions that will be given
potion-gived:
  # Settings for poison potion
  POISON:
    # Potion duration in seconds (n * 20 ticks)
    potion-duration: 60
  # Settings for blindness potion
  BLINDNESS:
    # Potion duration in seconds (n * 20 ticks)
    potion-duration: 5
  # Settings for hunger potion
  HUNGER:
    # Potion duration in seconds (n * 20 ticks)
    potion-duration: 30

# Settings for sounds that will be played
sound-played:
  # Enable the sound when attacked
  sound-in-attack:
    # Enable the attack sound
    enable: true
    # Sound name from Minecraft resources
    sound: "AMBIENT_CAVE"
    # Sound volume (from 0 to 100)
    volume: 100.0
    # Sound pitch (from 0 to 2)
    pitch: 1.0
  # Enable the sound when the effect is given
  sound-in-effect-gived:
    # Enable the effect sound
    enable: true
    # Sound name from Minecraft resources
    sound: "ENTITY_ENDERMEN_DEATH"
    # Sound volume (from 0 to 100)
    volume: 100.0
    # Sound pitch (from 0 to 2)
    pitch: 1.0

# Messages for different events
messages:
  # Plugin reload success message
  plugin_reload: "§2Plugin successfully reloaded"
  # Insufficient permissions message
  no_permission: "§cYou do not have permission"
  # Missing subcommand message
  no_command_args: "§cUsage: /%s <subcommand> <args>"
  # Invalid command message
  no_found_command: "§cThe command was not found"
  # Infection message
  you_infected: "§4§lYOU ARE INFECTED!!"
  # Effect applied message
  effect-gived: "§c§lTHE INFECTION IS SPREADING"

Последние версии

Все версии →
release

ZombiesInfection 0.1.4

0.1.4
26 окт. 2024 г.527Minecraft: 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5paper, spigot
Скачать