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 A Christmas Hangar, Oct 4, 2016.

  1. A Christmas Hangar

    A Christmas Hangar Member

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

    Zrathex Member

    Joined:
    Aug 3, 2016
    Messages:
    974
    Likes Received:
    450
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Got a subwoofer! Neightbours hate me now XD
    Location:
    MARS WITHOUT OXYGEN :|
  3. Mac

    Mac Admin Staff Member Head Administrator

    Joined:
    Nov 24, 2015
    Messages:
    479
    Likes Received:
    2,918
    Trophy Points:
    93
    Gender:
    Male
    Home Page:
    I've already read and seen this thread and some of these commands (or similar) will be added :)
     
  4. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,538
    Likes Received:
    1,482
    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:
    974
    Likes Received:
    450
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Got a subwoofer! Neightbours hate me now XD
    Location:
    MARS WITHOUT OXYGEN :|
    Awesome to see you liked the suggestion \o/
     
  6. Mac

    Mac Admin Staff Member Head Administrator

    Joined:
    Nov 24, 2015
    Messages:
    479
    Likes Received:
    2,918
    Trophy Points:
    93
    Gender:
    Male
    Home Page:
    I mean, I could direct all the dev attention to this, but then it would delay bigger more important projects :p
     
    _Flaxen, YounB, Ping Ether and 2 others like this.
  7. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,538
    Likes Received:
    1,482
    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,542
    Likes Received:
    534
    Trophy Points:
    113
    Gender:
    Male
    What does it do?
     
  9. OrangeGE

    OrangeGE Member

    Joined:
    Jan 21, 2014
    Messages:
    4,682
    Likes Received:
    2,229
    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,049
    Likes Received:
    1,111
    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. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,538
    Likes Received:
    1,482
    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:
    974
    Likes Received:
    450
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Got a subwoofer! Neightbours hate me now XD
    Location:
    MARS WITHOUT OXYGEN :|
    Bored I guess xD
     
  13. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,538
    Likes Received:
    1,482
    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. A Christmas Hangar

    A Christmas Hangar Member

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