AngryWolves - 随机生成狂暴狼,现在加入了地狱犬和村民狼人!
此插件允许部分(甚至全部)生成的狼处于狂暴状态。此外,狂暴狼可以替换一部分正常怪物生成,但(可选地)仅限于合适的生物群系和地形上。这两个选项可以同时启用(或像以前一样单独启用),并可分别配置。还可以配置狼掉落战利品。
部分狂暴狼的生成可以(可选地)变为地狱犬!地狱犬是燃烧且防火的狂暴狼——这主要让它们看起来酷多了 :). 不过与普通的狂暴狼不同,它们可以在下界中生成。
设置分为三个层级控制——全局、特定世界以及特定世界内的多边形定义区域。在所有情况下,如果定义了更具体层级的设置,它将覆盖更高层级的设置(区域设置优先于世界设置,世界设置优先于全局设置)。
设置文件包含以下属性:
- spawn-anger-rate - 作为狂暴狼出现的正常狼生成的百分比。如果为零则禁用。
- mob-to-wolf-rate - 怪物生成(僵尸、苦力怕、骷髅、蜘蛛)被狂暴狼替换的百分比的十倍(例如 50 = 5%,1000=100%)。如果为零则禁用。
- spawnmsg - 当因任一方法生成狂暴狼时,向世界中所有玩家广播的可选消息(每个世界每60秒限制一次)。可以使用 &0-&F 格式包含颜色代码(类似于 Essentials)。
- spawnmsgradius - 可选参数,如果设置为高于零的值,则将 'spawnmsg' 的发送限制在距离生成事件指定方块数以内的玩家。
- creeper-to-wolf-rate, skeleton-to-wolf-rate, zombie-to-wolf-rate, spider-to-wolf-rate - 当定义时,这些值将覆盖对应怪物类型的 mob-to-wolf-rate(例如,creeper-to-wolf-rate 如果设置,将定义苦力怕生成被狂暴狼替换的比率,单位为千分之一百分比)
- mobtowolf-ignore-terrain - 当定义并设置为 'true' 时,此选项移除了 mob-to-wolf 生成替换的生物群系和地形限制——当此设置生效时,狂暴狼可以在任何生物群系或地形中替换生成。
- wolf-loot-rate - 当定义时,此整数表示狼死亡时掉落战利品的概率百分比(默认为 0)
- wolf-loot - 当定义时,此整数列表是从中随机选择以确定狼掉落战利品的一组或多个物品 ID。允许重复 ID,并使给定物品更有可能掉落(默认为 [ 344 ],皮革)。
- pigzombie-to-wolf-rate - 当定义时,此值覆盖猪僵尸生成的 mob-to-wolf-rate,并设置猪僵尸以狂暴狼形式生成的比率(单位为千分之一百分比)。下界中的狂暴狼生成始终为地狱犬。
- hellhound-rate - 当定义时,此值指示狂暴狼中地狱犬(燃烧、防火的狂暴狼)的百分比。
- wolf-xp - 当定义时,击杀普通狼掉落的经验球数量
- angry-wolf-xp - 当定义时,击杀狂暴狼掉落的经验球数量
- hellhound-xp - 当定义时,击杀地狱犬掉落的经验球数量
- hellhound-fireball-rate - 当定义且大于 0 时,这是地狱犬投掷火球之间的秒数(默认= 0,无火球)
- hellhound-fireball-range - 当定义时,地狱犬火球的射程
- hellhound-fireball-incendiary - 当定义并设置为 true 时,地狱犬火球可以引发火灾
- mob-to-wild-wolf-rate - 当定义时,怪物被普通(野生)狼替换的比率,单位为千分之一百分比(例如 100 = 10%)。
- pup-on-sheep-kill-rate - 当定义时,狼吃掉羊时生成狼崽的比率(百分比)
- villager-werewolf-rate - 满月期间变成狂暴狼的村民的小数百分比(他们在夜晚结束时恢复正常)(1.2 版本新增)
- angrywolf-hunts-villagers - 布尔值,如果为 true,会导致狂暴狼追捕村民(类似于僵尸的行为)(1.2 版本新增)
此外,您可以配置“满月”之夜——每 N 个夜晚中的一个夜晚(N 由 days-between-fullmoons 属性的设置决定),“anger-rate-fullmoon” 百分比的未驯服狼会变成狂暴狼。在该夜晚结束时,所有狂暴狼(即使在夜晚开始前就处于狂暴状态的狼)都会恢复正常。相关属性包括:
- wolf-in-sheep-rate:绵羊是伪装成愤怒狼的概率(以千分之几为单位)。默认为零(已禁用)。
- wolf-in-sheep-msg:发送给攻击了“披着羊皮的狼”的玩家的消息。可以使用 &0-&F 格式包含颜色代码(与 Essentials 类似)。
此外还提供“狼友”功能。这是一个基于权限的特权,授予用户后,他们将不会被愤怒狼攻击或锁定为目标。此功能通过以下属性进行控制(全局、按世界或按区域):
- wolf-friends:如果设置为 true,则启用 'angrywolves.wolf-friend' 权限,拥有该权限的玩家将不会被愤怒狼攻击或锁定为目标。注意:如果在按区域级别启用,玩家的位置决定了朋友权限是否能防止攻击。
Permissions 2.7.x 或更高版本经过测试。如果没有 Permissions,则将使用 Bukkit Permissions ('Superperms')。
安装方法很简单,只需将 AngryWolves.jar 复制到你的插件目录,然后正常启动 CraftBukkit 即可。AngryWolves 子目录下会创建一个示例配置文件 config.yml。
功能:
- 支持多世界
- 全局设置、按世界设置和按区域设置
- 设置出生时就处于愤怒状态的狼的百分比(spawn-anger-rate > 0)
- 设置怪物生成替换为愤怒狼的百分比(x10)(mob-to-wolf-rate > 0)
- 在替换怪物生成时,仅在森林和泰加林生物群系中进行,且仅在地面为草地区域时生成。可以使用 mobtospawn-ignore-terrain 来禁用此限制。
- 可选的全局广播消息,用于通知愤怒狼的生成
- 可选的“满月”之夜功能——每隔 N 天-between-fullmoons 中的一个夜晚,所有野生狼中设定比例的部分会在夜间变得愤怒,但在早晨恢复正常。
- 可选的“披着羊皮的狼”功能——设置一个概率,使得被玩家攻击的绵羊实际上是伪装成绵羊的愤怒狼!
- 可选的“狼友”特权——如果启用,通过 Permissions 或 GroupManager 获得 'angrywolves.wolf-friend' 特权的玩家将不会被愤怒狼攻击或锁定为目标。
- 可选的生成消息半径,用于限制哪些玩家会收到警告,如果定义了 'spawnmsg' 且有愤怒狼生成。
- 每个世界中可通过多边形定义的区域,这些区域可以拥有自己的设置(定义为二维坐标列表——矩形为 2 个坐标,多边形为 3 个及以上坐标)。
- 可选的特定怪物类型的怪物到狼的替换率,允许为每种怪物类型(蜘蛛、骷髅、僵尸、苦力怕 - 以及猪僵尸)设置被愤怒狼替换的比例。
- 可选的狼掉落战利品——受控比率(使用 wolf-loot-rate),以及随机选择的物品 ID 列表(使用 wolf-loot)。支持愤怒狼专属战利品和掉落(分别使用 angry-wolf-loot-rate 和 angry-wolf-loot)。支持地狱犬专属战利品和掉落(分别使用 hellhound-loot-rate 和 hellhound-loot)。
- 可选的设置一定比例的愤怒狼变为燃烧的地狱犬(使用 hellhound-rate)
- 可选的设置不同满月期间的怪物到狼的替换率,使用 fullmoon-mob-to-wolf-rate 设置(百分比 x10,类似于 mob-to-wolf-rate)。此外,可选的设置愤怒狼在满月结束后的愤怒持续时间(百分比 - 默认 0)。
- angrywolf-health 和 hellhound-health 设置,控制这些生成的初始生命值——使它们比普通野生狼更强大!
- hellhound-damagescale——允许减少地狱犬受到的伤害(它与此设置相乘,因此将其设为低于 1.0 的值可减少伤害)。
- angrywolf-pop-limit——允许限制服务器上愤怒狼和地狱犬的总数量(mob-to-spawn 会绕过正常的生成数量限制)。
- 启用地狱犬发射火球攻击(在可设置的范围内和频率),并且可以选择是否引发火灾
- 配置普通狼、愤怒狼和地狱犬掉落经验球
- 添加选项使普通狼更常见——mob-to-wild-wolf-rate(类似于 mob-to-wolf-rate,但它会导致生成普通的‘野生’狼),以及 pup-on-sheep-kill-rate(狼吃掉绵羊时有几率获得狼崽的百分比概率)
- (0.9.4 新增)可以在任何自定义消息中使用 &0-&F 格式包含颜色代码(与 Essentials 类似)。
GIT 上的源代码位于
此插件使用了 Hidendra 的插件指标系统,这意味着会收集并发送以下信息到 mcstats.org:
- 唯一标识符
- 服务器的 Java 版本
- 服务器是在离线模式还是在线模式
- 插件的版本
- 服务器的版本
- 操作系统版本/名称和架构
- CPU 的核心数
- 在线玩家数量
- Metrics 版本
AngryWolves - Randomly spawn aggressive wolves, now with Hellhounds and Villager Werewolves!
This plugin offers the option to have some (or even all) wolves that spawn be already angry. In addition, angry wolves can be substituted for a portion of the normal monster spawns, but (optionally) only in appropriate biomes and on appropriate terrain. Both of these options can be enabled at the same time (or individually, as before), and individually configured. Wolves can also be configured to have loot drops.
A portion of angry wolf spawns can, optionally, be made to be Hellhounds! Hellhounds are flaming, fire-proof angry wolves - which mostly makes them look a whole lot cooler :). Unlike regular angry wolves, though, they can spawn in The Nether.
Settings are controlled at three tiers - global, world-specific and polygon-defined areas within specific worlds. In all cases, the settings of the more specific tier, if defined, override those of the higher tiers (area supersedes world, which supersedes global settings).
The settings file includes the following attributes:
- spawn-anger-rate - Percentage of normal wolf spawns that appear as angry wolves. Disabled if zero.
- mob-to-wolf-rate - Ten times the percentage of monster spawns (zombie,creeper,skeleton,spider) are replaced by angry wolves (e.g. 50 = 5%, 1000=100%). Disabled if zero.
- spawnmsg - optional message to broadcast to all players in world where an angry wolf has spawned, due to either method (limited to once per 60 seconds per world). Color codes can be included using &0-&F format (similar to Essentials).
- spawnmsgradius - optional parameter that, if set above zero, limits the sending of the 'spawnmsg' to players within the provided number of blocks of the spawn event
- creeper-to-wolf-rate, skeleton-to-wolf-rate, zombie-to-wolf-rate, spider-to-wolf-rate - when defined, these values override the mob-to-wolf-rate for the corresponding mob type (e.g. creeper-to-wolf-rate, if set, will define the rate (in tenths of a percent) of creeper spawns that are replaced with angry wolves)
- mobtowolf-ignore-terrain - when defined and set to 'true', this option removes the biome and terrain restriction on mob-to-wolf spawn replacements - angry wolves can replace spawns in any biome or terrain when this is set.
- wolf-loot-rate - when defined, this integer is the percentage chance that a dying wolf drops loot (default is 0)
- wolf-loot - when defined, this integer list is the set of one or more item IDs to be picked from randomly when determining a wolf's loot drop. Duplicate IDs are allowed, and makes the given item more likely to drop (default is [ 344 ], leather).
- pigzombie-to-wolf-rate - when defined, this value overrides the mob-to-wolf-rate for the pig-zombie spawns, and sets the rate (in tenths of a percent) that pig-zombies will spawn as angry wolves instead. Angry wolf spawns in The Nether are always Hellhounds.
- hellhound-rate - when defined, this value indicates the percentage of angry wolves that are Hellhounds (flaming, fire-proof angry wolves).
- wolf-xp - when defined, the number of experience orbs dropped for kills of normal wolves
- angry-wolf-xp - when defined, the number of experience orbs dropped for kills of angry wolves
- hellhound-xp - when defined, the number of experience orbs dropped for kills of hellhounds
- hellhound-fireball-rate - when defined and above 0, this is the number of seconds between fireballs hurled by hellhounds (default= 0, no fireballs)
- hellhound-fireball-range - when defined, range of hellhound fireballs
- hellhound-fireball-incendiary - when defined and set to true, hellhound fireballs can cause fires
- mob-to-wild-wolf-rate - when defined, rate at which monster mobs are replaced by normal (wild) wolves, in tenths of a percent (e.g. 100 = 10%).
- pup-on-sheep-kill-rate - when defined, rate at which wolf pups are spawned when a wolf eats a sheep (in percent)
- villager-werewolf-rate - decimal percentage of villagers that become Angry Wolves during the full moon (they return to normal at the end of the night) (new to 1.2)
- angrywolf-hunts-villagers - boolean that, if true, causes Angry Wolves to hunt villagers (like Zombies do) (new to 1.2)
In addition, you can configure a "full moon" night - one night out of every N (where N is the setting for the days-between-fullmoons attribute), 'anger-rate-fullmoon' percent of the untamed wolves will become angry. At the end of that night, all angry wolves (even ones angry before the night started) will revert to normal. The attribute for this include:
- days-between-fullmoons - if non-zero, the number of daytime periods between 'full moon' nights (e.g. 1 = every night, default is 8, setting to zero disables the feature). Note: unlike other attributes, this attribute can only be defined at the world and global level - no area-specific full moon cycles! Setting this to 8 will result in the lunar cycle matching the MC 1.0.0 lunar cycle.
- 'anger-rate-fullmoon' - the percentage of already-spawned wild wolves that turn angry at the start of the 'full moon' night (if zero, feature is disabled). Note: tamed wolves are unaffected.
- 'fullmoonmsg' - optional broadcast message sent at the start of each 'full moon' night. Color codes can be included using &0-&F format (similar to Essentials).
- 'fullmoon-mob-to-wolf-rate' - if set, this is the 'mob-to-wolf-rate' used during 'full moon' nights - choose to spawn more angry wolves during the full moon!
- 'fullmoon-stay-angry-rate' - if set, this is the percentage of angry wolves that stay angry at the end of a full moon night (default is 0%)
The "wolves in sheep's clothing" option is also available. Disabled by default, the option allows for a probability that a sheep, when damaged by a player, turns out to be an angry wolf in disguise. This feature is controlled with the following attributes:
- wolf-in-sheep-rate: chance that a sheep is an angry wolf in disguise (in tenths of a percent). Default is zero (disabled).
- wolf-in-sheep-msg: message sent to player that damaged the wolf-in-sheep's-clothing. Color codes can be included using &0-&F format (similar to Essentials).
The "wolf-friends" feature is also available. This is a Permissions based privilege that, when granted to a user, makes them not be attacked or targeted by angry wolves. This feature is controlled (globally, per-world, or per-area) with the following attribute:
- wolf-friends: if set to true, the 'angrywolves.wolf-friend' permission is enabled, and players with that permission will not be attacked or targetted by angry wolves. Note: if enabled on a per-area level, the location of the PLAYER determines if the friend permission will prevent attack.
Permissions 2.7.x or later has been tested. Without Permissions, Bukkit Permissions ('Superperms') will be used instead.
To install, simply copy the AngryWolves.jar to your plugin directory and start CraftBukkit normally. A sample configuration file, config.yml, will be created in the AngryWolves subdirectory.
Features:
- Multi-world support
- Global settings, per-world settings, and per-area settings
- Set percentage of wolves that spawn already angry (spawn-anger-rate > 0)
- Set percentage (x10) of monster spawns to replace with angry wolves (mob-to-wolf-rate > 0)
- When replacing monster spawns, will only do so in forest and tiaga biomes, and only when spawn is over grass terrain. mobtospawn-ignore-terrain can be used to disable this restriction.
- Optional world-level broadcast messages when an angry wolf is spawned
- Optional "full moon" nights - one night out of every N days-between-fullmoons, a settable fraction of all wild wolves go angry for the night, but return to normal in the morning.
- Optional "wolf-in-sheep's-clothing" - settable probability that a sheep damaged by a player turns out to be an angry wolf in disguise!
- Optional "wolf-friends" privilege - if enabled, players with the 'angrywolves.wolf-friend' privilege, via Permissions or GroupManager, will not be attacked or targetted by angry wolves.
- Optional spawn message radius, to limit which players are warned if an angry wolf spawns and a 'spawnmsg' has been defined.
- Option polygon-defined areas within each world that can have their own settings (defined as list of 2-D coordinates - 2 for rectangle, 3+ for polygon).
- Optional mob-type-specific mob-to-wolf rates, allowing the rate of mobs being replaced by angry wolves to be set for each mob type (spiders, skeletons, zombies, creepers - and pig-zombies)
- Optional loot drops from wolves - controlled rate (using wolf-loot-rate), and list of item IDs to be randomly picked from (using wolf-loot). Option for angry wolf specific loot and loot drops (using angry-wolf-loot-rate and angry-wolf-loot, respectively). Option for Hellhound specific loot and loot drops (using hellhound-loot-rate and hellhound-loot, respectively).
- Option for a settable percentage of angry wolves to be flaming Hellhounds (using hellhound-rate)
- Option to set different mob-to-wolf rate during full moons, using fullmoon-mob-to-wolf-rate setting (percentage x10, like mob-to-wolf-rate). Also, optional settable rate that angry wolves stay angry at end of full moon (in percent - default 0).
- angrywolf-health and hellhound-health settings, which control the initial health of these spawns - used to make them less wimpy than normal wild wolves!
- hellhound-damagescale - allows damage received by Hellhounds to be reduced (it is multiplied by this settings, so making it below 1.0 reduces damage).
- angrywolf-pop-limit - allows limit on total population of Angry Wolves and Hellhounds on your server (mob-to-spawn sidesteps the normal spawn population limits).
- Enable hellhounds to attack with fireballs (at settable range and rate) that do (or don't) cause fires
- Configure normal wolves, angry wolves, and hellhounds to drop experience orbs
- Add options to make normal wolves more common - mob-to-wild-wolf-rate (like mob-to-wolf-rate, but it causes normal 'wild' wolves), and pup-on-sheep-kill-rate (percent chance of getting a wolf puppy when a wolf eats a sheep)
- (new to 0.9.4) Color codes can be included using &0-&F format (similar to Essentials) in any custom message.
Source Code on GIT is
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
评论 0
登录后参与评分
还没有评论,来抢沙发吧