Supported Games
Allows players to craft nuclear ammunition and explosives.
Note: Using plugins that use radiation will enable it globally, therefore activating Rusts default radiation zones. If you do not wish for these to be active you can remove them using this plugin here: Remove Default Radiation.
Important
This plugins requires Image Library to manage the UI images!
- You must download the required images from here -> Images
- Once you have downloaded them, extract the .rar and upload the images to your 'oxide/data/NukeWeapons/Icons' folder. The folder will automatically be created when the plugin loads. Otherwise create it yourself
- You must then run the console command 'nukeicons'
- Everytime you wipe your server you must run the console command again
Failure to follow these simple instructions WILL result in error.
Features
- Full GUI crafting menu and ammo selector
- Customizable recipes
- Customizable crafting timers
- Set maximum ammo counts
- Customizable radiation properties for each type
- Easy switching between ammo types
- Easy to use GUI ammo counters
- Only shows ammo counts for the types of ammo you have
- When using crafted ammo it does not use ammo in your inventory
- Separate permission for each type, or a permission for all
- Permission for unlimited ammo
Ammo Types
- Rifle ammo
- Timed explosives
- Landmines
- Rockets
- Grenades
Chat Commands
/nw-- Open the UI crafting menu
Console Commands
nukeicons-- Load required images to your server
Permissions
nukeweapons.rocket- Grant player access to nuke rocketsnukeweapons. bullet- Grant player access to nuke bulletsnukeweapons.mine- Grant player access to nuke minesnukeweapons.explosive- Grant player access to nuke explosivesnukeweapons.grenade- Grant player access to nuke grenadesnukeweapons.all- Grant player access to all ammo typesnukeweapons.unlimited- Grant player access to unlimited ammo
Configuration
{
"Bullets": { // Crafting and Radiation properties for the NukeBullets
"CraftAmount": 5, // The amount giving to the user once crafted
"CraftingCosts": { // Crafting cost
"ammo.rifle.explosive": 5, // Item shortname, followed by amount needed
"lowgradefuel": 10,
"sulfur": 10
},
"CraftTime": 30, // Time in seconds the crafting process will take
"Enabled": true, // Enable/Disable this type
"MaxAllowed": 100, // Maximum amount allowed
"RadiationProperties": {
"Duration": 3.0, // Duration of radiation in seconds
"Intensity": 15.0, // The amount of radiation issued per second
"Radius": 5.0 // The radius of the radiation
}
},
"Explosives": {
"CraftAmount": 1,
"CraftingCosts": {
"explosive.timed": 1,
"lowgradefuel": 200,
"sulfur": 150
},
"CraftTime": 90,
"Enabled": true,
"MaxAllowed": 3,
"RadiationProperties": {
"Duration": 30.0,
"Intensity": 25.0,
"Radius": 25.0
}
},
"Grenades": {
"CraftAmount": 1,
"CraftingCosts": {
"grenade.f1": 1,
"lowgradefuel": 100,
"sulfur": 100
},
"CraftTime": 45,
"Enabled": true,
"MaxAllowed": 3,
"RadiationProperties": {
"Duration": 15.0,
"Intensity": 15.0,
"Radius": 15.0
}
},
"Mines": {
"CraftAmount": 1,
"CraftingCosts": {
"lowgradefuel": 150,
"sulfur": 100,
"trap.landmine": 1
},
"CraftTime": 60,
"Enabled": true,
"MaxAllowed": 5,
"RadiationProperties": {
"Duration": 25.0,
"Intensity": 30.0,
"Radius": 20.0
}
},
"Options": {
"MSG_MainColor": "<color=#00CC00>", // Chat and UI text colors
"MSG_SecondaryColor": "<color=#939393>"
},
"Rockets": {
"CraftAmount": 1,
"CraftingCosts": {
"ammo.rocket.basic": 1,
"lowgradefuel": 150,
"sulfur": 150
},
"CraftTime": 60,
"Enabled": true,
"MaxAllowed": 3,
"RadiationProperties": {
"Duration": 15.0,
"Intensity": 10.0,
"Radius": 10.0
}
},
"URL_IconList": { // Icon file names. If you wish to change the icons you can change the file name, or just replace the existing file
"Background": "background.png",
"Bullet": "bullet.png",
"BulletActive": "bulletactive.png",
"Explosive": "explosive.png",
"ExplosiveActive": "explosiveactive.png",
"Grenade": "grenade.png",
"GrenadeActive": "grenadeactive.png",
"Mine": "landmine.png",
"MineActive": "landmineactive.png",
"Rocket": "rocket.png",
"RocketActive": "rocketactive.png"
}
}
MIT License
Copyright (c) 2020 k1lly0u
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

