Skip to content
This repository has been archived by the owner on Dec 19, 2021. It is now read-only.

Configuration File

Blake Bartenbach edited this page May 26, 2018 · 9 revisions

Most of these options are pretty self explanatory. If you have trouble understanding what any of these options do, please make a comment and I can make this area more clear. I've tried to make the configuration file as clear as possible by default.

As painful as configuring new and unknown plugins can be, most of these options can be changed with in-game commands (check the command page). The defaults will be a good start, so just try them out and then fine tune the settings later.
Found Diamonds Configuration:
  Main:
    Disable in creative mode: true
    Give OPs all permissions: true
  Light Level:
    Send violation admin messages: false
    Minimum amount of light required to mine blocks: 10%
    Silent Mode: true  //Doesn't send a message to violators or prevent them from mining.
    Monitored Blocks:  //Blocks that have their light levels monitored go here.
    - diamond ore   //An example of making sure diamond blocks aren't mined in lower light than 10%
  Traps:  //Traps are blocks you set using /fd trap
    Kick players on trap break: true
    Ban players on trap break: false
    Kick message: You triggered trap block.
  Awards:
    Items:
      Random items for finding diamonds: false
      Award all players: true
      Percent of time items are given: 25
      Maximum number or items to give: 3
      Random Item 1: 265
      Random Item 2: 263
      Random Item 3: 340
    Spells:
      Random spells for finding diamonds: true
      Award all players: true
      Spell strength (1-5): 3     // 5 is actually incredibly potent.
      Percent of time spells are casted: 100
      Messages:   //These are the messages that are broadcast when players get spells.
        Jump: You are as weightless as a feather.
        Speed: You feel as swift as the wind.
        Resistance: You feel a force field surround you.
        Fire Resistance: You no longer fear the flames.
        Water Breathing: The sea calls out to you.
        Regeneration: A regenerative force embraces you.
        Fast Digging: Haste makes waste.
        Strength: You feel a strength rise up within you.
  Broadcasts:
    Broadcasted Blocks:
    Options:
      Message: "@Player@ found @Number@ @BlockName@"  
               //@Prefix@ can be used for the [FD] prefix
               //@LightLevel@ will show the light level a block was broken at
               //@LightPercent@ will show the light level a block was broken at in a percentage
      Use player nicknames: true
      Use classic ore colors for ores: true  //Set this to false if you are using custom color formatting
  Logging: //These options affect what's logged in log.txt
    Trap breaks: true
    Light Level Violations: false
    Log all diamond ore breaks: false
    Clean log (all ores): false  //This essentially logs all broadcasts, but cleanly (for web possibly)
  Enabled Worlds: (This will populate based upon your worlds)
  Admin Messages:
    Admin Message Blocks: (This list will be empty until something is added to it.)
    - diamond ore,aqua  //Heres an example of diamond ore sending admin messages.  /fd admin add diamond ore
  MySQL:
    Enabled: false
    Username: root
    Password: bacon
    DatabaseName: minecraft
    URL: localhost
    Port: 3306
    Prefix: fd
  Metrics:
    Enabled: true  //Collects information about who uses the plugin and such