NoFlyZone (禁飞区-阻止玩家在特定区域飞行)
这个插件可以在指定的 WorldGuard 区域内禁止玩家飞行,除非他们具有相应的权限。NoFlyZone 是由 AaronL98 提出的需求,但在测试服务器上的他和其他几位玩家认为这个功能对其他人也会很有用,所以我决定将它发布出来。我只花了大约30分钟的时间开发这个插件,但它的确可以在特定区域阻止玩家飞行。
你只需要通过命令或手动编辑配置文件将区域名称添加到 NoFlyZone 的配置列表中,然后使用 "/nfz reload" 命令进行重新加载。任何没有 "noflyzone.bypass" 权限的玩家一旦进入该区域将无法飞行。
该插件需要 WorldGuard 6.x + WorldEdit 的支持才能正常工作!
配置非常简单,只有2个条目:
NoFlyZone version: 1.1 Main Configuration
在下方列出的区域会禁止玩家在进入时飞行
no_fly_regions: world: - testflyregion SpawnWorld: - spawn - pvp world_nether: - test no_fly_message: '&cNo flying here!'
name: NoFlyZone
main: me.clip.noflyzone.NoFlyZone
version: 1.1
author: [extended_clip]
description: Stop players from flying in certain regions
depend: [WorldGuard, WorldEdit]
commands:
noflyzone:
description: NoFlyZone admin command
aliases: [nfz]
permissions:
noflyzone.bypass:
description: allowed to fly anywhere
default: op
noflyzone.admin:
description: allowed to use commands
default: op
这个插件是开源的,欢迎随意使用:
.containeri,.first,.second{position:absolute;}.containeri{margin:auto;top:91px;bottom:0;right:0;left:677px;width:170px;height:50px;transition:all 0.3s ease;transform:scale(0.8);}.wrapi{width:100%;height:50px;border:2px solid #FFF;transition:all 0.3s ease;border-radius:5px;}.first,.second{width:100%;height:50px;font-family:"Open Sans",sans-serif;transition:all 0.2s ease-in-out;font-size:17px;text-transform:uppercase;color:#FFF;letter-spacing:2px;text-align:center;vertical-align:middle;line-height:50px;}.second{opacity:0;}.first,.second{cursor:default;}.containeri:hover{width:250px;}.containeri:hover .wrapi{padding-bottom:17px;}.containeri:hover .first{transform:translateY(-8px);padding-top:5px;}.containeri:hover .second{transform:translateY(20px);opacity:1;}
收录



