Bukkit 平台中功能最全面、灵活性最高的自助式防护系统。高度可配置,兼容 MCPC+。
此项目的开发版本可在提供的持续集成服务器上获取。这些版本未经 BukkitDev 工作人员批准。使用风险自负。
这些预配置的字段只是您配置 PreciousStones 的方式之一。您可以全部使用,只挑选您喜欢的,或者创建自定义的字段。
您可以从超过 150 种具有不同功能的标记中进行选择,以配置仅属于您服务器的独特力场,实现您所需的所有功能。从防护、药水效果、物品没收、回滚能力到传送,可能性无穷无尽。
它们附带完整的权限和限制功能,可按每种力场类型限制其分发。您可以将它们作为捐赠者的奖励,或者直接出售,这是增加服务器资金的好方法。您的玩家会喜欢它们并反复购买!
Wiki
此项目的开发版本可在提供的持续集成服务器上获取。这些版本未经 BukkitDev 工作人员批准。使用风险自负。
捐赠
喜欢这个插件?请考虑捐赠支持!
视频
PreciousStones 基础教程
展示每种默认石头的效果。
演示各种力场类型(使用自定义构建石头)
PreciousStones 评测,涵盖所有默认石头。
PreciousStones 拥有两种类型的防护:不可破坏方块和力场方块:
不可破坏方块
这是对方块本身的保护,类似于 OwnBlocks。列入不可破坏方块列表的方块除了所有者外,任何人都无法破坏;它们归属于放置它们的玩家。它们可以用作建筑材料,例如防破坏的城市墙壁、坚不可摧的金库等,也可以防止某些类型的方块被盗,如音符盒、栅栏或任何您希望防止被破坏的物品。手持工具右键点击该方块即可查看其所有者。
注意: 您在此列表中放置的方块类型不能添加到力场列表中。
力场方块
力场方块会向周围投射出一个向外扩展的力场。它们可以通过添加力场标记来拥有各种不同的属性。力场的半径从方块本身向外延伸。(例如,半径为 3 时,生成的力场尺寸为 7x7x7;您可以选择添加自定义高度,以覆盖根据半径计算出的高度,设置为任意您想要的高度。)
力场标记
这些是构成力场的不同属性。必须提供标题和方块类型,其余部分可以是任意数量的各种不同力场标记。
以下是配置文件中定义“城市防护”力场的摘录:
Quote:
- title: City Protection
block: 57
radius: 20
custom-height: 15
prevent-fire: true
prevent-place: true
prevent-destroy: true
prevent-explosions: true
prevent-unprotectable: true
prevent-flow: true
welcome-message: true
farewell-message: true
visualize-on-rightclick: true
mixing-group: 1
cuboid: true
这是我配置“城市防护”力场的方式,您可以简化它、重命名、更改方块类型、调整大小,或者移除和添加任意数量的标记。每个标记的含义说明可以在 Wiki 中找到。您可以使用这些来修改默认设置或创建自定义力场。
力场信息
使用 config.yml 中 tool-items 列表里配置的工具之一右键点击您的任何一个力场,将显示该力场的具体信息。右键点击不属于您的力场只会告诉您力场的所有者是谁。您可以通过将 public-block-details 设置切换为 true,来配置所有力场显示完整信息。使用工具项之一右键点击地面上的方块,可以告知该方块是否受到保护。
力场可视化
您可以通过站在一个字段内并输入 /ps visualize 来可视化该字段的样式,这将在字段周围放置玻璃方块(放置在字段内部)。此可视化效果直接发送给玩家的客户端,服务器上的其他玩家无法看到。一旦玩家移动,可视化效果将被移除,以防止他人与之交互。这将帮助您直观地查看受保护的内容。
立方体字段
立方体字段是新一代的字段。您可以通过为其赋予 cuboid 标志将其转换为立方体字段。乍一看,立方体字段的行为与普通字段完全相同。像普通字段一样,它们可以放置以根据配置的大小围绕区块半径创建字段。但内部机制完全不同,立方体字段的形状可以重新定义。
重新定义立方体 / 绘制模式
使用 [潜行左键点击] 工具可以将立方体字段放置在绘制模式中。在绘制模式下,您可以 [左键点击] 区域周围的区块来扩展保护立方体。 [右键点击] 朝向任意方向将沿该方向扩展立方体一个区块。 [潜行右键点击] 任何地方将撤销您上次的选择,如果您犯了错误。要完成并关闭立方体,请再次 [潜行左键点击] 任何地方,或者简单地点击字段方块。
从技术上讲,您只需要选择两个区块,即立方体相对角的每一个角,以便形成立方体。但我们都知道,这几乎从来不是我们想要定义立方体的方式。例如,您心中有一个特定的内容想要保护,比如带有地下区域的房屋,或半空中的浮动平台,或是您可以向下看到的山谷。传统的立方体定义方法要求您将挖掘到某个想象的角落以选择底部角块,或堆积区块以选择顶部角块。在立方体绘制模式下,而不是被迫选择对角,您可以通过在其方向上左键点击从远处选择实际想要保护的区块,之后会创建一个能够包裹所有选定区块的最小形状立方体。
立方体体积
当您将字段放入绘制模式时,其配置的高度和半径会被转换为体积,并作为新字段形状可覆盖的可用区块数提供给玩家。例如,半径为 5 的字段(即 11x11x11)将被转换为区块体积,因此 11x11x11 = 1331 个区块。然后您将能够使用可用体积重新定义立方体。
如果立方体设置了 custom-volume 标志,则将使用该体积,覆盖从半径/高度计算的体积。如果您希望玩家能够放置一个小字段(例如半径为 0),然后将其重新定义为更大的字段,这非常有用。适用于需要放置在其他人拥有的字段旁边而不引起冲突的地块等场景。
立方体组
在绘制模式下,您可以通过放置更多相同类型的字段来增加字段的可用体积。您放置的每个字段都会将其体积添加到父级中。这样您就可以在任何尺寸下创建巨大的字段。当您关闭立方体时,您放置的所有字段都将变成一个组。右键点击其中任何一个都会为您提供相同的信息,打破组中的一个区块将打破所有区块。
立方体混合
在绘制模式下,您可以放置不同类型的字段,其字段标志将被导入正在绘制的立方体中。这样,您就可以将多个字段的效果混合到一个字段中。哪些字段可以与哪些字段混合可以通过将您的字段放入具有 mixing-group 标志的“混合组”中进行配置,同一组中的字段将能够相互混合。您希望将大小和“成本”相似的字段放在同一组中。
注意:没有混合组的字段将无法混合
注意:仅导入字段标志,不会向立方体添加额外体积。
字段与立方体
立方体字段保存在单独的数据库表 (pstone_cuboids) 中,而字段保存在 (pstone_fields) 中。由于这一点,将人们已经使用的现有字段更改为立方体或反之亦然是一个坏主意。
破坏还原
破坏还原字段正是如其名称所示。它们是个人版的 BigBrother 字段。它们允许您回滚字段内进行的任何破坏行为。这些字段将在数据库中记录不允许进入字段的玩家进行的所有区块破坏以及爆炸造成的所有区块破坏。被破坏并记录的区块不会掉落物品,而是直接消失。这些区块有两种模式 - 您可以在右键点击它们时通过命令回滚破坏,或者可以使用 grief-revert-interval 标志按预定义的时间间隔自动回滚破坏。您可以通过将它们添加到配置文件中的 grief-revert.black-list 中来定义不希望被还原且可以被偷走的区块列表(破坏时掉落)。
邻近告密者
任何带有 snitch 标志的区块都将创建一个字段,该字段将记录玩家在字段内的活动。它将记录他们的进入、任何区块破坏和放置,以及字段内的任何区块使用情况。您可以通过右键点击区块或输入 /ps snitch 查看此列表。您可以通过发出命令 /ps snitch clear 随时清除列表。
森林管理员
这将允许你的用户放置一个方块,并在其周围瞬间生成一整片树林和草地。该方块必须放置在肥沃的方块上才能激活。被视为“肥沃”的方块类型可以通过 fertile-blocks 标志进行指定,这些方块将被改造为适合植物生长的草地。当伐木者完成其任务后,激活方块本身会变成一棵树。潜在可生成的树木数量可通过 tree-count 标志配置,你可以通过 tree-types 标志选择生长何种类型的树木,并通过 shrub-types 标志选择生长何种类型的灌木。生成整片森林所需的时间可以通过 grow-time 标志设置。
传送(Translocation)
这让你可以在一处建造,然后将该建筑传送到其他地方。它的功能基本上与世界编辑命令相同,但不会让你复制物品,并且可以以受控的方式分发给玩家。
工作原理
你放置传送场,根据需要调整长方体区域,然后使用 /ps setname 为该场命名。现在它就可以开始记录了。
它将记录场内所有区域的更改。当你完成区域内的建造后,右键点击或破坏方块以存储场内的一切。这将把记录的所有方块从世界中移除并复制到数据库中,传送器将禁用自身,准备移动。
破坏该场并将其带到目的地,放置下来,用之前相同的名称命名它,然后右键点击它,将其记录的内容还原到新位置。随后你使用 "/ps translocation unlink" 命令将方块与传送器解绑(这样当你破坏它时,方块会保留在原处)。
命名
你可以使用同一个方块保存多个具有相同名称的传送项目。项目是通过名称记录的。所以如果你将方块命名为“house”并建造了一座房子然后存储它(禁用该方块)。然后你可以将方块重命名为“tree”,并建造一棵树。接着你可以走到目的地,将方块命名为“house”并生成你的房子。然后你可以将方块命名为“tree”并生成你的树。实际上,你可以拥有无限数量的不同名称的存储项目,并在需要时使用同一个方块调出它们。存储物品的时间没有限制。(注意:PS 会清除服务器上超过 20 天不活跃的玩家所属的所有数据,包括已保存的传送项目)
其他用途
传送器还可以用作方块的切换开关。例如,你可以放置一个并建造一堵假墙,然后将红石和拉杆连接到传送器,你就可以通过拨动开关让这堵墙出现和消失。你可以建造可切换的桥梁、便携式房屋等。
操作指南
引用:
例如,假设你想将你的基地移动到地图边缘:
- 在基地附近放置传送石 (pstone)
- 重塑长方体以包围你的基地并闭合长方体
- 面向 pstone
- /ps setname base
- /ps translocation import(将场内所有内容导入数据库)
- /ps translocation delete 2 3 31 37 38(移除导入方块中的草/泥土/花朵,不想把地面一起带走)
- 使用工具右键点击该场方块以存储一切(你会注意到你选择的所有内容已从世界中消失)
- 破坏 pstone 并将其带到新基地位置
- 放置传送石 (pstone)
- 面向 pstone
- /ps setname base(它会告诉你已存储了 x 个方块)
- 右键点击 pstone 在你眼前生成你的基地。
- 破坏 pstone 即可完成。
允许他人访问
你可以使用 allow、allowall、remove 和 removeall 命令允许他人进入你的领域。allowall 和 removeall 命令允许或移除玩家进入你所有的领域。而 allow 和 remove 命令仅对你正指向或站立的领域有效。如果你的领域重叠,那么站在其中一个领域内将允许/移除玩家进入所有重叠的领域。
以下是你可以允许的示例:
| 命令 |
描述 |
| /ps allow [player] |
允许一名玩家进入你的领域 |
| /ps allow c:[tag] |
允许一个氏族进入你的领域 |
| /ps allow g:[group] |
允许一个群组进入你的领域 |
| /ps allow * |
允许所有人进入你的领域 |
因此,例如你设置了一个发射器领域并希望允许多人使用它,你可以这样做:
/ps allow c:toads
/ps allow g:admins
/ps allow rabbleroost
/ps allow willhicks
或者你也可以在一行中全部执行:
/ps allow c:toads g:admins rabbleroost willhicks
通过以下插件获取氏族功能

