Some questions

Discussion in 'Plugin Development' started by Hypermegazord, Oct 30, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Hypermegazord

    Hello again!
    I have some questions:

    1 - How to give people god mode with a command?
    2 - H0w to remove potion effects from anyone with a command?
    3 - How to mute someone with a command?
    4 - How to kick someone with a command?
    5 - How to ban someone with a command?
    6 - How to start a countdown with a command?

    Thanks! :)
     
  2. Offline

    GRPGamer

    Well if your asking all of that, you should go learn Java. We are not here to tell you how to do everything, and if it is the methods you don't know, check the JavaBukkitDocs
     
  3. Offline

    tbsman

    1 - There is a Playerdamage event
    2 - Player.removePotionEffect
    3 - PlayerChat event
    4 - player.kick()
    5 - player.setBanned()
    For the 6th question I can't really help you.
    Go look at the Javadocs
     
    Hypermegazord likes this.
  4. Offline

    CevinWa

    Bukkit has methods for each one of thoose :D

    1 player.setNoDamageTicks(10000000000); Lasts like forever
    2 plater.removePotionEffect(PotionEffectType.SomePotion); Da so easy
    3 player.mute(); Have you looked at atleast one tutorial? Then you should have known this
    4 player.kick(); There are some tuts about everything of this you know
    5 player.ban();
    6 bukkit.getServer.SheduleASyncRepeatedTask (runable, void, ticks){
    public void{
    Insert method from like 200 tut's about doing this here :D
    }
    }
    return false (Cuz you suck :D);
     
    Hypermegazord likes this.
  5. Offline

    Hypermegazord

    Hey, thanks guys... :)
    And sorry for taking your time, I know I should look at tutorials and Java docs...
     
  6. Offline

    CevinWa

    Try thebcbroz or betterphp they're quite good then wach the bukkit java docs Regular java docs could you watch later :D
     
    Hypermegazord likes this.
Thread Status:
Not open for further replies.

Share This Page