插件介绍
赋予拥有权限的玩家生成泰瑟枪的能力。
When entering the chat command the named player or if no name given yourself is granted an item named as Taser. This item can normally be dropped and will function as Taser for everyone else. This is the main difference to the Taser, where it depends on permission and ammo type rather then a chat command.The taser has one charge. After using that charge the taser needs a specific amount of time to recharge. If a player in range is hit by the taser he immediatly gets into the wounded state and will get back up again after a specific amount of time or when another player helps him in the normal way. Unless the taser damage is changed to something > 0, the taser is unable to kill a player. If the player doesn't have the permission to use the taser he won't fire the taser, but will receive a specified amount of damage. If everyone should have the permission to use the taser you may add the permission to the default group like oxide.grant group default electrictaser.usetaser.
This will give the specified player a taser or if no playername was given yourself.
This will give the specified player a taser or if no playername was given yourself.
This will remove all currently existing tasers from the server.
主要用途
主要用于taser、gun、roleplay、weapon等服务端功能。 本插件由 ZockiRR 发布,当前目录记录版本为 v2.0.5,uMod 累计下载 7,945 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Gives players with permissions the ability to spawn a taser.
权限节点
electrictaser.givetaser
Allows the use of the givetaser/givetazer commands
electrictaser.removealltasers
Allows the use of the removealltasers/removealltazers commands
electrictaser.tasenpc
Allows the player to tase NPCs, which are player like (for example Scientists)
electrictaser.usetaser
Allows the player to use the taser in general
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
This will give the specified player a taser or if no playername was given yourself.
/givetaser [optional:playername] Example: /givetaser ZockiRR
playername - The player who will get the taser (default: yourself)
/givetazer [optional:playername] Example: /givetazer ZockiRR
This will remove all currently existing tasers from the server.
/removealltasers Example: /removealltasers
/removealltazers Example: /removealltazers
配置说明
{ // Time in seconds which the taser needs to charge for the next use "TaserCooldown": 5.0, // Distance in which the taser is effective (downs a player) "TaserDistance": 8.0, // The duration in seconds which the player is wounded when hit, before he stands up again "TaserShockDuration": 20.0, // The electrical damage which the taser deals on hit (before armor reduction) "TaserDamage": 0.0, // The electrical damage which the player receives without having use permission (before armor reduction) "NoUsePermissionDamage": 20.0, // This will kill NPCs instantly when tased instead of wounding them "InstantKillsNPCs": false, // This locks tased NPCs belt inventory (only when in wounded state) "NPCBeltLocked": true, // This locks tased NPCs wear inventory (only when in wounded state) "NPCWearLocked": true, // These are the used assets from the game and should not be changed unless not working anymore "ItemNailgun": "pistol.nailgun", "PrefabScream": "assets/bundled/prefabs/fx/player/gutshot_scream.prefab", "PrefabShock": "assets/prefabs/locks/keypad/effects/lock.code.shock.prefab" }
官方配置示例
/givetaser [optional:playername]
Example: /givetaser ZockiRR
/givetazer [optional:playername]
Example: /givetazer ZockiRR
更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。