Skip to content

适用于 Minecraft 的 WorldGuard Region Commands 插件

当玩家进入/离开 WorldGuard 区域时,允许你自动执行命令。

次浏览
18 次浏览
已更新
已更新 18.10.2026

    WorldGuard Region Commands

    "WorldGuard" extension to make the server/a player automatically execute a command when he enters or leaves a WorldGuard region.

    How to use this?

    this plugin adds some new region flags to worldguard: player-enter-command, player-leave-command, server-enter-command and server-leave-command. Each of these flags can store multiple commands that are separated with a comma. The player-enter-command and player-leave-command commands will be executed by the player who enters/leaves a region. The server-enter-command and server-leave-command commands will be executed by the server if a player enters/leaves the region.

    so simply use the usual WorldGuard region command, like this:

    /region flag <region> player-enter-command /list

    to make the player execute /list, or

    /region flag <region> server-leave-command /say Someone left the region.

    to make the server execute the /say command when a player leaves the region. You can use

    /region flag <region> player-leave-command

    to clear the value of the flag.

    Additionally some substrings will be replaced:

    • {player} will be replaced with the name of the player who entered/left the region
    • {region} will be replaced with the name of the region the player entered/left
    • {comma} will be replaced with a comma as it is normally used to execute multiple commands

    Permissions

    • none yet

    Dependencies

    The plugin requires the latest WorldGuard Custom Flags and WorldGuard Region Events.

    Click here for some other plugins using WorldGuard Custom Flags.

    Problems ?

    If you have problems with this plugin read the F.A.Q.. If this did not help you, you can receive help here.

    如何安装 WorldGuard Region Commands

    1. A server on Paper or Spigot

      The plugin runs on the server core; players do not need to install anything.

    2. File goes into the plugins folder

      Download the file WGRegionCommands.jar (7 KB) and put it into the server’s plugins folder.

    3. Restart the server

      On startup the plugin creates its own settings folder in plugins.

    4. Use the “To server” button

      On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

    版本

    含依赖项

    Minecraft加载器文件日期操作
    ——WG Region Commands 0.16.9 KB

    评价

    成为第一个评价 WorldGuard Region Commands 的人

    评论 0

    登录后即可评论登录

    相似插件

    全部插件

    了解更多