Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

change discription in /help

Comments in 'Plugin Development' started by Cristalix, Sep 10, 2015.

  1. Cristalix
    Offline

    Cristalix New Member

    Joined:
    Sep 10, 2015
    Posts:
    38
    Minecraft User:
    Gistrec
    I would like translate plugin's.
    And how can I change discription in /help :3
  2. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Edit them in the plugin.yml file.
  3. Cristalix
    Offline

    Cristalix New Member

    Joined:
    Sep 10, 2015
    Posts:
    38
    Minecraft User:
    Gistrec
    I think thet i need edit .phar
    But, then i change description (e.g. "description: Become colorful!" to "description: this-new-text")
    plugin does not work.
  4. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Just use DevTools to extract the plugin to its source code.
    Edit the commands descriptions in the plugin.yml.
    Cristalix likes this.
  5. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    I do know what im talking about.
    She/he wants to change the description of commands from certain plugins to another language, If i read correctly.
  6. andre_the_gamer
    Offline

    andre_the_gamer Active Member

    Joined:
    Feb 5, 2015
    Posts:
    112
    Minecraft User:
    Andre_The_Gamer
    No " what he says is that he wants to change the /help which means that he wants to change how the /help command says / listed. Im thinking he wants to add when a player does /help it says Welcome to <ServerName> Help Center and he can add some of his things. I think :)
  7. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    He wants to change the description of the /rainbow command.
  8. andre_the_gamer
    Offline

    andre_the_gamer Active Member

    Joined:
    Feb 5, 2015
    Posts:
    112
    Minecraft User:
    Andre_The_Gamer
    Oh ok, but why did he said /help cause the /help was made for pocketmine to list all plugins decription.. ECT
  9. andre_the_gamer
    Offline

    andre_the_gamer Active Member

    Joined:
    Feb 5, 2015
    Posts:
    112
    Minecraft User:
    Andre_The_Gamer
    Actually to be real, He has not really explain better to any of use. :)
    All he said is" How to change the /help :3" , How the hell are we suppose to understand that. xD
    Hotshot_9930 likes this.
  10. andre_the_gamer
    Offline

    andre_the_gamer Active Member

    Joined:
    Feb 5, 2015
    Posts:
    112
    Minecraft User:
    Andre_The_Gamer
    Make sure you edit it right' , I think i may be able to help just post the plugin.yml here and ill check out the error.

    And also i would suggest asking the owner permission before editing his plugin, Cause that wouldn't be nice without Asking :) xD
  11. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    PHP:
    $cmd $server->getCommandMap()->getCommand("rainbow");
    if(
    $cmd instanceof Command){
      
    $cmd->setDescription("New description");
    }
  12. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    You don't need to, kid. It's not like you're going to release it... :p
  13. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Can you stop calling everyone kid? That's offensive.
  14. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Why need to edit it? We already have an institutional solution here.
  15. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Definition of kid: a young person. :p
  16. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Still offensive to some.
  17. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Kid. Teen. Adult. Grandpa. Which one shall I call you? XD
  18. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    You don't have to tell someone what they are when you talk to them.
    PEMapModder likes this.
  19. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Whatever, Steve with a diamond helmet with green eyes.
  20. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    [email protected]

Share This Page

Advertisement