这是 MPL 的 Bukkit 插件。本页面仅关注该插件。
若想了解更多关于 MPL 的信息,请查阅其 wiki。
功能
本插件的主要功能是允许你在服务器上编译 MPL 脚本,而无需在 MCedit 中打开世界、使用一键式设置或通过 WorldEdit 导入结构图。
MPL 并非由我编写。它是由 Adrodoc55 开发的命令方块脚本语言。
你可以在世界中拥有多个带有独立文件的结构,并且可以通过一条简单的命令即时编译它们。
注意事项
请注意,本页面仅涵盖基础知识。如需更多信息,请阅读我们的 wiki。
或者查看 项目页面。
如果 wiki 与本页面存在冲突,请以 wiki 为准。但请务必告知我。
安装
与大多数其他插件一样,安装过程非常简单。只需将 MplManager.jar 上传至你的 plugins/ 文件夹即可。如果该文件夹不存在,请先启动一次服务器。
插件首次运行后,应在你的 plugins/ 文件夹中创建以下结构:
plugins/
├── MplManager/
│ ├── lang/
│ ├── lib/
│ ├── scripts/
│ ├── config.yml
│ └── structures.yml
└── MplManager-*.jar
lang/ 包含所有翻译文件。如果删除它们,它们将被重新生成。你也可以添加自己的语言。
lib/ 包含一些必需的库,如果你(意外)删除了它们,它们将在每次启动时重新生成。
scripts/ 是你的脚本文件夹。你可以随意创建子目录。
config.yml 是配置文件。你可以在这里调整一些设置。
structures.yml 是所有结构的保存文件。除非你想丢失所有结构,否则请勿删除它。
如果遇到任何问题,请首先确保你使用的是 Java 1.8 运行服务器
命令
/mpl <mpl_command> [parameter]: 执行一个 mpl 命令。"/mpl add" 等同于 "/mpladd"。
/mpladd <Name> [File.mpl] [x y z]: 向世界中添加一个 MPL 结构。该结构不会立即生成。请使用 "/mplcompile <Name>" 来生成它。
/mpcompile <Name> [force]: 编译脚本并创建结构。如有必要,将停止并删除旧结构。"force" 参数会强制结构在不等待停止的情况下进行编译。
/mpldel <Name> [keep]: 移除结构。若要保留世界中的结构,请添加参数 "keep"。
/mpllist [page]: 列出所有结构。
/mplnotify <Name>: 通知正在等待编译的任务继续。只能从命令方块中使用!
/mploption <Name> <Option> [true|false] 或 /mploption <Name> list: 设置或显示选项的值。也可以列出所有活动选项。
/mplreload [all|structures|config]: 从文件重新加载结构或配置。默认情况下将重新加载所有内容。
权限
mplmanager.add: 用户是否可以添加新结构(默认:op)
mplmanager.compile: 用户是否可以编译 MPL 脚本(默认:op)
mplmanager.del: 用户是否可以删除结构(默认:op)
mplmanager.list: 用户是否可以列出所有结构(默认:op)
mplmanager.option: 用户是否可以设置结构的选项(默认:op)
mplmanager.reload: 用户是否可以重新加载文件中的结构(默认:op)
mplmanager.*: - mplmanager.add - mplmanager.compile - mplmanager.del - mplmanager.list - mplmanager.option - mplmanager.reload
mplmanager.user: - mplmanager.compile - mplmanager.list - mplmanager.option
mplmanager.admin: - mplmanager.add - mplmanager.del - mplmanager.list - mplmanager.reload
配置
- language:
消息的语言。
确保 lang 目录中存在同名的 .yml 文件。
你也可以据此创建自定义语言。 - includeNotify:
是否自动包含 "/mplnotify <Name>" 命令。
This is the Bukkit plugin for MPL. This page will focus on the plugin only.
If you want to learn more about MPL check out their wiki.
Features
The main feature of this plugin is to allow you to compile MPL-scripts on a server without having to open the world in MCedit, use the one-command setup or import the structure with WorldEdit and a schematic.
MPL has not been written by me. It is a Command Block Script Language by Adrodoc55.
You can have multiple structures with independent files in your world. And you can compile them on the spot with a single simple command.
Notes
Please keep in mind that this page just covers the basics. For more information please read our wiki.
Or have a look at the project page.
If there is a conflict between the wiki and this page, the wiki is right. But please tell me anyways.
All credit for MPL goes to Adrodoc55!
Installation
As with most other plugins the installtion is quite simple. Just upload the MplManager.jar to your plugins/ folder. If it does not exits start your server once.
After the plugin has run for the first time it should have created the following strcuture in your plugins/ folder:
plugins/
├── MplManager/
│ ├── lang/
│ ├── lib/
│ ├── scripts/
│ ├── config.yml
│ └── structures.yml
└── MplManager-*.jar
lang/ will contain all translation files. If you remove them they will be regenerated. You also can add your own language.
lib/ will contain some required libraries which will be regenerated each start should you (by accident) delete them.
scripts/ is the folder for your scripts. You may create subdirectories if you please.
config.yml is the config file. You can adjust some settings here.
structures.yml is the save file for all structures. Do not delete it unless you want to loose all structures.
If you run into any problems please first make sure you are running the server with Java 1.8
Commands
/mpl <mpl_command> [parameter]: Executes a mpl command. "/mpl add" is the same as "/mpladd".
/mpladd <Name> [File.mpl] [x y z]: Adds a MPL structure to the world. The structure will not be generated. Use "/mplcompile <Name>" for that.
/mpcompile <Name> [force]: Compiles the script and creates the structure. Will stop and delete the old structure if necessary. "force" forces the structure to compile without waiting for it to stop
/mpldel <Name> [keep]: Removes the structure. To keep the structure in the world add the parameter "keep"
/mpllist [page]: Lists all structures
/mplnotify <Name>: Notifies a waiting compilation to continue. Can only be used from command blocks!
/mploption <Name> <Option> [true|false] or /mploption <Name> list: Sets or displays the value of a option. Also can list all active options
/mplreload [all|structures|config]: Reloads the structures or the config from file. By default everything will be reloaded
Permissions
mplmanager.add: Can the user add a new structure (default: op)
mplmanager.compile: Can the user compile a MPL script (default: op)
mplmanager.del: Can the user delete a structure (default: op)
mplmanager.list: Can the user list all structures (default: op)
mplmanager.option: Can the user set options for a structure (default: op)
mplmanager.reload: Can the user reload the structures from file (default: op)
mplmanager.*: - mplmanager.add - mplmanager.compile - mplmanager.del - mplmanager.list - mplmanager.option - mplmanager.reload
mplmanager.user: - mplmanager.compile - mplmanager.list - mplmanager.option
mplmanager.admin: - mplmanager.add - mplmanager.del - mplmanager.list - mplmanager.reload
Configuration
- language:
Language of the messages.
Make sure you have a .yml file with the same name in the lang directory
You can also create a custom language with that. - includeNotify:
Whether to automatically include the "/mplnotify <Name>" command
下载 MplManager
下载 MplManager
下载 MplManager
下载 MplManager
下载 MplManager
下载 MplManager
下载 MplManager
下载 MplManager
下载 MplManager
下载 MplManager
v2.10.1
=======
* 更新 MPL 至 v1.2.0
v2.10
=====
* 更新 MPL 至 v1.1.0
v2.9.3
======
* 修复了在尝试运行未签名的自定义构建版本时导致的崩溃问题(修复 #16 ())
v2.9.2
======
+ 添加了来自 的指标数据
* 更新 MPL 至 v1.0.1
* "/mplnotify <Name>" 现在会被正确包含在相应位置(修复 #10 ())
v2.9.1
======
+ jar 文件现在会在每次启动时进行签名并验证签名
v2.9
====
+ 添加了语言文件(修复 #14 ())
+ 添加了配置文件
* /mplreload 命令现在也可以重新加载配置文件
* 文件大小从约 4 MiB 减少至约 620 KiB
v2.8.2
======
* 添加了新的“卸载时删除”选项(修复 #15 ())
* "/mplnotify <Name>" 会自动包含在卸载过程中(部分修复 #10 ())
v2.8.1
======
* 更新 MPL 至 v1.0.0
v2.8
====
+ 实现了自动编译和通知选项(修复 #5 ())
* 改进了 /mpllist 的布局。现在会显示所有活动选项
v2.7.1
======
+ 添加了补全功能(Tab Complete)(修复 #13 ())
v2.7
====
+ 添加了 /mpllist 命令(修复 #2 ())
* 修复了 bug #12 ()
v2.6.1
======
* 修复了 bug #11 ()
v2.6
====
+ 添加了权限系统(修复 #6 ())
* 改进了库加载过程
v2.5.2
======
* 修复了 bug #9 ()
v2.5.1
======
* 更新以适配 Minecraft 1.10.2
* (Bukkit-1.10.2-R0.1-SNAPSHOT)
v2.5
====
* 更新 MPL 至 v0.11.0
v2.4.1
======
* 修复了 bug #7 ()
* 其他小调整与修复
v2.4
====
+ 实现了自动启动选项
+ 实现了自动停止选项
+ 添加了 /mplnotify 命令
v2.3.1
======
+ 添加了选项列表功能
+ 将变更日志 (CHANGELOG) 集成到 jar 文件中
v2.3
====
* 更新以适配 Minecraft 1.9.4
* (Bukkit-1.9.4-R0.1-SNAPSHOT)
v2.2
====
+ 首次公开发布
+ 添加了 /mpl 命令
+ 添加了 /mpladd 命令
+ 添加了 /mpldel 命令
+ 添加了 /mplcompile 命令
+ 添加了 /mploption 命令
+ 添加了 /mplreload 命令
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
评论 0
登录后参与评分
还没有评论,来抢沙发吧