Configuration

All features, messages are editable and customizable in our plugin.

############################## CONFIGURATION ##############################

playerCount:
  blockType: "DIRT" # The default block type
  invalidFormat: "§cInvalid format"
  playerNotFound: "§fPlayer not found"

  ############################## REWARDS ###############################

  rewards:
    reward1:
      blockCount: 100
      message: "§aCongratulations! You've reached 100 blocks. Gamemode set to Creative!"
      command: "gamemode creative"
    reward2:
      blockCount: 1000
      message: "§aCongratulations! You've reached 1000 blocks. Gamemode set to Creative!"
      command: "gamemode creative"
    reward3:
      blockCount: 1500
      message: "§aCongratulations! You've reached 1500 blocks. Gamemode set to Creative!"
      command: "gamemode creative"
    reward4:
      blockCount: 2000
      message: "§aCongratulations! You've reached 2000 blocks. Gamemode set to Creative!"
      command: "gamemode creative"
  # Add more rewards as needed

############################## CHECK ##############################

check:
  usage: "§7Usage: §a/gblockcheck §f<player>"
  playerNotFound: "§cPlayer not found: {player}"
  blockCountMessage: "§7Block count for §a{player}§7: §f{blockCount}"
  offlineBlockCountMessage: "§7Block count for §a{player}§7: §f{blockCount}"
  permissionDenied: "§cYou don't have permission to use this command."

############################## COUNTER ##############################

counter:
  helpUsage: "§7Usage: §a/gblockcounter help"
  helpCommands:
    - "§7----------------------------------------------------"
    - "§7Usage: "
    - "§a/gblockcounter help §7- §fShows help"
    - "§a/gblockset §f<player> <value> §7- §fSets block count for a player"
    - "§a/gblockreset §f<all§7/§fplayer> §7- §fResets block count for all players or a specific player"
    - "§a/gblockcheck §f<player> §7- §fChecks the block count for a player"
    - "§a/gblockreload §7- §fReloads the plugin configuration"
    - "§7----------------------------------------------------"

############################## RELOAD ##############################

reload:
  permissionDenied: "§cYou don't have permission to use this command."
  successMessage: "§7Plugin and config reloaded successfully in §a{elapsedSeconds} seconds."

############################## RESET ###############################

reset:
  permissionDenied: "§cYou don't have permission to use this command."
  playerNotFound: "§cPlayer not found in the database: {player}"
  usage: "§7Usage: §a/gblockreset §f<all/player>"
  successAll: "§aBlock count reset for all players in the database."
  successPlayer: "§aBlock count reset for player: {player}"
  successOfflinePlayer: "§aBlock count reset for player (offline): {player}"

############################## SET ###############################

set:
  permissionDenied: "§cYou don't have permission to use this command."
  usage: "§7Usage: §a/gblockset §f<player> <blockCount>"
  invalidBlockCount: "§cInvalid block count. Please enter a valid number."
  negativeBlockCount: "§cBlock count must be a non-negative number."
  successOnline: "§aBlock count for {player} set to {blockCount}."
  successOffline: "§aBlock count for {player} will be updated when they join the server."
  playerNotFound: "§cPlayer is not found in our database or not online."


Last updated