[MECH] Archers v1.0 - Advanced Archery [1.5R0.1]

Discussion in 'Archived: Plugin Releases' started by 1337, Apr 27, 2011.

  1. Offline

    1337

    Archers (Reborn) - Made by [1337]
    I - Introduction
    Archers, makes archery way more powerful and fun! It has a big list of special arrows who can be enabled/disabled easily with Permissions.
    Here is a quick list of its possibilities:
    • Powerful Arrows Light things up with Fire and Lighting arrows, Blow things up with TNT arrows, morph monsters, and the mighty Nuke arrow
    • Fun Arrows generate new trees, make mobs fly up and teleport
    II - Download
    III - Installation and configuration
    • Check the Permission nodes below:
      • Code:
        archers.bow.(arrow name) - Needed to fire the bow
    IV - Usage
    It is really easy. If you type /arrow a list with available arrows will pop up, if you need more information. Just type /arrow (arrow name), and you can see what ammo it uses, and what you too enable it. Also if you dont have permission for a arrow it shows up red, if you do have permission it shows up green

    V - Final note
    Suggestions, Questions or bug reports: Post them in this Thread!
    You can also post, what you want to be updated first. That would also really help me :)
     
  2. Offline

    1337

    Oh, i know why. Im not sure i can do anything about it cause if i fixed it, arrows would ignore protected zones again
     
  3. Offline

    Jazy Lopez

    oh... Maybe you can make it an option in the config as a compromise (I dont really care about the protected zones thing) :D
     
  4. Offline

    Jazy Lopez

    :'(:'(:'( Why do you have to use Bukkit Contrib??? What makes this plugin so special that it needs another api? Pleaseeeeeeeeeeeeee make a build that doesn't require bukkit contrib, I'm sure ALOT of people will be VERYYYY thankful. (Bukkit Contrib is giving me tons of errors for basically every action I do and finishes off by kicking me...)

    And can you tell me the piece of code/class file/line I have to replace to remove the protection checks that makes my Mcmmo think the arrows are digging :'(

    I'm not trying to be demanding or anything just try to consider NOT useing bukkit contrib (Can you tell me what Bukkit Contrib is doing in your code anyways?)
    Thanks

    EDIT: Most of them don't seem to be working (tested Monster and TP with no counsel errors and no actions...) Also the fire and ice still don't seem to check for air before replacing the blocks.... (Look at Sploderrows for reference, he has fire arrows that check for air with complex code formula) and the Bukkit contrib thingy was fixed when I updated it to an unofficial version on its thread (No more errors) -Still would be nice to not have it in my plugins...
    Oh and I test B8 on latest bukkit build with Unofficial Bukkit Contrib for 1.7 (Old one just killed the server)
    :D
     
  5. Offline

    1337

    BukkitContrib does the crafting permissions. To remove the protections checks remove this -
    Code:
     BlockBreakEvent e = new BlockBreakEvent(newlock.getBlock(), player);
           BlockBreakEvent ev = new BlockBreakEvent(loca.getBlock(),player);
       
           a.getServer().getPluginManager().callEvent(e);
           a.getServer().getPluginManager().callEvent(ev);
     
          if(!e.isCancelled() && !ev.isCancelled()){
    And the if statements closing } as well. That code is found in the destroy() method of arrow.java

    Ok new update, still build8 though. hopfully working with mc 1.7 now :D will test more when i get back(getting uniform for new school :D)

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

    Jazy Lopez

    Thanks, and Contrib does Crafting permissions... Then to hell with the craft permissions, I bet no one even uses em, I just use the arrow permissions (I just set archers.craft.*). Seriously I think the archers.bow and archers.craft are just redundant permissions, you need both to be able to shoot that type of arrow anyways so there isn't much point.;)


    Again thanks for the code and I have a curious question, are you really 13???:eek:
     
  7. Offline

    1337

    @Jellifish uses craft permissions :D, i made them for him realy, ill add a option to disable them and stuff i think. And yep im 13 :D 14 in november
     
  8. Offline

    Jazy Lopez

    Damn... Thats crazy :eek::eek: You are very smart or this is very easy ;)
    Congrats on this accomplishment at such a young age, I'm actually learning (I know some Lua) java

    Would be great if you could disable the craft permissions/contrib :cool:
    Sorry for giving you so much more work (The fire and ice arrows need that check code for air)

    Great job on the plugin, Love it :)
     
  9. Offline

    yakasuki

    idea torch arrow like where you shoot this arrow and if it hits a wall it puts a torch on it and watever it hits (mob/player)
    it sets it on fire XD
     
  10. Offline

    1337

    Theres already a torch arrow, but it doesnt set mobs on fire :D

    IF you are looking for tutorials - http://www.java-made-easy.com/ is good, its where i learnt the basics. Yep, working on all that

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

    yakasuki

    does it stick to walls (i was really hoping for setting on fire :( )
     
  12. Offline

    1337

    It will go to the block you shoot it at, so if you hit the side of the block, then yes it will stick to the wall
     
  13. Offline

    Mabboon

    I get alot of errors when i shoot an arrow.
    Code:
    18:06:01 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerPickupItemEvent.<init>(Lorg/bukkit/entity/Player;Lorg/bukkit/entity/Item;)V
    18:06:01 [SEVERE]     at TechGuard.x1337x.Archers.Arrow.Arrow.b(Arrow.java:285)
    18:06:01 [SEVERE]     at net.minecraft.server.EntityHuman.i(EntityHuman.java:219)
    18:06:01 [SEVERE]     at net.minecraft.server.EntityHuman.v(EntityHuman.java:211)
    18:06:01 [SEVERE]     at net.minecraft.server.EntityPlayer.v(EntityPlayer.java:280)
    18:06:01 [SEVERE]     at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
    18:06:01 [SEVERE]     at net.minecraft.server.EntityHuman.m_(EntityHuman.java:96)
    18:06:01 [SEVERE]     at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:192)
    18:06:01 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
    18:06:01 [SEVERE]     at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    18:06:01 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18:06:01 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    18:06:01 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18:06:01 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    18:06:01 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    18:06:01 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18:06:01 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerPickupItemEvent.<init>(Lorg/bukkit/entity/Player;Lorg/bukkit/entity/Item;)V
        at TechGuard.x1337x.Archers.Arrow.Arrow.b(Arrow.java:285)
        at net.minecraft.server.EntityHuman.i(EntityHuman.java:219)
        at net.minecraft.server.EntityHuman.v(EntityHuman.java:211)
        at net.minecraft.server.EntityPlayer.v(EntityPlayer.java:280)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityHuman.m_(EntityHuman.java:96)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:192)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  14. Offline

    1337

    What craftbukkit build are you on?
     
  15. Offline

    Mabboon

    Im on the 953
     
  16. Offline

    1337

    Ok download build9 should be fixed :D
     
  17. Offline

    Lord_kass

  18. Offline

    1337

  19. Offline

    Clucky

    You mean 935? :D
    And sweeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeet! I'VE BEEN LOOKING FOR ONE OF THESE TYPES OF PLUGINS (that work).
     
    1337 likes this.
  20. Offline

    Taemera

    Just tested the normal and fire arrows (the ones I use), they worked perfectly. I did not detect any problems with permissions.
    However, the animation of a fast arrow (speed of 10.000 blocks/s) looks like a normal arrow, so aiming is more difficult now. This problem already existed in previous builds (since MC 1.6) and is probably a client-side problem.
     
  21. Offline

    gamerguy14

    Found a problem with b9. If you type /arrow then Stone or Spawn arrow, an error appears.
     
  22. Offline

    1337

    Deleate the files in the plugins/archers folder and restart the server or use /reload
     
  23. Offline

    gamerguy14

    Now it will tell me what the arrows are but it won't let me use any of the arrows.
     
  24. Offline

    1337

    Why wont it let you use them?

    I Am planning on making a translation system into archers, aka it will convert all the words to a different language. it will be simple to set up and use :D, Would anyone be interested?

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

    gamerguy14

    It doesn't say anything. It just doesn't change arrows when I hit stuff so it is stuck on the tp arrow and when I shoot the tp arrow it doesn't tp me.
     
  26. Offline

    Taemera

    Does it shoot the arrow?
     
  27. Offline

    1337

    Do you have the archers.change.bowname permission for the arrow your trying to change to?
     
  28. Offline

    1337

  29. Offline

    Flenix

    Thunder arrow doesn't seem to be working on our server.
    Using Archers B10 (wasn't working on B9 either)
    CB 953
    No errors, it takes the required items and fires the arrow just nothing happens when the arrow lands...

    We have Zeus plugin and Magic plugin, which add lightning abilities to Gold Swords and a spell, but I doubt they're getting in the way?
     
  30. Offline

    1337

    Have the permissons for doing it? try it without those plugins, anything to stops weather could stop it
     
  31. Offline

    Flenix

    Yeah I have * for permissions. Weather itself occurs naturally on our server - does this arrow JUST do lightning or does it make it rain too?
    I'll try Zeus and see if that works, its a similar arrow after all...
     

Share This Page