The Fun Gun

The Fun Gun 1.0.6

banner.png

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.
You can read more about how to use the permission system here : uMod - Permissions
  • TheFunGun.CarGun.Use
  • TheFunGun.RhibGun.Use
  • TheFunGun.BoatGun.Use
  • TheFunGun.SnowGun.Use
  • TheFunGun.RandGun.Use
  • TheFunGun.BypassCooldown.Use

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.
  • /randgun - To enable the random gun that choose a random vehicle.

Caveats
  • Be mindful when choosing your despawn timer in the config. Having a high despawn 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
JSON:
{
  "Despawn Timer": 5.0,
  "Velocity": 75.0
  "Cooldown": 1.0
}


Localization
JSON:
{
  "RandGunEnable": "<color=#ffc34d>TheFunGun</color>: Random Gun <color=#36802d>Enabled</color>",
  "RandGunDisable": "<color=#ffc34d>TheFunGun</color>: Random 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>",
  "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

Information

Author
Lincoln
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest Release v1.0.6

Released
Mar 31, 2023 at 11:24 PM
Rating
0.00 star(s) 0 ratings



The Fun Gun by Lincoln
© chaoscode.io Mar 13, 2023

Latest reviews

So much fun would recommend
Lincoln
Lincoln
Glad you are enjoying it :)