LockSecurity!Bukkit 上最易用的容器保护插件!该插件允许你用钥匙锁定容器,并且只有当你手中持有对应钥匙时才能打开它!除非其他用户也持有与该锁定方块绑定的 ID 钥匙,否则任何人都无法访问该箱子。已锁定的方块的所有功能均无法被访问。
该插件简单易用,上手迅速。首先,你需要制作一把锈迹斑斑的未锻造钥匙(Unsmithed Key)。右键点击一个可锁定的方块后,该箱子与你右键使用的未锻造钥匙将被按顺序分配一个唯一 ID。所有关于已锁定方块的信息都会整齐地存储在服务器文件中的 LockSecurity 文件夹内的 SQLite 数据库文件 lckinfo.db 中。除非有人使用与该箱子绑定的钥匙尝试打开它,否则任何人都无法访问箱子里的内容。就是这么简单!我知道你可能在想:“为什么不直接砸开箱子拿走里面的东西呢?”这一点也考虑到了。如果你不是箱子的所有者(即最初锁定该箱子的玩家),你将无法破坏它。那爆炸呢?没问题……所有已锁定的方块都具有防爆特性!:D 再也不用担心隐藏你的箱子了!至于门和红石呢?这也考虑到了!红石信号不会打开或关闭已锁定的方块!
该插件具有高度可配置性,包括按世界划分的方块锁定限制、配方结果产出量,以及可被锁定的方块列表。自 1.5.0 版本起,提供了一个外部 API,其源代码已在 BitBucket 仓库中完整备份(私有)。如果你是开发者,并希望为 LockSecurity 创建附加组件,请向下滚动至“LockSecurity API / 附加组件”部分,尽情发挥你的创造力吧!
有一些命令可帮助管理员管理此插件。当然,这些命令目前仍缺少一些功能,未来将陆续添加。你可以通过 -= 点击此处 =- 查看所有命令参考及其相关的权限节点。
还有一些权限节点需要注意。尽管它们的影响非常微小,且对于未安装权限管理插件的服务端已有合理的默认值,但建议阅读权限节点指南页面以了解各项权限的具体作用。你可以通过 -= 点击此处 =- 查看所有权限节点参考。
以下配方可制作一把未锻造钥匙,用于锁定可锁定的方块。该配方属于半无固定形状类型,要求格式相同但排列方式不同。只要配方呈直线(或对角线)排列,且铁栏杆位于木板两端、铁锭位于中间槽位,即可成功合成。
如果配置选项尚不明确,请参阅以下页面了解其使用方法:点击此处
感谢 AbsintoJ、MrUrica123 和 LtJim007 制作了如此精彩的视频,详细解释了该插件的基本功能与核心特性。AbsintoJ 的视频为葡萄牙语,MrUrica 的为法语,LtJim 的视频为英语。这些视频能让你直观地了解安装插件后的实际效果。遗憾的是,AbsintoJ 的视频对应的是 LockSecurity 1.1.1 版本,略显过时,但这并非大问题 ^-^。LtJim 的视频发布于插件 1.6.1 版本时,而 MrUrica 最近发布的视频则基于 1.8.1.1 版本。希望你们喜欢这些视频!!!
自 LockSecurity 1.5.0 版本起,提供了非常完善的 API 并附带完整文档。如果你是希望为 LockSecurity 开发附加组件的开发者,我强烈鼓励你动手尝试!我很期待看到一些精巧实用的附加组件,甚至可能将其纳入官方推荐列表。如果你创建了 LockSecurity 附加组件,请随时通过 BukkitDev 私信、Twitter(见下方链接)或 LockSecurity 页面的评论区告知我。无论细节如何,只要是附加组件,我都非常乐意了解,并将在此处列出 :D
为了展示新 API 的真正威力,我为 LockSecurity 开发了一个附加组件,名为 LS-ChestCollector!利用上锁的箱子,你可以构建无线收集系统,在拾取物品时自动收集你在命令中指定的物品!你可以通过 点击此处 查看该附加组件。
关于 API:如果你想了解如何实际编写 LockSecurity 插件的扩展代码,请直接访问 BitBucket Wiki 页面,可通过 点击此处 访问。
或许你有想要添加的功能想法?或是能改进我这个插件的建议?又或者你遇到了我未能解决的 Bug。如果你有任何上述内容,请提交工单!创建工单时我会收到邮件通知,处理速度会比在帖子下留言快得多。这也有助于我整理以往版本中收到的诸多建议和 Bug 报告。我们更倾向于通过工单沟通,但如果你只是想友好地根据使用体验给这个插件评分,也可以自由地在下方留下评论。
以下是安装了 Lock Security 插件的服务端列表。如果您希望在下载并将其部署到自己的服务端之前先体验该插件,欢迎在以下任一服务端中试用。如果您的服务端已安装此插件,请在评论中留下 IP 地址,我有机会时会将其添加到列表中!
作为一名高中生,我的日程非常繁忙,只能利用空闲时间来开发本插件。我会尽力让这款插件变得有趣,并尽可能持续更新更多功能。然而,终有一天我可能会灵感枯竭,无法再产生新点子。如果您希望这个项目能够持续下去,欢迎提交建议工单(ticket)。非常感谢所有支持这款插件的少数用户。数量对我而言并不重要,只要还有至少一个人在下载这款插件,我就会继续制作内容。祝大家玩得愉快。
我专门创建了一个 Twitter 账号,用于发布所有插件的开发动态和功能预览。我将在此社交媒体平台上分享插件更新的进展,并欢迎大家提出建议。如果您有 Twitter 账号并希望与我联系,我的开发专用 Twitter 账号是 @2008Minecraft。这里将充满让您垂涎的功能预览,直到我正式发布为止。每次我发布插件更新时,您也会收到推文通知,请密切关注 ;) 社交媒体并非必需,仅作为可选渠道,供您抢先了解一些信息。
我为项目付出了巨大努力,力求推出尽可能优质的更新。作为一名新手且充满抱负的开发者,我仍在寻求对未来学业及专业编程课程的支持途径。
如果您愿意捐款以支持我,我将不胜感激。我的插件并非付费即玩(pay-to-play),捐赠纯属自愿。如果您无法通过金钱方式提供支持,也欢迎随时留言 <3 任何帮助都弥足珍贵。
LockSecurity! The easiest to use container protection plugin on Bukkit! This plugin allows the ability for you to lock your containers with a key, and only be able to open the container if you have the key in your hand! There is no way that the chest can be accessed by another user unless they have a key with the ID binded to the block you have locked. IMPOSSIBLE to access any functions of the locked block
The plugin is simple to use and get started. First, all you have to do, is craft yourself a rusty old Unsmithed Key. If you right click on a lockable block, that chest and the Unsmithed Key you right clicked with, will be assigned a unique ID in incremental order. All information about the locked block is neatly stored in an SQLite lckinfo.db file inside the LockSecurity folder in your server files. No one will be able to access the contents of that chest... unless... they attempt to open the chest with the key that was binded to it. Simple as that! I know, you're probably thinking, "But why not just try and break the chest and get the contents inside?". That's been thought of. If you are not the owner of the chest (the player who locked it in the first place), you will not be able to break it. What about explosions? That's okay... all locked blocks are explosion resistant! :D No more need to hide your chests! What about doors and redstone? That's though of too! Redstone doesn't open or close locked blocks!
This plugin is highly configurable, including per/world block lock limits, recipe result yieldings, and even a list of blocks that can be locked. As of version 1.5.0, there is an external API which has been fully documented on a BitBucket repository where the source code is privately backed up. If you're a developer, and you would like to create an add-on for LockSecurity, please scroll down to the "LockSecurity API / Add-Ons" section, and hack away!
There are a few commands to help administrators manage this plugin. There are of course a couple of missing features from these commands, and there will be more added in the future. You can view all command references and their related permission nodes by -= Clicking here =-
There are a few permission nodes that should be taken notice of. Although they are very minor, and already have reasonable default values for servers that do not have permission manager plugins, please read the permission node guide page for reference to what they all do. You can view all permission node references by -= Clicking here =-
The following recipe will get you an Unsmithed Key, which can be used to lock a lockable block. This recipe is semi-shapeless. It requires the same format, however not in the same shape. As long as the recipe is in a straight line (or diagonal), the iron bars are on the opposite ends of the wooden plank, and the iron ingot is in the center slot, the recipe will work
Please view the following page on how to use any of the configuration options if they are not already clear, by -= Clicking Here =-
Thank you to AbsintoJ, MrUrica123, and LtJim007 for making such amazing videos explaining how the basic and key features of the plugin works. AbsintoJ has made one in Portuguese, MrUrica in French, and LtJim's video is in English. It gives you a visualization of what the plugin will be like when you install it. Unfortunately, AbsintoJ's is quite outdated to version 1.1.1 of LockSecurity, but again, not a big deal ^-^. LtJim's video was released when version 1.6.1 of the plugin came out, and most recently MrUrica released his video in version 1.8.1.1. I hope you enjoy the videos!!!
As of version 1.5.0 of LockSecurity, there is a very extensive API that has full documentation. If you are a developer interested in creating add-ons for LockSecurity, please, I highly encourage you to do so! I would love to see some neat little add-ons for this plugin, and perhaps even use them! If you create a LockSecurity add-on, do not hesitate to inform me over PM on BukkitDev, Twitter (found below), or in the comments of LockSecurity. Doesn't matter how detailed it is, as long as it's an add-on, I would love to hear about it, and I will list it here :D
I have created an add-on for LockSecurity to show the true power of the new API. It is called LS-ChestCollector! Using locked chests, you can create wireless collection systems, to collect the items you specify in the command when you pick them up! You can check this add-on out by -=Clicking Here=-
About the API. If you would like to know how to actually code an extension to the LockSecurity plugin, go ahead and head over to the BitBucket Wiki page which can be found by -= Clicking Here =-
Perhaps you have an idea for something that should be added? An idea to improve my plugin at all? Or maybe you just have a bug that I couldn't seem to figure out. If you have anything listed above, make a ticket! I get e-mail notifications for when you create a ticket, and I will get to those a lot faster than a comment on my post. That also helps me organize many of the suggestions and bugs I've had in previous versions. Tickets are always preferred over comments, but if you just wanna be nice and rate this plugin based on your usage, feel free to leave a comment instead
This is a list of servers that have the Lock Security plugin installed. If you would like to try out the plugin before downloading it and putting it on your server, feel free to try it out on one of these. If your server has this plugin installed, leave the IP address in the comment, and I'll add it to the list when I have the chance!
As a highschool student, I am very busy and will only be able to work on this when time is available to me. I will make this plugin very interesting, and continue updating with as many features as I possibly can. However, eventually I will run out of gas, and not produce any ideas. Leaving a ticket with suggestions for this plugin is always encouraged if you want to keep this project alive. Thank you for all of the support on this plugin, for the very few of you that are supporting it. Numbers don't matter to me, so I'll keep producing content as long as at least one person is downloading this plugin. Enjoy
I have created a Twitter account specifically for development updates and feature sneak peeks for all of my plugins. I will be posting updates about where I'm at on plugin updates, and open to suggestions on this social media website. If you have a Twitter account and would like to get in contact with me, my development Twitter handle is @2008Minecraft It will be full of sneak peeks for you all to drool at until I fully release it. You'll also get tweets every time I publish an update for a plugin, so keep an eye on that as well ;) Social media is not a necessary, but only optional if you want to know a few things before others do
I work really hard on my projects to try and produce the best updates as I possibly can. As a new and aspiring developer, I am still looking for some means of support for future school endeavors, and getting lessons to code professionally.
If you would like to donate and help support me, that would be very much appreciated. My plugins are not pay-to-play, and donating is simply optional. If you can't support me through monetary means, please feel free to comment instead <3 Anything helps.
下载 Lock Security
下载 Lock Security
下载 Lock Security
下载 Lock Security
下载 Lock Security
下载 Lock Security
下载 Lock Security
下载 Lock Security
下载 Lock Security
下载 Lock Security
是的,我清楚这个更新已经拖得太久了。自 LockSecurity 1.8.2 发布至今已有一年四个月,自 1.12 版本发布也已超过三个月,LockSecurity 2.0.0 现已完成!不过……请谨慎看待此次发布。除了 1.12.0 -> 1.12.2 之外的任何服务器版本,都无法保证 100% 正常运行,即使在这些版本上,也可能会出现一些问题。我不确定所有功能是否都能正常工作,但足以让我发布该插件的测试版。请注意,使用此文件的风险由您自行承担,并且希望您能尽快向我报告遇到的问题。
LockSecurity 2.0.0 是从零开始重新编写的(大约一年前我 literally 删除了整个项目并从头开始,直到最近才完成),因此进行了许多改进。请参阅下方详尽且有意义的更新日志:
- 官方支持 Minecraft 1.12.x
- 完全从零重写了 LockSecurity。代码得到改进,源码更紧凑/整洁,整体效率提升
- 数据存储从 MySQL (SQLite) 更改为每个玩家的 JSON 文件
- 旧数据将自动转换
- 请谨慎操作……以防万一出现问题,请备份您的数据。如有异常请立即通知我
- 添加了本地化文件的支持,以便更改插件中的消息
- 默认生成 "en_CA" 和 "fr_CA"
- 欢迎您提交自己的本地化文件给我,或者自己保留 :c
- 移除并更新了部分命令:
- /locklistother <player> 已简化为 /locklist [player] 的可选参数
- /forgekey [id] 现在接受多个 ID 号码(例如 /forgekey 3,4,5 将为您提供 ID 为 3、4 和 5 的钥匙)
- 本地数据的处理方式更加高效。如果锁定的区块被卸载,它将不再注册到内存中,直到再次加载。这提高了大量锁定区块查找时的效率
- 玩家信息在内存中的保护更加完善。登出后不应丢失信息
- 添加并更新了许多供开发者使用的 API 类:
- LockedBlock: 一个代表世界中锁定方块的对象
- KeyFactory: 一个实用工具类,用于以构建器模式创建锻造和未锻造的钥匙
- PlayerDuplicateKeyEvent, PlayerInteractLockedBlockEvent, PlayerLockBlockEvent, PlayerUnlockBlockEvent, PlayerMergeKeyEvent
- LockedBlockManager: 包含一系列与已注册/已加载的 LockedBlocks 交互的方法
- PlayerRegistry: 保存有关自定义玩家数据的信息(LSPlayer 类,也是新增的)
- LSPlayer: 代表一个自定义的玩家包装类,包含关于玩家的各种信息,供 LockSecurity 使用
- 所有类都经过 Javadocs 详细文档记录,您可以在 我的网站 上找到它们
- 移除并添加了一些配置选项
- + Locale: 选择 LockSecurity 要使用的语言环境
- * DatabaseSaveInterval -> DataSaveIntervalTicks: 仅重命名。仍然是自动保存,但现在以刻为单位计算而非分钟
- - Aesthetics.DisplayNameChangeNotice: 由于重写,完全移除了这个“特性”。数据不再按名称存储,而是按 UUID 存储
- - Vault 分类:整个分类已被移除,因为不再支持经济系统。未来可能会改变
- LockSecurity 的代码库现在托管在 GitHub 上,这意味着它现在是开源的!快去看看吧!如果您有能力,欢迎贡献 :) BitBucket 上的维基和代码已过时,即将被删除(反正它是私有的)。许可证现已改为 GPLv3
我相信更新日志中还有更多内容,但说实话,由于这个项目经历了如此漫长的更新周期,我已经不记得做了很多事情。如果您对该项目有任何问题,请随时给我发消息,一旦有机会我就会进行更新。感谢那些仍然愿意使用此插件的人,对于等待 1.12.0 更新的漫长过程,我深表歉意。祝您玩得愉快!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