Inactive [MECH] Radiation v1.3 - Region based Hazards now with Radiation Armor [1000]

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

  1. Offline

    Kitteh

    Radiation - Region based Hazards
    Version: v 1.3

    This plugin allows users to set area's which will cause damage over time, includes a fully customizable region and configuration.

    Download Latest Version

    Features
    • Gives player "Rads" for staying within region
    • Damages player for accumulating too many "Rads"
    • Get rid of "Rads" by consuming an item (Default sugar)
    • Global Fallout mode - Enable radiation everywhere apart from radiation zones!
    • Supports Permissions (Radiation.modify)
    • Customize Damage taken and Damage intervals via config file
    • Radiation Armor - Protect yourself from the radiation
    Configuration
    Show Spoiler

    Code:
    Info:
        Version: 1.2
    Settings:
    #Time in seconds before accumulating Rads while in a zone
        RadiationInterval: 10
    #Damage in half hearts while under radiation sickness
        RadiationDamage: 1
    #How much time should pass before radiation sickness kicks in
        RadiationChecker: 60
    #How many rads to give per Radiation Interval
        RadiationCounter: 20
    #Amount of Rads a player must accumulate before getting sick
        RadiationThreshold: 100
    #Item ID for the radaway item
        RadAwayItemID: 353
    #Amount of rads consuming the item should remove
        RadAwayAmount: 100
    #Enable Global Fallout mode - Everywhere apart from safe zones emit radiation!
        GlobalFallout: false
    #Restrict GlobalFallout when enabled to one world (all being all worlds)
        RadiationWorld: all
    #Allow players to be exempt from radiationplayers with Radiation.Exempt
        ExemptPlayers: False
    
    #Here you can list all your protection items that when worn protect you from radiation
    ProtectionItems:
        #Item Name (can be anything)
        GoldLegs:
            ItemID: 316
            #Amount of radiation points to soak up
            Amount: 10
    


    Adding new Radiation Armor

    At the end of your config.yml is a list of ProtectionItems, follow the format and specify the name (can be anything) the ItemID and the amount of rads it should soak up. Note that Armor will degrade while in radiation zones.

    Permissions
    Show Spoiler

    Code:
    Radiation.modify
    Radiation.Exempt
    


    Commands
    /rad - /radiation

    Show Spoiler

    /rad alias command for radiation
    /radiation check
    Check current radiation level

    /radiation [add|delete] regionName

    Create a new region, or delete an existing one​
    e.g. /radiation add mybunker​

    Changelog:
    Version 1.3
    • Added new definable Radiation Armor, follow the configuration guide
    Version 1.2
    • Added new permission node to prevent the build up of rads (Radiation.Exempt)
    • Added multi-world restriction for GlobalFallout
    • Fixed bug "Radiation causing player to die over and over"
    Version 1.1
    • Added Radiation Accumulation (Rads)
    • Added RadAway (remove Rads)
    • Added new alias "/rad"
    • Added /radiation check (check your Rads level)
    • Added Global Fallout mode (everywhere has radiation apart from safe zones)
    • Fixed Bug "Players health cannot be set below 0"
    Version 1.0
    • Initial Stable release
     
    Djrowling and kahlilnc like this.
  2. Offline

    woodzy

    sound good, this works off of worldedit and worldguard?
     
  3. Offline

    Kitteh

    @woodzy
    It's independent of other plugins
     
  4. Offline

    jamescosten

    I like the sound of this especially for fallout inspired maps :)
     
    kahlilnc likes this.
  5. Offline

    woodzy

    @Kitteh maby you could post it to reduce questions in the OP post
     
  6. Offline

    jamescosten

    ALso how big an area does it irradiate, a chunk??
     
  7. Offline

    Kitteh

    @jamescosten
    You define the region by selecting a cuboid
     
  8. Offline

    kahlilnc

    Oo Very good for apoctoliptic servers.
     
  9. Offline

    jamescosten

    08:40:13 [WARNING] RadiationError at SQL INSERT Query: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: test)

    Keep getting this message???
     
  10. Offline

    Kitteh

    @jamescosten thanks for flagging the error,When are you getting the error?

    If this is the first time you're using the plugin try deleting the directory plugins/Radiation and let the plugin regenerate them.
     
  11. Offline

    jamescosten

    Was first time yeah, when i made new region this came up will try that out now.

    Still get the error, database is not saving region or accessing properly im guessing.

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

    Kitteh

    @jamescosten
    I am currently unable to replicate the error on any of my test beds, i've updated the logging to have more specific output in the log.txt. If you download the latest release and print out the log.txt it should help me track down the problem.
     
  13. Offline

    robmobz

    i got it too.
    it doesn't write to the error logs.
    any help build 853.
     
  14. Offline

    Kitteh

    @robmobz and @jamescosten
    Yeah i just realized it is being written by alta's sql library. I've made some changes that I believe should fix it - I'm assuming it's happening while creating a new region?

    I cannot test the changes to see if it will eliminate the error since it isn't appearing on either of my testbeds. If I can help any further let me know.
     
  15. Offline

    robmobz

    thanks.
     
  16. Offline

    G1R Productions

    How do you select the area of effect? To lazy to download and test it out, just getting info from here to see if it is in my interests.
     
  17. Offline

    Kitteh

    @G1R Productions

    You use the command /radiation add [name]
    Select 2 points do define the cuboid. And added
     
  18. Offline

    Lolf

    can you enable talking in just some regions? so like an one room you can chat an next to the region you cant see whats talked? :0
     
  19. Offline

    Kitteh

    @Lolf would you like for people inside the radiation region to not be able to talk?
     
  20. Offline

    Skacey

    Ok, I've got this feature currently running using a worldguard flag. But what I would really like to see is a plugin that simulates accumulated radiation and then drives damage.

    So, for example, Player goes into the radiation area and for every minute, their rad level goes up by one. You would begin taking minor damage at rad=50, and the damage would come quicker as the rad level increases. Leaving the area would not stop the damage as you would need a way to lower your rads. Perhaps a healing region?

    That would make this much different than the worldguard flag, and much more useful!
     
  21. Offline

    Lolf

    yeah, or region based talk so that i can say "talked stuff in the city stays in the city" ^^
     
  22. Offline

    dak393

    Does the region cover all blocks above and below? Also do you think you could make safe zones (as in the plugin is inverted with the region being safe and leaving the region causing radiation damage).
     
  23. Offline

    Quezax

    Would it be possible to add a radiation suit type function - i.e. if wearing gold armor you do not take or take less radiation damage?
     
  24. Offline

    AgileWolf

    I'd like a mode where the entire map is damage over time and you can specify "safe zones" instead of the other way around where you can specify where the damage is. plz and ty. :D
    EDIT*
    yes 2 posts above me, didn't read others >.<
     
  25. Offline

    Lying_Cake

    Three things:
    1. Suggestion! Being able to make an "epicenter" where the closer you get the worse the damage is. Also, being able to set the damage and rate per cubiod selection. I want some places worse then others.
    2. Error message:
    Code:
    12:31:43 [SEVERE] Could not pass event PLAYER_MOVE to Radiation
    java.lang.IllegalArgumentException: Health must be between 0 and 200
        at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:38)
        at com.seriousminecraft.Radiation.listeners.RadiationPlayerListener.onPlayerMove(RadiationPlayerListener.java:23)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:164)
        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:85)
        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)
    
    3. Thanks a lot this will be fun to have :)
     
  26. Offline

    TheMap

    How about a radiation detector compass that tells you when you are near radiation.
     
  27. Offline

    Kitteh

    Okay I've gone through and implemented a lot of ideas you have requested.
    @Lying_Cake
    Epicenters will have to wait but I believe I fixed the bug you were gettting
    @AgileWolf , @dak393
    Implemented - Be careful when enabling it
    @Skacey
    Implemented, it doesn't scale at the moment only enables after the player reaches the threshold.

    Enjoy!
     
  28. Offline

    DevRW

    With Global Fallout, does that support multiworld? I only want one world to be dangerous.

    Also, permission request: radiation.exempt - take no damage in radiation zones.
     
  29. Offline

    Kitteh

    @DevRW it works for all worlds. I'll add multiworld support for Global Fallout in the next revision, along with radiation exempt.
     
  30. Offline

    DevRW

    If you log out with Radiation sickness, it seems to glitch pretty heavily. I'm testing for a plugin conflict, but I'm getting no errors in the console.

    Basically, you stop taking damage when you log in, and when you eventually would have died (if you have a death shout plugin), it spams the hell out of chat with you dying constantly. But you are still alive. n top of that, your inventory drops where you would have died, and dupes your items.
     

Share This Page