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

Commands

Discussion in 'Plugins/Codes' started by HangarGeek, Oct 4, 2016.

  1. HangarGeek

    HangarGeek Member

    Joined:
    Sep 15, 2015
    Messages:
    2,667
    Likes Received:
    1,641
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    SrKlompenstein and Buuuddy like this.
  2. Zrathex

    Zrathex Member

    Joined:
    Aug 3, 2016
    Messages:
    1,154
    Likes Received:
    759
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Mr. Ban le rule breakers
    Location:
    MARS WITHOUT OXYGEN :|
    Home Page:
  3. Mac

    Mac Member

    Joined:
    Nov 24, 2015
    Messages:
    617
    Likes Received:
    4,608
    Trophy Points:
    93
    Gender:
    Male
    I've already read and seen this thread and some of these commands (or similar) will be added :)
     
  4. HangarGeek

    HangarGeek Member

    Joined:
    Sep 15, 2015
    Messages:
    2,667
    Likes Received:
    1,641
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    o/


    I am faster coding a sh**** plugin than the devs >:| jk pls no hate i fen ;P
     
  5. Zrathex

    Zrathex Member

    Joined:
    Aug 3, 2016
    Messages:
    1,154
    Likes Received:
    759
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Mr. Ban le rule breakers
    Location:
    MARS WITHOUT OXYGEN :|
    Home Page:
    Awesome to see you liked the suggestion \o/
     
  6. Mac

    Mac Member

    Joined:
    Nov 24, 2015
    Messages:
    617
    Likes Received:
    4,608
    Trophy Points:
    93
    Gender:
    Male
    I mean, I could direct all the dev attention to this, but then it would delay bigger more important projects :p
     
    _Flaxen, Younisco, Ping Ether and 2 others like this.
  7. HangarGeek

    HangarGeek Member

    Joined:
    Sep 15, 2015
    Messages:
    2,667
    Likes Received:
    1,641
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    I know :3
    Just wondering, what are JrDevelopers doing right now, if you can tell it? (@502Errors is working in the next Minerware update, right?)
     
  8. RockBob4

    RockBob4 Member

    Joined:
    May 14, 2016
    Messages:
    1,541
    Likes Received:
    536
    Trophy Points:
    113
    Gender:
    Male
    What does it do?
     
  9. OrangeGE

    OrangeGE Member

    Joined:
    Jan 21, 2014
    Messages:
    4,681
    Likes Received:
    2,231
    Trophy Points:
    113
    Gender:
    Male
    Location:
    p.getLocation();
    From what I see, your plugin may work, however the suitability of it to other devs could be concerning. For example, in one if statement you return the boolean as true if the if statement triggers, and in the rest you don't. Your indentation is not in line too, which could cause some confusion and at the end of the onCommand you declare the boolean as true even if all of the 'if' statements are false, when really if none of the if statements are triggered you should return the result as a false.

    I also don't think the sout saying "Done!" is that necessary, and you can also use getLogger.info("text") for a console message (same with getLogger.warn("text") etc too).

    Sorry if some of this made no sense, I am a bit tired and I don't really know why I even replied to this thread xD
     
  10. xx_360noscope101

    xx_360noscope101 Member

    Joined:
    Jul 6, 2016
    Messages:
    2,548
    Likes Received:
    1,695
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    being a baby chicken
    Location:
    In a chicken coop
    It sorta doesn't make sense to me but I haven't done coding in years. I think you are about 90% correct.
     
  11. HangarGeek

    HangarGeek Member

    Joined:
    Sep 15, 2015
    Messages:
    2,667
    Likes Received:
    1,641
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    I just made this in a fast and bad way, so, yeah, it's not well coded, I know xD
    Save this criticizism when I post Prison Riot :p

    I don't even know why I coded this lmao
     
  12. Zrathex

    Zrathex Member

    Joined:
    Aug 3, 2016
    Messages:
    1,154
    Likes Received:
    759
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Mr. Ban le rule breakers
    Location:
    MARS WITHOUT OXYGEN :|
    Home Page:
    Bored I guess xD
     
  13. HangarGeek

    HangarGeek Member

    Joined:
    Sep 15, 2015
    Messages:
    2,667
    Likes Received:
    1,641
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    You won the lottery :p
    I can make it waaaaaaaaaaayyyyyy better, but it's not worth it
     
  14. maxminoS

    maxminoS Member

    Joined:
    Sep 21, 2016
    Messages:
    95
    Likes Received:
    36
    Trophy Points:
    18
    Gender:
    Male
    Occupation:
    BitCoin Miner but not really
    Location:
    Everywhere but where you are
    Did you hear that @Hangar555? Mac just indirectly said that you slow down the productivity of the developers D:
     
  15. HangarGeek

    HangarGeek Member

    Joined:
    Sep 15, 2015
    Messages:
    2,667
    Likes Received:
    1,641
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    Wot? No, he means that I am faster than the devs. Muahahhahaha