Config.yml Tutorial

# When enabled, update notifications will be sent to OP players on join.
update_notification: true

# List of gamemodes on which players will not be able to right-click 
# on searches blocks/entities to find it.
# Gamemodes: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/GameMode.html
blocked_gamemodes:
- SPECTATOR
- ADVENTURE

# This is the max distance in blocks players will be able to
# see the display particles of an object.
max_distance_particle_display: 20

# The plugin constantly checks if an object from a Search is removed by unknown
# reasons (WorldEdit for example). Here you can define the time
# (in seconds) of this repetitive check task.  
objects_check_time: 4

# This option defines the time (in seconds) to automatically save player data.
data_auto_save_time: 300

# When enabled, the plugin will check for a valid location when teleporting to a 
# search object, preventing to spawn inside a block.
fix_teleport: true

# When enabled, if the player tries to click on a search object and the event was
# already cancelled by another plugin, then nothing will happen.
# Used mainly when you are having compatibility issues with other plugins.
ignore_cancelled_events: false

# MySQL information if you want to share player data between
# multiple servers.
mysql_database:
  enabled: false
  host: localhost
  port: 3306
  username: root
  password: root
  database: database

# Here you can specify the default values for new searches.
# Use the options shown in the Searches Tutorial.
default_values:
  default_actions:
    find_chat_message:
      - "{centered}&7&m                                                  "
      - ""
      - "{centered}&aYou have discovered a &e&lHidden Treasure&a! &7(&e%current%&8/&e%total%&7)"
      - ""
      - "{centered}&7&m                                                  "
    find_title_message:
      title: '&eHidden Treasure Found!'
      subtitle: '&7(&b%current%&8/&b%total%&7)'
      fadeIn: 20
      stay: 40
      fadeOut: 20
    find_sound: "BLOCK_NOTE_BLOCK_PLING;10;1.8"
    find_effects:
      - "firework: colors:RED,WHITE type:BALL offsetY:0.8 fade:GREEN"
  last_actions:
    find_chat_message:
      - '{centered}&7&m                                                  '
      - ''
      - '{centered}&c&lCONGRATS!'
      - '{centered}&aYou have discovered all the &e&lHidden Treasures'
      - '{centered}&ain the lobby!'
      - '{centered}&7Reward: &a$10.000'
      - ''
      - '{centered}&7&m                                                  '
    find_title_message:
      title: '&eAll Hidden Treasures Found!'
      subtitle: '&aCongrats!'
      fadeIn: 20
      stay: 40
      fadeOut: 20
    find_sound: "ENTITY_PLAYER_LEVELUP;10;1"
    find_effects:
      - 'firework: colors:RED,WHITE type:BALL offsetY:0.8 fade:GREEN'
    find_commands:
      - eco give %player% 10000
  display_particles:
    enabled: true
    speed: 5
    list_of_particles:
      particle1:
        particle: FLAME
        speed: 0.01
        offset_y: 0.8

Last updated