# Create a new guild create group

The guild creation group allows players with different `permissions` to create guilds at `different costs` based on their permissions

{% hint style="info" %}
Creating a guild group consists of the following nodes

* weight(权重)：The smaller the number, the earlier it is detected For example, the weight of VIP is 2 So the weight of SVIP is important<2
* permission(判断权限)：No need for explanation....
* requirements(花费、条件)： View specific writing methods **Requirements**
  {% endhint %}

## Example

1. Create a group **小丑**&#x20;
2. Creating a guild in this group requires `10000 game coins` and there is an 80% chance of creation `failure`
3. This group is the first to detect

```
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:
          # Spending 10000 Vault game coins 
          - 'vault;10000'
          # A probability of 20% passing
          - 'chance;0.2'
```
