LegendaryGuild
  • 💎插件文档
  • ⚙️插件安装
    • 🔩群组服安装教程
  • 📒插件配置
    • 🔰GUI配置
      • 🎈通用 Fuction
        • 📰子界面
          • ActivityRewards.yml
          • Applications.yml
          • Buff.yml
          • GuildIconsShop.yml
          • GuildList.yml
          • GuildMenu.yml
          • GuildShop.yml
          • GuildTree.yml
          • Members.yml
          • Positions.yml
          • RedPackets.yml
          • Stores.yml
          • Tributes.yml
          • TeamShop.yml
    • 📃config.yml
      • 新建一个创建公会组
      • 自定义公会等级与经验
    • 🧙自定义职位
    • 🎨自定义公会图标
    • 🌳自定义神树水壶
    • 🛃公会仓库
    • 🎆公会贡品
    • 🧧公会红包
    • 🛍️公会商店
    • 🔀公会Buff
    • 🛒(NEW)公会团购
    • Requirements
    • Run
  • 🏴󠁧󠁢󠁳󠁣󠁴󠁿插件命令 & 权限
  • ✍️插件变量
  • 🚚开发者API
    • 事件大全
  • 更新记录
Powered by GitBook
On this page
  1. 插件配置
  2. config.yml

新建一个创建公会组

公会创建组 可根据 玩家权限 使拥有不同权限的玩家创建公会时的 花费不同.

创建公会组有以下节点组成

  • weight(权重):该数字越小则越先检测. 比如 vip 的权重为 2 . 那么 svip 的权重要 <2

  • permission(判断权限):不需要解释....

  • requirements(花费、条件): 具体写法查看 Requirements

示例

  1. 创建一个组 小丑

  2. 该组创建公会需要 10000 游戏币 并且有 80% 的概率创建失败

  3. 该组最先检测

settings
  create:
    max-length: 6
    cooldown: 240
    default:
      requirements:
       - 'vault;5000'
       - 'playerpoints;100'
    groups:
      普通会员组:
        #Weight. The smaller the value, the first to be detected and cannot be repeated
        weight: 3
        permission: 'legendaryguild.vip'
        requirements:
          - 'vault;4000'
          - 'playerpoints;80'
      高级会员组:
        weight: 2
        permission: 'legendaryguild.svip'
        requirements:
          - 'vault;3000'
          - 'playerpoints;50'
      超级会员组:
        weight: 1
        permission: 'legendaryguild.mvp'
        requirements:
          - 'vault;2000'
          - 'playerpoints;20'
      小丑:
        weight: 0
        permission: 'legendaryguild.joker'
        requirements:
          #花费 10000 Vault游戏币
          - 'vault;10000'
          # 20% 的概率通过
          - 'chance;0.2'
Previousconfig.ymlNext自定义公会等级与经验

Last updated 1 year ago

📒
📃