Chestcommand plugin perm message

Discussion in 'Bukkit Help' started by mraxe2002, Jun 25, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    mraxe2002

    [​IMG] How i can change this messages i dont want players see the perm


    [​IMG]
     
    Last edited by a moderator: Jun 25, 2018
  2. Online

    timtower Administrator Administrator Moderator

    @mraxe2002 Have you asked the developer already? Requires a code change by the looks of it.
     
  3. Offline

    mraxe2002

    no i just need change the message or i need plugin like chestcommands
     
  4. Online

    timtower Administrator Administrator Moderator

    @mraxe2002 And those messages can only be changed by changing the code of the plugin.
     
  5. Offline

    xbpuk

    Hi there,

    @timtower There is no need to change the plugin's code as it has a lang file.

    @mraxe2002 I've gone ahead and changed the lang file so it has no permission at the end of the message. Go ahead and edit the file in the directory called ChestCommands/lang.yml and change it to have the following:

    Code:
    no-points: '&cYou need {points} player points for this.'
    no-open-permission: '&cYou don''t have permission to use this menu.'
    default-no-icon-permission: '&cYou don''t have permission for this icon.'
    open-menu: '&aOpening the menu "{menu}".'
    no-exp: '&cYou need {levels} XP levels for this.'
    menu-not-found: '&cMenu not found! Please inform the staff.'
    no-money: '&cYou need {money}$ for this.'
    no-required-item: '&cYou must have &e{amount}x {material} &c(ID: {id}, data value:
      {datavalue}) for this.'
    open-menu-others: '&aOpening the menu "{menu}" to {player}.'
    any: any
    
    Best Regards,

    - ES Team.
     
  6. Online

    timtower Administrator Administrator Moderator

    Never realized that there was one.
    Then there are still a lot of hardcoded messages though.
     
Thread Status:
Not open for further replies.

Share This Page