# BistroFlyDay **Repository Path**: myKasa/BistroFlyDay ## Basic Information - **Project Name**: BistroFlyDay - **Description**: BistroFlyDay —— 飞行日 | 酒馆系列插件 - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: https://www.mcxjg.cn - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-28 - **Last Updated**: 2024-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, Minecraft ## README ## BistroFlyDay —— 飞行日 | 酒馆系列插件
一个有意思的小插件,可以规定服务器玩家在哪几天使用飞行
已在1.20.4服务器中使用,其他版本可自行测试反馈
插件已开源至gitee,需手动构建


``` # 插件 指令 & 权限 # 括号中为简短别名 /bistroflyday(flyd) 切换飞行日飞行 - bistro.fly.command.use /bistroflyday(flyd) on <可选 player> 开启玩家飞行日飞行 - bistro.fly.command.on /bistroflyday(flyd) off <可选 player> 关闭玩家飞行日飞行 - bistro.fly.command.off /bistroflyday(flyd) reload 重载插件 - bistro.fly.command.reload ```

```yaml # 当前配置版本 version: 1.2 # 飞行日设置 fly-day: monday: false tuesday: false wednesday: true thursday: false friday: false saturday: true sunday: true # 是否开启 自动检测启用关闭飞行 # 如果为true 则玩家在移动时 会自动检测是否是飞行日 # 如果当前是飞行日 则自动开启飞行 # 有一定的性能消耗 auto-fly: true # 玩家切换世界时取消飞行(建议开启) cancel-fly-when-world-change: true # 校验时间 # 校验时间段内才能使用飞行 check-time: # 是否校验时间 enable: true # 飞行日开始时间 start-time: '00:00' # 飞行日结束时间 end-time: '23:59' # 允许飞行日飞行的世界 enable-worlds: - world # 自定义语言 这里是显示title的语言 # 支持hex颜色 格式为: &#RRGGBB # 可用变量:%player_name% language: # 前缀 prefix: "&7[ 򽸱飞行日 &7] >>> &f" # 没有权限 no-permission: "&7%player_name% &c你没有权限使用这个命令" # 禁止飞行 no-fly: "&f该世界禁止飞行" # 开启飞行日飞行 enable-fly: "&f已 &a开启 &f飞行日飞行" # 关闭飞行日飞行 disable-fly: "&f已 &c关闭 &f飞行日飞行" # 没有到飞行时间 not-fly-day: "&f今天不是飞行日噢 ~" # 不在飞行日时间内 not-fly-time: "&f还没到今天的飞行时间段内噢 ~" # 插件重载完成 reload-complete: "&eBistroFlyDay &f重载完成" # 当前指令只能在游戏内使用 only-in-game: "&c当前指令只能在游戏内使用噢 ~" # 没有指定玩家 no-player: "&c没有指定玩家或者玩家不存在噢 ~" ```