Inactive [FUN] MoreAirstrike V1.6 -- raining TNT, creepers, angry wolves, potions, and arrows! [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by zhuowei, Jul 28, 2011.

  1. Offline

    zhuowei

    This plugin is an updated version of Airstrike V1.1 by muCkk.

    The BukkitDev page is here.

    MoreAirstrike Version: v1.6
    This plugin let's you rain TNT, shower players with arrows and potions of poison, or spawn angry wolves or creepers near players.

    Installation:
    1. Put the jar into Bukkit's plugin folder
    2. If you use Permissions configurate the nodes (see below)
    3. Customize Airstrike.properties or use the default values

    Features:

    Blowing players up ;)
    Bukkit Permissions support
    Built-in explosion blocker. (type /asset destroyBlocks true to disable it)

    Commands:

    /as help - lists all commands
    /as <tnt/cr/arrow/wolf/reverse/potion> <player> <amount> <height/potiondata>
    <tnt/cr/arrow/wolf/reverse/potion> - TNT, flaming arrows, wolves, splash potions, or Creepers?
    <player> - Victim
    The plugin will use the default values if not given:
    <amount> - Set the amount of TNT blocks/creepers/arrows
    <height/potiondata> - TNT and potion only. For TNT, sets the vertical distance to the victim; for potion, sets the potion to be thrown (default 5, potion of poison).
    /asset for admins only to change the configuration
    Example: /asset adminsonly true

    If you don't choose amount and/or height the values of the config file will be used.

    Config:
    Show Spoiler

    #destroyBlocks: true: Blocks get destroyed - false: Block won't get touched
    #height: Sets height in which the TNT will spawn
    #area: Defines the cuboid area size in which the TNT will spawn
    #TNTAmount: Sets the amount for /as <player>
    #creeperDistance: Distance in which creepers will spawn
    #creeperAmount: Amount of creepers
    #arrowAmount: sets the amount for /as arrow <player>
    #wolfAmount sets the amount for /as wolf <player>
    #potionAmount sets the amount fot /as potion <player>
    height=8
    destroyBlocks=false
    adminsOnly=false
    creeperAmount=1
    area=6
    arrowAmount=30
    creeperDistance=5
    TNTAmount=1
    wolfAmount=2
    potionAmount = 5


    Permissions:
    Show Spoiler

    airstrike.as
    --> Grants acess to all of the /as commands
    airstrike.as.tnt
    --> Access to tnt only
    airstrike.as.cr
    --> Access to creepers only
    airstrike.as.arrow
    --> Access to arrows only
    airstrike.as.wolf
    --> Access to wolves only
    airstrike.as.reverse
    --> Access to reverse airstrike only
    airstrike.as.potion
    --> Access to potion airstrike only
    airstrike.asset
    --> (Admins) Grants access to /asset command


    Download
    Source Code (Github)

    Changelog:

    Version 1.6 (January 20, 2012):
    - Switched to the new Bukkit event system
    - Added potion airstrike. /as potion username amount potiondata

    Version 1.5:
    Switched to Bukkit permissions
    Added reverse airstrike
    Show Spoiler

    Version 1.4:
    Added ability to spawn angry wolves

    Version 1.3.1
    Changed the name to MoreAirstrike

    Version 1.3
    Added ability to spawn arrows

    Version 1.2
    Changed the plugin so that it runs on Bukkit build 1000


    Changelog of the original versions:
    Show Spoiler

    Version 1.1
    - Commands can now be used in console
    - Bugfixes

    Version 1.0

    added Permissions support
    changed the way the plugin handles commands
    i took the step to 1.0 cause of major changes to the code (permissions support and handling of comamnds) and it seems to be much more 'complete' now

    Version 0.3

    added 'destroyBlocks' (default false) to the config. true: blocks get destroyed. false: your world is safe
    added 'adminsOnly'. If set true only admins can use the plugin
    added creeperssssSSS.
    'creeperDistance' sets the distance to the victim when a creeper is spawned
    'creeperAmount' sets how many creepers will spawn by default
    creepers will also spawn randomly around the player
    Changed command structure

    Version 0.2

    TNT now 'rains' on the player and ..
    .. it is now spawning randomly arround the player (use the config to control the size of the area)
    added new commands
    added config file

    Version 0.1

    first release
     
  2. Offline

    Plague

    We are trying to prevent making two plugins of the same name if possible. Could you rename this fork? I know you are continuing it and you did mention it but it still creates a mess when using the same name.
     
  3. Offline

    zhuowei

    Thanks. I'll think of a better name.
     
  4. Offline

    Perdog

    Spooky? :p You know, the AC130 that just wrecks everything in it's path :D

    Or Bombing run :p
     
  5. Offline

    zhuowei

    And of course, I came up with the most unoriginal name possible. Thanks for the suggestions, though.
     
  6. Offline

    Perdog

    Yours is better then the one I came up with for the plugin I'm keeping alive lol I just changed an e to a y xD
     
  7. Offline

    MonsieurApple

    Approved!
     
    zhuowei likes this.
  8. Offline

    TwoHeadedBoy

    Can't seem to perform a creeper airstrike, even though I've given myself the appropriate permissions. Using bukkit build 1000, the latest Permissions (3.16, I guess?) and this latest plugin version.
     
  9. Offline

    zhuowei

    This plugin now uses the built-in Bukkit permissions. Try making yourself an op on the server.
     
  10. Offline

    TwoHeadedBoy

    I already am.
     
  11. Offline

    zhuowei

    Is the server on peaceful mode and are there any other plugins that prevents creepers from spawning?
     
  12. Offline

    TwoHeadedBoy

    The server is not on peaceful. Also, let me supply you with a list of my plugins.

    AimCannon, AppleTree, Clock Sign, CommandBook, CrouchJump, EasyFlight, Fortification, FullChest, GiveMeWool, HelloWorld, HeroChat, KiwiAdmin, Landmarks, LazyRoad, LongGrass, Mario, RemoteToolkitPlugin, MoreAirstrike, MotherNature, NaturalGiants, Permissions, Permissions, PermissionsBukkit, PermissionsSql, PetCreeper, PortableTorch, SpawnMob, Spout, TorchMissile, VanishNoPickup, VoxelAir, VoxelSniper, WolfSpawn, WorldBorder, WorldEdit, WorldGuard, dynmap, MobDisguise, RegionWarp, BaseBukkitPlugin

    A few of my WorldGuard regions are set up such that creepers don't spawn, but I'm never in any of those when I attempt the airstrike, and spawnmob seems to do just fine at spawning them.
     
  13. Offline

    zhuowei

    Well, it worked for me on a server with no plugins other than this one. Is there an error in the server console when you attempt to spawn creepers? Also, perhaps creeperAmount has been set to 0 in the config. try deleting the Airstrike folder in the plugins folder.
     
  14. Offline

    malcolmforde

    Thats Awsome (I was going to put awsome in caps but i got warnd for it before)
     
  15. Offline

    Sunge

    Will you update it to 1.1 :oops:? Would be nice. :D
    Ohh yeah! If you update, can you add airstrike Potion of Poison? ^^
     
  16. Offline

    zhuowei

    The plugin still worked on 1.1, but I've added the potion airstrike for you.
     
  17. Offline

    Sunge

    Thank you for updating it so quick! ;)
    But now I can not use any command! There will only arrive the help message ;/
     
    DaPope13 likes this.
  18. Offline

    DaPope13

    I have been getting the same thing, Only shows help, I am op, have the perms put in anyway, Etc..
     
  19. Offline

    zhuowei

    -Does this only happen with one type of airstrike?
    -Are there error messages in the server log?
    -Which permissions plugin are you using?
    -Does the older version from https://github.com/downloads/zhuowei/Airstrike/moreairstrike.jar still work?
     
  20. Offline

    Sunge

    No, the help message arrives with all types of airstrike!
    Yes, here they are:
    Code:
    2012-01-24 14:12:23 [SEVERE] Error occurred while enabling MoreAirstrike v1.6 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
        at airstrike.Airstrike.onEnable(Unknown Source)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:440)
        at org.bukkit.Bukkit.reload(Bukkit.java:188)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:571)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:548)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    I am using Permissions (Yeti) 3.1.6
    http://forums.bukkit.org/threads/in...sions-3-1-6-the-plugin-of-tomorrow-935.18430/
    This version is working for me. But I get a error message there, too:
    Code:
    2012-01-24 14:12:23 [SEVERE] Error occurred while enabling MoreAirstrike v1.6 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
        at airstrike.Airstrike.onEnable(Unknown Source)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:440)
        at org.bukkit.Bukkit.reload(Bukkit.java:188)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:571)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:548)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    (it's the same like the error of the newer one)

    Now there appear an otherer error message (just curious?)
    Code:
    2012-01-24 14:28:34 [WARNING] Plugin MoreAirstrike v1.6 tried to register permission 'airstrike.asset' but it's already registered
    java.lang.IllegalArgumentException: The permission airstrike.asset is already defined!
        at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:450)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:196)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:355)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:342)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    7 times in succession (older version of as)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  21. Offline

    zhuowei

    I've updated MoreAirstrike to use the new Bukkit event system used in Bukkit 1.1.0, so the plugin will only work on a CraftBukkit 1.1 release. Sorry about that.
     
  22. Offline

    sam501

    Video?
     
  23. Offline

    morshu9001

    That's AWESOME! AAAAAAAAAAAAWWWWWWWWWWWWEEEEEEEEEESSSSSSSSSSSSSSSOOOOOOOOOOOOOOOOOOMMMMMMMMMMMMMMMMMMMMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
     
  24. Offline

    blackhawk185

    Could you please add a cooldown and a permission to disable it?
     
  25. Offline

    zhuowei

    Permissions are already supported via SuperPerms; simply deny airstrike.as or airstrike.as.(type) where type is the command to the player to disable.
     
  26. Offline

    blackhawk185

    Ok. Thanks for the info.
     
  27. Offline

    Molo20

    On start - Sorry for my English, cuz I'm from Poland :) Is it possible to make: if I type 'random' instead of string (like random instead of player's name) it'll get random thing... That's example: /as 'random' 'random' 20 128... So it'll rain 20 random thing(like 20 tnt's) on random player from 128 height... I hope, you understood me :D
     
  28. Offline

    zhuowei

    Random player's easy; random airstrike may be a bit difficult to work around in the old code. Maybe a plugin like CommandHelper could be used to randomly select the attack.
     
  29. Offline

    Molo20

    Ok :) Thanks for response :)
     
  30. I still don't understand what reverse does
     

Share This Page