Config

 

Config.yml

 

 

#  █████████  ██████   ██████
# ███░░░░░███░░██████ ██████ 
#░███    ░░░  ░███░█████░███ 
#░░█████████  ░███░░███ ░███ 
# ░░░░░░░░███ ░███ ░░░  ░███ 
# ███    ░███ ░███      ░███ 
#░░█████████  █████     █████
# ░░░░░░░░░  ░░░░░     ░░░░░ 

#Author: TerThesz

#here you can edit plugin prefix
pluginPrefix: "&e&lSM &8>> "

#here you can edit error messages
#color codes are supported
#use %prefix% to use plugin prefix
#use %player% to get name of command sender (player)
#use \n to separate lines
errorMessages:
  argumentsError: "%prefix% &cInvalid number of arguments!"
  #use %permission% to get needed permission
  permissionError: "%prefix% &cYou don`t have the power. . . Permission needed: &b%permission%"
  #use %target% to get name of target player
  playerNotFound: "%prefix% &b%target% &cisn`t online!"
  playerIsOnDisabledWorld: "%prefix% &b%target% &cis on disabled world!"
  #here you can use only %prefix%
  invalidSound: "&cInvalid broadcast sound! &bplaySoundOnBroadcast &cwas set to false. . ."
  
#here you can edit normal messages
#color codes are supported
#use %prefix% to use plugin prefix
#use %player% to get name of command sender (player)
#use %displayname% to get displayname of command sender (player)
#use \n to separate lines
messages:
  #use %target% to get name of target player
  #use %world% to get target player`s world
  findMessage: "&b%target% &5is in %world%"
  #here you can use only %prefix% placeholder
  reloading: "%prefix% &7Reloading config. . ."
  reloaded: "%prefix% &aConfig was successfuly reloaded!"
  saving: "%prefix% &7Saving config. . ."
  saved: "%prefix% &aConfig was successfuly saved!"
  resetingConfirm: "&c&lWARNING! This action will reset whole config.yml file to default!\nUse &b&l/sm reset &c&lone more time to accept"
  reseted: "%prefix% &aConfig.yml was successfuly reseted!"
  clearChat: "%prefix% %displayname% &bcleader the chat!"
  
configuration:
  #set this to true if you want to enable permission to bypass disabled world for /find command
  #you need to set this permission manually.
  permissionBypassFindWorlds: true
  #don`t show show players on /find when they are one these worlds
  disabledWorlds:
    - firstWorld
    - secondWorld

broadcast:
  #here you can edit broadcast message format
  #use %displayname% to get displayname of command sender
  #use %player% to get name of command executor
  #use %prefix% to get plugin prefix
  #use %message% to get the message
  format: "&6&lSHOUT &r%displayname% &8>> &r%message%"
  #set this to true if you want to play sound on broadcast
  playSoundOnBroadcast: true
  #here you can set the sounds id
  #if you leave this blank or set invalid sound id playSoundOnBroadcast will be set to false
  soundId: BLOCK_ANVIL_FALL

#set this to true if you want to reset the config.
resetConfig: false #WARNING! By changing this value to true everithing will be cleared and set to default!

#actual plugin version
#please don`t change this value
pluginVersion: '1.2.0'