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

“BanItem”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
命令: 翻译
命令
 
(未显示8个用户的27个中间版本)
第1行: 第1行:
 
{{Bukkit Plugin Infobox
 
{{Bukkit Plugin Infobox
|插件名=BanItem
+
|外文名    = BanItem
|版本=v2.8
+
|作者      = _ForgeUser9327440
|前置插件=
+
|最新版本  = 2.8
|兼容服务端版本=1.7.2
+
|兼容服务端 = 1.5.2-1.7.2
|網址=http://dev.bukkit.org/bukkit-plugins/banitem/
+
|前置插件  = 无
 +
|源地址    = https://dev.bukkit.org/projects/banitem
 
}}
 
}}
{{待翻译}}
 
[[Category:安全]] [[Category:管理]] [[Category:修正]]
 
=概览=
 
不想让玩家使用模组中的物品,就像海龟, 采石场<ref>应是某些MOD中的物品,原文中名称为turtles,quarry</ref>这种? BanItem可以根据你的选择禁止任何物品!只需要将物品添加到黑名单中即可实现! 此插件可以在Tekkit或是其它模组服务器上运行,用于封禁含有bug的物品、无视房屋保护机制的物品,服主也可以根据需要对物品进行不同程度的解禁!
 
  
推荐使用[[PermissionEx]]
+
'''BanItem'''是一款由_ForgeUser9327440开发的用于禁止特定物品的Bukkit插件。
  
全版本适用于所有模组!
+
== 介绍 ==
 +
不想让玩家使用模组中的物品,如机器人,采石场?BanItem可以根据你的选择禁止任何物品!只需要将物品添加到黑名单中即可实现! 此插件可以在Tekkit或是其它模组服务器上运行,可以用于封禁含有BUG的物品、无视房屋保护机制的物品,服主也可以根据需要对物品进行不同程度的解禁!
  
=命令=
+
推荐使用[[PermissionEx]]插件进行权限管理。
''BanItem v2.7 新增命令
 
  
/banitem clear
+
本版本适用于所有模组!
  
/banitem clear <player>''
+
== 命令 ==
 +
{| class="wikitable"
 +
|-
 +
! 命令
 +
! 介绍
 +
|-
 +
|/BanItem clear <玩家>
 +
|Check inventory for items that are banned.<ref>尚不知晓用法,请诸位协助完善。(翻译:检查物品栏中是否有违禁的物品。)</ref>
 +
|-
 +
|/BanItem add <理由>
 +
|将你手中物品添加至黑名单。
 +
|-
 +
|/BanItem add all <理由>
 +
|将你手中物品的ID所有附加值(":"后面的数字,可代表电量、耐久等)都加入到黑名单。
 +
|-
 +
|/BanItem del
 +
|将手中物品从黑名单中移出。
 +
|-
 +
|/BanItem check
 +
|查看手中物品的封禁状态。
 +
|-
 +
|/BanItem toggle conf
 +
|调整玩家与被封禁物品进行交互时 是否没收该封禁物品的设置。
 +
|-
 +
|/BanItem reload
 +
|重载插件的配置。<ref>此处是指配置文件还是该插件全部配置尚不明确,原文为config。</ref>
 +
|}
  
/BanItem add <reason>
+
== 权限节点 ==
 +
{| class="wikitable"
 +
|-
 +
! 权限
 +
! 介绍
 +
|-
 +
|Banitem.add
 +
|添加封禁物品的权限
 +
|-
 +
|Banitem.del
 +
|移除封禁物品的权限
 +
|-
 +
|BanItem.reload
 +
|重新载入封禁系统的权限
 +
|-
 +
|BanItem.check
 +
|检查手中物品被封禁的权限
 +
|-
 +
|BanItem.toggle
 +
|在玩家与封禁物品交互时中没收被封禁物品的权限
 +
|-
 +
|banitem.clear
 +
|检查物品栏中被封禁物品的权限
 +
|-
 +
|banitem.clear.player
 +
|检查某个玩家物品栏中被封禁物品的权限
 +
|-
 +
|Banitem.*
 +
|所有权限
 +
|}
  
将物品添加至黑名单.
+
=== 无视封禁相关权限节点 ===
 +
* banitem.int.<物品ID>:<数据值>
 +
* banitem.break.<物品ID>:<数据值>
 +
* banitem.place.<物品ID>:<数据值>
 +
* banitem.click.<物品ID>:<数据值>
 +
* banitem.pickup.<物品ID>:<数据值>
 +