出售与租赁
借助全新的可租赁、可共享及可购买标志,玩家现在可以出租和出售他们的地块了!
告示牌格式
- [标签]
- 数量(物品/方块)或 数量 货币
- 租赁时长
示例:
出租城市地块
<sub>(30个金锭,使用6天)</sub>
- [Rent](租赁)
- 30 (266)
- 6d
对公共GodStone的使用收费
<sub>(50经济币,使用20分钟,多名玩家可以同时租赁)</sub>
- [Shared](共享)
- 50 rupees
- 20m
出售房屋
<sub>(花费15个钻石方块以取得所有权)</sub>
- [Buy](购买)
- 15 (57)
使用方法:
租赁 - [Rent] 标签允许你在特定时间内访问该地块。玩家可以挖掘、更改方块并进行除修改或删除地块之外的任何操作。所有者仍保留对该区域的权利,但无法修改告示牌、破坏方块、禁用它、更改其名称、更改半径或进入绘制模式。租赁后,[Rent] 标签将变为红色,表示已被占用,且告示牌最后一行会出现倒计时。(仅适用于具有 rentable 标志的地块)
共享 - [Shared] 标签允许多名玩家租赁同一地块,用于公共区域、矿场、按次付费的发射器、矿工急促效果、GodStone 等。当至少有一人租赁该地块时,标签将变为金色。(仅适用于具有 shareable 标志的地块)
购买 - [Buy] 标签将方块的所有权转移给新主人。首先,希望购买土地/方块的玩家必须右键点击告示牌以完成付款。标签将变为红色,并在告示牌最后一行显示其名字。资金将从他账户扣除,并将其添加到该地块的允许列表中,以便他开始建造。当新主人右键点击告示牌接收款项时,交易完成。他作为原所有者的身份被移除,新主人被设置为该地块的正确所有者。(仅适用于具有 buyable 标志的地块)
价格 - 可以是物品或经济币。如果想使用物品,则需输入两个数字:数量和括号内的物品/方块ID。(例如 10 (266) 表示十个金锭)。如果想使用经济币,则输入一个数字,后跟任意文本,不要加括号(例如 10 credits)。
租赁时长 - 可以是周、天、小时、分钟、秒或它们的组合(最多三种,例如 5w)(例如 5h 30m 5s)。这仅适用于租赁或共享地块。
收取租金 - 地块所有者必须右键点击告示牌以收取款项,款项会累积直到他进行此操作。
用法:
租户
| 右键点击 |
购买一个租赁周期(可多次点击以购买更多周期) |
| 左键点击 |
显示地块详情并可视化地块轮廓,以便更好地了解其覆盖范围。如果地块正被占用,将显示租户是谁以及剩余租期。 |
| Shift+右键点击 |
放弃当前租赁。(不退款) |
所有者
| 右键点击 |
收取租金、收取已售出地块的款项,或列出该地块上的租户信息。 |
地块内部的地块
v8 版本中的多项更改现已支持“地块内包含地块”。这在之前的 PS 中是不可能的。旧的叠加系统已被移除。你会发现命令不再允许你对重叠的地块进行操作。(尽管你仍然可以重叠同名同类型的地块,使得欢迎和告别消息仅显示一次)。
现在,你可以拥有巨大的城镇区域,这些区域内可以包含由玩家自行放置的地块。实现这一功能的关键改动之一是:当在多个重叠区域的范围内触发任何事件(如破坏方块、放置方块、引燃火等)时,最小的那个区域将始终具有最高优先级,并且是唯一会被遵守的规则。例如,城镇区域可能包含街道和城镇所有的区域,这些区域将遵循城镇区域的规则。但其中的子区域则拥有各自独立的标志位,这些标志位可能与城镇区域的完全不同。处于地块区域内的玩家将同时受到城镇区域和地块区域规则的影响;但如果两者都设置了禁止放置的标志位,则以地块区域的规则为准(例如允许特定人员进入等)。如果你希望地块完全覆盖其所在的区域,并彻底移除父级区域的标志位影响,请在该区域中添加 “plot” 标志。
地块支持多层级结构。例如,你可以走进一座城市并看到城市的欢迎信息,然后走进城市内的一个城镇并看到城镇的欢迎信息,接着走进其中某人的地块并看到地块的欢迎信息。在每个层级中,你将受到上方所有层级的标志位以及当前层级内部标志位的影响,且最小的区域始终具有最高优先级。
重叠规则
众所周知,如果你尝试放置一个与他人区域重叠的区域,系统会提示错误信息,告知你无法在此处放置。这显然是为了防止侵占他人的土地。此外,如果某人允许你进入其区域,你可以在附近放置一个与其区域重叠甚至位于其内部的区域。在 PS 的早期版本中,这曾引发问题:你的朋友用新添加的区域与你原有的某个区域重叠,但他忘记将你加入该区域的白名单,导致你失去了对自己部分土地的控制权。
在 v8 版本中,通过两项新更改,这种情况已成为历史。第一项是自动授权:如果你允许朋友进入你的某个区域,而他在附近放置了一个与你的区域重叠的新区域,PS 会自动将你添加到他的区域白名单中。这将防止你失去对土地的控制权。你会发现地块功能能够正常运行。更重要的是,如果这位朋友某天决定不再喜欢你并希望从白名单中移除你,他将无法从与你重叠的那个特定区域中移除你,这是得益于利益冲突保护机制。他唯一能做的措施就是直接删除该区域。你可以放心,你始终掌控着自己的土地。
维持秩序
你现在可以设置某些区域只能放置在另一些区域内部。例如,你可能希望地块区域只能放置在城镇区域内部。你可以通过 allow-only-inside 区域标志位来实现这一点(即 allow-only-inside: [Town Protection])。启用此设置后,就不会出现服务器内城镇之外到处散布的地块区域从而打乱整体布局的情况。此外,为了提供额外保护,一旦地块已放置在父级区域内部,在移除所有子区域之前,父级区域将无法被删除或重新绘制。
或者,例如你想严格控制 Jack-O-Death 区域,你可以将其设置为仅可放置在 City Protect 区域内部。这样你就可以确信,玩家是在自己的建筑内出于防御目的使用这些区域,而不是将它们随意散布在整个地图上。
按区域设置权限
现在你可以将权限与区域绑定。你可以为默认用户分配使用小型地块的权限,为大中型地块分配成员权限,并为 VIP 用户开放创建城镇的权限。现在只需使用 required-permission 区域标志位即可轻松实现(即 required-permission: preciousstones.plots.vip)。自定义任意权限名称并将其添加到区域中。只有拥有该特定权限的玩家才能放置该区域,其他玩家放置的将是普通方块。
领地主张模式
你可以通过在设置中开启 "prevent-place-everywhere" 和 "prevent-destroy-everywhere" 配置项,阻止任何人放置或破坏世界中的任何方块。启用此功能后,玩家只能在拥有或获准访问的区域内部放置和破坏方块。带有 allow-place 和 allow-destroy 标志位的区域将成为玩家在受保护土地上唯二能够放置方块的地方,因此也是他们用于主张领地的区域。
经济支持
Vault 用于经济支持
你可以使用 price 区域标志位为区域设定价格。当区域被放置时,相应金额将从玩家账户中扣除。当区域被移除(方块被破坏)时,金额将被退还。
数据值支持
你现在可以在 *unbreakableBlocks* 列表、*bypassBlocks* 列表、*unprotectableBlocks* 列表以及 *block* 区域标志位中使用数据值。这意味着你现在可以定义针对特定“方块+数据值”组合的区域。例如,过去你可以通过将 block 设置为 "18" 来使用树叶创建区域,而现在你可以实际创建四种不同的树叶区域:'18:4'、'18:5'、'18:6'、'18:7'。如果你运行 Tekkit 模组包,这意味着你可以使用锡块作为区域 "224:1",使用铜块作为另一个区域 "224:2",以此类推。
有一个限制是:你不能将零数据值('18:0')与其他数据值一起使用。零数据值('18:0')的处理方式与不使用任何后缀直接使用方块编号(18)相同,这等同于表示“将该方块的所有数据值均视为区域”。
国际化
插件文件夹中包含一个名为 language.yml 的文件,其中包含该插件的所有文本内容。通过此文件,您可以将整个插件的界面语言更改为您自己的语言。即使您的服务器语言是英文,您也可以通过该文件修改插件中的任何文本,自定义所有输出消息(聊天和日志)的颜色,甚至可以根据需要更改命令名称以更好地适配您的服务器。
Dynmap-PreciousStones
此插件由 dandielo 开发,可在 Dynmap 中显示农田区域的范围。只需将其与 PreciousStones 一起放置,并使用新增的农田标记来选择希望在地图上显示的农田区域。
The most full featured and flexible self-service protection system in Bukkit. Highly configurable, MCPC+ compatible.
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
These pre-configured fields are just one of the ways you can configure PreciousStones. Use them all, use just the ones you like, or create your own.
You can choose from over 150 flags with varied functionality to configure your own force fields unique to your server that do exactly what you need them to do. From protection to potion effects to confiscation of items to rollback abilities to teleportation, the possibilities are endless.
They come with full permissions and limiting functionality to limit the distribution of the fields, per field type. Use them as a reward for donators, or sell them outright, they are a great way to increase funding for your server. Your players will love them and come back for more!
Wiki
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Donations
Like the plugin? Please consider donating!
Videos
PreciousStones Basics Tutorial
Showcase of the effect of each of the default stones.
Demonstration of various field types (using custom build stones)
Review of PreciousStones that goes through all the default stones.
PreciousStones has two types of protections unbreakable blocks and field blocks:
Unbreakable blocks
These are protection for the block itself, like OwnBlocks. The blocks on the unbreakable-blocks list will not be breakable by anyone but the owner, they will belong to whomever placed them. They can be used as building material i.e. ungriefable city walls, impenetrable vaults, etc. or protect block types from theft i.e. note blocks, fences, or anything that you want to be grief proof. You can right-click on the block with a tool in hand to view who owns it.
Note: The block types you place on this list cannot be added to the fields list.
Force-Field blocks
Fields are blocks that project a force-field outwards onto their surroundings. They can have various different properties which can be added with field flags. The field's radius extends from the cube itself outwards. ( i.e. For a radius of 3 the resulting force field would measure 7x7x7, you can optionally add a custom height to override the height calculated from the radius to whatever height you choose)
Field Flags
These are the different properties that make up a field. A title and a block type are required, the rest can be any number of a variety of different field flags.
Here is an excerpt from the config showing how the City Protection field is defined:
Quote:
- title: City Protection
block: 57
radius: 20
custom-height: 15
prevent-fire: true
prevent-place: true
prevent-destroy: true
prevent-explosions: true
prevent-unprotectable: true
prevent-flow: true
welcome-message: true
farewell-message: true
visualize-on-rightclick: true
mixing-group: 1
cuboid: true
This is how I chose to make the City Protection field, you can ease it, rename it, change the block type, change the size of it, or remove and add on any number of flags. An explanation of what each of these flags mean can be found at the wiki. You can use these to modify the defaults or create your own custom fields.
Field Info
Right clicking on any one of your fields with one of the tools configured in the tool-items list in the config.yml will show you specific information for that field. Right clicking on fields that don't belong to you will only tell you who the owner of the field is. You can configure for all fields to display the full info by toggling the public-block-details setting to true. Right clicking on a block in the ground with one of the tool-items will tell you if the block is protected or not.
Field Visualization
You can visualize what one of your fields looks like by standing inside of it and typing /ps visualize, this will surround the field with glass blocks (placed inside of the field). This visualization is sent to the player's client directly and is not visible by any other player on the server. Once the player moves, the visualization will be removed to prevent people from interacting with it. This will help you visually see what is being protected.
Cuboid Fields
Cuboid fields are the next generation of fields. You can make a field into a cuboid field by giving it the cuboid flag. Cuboid fields behave identical to the normal fields at first sight. Like a normal field they can be placed down to create a field around the radius of the block based on the configured size. But internally they are completely different animals, the shape of cuboid fields can be redefined.
Redefining a Cuboid / Drawing Mode
Cuboid fields can be placed in drawing mode by [sneak-left-click] with a tool. During drawing mode you can [left-click] on blocks around the area to grow the protection cuboid. [right-click] aiming at any direction will expand the cuboid one block in that direction. [sneak-right-click] anywhere will undo your last selection if you made a mistake. And to finish and close the cuboid, [sneak-left-click] again anywhere, or simply click on the field block.
Technically you only required to select two blocks, one from each opposite corner of the cuboid in order to form the cuboid. But we all know that that is almost never how we want to define a cuboid. You have a specific content in mind that you want to protect for example a house with underground area, or a floating platform in mid air, the valley that you can see down below. Traditional methods of cuboid definition require you to dig down into some imagined corner to select the bottom corner block, or pile up blocks to select the top corner block. In cuboid drawing mode, rather than being forced to select opposite corners, you select the actual blocks you want protected from a distance by just left clicking in their direction, and afterwards a cuboid will be created that is the smallest shape that can wrap around all selected blocks.
Cuboid Volume
When you place a field into drawing mode its configured height and radius are converted into volume and given to the player as the available blocks his new field shape can cover. For example field of radius 5 (which is 11x11x11) will be converted into block volume, so 11x11x11 = 1331 blocks. You will then be able to redefine the cuboid using the available volume.
If the cuboid has the custom-volume flag set, then that volume will be used instead overriding the volume calculated from the radius/height. This is good if you want players to be able to place down a small field, with say radius 0, and then be able to redefine it into a much larger field. Good for plots and such that need to be placed next to fields owned by others without causing conflicts.
Cuboid Groups
While in drawing mode you can increase the available volume of a field by placing more of the same type of fields down. Each one you place down will add on its volume to the parent. This way you will be able to create immense fields at any size. When you close the cuboid, all the fields you placed down will turn into a group. Right clicking on any of them will give you the same information and breaking one of the blocks in the group will break them all.
Cuboid Mixing
While in drawing mode you can place down different field types down and their field flags will be imported to the cube being drawn. This way you can mix the effects of several fields into one. What fields can mix with what fields can be configured by putting your fields into "mixing groups" with the mixing-group flag, fields in the same groups will be able to mix with each other. You will want to put fields of similar size and "cost" in the same groups.
Note: Fields without a mixing group will not be mixable
Note: Only the field flags are imported, no extra volume is added to the cuboid.
Fields vs Cuboids
Cuboid fields are saved on a separate database table (pstone_cuboids) than fields (pstone_fields). Due to this changing existing fields that people are already using into cuboids or viceversa is a bad idea.
Grief Revert
Grief revert fields are just what they sound like. They are personal BigBrother fields. They will let you roll back any grief that was done within the field. These fields will record all block breaks by players who are not allowed into the field and all block breaks from explosions in the database. The blocks that are broken and recorded will not drop, they will just disappear. There are two modes to these blocks - you can have them rollback the grief on command when right clicking on them, or you can have them roll back the grief at a predefined interval with the grief-revert-interval' flag. You can define a list of blocks that you don't want to be revertible and will be stealable (drop when broken) by adding them to the grief-revert.black-list in the config.
Proximity Snitch
Any block with the snitch flag will create a field which will keep a record of player's activities within the field. It will keep a record of their entry, any block breaks and placements, and any block usage inside the field. You can see this list by right-clicking on the block or typing /ps snitch. You can clear the list at any time by issuing the command /ps snitch clear.
Forester
This will allow your users to place a block and instantly create an entire forest of trees and grass around it. The block must be placed on a fertile block to activate. The types of blocks that are considered fertile can be specified with the the fertile-blocks flag, these blocks will be terraformed into grass where plant-life can grow. Once the forester has accomplished its task, the activator block itself will turn into a tree. The amount of trees that have the potential to grow can be configurable with the tree-count flag, you can choose what kind of trees to grow with the tree-types flag, and what kind of shubs to grow with the shrub-types flag. The amount of time it will take to grow the whole forest can be set with the grow-time flag.
Translocation
This will let you build in one place, and translocate that build somewhere else. It's basically the same functionality as the worldedit commands, but this will not let you duplicate items, and can be handed out to your players in a controlled way.
How it works
You place your translocation field, adjust the cuboid to your liking, and then you name the field with /ps setname. Now it is ready to record.
It will record all changes to the area inside the field. Once you are done building inside the area right click or break the block to store everything inside the field. This will remove all the blocks recorded from the world and copy them to the database, and the translocator will disable itself ready for the move.
Break the field and take it to its destination, place it down, name it the same name you named it before and right click on it to revert everything it had recorded onto the new location. You then use the "/ps translocation unlink" command to unlink the blocks from the translocator (so that when you break it the blocks stay where they are)
Naming
You can have many translocation projects saved with the same block. The projects are recorded by name. So if you name your block "house" and build a house and store it (disable the block). Then you can rename the block "tree", and build a tree. Then you can walk over to your destination and name your block "house" and spawn your house. Then you can name your block "tree" and spawn your tree. In reality you can have an infinite number of stored projects with different names, and pull them up whenever you need them using the same block. There is no limit to how long you can keep something stored. (Note: PS purges all player data belonging to players inactive more than 20 days on the server, this includes saved translocations)
Alternate uses
The translocator can also be used as a toggle for blocks. For example you can place one down and build a false wall, then hook up redstone and a lever to the translocator and you can make that wall appear and disappear with the flip of a switch. You can build toggable bridges, portable houses, etc.
Walkthrough
Quote:
For example say you want to move your base to the edge of the map:
- Place translocator pstone near your base
- Reshape cuboid to fit around you base and close cuboid
- Point at the pstone
- /ps setname base
- /ps translocation import (imports everything inside the field into the databsae)
- /ps translocation delete 2 3 31 37 38 (remove the grass/dirt/flowers from the imported blocks, don't wanna take the ground with us)
- Right click on the field block with a tool to store everything (you will notice everything you had selected is now gone from the world)
- Break the pstone and take it to the new location of your base
- Place translocator pstone
- Point at the pstone
- /ps setname base (It will tell you you have x amount of blocks stored)
- Right click on the pstone to spawn your base in front of your eyes.
- Break the pstone and you're done.
Allowing Others
You can allow people into your fields using the allow, allowall, remove, and removeall commands. The allowall and removeall commands allow or remove the players into all of your fields. While the allow and remove command only work for the fields you are either pointing at or standing in. If your fields are overlapped, then standing in one will allow/remove players from all overlapped fields.
Here is an example of what you can allow:
| Command |
Description |
| /ps allow [player] |
allows a player into your field(s) |
| /ps allow c:[tag] |
allows a clan into your field(s) |
| /ps allow g:[group] |
allowed a group into your field(s) |
| /ps allow * |
allows everyone into your field(s) |
So for example you set up a launcher field and want to allow several people to use it you can do this:
/ps allow c:toads
/ps allow g:admins
/ps allow rabbleroost
/ps allow willhicks
Or you can do them all in one line as well:
/ps allow c:toads g:admins rabbleroost willhicks
Clans are available through

Selling and Renting
Players can now rent and sell their fields with the new rentable, shareable, and buyable flags!
Sign format
- [tag]
- amount (item/block) or amount currency
- rent period
Examples:
Renting out a city lot
<sub>(30 gold ingots for 6 days use)</sub>
- [Rent]
- 30 (266)
- 6d
Charging for your public GodStone use
<sub>(50 economy money for 20 minutes use, many players can rent it at the same time)</sub>
- [Shared]
- 50 rupees
- 20m
Selling a house
<sub>(costs 15 diamond blocks to take ownership)</sub>
- [Buy]
- 15 (57)
How To:
Renting - The [Rent] tag gives you allow access to the field for the specific amount of time. The player can mine, change blocks and do anything except modify or remove the field. The owner will still have rights to the area, but he will not be able to modify the sign, break the block, disable it, change its name, change its radius, or enter drawing mode. After you rent the field it's [Rent] tag will turn RED signifying that its occupied and a countdown will appear on the last line of the sign. (Renting only works for fields with the rentable flag)
Sharing - The [Shared] tag allows multiple players to rent the same field, used for public areas, mines, pay per use launchers, Miner's haste, godstone and what not. It's tag will turn GOLD when at least one person is renting the field. (Sharing only works for fields with the shareable flag)
Buying - The [Buy] tag changes the owner of the block to a new owner. First the player who wants to purchase the land/block must right-click on the sign to make the payment. The tag will turn RED and his name will be displayed on the last line of the sign. Money will be taken from him and he will be added to the allow list on the field so he can start building on it, the transaction completes when the new owner right clicks on the sign to take his payment. He is removed as owner of the field and the new owner set as the proper owner of the field.(Buying only works for fields with the buyable flag)
Price - Can either be items or economy money. If you want items then you use two numbers, the amount and the item/block id in parenthesis. (i.e. 10 (266) means ten gold ingots). If you want to use economy money, then use a number with any text you want after it without parenthesis (i.e. 10 credits)
Rent period - This can be in weeks, days, hours, minutes, seconds or a combination of up to three (e.g. 5w) (e.g. 5h 30m 5s). This only applies to rent or shared fields.
Collecting rent - The owner of the fields must right click on the sign in order to collect his payment, the payments will accumulate until he does so.
Usage:
Tenant
| Right-Click |
Purchases one rent period (can click multiple times to purchase more) |
| Left-Click |
Will show the field details and will visualize an outline of the field to get a good view of the area it covers. If it is being occupied, it will show who the tenant is and how long they have left on their rent. |
| Shift-Right-Click |
Abandons your current rent. (no money back) |
Owner
| Right-Click |
Collect the rent, collect the money for a purchased field, or list out the tenants on the field. |
Plots inside fields
Several changes in v8 now allow fields inside fields. Something which was just not possible with PS before. Removed is the old overlapping system. You will notice the commands will no longer allow you to do operations on overlapped fields. (Though you can still overlap fields of the same name and type so that welcome and farewell messages only show once).
You can now have, for example, huge Town fields which can have plot fields inside of them that your players can place themselves. One of the changes that makes this possible is that whenever an event is fired (block break, place, fire ignite, etc) in an area with several overlapping fields, the smallest one always takes precedence and is the only one that is gonna be obeyed. So for example the Town may have streets and town owned areas that will follow the rules of the Town field. But the fields inside of it, will have their own flags which can vary completely from the Town field's flags. The players inside the plot fields will be subject to both the town's fields and the plots fields, but if both have for example prevent-place flags, then the one in the plot will take precedence (which can have people allowed on it etc.). If you want the plots to completely override the area they cover and remove the parent field's flags from the area completely, add the "plot" flag to the field.
Plots can be multi-leveled, for example you will be able to walk into a city and and see the city's welcome message, and walk into a town inside of it and see the town's welcome message, and walk into someones plot inside of that and see the plot's welcome message, and inside each level you will be subject to all the flags of the levels above along with the inner one, with the smallest field always taking precedence.
Overlapping Rules
As you know, if you try to place a field that overlaps someone elses field, you will see an error message telling you that you cannot place a field there. This is in place, obviously, so you can't encroach on someone elses land. Also you know if someone allows you into their field, you can place a field nearby that can overlap their field or even be inside of it. In earlier versions of PS this caused problems. Your friend overlaps one of your fields with a new field they added, and they forgot to allow you on it, and so now you no longer have control of a chunk your land.
This is a thing of the past with two new changes in v8. The first is automatic allowing, if you allow your friend on one of your fields, and he places a field nearby overlapping yours, PS will automatically allow you into his field. This will prevent the problem of you no longer being in control of your land. You will see that plots will just work. More so, if that friend one day decides he doesn't like you and wants to remove you from his allowed lists he will not be able to remove you from that specific field that is overlapping yours thanks to the conflict-of-interest protections. His only recourse will be to remove the field altogether. You can feel safe that you will always be in control of your land.
Keeping Order
You can now make it so certain fields can only be placed inside of others. For example you may want your plot fields only placeable inside Town fields. You can now do this with the allow-only-inside field flag. (i.e. allow-only-inside: [Town Protection]). With this in place you wont have plot fields all over your server outside of towns throwing everything out of whack. Also for added protection once a plot has been placed inside a parent field, the parent field will not be able to be removed or redrawn until all the fields inside of it are removed.
Or for example you want to keep control of Jack-O-Death fields, you can make them only placeable in City Protect fields, this way you can rest assured that players are using these defensively inside their own structures and not peppering them all over the map.
Permissions per Field
You can now tie permissions to your fields. You can now give your default users permissions to use small plots, give the larger ones to your members, and allow your VIP users to create towns. Now it's super easy with the required-permission field flag (i.e. required-permission: preciousstones.plots.vip). Make up any permission you like and add it to your fields. Now only the players with that specific permission will be able to place the field. Everyone else will just place normal blocks.
Land Claiming Mode
You can prevent anyone from being able to place or destroy any blocks in your world by turning on the "prevent-place-everywhere" and "prevent-destroy-everywhere" configs in the settings. With this enabled players will only be able to place and break inside fields they own or are allowed in. Fields with the allow-place and allow-destroy flags will be the only fields players will be able to place in protected land, thus are the fields that they will use to claim land.
Economy Support
Vault is used for economy support
You can use the price field flag to give a field a price. When the field is placed, the amount will be taken from the player's account. When the field is removed (block is broken), the amount will be refunded.
Data values
You can now use data values in the *unbreakableBlocks* list, the *bypassBlocks* list, the *unprotectableBlocks* list, and in the *block* field flag. This means you can now define fields that operate on specific block+data combinations. For example where in the past you could use leaves to make a field by setting block to "18" on the field, now you can actually create four different fields with leaves '18:4', '18:5', '18:6', '18:7'. If you run tekkit, this means you can for example use tin blocks as a field "224:1", and use copper blocks as another "224:2", etc.
One limitation is that you cannot use the zero data ('18:0') along with the rest. Data of zero ('18:0') is treated the same as using the block number without anything (18), which is the same as saying "use all data values for this block as a field".
Internationalization
A file containing all the text on the plugin can be found in the plugin folder called language.yml. This file will allow you to change the entire plugin into your own language. Even if your server's language is English, this file will allow you to change any and all of the text in the plugin, will let you change the colors of all messages outputted (chat and logs), and even let you change the name of the commands to best suit your server.
Dynmap-PreciousStones
This plugin, created by dandielo, shows you the areas of fields in dynmap. Just drop it in with PreciousStones and use the new field flags to select which fields you want to be visible on the map.
评论 0
登录后参与评分
还没有评论,来抢沙发吧