
已过时!
由于 Plotty v2 已完成并在 BukkitDev 上发布,Plotty v1.x 现已过时。您可以在此处找到它。请更新到此版本以获取更多功能、更优的数据存储方式、更少的错误以及更多改进!
Plotty
Plotty 是一款用于世界生成器 InfinitePlots 的地块管理插件。它使用 WorldEdit 和 WorldGuard 来保护地块,并提供自定义玩家可拥有地块数量等选项。
此插件需要安装 WorldEdit、WorldGuard、Vault 和 InfinitePlots。缺少其中任何一项,该插件将无法正常工作。
WorldGuard
我收到通知,WorldGuard 即将更新(如果尚未更新)至更高版本(6.x),这将导致 Plotty 失效,直到我更新它以支持 WorldGuard 6.x。这并非我的过错,但我会尽力修复这一问题。
功能特性
- /plot new 命令会自动查找并创建新地块。
- 可配置的地块数量上限。
- 地块受 TNT 和苦力怕破坏的保护。
- 配置需求极少。
- 支持地块好友功能!
- 可前往任意好友的地块!
命令列表
- /plot - 显示 Plotty 帮助信息。
- /plot new - 查找并认领一个新地块。
- /plot friend <id> <player> - 将某玩家添加为你的地块好友。
- /plot unfriend <id> <player> - 从你的地块中移除一名好友。
- /plot tp <id> - 传送到你拥有的某个地块。
- /plot tpf <id> - 传送到你有好友权限的地块。
- /plot list - 列出你的地块 - GID 为全局 ID(1.2 版本新增),其他玩家可使用此 ID 传送至你的地块。
- /plot info - 获取你当前所在地块的信息。
- /plot del <id> <f> - 删除其中一个地块。(若需移除自己在好友地块中的身份,请添加 f 参数)。注意 - 这将改变地块的 ID。
- /plot admin listall - 列出世界中所有地块。(别名 /plot a listall)
- /plot admin del <player> <pid> - 删除某玩家的地块。PID 为该玩家专属的 ID。可通过 /plot a listall 查找。(别名 /plot a del)
- /plot goto <gid> - 传送到世界中的指定地块 - GID 为该地块的全局 ID。
- /plot admin migrate - 将地块数据迁移至 v1.2 版本。如果你曾使用或正在使用 1.1 或更低版本,必须执行此操作!
- /plot admin corrupted - 删除 v1.1 版本中损坏的地块。(部分地块因 v1.1 版本的故障而损坏 - 抱歉!)
设置指南
1. 如果你尚未创建世界,请先创建——必须使用 InfinitePlots 生成这个世界。
2. 在 Plotty 配置文件中,将地块大小设置为与 InfinitePlots 中设置的地块大小一致。(默认为 64)。
3. 在 Plotty 配置文件中,将世界名称设置为使用 InfinitePlots 生成的世界名称。
4. 根据需要自定义 Plotty 配置文件中的其余部分。
5. 如果你想保护路径区域,请输入 /region flag __global__ build deny。
6. Plotty 现在已设置完成!玩得开心!
权限设置
权限格式仅为 "plotty.命令名",其中“命令名”是命令的第一部分,例如:plotty.new。这些权限遵循 SuperPerms 或默认 Bukkit 权限标准,原因是大多数权限管理器都支持这种格式。请使用 "plotty.*" 作为通配符以获取所有命令的权限——管理员(ops)也拥有所有命令权限。对于管理员命令,权限格式为 "plotty.admin.具体命令名",例如 plotty.admin.del。Plotty 依赖 Vault 进行权限管理。
针对特定玩家/组的地块数量上限
为组设置最大地块数
要为特定组设置最大地块数,请进入配置文件,在 "groupmaxplots" 下添加 "组名: 最大地块数",其中“组名”为组的名称,“最大地块数”为你希望分配给该组的地块数量。
为玩家设置最大地块数
要为特定玩家设置最大地块数,请进入配置文件并找到 "playermaxplots"。在其下方添加 "玩家名: 最大地块数",其中“玩家名”为玩家名称,“最大地块数”为你希望分配给该玩家的地块数量。
示例配置文件:
plotty:
plotSize: 64
plotHeight: 20
maxPlots: 5
world: Creative
groupmaxplots:
guest: 1
builder: 5
moderator: 15
playermaxplots:
Notch: 1000
bob: 10
地块上的告示牌
告示牌放置在地块的右下角。对于 1.2 之前的版本,现有地块不会自动放置告示牌。
目前还没有针对此问题的配置选项,但未来我会添加一个。
重要 (仅当您已运行/使用 Plotty v1.1 或更低版本时才执行这些修复!)
注意 - 我已尽力使修复过程尽可能简单,对于由此带来的任何不便,我深表歉意。
要修复所有问题,请执行以下命令。
1. - /plot a fixcaps - 这将修复文件名,使其全部变为小写。在 v1.2.1 之前的版本中,文件会以玩家名称的大小写混合形式创建,这会导致玩家丢失地块,且 Plotty 会认为它们已损坏。因此,务必首先执行此操作。
2. - /plot a migrate - 这将把所有地块迁移到 v1.2 格式。
3. - /plot a corrupted - 这将删除已损坏的地块。此步骤为可选,但推荐执行。
还强烈建议您使用命令 '/region flag __global__ deny-spawn wither' 来阻止在 1.4 版本中生成凋灵。Plotty 内部没有针对凋灵的防护机制。如果您不向世界添加上述标志,凋灵将会爆炸。
链接
下载 | 源代码
注意 - 如果您未运行 v1.2 或 v1.2 尚未被 BukkitDev 接受,描述中的某些功能可能不存在。

