Messages

Message configuration file.

There are three types of messages that you can configure:

  • TCHAT

  • ACTION

  • TITLE

  • ITEMSTACK

  • NONE

Now let's see each type and how to configure it:

  • TCHAT

messages:
  prefix:
    type: TCHAT
    message: '&7(&fzAuctionHouse&7)'

The TCHAT type is the default one, it will display a message in the chat.

  • ACTION

messages:
  plugin:
    disable:
      type: ACTION
      message: '&cThe auction house is currently deactivated.'

The action type will send a message in the action bar, this option is not available in 1.7.10.

  • TITLE

messages:
  world:
    is:
      banned:
        type: TITLE
        title: '&cError !'
        subtitle: '&cYou can''t use the auction house here.'
        fadeInTime: 30
        showTime: 40
        fadeOutTime: 10
        message: '&cYou can''t use the auction house here.'

The TITLE type will send a message to the center of your screen., this option is not available in 1.7.10.

  • ITEMSTACK

messages: 
  'no':      
    money:
      button:
        type: ITEMSTACK
        itemstack:
          material: BARRIER
          data: 0
          amount: 1
          durability: 0
          name: "&cYou don't have enough money to buy this !"

Only usable in certain cases to display items.

Messages.yml

messages:
  prefix:
    type: TCHAT
    message: '#666666(#28ed91zAuctionhouse#666666) '
  time:
    day:
      type: TCHAT
      message: '%02d day(s) %02d hour(s) %02d minute(s) %02d second(s)'
    hour:
      type: TCHAT
      message: '%02d hour(s) %02d minute(s) %02d second(s)'
    minute:
      type: TCHAT
      message: '%02d minute(s) %02d second(s)'
    second:
      type: TCHAT
      message: '%02d second(s)'
  command:
    syntaxe:
      error:
        type: TCHAT
        message: '&cYou must execute the command like this&7: &2%command%'
      help:
        type: TCHAT
        message: '&b& &f%syntaxe% &8- &7%description%'
    'no':
      permission:
        type: TCHAT
        message: '&cYou don''t have permission !'
      console:
        type: TCHAT
        message: '&cOnly player can use this command.'
      arg:
        type: TCHAT
        message: '&cThis argument does not exist !'
    cooldown:
      type: TCHAT
      message: '&cYou must wait a few seconds between each command.'
    help:
      custom:
        type: TCHAT
        message: '&6& &eAnother cmd'
    reload:
      type: TCHAT
      message: '&aPlugin successfuly reloaded.'
    sell:
      argument:
        price:
          type: TCHAT
          message: price
        amount:
          type: TCHAT
          message: amount
      custom:
        helping:
          type: TCHAT
          message: '&cYou must execute the command like this&7: &f/hdv vendre &a<price>
            &b[<amount>]'
    open:
      custom:
        helping:
          type: TCHAT
          message: '&cYou must execute the command like this&7: &f/ah'
    is:
      disable:
        type: TCHAT
        message: '&cThe command is disabled.'
  description:
    auction:
      type: TCHAT
      message: Opens the auction house
    sub:
      items:
        type: TCHAT
        message: Opens the items inventory
      categories:
        type: TCHAT
        message: Opens the categories inventory
      buying:
        type: TCHAT
        message: Opens the buying inventory
      expire:
        type: TCHAT
        message: Opens the expire inventory
    blacklist:
      list:
        type: TCHAT
        message: See the blacklist players.
      add:
        type: TCHAT
        message: Add a player to the blacklist
      remove:
        type: TCHAT
        message: Remove a player from the blacklist
    version:
      type: TCHAT
      message: Show plugin version
    open:
      type: TCHAT
      message: Open auction to a player
    purge:
      type: TCHAT
      message: Remove old transaction
    reload:
      type: TCHAT
      message: Reload plugin
    sell:
      type: TCHAT
      message: Sell an item
      inventory:
        type: TCHAT
        message: Sell an inventory
    help:
      type: TCHAT
      message: See the list of commands.
    config:
      type: TCHAT
      message: Config plugin ingame
    claim:
      type: TCHAT
      message: Claim your money
    addon:
      type: TCHAT
      message: Show addon list
    search:
      type: TCHAT
      message: Search a item
    lang:
      type: TCHAT
      message: See the list of translations.
    convert:
      type: TCHAT
      message: Convert items form another plugin to zauctionhouse
    history:
      type: TCHAT
      message: View your history
    transaction:
      type: TCHAT
      message: View a player's transactions.
  'no':
    holding:
      item:
        type: TCHAT
        message: '&cAre you stupid ? You can''t sell air !'
    money:
      button:
        type: ITEMSTACK
        itemstack:
          material: BARRIER
          amount: 1
          durability: 0
          name: '&cYou don''t have enough money to buy this !'
    enought:
      money:
        type: TCHAT
        message: '&cYou don''t have enough money to buy this !'
      place:
        type: TCHAT
        message: '&cYou don''t have enough room in your inventory to buy this item.'
  player:
    lag:
      ping:
        type: TCHAT
        message: '&cYou cannot sell items at this time. (its disableSaleIfPlayerIsLagging
          in config.json)'
      tps:
        type: TCHAT
        message: '&cYou cannot sell items at this time. (its disableSaleIfServerIsLagging
          in config.json)'
  plugin:
    disable:
      type: TCHAT
      message: '&cThe auction house is currently deactivated.'
    not:
      ready:
        type: TCHAT
        message: '&cThe plugin has not finished to be initialized, please be patient...'
        hdb:
          type: TCHAT
          message: '&cThe &fHeadDataBase &cplugin is not yet active, the plugin inventories
            have not yet loaded, please wait until HDB is working.'
  sell:
    cooldown:
      type: TCHAT
      message: '&cYou must wait &f%time%&c.'
    max:
      price:
        type: TCHAT
        message: '&cYou can''t put more than &f%max%&c for the price !'
    min:
      price:
        type: TCHAT
        message: '&cYou can''t put less than &f%min%&c for the price !'
    message:
      default:
        type: TCHAT
        message: '&fYou just put #8ee6e3x%amount% &7%item% &fon sale for #8ee6e3%price%&f.'
      inventory:
        type: TCHAT
        message: '&fYou just put #8ee6e3%amount% &7items &fon sale for #8ee6e3%price%&f.'
    creative:
      error:
        type: TCHAT
        message: '&cYou can''t sell an item in creative mode !'
    item:
      error:
        type: TCHAT
        message: '&cYou cannot sell this item, it is banned from the plugin.'
      break:
        type: TCHAT
        message: '&cYou cannot sell a broken item.'
      tax:
        default:
          type: TCHAT
          message: '&cYou need &f%tax% &cto be able to sell this item.'
      whitelist:
        type: TCHAT
        message: '&cYou do not have permission to add this item.'
    world:
      error:
        type: TCHAT
        message: '&cYou cannot sell in this world'
    items:
      error:
        type: TCHAT
        message: '&cYou cannot sell more than &f%max% &citems. &8(&7Did you set the
          &fzauctionhouse.max.<number permission in the configuration file> &7?&8)'
    inventory:
      error:
        type: TCHAT
        message: '&cYou did not put any item, sale canceled.'
      item:
        type: ITEMSTACK
        itemstack:
          material: CHEST
          amount: 1
          durability: 0
          name: '&7Sale of inventory'
  item:
    purchased:
      type: TCHAT
      message: '&fYou just purchased &a%item%&f.'
    remove:
      admin:
        type: TCHAT
        message: '&fYou have just deleted the item &a%item%&f.'
      seller:
        get:
          type: TCHAT
          message: '&fAn administrator has just removed &a%item%&f, you can retrieve
            it from the list of expired items.'
        delete:
          type: TCHAT
          message: '&fAn administrator has just removed &a%item%&f, You cannot retrieve
            your item.'
    lore:
      default:
        type: TCHAT
        messages:
        - '&8&m-+------------------------------+-'
        - '&8[&a!&8] &7%status%'
        - ''
        - '  &f* &fSeller&7: &b%seller%'
        - '  &f* &fPrice&7: &b%price%'
        - '  &f* &fExpire&7: &b%time%'
        - '&8&m-+------------------------------+-'
      expire:
        type: TCHAT
        messages:
        - '&8&m-+------------------------------+-'
        - '&8[&a!&8] &7Click to retrieve the item'
        - ''
        - '  &f* &fExpire&7: &b%time%'
        - '&8&m-+------------------------------+-'
      buying:
        type: TCHAT
        messages:
        - '&8&m-+------------------------------+-'
        - '&8[&a!&8] &7Click to retrieve the item'
        - ''
        - '  &f* &fExpire&7: &b%time%'
        - '&8&m-+------------------------------+-'
      items:
        type: TCHAT
        messages:
        - '&8&m-+------------------------------+-'
        - '&8[&a!&8] &7Click to retrieve the item'
        - ''
        - '  &f* &fExpire&7: &b%time%'
        - '&8&m-+------------------------------+-'
      inventory:
        type: TCHAT
        messages:
        - '&8&m-+------------------------------+-'
        - '&8[&a!&8] &7%status%'
        - ''
        - '  &7* &fType&7: &bInventory'
        - '  &7* &fSeller&7: &b%seller%'
        - '  &7* &fPrice&7: &b%price%'
        - '  &7* &fExpire&7: &b%time%'
        - ''
        - '  &f* &7&oRight click to buy'
        - '  &f* &7&oLeft click to see the content'
        - '&8&m-+------------------------------+-'
    economy:
      full:
        type: TCHAT
        message: '&7You have a full inventory, your items are gone in the inventory
          of expired items.'
  buyer:
    purchased:
      type: TCHAT
      message: '&a%buyer% &fjust bought &7%item% &ffor &b%price%&f.'
  remove:
    message:
      type: TCHAT
      message: '&fYou just removed #8ee6e3x%amount% &7%item% &ffrom the sales.'
  ascending:
    price:
      type: TCHAT
      message: Ascending price
    date:
      type: TCHAT
      message: Ascending date
  decreasing:
    date:
      type: TCHAT
      message: Decreasing date
    price:
      type: TCHAT
      message: Decreasing price
  status:
    player:
      type: TCHAT
      message: Click to retrieve this item
    buyer:
      type: TCHAT
      message: Click to buy this item
  error:
    buy:
      error:
        type: TCHAT
        message: '&cYou can''t buy this item.'
      money:
        type: TCHAT
        message: '&cYou don’t have enough money to buy this.'
  broadcast:
    sell:
      annonce:
        type: TCHAT
        message: '&fPlayer &b%player% &fhas added &7%item% &ffor &d%price% &fto the
          auction!'
    buy:
      annonce:
        type: TCHAT
        message: '&fPlayer &b%player% &fhas just bought &7%item% &ffor &d%price% &fto
          the auction!'
  world:
    is:
      banned:
        type: TCHAT
        message: '&cYou can''t use the auction house here.'
  inventory:
    full:
      type: TCHAT
      message: '&cYour inventory is full.'
  blacklist:
    information:
      type: TCHAT
      message: '&cYou are blacklisted, you cannot use the auction house.'
    list:
      type: TCHAT
      message: '&7List of blacklis playerst&8: &f%players%'
    empty:
      type: TCHAT
      message: '&cNo blacklist players'
    add:
      type: TCHAT
      message: '&7You have just added the player &f%player% &7 to the blacklist.'
    remove:
      type: TCHAT
      message: '&7You come to remove the player &f%player% &7 from the blacklist.'
  transaction:
    empty:
      purchase:
        type: TCHAT
        message: '&cYou have not made any purchase transactions.'
      sale:
        type: TCHAT
        message: '&cYou have not made any sales transactions.'
      both:
        type: TCHAT
        message: '&cYou have not made any transactions.'
    message:
      list:
        type: TCHAT
        messages:
        - '&8(&bzAuctionHouse&8) &fTransactions &7%type% &8(&a%page%&8/&a%maxPage%&8)'
        - '%content%'
        - '&8(&b?&8) &7&oDo &f&o/ah history %nextPage% %type% &7&oto go to the next
          page.'
      show:
        type: TCHAT
        messages:
        - '&8(&bzAuctionHouse&8) &fTransactions &7%type% &fof &b%player% &8(&a%page%&8/&a%maxPage%&8)'
        - '%content%'
        - '&8(&b?&8) &7&oDo &f&o/ah transaction %player% %nextPage% %type% &7&oto
          go to the next page.'
      content:
        sale:
          type: TCHAT
          message: '&f%seller% have sold x&a%amount% &o%item% &fto the player &b%buyer%
            for &7%price% &8(&7%date%&8)'
        purchase:
          type: TCHAT
          message: '&f%buyer% have purchased x&a%amount% &o%item% &fto the player
            &b%seller% for &7%price% &8(&7%date%&8)'
        you:
          type: TCHAT
          message: You
  connect:
    claim:
      type: TCHAT
      message: '&aYou have money to recover, make &b/ah claim &ato recover for your
        money.'
    transactions:
      type: TCHAT
      message: '&aYou sold %item% item(s) during your absence.'
  claim:
    money:
      wait:
        type: TCHAT
        message: '&7Wait few seconds...'
      cooldown:
        type: TCHAT
        message: '&cYou have to wait a few minutes before you can do this command
          again.'
      crash:
        type: TCHAT
        message: '&7Unable to retrieve transactions at this time, please contact an
          administrator.'
      error:
        type: TCHAT
        message: '&cYou have no pending transactions.'
      success:
        type: TCHAT
        message: '&aYou just got your money back on hold.'
  cooldown:
    message:
      type: ACTION
      message: ' &cYou must wait &f%cooldown% &cbefore you can do this action.'
  purge:
    start:
      type: TCHAT
      message: '&aPurge start. &8(&7Wait few seconds&8)'
    end:
      type: TCHAT
      message: '&aThe purge of transactions is over.'
  click:
    cooldown:
      type: ACTION
      message: '&cYou must wait before you can perform this action.'
  force:
    open:
      type: TCHAT
      message: '&aYou have just opened the auction house for the player &f%player%&a.'
  priority:
    type: TCHAT
    message: No priority
  economy:
    not:
      found:
        type: TCHAT
        message: '&cImpossible de trouver l''&conomy avec le nom &f%name%&c.'
  dupe:
    info:
      type: TCHAT
      message: '&aThe player &f%player% &ahas just put on sale and removed 3 items
        in less than 60 seconds !'
    infodiscord:
      type: TCHAT
      message: The player **%player%** has just put on sale and removed 3 items in
        less than 60 seconds !

Last updated