[FUN] StixCommands- BestFun/Explosions/C4/Flashbombs!! V1.4 [1.5.2/1.6]

Discussion in 'Archived: Plugin Releases' started by artish1, Jul 23, 2012.

  1. Offline

    Icyene

    Basically:

    Code:
     public void spawnFireballAndTarget(Location targetLoc,
            Location spawnLoc)
        {
        // Target coords
        final double x1 = targetLoc.getX();
        final double y1 = targetLoc.getY();
        final double z1 = targetLoc.getZ();
    
        // Spawn coords
        final double x0 = spawnLoc.getX();
        final double y0 = spawnLoc.getY();
        final double z0 = spawnLoc.getZ();
    
        Vector translation = new Vector(x1 - x0, y1 - y0, z1 - z0);
    
        Fireball fball= new Fireball();
        fball.teleport(spawnLoc);
    
        fball.setDirection(translation);
        fball.setBounce(false);
        fball.setIsIncendiary(true);
        fball.setYield(0);
    
        }
    
    Because MotionX = TargetX - SpawnX etc.

    artish1 Nice plugin. Fun to troll people with the flash bomb :)
     
  2. Offline

    jazaazma

    K Thanx
     
  3. Offline

    Nuclearos

    i think it would be awesome, if you add permissions.

    ive installed it at my server and ... funny plugin! :)

    but the problem is, if someone activates it, its for all users.

    ive got a friend, who loves to have animals at his farm and he wanted to spawn some chicken with eggs and he just blow up his half farm :(

    im sorry for this, i thought it would be only active at the person who active it, but its for everyone at the server

    could you change this?
     

Share This Page