[INACTIVE][FUN] NeoMeteorites 0.4 - meteorites falling from the sky [798]

Discussion in 'Inactive/Unsupported Plugins' started by furekusu, Apr 30, 2011.

  1. Offline

    furekusu

    This plugin will spawn meteorites falling to the earth. On collission with the ground they will explode and leave a random ore covered by obsidian.
    The default spawning rate is a chance of about 8% per minute (one player online).
    Version: v0.4
    Supported builds: 740, 766, 798


    [​IMG]

    Features:
    • Randomly spawns a meteorite
    • Allows shooting on targets
    • Generates a configurable ore on impact
    Download:

    0.4 [JAR] 0.3.1 [JAR][SRC] 0.2 [JAR] [SRC] 0.1 [JAR]

    Configuration:

    Edit the plugins/NeoMeteorites/config.yml
    likeEveryXMinutesPerChunk: Sets the chance of a meteroite getting spawned.
    The chance is set at 1 / (likeEveryXMinutesPerChunk / chunksThatAreLoaded).
    If set to default (6000) and there is one player online, there is a spawning chance of ~8%. At 12000, it is ~4%. When more players are online (means more loaded chunks, the spawning rate will increase).
    blocks: The block ids a meteorite can consist of.
    shell: The block id of the material which covers the blocks obove.
    fancyExplosionSize: The size of the explosions that are caused when the meteorite is in the air.
    explosionSize: The size of the impact explosion. Set it to 0.0 to disable it.
    numberOfExplosions: A meteorite can explode several times on the ground (it makes more damage).

    Permissions:
    Code:
                - 'NeoMeteorites.CallMeteorite'
    
    Commands:

    /meteorite - Will spawn a meteorite somewhere
    /meteorite here - A meteorite will hit the block you are looking at
    /meteorite playername - Self-explanatory

    Issues:
    • You can't see meteorites, when they are too far away (explosion particles won't be displayed - When making the screenshot I was using a client mod, which disabled that). You can still hear the explosions.
    • Sometimes meorites will only fire if you come close.
    • One time for a server start you have to left click in the air to get meteorites working (I don't know why, also comfirm this please)
    Changelog:

    Version 0.4
    • Fixed several issues
    Show Spoiler

    Version 0.3
    • Fixed spawning positions
    • Ores will spawn correctly again
    • Meteroite core is now generated correctly
    • Added WorldGuard support (experimental) - Meteroites shouldn't hit areas where creeper-explosions are disabled
    Version 0.2
    • Added options: blocks, shell, fancyExplosionSize, explosionSize, numberOfExplosions
    • Addes the possibility to force a meteorite spawning (supports Permissions)
    Version 0.1
    • Initial release



    Todo:
    • Make landed meteorites looking better
    • Multiworld
    • Way better options
    • Optional Towny protection
     
  2. i like it nice :). what will come next ?
     
  3. Offline

    UnrealEgg

    Looking forward to when you get zone protection - I would give this plugin a try but I don't want anyones stuff to get damaged.

    I personally use the Towny system so if you could tie in with that you could make meteorites hit the "Wilderness" so that when anyone hasnt claimed a town, they could be in potential danger :)
     
  4. Offline

    Multivan

    Nice plugin!

    bwt

    [​IMG]

    crap plugin... #delete :D
     
  5. Offline

    Sphax

    Would like if possible :
    - An option to protect areas if a defined "totem" (configurable) is found (a totem would be anything from 1 simple block like a bed to a 3 blocks high of gold and obsidian)
    - Support of multiworld (to create another world with a rain of meteorites)
    - An option to define a list of blocks as indestructible by meteorites (for example iron blocks)
    - Some parameters to define types of meteorites (type of blocks for the structure, type of blocks for the meteorite core and type of blocks left around the impact)

    With that, I'll definitely install it !

    \o/
     
  6. Offline

    FrigityZero

    -Question

    Does the Fancy explosion do Block Damage?
     
  7. Offline

    TehJammers

    Multiworld support would be fantastic
     
  8. Offline

    virtualism

    When i set it to 99999999999, we had a LOT of meteorites. Literally 5 chunks apart. Is the value just too high or did you mean to say the opposite of what is quoted?
     
  9. Offline

    Arkantix

    maybe you could create like an area where meteors are spawned and not in other places. (The idea is that the op should set that area)
     
  10. Offline

    dragonhib

    seems to be really great !! I want to test but I will wait until you add multiworld support (if you planned it ??)
     
  11. Offline

    Killerrabbit

    I recommend you make this support multiverse plugin so you can have it to happen to whichever world you want to "play" in, so the main world goes unaffected!
     
  12. Offline

    fefect

    This is a really smart made Meteorite plugin but can you maby make a "Remove and fix all" command?
    And maby a chest inside it like a dung would be genius
     
  13. Offline

    MechP

    With 0.2 running, I get these errors:

    Code:
    15:20:08 [SEVERE] Could not load 'plugins\NeoMeteorites.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
            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)
    Caused by: mapping values are not allowed here
     in "<reader>", line 7, column 18:
            explosionSize: 2.0
                         ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.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:122)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at de.neocrafter.NeoMeteorites.NeoMeteorites.setupConfig(NeoMeteorites.java:133)
            at de.neocrafter.NeoMeteorites.NeoMeteorites.<init>(NeoMeteorites.java:44)
            ... 13 more
    
    >
    My config has been modified as such: (Different explosion sizes/amounts and different shell and ores)

    Code:
    NeoMeteorites:
    
    likeEveryXMinutesPerChunk: 6000
    shell: 87
    explosionSize: 2.0
    numberOfExplosions: 2
    blocks: 14,15,16,21,56,73,49,89,79
    fancyExplosionSize: 3.0
    
    The plugin seems to work fine when I do not change the config.yml. What am I doing wrong, and how can I remedy this?

    EDIT:

    Further testing seems to show that the problem arises if I touch the config file at all. I regenerated the config.yml by deleting my old one, then ran the server again to create a fresh one. I modified the fresh one by changing the Shell id to 87. Running the config file like that gave me similar errors to the ones above. I stopped the server, changed the value back to 49 and then restarted the server. I got the same errors again. It seems merely touching the file causes the errors.
     
  14. Offline

    compgurusteve

    How about worldguard region support? Just so we don't have meteors destroying awesome player creations.
     
  15. Offline

    Beauseant

    First i became invincible, second i obtained the abillity to fly, then i obtained the mastery of the weather and now i can control meteorites!? oh-em-gee
     
  16. Offline

    DurtyFree

    Awesome plugin, but i like to see a option to set a list of worlds where meteorites randomly spawn, because i dont want meteorites in some of my worlds.
     
  17. Offline

    Greylocke

    some observations after testing last night (and giving LogBlock a thorough workout as it replaced nearly 20,000 blocks):
    • the default-size meteorites are big. Major event big.
    • meteors will damage whatever is in their path, they don't just explode on the ground
    • sometimes /meteorite here would say it spawned a meteor, but none would appear. Walking through the target area first seemed to help. Active chunk issue, maybe?
    • /meteorite here causes an immediate hit. I was never able to see a trail
    • meteorites seemed to fall from random directions and at about a 30-degree angle
    • block damage by meteorites is logged as player=Ghast
    • explosionSize 50, numberOfExplosions 3 is probably what took out the dinosaurs

    advice for admins
    • if you leave this running all the time, I'd keep the explosionSize down to 1 or 2. Much larger and it just does too much damage. If you go with a larger explosionSize, you should probably decrease numberOfExplosions.
    • like TNT explosions, there is an area-of-effect to meteor hits. Try to be outside of it.
    • use an app like LogBlock or BigBrother. You can easily roll back the damage when this inevitably hits a house
    • when using /meteorite here, the temptation is to be up high. Don't. Low and at a distance increases your survival rate.
    updates I'd like to see:
    1. variation in meteor size
    2. target coordinates are announced to NeoMeteorites.admin when there is a completed strike
    3. successful strikes are logged (/plugins/NeoMeteorites/Strikes.log)
    4. slow the approach so that players have more opportunity to see the incoming meteor.
     
    shiruba likes this.
  18. Offline

    Lemony_Lime

    I had a dream about this plugin last night... it was so surreal.

    I could see the belt of asteroids like you show in that picture, and when one of them fell down it was carved out, and completely furnished, so I made it my house. rofl

    Anyway, I haven't actually tried it yet, so downloading asap. lol
     
  19. Offline

    G1R Productions

    Everytime i go to reload my server i get this message like 10 times

    17:32:58 [SEVERE] Nag author: '<NoAuthorGiven>' of 'NeoMeteorites' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the newly loaded version of the plugin
     
  20. Offline

    Shirai_K

    Similarly to a post not too long ago, I've also had some odd issues with the config. Eventually it calmed down, but I've never seen a "Shell" other than obsidian, even thoguh I specified netherrack as an alternative.

    Additionally, sometimes when I use the /meteorite here command, there is no sign of the meteorite, just a hole in the ground.

    Finally, I find that the meteorite itself seems to be rather small. the most resource blocks I've seen one contain to date is 5.
     
  21. Offline

    Kaseki

    Yes for multi-world support. I'd definitely use this plugin then, as it would go perfectly with my primordial desert world.
     
  22. Offline

    Greylocke

    how many strikes did you look at? I've seen exposed netherrack, but usually it is just an obsidian shell. I just cleaned up a large strike that had 6 diamond inside.

    If any of you use LogBlock, I've written a quick little query that will tell you the strike locations. As an admin, I like to know where these have been hitting. It isn't much, but here's the query (lb_main is the name of my main LogBlock table, use your own name instead):
    Code:
    SELECT Format([lb-main.date],"mm/dd/yyyy hh:mm") AS [Timestamp], First([lb-main].x) AS FirstOfx, First([lb-main].y) AS FirstOfy, First([lb-main].z) AS FirstOfz
    FROM [lb-main] INNER JOIN [lb-players] ON [lb-main].playerid = [lb-players].playerid
    WHERE ((([lb-players].playername)="Ghast"))
    GROUP BY Format([lb-main.date],"mm/dd/yyyy hh:mm");
    
     
  23. Offline

    thepackett

    being able to turn this off in certain worlds would be great.
    so that for the chance for one to spawn only uses loaded chunks from worlds that it is turned on in
     
  24. Offline

    Montag

    Dreaming about Minecraft, clear sign of addiction.
    Welcome to the club.


    Nice plugin.. I'll be implementing it when there's the option to protect areas. In the meantime, I'll watch and wait.
     
  25. Offline

    tiba666

    could you do so you could make random shell?
     
    draikonm likes this.
  26. Offline

    Shirai_K

    A few dozen, at least.
    Though I set the Shell as either Obsidian, Netherrack or Lava, though I've yet to see the latter two.
    Might just be that my syntax is off, so I'll check that again. But unless "Shell" is formatted differently to "Block", then I don't see why it hasn't worked.

    And yeah, after another couple tests I found a 6-block meteorite, but the most common sizes seem to be about 4 or 3, plus the shell.
     
  27. Offline

    valdark

    I've seen several posts here that mention some of the changes I'd like to see.

    #1 Multi-World support
    #2 block change around the blast radius (change dirt to coal, stone to diamond/redstone ore)
    #3 greater variation on meteor size (random chance of 1x1 up to 10x10 with 1x1 being most common)
    #4 (havent' tested just going on forum input) The ability to have meteor be of flaming netherrack instead of obsidian
    NOTE# The problem here may be that the Ghast explosions in the air are destroying the Netherrack shell?


    Other than that it's almost exactly what I have been asking for here so thank you.

    I will download and test as soon as possible.
     
  28. Offline

    BMPyro

    For some reason, I keep getting the following:
    "You do not have permission to spawn a meteorite"

    I set myself to have permissions to it, so I don't understand why it refuses to work as such. I'm highly confused.
     
  29. Offline

    yoshez

    When i try to use /meteorite or /meteorite here, it wont work but when i type /meteorite (player name) it works any ideas?
     
  30. Offline

    DJ_Idol

    I'm getting this error, haven't tried using any commands, and not sure what this means:

    Code:
    2011-05-04 20:30:40 [SEVERE] java.lang.StringIndexOutOfBoundsException: String index out of range: 4
    2011-05-04 20:30:41 [SEVERE]     at java.lang.String.substring(Unknown Source)
    2011-05-04 20:30:41 [SEVERE]     at de.neocrafter.NeoMeteorites.NMMain.toInt(NMMain.java:195)
    2011-05-04 20:30:41 [SEVERE]     at de.neocrafter.NeoMeteorites.NMMain.getStartPosition(NMMain.java:161)
    2011-05-04 20:30:41 [SEVERE]     at de.neocrafter.NeoMeteorites.NMMain.spawnMeteorite(NMMain.java:90)
    2011-05-04 20:30:41 [SEVERE]     at de.neocrafter.NeoMeteorites.NMMain.spawnMeteorite(NMMain.java:75)
    2011-05-04 20:30:41 [SEVERE]     at de.neocrafter.NeoMeteorites.NMMain.spawnMeteorite(NMMain.java:67)
    2011-05-04 20:30:41 [SEVERE]     at de.neocrafter.NeoMeteorites.NMMain$1.run(NMMain.java:52)
    2011-05-04 20:30:41 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    2011-05-04 20:30:41 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    
     
  31. Offline

    shiruba

    AWESOME AND CREATIVE PLUGIN

    but... let me re-post what valdark and greylocke said:

    list of good ideas IMHO

    1-multiworld support - a wasteland being struck by meteorites is exciting!
    2-block change around the blast radius (burn trees to charcoal, evaporate water, ignite netherrack, maybe turn sand into glass or something like this ,of course -all configurable-)
    3-greater variation on meteor size (random chance of 1x1 up to 10x10 with 1x1 being most common)
    4-different and random shell materials, an ICE meteorite is a comet, right?

    bugfixes

    -the default-size meteorites are big.
    -meteors will damage whatever is in their path, they don't just explode on the ground
    -sometimes /meteorite here would say it spawned a meteor, but none would appear.
    walking through the target area first seemed to help. Active chunk issue, maybe?
    -/meteorite here causes an immediate hit. I was never able to see a trail
    -meteorites seemed to fall from random directions and at about a 30-degree angle
    -block damage by meteorites is logged as player=Ghast
    -explosionSize 50, numberOfExplosions 3 is probably what took out the dinosaurs

    what do you think about it?
    I am watching this thread to see how things roll.
     

Share This Page