[更新!!!]
经过一年的传感器休眠状态,现在向您呈现 Sensors 2.0.0(发布于 2013 年 9 月 7 日)
描述:
Sensors 是一个 Bukkit 插件,支持创建和管理 3 种类型的传感器:
- 线型(line)——类似激光束,检测穿过它的实体
- 区域型(area)——检测圆柱形区域内的实体
- 物体型(object)——获取指定物体的状态(如箱子、压力板、按钮、拉杆等),并向所有者通知对其的操作(如使用、点击或破坏)
每个传感器都可以通过一个特殊创建的(通过命令生成)告示牌进行控制,该告示牌会显示一个可滚动的菜单。详情请参见“使用方法”部分。
每个传感器可以以 3 种方式作出反应:
a) 仅向所有者发送检测通知
b) 通过相邻的拉杆发送红石信号
c) 同时执行以上两种操作
例如,玩家 A 在洞穴通道中创建了一个线型传感器,然后去取食物。与此同时,玩家 B 发现了这个洞穴并想进去看看。进入后,传感器检测到他的存在并作出反应(以选定的其中一种方式)。如果玩家 A 设置了“仅通知”选项,聊天框中会出现一条消息。如果他选择了红石信号反应,那么与传感器连接好的机制就会被触发,从而赶走不速之客
最新版本链接:
当前版本:2.0.0
命令:
大多数命令以“sen”开头。例如,senmenu 命令表示传感器菜单。
‘|’ 字符用于分隔命令的替代形式——请选择您最习惯的形式 :)
默认情况下,所有人可用:
- /newsensor <name>| /snew <name> - 创建一个具有指定名称的新传感器
- /mysensors | /smy | /senmy – 显示您的传感器列表
- /senname | /sname – 显示点击传感器的名称
- /senmenu | /smenu – 创建传感器管理菜单
- /seninfo <name> | /sinfo <name> – 显示提供有关传感器信息的游戏内窗口
- /senstatus | /sstatus – 在屏幕上的半透明框架中显示所有传感器的状态
- /senhide | /shide – 隐藏所有显示的传感器信息
默认情况下,仅对 OP(管理员)可用:
- /senregion <name> <command> | /sregion <name> <command> | /senwg<name> <command> - (仅在安装了 WorldGuard 时有效)。允许在指定区域(立方体)内管理传感器。
<command> 选项:
- lockall(例如 /senregion mycub lockall)– 锁定区域内所有传感器
- unlockall(例如 /senregion mycub unlockall)– 解锁区域内所有传感器
- activateall(例如 /senregion mycub activateall)– 激活区域内所有传感器
- deactivateall(例如 /senregion mycub deactivateall)– 停用区域内所有传感器
- destroyall(例如 /senregion mycub destroyall)– 销毁区域内所有传感器
- /sensors <operation> | sen <operation> | s <operation>- 控制插件状态的命令
< operation > 选项:
- save(例如 /sen save)– 将当前传感器列表保存到文件
- reload(例如 / sen reload)– 清除当前传感器属性并从文件加载一组数据
- backup(例如 / sen backup)– 将当前传感器列表保存到备份文件
- destroy_all(例如 / sen destroy_all)– 销毁服务器上的所有传感器
- lock_all(例如 / sen lock_all)– 锁定服务器上的所有传感器
- unlock_all(例如 / sen unlock_all)– 解锁服务器上的所有传感器
- activate_all(例如 / sen activate_all)– 激活服务器上的所有传感器
- deactivate_all(例如 / sen deactivate_all)– 停用服务器上的所有传感器
- /senmanage <name> <command> <val> | /senman <name> <command> <val> | /sman<name> <command> <val>- 更改传感器的属性
<command> 选项:
- removeall(例如 /sman sensor1 removeall )– 清除指定传感器中的允许玩家列表
- activate(例如 /sman sensor1 activate )– 激活传感器(开始检测)
- deactivate(例如 /sman sensor1 deactivate )– 停用传感器(停止检测)
- lock(例如 /sman sensor1 lock )– 锁定传感器
- unlock(例如 /sman sensor1 unlock )– 解锁传感器
- destroy(例如 /sman sensor1 destroy )– 销毁传感器
- maxrange(例如 /sman sensor1 maxrange 12 )– 设置最大检测范围(0 – 自动)
- maxheight(例如 /sman sensor1 maxheight 5 )– 设置最大检测高度(0 – 自动)
- addplayer(例如 /sman sensor1 addplayer Notch )– 将玩家添加到允许列表
- removeplayer(例如 /sman sensor1 removeplayer badGuy )– 从允许列表中移除玩家
权限:
线型传感器:
- sensor.line.* - 授予所有线型传感器权限
- sensor.line.manage - 创建交互式菜单以管理传感器
- sensor.line.destroy - 销毁线型传感器
区域型传感器:
- sensor.area.* - 授予所有区域型传感器权限
- sensor.area.manage - 创建交互式菜单以管理传感器
- sensor.area.destroy - 销毁区域型传感器
物体型传感器:
- sensor.object.* - 授予所有物体型传感器权限
- sensor.object.manage - 创建交互式菜单以管理传感器
- sensor.object.destroy - 销毁物体型传感器
杂项:
- sensor.create - 创建传感器
- sensor.destroy_sb_else - 销毁不属于我们的传感器
- sensor.control_sb_else_sensor - 通过命令管理他人的传感器
- sensor.ninja – 特殊节点 - 如果玩家拥有此权限,则不会触发任何传感器
WorldGuard:
- commands.wg.locking - 锁定指定区域内的所有传感器
- commands.wg.activating - 激活指定区域内的所有传感器
- commands.wg.destroy - 销毁指定区域内的所有传感器
锁定(Locking):
- sensor.locking.* - 授予所有锁定功能的访问权限
- commands.locking.lock_all - 描述:锁定服务器上的所有传感器
- commands.locking.unlock_all - 解锁服务器上的所有传感器
- commands.locking.lock_sensor:
- commands.locking.unlock_sensor:
激活(Activating):
- sensor.activating.* - 授予所有激活功能的访问权限
- commands.activating.activate_all - 激活服务器上的所有传感器
- commands.activating.deactivate_all - 停用服务器上的所有传感器
- commands.activating.activate_sensor:
- commands.activating.deactivate_sensor:
销毁(Destroying):
- sensor.destroying.* - 描述:授予所有销毁功能的访问权限
- commands.destroying.destroy_sensor - 销毁选定的传感器
- commands.destroying.destroy_all - 销毁所有传感器
全局传感器管理:
- commands.add_player - 将玩家添加到传感器的允许列表中
- commands.remove_player - 从传感器的允许列表中移除玩家
- commands.remove_all - 清空允许列表
- commands.trigger - 触发传感器
- commands.save - 保存当前传感器配置
- commands.reload - 重新加载当前传感器配置
- commands.manage_any - 管理任意选定的传感器
- commands.check_sensor_name - 通过点击检查传感器名称
- commands.change_max_range - 更改传感器的最大检测范围
- commands.change_max_height - 更改传感器的最大检测高度
Bukkit 页面:
[UPDATE!!!]
After a year of Sensors inactive state, I give to you the Sensors 2.0.0 (released at 07 September 2013)
Description:
Sensors is a bukkit plugin, that supports creating and managing 3 types of sensors:
- line – like a laser beam, it detects entities that will go through it
- area – detects entities in a cylinder shaped area
- object – gets the state of the assigned object (like chest, pressure plate, button, lever, etc.) and informs the owner about the manipulation (like using it, clicking on it or destroying it)
Each sensor can be controlled by a specially created (with a command) sign, which displays a scrollable menu. More about it in the “How to use” section.
Every sensor can react in 3 ways:
a) only inform the owner about the detection
b) send the redstone signal through the neighbor levers
c) both
For example. Player A created a line sensor in a cave passage and goes to get some food. Meanwhile, the player B sees the cave and wants to check it out. Enters is, the sensor detects his presence and reacts (in one of the chosen ways). If player A, set the inform only option, there will appear a message on a chat. If he chose the redstone signal reaction, the prepared mechanism, connected to the sensor, can be triggered and get rid of the unwanted guest
Link to the most recent version:
Current version: 2.0.0
Commands:
Most of the commands starts with the “sen”. For example, the senmenu command means sensor menu.
The ‘|’ char, separates the command alternatives - choose the most comfortable form to you :)
By default, available for everybody:
- /newsensor <name>| /snew <name> - creates a new sensor with the specified name
- /mysensors | /smy | /senmy – displays the list of your sensors
- /senname | /sname – displays clicked sensor name
- /senmenu | /smenu – creating a sensor-management menu
- /seninfo <name> | /sinfo <name> – show the ingame window, that provides the information about the sensor
- /senstatus | /sstatus – show all your sensors state in a semi-transparent frame on the screen
- /senhide | /shide – hiding all the displayed sensors info
By default, for op’s:
- /senregion <name> <command> | /sregion <name> <command> | /senwg<name> <command> - (works ONLY if the WorldGuard is installed). Makes available managing sensors in the specified region (cuboid).
<command> options:
- lockall (e.g. /senregion mycub lockall) – locks all the sensors in the region
- unlockall (e.g. /senregion mycub unlockall) – unlocks all the sensors in the region
- activateall (e.g. /senregion mycub activateall) – activates all the sensors in the region
- deactivateall (e.g. /senregion mycub deactivateall) – deactivates all the sensors in the region
- destroyall (e.g. /senregion mycub destroyall) – destroys all the sensors in the region
- /sensors <operation> | sen <operation> | s <operation>- command, which controls plugin state
< operation > options:
- save (e.g. /sen save) – saves the current sensors list to a file
- reload (e.g. / sen reload) – erases the current sensors properties and loads a set from a file
- backup (e.g. / sen backup) – saves the current sensors list to a backup file
- destroy_all (e.g. / sen destroy_all) – destroys all the sensors on a server
- lock_all (e.g. / sen lock_all) – lock all the sensors on a server
- unlock_all (e.g. / sen unlock_all) – unlock all the sensors on a server
- activate_all (e.g. / sen activate_all) – activates all the sensors on a server
- deactivate_all (e.g. / sen deactivate_all) – deactivates all the sensors on a server
- /senmanage <name> <command> <val> | /senman <name> <command> <val> | /sman<name> <command> <val>- change the properties of the sensor
<command> options:
- removeall (e.g. /sman sensor1 removeall ) – clears the permitted players list in the specified sensor
- activate (e.g. /sman sensor1 activate ) – activates the sensor (it starts detecting)
- deactivate (e.g. /sman sensor1 deactivate ) – deactivates the sensor (it stops detecting)
- lock (e.g. /sman sensor1 lock ) – locks the sensor
- unlock (e.g. /sman sensor1 unlock ) – unlocks the sensor
- destroy (e.g. /sman sensor1 destroy ) – destroys the sensor
- maxrange (e.g. /sman sensor1 maxrange 12 ) – sets the maximum detection range (0 – auto)
- maxheight (e.g. /sman sensor1 maxheight 5 ) – sets the maximum detection height (0 – auto)
- addplayer (e.g. /sman sensor1 addplayer Notch ) – adds a player to the permitted list
- removeplayer (e.g. /sman sensor1 removeplayer badGuy ) – removes a player to the permitted list
Permissions:
Line sensor:
- sensor.line.* - Gives access to all line sensor permissions
- sensor.line.manage - create an interactive menu to manage the sensor
- sensor.line.destroy - destroy a line sensor
Area sensor:
- sensor.area.* - Gives access to all area sensor permissions
- sensor.area.manage - create an interactive menu to manage the sensor
- sensor.area.destroy - destroy a area sensor
Object sensor:
- sensor.object.* - Gives access to all object sensor permissions
- sensor.object.manage - create an interactive menu to manage the sensor
- sensor.object.destroy - destroy a object sensor
Miscellaneous:
- sensor.create - creating sensors
- sensor.destroy_sb_else - destroy sensor that doesnt remain to us
- sensor.control_sb_else_sensor - manage somebodys else sensor by command
- sensor.ninja – A SPECIAL NODE - if a player has this permission, it won't trigger any sensors
WorldGuard:
- commands.wg.locking - locking all sensors in the specified region
- commands.wg.activating - activate all sensors in the specified region
- commands.wg.destroy - destroy all sensors in the specified region
Locking:
- sensor.locking.* - Gives access all the locking abilities
- commands.locking.lock_all - description: locking all sensors on the server
- commands.locking.unlock_all - unlocking all sensors on the server
- commands.locking.lock_sensor:
- commands.locking.unlock_sensor:
Activating:
- sensor.activating.* - Gives access all the activation abilities
- commands.activating.activate_all - activate all sensors on the server
- commands.activating.deactivate_all - deactivate all sensors on the server
- commands.activating.activate_sensor:
- commands.activating.deactivate_sensor:
Destroying:
- sensor.destroying.* - description: Gives access all the destroy abilities
- commands.destroying.destroy_sensor - destroying chosen sensor
- commands.destroying.destroy_all - destroys all the sensors
Global sensor managing:
- commands.add_player - add players to the sensors permitted list
- commands.remove_player - remove players from the sensors permitted list
- commands.remove_all - clears the permitted list
- commands.trigger - triggers the sensor
- commands.save - saving current sensors set
- commands.reload - reload current sensor set
- commands.manage_any - manage any chosen sensor
- commands.check_sensor_name - checking sensor name by clicking on it
- commands.change_max_range - changing the sensor max range
- commands.change_max_height - changing the sensor max height detecting
Bukkit page:
评论 0
登录后参与评分
还没有评论,来抢沙发吧