插件正在开发中!
此插件自 MC 1.5 版本以来尚未更新,因此部分甚至全部功能可能无法正常工作。在我找到时间进行更新和扩展之前,请使用 starcomedon 对此插件的分叉版本。你可以在这里找到它!
MachinaCraft 是什么?
MachinaCraft 是一个由方块构成的机器框架,通过右键点击拉杆来激活。它是模块化的,并包含多个插件,可以简化重复性任务,例如直线挖掘或建造,甚至放置和清除水体。由于其模块化特性,其他插件也可以利用 MachinaCraft 来创建它们自己的可激活机器。
如何建造 Machina?
类似于在合成台上合成物品,但在游戏世界中。以预定义的方式在世界中放置方块,并在正确的方块上放置一个拉杆。右键点击拉杆,如果建造正确,Machina 将被激活。
请演示一下!
- WoopaGaming 的插件展示
- BukkitDE 制作的德语视频系列 - 第 1 集、第 2 集、第 3 集
Machina 插件信息与权限
以下是当前可用的 Machina 插件,包含在下载包中:
- MachinaDrill
- MachinaBuilder
- MachinaPump
- HoverPad
- MachinaFactory
- MachinaPlanter
- MachinaRedstoneBridge
在它们各自的页面上,你可以找到图片、建造说明以及可用的权限节点。
与 MachinaCraft 兼容的插件
权限设置
若要一次性启用所有 machinacraft 权限,请用下载包中包含的 permissions.yml 替换服务器的 permissions.yml。(或者如果你已有内容,请将其添加进去)
即使你没有安装权限插件,这也有效。
如果你有权限插件并希望获得更精细的控制,可以将 permissions.yml 中的默认值更改为 'op',并使用全局权限节点:
故障排除
你在让 MachinaCraft 正常运行时遇到困难吗?请查看故障排除页面。
反作弊插件
你的服务器是否使用了 NoCheatPlus 等反作弊插件?请参阅MachinaCraft 与其他插件。
插件开发者
MachinaCraft 允许其他插件注册其实现的 Machina 蓝图。当玩家右键点击拉杆时,MachinaCraft 会询问每个已注册的蓝图以检测该位置是否存在匹配的机器。如果成功,将根据该蓝图创建一个新的 Machina。
MachinaCraft 会定期要求 Machina 检查其完整性,如果成功,则发送心跳信号,在此过程中它可以采取行动。Machina 可以告知 MachinaCraft 下一次心跳的时间、新的位置(如果有),或者自行停用。
包含一个可选框架,用于:
- 简化蓝图的指定
- 使用上述蓝图为你的 Machina 实现完整性检查
- 可以将 Machina 向上、向下、北、东、南、西移动 1 个方块
- 可以将 Machina 传送至指定位置
- 可以旋转 Machina
- 可以检测移动、传送、旋转动作中的碰撞
- 支持具有额外数据的方块,如火把、拉杆、铁轨,以及带有库存的方块,如熔炉和箱子
- 支持可选模块。
寻找示例的插件开发者可以查看 MachinaCraft 的代码。
代码仓库
暂别期
简短版:我暂时退出了 Minecraft 及本插件的开发,但源代码可供任何人分叉并继续开发。
详细版:正如你们中的一些人所知,我已经有一段时间没有更新 MachinaCraft 了,我想稍作解释。在过去的几个月里,Minecraft 对我来说已经退居次要地位。此外,我所玩的服务器是基于 Forge 而非 Bukkit,这意味着我很长一段时间都无法体验自己插件的成果。这严重打击了我的积极性,也是导致没有实质性开发活动的原因。
所以这并非一个轻松的决定,但我现在正式进入休整期。对于那些期待更多更新、更多功能或酷炫机器的你们,我深表歉意——遗憾的是,我将不再负责实现它们。不过该项目是开源的,我希望有人愿意接过这一棒——如果你这么做,你得到了我的许可。
最后但同样重要的是,感谢所有访问过本站的人,感谢那些在我无法回答时帮助他人解答问题的朋友,以及只是享受这个插件乐趣的每一位! :)
致插件开发者
你可以自由地分叉该项目并使用新名称继续开发,或者利用此项目页面发布更新,只需联系我,我会将你添加为作者。如果你确实想接手开发工作,我很乐意通过私信或 IRC(#bukkitdev)提供一些指导,帮助你熟悉代码。
源代码可在 仓库 的 machinacraft4 分支中找到。
Plugin under development!
This plugin has not been updated since MC version 1.5 so some if not all features will not work. While I find the time to update and expand it please use starcomedon's fork of this same plugin. you can find it Here!
What is MachinaCraft?
MachinaCraft is a framework for machines made up out of blocks, activated by right-clicking on a lever. It is modular and includes several plugins that can make repetitive tasks easier, such as digging or building in a line, even placing and clearing bodies of water. Because it is modular, other plugins can also use MachinaCraft to make their own activatable machines.
How do I build a Machina?
Similar to crafting something on a crafting table, but in the game world. Place blocks in the world in a predefined way and put a lever on the right block. Rightclick the lever, and if you built it correctly, the Machina will activate.
A demonstration please!
- Plugin Showcase by WoopaGaming
- A video series in German by BukkitDE - 1, 2, 3
Machina Plugin Info & Permissions
These are the Machina plugins available right now, included in the download:
- MachinaDrill
- MachinaBuilder
- MachinaPump
- HoverPad
- MachinaFactory
- MachinaPlanter
- MachinaRedstoneBridge
On their respective pages you can find pictures, instructions how to build them, and the permission nodes available for them.
Plugins that work with MachinaCraft
- SignShop 2 can activate a machina with a sign, possibly with a cost.
Permissions
To enable all machinacraft permissions at once, replace your server's permissions.yml with the included permissions.yml. (or add the contents if you already have something there)
This works even if you do not have a permissions plugin.
If you do have a permissions plugin and want more control, you can change the default in permissions.yml to 'op' and use the global permission node:
Troubleshooting
Are you having trouble getting MachinaCraft to work? Take a look at the Troubleshooting page.
Anti Cheating Plugins
Does your server use an anti cheating plugin such as NoCheatPlus? See MachinaCraft and other plugins.
Plugin Developers
MachinaCraft allows other plugins to register a blueprint for the Machina they implement. When a player rightclicks a lever, MachinaCraft will ask each registered blueprint to detect itself at that location. If successful, a new Machina is created from that blueprint.
MachinaCraft will periodically ask the Machina to check its integrity, and if successful send a heartbeat in which it can take action. The Machina can inform MachinaCraft when it should receive the next heartbeat, what its new location is (if any), or deactivate itself.
Included is an optional framework that:
- Simplifies specifying the blueprint
- Implements the integrity check for your Machina using the above blueprint
- Can move a Machina 1 block up, down, north, east, south, west
- Can teleport the Machina to a location
- Can rotate the Machina
- Can detect collisions for move, teleport, rotate actions
- Supports blocks that have additional data such as torches, levers, rails, and blocks with inventory such as furnaces and chests
- Support for optional modules.
Plugin developers looking for an example can take a look at the code for MachinaCraft.
Repository
On Hiatus
Short version: I'm on hiatus from Minecraft and developing this plugin, but the source code is available for anyone who wants to fork this and continue development.
Long version: As some of you may know, I haven't updated MachinaCraft in some time and I wanted to explain a little bit. Minecraft has taken a back seat for me in the last couple months. Also, the server I play on is Forge-based rather than Bukkit-based, which means I haven't been able to play with the results of my own plugin for a long time now. That has been a real motivation killer which is why there hasn't been any real development activity.
So it hasn't been an easy decision but I'm now officially on hiatus. My apologies to you who were hoping for more updates and even more features or cool machines - unfortunately I won't be the one implementing them. The project is open source however, and I hope there is someone out there who is willing to pick up the torch - you've got my blessing if you do.
Last but not least, a thanks to everyone who visited this site, helped out others with their questions when I wasn't around to answer them, or just had fun with the plugin! :)
To plugin developers
You're free to fork the project and continue under a new name, or use this project page to release an update, just contact me and I'll add you as an author. If you do want to pick up development I'd be happy to give some pointers via PM or irc (#bukkitdev) to help you get familiarized with the code.
The source code is available on the repository under the machinacraft4 branch.
评论 0
登录后参与评分
还没有评论,来抢沙发吧