Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Automation_Config = {} -- Ignore
- --[[--------------------------------------------------------------
- Hello and welcome to my DarkRP automation addon!
- If you have any problems please create a support ticket.
- Please leave suggestions in the discussion tab as I am always
- looking for ways to improve on this addon :)
- --]]--------------------------------------------------------------
- -- Enable a menu in the context menu (C Menu) for easier access to the automation commands below
- -- Has different buttons for each action, like raiding and mugging, I reccomend you enable this as its more user friendly than only using commands
- Automation_Config.ENABLE_CONTEXT_ACTIONS = true
- --[[---------------------
- RAIDING CONFIG
- --]]---------------------
- if CLIENT then return end -- Ignore
- -- Enable the raiding module?
- -- I highly suggest you enable this
- Automation_Config.ENABLE_RAIDING = true
- -- How long players must wait until they can raid again in seconds
- -- [5 minutes = 300, 10 minutes = 600, 15 minutes = 900 etc.]
- Automation_Config.RAIDING_INTERVAL = 30
- -- How long players are allowed to raid for in seconds
- -- When a raid is started, after this amount of time, the raid is stopped automatically
- Automation_Config.MAX_RAID_TIME = 30
- -- When set to true, the player getting raided will get notified that they are getting raided, false does the opposite
- Automation_Config.RAID_NOTIFY_TARGET = false
- -- The list of jobs what are allowed to raid people
- -- If you want everyone to have access to raiding just leave the list empty
- Automation_Config.RAID_JOB_WHITELIST = { -- WARNING: Having an invalid team here will cause errors
- [TEAM_MEDIC] = true,
- }
- --[[---------------------
- MUGGING CONFIG
- --]]---------------------
- -- Enable the mugging module?
- Automation_Config.ENABLE_MUGGING = true
- -- The default mug price
- -- Players can change this by doing "/mugprice [price]"
- Automation_Config.DEFAULT_MUG = 2500
- -- The minimum price a mug can be set to using /mugprice
- Automation_Config.MINIMUM_MUG = 500
- -- The maximum price a mug can be set to using /mugprice
- Automation_Config.MAXIMUM_MUG = 5000
- -- How long players must wait until they can mug again after mugging, in seconds
- Automation_Config.MUG_INTERVAL = 30 -- 600 is 10 minutes
- -- How much time the mug target has to respond to a mug, in seconds, you should keep this low but not too low
- Automation_Config.MUG_RESPONSE_TIME = 10
- -- The list of jobs what are allowed to mug people
- -- If you want everyone to have access to mugging just leave the list empty
- Automation_Config.MUG_JOB_WHITELIST = { -- WARNING: Having an invalid team here will cause errors
- [TEAM_MEDIC] = true,
- }
- --[[---------------------
- KIDNAPPING CONFIG
- --]]---------------------
- -- Enable the mugging module?
- Automation_Config.ENABLE_KIDNAPPING = true
- -- The maximum time a player can keep somebody kidnapped
- -- Set to 0 if you don't want a maximum time
- Automation_Config.MAX_KIDNAP_TIME = 30
- -- How long players must wait until they can kidnap someone again, in seconds
- Automation_Config.KIDNAP_INTERVAL = 10 -- 900 is 15 minutes
- -- How much the players speed is divided by while kidnapped, set this to 1 if you dont want to change the players speed
- -- Do not set this to 0 unless you want players to not move
- Automation_Config.KIDNAP_DIVIDE_SPEED = 2 -- 2 will half the players speed while being kidnapped
- -- If we should end the kidnap if the target gets far away enough
- Automation_Config.KIDNAP_CHECK_DISTANCE = true
- -- How far the person being kidnapped must be before the kidnap ends
- Automation_Config.KIDNAP_END_DISTANCE = 900000
- -- The list of jobs what are allowed to kidnap people
- -- If you want everyone to have access to kidnapping just leave the list empty
- Automation_Config.KIDNAP_JOB_WHITELIST = { -- WARNING: Having an invalid team here will cause errors
- [TEAM_MEDIC] = true,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement