2 Star 1 Fork 1

GermMC / WikiGermEngine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fxmail.md 57.07 KB
一键复制 编辑 原始数据 按行查看 历史
清茶 提交于 2022-06-19 12:09 . 同步wiki 2022/6/19/12:07

FxMail


FxMail简介

FxMail 是萌芽引擎的付费附属插件,它是一款支持多种功能的可视化邮箱插件。(需要依赖Fxlib.jar)

该附属为第三方作者开发,请自行评估插件和风险后购买。


配置文件

config.yml

#配置文件版本(勿动)
Version: 1.0.0
#插件验证用户名密码
UserName: ''
PassWord: ''
#检测更新&自动更新
check: true
update: true
#发送金币设置
sendMoney:
  #是否启用
  enable: true
  #名字
  name: '§e金币'
  #发送上限
  limit: 50000
  #手续费
  handlingFee: 0.1
#发送点券设置
sendPoint:
  #是否启用
  enable: true
  #名字
  name: '§b点券'
  #发送上限
  limit: 2000
  #手续费
  handlingFee: 0.3
#发送邮件设置
sendMail:
  #发送上限
  limit: 10
  #是否启用权限上限设置 比如(fzmxer.fxmail.limit.20) 暂未开放,请等待更新
  permissLimit: true
  #发送收费
  money: 10
  point: 0
#发送附件设置
sendItem:
  #是否启用
  enable: true
  #发送上限
  limit: 64
#========== 需要 FxPoints插件 ==========#
#暂未开放
#发送FxPoint
sendFxPoint:
  enable: false
  limit: 1000
  handlingFee: 0.1
#发送FxPoints
sendFxPoints:
  enable: false
  limit: 1000
  handlingFee: 0.1
#=====================================#
#Name黑名单
NameBlackList:
  - '&e屠龙宝刀'
#Lore黑名单
LoreBlackList:
  - '绑定: %player_name%'

FxMail_查看邮件.yml

FxMail_2:
  options:
    startX: "0"
    startY: "0"
    guide: false
    #是否取消ESC关闭界面 (可删除默认为 false)
    escCancel: true
    animations:
      - '透明到不透明'
  background:
    type: 0
    path: 'local<->textures/fxmail/2/background.png'
    locationX: "(w-257)/2+20"
    locationY: "(h-250)/2"
    width: "257"
    height: "250"
  标题:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "center"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&f&l%mail_title%"
    locationX: "(w-257)/2+64"
    locationY: "(h-250)/2+14"
    locationZ: "0"
  发件人:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "left"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&f&l发件人:  %mail_send_player%"
    locationX: "(w-257)/2+39"
    locationY: "(h-250)/2+34"
    locationZ: "0"
  时间:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "right"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&f%mail_time%"
    locationX: "(w-257)/2+260"
    locationY: "(h-250)/2+34"
    locationZ: "0"
  邮件内容:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "left"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&f&l%mail_content%"
    locationX: "(w-257)/2+39"
    locationY: "(h-250)/2+56"
    locationZ: "0"
  金币:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "center"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&e&l%mail_money%"
    locationX: "(w-257)/2+94"
    locationY: "(h-250)/2+201"
    locationZ: "0"
  点券:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "center"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&b&l%mail_point%"
    locationX: "(w-257)/2+94"
    locationY: "(h-250)/2+223"
    locationZ: "0"
  附件1:
    type: 5
    size: "26"
    identity: "annex_1"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  附件2:
    type: 5
    size: "26"
    identity: "annex_2"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2+29.6"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  附件3:
    type: 5
    size: "26"
    identity: "annex_3"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2+29.6*2"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  附件4:
    type: 5
    size: "26"
    identity: "annex_4"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2+29.6*3"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  附件5:
    type: 5
    size: "26"
    identity: "annex_5"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2+29.6*4"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  附件6:
    type: 5
    size: "26"
    identity: "annex_6"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2+29.6*5"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  附件7:
    type: 5
    size: "26"
    identity: "annex_7"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2+29.6*6"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  附件8:
    type: 5
    size: "26"
    identity: "annex_8"
    fillPath: 'local<->textures/fxmail/2/slot.png'
    emptyPath: 'local<->textures/fxmail/2/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-193)/2+29.6*7"
    locationY: "(h-250)/2+163"
    locationZ: "0"
  领取按钮:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/2/button1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/2/button2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-193)/2+172"
    locationY: "(h-250)/2+213"
    locationZ: "0"
    width: "60"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l%mail_draw%"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l领取"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  关闭按钮:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/2/x1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/2/x2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-193)/2+226"
    locationY: "(h-250)/2-3"
    locationZ: "0"
    width: "21.5"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false

FxMail_发送邮件.yml

FxMail_3:
  options:
    startX: "-30"
    startY: "0"
    guide: false
    #是否取消ESC关闭界面 (可删除默认为 false)
    escCancel: true
    animations:
      - '透明到不透明'
  background1:
      type: 0
      path: 'local<->textures/fxmail/3/background1.png'
      #设置图片绘制的位置,locationX以(w-width)/2来设置就是水平居中,locationY同理
      locationX: "(w-257)/2+50"
      locationY: "(h-231)/2+150"
      width: "257"
      height: "130"
  background:
    type: 0
    path: 'local<->textures/fxmail/3/background.png'
    locationX: "(w-257)/2+50"
    locationY: "(h-231)/2-80"
    width: "257"
    height: "231"
  标题:
    type: 7
    #是否在按下enter后自动清空 默认为 true
    autoClear: false
    #是否开启默认的背景 默认为true
    background: true
    #在输入框内没有字的时候预览
    preview: '输入邮件标题'
    #限制输入的字符长度 默认为 32
    limit: 6
    #是否作为焦点 默认为 false
    focus: false
    #是否永久聚焦 默认为 false 如果设置为true 不管玩家的鼠标点击了哪里 都可以输入内容进去
    permanentFocus: false
    #正则验证 符合正则表达式的才允许输入进去 默认为空
    # [^(0-9)] 填入后只能输入数字
    # [^(A-Za-z)] 填入后只能输入字母
    # [^(\u4e00-\u9fa5)] 填入后只能输入中文
    # 更多表达式自行百度
    regular: ""
    #是否实时同步内容到服务端 默认为 false(开发者使用的选项,写配置文件直接删去)
    sync: true
    #填入clear 或者 留空 为清空输入框 默认为 空
    #变量库中会有一个变量实时等于该输入槽中的内容 可以在其他dos中引用 变量为 %界面名_输入槽索引名_input% 该界面为 %default_input_input%
    input: ''
    #是否使失效 默认为 false
    invalid: false
    width: "63"
    height: "14"
    locationX: "(w-60)/2-35"
    locationY: "(h-10)/2-179"
    locationZ: ""
  收件人:
    type: 7
    #是否在按下enter后自动清空 默认为 true
    autoClear: false
    #是否开启默认的背景 默认为true
    background: true
    #在输入框内没有字的时候预览
    preview: '输入收件人...'
    #限制输入的字符长度 默认为 32
    limit: 16
    #是否作为焦点 默认为 false
    focus: false
    #是否永久聚焦 默认为 false 如果设置为true 不管玩家的鼠标点击了哪里 都可以输入内容进去
    permanentFocus: false
    #正则验证 符合正则表达式的才允许输入进去 默认为空
    # [^(0-9)] 填入后只能输入数字
    # [^(A-Za-z)] 填入后只能输入字母
    # [^(\u4e00-\u9fa5)] 填入后只能输入中文
    # 更多表达式自行百度
    regular: ""
    #是否实时同步内容到服务端 默认为 false(开发者使用的选项,写配置文件直接删去)
    sync: true
    #填入clear 或者 留空 为清空输入框 默认为 空
    #变量库中会有一个变量实时等于该输入槽中的内容 可以在其他dos中引用 变量为 %界面名_输入槽索引名_input% 该界面为 %default_input_input%
    input: ''
    #是否使失效 默认为 false
    invalid: false
    width: "63"
    height: "14"
    locationX: "(w-60)/2+38"
    locationY: "(h-10)/2-179"
    locationZ: ""
  内容:
    type: 7
    #是否在按下enter后自动清空 默认为 true
    autoClear: false
    #是否开启默认的背景 默认为true
    background: true
    #在输入框内没有字的时候预览
    preview: '输入邮件内容'
    #限制输入的字符长度 默认为 32
    limit: 256
    #是否作为焦点 默认为 false
    focus: false
    #是否永久聚焦 默认为 false 如果设置为true 不管玩家的鼠标点击了哪里 都可以输入内容进去
    permanentFocus: false
    #正则验证 符合正则表达式的才允许输入进去 默认为空
    # [^(0-9)] 填入后只能输入数字
    # [^(A-Za-z)] 填入后只能输入字母
    # [^(\u4e00-\u9fa5)] 填入后只能输入中文
    # 更多表达式自行百度
    regular: ""
    #是否实时同步内容到服务端 默认为 false(开发者使用的选项,写配置文件直接删去)
    sync: true
    #填入clear 或者 留空 为清空输入框 默认为 空
    #变量库中会有一个变量实时等于该输入槽中的内容 可以在其他dos中引用 变量为 %界面名_输入槽索引名_input% 该界面为 %default_input_input%
    input: ''
    #是否使失效 默认为 false
    invalid: false
    width: "230"
    height: "108"
    locationX: "(w-60)/2-35"
    locationY: "(h-10)/2-159"
    locationZ: ""
  金币:
    type: 7
    #是否在按下enter后自动清空 默认为 true
    autoClear: false
    #是否开启默认的背景 默认为true
    background: true
    #在输入框内没有字的时候预览
    preview: '输入游戏币'
    #限制输入的字符长度 默认为 32
    limit: 12
    #是否作为焦点 默认为 false
    focus: false
    #是否永久聚焦 默认为 false 如果设置为true 不管玩家的鼠标点击了哪里 都可以输入内容进去
    permanentFocus: false
    #正则验证 符合正则表达式的才允许输入进去 默认为空
    # [^(0-9)] 填入后只能输入数字
    # [^(A-Za-z)] 填入后只能输入字母
    # [^(\u4e00-\u9fa5)] 填入后只能输入中文
    # 更多表达式自行百度
    regular: "[^(0-9)]"
    #是否实时同步内容到服务端 默认为 false(开发者使用的选项,写配置文件直接删去)
    sync: true
    #填入clear 或者 留空 为清空输入框 默认为 空
    #变量库中会有一个变量实时等于该输入槽中的内容 可以在其他dos中引用 变量为 %界面名_输入槽索引名_input% 该界面为 %default_input_input%
    input: '0'
    #是否使失效 默认为 false
    invalid: false
    width: "77"
    height: "14"
    locationX: "(w-60)/2-13"
    locationY: "(h-10)/2-10"
    locationZ: ""
  点券:
    type: 7
    #是否在按下enter后自动清空 默认为 true
    autoClear: false
    #是否开启默认的背景 默认为true
    background: true
    #在输入框内没有字的时候预览
    preview: '输入点券'
    #限制输入的字符长度 默认为 32
    limit: 16
    #是否作为焦点 默认为 false
    focus: false
    #是否永久聚焦 默认为 false 如果设置为true 不管玩家的鼠标点击了哪里 都可以输入内容进去
    permanentFocus: false
    #正则验证 符合正则表达式的才允许输入进去 默认为空
    # [^(0-9)] 填入后只能输入数字
    # [^(A-Za-z)] 填入后只能输入字母
    # [^(\u4e00-\u9fa5)] 填入后只能输入中文
    # 更多表达式自行百度
    regular: "[^(0-9)]"
    #是否实时同步内容到服务端 默认为 false(开发者使用的选项,写配置文件直接删去)
    sync: true
    #填入clear 或者 留空 为清空输入框 默认为 空
    #变量库中会有一个变量实时等于该输入槽中的内容 可以在其他dos中引用 变量为 %界面名_输入槽索引名_input% 该界面为 %default_input_input%
    input: '0'
    #是否使失效 默认为 false
    invalid: false
    width: "77"
    height: "14"
    locationX: "(w-60)/2-13"
    locationY: "(h-10)/2+10"
    locationZ: ""
  附件1:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_1"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  附件2:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_2"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+29.6"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  附件3:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_3"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+29.6*2"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  附件4:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_4"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+29.6*3"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  附件5:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_5"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+29.6*4"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  附件6:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_6"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+29.6*5"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  附件7:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_7"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+29.6*6"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  附件8:
    type: 5
    size: "26"
    invalid: false
    interact: true
    identity: "annex_8"
    fillPath: 'local<->textures/fxmail/3/slot.png'
    emptyPath: 'local<->textures/fxmail/3/slot.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+29.6*7"
    locationY: "(h-429)/2+163"
    locationZ: "0"
  确定发送:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/3/button1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/3/button2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-193)/2+202"
    locationY: "(h-250)/2+122"
    locationZ: "0"
    width: "60"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l确认发送"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l确认发送"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  高级设置:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/3/button4.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/3/button5.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-193)/2+155"
    locationY: "(h-250)/2+122"
    locationZ: "0"
    width: "40"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&c&l高级"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l高级"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  关闭按钮:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/3/x1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/3/x2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-193)/2+255"
    locationY: "(h-250)/2-73"
    locationZ: "0"
    width: "21.5"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
  槽位1:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_0"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位2:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_1"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位3:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_2"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*2"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位4:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_3"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*3"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位5:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_4"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*4"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位6:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_5"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*5"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位7:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_6"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*6"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位8:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_7"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*7"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位9:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_8"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*8"
    locationY: "(h-133)/2+197"
    locationZ: "0"
  槽位10:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_9"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位11:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_10"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位12:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_11"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*2"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位13:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_12"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*3"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位14:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_13"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*4"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位15:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_14"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*5"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位16:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_15"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*6"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位17:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_16"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*7"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位18:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_17"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*8"
    locationY: "(h-133)/2+113"
    locationZ: "0"
  槽位19:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_18"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位20:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_19"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位21:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_20"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*2"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位22:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_21"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*3"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位23:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_22"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*4"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位24:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_23"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*5"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位25:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_24"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*6"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位26:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_25"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*7"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位27:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_26"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*8"
    locationY: "(h-133)/2+139"
    locationZ: "0"
  槽位28:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_27"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位29:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_28"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位30:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_29"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*2"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位31:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_30"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*3"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位32:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_31"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*4"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位33:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_32"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*5"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位34:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_33"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*6"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位35:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_34"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*7"
    locationY: "(h-133)/2+165"
    locationZ: "0"
  槽位36:
    type: 5
    size: "23"
    invalid: false
    interact: true
    identity: "germplugin_backpack_35"
    fillPath: 'local<->textures/misc/air.png'
    emptyPath: 'local<->textures/misc/air.png'
    hoverSound: ''
    clickSound: ''
    locationX: "(w-133)/2+26.3*8"
    locationY: "(h-133)/2+165"
    locationZ: "0"

