PistonsPlus - 让黑曜石和基岩可移动!!
版本信息
版本: 1.0
编译目标: CraftBukkit 2060 (Minecraft 1.2.3)!!
PistonPlus 是什么?
PistonsPlus 允许你使那些通常无法被活塞移动的方块变得可以移动。你不能一次性移动超过一个自定义方块,此插件**不会**使原本不可移动的方块表现得像普通可移动方块一样。你可以在配置文件中定义任意希望变为可移动的方块,详情请参阅“配置”部分。
如何安装 PistonsPlus?
只需下载 jar 文件并将其放入你的 Bukkit 插件目录即可!(bukkit_server/plugins)
配置
首次运行 PistonsPlus 后,会创建一个名为 PistonsPlus 的文件夹,其中包含一个 config.yml 文件。里面只有一行:
你可以随时添加任何你喜欢的方块,只需在末尾加上逗号,然后添加该方块的 Data Value 即可。你可以在此处找到所有 Data Value 的列表。
警告! 文件中必须包含多于一个 Data Value,否则会出现 NPE(空指针异常)!!!如果你确实只需要一个值,最简单的解决方案是添加一个原本就可以被推动的方块的 Data Value(例如 5)。
命令
PistonsPlus 只有一个命令:
/pistonreload - 重新加载 PistonsPlus 配置文件。
功能:
- 使用普通活塞和粘性活塞推动通常不可移动的方块
- 使用粘性活塞将通常不可移动的方块拉回
PistonsPlus 支持权限吗?
不支持。几乎不可能确定是谁激活了红石,因为一只猪可能会走上压力板并触发它。因此,添加任何形式的权限都是不可能的!
演示视频:
你可以在此处查看演示视频。感谢 @colony88!
下载
你可以在此处下载 PistonsPlus:这里。
源代码可在我的 GitHub 上获取:这里。
PistonsPlus - Make Obsidian & Bedrock Movable!!
Version Info
Version: 1.0
Compiled Against: CraftBukkit 2060 (Minecraft 1.2.3)!!
- (currently works with 1.2.5)
What Is PistonPlus?
Pistons plus allows you to make blocks that normally cant be moved by Pistons movable. You cannot move more than one block of any custom block, this plugin DOES NOT make unmovable blocks behave like normal movable blocks. You can define whatever blocks you want to be movable in the config file, see Configuration for more info.
How Do I Install PistonsPlus?
To install simply download the jar file and place it in you bukkit plugins directory! (bukkit_server/plugins)
Configuration
After running PistonsPlus for the very first time a folder called PistonsPlus containing a config.yml is created. Inside there is but one line:
You can add any block you like by simply adding a comma to the end and then adding the block's data value. You can find a list of all data values here.
WARNING! You MUST have more than one data value in the file or you will get a NPE (Null Pointer Error)!!! The simple solution if you REALLY must have only one value just add the data value of a block that can already be pushed (ex. 5).
Commands
PistonsPlus has only one command:
/pistonreload - Reloads the PistonsPlus config file.
Features:
- Push normally non-movable blocks with a Normal and Sticky Piston
- Pull normally non-movable blocks back with a Sticky Piston
Does PistonsPlus Support Permissions?
No. It is almost IMPOSSIBLE to determine who powered Redstone as a pig could walk onto a pressure plate and set it off. That therefore makes adding any form of permissions impossible!
Demo Video:
You can see a demo video here. Thanks @colony88!
Download
You can download PistonsPlus here.
The source code is available on my GitHub here.
评论 0
登录后参与评分
还没有评论,来抢沙发吧