[FUN/MECH] Sploderrows v2.0- Fire and explosive arrows [740]

Discussion in 'Inactive/Unsupported Plugins' started by cowman24, Apr 16, 2011.

  1. Offline

    cowman24

    Sploderrows:
    Version: v2.0 [733]
    Allows usage of exploding arrows and fire arrows.


    [cake]Version 2.0![cake]


    I'm excited to bring a total of 5 new features, 5 mechanics updates, and bug fixes.
    Everything new will be explained in more detail in its own spoiler as I write them, this is just to list everything new.

    NEW in 2.0:
    • Permissions! (In more than one way!)
    • Hunterrows !(or hunt arrows, still deciding on that, if you have a better name for what they do tell me, I might change it)
    • Protected Area!
    • Detonators!
    • [type]price replaces [type]cost and currencyitems.
    • [flintnsteel] gets used when set as a price.
    • Separated out tactical arrows to be a subset of each type instead of only sploderrows.
    • Independent triggering for tactical arrows.
    • LESS LAG! I probably should have put this higher up on the list.
    • Added tacticalradius setting, acts like fireradius but for tactical subset of fire arrows.
    • I didn't feel like commenting out an attempt at area selection wands so now there is a super secret surprise command that works but wasn't working well enough for me to include it in the update. [creeper]
    • Anything that you notice is different that I have not listed here is also in the update, however if said difference screws you over you can safely assume its a bug, and will be fixed.
    Tactical Arrows:
    Show Spoiler

    Explode when you trigger them later.
    You can use a left click with the item you fired them with to trigger them, or a detonator.
    You can fire these by sneaking while shooting any type of arrows.
    Tactical arrows behave differently than normal arrows in other ways.
    Generally this difference is that default power is reduced.
    Actually its the only way besides the trigger ability.


    Hunterrows:
    Show Spoiler

    These are special arrows that you can use for safe hunting, without making the area you are hunting in an eyesore or causing alot of lag.
    They dont destroy blocks, only hurt entities, however they dont make a sound, as other explosions would. They also dont make special effects, which is great for anti lag.


    Permissions:
    Show Spoiler


    The base permissions node is sploderrows
    the next level contains sploderrows.bows and sploderrows.splode and sploderrows.det
    splode is for /splode commands
    bows is for firing bows
    det is for detonators permissions

    bows permissons are as follows:
    bows.fire
    bows.splode
    bows.hunt

    splode permisssions:
    splode.save
    splode.reset
    splode.set
    splode.get
    splode.help
    splode.reload
    splode.listvar

    det permissions:
    det.make

    there is only one det permission, but soon more


    Protected Areas:
    Show Spoiler

    Right off the bat I should tell you all you MUST have at least 1 protected area for it not to crash, here is a fixer yml file.

    Code:
    Areas:
        fix: world:0.0:0.0:0.0:0.0
    


    Detonators:
    Show Spoiler


    To make a detonator, you place a sign, and make the first line in this syntax.
    [<type>] <name>
    type is H for hunterrows, S for sploderrows, and F for fire arrows.
    name is the name you choose for the detonator, not your name.
    the last 3 lines are for adding names, it will say they are not valid if the player is not logged on that you add. you MUST include the full name.
    Dont worry about adding yourself, you are defaulty on the members list.

    On right click of the sign, all the tactical arrows of type <type> will be detonated for everyone in the members list. I will work on making the detonators bind to the actual sign and more members signs later.

    You know it worked if you see COLORS!!


    Everything else:
    Show Spoiler

    Dependancies:
    • Permissions, for now
    • MultiVerse (compatible, not really dependent)


    Features:

    • Exploding Arrows
    • Tactical Arrows Subsets
    • Fire Arrows
    • Hunting Arrows
    • 11 Configurable Settings:
      • Splode Bow Item #
      • Fire Bow Item #
      • Hunt Bow Item #
      • Radius of fire created by Fire Arrows
      • Radius of fire created by Tactical Fire Arrows
      • Cost of Sploderrows in any item.
      • Cost of Fire Arrows in any item.
      • Cost of Hunterrows in any item.
      • Whether or not arrows can combust/explode mid-air
      • Force of Sploderrows/Hunterrows
      • Force of Tactical Sploderrows/Hunterrows
    • In game configurable
    • Out of game configuration file
    • Multi-World support + (+ only if you create worlds using /mvcreate)
    • Automatic configuration generation for all worlds
    • All commands are under a single /splode command, to make /help less cluttered.
    Download
    Don't have permissions? Download this instead!

    Source Code

    Directions:
    • Right click with the item assigned to SplodeBow to fire Sploderrows.
    • Right click with the item assigned to FireBow to fire Fire Arrows.
    • Right click with the item assigned to HuntBow to fire Hunterrows.
    • Right click while sneaking with any bow to fire the tactical version of that bow.
    • Left click to trigger your Tactical Arrows.
    • "/splode help" in-game for help with /splode commands.
    Bugs:



    Show Spoiler

    • Sploderrows don't emit a fuse as they are supposed to.
    • Protected Areas dont automatically add an entry, you have to add it yourself. Read the instructions in the protected areas spoiler.




    TO-DO:
    • Fix bugs.
    • Make blocks be able to trigger a groups Sploderrows when powered by redstone.(?)
    • Make Tactical Sploderrows not despawn.
    • Video?
    • Dispenser support.
    Changelog:


    Code:
    Version 2.0
    -Protected Areas
    -Hunterrows
    -Permissions
    -Detonators
    -Less Lag
    -Everything else
    Version 1.3
    -Auto-add new worlds
    -currencyItems setting
    -Added Worlds: node
    Version 1.2
    -Fixed the bug that was fixed in 1.1 in a way that did not crash the plugin.
    Version 1.1
    -Fixed a bug where if you didn't have a world named "world" it crashed.
    Version 1.0
    -Initial Release
    -Commented out a lot of code.
    
    NB:
    Excessive amounts of arrows, explosion force, or fire radius WILL cause lag.

    When submitting error reports via reply please make sure to include as much relevant information as possible, and make SURE you include console output, otherwise I can only help if the error is an extremely common problem that is easily fixed.
     
    skillinazn likes this.
  2. Offline

    Crucifiex

    Well no, I got all of it and yes I did read thread and comments. But I didn't realize it wasn't updated yet, when will it be updated?
     
  3. Offline

    Inforgamtion

    How exactly do you set the firebow/splodebow to an Item? Do you use the data values? because I have no idea how to use this plugin at all.
     
  4. Offline

    cowman24

    Later today, I have to comment out much of the debugging notifications, as well as type the paragraphs I will need to explain the new features.

    You have to use the item numbers, I use this image, I should probably work on making strings possible when talking about items.
     
  5. Offline

    Crucifiex

    Y U LIE ABOUT IT BEING UP TONIGHT.

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

    cowman24

    Its 10:30 where I am, a new bug showed up in final testing which I'm trying to figure out if I can get away with updating again really soon to fix the bug. So yeah, no lie, I also have the edit post page up with all the edits except the link.

    Besides, I just updated it, and now you're offline and won't see this until tomorrow so you might not realize that I updated it on time, also I think the forums might adjust post time to your local time. So yeah, sorry about that. Have fun. :D

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

    Crucifiex

    Nope, still up. About to test.

    I'm having problems, whenever I type /splode anything it has this error that says
    "An internal error occured while attempting to preform this command"

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

    cowman24

    Interesting... did you update to 733? (also I think it actually may have been 733 that broke the detonators cause they worked in 709)

    Edit: Also make sure to give yourself all permissions, either * or sploderrows.*, I didn't test for non permissions users...
     
  9. Offline

    Crucifiex

    Didn't you realize you had to update. After updating, I still get same error.
     
  10. Offline

    cowman24

    I did realize that, but I didn't do a very thorough check because I didn't get any errors in testing nor the IDE. But I did just solve the problem of detonator members, you can't add offline players. Now to figure out where the BOOM function is messing up...

    EDIT: Figured out why, names now return a weird prefix as in this example, i named the detonator cowman and the computer thinks its this, ºecowman, probably stemming from the colorization of the text.
     
  11. Offline

    galbatoo

    oO please help if i type /splode help ther comes (an internal error...)
     
  12. Offline

    RomaClanServer

    Is there a plugin this depends on or do I have to add something to the config before using this? I am 733 and this plugin gives me a NullPointerException error on startup, even if it is the only plugin.
     
  13. Offline

    Crucifiex

    I apologize, I was tired last night and didn't make sense. What I meant to say was, " I wasn't aware you had to update to the highest server batch file." Apologies, and I'm still getting that same error.
     
  14. Offline

    eagleFMJ

    In server console I see;

    Code:
    14:28:00 [SEVERE] null loading Sploderrows v2.0 (Is it up to date?)
    java.lang.NullPointerException
            at me.cowman94.sploderrows.Sploderrows.restoreAreas(Sploderrows.java:131
    )
            at me.cowman94.sploderrows.Sploderrows.onEnable(Sploderrows.java:162)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Using cb 733 & mc 1.5_01

    eagle
     
  15. Offline

    RomaClanServer

    Yeah
     
  16. Offline

    cowman24

    You can fix this error by adding an area of any kind, here is an area for you.

    fix: world:0.0:0.0:0.0:0.0

    change world to any world that you have. Put this in the areas.yml file, its in the same folder as config.yml

    Is there any information about the internal error? Do other /splode commands work?
     
  17. Offline

    Crucifiex

    I'm still having that internal error glitch bro.
     
  18. Offline

    RomaClanServer

    It gives the same error, is there a header I need?
    Like:
    Code:
    areas:
    
      world:0.0:0.0:0.0:0.0
    
     
  19. Offline

    cowman24

    I was wondering how you arrived at that syntax, then I realized that the fix: part may have seemed like I was saying this is the fix. copy this EXACTLY into your areas.yml

    Areas: fix: world:0.0:0.0:0.0:0.0
     
  20. Offline

    RomaClanServer

    The error changed, but still errors out. It is now seemingly in bad YAML

    My areas.yml is now exactly: "Areas: fix: world:0.0:0.0:0.0:0.0"

    Code:
    [Lnet.minecraft.server.Statistic;@2d66a22b
    146 recipes
    [Lnet.minecraft.server.Statistic;@2d66a22b
    16 achievements
    17:44:40 [INFO] Starting minecraft server version Beta 1.5_02
    17:44:40 [INFO] Loading properties
    17:44:40 [INFO] Starting Minecraft server on *:19999
    17:44:40 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-700-
    gf3ae4c3-b733jnks (MC: 1.5_02)
    17:44:40 [INFO] Preparing level "world"
    17:44:40 [INFO] Preparing start region
    17:44:41 [SEVERE] null; mapping values are not allowed here loading Sploderrows
    v2.0 (Is it up to date?)
    mapping values are not allowed here
     in "<reader>", line 1, column 11:
        Areas: fix: world:0.0:0.0:0.0:0.0
                  ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74
    5)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:307)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at me.cowman94.sploderrows.Sploderrows.readAreas(Sploderrows.java:117)
            at me.cowman94.sploderrows.Sploderrows.onEnable(Sploderrows.java:161)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:44:41 [INFO] Done (0.074s)! For help, type "help" or "?"
    >
     
  21. Offline

    cowman24

    Any information besides it doesn't work? I'm trying to figure it out, maybe another plugin you have has a command /splode as well? I know it has to do with the commands but I cant figure out what it is.

    wow, im sorry, the reply button just doens't like me today, there was supposed to be a newline followed by four spaces.
    so this is what it should look like, I hope.
    Areas:
    fix: world:0.0:0.0:0.0:0.0

    EDIT: this forum just hates me, you need 4 spaces before fix:

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

    RomaClanServer

    thanks, fixed

    A great addition to this plugin would be some info. I can't use it because the permissions aren't listed. Also, I have no idea what a tactical or hunter arrow is.

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

    cowman24

    Im trying to write these, but I'm getting iffy on the wording, I guess I cant just throw up some basic stuff in a bad format. I wanted to make it look better but hold on for a few minutes and I'll get some stuff out.
     
  24. Offline

    galbatoo

    2011-04-28 02:25:47 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'splode' in plugin Sploderrows v2.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:255)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
    at net.minecraft.server.Packet3Chat.a(SourceFile:36)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at me.cowman94.sploderrows.Sploderrows.onCommand(Sploderrows.java:230)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    ----------------------------------------------------------------------------------
    this is so *** cause i love this plugin so much

    i hope you can fix it

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

    Crucifiex

    I've been messing with settings and whatnot trying to get it to work, but nothing. Any news?
     
  26. Offline

    cowman24

    Do either of you have Permissions?
     
  27. Offline

    Crucifiex

    No, do I need it?
     
  28. Offline

    galbatoo

    no i dont know how to use :(
     
  29. Offline

    cowman24

    Alright, i know the problem now. You do need it for now, I'll add a quick error catch around whenever it checks for permissions, or something. I'll make it work, but if you want it to work now you can download permissions, and quickly change some of the example peoples names to your own, and make sure you have * permission. Should have a fix up soon.
     
  30. Offline

    Crucifiex

    I can't find permissions, could you give me a link?
     
  31. Offline

    cowman24

    No Problem
     

Share This Page