[INACTIVE][FUN]Airstrike v1.1. - raining TNT, creperssSS (Permissions) [670]

Discussion in 'Inactive/Unsupported Plugins' started by muCkk, Mar 4, 2011.

  1. Offline


    Airstrike has a new home - click

    Airstrike Version: v1.1
    This plugin let's you rain TNT or spawn creepers near players.

    1. Put the Airstrike folder and 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

    • Blowing players up ;)
    • Permissions support

    • /as help - lists all commands
    • /as <tnt/cr> <player> <amount> <height>
      <tnt/cr> - TNT or Creeper?
      <player> - Victim
      The plugin will use the default values if not given:
      <amount> - Set the amount of TNT blocks/creepers
      <height> - TNT only - Sets the vertical distance to the victim
    • /asset for admins only to change the configuration
      Example: /asset adminsonly true
    If you dont choose amount and/or height the values of the config file will be used.

    Airstrike.properties (open)

    #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 spawncreeperAmount: Amount of creepers

    Permissions nodes (open)

    --> Grants acess to /as tnt and /as cr
    --> Access to tnt only
    --> Access to creepers only

    --> (Admins) Grants access to /asset command

    Download (Dropbox)
    Source Code (Github)

    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


    Hahaha, when i saw the thread first thing that poped to mind was players getting showered on by TnT!
  3. Offline


    Woohoo! You deserve a cookie! This is gonna be much more exciting than just using /kill!
  4. Offline


    thanks for your feedback :). i hope you have fun with the new update.
  5. Offline


    Just one question: Does it damage the environment?
  6. Offline


    yes it does (you should see my test map..). but that's a good point. i'll keep it in mind.
    edit: 0.3 has now the option to protect all blocks
  7. Offline


    That's the problem... It would be epic without damage though! :D I can now think of one use that can actually be helpful when destroying things: Killing griefers and their extremely ugly creations! :D
  8. Offline


    it dont work at my server. i can open the help but not start a tnt attack can anyone say me an exaple with names?
    i typed in /as tnt nickeeey und es tat sich nix
  9. Offline


    it should work like this:
    /as tnt muckk
    if you are in a cave or near a hill it's possible the tnt spawns in the wall, but you should hear it explode.

    check these things please:
    is there an error in the console?
    is adminsOnly true or false? if it is true, are you liste in the ops.txt?
    which bukkit version do you use?
    are there other plugins which could interfere (worldguard for example)?
  10. Offline


    can you add Permissions support?
  11. Offline


    @sza22: sure. gonna try to do it today.
  12. Offline


    Lovely and fun plugin. ;)

    Yeah, permissions support is a must though.
  13. Offline


    done. if there are any bugs left let me know, but i think i tested everything.
  14. Offline


    cool, thanks
  15. Offline


    it won't let me summon creepers because of block protection. i want them to damage the player but not the world
  16. Offline


    that's not implemented (yet). you can only disable them completely.
  17. Offline


    I need help cuz it isnt working. On the counsel.it said like couldn't delivery airstrike or something like that
  18. Offline


    can you copy the error message from the console please?

    i just got an idea: you can activate creepers in airstrike but use worldguard to prevent that blocks get destroyed (players still get damage)
  19. Offline


    You should add iConomy support for this. I want to add this to my server, but not for free. For example, someone can pay 10,000 coins for a single air strike.
  20. Offline


    When players on my server break tnt, tnt near that tnt won't go off, it just respawns and repairs the blocks. Only the tnt they set of damages the enviorment.
  21. Offline


    @Nima304: sorry, but it's unlikely that i will do that

    @Techcuron: do you have other plugins that effect tnt? (worldguard for example)
  22. ok i get an error when i try to use this command...

    i have only tried it on myself, that might be the problem but im still testing out the prototype of my servr i have one testing buddy and when he logs on i will test it on him but untill then i denounce this a problem

    21:05:57 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'as'
    in plugin Airstrike v1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
            at airstrike.CommandsPerm.onCommand(CommandsPerm.java:71)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
  23. Offline


    @technologicalyunsavy: looks like you didn't use the command right. what did you type in?
    it has to look like this:
    /as tnt muCkk
  24. Offline


    I get this all the time when I want to do an airstrike?

    21:47:43 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'as' in plugin Airstrike v1.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:225)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:391)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
    at airstrike.CommandsPerm.onCommand(CommandsPerm.java:40)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 6 more
  25. Offline


    which bukkit version do you use?
    i try to update airstrike not later than tomorrow. so far i didn't experienced problems with the new version. so it's hard to tell what's happening.
  26. Offline


    I am running Bukkit Bukkit-0.0.0-612 or 612
  27. Offline


    this looks rather fun, combined with my antitnt add on, i wont take out to much of the terrain
  28. Offline


    i tested airstrike with minecraft 1.4.01 and the newest bukkit version (from 7.4.2011) and it works.
    the only problem is that you can't use the commands in the server console. i'm going to fix that with the next update.

    i just updated the plugin. should work fine now.
    btw: can someone explain me how to use github? =)

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

    MC fan101

    AWESOME nice plugin :D
  30. Offline


    Lovit, but just one request... /as cr/tnt x y z or by block pointing. Like a wand or something used in PVM when encountering a large mob.


Share This Page