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

“BanItem”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(添加分类)
检查更新
(未显示5个用户的23个中间版本)
第3行: 第3行:
 
|版本=v2.8
 
|版本=v2.8
 
|前置插件=无
 
|前置插件=无
|兼容服务端版本=1.7.2
+
|兼容服务端版本=1.5.2-1.7.2
 
|網址=http://dev.bukkit.org/bukkit-plugins/banitem/
 
|網址=http://dev.bukkit.org/bukkit-plugins/banitem/
 
}}
 
}}
{{待翻译}}
+
{{#categorytree:插件分类|hideroot|mode=pages}}.
 +
{{待完善}}
 +
 
 
[[Category:安全]] [[Category:管理]] [[Category:修正]]
 
[[Category:安全]] [[Category:管理]] [[Category:修正]]
 
=概览=
 
=概览=
Having trouble with players using modded items like turtles, quarry,etc.? BanItem allows you to ban any item of your choice! Add it to the blacklist which will prevent players to use the item! This plugin is best use for Tekkit or other mod packs server as it can ban items that have bugs, items that can grief houses even though they are protected and also allow owners to unban some items for different ranks!
+
不想让玩家使用模组中的物品,如机器人,采石场?BanItem可以根据你的选择禁止任何物品!只需要将物品添加到黑名单中即可实现! 此插件可以在Tekkit或是其它模组服务器上运行,可以用于封禁含有BUG的物品、无视房屋保护机制的物品,服主也可以根据需要对物品进行不同程度的解禁!
  
PermissionEx is Recommended.
+
推荐使用[[PermissionEx]]插件进行权限管理。
  
All of the BanItem versions works on all modpacks!
+
本版本适用于所有模组!
  
 +
=命令=
 +
/BanItem clear <玩家>
  
 +
Check inventory for items that are banned.<ref>尚不知晓用法,请诸位协助完善。</ref>
  
  
 +
/BanItem add <理由>
  
=命令=
+
将你手中物品添加至黑名单。
''BanItem v2.7 update Commands
 
  
/banitem clear
 
/banitem clear <player>''
 
  
/BanItem add <reason>
+
/BanItem add all <理由>
  
Adding Item you wish to ban to the blacklist.
+
将你手中物品的ID所有附加值(":"后面的数字,可代表电量、耐久等)都加入到黑名单。
  
/BanItem add all <reason>
 
  
Adding Item (all durability) you wish to ban to the blacklist.
+
/BanItem del
 +
 
 +
将手中物品从黑名单中移出。
  
/BanItem del
 
  
Removing Item you wish to ban to the blacklist.
+
/BanItem check
  
Instruction for adding and deleting item from blacklist
+
查看手中物品的封禁状态。
  
Hold the item that you wish to ban or unban, and type the command.
 
  
/BanItem reload
+
/BanItem toggle conf
  
Reload BanItem Config
+
调整玩家与被封禁物品进行交互时 是否没收该封禁物品的设置。
  
/BanItem check
 
  
Checks is the item in your hand is banned or not.
+
/BanItem reload
  
/BanItem toggle conf
+
重载插件的配置<ref>此处是指配置文件还是该插件全部配置尚不明确,原文为config。</ref>。
  
toggle confiscate,
+
=权限节点=
 +
*Banitem.add
 +
*添加封禁物品的权限
 +
*Banitem.del
 +
*移除封禁物品的权限
 +
*BanItem.reload
 +
*重新载入封禁系统的权限
 +
*BanItem.check
 +
*检查手中物品被封禁的权限
 +
*BanItem.toggle
 +
*在玩家与封禁物品交互时中没收被封禁物品的权限
 +
*banitem.clear
 +
*检查物品栏中被封禁物品的权限
 +
*banitem.clear.player
 +
*检查某个玩家物品栏中被封禁物品的权限
 +
*Banitem.*
 +
*所有权限
  
=权限=
+
==无视封禁相关权限节点==
Banitem.add
+
*banitem.int.<物品ID>:<数据值>
Banitem.del
+
*banitem.break.<物品ID>:<数据值>
BanItem.reload
+
*banitem.place.<物品ID>:<数据值>
BanItem.check
+
*banitem.click.<物品ID>:<数据值>
BanItem.toggle
+
*banitem.pickup.<物品ID>:<数据值>
banitem.clear
+
*banitem.bypass.<物品ID>:<数据值>
banitem.clear.player
 
Banitem.*
 
==Bypass Perms==
 
  
banitem.int.<itemid>:<data>
+
===示例===
banitem.break.<itemid>:<data>
+
*banitem.bypass.35:* 可以使用全部羊毛即使被ban
banitem.place.<itemid>:<data>
+
*banitem.bypass.35:0 可以使用白色羊毛即使ban
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
+
*为用户/用户组添加权限.
 +
*显示被封禁物品的列表!
 +
*将手中所持物品添加至黑名单.
 +
*将黑名单中的物品删除(解禁).
 +
*clear,list和help命令可以在控制台使用.
 +
*使用命令清除黑名单.
 +
*支持带数据值的物品.
 +
*越权使用被封禁物品(需要对应权限). (例如,banitem.bypass.35:*或是banitem.bypass.35:6)
 +
*可以禁止拾起黑名单物品.
 +
*更高级的配置文件.
 +
*使用被封禁物品时显示封禁理由.
  
=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.
+
/banitem add <理由> (使用命令时需要手持待操作物品). 此方式最为简单.
===On config===
+
===通过配置文件===
  
Navigate to banitem folder in your plugins folder.
+
操作路径:/plugins/banitem/
Open config.yml.
+
*打开config.yml.
Look at 'default-config.yml' for reference of how to add ban item into the config.
+
*查看 'default-config.yml' 来参考配置文件格式.
After adding your list of ban items, just type /banitem reload on the server.(or if the server is off, just start it up)
+
*配置文件写完了保存之后请使用 "/banitem reload" 指令来重载配置文件. (如果服务器关了开服就行)
You're set!
+
完毕!
===Example for 3===
+
===三款实例===
 +
<ref>咳咳,作者这里的标题确实是3个实例的意思,卖萌?</ref>
 +
- '5:-1:木材太可怕' [ -1 即是代表所有数据值].
 +
- '35:6:不要触摸这块羊毛'.
 +
==检查更新==
 +
将"UpdateChecker"后的阀值修改为"false"即可禁用检查更新功能. 示例:
 +
UpdateChecker: false
  
- '5:-1:Wood is just awesome' [ -1 refers to all the numbers].
+
==安装插件==
- '35:6:No touching this wool'.
+
{{模板:安装插件}}
 +
<references />

2017年4月3日 (一) 16:55的版本

BanItem
外文名BanItem
插件类型Spigot / CraftBukkit
最新版本v2.8
兼容服务端1.5.2-1.7.2
前置插件
源地址http://dev.bukkit.org/bukkit-plugins/BanItem
付费
传送
信息
修正
其它
创世
娱乐
安全
整地
机械
管理
经济
综合
编程
网页
聊天
角色

.

Icon-info.png
本条目已有一定量的内容,但仍需完善

欢迎参与本条目的完善工作

你可以从以下几个方面入手

  • 参阅格式化手册,并对该页面进行相应格式排版工作;
  • 日常检查是否内容有更新版本并更新该页面;
  • 修复该页面中已出现/潜在的问题

概览

不想让玩家使用模组中的物品,如机器人,采石场?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" 指令来重载配置文件. (如果服务器关了开服就行)

完毕!

三款实例

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

检查更新

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

安装插件

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

  1. 尚不知晓用法,请诸位协助完善。
  2. 此处是指配置文件还是该插件全部配置尚不明确,原文为config。
  3. 咳咳,作者这里的标题确实是3个实例的意思,卖萌?