original file leaked by Rover 95
original plugin in spigot
Tested Minecraft Versions:
NOTES:
• The only supported versions are 1.13-1.17. Other versions will not work!
• If you have any issues or questions, please post in the discussion tab or PM me.
FEATURES:
• Nuclear reactors
• Nuclear weapons
• Radiation
• Custom items
• Highly configurable
• Worldguard integration
List of Custom Items
• Atomic Bomb
• Enriched Uranium
• Fuel Rod
• Hazmat Boots
• Hazmat Chestplate
• Hazmat Helmet
• Hazmat Leggings
• Hydrogen Bomb
• Nuclear Waste
• Radiation Pills
• Reactor Core
• Uranium Ore
Spoiler: Default Recipes
Uranium
• Uranium ore can be obtained through mining. Different ores/blocks have configurable probabilities of dropping uranium ore when mined
• Uranium ore is useless until its enriched via smelting. Enriched uranium is used to make fuel rods for reactors and nuclear weapons
Nuclear Reactors
• To create a nuclear reactor, you need to place 1 reactor core, 3 cauldrons, 1 hopper, and 1 furnace in the configuration show below (note: the furnace must be placed last):
• To use the nuclear reactor, simply place fuel rods in the hopper. By default, 1 fuel rod will power the furnace for the same amount of time as a lava bucket would (1000 seconds)
• Radioactive nuclear waste will be produced while the reactor is running and will be deposited into the hopper or dropped on the ground if the hopper is full. Nuclear waste will radiate players if they hold it in their inventory or stand near it when its on the ground. Wear hazmat gear to reduce its effect!
• While the reactor is running it will use up the water in the cauldrons. By default, 1 cauldron level of water is used every 30 seconds. If the reactor runs out of water it will meltdown (explosion + radiation in surrounding area)
Nuclear Weapons
• There are two nuclear weapons: atomic bomb and hydrogen bomb
• Both weapons cause a large explosion on impact and radiate the surrounding area but the hydrogen bomb is more powerful
• To launch a nuclear weapon, click the item while looking in the direction you want the missile to fire and it will explode on impact
Spoiler: Gif
Radiation
• Players' radiation level is displayed in a bossbar as shown below (the bossbar will go away when their radiation level is 0)
Spoiler: Image
• Sources of radiation include: holding nuclear waste, standing near nuclear waste, reactor meltdowns, nuclear weapons, and Worldguard regions with the rads-per-second flag
• The effects of radiation are configurable but by default the effects are: weakness starting at 25 rads, nausea at 50 rads, wither at 75 rads, and harm at 100 rads
• Players' radiation level will slowly decrease as time passes or they can use radiation pills to significantly reduce their radiation level
• The amount of radiation a player receives from a radiation source can be reduced by wearing hazmat gear. For each piece of hazmat gear the player is wearing, the amount of rads received is reduced by 25% so if the player is wearing a full hazmat suit they are fully protected from all radiation. By default, the recipes for hazmat gear is the same as normal armor but the material is sponge
Commands & Permissions
/nuclearmc reload
Desc: reloads NuclearMC
Perm: nuclearmc.reload
/nuclearmc help
Desc: displays help information
Perm: nuclearmc.help
/nuclearmc give <item> <amount> [player]
Desc: gives NuclearMC item
Perm: nuclearmc.give
/nuclearmc items
Desc: List all NuclearMC items
Perm: nuclearmc.items
/nuclearmc radiation <add/remove/set> <amount> <player>
Desc: Modifies radiation level of player
Perm: nuclearmc.radiation
nuclearmc.* - gives access to all commands
Configuration
• NuclearMC is designed to be highly configurable so you can tailor it to your specific server. If you have any questions about the configs, please ask!
Spoiler: config.yml
Code (Text):
nuclear_reactor:
fuel_rod_burn_time_in_ticks: 20000
waste_radiation_radius: 3
waste_rads_per_second: 0.5
waste_creation_frequency_in_seconds: 15
water_consumption_frequency_in_seconds: 30
meltdown_explosion_strength: 25
meltdown_radiation_radius: 25
meltdown_radiation_duration_in_seconds: 300
meltdown_rads_per_second: 3
atomic_bomb:
explosion_strength: 30
radiation_radius: 25
radiation_duration_in_seconds: 120
rads_per_second: 3
hydrogen_bomb:
explosion_strength: 75
radiation_radius: 50
radiation_duration_in_seconds: 300
rads_per_second: 3
uranium_drop_chances:
STONE: 0.01
COAL_ORE: 0.05
IRON_ORE: 0.1
GOLD_ORE: 0.25
REDSTONE_ORE: 0.25
LAPIS_ORE: 0.25
DIAMOND_ORE: 0.5
EMERALD_ORE: 0.5
radiation:
rads_removed_per_second: 0.3
rads_removed_by_pills: 50
effects:
WEAKNESS: 25
CONFUSION: 50
WITHER: 75
HARM: 100
Spoiler: items.yml
Code (Text):
atomic_bomb:
material: FIREWORK_ROCKET
name: Atomic Bomb
lore: Nuclear weapon that derives\nits power from fission reactions
recipe: IRON_BLOCK, REACTOR_CORE, IRON_BLOCK, IRON_BLOCK, FUEL_ROD, IRON_BLOCK,
IRON_BLOCK, FIREWORK_ROCKET, IRON_BLOCK
enriched_uranium:
material: NETHER_BRICK
name: Enriched Uranium
lore: Used to make fuel rods for reactors
fuel_rod:
material: END_ROD
name: Fuel Rod
lore: Fuel used by nuclear reactors
recipe: IRON_INGOT, ENRICHED_URANIUM, IRON_INGOT, IRON_INGOT, ENRICHED_URANIUM,
IRON_INGOT, IRON_INGOT, ENRICHED_URANIUM, IRON_INGOT
hazmat_boots:
material: GOLDEN_BOOTS
name: Hazmat Boots
lore: Provides protection from radiation
recipe: SPONGE, AIR, SPONGE, SPONGE, AIR, SPONGE, AIR, AIR, AIR
hazmat_chestplate:
material: GOLDEN_CHESTPLATE
name: Hazmat Chestplate
lore: Provides protection from radiation
recipe: SPONGE, AIR, SPONGE, SPONGE, SPONGE, SPONGE, SPONGE, SPONGE, SPONGE
hazmat_helmet:
material: GOLDEN_HELMET
name: Hazmat Helmet
lore: Provides protection from radiation
recipe: SPONGE, SPONGE, SPONGE, SPONGE, AIR, SPONGE, AIR, AIR, AIR
hazmat_leggings:
material: GOLDEN_LEGGINGS
name: Hazmat Boots
lore: Provides protection from radiation
recipe: SPONGE, SPONGE, SPONGE, SPONGE, AIR, SPONGE, SPONGE, AIR, SPONGE
hydrogen_bomb:
material: FIREWORK_ROCKET
name: Hydrogen Bomb
lore: Thermonuclear weapon that derives\nits power from fusion reactions
recipe: IRON_BLOCK, REACTOR_CORE, IRON_BLOCK, IRON_BLOCK, NETHER_STAR, IRON_BLOCK,
IRON_BLOCK, FIREWORK_ROCKET, IRON_BLOCK
nuclear_waste:
material: ROTTEN_FLESH
name: Nuclear Waste
lore: Radioactive by-product of nuclear reactions
radiation_pills:
material: MELON_SEEDS
name: Radiation Pills
lore: Treats radiation sickness\n(shift + right click)
recipe: AIR, SUGAR, AIR, SUGAR, MELON_SEEDS, SUGAR, AIR, SUGAR, AIR
reactor_core:
material: CHISELED_QUARTZ_BLOCK
name: Nuclear Reactor Core
lore: Generates power from nuclear reactions
recipe: IRON_BLOCK, REDSTONE, IRON_BLOCK, REDSTONE, DIAMOND_BLOCK, REDSTONE, IRON_BLOCK,
REDSTONE, IRON_BLOCK
uranium_ore:
material: FLINT
name: Uranium Ore
lore: Must be enriched before use
Spoiler: messages.yml
Code (Text):
# Messages accept color codes.
# Use \n to start a newline in a message.
# {VARIABLES} are filled in with their respective values, they can only be used in the messages that they are in by default
cannot_use_from_console: '&8[&9NuclearMC&8] &cYou cannot use this command from console.'
give_command: '&8[&9NuclearMC&8] &aSuccessfully gave item.'
give_command_usage: '&8[&9NuclearMC&8] &4Correct usage: &c/nuclearmc give <item> <amount>
[player]'
invalid_number: '&8[&9NuclearMC&8] &cInvalid number ''&4{NUMBER}&c''.'
invalid_player: '&8[&9NuclearMC&8] &cPlayer ''&4{PLAYER}&c'' is not online.'
no_permission: '&cYou do not have permission to use this command.'
nuclear_weapon_launch: '&4[WARNING] &c{PLAYER} has launched a nuclear weapon at x: {X}, y: {Y}, z: {Z}'
plugin_reloaded: '&8[&9NuclearMC&8] &aSuccessfully reloaded.'
radiation_bar: '&cRadiation Level: &c{RADS} rads'
radiation_command_added: '&8[&9NuclearMC&8] &aAdded {RADS} rads to {PLAYER}.'
radiation_command_removed: '&8[&9NuclearMC&8] &aRemoved {RADS} rads from {PLAYER}.'
radiation_command_set: '&8[&9NuclearMC&8] &aSet radiation of {PLAYER} to {RADS} rads.'
radiation_command_usage: '&8[&9NuclearMC&8] &4Correct usage: &c/nuclearmc radiation
<add/remove/set> <amount> <player>'
reactor_broken: '&8[&9NuclearMC&8] &aNuclear reactor has been broken.'
reactor_created: '&8[&9NuclearMC&8] &aNuclear reactor has been created.'
used_pills: '&8[&9NuclearMC&8] &aYour radiation level has been reduced!'
Spoiler: sounds.yml
Code (Text):
# Sound names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
reactor_break: BLOCK_ANVIL_LAND
reactor_create: BLOCK_ANVIL_USE
used_pills: ENTITY_GENERIC_EAT
Worldguard Hook
• Worldguard 7.0.0+ is required
• You can make a region radiated by setting the 'rads-per-second' flag. Example: /rg flag RadiationZone rads-per-second 3
• Players cannot use nuclear weapons in regions with the PvP flag set to 'DENY'
original plugin in spigot
Tested Minecraft Versions:
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
NOTES:
• The only supported versions are 1.13-1.17. Other versions will not work!
• If you have any issues or questions, please post in the discussion tab or PM me.
FEATURES:
• Nuclear reactors
• Nuclear weapons
• Radiation
• Custom items
• Highly configurable
• Worldguard integration
List of Custom Items
• Atomic Bomb
• Enriched Uranium
• Fuel Rod
• Hazmat Boots
• Hazmat Chestplate
• Hazmat Helmet
• Hazmat Leggings
• Hydrogen Bomb
• Nuclear Waste
• Radiation Pills
• Reactor Core
• Uranium Ore
Spoiler: Default Recipes
Uranium
• Uranium ore can be obtained through mining. Different ores/blocks have configurable probabilities of dropping uranium ore when mined
• Uranium ore is useless until its enriched via smelting. Enriched uranium is used to make fuel rods for reactors and nuclear weapons
Nuclear Reactors
• To create a nuclear reactor, you need to place 1 reactor core, 3 cauldrons, 1 hopper, and 1 furnace in the configuration show below (note: the furnace must be placed last):
• To use the nuclear reactor, simply place fuel rods in the hopper. By default, 1 fuel rod will power the furnace for the same amount of time as a lava bucket would (1000 seconds)
• Radioactive nuclear waste will be produced while the reactor is running and will be deposited into the hopper or dropped on the ground if the hopper is full. Nuclear waste will radiate players if they hold it in their inventory or stand near it when its on the ground. Wear hazmat gear to reduce its effect!
• While the reactor is running it will use up the water in the cauldrons. By default, 1 cauldron level of water is used every 30 seconds. If the reactor runs out of water it will meltdown (explosion + radiation in surrounding area)
Nuclear Weapons
• There are two nuclear weapons: atomic bomb and hydrogen bomb
• Both weapons cause a large explosion on impact and radiate the surrounding area but the hydrogen bomb is more powerful
• To launch a nuclear weapon, click the item while looking in the direction you want the missile to fire and it will explode on impact
Spoiler: Gif
Radiation
• Players' radiation level is displayed in a bossbar as shown below (the bossbar will go away when their radiation level is 0)
Spoiler: Image
• Sources of radiation include: holding nuclear waste, standing near nuclear waste, reactor meltdowns, nuclear weapons, and Worldguard regions with the rads-per-second flag
• The effects of radiation are configurable but by default the effects are: weakness starting at 25 rads, nausea at 50 rads, wither at 75 rads, and harm at 100 rads
• Players' radiation level will slowly decrease as time passes or they can use radiation pills to significantly reduce their radiation level
• The amount of radiation a player receives from a radiation source can be reduced by wearing hazmat gear. For each piece of hazmat gear the player is wearing, the amount of rads received is reduced by 25% so if the player is wearing a full hazmat suit they are fully protected from all radiation. By default, the recipes for hazmat gear is the same as normal armor but the material is sponge
Commands & Permissions
/nuclearmc reload
Desc: reloads NuclearMC
Perm: nuclearmc.reload
/nuclearmc help
Desc: displays help information
Perm: nuclearmc.help
/nuclearmc give <item> <amount> [player]
Desc: gives NuclearMC item
Perm: nuclearmc.give
/nuclearmc items
Desc: List all NuclearMC items
Perm: nuclearmc.items
/nuclearmc radiation <add/remove/set> <amount> <player>
Desc: Modifies radiation level of player
Perm: nuclearmc.radiation
nuclearmc.* - gives access to all commands
Configuration
• NuclearMC is designed to be highly configurable so you can tailor it to your specific server. If you have any questions about the configs, please ask!
Spoiler: config.yml
Code (Text):
nuclear_reactor:
fuel_rod_burn_time_in_ticks: 20000
waste_radiation_radius: 3
waste_rads_per_second: 0.5
waste_creation_frequency_in_seconds: 15
water_consumption_frequency_in_seconds: 30
meltdown_explosion_strength: 25
meltdown_radiation_radius: 25
meltdown_radiation_duration_in_seconds: 300
meltdown_rads_per_second: 3
atomic_bomb:
explosion_strength: 30
radiation_radius: 25
radiation_duration_in_seconds: 120
rads_per_second: 3
hydrogen_bomb:
explosion_strength: 75
radiation_radius: 50
radiation_duration_in_seconds: 300
rads_per_second: 3
uranium_drop_chances:
STONE: 0.01
COAL_ORE: 0.05
IRON_ORE: 0.1
GOLD_ORE: 0.25
REDSTONE_ORE: 0.25
LAPIS_ORE: 0.25
DIAMOND_ORE: 0.5
EMERALD_ORE: 0.5
radiation:
rads_removed_per_second: 0.3
rads_removed_by_pills: 50
effects:
WEAKNESS: 25
CONFUSION: 50
WITHER: 75
HARM: 100
Spoiler: items.yml
Code (Text):
atomic_bomb:
material: FIREWORK_ROCKET
name: Atomic Bomb
lore: Nuclear weapon that derives\nits power from fission reactions
recipe: IRON_BLOCK, REACTOR_CORE, IRON_BLOCK, IRON_BLOCK, FUEL_ROD, IRON_BLOCK,
IRON_BLOCK, FIREWORK_ROCKET, IRON_BLOCK
enriched_uranium:
material: NETHER_BRICK
name: Enriched Uranium
lore: Used to make fuel rods for reactors
fuel_rod:
material: END_ROD
name: Fuel Rod
lore: Fuel used by nuclear reactors
recipe: IRON_INGOT, ENRICHED_URANIUM, IRON_INGOT, IRON_INGOT, ENRICHED_URANIUM,
IRON_INGOT, IRON_INGOT, ENRICHED_URANIUM, IRON_INGOT
hazmat_boots:
material: GOLDEN_BOOTS
name: Hazmat Boots
lore: Provides protection from radiation
recipe: SPONGE, AIR, SPONGE, SPONGE, AIR, SPONGE, AIR, AIR, AIR
hazmat_chestplate:
material: GOLDEN_CHESTPLATE
name: Hazmat Chestplate
lore: Provides protection from radiation
recipe: SPONGE, AIR, SPONGE, SPONGE, SPONGE, SPONGE, SPONGE, SPONGE, SPONGE
hazmat_helmet:
material: GOLDEN_HELMET
name: Hazmat Helmet
lore: Provides protection from radiation
recipe: SPONGE, SPONGE, SPONGE, SPONGE, AIR, SPONGE, AIR, AIR, AIR
hazmat_leggings:
material: GOLDEN_LEGGINGS
name: Hazmat Boots
lore: Provides protection from radiation
recipe: SPONGE, SPONGE, SPONGE, SPONGE, AIR, SPONGE, SPONGE, AIR, SPONGE
hydrogen_bomb:
material: FIREWORK_ROCKET
name: Hydrogen Bomb
lore: Thermonuclear weapon that derives\nits power from fusion reactions
recipe: IRON_BLOCK, REACTOR_CORE, IRON_BLOCK, IRON_BLOCK, NETHER_STAR, IRON_BLOCK,
IRON_BLOCK, FIREWORK_ROCKET, IRON_BLOCK
nuclear_waste:
material: ROTTEN_FLESH
name: Nuclear Waste
lore: Radioactive by-product of nuclear reactions
radiation_pills:
material: MELON_SEEDS
name: Radiation Pills
lore: Treats radiation sickness\n(shift + right click)
recipe: AIR, SUGAR, AIR, SUGAR, MELON_SEEDS, SUGAR, AIR, SUGAR, AIR
reactor_core:
material: CHISELED_QUARTZ_BLOCK
name: Nuclear Reactor Core
lore: Generates power from nuclear reactions
recipe: IRON_BLOCK, REDSTONE, IRON_BLOCK, REDSTONE, DIAMOND_BLOCK, REDSTONE, IRON_BLOCK,
REDSTONE, IRON_BLOCK
uranium_ore:
material: FLINT
name: Uranium Ore
lore: Must be enriched before use
Spoiler: messages.yml
Code (Text):
# Messages accept color codes.
# Use \n to start a newline in a message.
# {VARIABLES} are filled in with their respective values, they can only be used in the messages that they are in by default
cannot_use_from_console: '&8[&9NuclearMC&8] &cYou cannot use this command from console.'
give_command: '&8[&9NuclearMC&8] &aSuccessfully gave item.'
give_command_usage: '&8[&9NuclearMC&8] &4Correct usage: &c/nuclearmc give <item> <amount>
[player]'
invalid_number: '&8[&9NuclearMC&8] &cInvalid number ''&4{NUMBER}&c''.'
invalid_player: '&8[&9NuclearMC&8] &cPlayer ''&4{PLAYER}&c'' is not online.'
no_permission: '&cYou do not have permission to use this command.'
nuclear_weapon_launch: '&4[WARNING] &c{PLAYER} has launched a nuclear weapon at x: {X}, y: {Y}, z: {Z}'
plugin_reloaded: '&8[&9NuclearMC&8] &aSuccessfully reloaded.'
radiation_bar: '&cRadiation Level: &c{RADS} rads'
radiation_command_added: '&8[&9NuclearMC&8] &aAdded {RADS} rads to {PLAYER}.'
radiation_command_removed: '&8[&9NuclearMC&8] &aRemoved {RADS} rads from {PLAYER}.'
radiation_command_set: '&8[&9NuclearMC&8] &aSet radiation of {PLAYER} to {RADS} rads.'
radiation_command_usage: '&8[&9NuclearMC&8] &4Correct usage: &c/nuclearmc radiation
<add/remove/set> <amount> <player>'
reactor_broken: '&8[&9NuclearMC&8] &aNuclear reactor has been broken.'
reactor_created: '&8[&9NuclearMC&8] &aNuclear reactor has been created.'
used_pills: '&8[&9NuclearMC&8] &aYour radiation level has been reduced!'
Spoiler: sounds.yml
Code (Text):
# Sound names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
reactor_break: BLOCK_ANVIL_LAND
reactor_create: BLOCK_ANVIL_USE
used_pills: ENTITY_GENERIC_EAT
Worldguard Hook
• Worldguard 7.0.0+ is required
• You can make a region radiated by setting the 'rads-per-second' flag. Example: /rg flag RadiationZone rads-per-second 3
• Players cannot use nuclear weapons in regions with the PvP flag set to 'DENY'