烟雾弹是服务器的一项有趣添加。当你用烟雾弹击中玩家时,他们会获得几秒的恶心和失明效果。默认持续时间为 60 tick(即 3 秒)。这可以在配置文件中修改(20 tick = 1 秒)。效果强度为 III,但你也可以在配置文件中更改该值。此插件适用于 PvP 服务器或 KitPvP 服务器,你可以利用这些炸弹快速逃脱!然而,3 格范围内的玩家(包括你自己)也会受到影响,因此请确保从远处投掷!代码轻量,完全不会导致服务器卡顿!此外,无需担心任何命令。在配置选项时,请保存选项并重新加载服务器以使更改生效。如果当前配置文件不完整或缺失,将生成默认配置文件。
合成配方:
你需要先合成烟雾弹。这是一个无形状配方,需要 4 个投射物、4 个煤炭和 1 个 TNT。目前,只有鸡蛋、雪球和末影珍珠可以合成为烟雾弹。(末影珍珠不能立即用于合成,因为你必须在权限中启用它!)
以下是鸡蛋的合成配方:
以下是雪球的合成配方:
配置:
效果:
恶心:
持续时间:60
强度:3
失明:
持续时间:60
强度:3
启用类型:
鸡蛋:true
雪球:true
末影珍珠:false
你可以随意更改这些值,但请记住,效果的持续时间必须以 tick 为单位(20 tick = 1 秒)。此外,这些值必须是整数,插件才能正常工作。对于可制成烟雾弹的启用类型,你可以根据需要将其值更改为 true 或 false。启用类型的配置值仅允许创建烟雾弹的合成配方。为了让玩家能够使用它们,还需要通过权限节点进行授权。请记住,首次运行带有此插件的服务器后,才会生成配置文件。
权限节点:
smokebombs.useeggbombs - 允许你将鸡蛋用作烟雾弹。(默认开启)
smokebombs.usesnowbombs - 允许你将雪球用作烟雾弹。(默认开启)
smokebombs.useenderbombs - 允许你将末影珍珠用作烟雾弹。(默认关闭)
命令:
无
版本记录:
6/23/14 - Smoke bombs 1.4 - 改进了系统并修复了药水效果持续时间的问题。
6/21/14 - Smoke Bombs 1.3 - 现在有了烟雾弹的合成配方。你也可以使用雪球制作烟雾弹。
8/22/13 - Smoke Bombs 1.2 - 因请求而添加。使用烟雾弹的权限默认关闭。如果你不特别需要此功能,请使用其他 1.2 版本。
8/20/13 - Smoke Bombs 1.2 - 1.6.2 CB Beta (使其在击中方块和玩家时都能激活。)
8/10/13 - Smoke Bombs 1.1 - 1.6.2 CB Beta
8/10/13 - Smoke Bombs 1.0 - 1.6.2 CB Beta
Smoke bombs are a fun addition to your server. Whenever you hit a player with a smoke bomb, it gives them nausea and blindness for a few seconds. The default is 60 ticks which is 3 seconds. This can be changed in the configuration file (20 ticks = 1 second). The strength of the effects is III but you can also change that in the configuration file too. This plugin is useful for PvP servers or KitPvP servers where you can use the bombs to make a quick escape! However, players within 3 blocks (even you) are also affected so make sure to throw them from afar! The code is lightweight so it won't lag your sever at all! There are also no commands you need to worry about. When configuring your options, make sure to save the options and then reload your server for the changes to take effect. The default config file will appear if you leave the current one incomplete or missing.
Recipe:
You need to craft the smoke bombs first. It's a shapeless recipe including 4 of the projectile, 4 coal, and 1 TnT. Right now, the only projectiles that can be crafted into smoke bombs are eggs, snowballs, and enderpearls. (Enderpearls can't be used in crafting right away because you have to enable it in the permissions!)
Here is the egg recipe:
Here is the snowball recipe:
Configuration:
Effect:
Nausea:
Length: 60
Amplitude: 3
Blindness:
Length: 60
Amplitude: 3
EnabledTypes:
Egg: true
Snowballs: true
Enderpearls: false
Change the values as much as you want but remember that the length of the effects needs to be in ticks (20 ticks = 1 second). Also, these values need to be integers for the plugin to work. For the enabled types that can be made into smokebombs, you can change the values to true or false if you want them enabled or not. The config values for the enabled types only allows the recipes for the smoke bombs to be created. In order for players to use them, the permission nodes also have to allow it. Remember that the config file appears after you run your server with this plugin for the first time.
Permission Nodes:
smokebombs.useeggbombs - Allows you to use eggs as smokebombs. (On by default)
smokebombs.usesnowbombs - Allows you to use snowballs as smokebombs. (On by default)
smokebombs.useenderbombs - Allows you to use enderpearls as smokebombs. (Off by default)
Commands:
None
Versions:
6/23/14 - Smoke bombs 1.4 - Improved the system and fixed the potion effect length.
6/21/14 - Smoke Bombs 1.3 - There is a recipe now for the smoke bombs. You can also use snowballs to make smoke bombs.
8/22/13 - Smoke Bombs 1.2 - Added because of a request. Permission to use smoke bombs is off by default. Use the other 1.2 version if you don't specifically want this.
8/20/13 - Smoke Bombs 1.2 - 1.6.2 CB Beta (Made it so that smoke bombs also activate when they hit blocks as well as players.)
8/10/13 - Smoke Bombs 1.1 - 1.6.2 CB Beta
8/10/13 - Smoke Bombs 1.0 - 1.6.2 CB Beta
评论 0
登录后参与评分
还没有评论,来抢沙发吧