请从 1.1.x 版本更新!/sl remove 命令存在保存问题,它允许你移除其他人的路灯。该问题已在 1.1.2 中修复。
通用
是否一直想在你的服务器中使用可工作街灯?现在可以了!选择你想要在夜间点亮的灯,然后……砰!它们会在下雨或夜晚时自动点亮。
默认情况下,方块在白天为红石灯(关闭状态),在夜晚为红石灯(开启状态)。开启的时间段为游戏时间 13000 到 0。这些设置均可在 config.yml(1.0.2 版本)中进行更改。若要添加多组切换物品,只需另起一行并指定两种材料即可。(请注意,请勿使用重复的材料名称。)
安装
安装非常简单:将 jar 文件放入插件目录即可。
OP(管理员)默认拥有所有权限,但如果你希望玩家也能控制路灯,请赋予他们以下权限:
- streetlights.* (除 streetlights.admin 外的所有权限)
- streetlights.admin (允许移除他人的路灯)
- streetlights.create (允许创建新路灯)
- streetlights.remove (允许移除已创建的路灯)
- streetlights.save (允许用户保存路灯列表)
- streetlights.list (允许用户查看路灯坐标列表)
- streetlights.clear (允许用户清除所有路灯)
- streetlights.reload (允许用户重新加载配置文件)
- streetlights.info (显示关于点击的路灯的信息)
使用方法
放置一盏红石灯并使用 “/sl create” 命令。然后右键点击你想在夜间点亮的方块(默认为红石灯)。添加完所有灯具后,再次输入 “/sl create”。若需手动保存,可使用 “/sl save”。(每放置或移除一个路灯,列表会自动保存。)使用 “/sl remove” 可从列表中移除路灯 :)
已知问题
- 自然降雨有时无法触发灯光。
- 无法使用 REDSTONE_TORCH_OFF。
能否看看实际效果?
我在自己的服务器上录制了一段延时视频,展示了路灯的开关过程。
http:www.youtube.com/watch?v=EL7MQ2d-H40&feature=youtu.be
源代码?
源代码可在 GitHub 获取:
用户视频
一些用户制作了该插件的使用视频。以下是部分视频作者:
WoopaGaming(英语)
MineraftBukkit(德语)
TheBukkitTutorialsHD(德语)
MinecraftPommes(德语)
victormac737(西班牙语)
特别感谢
特别感谢 Craftiii4 协助解决 REDSTONE_LAMP_ON 状态相关的问题 :)
Please update from 1.1.x! The /sl remove command isn't save! It allows you to remove other peopel's streetlights. It's fixed in 1.1.2
General
Always wanted to get working streetlights in your server? Now you can! Pick the lights you want to light up at night and presto! They will light up when it rains or when it's night.
By default the blocks will be Redstonelamp (offstate) at day and Redstonelamp (onstate) at night. The time they will be on is from 13000 till 0. These can all be changed in the config.yml (Version 1.0.2) To add multiple set of items to switch from just add a new line with two materials. (Please note that you shoudln't use duplicate materials)
Installation
Pretty straight forward here: Place the jar file in your plugin directory and you're good to go.
OP's have all permissions by default but if you want players to control the lights as well please give them permissions:
- streetlights.* (Everything EXCEPT: streetlights.admin)
- streetlights.admin (Allows the removal of other's streetlights)
- streetlights.create (Allows to create new streetlights)
- streetlights.remove (Allows to remove new streetlights)
- streetlights.save (Allows user to save the list with lights)
- streetlights.list (Allows user to view coordinate list of lights)
- streetlights.clear (Allows user to clear all the lights)
- streetlights.reload (Allows user to reload the config file)
- streetlights.info (Displays info about the clicked streetlight)
How to use
Create a Redstone lamp and use "/sl create" command. Then rightclick the blocks you want to light up at night (Redstone Lamps by default). When you're finished adding the lamps type "/sl create" again. If you wish to manualy save you can use "/sl save". (The list will automaticly save after every placed or removed streetlight). You "/sl remove" to remove streetlights from the list :)
Bugs
- Natural rain sometime doesn't trigger the lights.
- You cannot use REDSTONE_TORCH_OFF.
Can we see it in action?
I've created this timelaps on my server which shows the streetlights going on and off.
http:www.youtube.com/watch?v=EL7MQ2d-H40&feature=youtu.be
Source Code?
The sourcecode is available from GitHub:
User Videos
Some of the users made video's of the plugin. Here's some of them:
WoopaGaming (English)
MineraftBukkit (German)
TheBukkitTutorialsHD (German)
MinecraftPommes (German)
victormac737 (Spanish)
Special Thanks
Special thanks go to Craftiii4 for helping me with the REDSTONE_LAMP_ON state :)
下载 StreetLights
下载 StreetLights
下载 StreetLights
下载 StreetLights
下载 StreetLights
下载 StreetLights
下载 StreetLights
下载 StreetLights
下载 StreetLights
下载 StreetLights
应要求更新至 1.3.1 R2 :)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
更快速的直线轨道矿车、链式连接列车、熔炉机车,以及原版红石信号!
插件
城镇现在可以要求建造具有特定功能的建筑
插件
具有队列可见性、运行预览、持久化玩家档案、首领战、战利品以及每周排行榜进度的程序化生成派对地下城。
评论 0
登录后参与评分
还没有评论,来抢沙发吧