1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

get already made plugin or make it yourself? which is better

Discussion in 'Facepalm' started by Tester_master, Dec 14, 2016.

?

is it better to get a already made plugin or make it yourself

  1. get one that is already made

    6 vote(s)
    30.0%
  2. make one yourself

    14 vote(s)
    70.0%
  1. Tester_master

    Tester_master Silverfish

    Messages:
    19
    which one is better making a plugin yourself or getting one that has already been made? i am planning on making a plugin that was never made before although i will need to learn the full API first.
    tell me from your experience of which one you would rather pick.
     
  2. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    I would make one by myself. That's the way to learn editing from other developers plugin is also good but it doesn't register in your mind as much as making a new one. https://github.com/RTGNetworkkk/BasicPlugin would help you on a very basic level on making plugins after you have learned about the API. :)
     
  3. Tester_master

    Tester_master Silverfish

    Messages:
    19
    if you wanted to know the plugin i was going to make. it has to many commands and functions that will require a large amount of storage. however it is a minigame plugin. if any of you could tell me the amount of storage limit pocketmine has. since what i am planning to make has so many commands and player status more functions etc
     
  4. Tester_master

    Tester_master Silverfish

    Messages:
    19
    thanks for the suggestion!
     
  5. Tester_master

    Tester_master Silverfish

    Messages:
    19
    it says github refused to connect
     
  6. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    I'm not sure about the storage. If you're wondering how to add multiple commands.
    Code
    PHP:
    use pocketmine\command\Command;
    use 
    pocketmine\command\CommandSender;
    public function 
    onCommand(CommandSender $senderCommand $cmd$label, array $args) {
       switch(
    strtolower($cmd->getName())) {
          case 
    "minigame"# type /minigame in game
               
    if(isset($args[0])) {
                 switch(
    strtolower($args[0])) {
                    case 
    "test":  # /minigame test in game
                        
    return true;
                    break;
                 }
               }
               return 
    true;
          break;
       }
    }
     
  7. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    That happened to me. Idk why. You can check the code here http://github.com/RTGNetworkkk
     
  8. Tester_master

    Tester_master Silverfish

    Messages:
    19
    did you make your own version of rankup? i'm getting a android tablet soon so now i can actually join server without having errors joining do you know where i can get latest version for pocketmine?
    this plugin will require many other plugins like the hud plugin (not trying to review to much so no one who reads will try to copy it)
    and so many more other plugins just like economy requires pocketmoney and the extra economy plugins require the core economy plugin
     
  9. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Get latest PocketMine-MP Software here https://jenkins.pmmp.io
    PHP:
    // if you ever need to get EconomyAPI or even other plugin.
    # use pocketmine\Server;
    $api $this->getServer()->getPluginManager()->getPlugin("EconomyAPI");
     
  10. Tester_master

    Tester_master Silverfish

    Messages:
    19
    So if the plugin required doesn't show up in the plugins folder it will show a error. However it will have no function until set to do with the plugin?
     
  11. Tester_master

    Tester_master Silverfish

    Messages:
    19
    Since I used plugins and when I didn't have a required one it showed error and shut down server
     
  12. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Your server crashed after u installed the plugin? If it's crashed check for CrashDump. CrashDumps are really helpful in finding errors/issues in your plugin.
     
  13. Tester_master

    Tester_master Silverfish

    Messages:
    19
    I didn't start making it yet although it does not do a function if we make the plugin require another plugin only just requires that plugin?
     
  14. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    Implement this and the server will only call for this plugin
     
  15. Tester_master

    Tester_master Silverfish

    Messages:
    19
    Thanks for helping me i will start working on it when I have the chance probably when I get the android device since I mainly need MCPE to test
     
  16. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    462
    GitHub:
    InspectorGadget
    You're welcome.
     
  17. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Never create something that's already made. That is just egoism that creates further mess, costs extra time but does not benefit overall development of the community (or humanity if you want to make it sound big) or for any individuals.
    [​IMG]
     
    Sandertv likes this.
  18. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    For me it depends
    firstly is to give a reason, give a reason of why to make one that exist OR to use one that exist
    why choose X
    example there a plugin named LitPerms but you want to make your own over / use it
    use it: because it is convenient or i cant code so i have no choices :(
    make your own: because it is inefficient, creates lags and i bet i can make a better version over it
    all reason is valid choices are up to you
     
  19. Tester_master

    Tester_master Silverfish

    Messages:
    19
    Might not be able to get MCPE on the android device although I can download pocketmine and test the plugin there then use the connection to connect to the server from my iOS device to test the plugin
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.