Sueta

AdvancedCobblestoneGenerator

1.1

Lets you create your own 3x3, 5x5 or 7x7 generator.

·Plugin

AvancedCobblestoneGenerator lets you create your own 3x3x3, 5x5x5 or 7x7x7 generator. You will be able to choose which and how much of every ore the generator spawns in.

Commands:
- /cg <3x3/5x5/7x7>
- /cobblestonegenerator <3x3/5x5/7x7>

Permissions:
- cg.*
- cg.3x3
- cg.5x5
- cg.7x7

The config.yml:

configuration:
  items:
    3x3:
      name: '&7Cobblestone Generator 3x3'
    5x5:
      name: '&bCobblestone Generator 5x5'
    7x7:
      name: '&aCobblestone Generator 7x7'
  messages:
    nopermission: '&4You don''t have enough permissions to do that!'
    noarguments: |-
      &cPlease use one of the following:
      &c - /cg 3x3
      &c - /cg 5x5
      &c - /cg 7x7
      &cTo get the generator.
    toclosetoplace: '&cYou are to close to the generator to place it!'
    notenoughspacetoplace: '&cYou can''t place a generator here because there isn''t enough space!'
    successfully_placed: '&aYou successfully placed a generator!'
  generator:
    delay_in_ticks_between_respawns: 20
  spawningblocks:
    '1':
      id: 4
      chance: 9
    '2':
      id: 15
      chance: 1

How to configure:

Under the section 'spawningblocks' you can choose which and how much of a certain ore will be spawned. Lets create a new one for your understanding.

Step 1: you create a new section, this is the third one so call this '3'

'3':

Step 2: Which block do you want to let it spawn? You can search which ID you need with this site: https://minecraft-ids.grahamedgecombe.com/, you can see oak wood planks would have the id 5, lets add that.

'3:'
    id: 5

Step 3: How often do you want it to spawn, the higher the number, the higher the chance. All the chances added up do not need to be 100.

'3:'
    id: 5
    chance: 2

End result:

spawningblocks:
    '1':
      id: 4
      chance: 9
    '2':
      id: 15
      chance: 1
    '3:'
      id: 5
      chance: 2

This would mean that cobblestone (id=4) has a 9/12(=75%) chance of spawning.

Screenshots:

3x3:

5x5:

7x7:

If you have any issues you can report them at: https://bitbucket.org/Banjer_HD/cobblestonegenerator/issues

Similar projects

Plugin →