Digilock
alt="Digilock [GUI 锁定界面]">
版本:1.3
如果您想查看其实际效果,请登录我们的 Minecraft 服务器: minesrv.almuramc.com
功能:
- 可锁定箱子、双层箱子、发射器、熔炉、双扇门、活板门、栅栏门等。
- 使用密码或指纹保护拉杆、按钮、告示牌和书架。
- 自动关闭普通门、双扇门、活板门和栅栏门。[双扇门尚未生效]
- 按住 L-SHIFT + 鼠标右键点击可编辑告示牌。
- Digilock 界面将在 Spoutcraft 内拥有独立的可分配按键。
- 为 Residence Protection 插件添加了特殊的 "Lockable"(可锁定)标志。
每次玩家拉动拉杆时,都会获得一个物品,同时其账户将被扣除使用费用!
DigiLock
DigiLock 适用于以下物品:(对准物品并按下 热键 L,或在 右键点击 时按下 L-CONTROL
| 物品 | 密码 | 指纹 | 自动关闭 | 使用费用 | 备注 |
| 箱子 | x | x | | | 打开/关闭箱子 |
| 门 | x | x | x | x | 打开/关闭门 |
| 活板门 | x | x | x | x | 打开/关闭活板门 |
| 栅栏门 | x | x | x | x | 打开/关闭栅栏门 |
| 铁门 | x | x | x | x | 铁门可通过 BIT 以两种方式锁定/开启。用指纹保护拉杆,或直接保护门本身。 |
| 双扇门 | x | x | x | x | 打开/关闭双扇门 |
| 拉杆 | x | x | | x | 激活拉杆 |
| 按钮 | x | x | x | x | 按下按钮 |
| 唱片机盒 | x | x | | | 在唱片机盒中播放唱片 / 从唱片机盒中弹出唱片。 |
| 熔炉 | x | x | | |
| 发射器 | x | x | | x |
| 炼药锅 | | x | | x |
| 告示牌 | x | x | | | 仅防止被破坏 |
| | | | | |
作者:
配置
文件:config.yml
功能:
- economy:启用/禁用 Digilock 的经济系统功能。
- war:是否允许 Digilock 遵循 War 插件的规则。
- mobarena:是否允许 Digilock 遵循 MobArena 插件的规则。
- jail:是否允许 Digilock 遵循 Jail 插件的规则。
- residence:是否允许与 Residence 插件配合使用额外的标志(flag)功能。
图形界面(GUI):
- lockkey:锁定界面的默认按键绑定。
- signgui:是否允许使用告示牌编辑器界面(仍需额外权限)。
存储:
- type:SQLite 或 MySQL
- host:MySQL 主机名
- port:MySQL 端口号
- database:MySQL 数据库名称
- username:MySQL 数据库用户名
- password:MySQL 数据库密码
锁(Lock):
- cost:创建 Digilock 的费用。
- maxcost:Digilock 最大使用费用。
- destroycost:移除 Digilock 的费用/退款金额。
- defaultclosetimer:门、陷阱门等自动关闭功能的默认计时器时长(秒)。
- playsound:是否在玩家与已锁定的物品交互时播放声音。
- sound:Digilock.wav 文件的网站 URL。
权限
以下是该插件的具体权限节点及其各自的作用列表。
- digilock.use = 允许用户使用 Digilock 界面。
- digilock.create = 允许用户在物品上创建 Digilock。
- digilock.admin = 允许用户(管理员)覆盖/编辑/移除其他用户放置的 Digilock。
- digilock.signedit = 允许用户使用告示牌编辑器。
硬依赖项
软依赖项
- Residence
- WorldGuard
- MobArena
- Jail
- War
Residence 附加功能
当 Digilock 检测到 Residence 插件且 config.yml 选项设置为 true 时,我们向 Residence 添加了一个名为 "lockable" 的标志(flag)。
您需要编辑 Residence 插件的 config.yml 文件以授予用户访问此标志的权限。只有将此标志设置为 true,玩家才能在 Residence 区域内创建 Digilock。
同样适用于告示牌编辑界面。用户必须在受保护的 Residence 区域内拥有建造权限才能打开告示牌。
待办事项
- 目前双门锁定机制尚未完成,但正在开发中。
- Digilock 可能存在一些剩余的石头连接问题,如果有,请为此创建工单。
- 添加带有可控玩家伤害的撬锁界面。
本项目的捐赠可在此处进行:PayPal: 点击此处
非常感谢您的考虑。
Digilock
alt="Digilock [GUI Lock Interface]">
Version: 1.3
If you would like to see this in action, logon to our Minecraft server at: minesrv.almuramc.com
Features:
- Lock Chest, Doublechest, Dispensers, Furnaces, Doubledoors, Trapdoors, Fence gates etc.
- Protect Levers, Buttons, Signs and Bookcases with a pincode or you fingerprint
- Autoclosing normal doors, doubledoors, trapdoors and fence gates. [DoubleDoors not working yet]
- Edit Signs with L-SHIFT + RIGHT-CLICK the mouse.
- Digilock interface will have its own assignable keys inside of Spoutcraft.
- Special "Lockable" flag addition to the Residence Protection Plugin.
Each time a player draws the lever, he gets an item and his account is deducted the use cost!
DigiLock
The DigiLock works on these items: (Point at the item and press Hotkey L or Press L-CONTROL while Right Clicking
| Item | Pincode. | Fingerprint. | Autoclose. | UseCost. | Note |
| Chests | x | x | | | Open/close the chest |
| Doors | x | x | x | x | Open/close the door |
| Trapdoors | x | x | x | x | Open/close the trapdoor |
| Fence gate | x | x | x | x | Open/close the fence gate |
| Iron doors | x | x | x | x | Iron doors can be locked/opened in 2 ways with BIT. Protect the lever with a fingerprint or protect the door it self |
| DoubleDoors | x | x | x | x | Open/close doubledoors |
| Lever | x | x | | x | Activate the lever |
| Button | x | x | x | x | Press the button |
| Jukebox | x | x | | | Play disc in Jukebox / Eject disc from jukebox. |
| Furnaces | x | x | | |
| Dispensers | x | x | | x |
| Brewing stand | | x | | x |
| Signs | x | x | | | Only protection against break |
| | | | | |
Authors:
Configuration
File: config.yml
Features:
- economy: Enables / Disables economy features of Digilock
- war: Whether to allow Digilock to respect the War Plugin Rules.
- mobarena: Whether to allow Digilock to respect the MobArena plugin Rules.
- jail: Whether to allow Digilock to respect the Jail plugin rules.
- residence: Whether to allow additional flag functionalites with the Residence plugin.
GUI:
- lockkey: default keybind for the lock interface.
- signgui: whether or not to allow the sign editor interface (still requires additional permissions).
Storage:
- type: SQLite or MySQL
- host: MySQL hostname
- port: MySQL portnumber
- database: MySQL database name
- username: MySQL database username
- password: MySQL database password
Lock:
- cost: Digilock creation cost.
- maxcost: Digilock max use cost.
- destroycost: Cost / refund to remove a Digilock
- defaultclosetimer: Default timer in seconds for auto-close feature for doors, trapdoors etc.
- playsound: Whether or not to play the sound when you interact with a Digilocked Item.
- sound: Website URL for Digilock.wav file.
Permissions
Here's a list of specific permissions nodes for this plugin and what each does.
- digilock.use = Allows the users to use the Digilock interface.
- digilock.create = Allows for users to create Digilocks on items.
- digilock.admin = Allows users (admins) to override / edit / remove Digilocks placed by other users.
- digilock.signedit = Allows users to use the Sign Editor.
Hard Dependencies
Soft Dependencies
- Residence
- WorldGuard
- MobArena
- Jail
- War
Residence Addon
We added a flag to residence when Digilock detects the Residence Plugin AND the config.yml option is set to true that adds the flag "lockable".
You will need to edit the config.yml file of the Residence Plugin to give people access to this flag. This flag must be set to true for a person to create a Digilock within a Residence.
Likewise in regards to the Sign Edit interface. A user must have Build permissions in order to open a sign within a protected Residence Area.
To Do
- Currently the double-door locking mechanism isn't finished yet, but its being worked on.
- There may be some remaining restone connectivity issues with Digilock, if so please create a ticket for them.
- Add lock-picking interface with controllable player damage.
Donations for this project can be directed here: PayPal: Click Here
Many thanks for your consideration.
评论 0
登录后参与评分
还没有评论,来抢沙发吧