- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Lockette
外文名 | Lockette |
插件类型 | Spigot / CraftBukkit |
最新版本 | v1.8.21 |
兼容服务端 | 1.8.1 |
前置插件 | 无 |
源地址 | http://dev.bukkit.org/bukkit-plugins/Lockette |
Lockette
好吧,还是我,JACV为大家带来Lockette插件百科
Lockette是众所周知的锁箱插件了。当然现在还有一款LWC也是非常优秀的锁箱插件。很多人会问,一款锁箱插件有什么好介绍的?别大意,了解自己服务器的每一款插件,才能真正做到遇事不慌、心定神闲的境界
翻译自:https://bukkit.org/threads/sec-lockette-simple-chest-and-door-lock-no-databases-moved-to-bukkitdev.4336/ (没错其实根本不是百科)
支持插件:
- Permissions - 权限插件
- GroupManager - 权限插件
- PermissionsBukkit - 权限插件
- PermissionsEx - 超级权限插件(广告:PermissionsEX)
- bPermissions- 超级权限插件
- Towny - 城镇插件
- SimpleClans - 组插件
- mcMMO - 组插件(但是现在不支持了,具体去Bukkit看Lockette大辩论)
- Factions - 组插件
- LWC - 一款专注于抢生意的插件
- Register - 经济插件
支持语言:
- French by Misa
- German by Efstajas
- Polish by Kamild1996
- Dutch by Tofun
- Danish by Dumle29
- Slovenian by LiqouRiiCe
- Spanish by Agubelu
- Norwegian by Tio1999
- Swedish by TheMineKraftor
- Italian by Nikkolo_DTU
PS:上面就不翻译啦
注意事项:
测试兼容的插件:ColorSign、SpeedSign 不兼容插件:ChestShop、以及大多数的牌子编译插件!
总览
PS:以后再翻译,反正也不是很重要
The purpose of this plugin is to restrict access to the contents of chests, dispensers, furnaces, and doors without the use of a database to track containers.
To use, simply place a signpost on the floor directly beside a chest or other container to be locked. Enter [Private] as the first line. Your own name will automatically be entered on line 2 as the chest owner. Optionally type in the full names of two other users allowed to access the chest's inventory on lines 3 and 4.
When done correctly, the sign will automatically fix itself to the side the target chest, protecting it from unauthorized access! Only the chest's owner can then break the sign or chest. (Warning: Anyone with permission to use WorldEdit commands or similar can circumvent the protection by removing the sign.)
dditionally, you can enter [Everyone] on lines 3 or 4 instead of a user name to allow everyone access to the contents of a private container, or [Operators] to allow ops access. If a Permissions plugin is available, you can use groups like [Moderator] or [Admins] or others as defined in the Permissions settings files.
The owner of a container can add more users by placing additional signs beside the container with the heading [More Users], where lines 2-4 specify the names of the additional users. You can edit the users on previously placed signs by right clicking the sign, and using the command '/lockette <line number> <text>' to change it.
Working with Doors:
To protect a door, you can use the same method as protecting a container, the sign will attach to the door automatically. In addition, you can attach a [Private] wall sign to any side of the blocks just above or just below a door. For double doors only one side needs a sign. Door support is enabled by default in the config file.
Once a door is protected it will only open for someone listed as a user, and will not respond to redstone power or switches unless [Everyone] is listed as a user. Iron doors which usually won't open from clicking will work just as wooden doors. In addition, double doors will open together automatically!
You can also use [More Users] signs as with containers, with the caveat that the sign cannot be placed on the block above the door if the [Private] sign is not above the door as well! (This is done to prevent a security uncertainty issue.)
Protected doors will be closed automatically if a timer is set. A timer can be set globally with a configuration option, or individually for each door by using the tag [Timer: #] on line 3 or 4 of the [Private] sign, where # is the number of seconds that the door should remain open. If the timer is set to 0, this means the door will never automatically close. If no timer is specified, protected doors will use a global timer set in the configuration file. If the server is shut down cleanly any open doors will be closed, but in the event of a server crash while a door is open, it may remain so. Note that the initial state of a door is assumed to be closed.
Care must me taken to place protected doors on a stable block. Building a door on sand, gravel, leaves, TNT and et cetera are allowed by the plugin, but cannot be secured fully. :3 Additionally, it should be noted that most status messages still refer to locked blocks as containers, so for the purpose of simplicity, doors should be considered as a type of container.
特色
No passwords or databases needed! Permission checks run in constant time, no matter how many protected containers. One owner and up to 11 additional users supported. (17 for double chests!) Allows access to [Everyone] while still protecting the container from vandalism. Allows group names in conjunction with many other plugins. Special powers for ops or admins, configurable with permissions. Reports when an admin does something naughty. Protects single and double chests, dispensers, and furnaces. Explosion and block-break protection for the protected container and sign. Option to protect all containers from explosions. Full support for doors, both wooden and iron! Double doors are handled automatically, with no redstone. Doors can be set to close automatically, via a timer setting. Redstone hacking is disabled for protected doors. Prevents creation of chests larger than 2 blocks. Informative or helpful messages when interacting with containers. The first time a chest is placed, a help message will be shown. Types of messages shown are configurable in settings. Additional language support.
初始设置
目前,你只能设置Lockette中的其中一小部分功能,按照这个路径找到配置文件:plugins → Lockette
,当你第一次加载Lockette之后,就能够在其中找到两个文件,分别是:config.yml
以及strings.yml
,第一个文件掌控着下列功能:
- enable-permissions → 允许