Version 1.1.0
24 downloads
Shoot vehicles out of the snowball gun!
Prerequisites
A snowball gun in hand. No need for ammo.
Permissions
TheFunGun uses Oxides permission system
To assign a user permission use oxide.grant user "username|steam id" "permission" in console.
To assign a group permission use oxide.grant group "groupname" "permission" in console.
TheFunGun.CarGun.Use
TheFunGun.RhibGun.Use
TheFunGun.BoatGun.Use
TheFunGun.SnowGun.Use
TheFunGun.RandGun.Use
TheFunGun.SharkGun.Use
TheFunGun.TugGun.Use
TheFunGun.MiniGun.Use
TheFunGun.SideCar.Use
TheFunGun.Pedal.Use
TheFunGun.Motor.Use
TheFunGun.BypassCooldown
Chat Commands
/cargun - To enable the car gun (sedan).
/rhibgun - To enable the rhib gun.
/boatgun - To enable the row boat gun.
/snowgun - To enable the snow mobile gun.
/sharkgun - shark corpses
/minigun - mini copters
/sidecar - motorbike with sidecar
/motor - motorbike without sidecar
/tuggun - tugboats
/pedalgun - pedal bikes
/randgun - To enable the random gun that choose a random vehicle.
Caveats
Be mindful when choosing your de-spawn timer in the config. Having a high de-spawn timer means the vehicles stay on the server for longer. To avoid any spam or server lag, be sure to keep this number low.
Configuration
The configuration file can be found in your server directory at .../oxide/config/TheFunGun.json
The use of an editor and validator is recommended to avoid formatting issues
{ "Despawn Timer": 5.0, "Velocity": 75.0 "Cooldown": 1.0 }
Localization
{
["randGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Random Gun <color=#36802d>Enabled</color>",
["randGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Random Gun <color=#ff6666>Disabled</color>",
["sharkGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Shark Gun <color=#36802d>Enabled</color>",
["sharkGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Shark Gun <color=#ff6666>Disabled</color>",
["carGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Car Gun <color=#36802d>Enabled</color>",
["carGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Car Gun <color=#ff6666>Disabled</color>",
["rhibGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Rhib Gun <color=#36802d>Enabled</color>",
["rhibGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Rhib Gun <color=#ff6666>Disabled</color>",
["boatGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Boat Gun <color=#36802d>Enabled</color>",
["boatGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Boat Gun <color=#ff6666>Disabled</color>",
["snowGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Snow Gun <color=#36802d>Enabled</color>",
["snowGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Snow Gun <color=#ff6666>Disabled</color>",
["tugGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Tug Gun <color=#36802d>Enabled</color>",
["tugGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Tug Gun <color=#ff6666>Disabled</color>",
["miniGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Mini Gun <color=#36802d>Enabled</color>",
["miniGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Mini Gun <color=#ff6666>Disabled</color>",
["sidecarGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Sidecar Gun <color=#36802d>Enabled</color>",
["sidecarGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Sidecar Gun <color=#ff6666>Disabled</color>",
["pedalGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Pedal Gun <color=#36802d>Enabled</color>",
["pedalGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Pedal Gun <color=#ff6666>Disabled</color>",
["motorGunEnable"] = "<color=#ffc34d>TheFunGun</color>: Motor Gun <color=#36802d>Enabled</color>",
["motorGunDisable"] = "<color=#ffc34d>TheFunGun</color>: Motor Gun <color=#ff6666>Disabled</color>",
["noPermission"] = "<color=#ffc34d>TheFunGun</color>: You do not have permission to use this command",
["Cooldown"] = "<color=#ffc34d>TheFunGun</color>: You are on a {0} second cooldown.",
}
Special Thanks
Thank you to unboxingman for his assistance in the development of this plugin.
Support
Dark Side Development Discord