FriskStick
如遇问题,请使用工单系统!此外,在下载之前,请务必查看本页的重要信息部分!
由 TaylaGang 请求制作 -
注意:dchaosknight 再次出现,各位玩家!在我回归之际,先别急着兴奋,也别抱太大希望。目前还无法确定这是否意味着我会全面恢复对该插件的维护;现在下结论还为时过早。我只能希望这次我不会失去动力,但这仅仅是一种期望。我唯一能说的是:我很高兴能再次更新这个插件,也希望你们同样感到高兴。祝搜身愉快!
这款高度可配置的插件允许你搜索玩家身上是否有毒品及其他违禁品,具体物品可在配置文件中自定义。它还实现了其他功能,例如“殴打模式”,允许“警察”在玩家不配合时使用暴力手段以完成任务。
功能特性
- 手持木棍右键点击或攻击玩家即可对其搜身!不过请勿滥用:如果搜身未发现毒品,你将受到伤害!
- 当你搜身时,他们背包中的毒品将被取出并由你没收!
- 自动关押玩家!(需要 Essentials 插件支持)
- 举报其他玩家的毒品行为!
- 追捕正在逃跑的玩家!
搜身机制说明
搜身功能依赖于权限,你可以在下方找到相关权限列表。搜身操作非常简单:手持木棍右键点击玩家或对其挥击(具体操作可在配置文件中自定义)。执行该操作后,你将开始对目标进行搜身,持续一定时间(也可在配置中调整)。在此期间,被搜身的玩家可以选择不逃跑或尝试逃跑。如果对方选择留下,你会立即完成搜身,将其持有的违禁品全部没收并收入你的背包。如果启用了自动监禁功能(注意:需要安装 Essentials 插件才能生效),该玩家还会被直接关押。然而,如果目标身上没有任何违禁品,你反而会因误判而受到伤害。如果玩家选择逃跑,他们将进入一种称为“追击模式”的状态,被视为“在逃”。在此模式下,右键点击无效,你只能对其进行攻击。当他们的生命值降低到一定程度时(无论是因坠落还是被你击中),他们将无力继续逃跑,此时你就可以对他们实施搜身和关押。
配置文件
本插件的配置文件参考文档请点击此处查看。
命令列表
本插件的命令列表请点击此处查看。
权限列表
本插件的权限列表请点击此处查看。
源代码
你可以在 GitHub 上查看源代码。
更新日志
1.0 Beta
- 从头重写插件代码,旨在使代码结构更清晰、更易读
- 新增追击模式
- 移除了通过命令进行搜身的功能
- 修复了所有目前报告的 Bug(凭记忆):
- 修复了改名物品导致的重复生成漏洞
- 修复了自动监禁的问题
- 修复了搜身时的物品栏问题(物品有时不会出现在警察的背包中)
- 修复了搜身时出现的内部错误
- 增加了更多权限节点
- 增加了更多配置选项
- 将配置文件中定义违禁品的方式从基于 ID 改为基于名称
- 新增了一些命令
- 更新至 Minecraft 1.7.9 版本
点击此处查看完整变更日志。
重要信息
- 如果您恰好是从旧版本升级到 1.0 Beta,请在使用此插件之前删除旧的配置文件!
- 此插件目前使用 Plugin Metrics 进行统计数据收集。Plugin Metrics 会收集有关您服务器的以下信息:plugins/Plugin-Metrics/config.yml 中的内容、当前在线玩家数量、您运行的服务器版本、您运行的 FriskStick 版本以及 Mineshafter 状态。它会将大部分这些信息(不包括 Mineshafter 状态)连同正在运行的 Plugin Metrics 版本、服务器 GUID(这是 Plugin Metrics 用来标识服务器的 IP 地址替代方案),以及与 FriskStick 关联的任何自定义数据发送到 mcstats.org,这些数据将公开供所有人查看。如果您希望排除您的服务器免于此类数据收集,请转到 plugins/Plugin-Metrics 目录并将 config.yml 中的 opt-out 设置为 true。

