Quickhouse
别忘了在 2.1 中提交任何错误报告!
如果你自 2.6 版本以来尚未操作,请确保删除配置文件并让其重新生成以获取新选项。
它是什么?
Quickhouse 是一个用于生成房屋的插件。你可以使用提供的基础房屋,或者创建你自己的房屋,这些房屋可以保存并在任何地方重新生成。
如何使用它?
该插件通过命令来工作。
命令
| 命令 | 参数 | 用途 |
| /qhouse | basic | 生成一个小型简单房屋,一击即可摧毁 |
| tent | 生成一个羊毛房屋,一击即可摧毁 |
| beacon <方块类型> <高度> | 生成一个信标,类型为(钻石、金、绿宝石或铁),高度为 0-3 |
| shouse | 生成一个大型房屋(需要消耗铁锭或使用 Vault) |
| bhouse | 由两个“shouse”组成的房屋(需要消耗钻石或使用 Vault) |
| TARDIS [内部墙壁方块] | 如果你安装了 TARDIS 插件,则生成 TARDIS 插件的种子 |
| /qhremove | <玩家名称> [房屋类型] | 如果只输入玩家名称,它将移除所有房屋;否则你可以输入 basic、tent 或 custom 来移除特定类型的房屋。 |
| /blueprintcreate | <房屋名称> | 保存你用金锄选中的房屋 |
| /qhcustom | | 显示你已保存的自定义房屋列表 |
| <房屋名称> | 生成自定义房屋 <房屋名称> |
| /qhccloak | <房屋名称> | 生成自定义房屋 <房屋名称>,然后使其隐形 |
| /qhcloak | | 重新隐藏你的自定义房屋 |
| /qhdecloak | | 取消隐藏你的房屋 |
| /qhtardis | <房屋名称> | 通过在你面前生成的门,在另一个世界中生成自定义房屋 <房屋名称> |
| /qhgive | | |
| <文件名> [数量] [玩家] | 将文件夹 plugins/quickhouse/Custom Items/<文件名>.yml 中制作的物品给予指定数量的玩家(默认为命令执行者) |
自定义房屋
自定义房屋具有成本功能,蓝图文件 (/plugins/quickhouse/blueprints/<房屋名称>.txt) 的第二行可以是数据 ID、所需数量(如果花费 12 个石头,第二行看起来像这样 "1,12"),或者如果你使用 Vault,则只是一个数字。
房屋物品
你还可以拥有用于执行 /qhouse 和 /qhcustom 命令的物品:自定义房屋物品位于文件夹 quickhouse/Custom Items/<文件名>.yml 中,自定义物品的配方和属性。你可以随意命名它们,并且可以有任意多个。配方是无形状的(可以以任何方式制作,如书本),默认为一根木棍、一个钻石和一个工作台。要使用它,只需右键点击地面,它将产生与执行命令相同的效果。(默认为 /qhcustom modern)
你可以通过执行 /qhgive <文件名> [数量] [玩家] 将物品给予玩家。
隐形建筑
即将成为独立插件 这里,你现在可以执行 /qhccloak <自定义房屋名称>。这将生成房屋,然后使其不可见。服务器上的任何人都看不到它。要再次使其可见,请输入 /qhdecloak。要使其不可见,请输入 /qhcloak。当房屋不可见时,当你靠近它时,方块会以红色染色玻璃的形式出现在你面前,以便你知道它的位置。
最后,你可以使用 /qhdecloak <玩家名称> 自定义谁可以看到你的房屋。或者,如果你只想自己看到它,可以输入 /qhdecloak me
TARDIS 房屋
/qhtardis <用作内部的自定义房屋> 在你面前创建一个门口,当你右键点击其底部方块时,会将你传送到另一个世界中该自定义房屋的相对位置。然后你需要分配一个方块作为返回门口的右键点击对象。
如果你想让物品和你的房屋(以及你自己)免受其他用户的侵害,这非常有用。
当其他人想要进入你的 TARDIS 时,你可以选择执行 /ht yes 或 /ht no 来接受或拒绝他们在点击门底部时访问你的 TARDIS 房屋。此命令将持续有效,直到另一个人允许该玩家进入他们的 TARDIS。
/qhouse tardis 生成一个 TARDIS 种子,但需要 eccentricnz 的 TARDIS 插件才能工作。/qhouse tardis <basic, medium, deluxe> <内部墙壁方块(这是有限的,所以请先查看 TARDIS 页面!)>
关于配置文件呢?
有一个适用于模组的配置文件,在 2.0 版本中如下所示。如果你的配置文件没有相同的选项,则需要删除文件并重新加载服务器。
Use time bracket: //This decides whether or not to specify the time to make a house.
false
shouse cost in Iron Ingots: //ES
50
bhouse cost in Diamonds://ES
63
Override Blocks?://Whether a basic, tent or custom house will delete blocks and it would replace them after
true
Start Time (in ticks) You can build a house://For the time bracket above this is the start time (like ./time set)
0
End Time (in ticks) You can build a house://For the time bracket above this is the start time (like ./time set)
23999
启用 Vault 经济系统 //如果你想使用 Vault 而不是物品来购买小房子和大房子。(如果你不知道 Vault 是什么,此项应设为 false)
true
小房子经济价格 //Vault 中小房子的价格
6000
大房子经济价格//Vault 中大房子的价格
12000
普通房屋价格://Vault 中普通房屋的价格
0
帐篷屋价格://Vault 中帐篷屋的价格
0
过期时间(毫秒)或 0 表示禁用:(14 天) //临时房屋默认多久后被移除,默认为 14 天。
1209600000
权限设置?
是的!存在以下权限:
| 权限 | 描述(授予的访问权限) |
| quickhouse.qhouse | /qhouse |
| quickhouse.qhouse.basic | /qhouse basic |
| quickhouse.qhouse.tent | /qhouse tent |
| quickhouse.qhouse.shouse | /qhouse shouse |
| quickhouse.qhouse.bhouse | /qhouse bhouse |
| quickhouse.blueprintcreate | /blueprintcreate |
| quickhouse.qhcustom | /qhcustom |
| quickhouse.qhcustom.<housename> | /qhcustom <housename> (这是自定义房屋物品所必需的) |
| quickhouse.item | 使用物品 |
| quickhouse.qhgive | /qhgive <filename> [amount] [player] |
| quickhouse.ht | /ht <yes or no> |
它与其他插件兼容吗?
此插件可以与其他插件配合使用,但并非必需:
- Vault :用于虚拟货币
- Factions :你只能在所属阵营的土地上建造房屋
- WorldGuard :你无法在 WorldGuard 区域中建造房屋
- Grief Prevention :你无法在你不拥有的 GriefPrevention 区域中建造房屋
- Towny (外部链接) 正在开发支持中
- TARDIS (by eccentricnz) (适用于标准 TARDIS)
- 你还使用了哪些插件?
后续计划?
以下是即将加入 quick-house 的功能:
- 根据玩家面朝的方向旋转房屋。
- 通过命令旋转自定义房屋文件。
欢迎提供建议!
Quickhouse
Don't forget to submit any bugs in 2.1!
Make sure you delete the config and let it regenerate for the new options if you haven't since 2.6
What is it?
Quickhouse is a plugin for generating houses. You can use the basic houses provided, or create your own which can be saved and regenerated anywhere.
How do I use it?
This plugin uses commands to work.
Commands
| Command | Arguments | Use |
| /qhouse | basic | Generates a small simple house which can be destroyed in one hit |
| tent | Generates a woolen house which can be destroyed in one hit |
| beacon <block type> <height> | Generates a beacon with the type (diamond, gold, emerald or iron) and height 0-3 |
| shouse | Generates a large house (has a cost in iron ingots or using Vault) |
| bhouse | Generates a house made of two "shouse"s (has a cost in diamonds or using Vault) |
| TARDIS [interior wall block] | Generates the TARDIS seed for the TARDIS plugin, if you have it |
| /qhremove | <playername> [house type] | If you just put the player name it will remove all the houses, other wise you can put basic, tent or custom to remove that house. |
| /blueprintcreate | <housename> | Saves the house you selected with the gold hoe |
| /qhcustom | | Displays a list of custom houses you have saved |
| <housename> | Generates the custom house <housename> |
| /qhccloak | <housename> | Generates the custom house <housename>, and then cloaks it |
| /qhcloak | | Re-cloaks your custom house |
| /qhdecloak | | De-cloaks your house |
| /qhtardis | <housename> | Generates the custom house <housename> in another world through a door that generates in front of you |
| /qhgive | | |
| <filename> [amount] [player] | Gives the amount (default 1) to the player (default the command runner) of the item made in the folder plugins/quickhouse/Custom Items/<filename>.yml |
Custom Houses
Custom houses have a cost feature, the second line of the blueprint file (/plugins/quickhouse/blueprints/<housename>.txt) can either have a data id, how many it requires (So the second line will look like this "1,12" if it costs 12 stones) or just a single number if you use vault.
House Items
You can also have items for performing the /qhouse and /qhcustom commands: Custom house items are in folder quickhouse/Custom Items/<filename>.yml customizes the recipes and stats of the items. You can call them whatever you like and have as many as you want. The recipe is shapeless (can be made in any way, like a book) and defaults as a stick, a diamond and a crafting table. To use it, simply right click on the ground and it will have the same effect as performing the command. (defaults as /qhcustom modern)
You can give the items to players by doing /qhgive <filename> [amount] [player].
Invisible Buildings
Soon to be its own plugin here, you can now do /qhccloak <custom house name>. This will generate the house, and then make it invisible. No one on to the server can see it. To make it visible again, type /qhdecloak. To make it invisible, type /qhcloak. When a house is invisible, when you get close to it the blocks will appear as red stained glass to you so you know where it is.
Finally, you can customize who you show your house to with /qhdecloak <playername>. Or, if only you want to see it you can type /qhdecloak me
Tardis houses
/qhtardis <custom house to use as interior> Creates a doorway in front of you which when you right click the bottom block of, takes you to the relative position of that custom house in another world. You then have to assign a block to right click to use as the doorway back.
This is very useful if you want to keep items and your house (and yourself) safe from other users.
When others want to enter your TARDIS you can either do /ht yes or /ht no to accept or deny their access to your TARDIS house when they click the bottom of the door. This command will last until someone else lets that player into their TARDIS
/qhouse tardis generates a TARDIS seed, but requires the TARDIS plugin by eccentricnz to work. /qhouse tardis <basic, medium, deluxe> <interior wall block (this is limited, so check the TARDIS page first!)>
What about the config?
There is a config for the mod which looks like this in 2.0. If yours doesn't have the same options, you need to delete the file and reload your server.
Use time bracket: //This decides whether or not to specify the time to make a house.
false
shouse cost in Iron Ingots: //ES
50
bhouse cost in Diamonds://ES
63
Override Blocks?://Whether a basic, tent or custom house will delete blocks and it would replace them after
true
Start Time (in ticks) You can build a house://For the time bracket above this is the start time (like ./time set)
0
End Time (in ticks) You can build a house://For the time bracket above this is the start time (like ./time set)
23999
Enable use of Vault for the economy //If you want to use vault instead of items for the shouse and bhouse. (if you don't know what vault is, this should be false for you)
true
shouse cost for economy //Price of shouse in vault
6000
bhouse cost for economy//Price of bhouse in vault
12000
basic house cost://Price of a basic in vault
0
tent house cost://Price of a tent in vault
0
Expiring time (milliseconds) or 0 to disable:(14 days) // how long until temporary houses are removed by default it is 14 days.
1209600000
And permissions?
yes! There are permissions:
| Permission | Description (gives access to) |
| quickhouse.qhouse | /qhouse |
| quickhouse.qhouse.basic | /qhouse basic |
| quickhouse.qhouse.tent | /qhouse tent |
| quickhouse.qhouse.shouse | /qhouse shouse |
| quickhouse.qhouse.bhouse | /qhouse bhouse |
| quickhouse.blueprintcreate | /blueprintcreate |
| quickhouse.qhcustom | /qhcustom |
| quickhouse.qhcustom.<housename> | /qhcustom <housename> (this is required for custom house items) |
| quickhouse.item | Use the items |
| quickhouse.qhgive | /qhgive <filename> [amount] [player] |
| quickhouse.ht | /ht <yes or no> |
Does it work with my other plugins?
This plugin does work with other plugins, but none of them are required:
- Vault : This is used for virtual money
- Factions : You can only build houses in your faction's land
- WorldGuard : You cannot build houses in WorldGuard regions
- Grief Prevention : You cannot build houses in GriefPrevention regions you do not own
- Towny (external link) is currently being worked on
- TARDIS (by eccentricnz) (for a standard TARDIS)
- Any you use?
Any Plans?
Here are some things which will be going into quick-house.
- Rotation of houses depending on the direction you are facing.
- Rotation of custom house files via a command.
Give Suggestions!
评论 0
登录后参与评分
还没有评论,来抢沙发吧