FxMail_高级设置.yml

FxMail_5:
  options:
    startX: "-30"
    startY: "0"
    guide: false
    #是否取消ESC关闭界面 (可删除默认为 false)
    escCancel: true
    animations:
      - '透明到不透明'
  background1:
    type: 0
    path: 'local<->textures/fxmail/5/background.png'
    #设置图片绘制的位置,locationX以(w-width)/2来设置就是水平居中,locationY同理
    locationX: "(w-100)/2+228"
    locationY: "(h-120)/2-25"
    width: "120"
    height: "120"
  高级设置:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "left"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&c&l高级设置"
    locationX: "(w-10)/2+223"
    locationY: "(h-10)/2-73"
    locationZ: "0"
  确定:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/5/button1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/5/button2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-60)/2+220"
    locationY: "(h-21.5)/2+17"
    locationZ: "0"
    width: "35"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l确定"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l确定"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  取消:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/5/button1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/5/button2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-60)/2+280"
    locationY: "(h-21.5)/2+17"
    locationZ: "0"
    width: "35"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l取消"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l取消"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  发给所有在线的人:
    type: 10
    #复选框默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/5/2.png'
    #鼠标悬浮到复选框时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/5/2.png'
    #复选框被选中的时候渲染图片、GIF(如果填的是gif文件就会渲染成gif)
    checkedPath: "local<->textures/fxmail/5/1.png"
    #悬浮到按钮播放声音(可删除)
    hoverSound: 'minecraft:ui.button.click'
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    #复选框的选择状态 跟enable一样 可以写成条件的形式
    #状态会以变量  %界面名_复选框索引名_selected% 该界面为 %default_checkbox_selected% 的形式存入变量库 值为true或false
    selected: true
    locationX: "(w-10)/2+191"
    locationY: "(h-10)/2-60"
    locationZ: "0"
    width: "13"
    height: "12"
    invalid: false
  发给所有的人:
    type: 10
    #复选框默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/5/2.png'
    #鼠标悬浮到复选框时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/5/2.png'
    #复选框被选中的时候渲染图片、GIF(如果填的是gif文件就会渲染成gif)
    checkedPath: "local<->textures/fxmail/5/1.png"
    #悬浮到按钮播放声音(可删除)
    hoverSound: 'minecraft:ui.button.click'
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    #复选框的选择状态 跟enable一样 可以写成条件的形式
    #状态会以变量  %界面名_复选框索引名_selected% 该界面为 %default_checkbox_selected% 的形式存入变量库 值为true或false
    selected: true
    locationX: "(w-10)/2+191"
    locationY: "(h-10)/2-40"
    locationZ: "0"
    width: "13"
    height: "12"
    invalid: false
  发给所有在线的人文字:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "left"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&e&l发给所有在线的人"
    locationX: "(w-10)/2+210"
    locationY: "(h-10)/2-58"
    locationZ: "0"
  发给所有的人文字:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "left"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&e&l发给所有的人"
    locationX: "(w-10)/2+210"
    locationY: "(h-10)/2-38"
    locationZ: "0"
  发给在什么时间之前注册的人文字:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "left"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '1'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&e&l发给在这之前注册的人"
    locationX: "(w-10)/2+193"
    locationY: "(h-10)/2-20"
    locationZ: "0"
  填写时间:
    type: 7
    #是否在按下enter后自动清空 默认为 true
    autoClear: false
    #是否开启默认的背景 默认为true
    background: true
    #在输入框内没有字的时候预览
    preview: '格式"2020/12/22 19:36:00"'
    #限制输入的字符长度 默认为 32
    limit: 19
    #是否作为焦点 默认为 false
    focus: false
    #是否永久聚焦 默认为 false 如果设置为true 不管玩家的鼠标点击了哪里 都可以输入内容进去
    permanentFocus: false
    #正则验证 符合正则表达式的才允许输入进去 默认为空
    # [^(0-9)] 填入后只能输入数字
    # [^(A-Za-z)] 填入后只能输入字母
    # [^(\u4e00-\u9fa5)] 填入后只能输入中文
    # 更多表达式自行百度
    regular: "[^(0-9)/ :]"
    #是否实时同步内容到服务端 默认为 false(开发者使用的选项,写配置文件直接删去)
    sync: true
    #填入clear 或者 留空 为清空输入框 默认为 空
    #变量库中会有一个变量实时等于该输入槽中的内容 可以在其他dos中引用 变量为 %界面名_输入槽索引名_input% 该界面为 %default_input_input%
    input: ''
    #是否使失效 默认为 false
    invalid: false
    width: "102"
    height: "14"
    locationX: "(w-77)/2+225"
    locationY: "(h-14)/2-5"
    locationZ: ""

