• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“PlotSquared”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
安装
C7w讨论 | 贡献
=与Plotme的转换
第61行: 第61行:
 
前往"storage.yml",来配置你的 MySQL 数据库。
 
前往"storage.yml",来配置你的 MySQL 数据库。
  
===与Plotme的转换==
+
===与Plotme的转换===
  
 
请确保你完成了上面的步骤。
 
请确保你完成了上面的步骤。
第73行: 第73行:
 
如果你有问题的话,请联系我们。  
 
如果你有问题的话,请联系我们。  
  
第二部:选择地形
+
第二步:选择地形创建器
  
Sometimes PlotSquared will be unable to switch the generators for your plot worlds. If this is the case, you will need to manually switch the generator over while the server is stopped.
+
有时 PlotSquared 不能为你的地皮选择合适的地形创建器。如果你遇到了这种情况,你需要在服务器关闭时手动选择地形创建器。
  
If you have Multiverse or MultiWorld, you can change the generator within the their respective configuration. Otherwise you will need to change the generator to "PlotSquared" in the "Bukkit.yml" which is located in your root folder.
+
如果你有多世界插件的话,你可以在配置中改变地形创建器。其他你也可以在"Bukkit.yml"中把地形创建器改为"PlotSquared"。
  
If you start the server without having switched over the generators, you may see a debug message saying: Plot 'X;Z' in DB for world 'plotworld' does not exist! Please create this world, or remove the plots from the DB!. This is a gentle reminder that you need to switch the generator over for a world.
+
如果你没有选择地形创建器就开启服务器,你会看到一条消息刷出: Plot 'X;Z' in DB for world 'plotworld' does not exist!
  
Step 3: Permissions
+
请创建这个世界,或移除DB的地皮!这就是一个提醒,你需要切换世界的地形生成器。
  
One thing that isn't converted is permissions. If you are a typical creative server, you can likely just go with the following perms:
+
第三步:权限
 +
 
 +
另一件事是配置权限。如果你是一个典型的创造服务器的话,你需要这些权限。
  
 
plots.permpack.basic
 
plots.permpack.basic
 +
 
plots.plot.#
 
