[FUN/MECH] NeoMeteors v0.1 - Create meteors that crash to the earth [953]

Discussion in 'Inactive/Unsupported Plugins' started by KillerSmurf, Jul 15, 2011.

  1. Offline

    KillerSmurf

    NeoMeteors - The NeoMeteors plugin!
    Version: v0.1

    Away/Busy wont be able to update. Working on something else bigger.
    Description:
    NeoMeteors is a complete re write of NeoMeteorites. With this plugin you can summon meteors with a simple command. But there is also a built in random generator. There is a 8% chance that it will spawn every minute, per player online. It will then select a random location within a 50 block radius of that player. When the Meteor hits the earth, a broadcast will say "a Meteor has impacted on the earth." Where it hit will be a a obsidian sphere mixed with randomly generated ores. All of this can be changed in the config file.

    Features:

    • Configurable random ores
    • Configurable spawn chance
    • Configurable explosion radius
    • Configurable time delay
    • Configurable drop percentage
    • Configurable Material Threshold
    • Configurable Meteor storm amount
    Download NeoMeteors

    Source Code

    Permissions:
    Code:
    - NeoMeteors.Meteor
    - NeoMeteors.MeteorStorm
    

    Commands:
    /meteor
    /meteor shower or /meteor storm

    Changelog:
    Version 0.1:
    • Released NeoMeteors
    Credits:
    Bleachisback gets no credit
     
    Raycrash, GreyBishop and Montag like this.
  2. Offline

    Mukrakiish

    :p Yeah...just trying to get under your skin a bit ;)

    But your right. Having a default config that causes insane damage is a little extreme.
     
  3. Offline

    graefchen

    If you could atleast change the radius from those meteors... But the config has no option for this. I´m looking forward for a future version to change the diameter of them.
     
  4. Hello I deletet it because it destroyed my town but meteors are still there.
    I deleted the . jar and the folder.
    Please answer fast because my friends wants to play withput meteors
     
  5. Offline

    graefchen

    The meteors which fell on the ground are now saved onto the minecraft map. If you have no backup, you are fucked, because you can´t undo the changes caused by the meteors. The only solution would be to mine them and rebuild the destroyed stuff. A mapeditor like McEdit could help you.
     
  6. Offline

    Appear

    hmm.. I can't seem to find the config file for some reason?
     
  7. Offline

    graefchen

    Its in your plugins folder. There is another folder, named NeoMeteors with the config.txt in it.
     
  8. Offline

    Clucky

    What do I do?

    Code:
    18:59:13 [SEVERE] Error occurred while enabling NeoMeteors v0.0.1 (Is it up to date?): 5
    java.lang.ArrayIndexOutOfBoundsException: 5
        at me.KillerSmurf.NeoMeteors.NeoMeteors.setupConfig(NeoMeteors.java:209)
        at me.KillerSmurf.NeoMeteors.NeoMeteors.onEnable(NeoMeteors.java:52)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Config (open)

    Code:
    #
    #Sun Jul 17 18:01:21 EDT 2011
    Crash\ Material\ Chances=200,5,15,20,2,3
    Meteor\ Spawn\ Delay=1200
    Explosion\ Yield=2
    Material\ Threshold=10
    Meteor\ Distance\ From\ Player=100
    Meteor\ Spawn\ Chance=15
    Meteor\ Storm\ Number=15
    Explosion\ Radius=3
    Crash\ Materials=1,14,15,16,56,10
    
     
  9. Offline

    Tinou

    Hello everyone,

    I wonder if there would be a way to change the message that informs the crash of a meteor? ;)
     
  10. Offline

    graefchen

    It is possible, however, at this state it takes some work. First take the .jar from the plugin and axtract it with winrar. Then decompile the NMEntityListener.class with a java decompiler like jad.exe. In line 35 of the decompiled file, which you can open with any Editor you want, Notepad++ would be my recomandation, you can see this:

    NeoMeteors.server.broadcastMessage((new StringBuilder()).append(ChatColor.DARK_GREEN).append("A meteor has impacted on the earth!").toString());

    Try changing the string to that what you want and compile it again with the java compiler javac.exe. Add the modified NMEntityListener.class to the NeoMeteors.jar and overwrite the old one with it. Then you should be good to go.^^
     
  11. Offline

    Tinou

    Hello graefchen,
    I managed to decompile the file and change the text on the line 35 via Notepad + + I had already ^ ^.
    That said how to recompile everything? So the file NMEntityListener.java in NMEntityListener.class.
     
  12. Offline

    KillerSmurf

    Update for bukkit 1000 will be available very soon

    You need JDK, then go into your cmd find the file using basic cmd directory command. then type javac filename. Or use a ide.

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

    Shortyforcs

    For those of you who like the concept of this, but do not like the blast radius or the amount of free materials handed out, try this config. It reduces the impact size down to about 1/4 what it was, the meteor doesn't spawn any materials (just does damage now) with a small chance of creating a lava spawn (each block that the meteor breaks has a 3% chance of becoming a lava spawn). It also reduces the chance of a meteor falling to 4% per player in the server.

    Code:
    #
    #Tue Jul 19 20:43:33 PDT 2011
    Crash\ Material\ Chances=3,100,100,100,100
    Meteor\ Spawn\ Delay=1000
    Explosion\ Yield=5
    Material\ Threshold=3
    Meteor\ Distance\ From\ Player=50
    Meteor\ Spawn\ Chance=4
    Meteor\ Storm\ Number=4
    Explosion\ Radius=3
    Crash\ Materials=10,0,0,0,0
    
     
  14. Offline

    KillerSmurf

    That is why the config is there, if you do not want materials. Don't make it sound like the I am bad or the plugin is.
     
  15. Offline

    KrebsCOHO

    This sounds like an awesome plugin. I'm just about to test it and see what it's like. Expect a donation!

    For some reason I'm not seeing the desired effects from the config:

    #
    #Fri Jul 22 23:38:35 CEST 2011
    Crash\ Material\ Chances=100,48,31,64,15,90
    Meteor\ Spawn\ Delay=1200
    Explosion\ Yield=5
    Material\ Threshold=10
    Meteor\ Distance\ From\ Player=10
    Meteor\ Spawn\ Chance=2
    Meteor\ Storm\ Number=3
    Explosion\ Radius=5
    Crash\ Materials=1,73,14,15,56,51

    the meteors are dropping well over 10 blocks away from me, the explosions aren't yielding ores and I get an "Internal error has occured when trying to perform this action" When typing in /meteor storm

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

    KillerSmurf

    What RB are you using?
     
  17. Offline

    KrebsCOHO

    953, I also don't get a message about a meteor falling.
     
  18. Offline

    sfxworks

    1k support?
     
  19. Offline

    Nitnelave

    Actual meteors make a really big crater, with a bit of rock at the centre... Could you make it so? a big explosion, then on the floor of the explosion, just spawn a 3x3 ball of ore, or something like that? That would get rid of the patty-like look of the meteor...
     
  20. Offline

    KillerSmurf

    What do you mean?

    The reason its patty is because it uses the tnt explosion, but slightly bigger then just fills it up with ores, plus a small radius around it. If i could change the tnt explosion type then yes.

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

    sfxworks

    Does this plugin work on build 1000?
     
  22. Offline

    KillerSmurf

    No not yet, I haven't looked into the permissions yet. Been busy, plus i have 5 plugins to keep uptodate. Simple ones. All of my none permission plugins have been updated. I am working on the others.
     
  23. Offline

    Shooty

    Can you add multiworld support ?
     
  24. Offline

    Nitnelave

    You could take the list of blocks that were destroyed, sort them by altitude, take the lower level and fill it with ore two or three blocks up. I think it would work, as a destruction/reward balance.
     
  25. Offline

    KillerSmurf

    hmm maybe
     
  26. Offline

    Shortyforcs

    You miss interpret me. I love your mod. It's actually one of my favorite plugins in existence. Some people we're just complaining about the default config, or being confused by the config, so I was simply posting a config that wasn't nearly as big or resource yielding. That's all:) Keep up the great work!
     
  27. Offline

    Flenix

    I know a lot of people have already said it, but I'm just gonna add to the list. This needs multiworld to work on most servers. Or if not that at least a way to select areas where they can't fall.

    Personally, I just want it on my Survival world as a way to get nether items, but I had it before on my main world and it just makes the world ugly. Survival is an ugly place though so its alright there :)
     
  28. Offline

    lemonzap

    In my server it doesnt broadcast a message saying a meteor fell. help?
     
  29. Offline

    Tinou

    Thank you KillerSmurf, i made it! :D.
     
  30. Offline

    sniddunc

    wow awesome plugin keep up the great work!!!
    :)
     
  31. Offline

    Klawful

    KillerSmurf, I want to use your plugin for a wicked server I am planning. Can you set it so the meteors explode, but don't destroy any blocks? or know a plugin/mod that will remove the destructiveness, but allow it to still do player damage. I want the entire surface of my world to be a giant meteor attack, and set the meteors to drop a resource that normally cant be mined (like Moss Stone), so players collect and sell it (iConomy), with that being the only source of income.... to venture top-side and face the wrath...

    PS: Please add in a option to disable the message, with so many small ones falling, it's spamming the chat. ty
     

Share This Page