1. Welcome to the Brawl website! Feel free to look around our forums. Join our growing community by typing /register in-game!

/wo

Discussion in 'Capture the Flag' started by pandanielxd, Feb 18, 2017.

Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...
  1. pandanielxd

    pandanielxd its panda daniel

    Joined:
    May 17, 2015
    Messages:
    2,422
    Ratings:
    +893
    Just a little idea for /wo, what if you could specificy what to watch out for? like "/wo ninja" giving the message:
    [​IMG]

    The censoring ofcourse still takes in place. This would also count for /in.
     
  2. SoCool21

    SoCool21 Bans Reports & Appeals Admin | McPvPer for Life <3

    Joined:
    May 17, 2015
    Messages:
    6,096
    Ratings:
    +2,517
    Atm you can just do /wo, then in a separate message put "ninja". So, unless this is really easy to add, there's not much of a point in spending dev time to do this. However, it would be a nice change later down the line.
     
    • Agree Agree x 3
  3. Proterozoic

    Proterozoic Wiki Team is a Semi-Staff Rank

    Joined:
    May 17, 2015
    Messages:
    2,227
    Ratings:
    +916
    also adding ninja, or another class significantly adds time to typing the command out. I wouldn't mind if the command had a shorthand for each class as well (so for example /wo n for watch out, ninja!) but as socool said, you may as well just type ninja in a seperate message as it makes no massive difference
     
    • Agree Agree x 1
  4. featherpaw

    featherpaw Your friendly neighborhood kitten! :3

    Joined:
    Aug 16, 2015
    Messages:
    2,548
    Ratings:
    +1,424
    It doesn't take a lot of dev time though. It's just
    if(commandLabel.equalsIgnoreCase("wo ninja"))
    {
    system.out.println("Watch Out! Ninja!");
    }
    etc. etc.
     
    • Agree Agree x 3
  5. TheZombieKat

    TheZombieKat CTFer since May 2012

    Joined:
    May 18, 2015
    Messages:
    1,161
    Ratings:
    +354
    There would just need to be abbreviations for each class name, but that's not super hard to come up with.
     
    • Informative Informative x 1
  6. Algelier

    Algelier Former Staff Member.

    Joined:
    Sep 29, 2013
    Messages:
    1,811
    Ratings:
    +1,108
    This method only sends a message to the console and not to the server's chat. Bukkit.broadcastMessage(String) is the right thing.
     
    #6 Algelier, Feb 18, 2017
    Last edited: Feb 18, 2017
  7. featherpaw

    featherpaw Your friendly neighborhood kitten! :3

    Joined:
    Aug 16, 2015
    Messages:
    2,548
    Ratings:
    +1,424
    lol yea I figured. I just didn't wanna go through and literally write out every line of code. :3
     
  8. BAWSS5

    BAWSS5 Well-Known Member

    Joined:
    May 17, 2015
    Messages:
    920
    Ratings:
    +377
    I'd prefer if /wo posted 'u w0t'
     
    • Funny Funny x 1
  9. minecraftnoob999

    minecraftnoob999 Well-Known Member

    Joined:
    May 17, 2015
    Messages:
    927
    Ratings:
    +358
    that game me cancer

    PHP:
    if(cmd.getName().equalsIgnoreCase("wo"))
    {
         if(
    args.length 1)
         {
               
    //normal message
         
    }else
        {
              
    ///Wo command + message + flag location etc. blablahblah
        
    }
    }
    You forgot the teams
     
  10. featherpaw

    featherpaw Your friendly neighborhood kitten! :3

    Joined:
    Aug 16, 2015
    Messages:
    2,548
    Ratings:
    +1,424
    Omg, I'm not writing out the entire program.......... get off my ducks about it
     
  11. minecraftnoob999

    minecraftnoob999 Well-Known Member

    Joined:
    May 17, 2015
    Messages:
    927
    Ratings:
    +358
    no
     
    • Funny Funny x 1
Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...