FriskStick
Please, use the ticket system for issues! In addition, make sure to check the Important Information section of this page before downloading!
Requested by TaylaGang-
NOTE: dchaosknight here again, everyone! Before you get excited about my return, don't get your hopes up just yet. I can't say if this is a full-fledged return to maintaining this plugin; it's too early to tell. I can only hope that I won't lose motivation this time around, but that's all it is: a hope. All I can say is this: I'm glad to be updating this plugin again, and I hope you all are, too. Happy frisking!
This highly-configurable plugin will allow you to search people for drugs and other contraband, able to be defined in the config. It also implements other features such as a "beatdown mode", which allows "cops" to beat other players if they don't comply in order to get the job done.
Features
- Right click on or hit a player while holding a stick to frisk them! Don't abuse it, though: with each frisking that they don't have drugs on them, you'll take damage!
- When you frisk them, the drugs that were in their inventory will be taken out and confiscated by you!
- Auto-jail players! (Requires Essentials to work)
- Report other players for drugs!
- Chase players down when they're on the run!
How Frisking Works
The ability to frisk someone relies upon permissions, of which you can find a list below. Frisking is pretty simple: right click or hit the player with a stick in your hand (configurable). Once you've done that, you will attempt to frisk them for a certain amount of time (also configurable), during which the player you are frisking can either run or stay put. If they stay, they will immediately be frisked, taking any drugs in their possession away from them and giving them to you. If the config allows for auto-jailing, the player will also be jailed (NOTE: Requires Essentials to work). If they don't have any drugs, however, you will be punished by taking damage. If the player chooses to run, they will enter a mode called "beatdown mode" and be considered to be "on the run". In this mode, right clicking them won't work; you can only hit them. Once they lose enough health, be it by falling or by you hitting them, they will be too weak to carry on, allowing you to frisk and jail them.
Config
The config reference for this plugin can be found here.
Commands
The command list for this plugin can be found here.
Permissions
The permission list for this plugin can be found here.
Source Code
You can see the source code on GitHub.
What's New?
1.0 Beta
- Rewrote plugin from scratch in an effort to make the code more organized and legible
- Added beatdown mode
- Removed ability to frisk by command
- Fixed every bug currently reported, if memory serves:
- Fixed duplication glitch with renamed items
- Fixed auto-jailing issue
- Fixed frisking inventory issue (the items didn't always appear in the cop's inventory)
- Fixed internal error when frisking
- Added more permissions
- Added more config options
- Switched from an id-based to a name-based system for defining drugs in the config
- Added a few new commands
- Updated to 1.7.9
Click here for the full change log.
Important Information
- If you happen to be updating from an older version to 1.0 Beta, delete the old config file before using this plugin!
- This plugin currently utilizes Plugin Metrics for stat collection. Plugin Metrics collects information concerning the following things about your server: the contents of plugins/Plugin-Metrics/config.yml, the number of players currently online, the version of the server you're running, the version of FriskStick you're running, and the Mineshafter status of your server. It will send most of this information (excluding the Mineshafter status) along with the version of Plugin Metrics being run, the GUID of the server (which is what Plugin Metrics uses to identify servers in place of IPs), and any custom data associated with FriskStick to mcstats.org, where it will be made publicly available for everyone to see. If you wish to exclude your server from this data collection, go to your plugins/Plugin-Metrics directory and set opt-out in the config.yml to true.
- In addition to using Plugin Metrics, FriskStick also uses CurseForge's API to detect available updates on the BukkitDev website. If you wish for the plugin to not make the internet connection necessary to check this, set enable-update-checking in plugins/FriskStick/config.yml to false.
- The auto-jailing feature is dependent on Essentials to work. If Essentials is not installed on your server, the plugin will still load, but the auto-jailing functionality will be missing regardless of the settings in the config.
- If you are installing Beta 1.0 and FriskStick was not previously installed, go into your plugins directory and create a folder titled FriskStick. If you fail to do this, the plugin will crash upon starting. This bug is due to an oversight during testing, as the folder was already present on the test server. It will be fixed in the next release, but until then, I apologize for the inconvenience.

下载 FriskStick
下载 FriskStick
下载 FriskStick
下载 FriskStick
下载 FriskStick
下载 FriskStick
下载 FriskStick
下载 FriskStick
下载 FriskStick
- 从头重写插件代码,以使代码更易于组织和阅读
- 添加了“压制模式”(beatdown mode)
- 移除了通过命令进行搜身的能力
- 修复了目前报告的所有已知问题(如果记忆无误):
- 修复了改名物品导致的复制漏洞
- 修复了自动入狱的问题
- 修复了搜身时物品不总是出现在警察背包中的问题
- 修复了搜身时的内部错误
- 增加了更多权限设置
- 增加了更多配置选项
- 新增了一些命令
- 更新到 1.7.9
如果您是从旧版本(alpha 构建版)升级,请务必先删除旧的配置文件!
如果您遇到任何错误/问题/建议,请提交工单至 GitHub 页面。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