Outdated!
Plotty v1.x is now outdated as Plotty v2 is finished and available on BukkitDev. You can find it here. Please update to this version for much more features, a better way of storing data, less bugs and much, much more!
Plotty
Plotty is a plot management plugin for the world generator, InfinitePlots. It uses WorldEdit and WorldGuard to protect the plots, and there is also options to customize how many plots people can have, etc.
This plugin requires WorldEdit, WorldGuard, Vault and InfinitePlots.. Without them, it will not work.
WorldGuard
I have been notified that WorldGuard will soon update (if it hasn't already) to a later version (6.x) which WILL BREAK PLOTTY until I update it with support for WorldGuard 6.x. This is not my fault, and I will do what I can to fix it.
Features
- Automatically finds and creates new plot upon /plot new.
- Configurable limit of plots.
- Plots are protected from TNT and creepers.
- Requires very little configuration.
- Plot friend functionality!
- Go to anyone's plot!
Commands
- /plot - Show Plotty help.
- /plot new - Find and claim a new plot.
- /plot friend <id> <player> - Add a friend to your plot.
- /plot unfriend <id> <player> - Remove a friend from your plot.
- /plot tp <id> - Teleport to one of your plots.
- /plot tpf <id> - Teleport to a plot you are 'friended' in.
- /plot list - List your plots - GID is the global ID (new in 1.2), this can be used for other players to teleport to your plot.
- /plot info - Get the info of the plot you're standing in.
- /plot del <id> <f> - Delete one of your plots. (add f to remove yourself from a friended plot). Note - this will change IDs of plots.
- /plot admin listall - List all plots in the world. (alias /plot a listall)
- /plot admin del <player> <pid> - Delete a player's plot. PID is the ID specific to the player. Find this with /plot a listall. (alias /plot a del)
- /plot goto <gid> - Goto a plot in the world - GID is the Global ID for the plot.
- /plot admin migrate - Migrate the plots to v1.2. You must do this if you have/had version 1.1 or below!
- /plot admin corrupted - Delete the corrupted plots from v1.1. (some plots are corrupted due to a glitch in v1.1 - sorry!)
Setup
1. If you haven't already, make the world - it must generate with InfinitePlots.
2. Set the size of the plots in the Plotty config to the size of the plots you set for InfinitePlots. (default is 64).
3. Set the world name in the Plotty config to the name of the world generated with InfinitePlots.
4. Customize the remaining parts of the Plotty config at will.
5. If you want to protect the pathways, type /region flag __global__ build deny.
6. Plotty is now setup! Have fun!
Permissions
The permissions are just "plotty.commandname", commandname being the first part of the command, eg: plotty.new. The permissions are SuperPerms/the default Bukkit permissions, the reason being that most permissions managers support this anyway. Use "plotty.*" as a wildcard for ALL commands - ops also have all the commands. For admin command, the permission is "plotty.admin.commandnamehere", ex. plotty.admin.del. Plotty depends on Vault for permissions.
Max plots specific to players/groups
Setting max plots for groups
To set maximum plots for certain groups, go into the config file and under "groupmaxplots", add "groupname: maxplots", groupname being the name and maxplots being the number of plots you want to give them.
Setting max plots for users
To set maximum plots for certain users, go into the config file and find "playermaxplots". Under this, add "playername: maxplots", playername being the name of the player and maxplots being the number of plots you want to give them.
Example config:
plotty:
plotSize: 64
plotHeight: 20
maxPlots: 5
world: Creative
groupmaxplots:
guest: 1
builder: 5
moderator: 15
playermaxplots:
Notch: 1000
bob: 10
Signs on Plots
Signs are placed on the bottom right corner of plots. For versions below 1.2, existing plots will NOT have signs placed on them.
Currently there is no config option for this, but in the future I will add one.
IMPORTANT (only do these bugfixes if you have ran/used Plotty v1.1 or below!)
Note - I have tried to make the process of fixing bugs as simple as it can be, I am very sorry for any inconvenience.
To fix all of the bugs, do the following commands.
1. - /plot a fixcaps - This will fix the file names to make them all lowercase. In versions prior to v1.2.1, files would be created with lowercase and uppercase versions of player names, this caused the players to lose plots and Plotty will think they're corrupted. It is crucial that you do this first.
2. - /plot a migrate - This will migrate all the plots to v1.2.
3. - /plot a corrupted - This will delete the corrupted plots. This is optional but recommended.
It is also STRONGLY RECOMMENDED that you use the command '/region flag __global__ deny-spawn wither' to stop spawning of the wither in 1.4. There are no protections built into Plotty against the wither. It will explode if you don't add the flag above to the world.
Links
Download | Source Code
Note - some features in the description may not exist if you are not running v1.2/1.2 has not been accepted by BukkitDev.
评论 0
登录后参与评分
还没有评论,来抢沙发吧