* banitem.bypass.<物品ID>:<数据值>
  
/BanItem add all <reason>
+
==== 示例 ====
 +
* banitem.bypass.35:* 可以使用全部羊毛即使被ban
 +
* banitem.bypass.35:0 可以使用白色羊毛即使ban
  
Adding Item (all durability) you wish to ban to the blacklist.<ref>作用不明</ref>
+
== 功能 ==
 +
* 为用户/用户组添加权限
 +
* 显示被封禁物品的列表
 +
* 将手中所持物品添加至黑名单
 +
* 将黑名单中的物品删除(解禁)
 +
* clear,list和help命令可以在控制台使用
 +
* 使用命令清除黑名单
 +
* 支持带数据值的物品
 +
* 越权使用被封禁物品(需要对应权限)(例如banitem.bypass.35:*或是banitem.bypass.35:6)
 +
* 可以禁止拾起黑名单物品
 +
* 更高级的配置文件
 +
* 使用被封禁物品时显示封禁理由
  
/BanItem del
+
== 教程 ==
 +
=== 往黑名单中添加物品 ===
 +
==== 游戏内指令 ====
 +
/banitem add <理由>。使用命令时需要手持待操作物品。此方式最为简单。
  
将物品从黑名单中移出.
+
==== 通过配置文件 ====
 +
操作路径:/plugins/banitem/
 +
* 打开config.yml
 +
* 查看'default-config.yml'来参考配置文件格式
 +
* 配置文件写完了保存之后,请使用"/banitem reload"指令来重载配置文件。如果服务器关了重新开服就行。
  
'''用法说明''' 添加或移出黑名单中的物品时
+
完毕!
  
手中拿着需要进行操作的物品并输入命令.
+
==== 三款实例 ====
 +
* '5:-1:木材太可怕' [ -1 即是代表所有数据值]
 +
* '35:6:不要触摸这块羊毛'
 +
<ref>咳咳,作者这里的标题确实是3个实例的意思,卖萌?</ref>
  
/BanItem reload
+
== 检查更新 ==
 +
将"UpdateChecker"后的阀值修改为"false"即可禁用检查更新功能。示例:UpdateChecker: false
  
重载插件的配置<ref>此处是指配置文件还是该插件全部配置尚不明确,原文为config</ref>.
+
== 安装插件 ==
 +
{{模板:安装插件}}
  
/BanItem check
+
== 注释 ==
 
+
<references />
查看当前物品的封禁状态.
 
 
 
/BanItem toggle conf
 
  
toggle confiscate,<ref>原文中此处似未输入完整句子?作用不明</ref>
+
[[分类:安全]] [[分类:管理]] [[分类:修正]]
 
 
=权限=
 
Banitem.add
 
Banitem.del
 
BanItem.reload
 
BanItem.check
 
BanItem.toggle
 
banitem.clear
 
banitem.clear.player
 
Banitem.*
 
==Bypass Perms==
 
 
 
banitem.int.<itemid>:<data>
 
banitem.break.<itemid>:<data>
 
banitem.place.<itemid>:<data>
 
banitem.click.<itemid>:<data>
 
banitem.pickup.<itemid>:<data>
 
banitem.bypass.<itemid>:<data>
 
==Example of Bypass Perms==
 
 
 
banitem.bypass.35:* Bypass all colored wool if banned
 
banitem.bypass.35:0 Bypass white colored wool if banned
 
 
 
=Features=
 
Adding permission for groups/players
 
Shows list of Items!
 
Add Item on your hand to the blacklist
 
Delete Item that are blacklisted
 
Console Commands for clear,list and help.
 
Player command Clear blacklist
 
Blacklisting items that have different itemdata. (for example, 35:3, 35:7)
 
bypassing banned items with permission. (for example, banitem.bypass.35:* or banitem.bypass.35:6)
 
added blacklisted item pickup
 
more Advanced Config file
 
Shows reason when its banned.
 
=Tutorial=
 
==Update Check==
 
just disable the update check by putting 'false' on 'UpdateChecker'. Example:
 
UpdateChecker: false
 
==Installing plugin==
 
Download the plugin, install it on the server by unzipping the zip file and then move banitem.jar file into your plugins folder.
 
Restart the server .
 
==Adding ban item to ban list==
 
 
 
===In game===
 
 
 
