PirateSK 2 (ADDON) EOL

PirateSK 2 (ADDON) EOL - 脚本世界编辑与保护插件

想制作一个能实现WorldEdit和WorldGuard功能的Skript吗?
Bukkit / Spigot 作者 humpjump 支持版本 1.8 - 1.12
服务器使用量
未统计
服务玩家数
未统计
下载量
4,352
插件详细介绍

PirateSK 是一款为 Skript 设计的强大插件,它无缝集成了 WorldEdit 和 WorldGuard,让你能够通过简单的脚本代码轻松管理世界区域、粘贴建筑 schematic 等,极大地扩展了服务器的建造与管理能力。

安装与要求

首先,请停止服务器,然后将 PirateSK.jar 文件放入服务器的 plugins 文件夹中。请确保在安装前已安装并配置好以下必需插件。

  • 必需前置插件:WorldEdit, WorldGuard
  • 放置好文件后,启动服务器即可开始使用 PirateSK 进行脚本编写。

效果 (Effects)

效果用于在 Skript 中执行特定的操作。

添加区域成员

**语法**

add member %players/offline players/strings% to wg region %string% in [world] %world%

说明:将指定的玩家(在线、离线或名称字符串)添加为指定 WorldGuard 区域的成员。

**示例**

command /addmember <text> <text>:
    trigger:
        add member arg-2 to wg region arg-1 in world of player

添加区域所有者

**语法**

add owner %players/offline players/strings% to wg region %string% in [world] %world%

说明:将指定的玩家添加为指定 WorldGuard 区域的所有者。

**示例**

add owner player to wg region "spawn" in world "world"

创建区域

**语法**

create wg region %string% between %location% and %location% in [world] %world%

说明:在指定的两个坐标点之间创建一个新的 WorldGuard 区域。

**示例**

create wg region "shop" between {_pos1} and {_pos2} in world of player

删除区域

**语法**

delete wg region %string% in [world] %world%

说明:删除指定世界中已命名的 WorldGuard 区域。

**示例**

delete wg region "old_area" in world "world_nether"

粘贴 schematic

**语法**

paste schematic %string% at %location%

说明:在指定位置粘贴一个 schematic 文件。注意:只需提供文件名(不含 .schematic 后缀和路径)。

**示例**

command /pastecastle:
    trigger:
        paste schematic "castle" at location of player

移除区域成员

**语法**

remove member %players/offline players/strings% from wg region %string% in [world] %world%

说明:从指定区域中移除一个或多个成员。

**示例**

command /kickfromregion <player> <text>:
    trigger:
        remove member arg-1 from wg region arg-2 in world of player
        send "&a已从区域中移除玩家!"

移除区域所有者

**语法**

remove owner %players/offline players/strings% from wg region %string% in [world] %world%

说明:从指定区域中移除一个或多个所有者。

**示例**

remove owner "Notch" from wg region "admin_zone" in world "world"

保存世界

**语法**

save %worlds%

说明:保存一个或多个指定的世界。

**示例**

on server shutdown:
    save all worlds

填充区域方块

**语法**

set [all] blocks in wg region %string% in [world] %world% to %itemstack%

说明:将指定区域内的所有方块设置为指定的方块或物品类型。

**示例**

command /cleararea <text>:
    trigger:
        set all blocks in wg region arg-1 in world of player to air

表达式 (Expressions)

表达式用于获取和返回特定的值。

区域点1

**语法**

point 1 of wg region %string% in [world] %world%

position 1 of wg region %string% in [world] %world%

说明:返回指定 WorldGuard 区域的最小坐标点(左下角)位置。

**示例**

set {_corner1} to point 1 of wg region "arena" in world "pvp"

区域点2

**语法**

point 2 of wg region %string% in [world] %world%

position 2 of wg region %string% in [world] %world%

说明:返回指定 WorldGuard 区域的最大坐标点(右上角)位置。

**示例**

set {_corner2} to pos2 of wg region "arena" in world "pvp"

位置所在区域

**语法**

wg region at %location%

说明:返回给定位置所处的所有 WorldGuard 区域的名称。

**示例**

set {_regions} to wg region at location of player

重要声明与支持

感谢所有用户的支持!我们已达成以下里程碑:10次、20次、50次、100次、200次、500次及1000次下载!

为了保障插件质量和用户权益,请注意

  • 禁止重新上传本插件。
  • 禁止修改插件代码。
  • 禁止利用本插件牟利。
  • 禁止私自发布本插件的更新(更新将由原作者完成)。

我们承诺为用户提供

  • 24/7 的全天候支持
  • 持续且优质的 PirateSK 更新
  • 最稳定、功能最强大的 PirateSK 使用体验
测试支持版本
1.8 1.9 1.10 1.11 1.12
版本分布
基本信息
插件名称 PirateSK 2 (ADDON) EOL
作者 humpjump
平台 Bukkit / Spigot
支持版本 1.8 - 1.12
点赞数 4
最近版本
暂无数据 -