• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“PwnChickenLay”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“{{Bukkit Plugin Infobox |插件名=PwnChickenLay |图标= |版本= 1.7 |前置插件= |兼容服务端版本=1.9-1.13 |作者= tremor |網址= [https://www.spigotmc...”)
 
 
(未显示同一用户的2个中间版本)
第6行: 第6行:
 
|兼容服务端版本=1.9-1.13
 
|兼容服务端版本=1.9-1.13
 
|作者= tremor
 
|作者= tremor
|網址= [https://www.spigotmc.org/resources/ spigotmc]
+
|網址= [https://www.spigotmc.org/resources/pwnchickenlay.2086/ spigotmc]
 
}}
 
}}
 
 
[[Category:机械]]
 
[[Category:机械]]
Control what your chickens lay and how often! Want to block egg laying entirely? Want chickens to lay eggs and every so often, lay bricks instead? Want chickens to lay gunpowder instead of eggs? It's all up to you.
+
=== 介绍 ===
 
 
This plugin was originally designed to slow down or disable the rate at which Chickens lay their eggs, so your server's economy and food supply aren't overwhelmed by players exploiting that chicken farm. Pumpkin Pie and Cake will be worth something again, and chickens won't be running around rampantly taking over your server!
 
 
 
As of Version 0.6 - we've added some fun to PwnChickenLay! Instead of just controlling egg laying rates, you can replace eggs with other item drops! Replace eggs with AIR to make chickens lay nothing at all, or, maybe those chickens will lay golden eggs.. or diamonds? Imagine the possibilities.
 
 
 
=== Background ===
 
 
 
Per - http://www.minecraftwiki.net/wiki/Chicken_egg - "An Egg is a food item laid by Chickens every 5–10 minutes (it takes 40 minutes for 9 chickens to lay 50 eggs, so 7.2 minutes/egg)."
 
 
 
Now for simple math. Double chickens to 18, 50 eggs in 20 minutes. Double chickens to 36, 50 eggs in 10 minutes. 72 chickens, 50 eggs in 5 minutes. That's 10 eggs per minute or **1 egg every 6 seconds.**
 
 
 
This is very much an exploitable problem and PwnChickenLay aims to fix that for server owners.
 
 
 
=== Installation ===
 
Stop your server.
 
Place the PwnChickenLay.jar in your /plugins directory.
 
Start your server, note that the /plugins/PwnChickenLay/config.yml file has been created.
 
Stop your server.
 
Edit the /plugins/PwnChickenLay/config.yml to your liking.
 
Start your server.
 
**Note: It is important to always test ANY plugin you install prior to deploying it for production, you as a server admin, should always consider this to be Rule #1 of running a server. **
 
 
 
=== Configuration ===
 
Always check your configuration file against the most recent version when installing or updating ANY plugin. Changes in configurations can alter the way in which your server and plugins function.
 
In PwnChickenLay the primary configuration value is layChance. A layChance of 100 will ALWAYS lay chicken eggs. A layChance of 0 will always lay something from your replacement list.
 
=== Commands ===
 
/pwnlay reload - Reload the config.yml so that new changes update without a server restart.
 
/pwnlay save - Save the current config.yml (for future enhancement of in-game config edits).
 
=== Permissions ===
 
pwnlay.pwnlay - Permission to use the /pwnlay command.
 
=== To-do / Bugs ===
 
Stop the sound of eggs being laid even when none drop due to this plugin. (May not be possible without packet modification)
 
Edit config from in-game?
 
Allow chickens to drop items with enchantments and lore
 
=== Video ===
 
 
 
  
 +
想要控制鸡的产卵率和时间吗? 想要给鸡绝育吗? ? 想要鸡生拉出火药而不是鸡蛋吗?
  
=== Links & Info ===
+
这个插件就是用来降低或关闭鸡生蛋的, 这样就可以防止玩家制造鸡农场来快速地挣钱. 并且南瓜派和蛋糕将会更有价值, 你的服务器也不会遍地都是走地鸡!
  
* http://www.pwn9.com - Visit the Pwn9 Gaming Community, the place we call home. Check out our Minecraft servers, other game servers and fun gaming community.
+
=== 安装 ===
 +
* 关闭服务器.
 +
* 把 PwnChickenLay.jar 放到 /plugins 文件夹内.
 +
* 开启服务器,此时会在 /plugins/PwnChickenLay/config.yml 生成配置文件.
 +
* 编辑 /plugins/PwnChickenLay/config.yml 配置.
 +
* /pwnlay reload 重载配置.
 +
=== 配置 ===
 +
PwnChickenLay最首要的配置数值就是 layChance.  layChance 为 100 将会一直生蛋.  layChance 为 0 将会生你配置的列表内的物品.
 +
<spoiler>
 +
# 鸡生蛋的几率.
 +
# 100 = 经常下蛋.
 +
# 50 = 有一半几率下蛋,一半几率产出其他东西
 +
# 0 = 总是产出其他东西.
 +
layChance: 50
 +
 +
# 替代鸡蛋的物品, 将会在列表内随机选择一个.
 +
# 有效的物品名可以在这里找到: http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
 +
# AIR 可视为layChance: 0, 你可以看做鸡放了个屁.
 +
replaceWith:
 +
    CLAY_BRICK: 1
 +
    AIR: 10
 +
 
 +
# 启用的世界.
 +
# 不在列表内的世界的鸡不受插件影响.
 +
enabled_worlds:
 +
    - example_world
 +
    - example_world_nether
 +
 +
# 自定义分隔世界设置, 只需配置世界名, enabled:true, layChance 和 replaceWith 
 +
# enabled_worlds列表内的世界如果不在 perWorld 内, 就会使用默认配置.
 +
# 如果未启用(enabled:false)也就会关闭插件功能.
 +
perWorld:
 +
    example_world:
 +
        enabled: true
 +
        layChance: 50
 +
        replaceWith:
 +
            CLAY_BRICK: 1
 +
            _chicken_boots: 1
 +
            GOLD_INGOT: 1
 +
            AIR: 10
 +
        perBiome:
 +
            PLAINS:
 +
                enabled: true
 +
                layChance: 50
 +
                replaceWith:
 +
                    CLAY_BRICK: 1
 +
                    _chicken_boots: 1
 +
                    GOLD_INGOT: 1
 +
                    AIR: 10
 +
            TAIGA:
 +
                enabled: true
 +
                layChance: 50
 +
                replaceWith:
 +
                    CLAY_BRICK: 1
 +
                    _chicken_pants: 1
 +
                    GOLD_INGOT: 1
 +
                    AIR: 10
 +
            DESERT:
 +
                enabled: true
 +
                layChance: 50
 +
                replaceWith:
 +
                    CLAY_BRICK: 1
 +
                    _chicken_hat: 1
 +
                    GOLD_INGOT: 1
 +
                    AIR: 10
 +
            JUNGLE:
 +
                enabled: true
 +
                layChance: 50
 +
                replaceWith:
 +
                    CLAY_BRICK: 1
 +
                    _chicken_vest: 1
 +
                    GOLD_INGOT: 1
 +
                    AIR: 10                   
 +
# 特定物品掉落,  
 +
# "type" 必须是官方的类型名, 你可以添加附魔, 物品名, 数值,
 +
# 描述和颜色. 这一功能仍在测试中且可能会有问题
 +
# 小心使用! 你可以用下划线来连接指定的replaceWith内的物品如:
 +
# _mySpecialItemName
 +
special:
 +
    chicken_boots:
 +
        type: LEATHER_BOOTS
 +
        enchants:
 +
            PROTECTION_ENVIRONMENTAL: 1
 +
        name: "鸡鞋"
 +
        lore:
 +
            - "鸡神的馈赠"
 +
        color: 0x00FF00   
 +
    chicken_hat:
 +
        type: LEATHER_HELMET
 +
        enchants:
 +
            PROTECTION_ENVIRONMENTAL: 1
 +
        name: "鸡帽"
 +
        lore:
 +
            - "鸡神的馈赠"
 +
        color: 0x00FF00   
 +
    chicken_vest:
 +
        type: LEATHER_CHESTPLATE
 +
        enchants:
 +
            PROTECTION_ENVIRONMENTAL: 1
 +
        name: "鸡甲"
 +
        lore:
 +
            - "鸡神的馈赠"
 +
        color: 0x00FF00         
 +
    chicken_pants:
 +
        type: LEATHER_LEGGINGS
 +
        enchants:
 +
            PROTECTION_ENVIRONMENTAL: 1
 +
        name: "鸡腿"
 +
        lore:
 +
            - "鸡神的馈赠"
 +
        color: 0x00FF00         
 +
# 是否启用插件记录 (用于调试, 如果你没有遇到问题的话最好关闭)
 +
# 注意如果你的服务器有很多鸡那么记录的内容也会很多!
 +
debug_log: false
 +
   
 +
</spoiler>
 +
=== 指令 ===
 +
* /pwnlay reload - 重载配置而无需重启.
 +
* /pwnlay save - 保存当前的 config.yml (为未来更新的游戏内编辑配置的功能做铺垫).
 +
=== 权限 ===
 +
* pwnlay.pwnlay - 使用 /pwnlay 指令.
 +
=== 目标 ===
 +
* 当鸡生的不是蛋的时候不会播放生鸡蛋的有效. (没有数据包修改可能是不可能的)
 +
* 游戏内编辑配置?
 +
* 允许鸡生出神器
  
* Discord Channel: Join **#pwn9** with invite from http://discord.pwn9.com - feel free to ask plugins questions on the channel or just come hang out with us.
 
  
=== Plugin Metrics ===
 
  
This plugin utilizes bStats plugin metrics system, which means that some information is collected and sent to bstats.org.
 
  
If you don't want that your server sends data to bStats you can disable it by setting enabled to false in the bStats config file. The config can be found in the /plugins/bStats/config.yml file. bStats has nearly no effect on your server's performance and the sent data is completely anonymous so please consider twice if you really want to disable it.Control what your chickens lay and how often! Want to block egg laying entirely? Want chickens to lay eggs and every so often, lay bricks instead? Want chickens to lay gunpowder instead of eggs? It's all up to you.
 
  
This plugin was originally designed to slow down or disable the rate at which Chickens lay their eggs, so your server's economy and food supply aren't overwhelmed by players exploiting that chicken farm. Pumpkin Pie and Cake will be worth something again, and chickens won't be running around rampantly taking over your server!
+
=== 插件数据记录 ===
  
As of Version 0.6 - we've added some fun to PwnChickenLay! Instead of just controlling egg laying rates, you can replace eggs with other item drops! Replace eggs with AIR to make chickens lay nothing at all, or, maybe those chickens will lay golden eggs.. or diamonds? Imagine the possibilities.
+
这个插件使用 bStats 来收集数据并发送到 bstats.org.
  
=== Background ===
+
如果你不想要记录该插件数据,你可以在 bStats 配置内关闭. 位于/plugins/bStats/config.yml .bstats记录数据并不会影响你的服务器性能,所以请你关闭前三思.
  
Per - http://www.minecraftwiki.net/wiki/Chicken_egg - "An Egg is a food item laid by Chickens every 5–10 minutes (it takes 40 minutes for 9 chickens to lay 50 eggs, so 7.2 minutes/egg)."
 
 
Now for simple math. Double chickens to 18, 50 eggs in 20 minutes. Double chickens to 36, 50 eggs in 10 minutes. 72 chickens, 50 eggs in 5 minutes. That's 10 eggs per minute or **1 egg every 6 seconds.**
 
 
This is very much an exploitable problem and PwnChickenLay aims to fix that for server owners.
 
 
=== Installation ===
 
Stop your server.
 
Place the PwnChickenLay.jar in your /plugins directory.
 
Start your server, note that the /plugins/PwnChickenLay/config.yml file has been created.
 
Stop your server.
 
Edit the /plugins/PwnChickenLay/config.yml to your liking.
 
Start your server.
 
**Note: It is important to always test ANY plugin you install prior to deploying it for production, you as a server admin, should always consider this to be Rule #1 of running a server. **
 
 
=== Configuration ===
 
Always check your configuration file against the most recent version when installing or updating ANY plugin. Changes in configurations can alter the way in which your server and plugins function.
 
In PwnChickenLay the primary configuration value is layChance. A layChance of 100 will ALWAYS lay chicken eggs. A layChance of 0 will always lay something from your replacement list.
 
=== Commands ===
 
/pwnlay reload - Reload the config.yml so that new changes update without a server restart.
 
/pwnlay save - Save the current config.yml (for future enhancement of in-game config edits).
 
=== Permissions ===
 
pwnlay.pwnlay - Permission to use the /pwnlay command.
 
=== To-do / Bugs ===
 
Stop the sound of eggs being laid even when none drop due to this plugin. (May not be possible without packet modification)
 
Edit config from in-game?
 
Allow chickens to drop items with enchantments and lore
 
=== Video ===
 
 
 
 
=== Links & Info ===
 
 
* http://www.pwn9.com - Visit the Pwn9 Gaming Community, the place we call home. Check out our Minecraft servers, other game servers and fun gaming community.
 
 
* Discord Channel: Join **#pwn9** with invite from http://discord.pwn9.com - feel free to ask plugins questions on the channel or just come hang out with us.
 
 
=== Plugin Metrics ===
 
 
This plugin utilizes bStats plugin metrics system, which means that some information is collected and sent to bstats.org.
 
 
If you don't want that your server sends data to bStats you can disable it by setting enabled to false in the bStats config file. The config can be found in the /plugins/bStats/config.yml file. bStats has nearly no effect on your server's performance and the sent data is completely anonymous so please consider twice if you really want to disable it.
 
 
={{mCColor|&9|链接}}=
 
={{mCColor|&9|链接}}=
[[image:Github.jpg|250px|center|link=链接|Github源码]]<br />
 
  
[[image:Github2.png|250px|center|link=链接|Github源码]]
+
[[image:Github2.png|250px|center|link=https://github.com/Pwn9/PwnChickenLay|Github源码]]
 
----
 
----
  
[[image:Discord.jpg|250px|center|link=链接|Discord]]
+
[[image:Discord.jpg|250px|center|link=http://discord.pwn9.com/|Discord]]
  
 
----
 
----
[[image:Paypal.jpg|250px|center|link=链接|作者的paypal投喂链接]]
+
[[image:Paypal.jpg|250px|center|link=https://www.paypal.com/donate/?token=uvy_ilF9VVTwUqAQek8nSXnOjSifx9eyxs58QrK8D6NKDi_Xm4WSWXgiCRGS-gYLmOmNwW&country.x=US&locale.x=US|作者的paypal投喂链接]]
 +
 
 +
* http://www.pwn9.com - 插件作者之家.

2018年9月15日 (六) 23:42的最新版本

PwnChickenLay
外文名PwnChickenLay
作者tremor
插件类型Spigot / CraftBukkit
最新版本1.7
兼容服务端1.9-1.13
源地址http://dev.bukkit.org/bukkit-plugins/PwnChickenLay

介绍

想要控制鸡的产卵率和时间吗? 想要给鸡绝育吗? ? 想要鸡生拉出火药而不是鸡蛋吗?

这个插件就是用来降低或关闭鸡生蛋的, 这样就可以防止玩家制造鸡农场来快速地挣钱. 并且南瓜派和蛋糕将会更有价值, 你的服务器也不会遍地都是走地鸡!

安装

  • 关闭服务器.
  • 把 PwnChickenLay.jar 放到 /plugins 文件夹内.
  • 开启服务器,此时会在 /plugins/PwnChickenLay/config.yml 生成配置文件.
  • 编辑 /plugins/PwnChickenLay/config.yml 配置.
  • /pwnlay reload 重载配置.

配置

PwnChickenLay最首要的配置数值就是 layChance. layChance 为 100 将会一直生蛋. layChance 为 0 将会生你配置的列表内的物品.

# 鸡生蛋的几率.
# 100 = 经常下蛋.
# 50 = 有一半几率下蛋,一半几率产出其他东西
# 0 = 总是产出其他东西.
layChance: 50

# 替代鸡蛋的物品, 将会在列表内随机选择一个.
# 有效的物品名可以在这里找到: http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html
# AIR 可视为layChance: 0, 你可以看做鸡放了个屁.
replaceWith: 
    CLAY_BRICK: 1
    AIR: 10
  
# 启用的世界.
# 不在列表内的世界的鸡不受插件影响.
enabled_worlds:
    - example_world
    - example_world_nether

# 自定义分隔世界设置, 只需配置世界名, enabled:true, layChance 和 replaceWith  
# enabled_worlds列表内的世界如果不在 perWorld 内, 就会使用默认配置. 
# 如果未启用(enabled:false)也就会关闭插件功能.
perWorld:
    example_world:
        enabled: true
        layChance: 50
        replaceWith:
            CLAY_BRICK: 1
            _chicken_boots: 1
            GOLD_INGOT: 1
            AIR: 10
        perBiome:
            PLAINS:
                enabled: true
                layChance: 50
                replaceWith:
                    CLAY_BRICK: 1
                    _chicken_boots: 1
                    GOLD_INGOT: 1
                    AIR: 10
            TAIGA:
                enabled: true
                layChance: 50
                replaceWith:
                    CLAY_BRICK: 1
                    _chicken_pants: 1
                    GOLD_INGOT: 1
                    AIR: 10
            DESERT:
                enabled: true
                layChance: 50
                replaceWith:
                    CLAY_BRICK: 1
                    _chicken_hat: 1
                    GOLD_INGOT: 1
                    AIR: 10 
            JUNGLE:
                enabled: true
                layChance: 50
                replaceWith:
                    CLAY_BRICK: 1
                    _chicken_vest: 1
                    GOLD_INGOT: 1
                    AIR: 10                    
# 特定物品掉落, 
# "type" 必须是官方的类型名, 你可以添加附魔, 物品名, 数值, 
# 描述和颜色. 这一功能仍在测试中且可能会有问题
# 小心使用! 你可以用下划线来连接指定的replaceWith内的物品如:
# _mySpecialItemName
special:
    chicken_boots: 
        type: LEATHER_BOOTS
        enchants: 
            PROTECTION_ENVIRONMENTAL: 1
        name: "鸡鞋"
        lore: 
            - "鸡神的馈赠"
        color: 0x00FF00     
    chicken_hat: 
        type: LEATHER_HELMET
        enchants: 
            PROTECTION_ENVIRONMENTAL: 1
        name: "鸡帽"
        lore: 
            - "鸡神的馈赠"
        color: 0x00FF00     
    chicken_vest: 
        type: LEATHER_CHESTPLATE
        enchants: 
            PROTECTION_ENVIRONMENTAL: 1
        name: "鸡甲"
        lore: 
            - "鸡神的馈赠"
        color: 0x00FF00          
    chicken_pants: 
        type: LEATHER_LEGGINGS
        enchants: 
            PROTECTION_ENVIRONMENTAL: 1
        name: "鸡腿"
        lore: 
            - "鸡神的馈赠"
        color: 0x00FF00          
# 是否启用插件记录 (用于调试, 如果你没有遇到问题的话最好关闭)
# 注意如果你的服务器有很多鸡那么记录的内容也会很多!
debug_log: false
    

指令

  • /pwnlay reload - 重载配置而无需重启.
  • /pwnlay save - 保存当前的 config.yml (为未来更新的游戏内编辑配置的功能做铺垫).

权限

  • pwnlay.pwnlay - 使用 /pwnlay 指令.

目标

  • 当鸡生的不是蛋的时候不会播放生鸡蛋的有效. (没有数据包修改可能是不可能的)
  • 游戏内编辑配置?
  • 允许鸡生出神器



插件数据记录

这个插件使用 bStats 来收集数据并发送到 bstats.org.

如果你不想要记录该插件数据,你可以在 bStats 配置内关闭. 位于/plugins/bStats/config.yml .bstats记录数据并不会影响你的服务器性能,所以请你关闭前三思.

链接

Github源码

Discord

作者的paypal投喂链接