plots.plot.#
(where # is the number of allowed plots) See the permissions page for more information.
 
  
Step 4: Optimizing your worlds:
+
把#替换成你想要玩家拥有几块地皮。
 +
 
 +
====第四步:配置你的世界====
 +
Drastically reduce the size of your plotworld
 +
 
 +
World border
 +
 
 +
To prevent continued exploration, the world border can be enabled in each plotworld. The option can be found in the worlds.yml at worlds.<world>.world.border
 +
 
 +
The world border is based on the furthest plot from the origin (0,0) and will prevent chunks from being loaded outside this region.
 +
 
 +
If you already have plots which are far away from the origin, the world border will not be very effective. You may wish to use the condense function (see below).
 +
 
 +
Plot expiry:
 +
 
 +
In the settings.yml look for the following section
 +
 
 +
enabled-components:
 +
  plot-expiry: false
 +
# This is an auto clearing task called `task1`
 +
auto-clear:
 +
  task1:
 +
    threshold: 1
 +
    required-plots: -1
 +
    confirmation: true
 +
    days: 7
 +
    worlds:
 +
    - "*"
 +
    # See: https://github.com/IntellectualSites/PlotSquared/wiki/Plot-analysis
 +
    calibration:
 +
      variety: 0
 +
      variety-sd: 0
 +
      changes: 0
 +
      changes-sd: 1
 +
      faces: 0
 +
      faces-sd: 0
 +
      data-sd: 0
 +
      air: 0
 +
      air-sd: 0
 +
      data: 0
 +
To enable ExpireManager, set 'enabled' to true, and set the expiry delay in days. This clears and deletes plots where the owner has been inactive (i.e. not logged on) for the amount of days specified.
 +
 
 +
For more advanced plot clearing, see the plot analysis page: https://github.com/IntellectualSites/PlotSquared/wiki/Plot-analysis
 +
 
 +
Plot condensation (Added in 2.7.5) (intensive)
 +
 
 +
This task is great in conjunction with the world trim function (see below) This will move any plots outside a specified radius nearer to the origin (0,0). To check how many plots are outside a radius: /plot condense <world> info <radius>
 +
 
 +
It will also display the minimum radius you can specify.
 +
If you already have thousands of plots outside your desired radius, it can take quite a long time.
 +
To run the task use: /plot condense <world> start <radius>
 +
 
 +
World trim (intensive)
 +
 
 +
The world trim function will attempt to delete as many chunks which contain no plots. It will drastically reduce the size of the world on disk. It is an intensive task, so it is recommended to run it only every week or so.
 +
 
 +
To run the task use: /plot trim <world>
  
See here
+
For world auto-trimming, see here: https://github.com/IntellectualSites/PlotSquared/wiki/Chunk-processor
  
 
==使用==
 
==使用==

2016年9月13日 (二) 19:55的版本

Icon-info.png
本页面已存在其他语言的内容,请协助翻译为本地化的中文。
  • 点击此处开始翻译。
  • 如本模板出现在原文存档页面,请注意更新主页面后,仍需要去除此处该模板。
  • 如当前页面已经没有需要翻译的内容,请删去待翻译模板。
  • 有标题的大篇幅文章,如果短时间内无法全部翻译,请先把所有的标题翻译出来,以便之后的贡献者选择与翻译章节内容。
Icon-info.png
本条目已有一定量的内容,但仍需完善

欢迎参与本条目的完善工作

你可以从以下几个方面入手

  • 参阅格式化手册,并对该页面进行相应格式排版工作;
  • 日常检查是否内容有更新版本并更新该页面;
  • 修复该页面中已出现/潜在的问题

你不能在没有一个合适的地皮插件的情况下使你的服务器上线。PlotSquared 快速,高效,有很高的扩展性。

它有一个世界生成器和一个完整的地皮管理系统。

有许多酷炫的特性,完整的控制和配置,和一个[为其他插件准备的API]。

为什么不尝试下呢?

如果你现在正在使用PlotMe,地皮的转换系统十分的快速且简单,它在下方介绍了。

特性

  • 快速高效
  • 支持多世界
  • 支持 PlotMe 的转化
  • MySQL 和 SQLite 的整合
  • 地皮合并
  • 地皮瞬间清空
  • 怪物保护
  • 地皮大量的标志系统
  • 四种地皮权限 (主人 援建者 信任者 黑名单)
  • 可以从网页上上传/下载地皮模型
  • 可配置的语言文件
  • 可配置的地皮生成
  • 地皮名字
  • 具有API
  • WE在地皮中有限制

下面的需要对应扩展支持

  • VoxelSniper 在地皮中有限制
  • 支持WG的标志
  • 支持不是方形的地皮
  • 支持动态地图
  • 支持统计
  • PlotMe 可以转换

安装

下载文件[在文件页面]

如果你下载下来的是zip文件的话,解压

把"PlotSquared.jar"放到你的plugins目录里

开启服务器以生成必要的文件

数据库设置

Database: SQLite

如果你没有 MySQL 数据库的话,数据库的值会自动设置为SQLite,然后你可以跳过这一步了。

Database: MySQL

请注意你既可以使用 MySQL 也可以使用 SQLite ,但两者不能同时使用。

请注意你可以使用 /plot database 命令来转换到MySql

前往"storage.yml",来配置你的 MySQL 数据库。

与Plotme的转换

请确保你完成了上面的步骤。

如果所有事情都是对的,就会开始转换地皮,覆盖配置,然后覆盖你的多世界设置[平均10W地皮/分钟]

第一步:安装 PlotSquared 删除 PlotMe.jar

删除 PlotMe.jar 这样的原因是如果你的Plotme版本在 0.15 及以上的话,插件会防止你覆盖。当你装载两个插件开启服务器,Plotme会自动替换掉本插件。

如果你有问题的话,请联系我们。

第二步:选择地形创建器

有时 PlotSquared 不能为你的地皮选择合适的地形创建器。如果你遇到了这种情况,你需要在服务器关闭时手动选择地形创建器。

如果你有多世界插件的话,你可以在配置中改变地形创建器。其他你也可以在"Bukkit.yml"中把地形创建器改为"PlotSquared"。

如果你没有选择地形创建器就开启服务器,你会看到一条消息刷出: Plot 'X;Z' in DB for world 'plotworld' does not exist!

请创建这个世界,或移除DB的地皮!这就是一个提醒,你需要切换世界的地形生成器。

第三步:权限

另一件事是配置权限。如果你是一个典型的创造服务器的话,你需要这些权限。

plots.permpack.basic

plots.plot.#

把#替换成你想要玩家拥有几块地皮。

第四步:配置你的世界

Drastically reduce the size of your plotworld

World border

To prevent continued exploration, the world border can be enabled in each plotworld. The option can be found in the worlds.yml at worlds.<world>.world.border

The world border is based on the furthest plot from the origin (0,0) and will prevent chunks from being loaded outside this region.

If you already have plots which are far away from the origin, the world border will not be very effective. You may wish to use the condense function (see below).

Plot expiry:

In the settings.yml look for the following section

enabled-components:

 plot-expiry: false
  1. This is an auto clearing task called `task1`

auto-clear:

 task1:
   threshold: 1
   required-plots: -1
   confirmation: true
   days: 7
   worlds: 
   - "*"
   # See: https://github.com/IntellectualSites/PlotSquared/wiki/Plot-analysis
   calibration:
     variety: 0
     variety-sd: 0
     changes: 0
     changes-sd: 1
     faces: 0
     faces-sd: 0
     data-sd: 0
     air: 0
     air-sd: 0
     data: 0

To enable ExpireManager, set 'enabled' to true, and set the expiry delay in days. This clears and deletes plots where the owner has been inactive (i.e. not logged on) for the amount of days specified.

For more advanced plot clearing, see the plot analysis page: https://github.com/IntellectualSites/PlotSquared/wiki/Plot-analysis

Plot condensation (Added in 2.7.5) (intensive)

This task is great in conjunction with the world trim function (see below) This will move any plots outside a specified radius nearer to the origin (0,0). To check how many plots are outside a radius: /plot condense <world> info <radius>

It will also display the minimum radius you can specify. If you already have thousands of plots outside your desired radius, it can take quite a long time. To run the task use: /plot condense <world> start <radius>

World trim (intensive)

The world trim function will attempt to delete as many chunks which contain no plots. It will drastically reduce the size of the world on disk. It is an intensive task, so it is recommended to run it only every week or so.

To run the task use: /plot trim <world>

For world auto-trimming, see here: https://github.com/IntellectualSites/PlotSquared/wiki/Chunk-processor

使用

命令和权限

扩展插件