FxMail_提示框.yml

FxMail_4:
  options:
    startX: "-30"
    startY: "0"
    guide: false
    #是否取消ESC关闭界面 (可删除默认为 false)
    escCancel: true
    animations:
      - '透明到不透明'
  background1:
    type: 0
    path: 'local<->textures/fxmail/4/background.png'
    #设置图片绘制的位置,locationX以(w-width)/2来设置就是水平居中,locationY同理
    locationX: "(w-100)/2"
    locationY: "(h-100)/2"
    width: "120"
    height: "100"
  确定:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/4/button1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/4/button2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-60)/2+10"
    locationY: "(h-21.5)/2+31"
    locationZ: "0"
    width: "60"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l确定"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l确定"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  显示内容:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "center"
    #缩放 注意引号 可用 w h 计算 1为原大小
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    scale: '1.1'
    locationX: "(w-60)/2+41"
    locationY: "(h-21.5)/2-20"
    locationZ: "0"

FxMail_主界面.yml

FxMail_1:
  options:
    startX: "0"
    startY: "0"
    guide: false
    #是否取消ESC关闭界面 (可删除默认为 false)
    escCancel: true
    animations:
      - '透明到不透明'
  background:
    type: 0
    path: 'local<->textures/fxmail/1/background.png'
    locationX: "(w-150)/2-200"
    locationY: "(h-300)/2"
    width: "150"
    height: "300"
  email-1:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/e-mail1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/e-mail2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-118)/2-200"
    locationY: "(h-37)/2-113"
    locationZ: "0"
    width: "118"
    height: "37"
    #是否是禁止点击悬浮的
    invalid: false
    align: "left"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&f&l发件人: %mail_send_player%"
    hoverAlign: "left"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&e&l发件人: %mail_send_player%"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "35"
    textOffsetY: "0"
    textOffsetZ: "1"
  email-2:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/e-mail1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/e-mail2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-118)/2-200"
    locationY: "(h-37)/2-113+42"
    locationZ: "0"
    width: "118"
    height: "37"
    #是否是禁止点击悬浮的
    invalid: false
    align: "left"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&f&l发件人: %mail_send_player%"
    hoverAlign: "left"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&e&l发件人: %mail_send_player%"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "35"
    textOffsetY: "0"
    textOffsetZ: "1"
  email-3:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/e-mail1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/e-mail2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-118)/2-200"
    locationY: "(h-37)/2-113+42*2"
    locationZ: "0"
    width: "118"
    height: "37"
    #是否是禁止点击悬浮的
    invalid: false
    align: "left"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&f&l发件人: %mail_send_player%"
    hoverAlign: "left"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&e&l发件人: %mail_send_player%"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "35"
    textOffsetY: "0"
    textOffsetZ: "1"
  email-4:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/e-mail3.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/e-mail4.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-118)/2-200"
    locationY: "(h-37)/2-113+42*3"
    locationZ: "0"
    width: "118"
    height: "37"
    #是否是禁止点击悬浮的
    invalid: false
    align: "left"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&f&l发件人: %mail_send_player%"
    hoverAlign: "left"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&e&l发件人: %mail_send_player%"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "35"
    textOffsetY: "0"
    textOffsetZ: "1"
  email-5:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/e-mail3.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/e-mail4.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-118)/2-200"
    locationY: "(h-37)/2-113+42*4"
    locationZ: "0"
    width: "118"
    height: "37"
    #是否是禁止点击悬浮的
    invalid: false
    align: "left"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&f&l发件人: %mail_send_player%"
    hoverAlign: "left"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&f&l%mail_title%"
      - "%mail_time%"
      - "&e&l发件人: %mail_send_player%"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "35"
    textOffsetY: "0"
    textOffsetZ: "1"
  上一页:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/button1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/button2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-40)/2-244.5"
    locationY: "(h-20)/2+97"
    locationZ: "0"
    width: "40"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l上一页"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l上一页"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  下一页:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/button1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/button2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-40)/2-155"
    locationY: "(h-20)/2+97"
    locationZ: "0"
    width: "40"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l下一页"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l下一页"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  删除已读:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/button4.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/button5.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-40)/2-244.5"
    locationY: "(h-20)/2+125"
    locationZ: "0"
    width: "40"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l删除已读"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l删除已读"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  写邮件:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/button4.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/button5.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-40)/2-199.5"
    locationY: "(h-20)/2+125"
    locationZ: "0"
    width: "40"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l写邮件"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l写邮件"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  一键领取:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/1/button4.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/1/button5.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-40)/2-155"
    locationY: "(h-20)/2+125"
    locationZ: "0"
    width: "40"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
    align: "center"
    textScale: "1"
    font: "default"
    #默认字符串将显示在按钮中间,支持PAPI变量(可删除)
    texts:
      - "&f&l一键领取"
    hoverAlign: "center"
    hoverTextScale: "1"
    #悬浮字符串,介绍同上(可删除)
    hoverTexts:
      - "&e&l一键领取"
    #在根据对齐方式对齐后坐标再偏移多少
    textOffsetX: "1"
    textOffsetY: "0"
    textOffsetZ: "0"
  页数:
    type: 4
    #文字的对齐方式 左对齐 left  右对齐 right 居中 center  可删除 默认为left
    align: "center"
    #缩放 注意引号 可用 w h 计算 1为原大小
    scale: '2'
    #渲染该button上的字体使用的ttf字体名 ttf 字体要放入 assets/germmod/font/ 下,字体名就是文件名去掉.ttf后缀
    #放入字体后可以在germmodui.cfg 填写读取字体的精度 不写默认是50
    #强烈不建议放入过多的字体,耗玩家客户端内存
    #可删除 默认为 minecraft 的原版字体
    font: "default"
    #字符串
    texts:
      - "&f1/1"
    locationX: "(w-40)/2-180"
    locationY: "(h-20)/2+99"
    locationZ: "0"
  关闭按钮:
    type: 3
    #按钮默认的图片、GIF(如果填的是gif文件就会渲染成gif)
    defaultPath: 'local<->textures/fxmail/2/x1.png'
    #鼠标悬浮到按钮时的图片、GIF(如果填的是gif文件就会渲染成gif)
    hoverPath: 'local<->textures/fxmail/2/x2.png'
    #悬浮到按钮播放声音(可删除)
    hoverSound: ''
    #点击按钮播放声音(可删除)
    clickSound: 'minecraft:ui.button.click'
    locationX: "(w-193)/2-45"
    locationY: "(h-250)/2-30"
    locationZ: "0"
    width: "21.5"
    height: "21.5"
    #是否是禁止点击悬浮的
    invalid: false
1
https://gitee.com/germmc/wiki-germ-engine.git
git@gitee.com:germmc/wiki-germ-engine.git
germmc
wiki-germ-engine
WikiGermEngine
master

搜索帮助