/banitem add <reason> ( use this command when you're holding the item u wish to ban ). This is the most simplest way to add the item you wish to ban in the list.
 
===On config===
 
 
 
Navigate to banitem folder in your plugins folder.
 
Open config.yml.
 
Look at 'default-config.yml' for reference of how to add ban item into the config.
 
After adding your list of ban items, just type /banitem reload on the server.(or if the server is off, just start it up)
 
You're set!
 
===Example for 3===
 
 
 
- '5:-1:Wood is just awesome' [ -1 refers to all the numbers].
 
- '35:6:No touching this wool'.
 
 
 
<references />
 

2022年1月31日 (一) 08:36的最新版本

BanItem
外文名BanItem
作者_ForgeUser9327440
插件类型Spigot / CraftBukkit
最新版本2.8
兼容服务端1.5.2-1.7.2
前置插件
源地址https://dev.bukkit.org/projects/banitem

BanItem是一款由_ForgeUser9327440开发的用于禁止特定物品的Bukkit插件。

介绍

不想让玩家使用模组中的物品,如机器人,采石场?BanItem可以根据你的选择禁止任何物品!只需要将物品添加到黑名单中即可实现! 此插件可以在Tekkit或是其它模组服务器上运行,可以用于封禁含有BUG的物品、无视房屋保护机制的物品,服主也可以根据需要对物品进行不同程度的解禁!

推荐使用PermissionEx插件进行权限管理。

本版本适用于所有模组!

命令

命令 介绍
/BanItem clear <玩家> Check inventory for items that are banned.[1]
/BanItem add <理由> 将你手中物品添加至黑名单。
/BanItem add all <理由> 将你手中物品的ID所有附加值(":"后面的数字,可代表电量、耐久等)都加入到黑名单。
/BanItem del 将手中物品从黑名单中移出。
/BanItem check 查看手中物品的封禁状态。
/BanItem toggle conf 调整玩家与被封禁物品进行交互时 是否没收该封禁物品的设置。
/BanItem reload 重载插件的配置。[2]

权限节点

权限 介绍
Banitem.add 添加封禁物品的权限
Banitem.del 移除封禁物品的权限
BanItem.reload 重新载入封禁系统的权限
BanItem.check 检查手中物品被封禁的权限
BanItem.toggle 在玩家与封禁物品交互时中没收被封禁物品的权限
banitem.clear 检查物品栏中被封禁物品的权限
banitem.clear.player 检查某个玩家物品栏中被封禁物品的权限
Banitem.* 所有权限

无视封禁相关权限节点

  • banitem.int.<物品ID>:<数据值>
  • banitem.break.<物品ID>:<数据值>
  • banitem.place.<物品ID>:<数据值>
  • banitem.click.<物品ID>:<数据值>
  • banitem.pickup.<物品ID>:<数据值>
  • banitem.bypass.<物品ID>:<数据值>

示例

  • banitem.bypass.35:* 可以使用全部羊毛即使被ban
  • banitem.bypass.35:0 可以使用白色羊毛即使ban

功能

  • 为用户/用户组添加权限
  • 显示被封禁物品的列表
  • 将手中所持物品添加至黑名单
  • 将黑名单中的物品删除(解禁)
  • clear,list和help命令可以在控制台使用
  • 使用命令清除黑名单
  • 支持带数据值的物品
  • 越权使用被封禁物品(需要对应权限)(例如banitem.bypass.35:*或是banitem.bypass.35:6)
  • 可以禁止拾起黑名单物品
  • 更高级的配置文件
  • 使用被封禁物品时显示封禁理由

教程

往黑名单中添加物品

游戏内指令

/banitem add <理由>。使用命令时需要手持待操作物品。此方式最为简单。

通过配置文件

操作路径:/plugins/banitem/

  • 打开config.yml
  • 查看'default-config.yml'来参考配置文件格式
  • 配置文件写完了保存之后,请使用"/banitem reload"指令来重载配置文件。如果服务器关了重新开服就行。

完毕!

三款实例

  • '5:-1:木材太可怕' [ -1 即是代表所有数据值]
  • '35:6:不要触摸这块羊毛'

[3]

检查更新

将"UpdateChecker"后的阀值修改为"false"即可禁用检查更新功能。示例:UpdateChecker: false

安装插件

下载插件,解压zip文件并将banitem.jar拖入plugins文件夹.

注释

  1. 尚不知晓用法,请诸位协助完善。(翻译:检查物品栏中是否有违禁的物品。)
  2. 此处是指配置文件还是该插件全部配置尚不明确,原文为config。
  3. 咳咳,作者这里的标题确实是3个实例的意思,卖萌?