===============ASpam v2.2===============
| <W.I.P> |
This is my first release, so the code is pretty sloppy and
has
one major bug I know of. Enjoy, and leave your comments
and suggestions.
Things to Come:
- Various Bug fixes
- Relocate the configs outside of the main lua file
-
Vgui to display your current warning lvl (already W.I.P) - Config for maximum time to wait for a dupe to complete
Know Bugs:
-
You are free to spam for 10 seconds immediately after the
the use of the adv_dupe or regular dupe -
Fixed Current Features:
- Warning system
- Notifies admins of possible spammers
- Auto kicks spammers after a set warning level
- Spam delay based on the "Danger" of the props
- Vgui to display your current warning lvl - Added
- Players props are now removed when being kicked for spam - Added
- The time displayed to clients to wait until spawning a props is now rounded properly - Fixed
- Now checks to see if you have UPS and if so delete players props with ups instead - Fixed
- Optimized the way the script checks number a warns and made the hook name Unique
so that it doesn't conflict with other scripts 0
Fixed - Hopefully is kicks people now...... - It is guaranteed to kick people now
- If by chance they get lucky and not get kicked, spawning of props for them will be disabled
- Removes all the offenders props if they surpass the max warning level
- Can set the limit for entities spawn-able with an advanced duplicator
- Can set whether or not to allow the original duplicator(less spam protection if allowed)
- Replaced Admin_Immune with Immune = {} (See configs below)
| |
======================================
Sample Config:
--Potentially Harmful props have a longer delay in spawn time
local dlist = { "crane_frame.mdl", "models/props_phx/ball.mdl", "models/props_phx/oildrum001_explosive.mdl", "models/props_phx/mk-82.mdl", "models/props_phx/torpedo.mdl", "models/props_phx/ww2bomb.mdl", "models/props_phx/misc/flakshell_big.mdl", "models/props_junk/gascan001a.mdl", "models/props_junk/propane_tank001a.mdl", "models/props_c17/oildrum001_explosive.mdl", "models/props_phx/huge/tower.mdl", "models/props_phx/huge/evildisc_corp.mdl", "models/props_phx/playfield.mdl", "models/props_c17/utilitypole01d.mdl", "models/props_buildings/building_002a.mdl", "models/props_buildings/collapsedbuilding02b.mdl", "models/props_buildings/collapsedbuilding02c.mdl", "models/props_buildings/project_building01.mdl", "models/props_buildings/project_building02.mdl", "models/props_buildings/project_building03.mdl", "models/props_buildings/project_destroyedbuildings01.mdl", "models/props_buildings/row_church_fullscale.mdl", "models/props_buildings/row_corner_1_fullscale.mdl", "models/props_buildings/row_res_1_fullscale.mdl", "models/props_buildings/row_res_2_ascend_fullscale.mdl", "models/props_canal/canal_bridge01.mdl", "models/props_canal/canal_bridge02.mdl", "models/props_canal/canal_bridge03a.mdl", "models/props_canal/canal_bridge03b.mdl" }
local Delay = 0.3 --Delay for normal props
local XDelay = 1 -- Delay for the props in the dlist
local Warn_Player = 5 -- After what warning lvl should the player be warned?
local Max_Warn = 10 -- Max number of times a player can be warned before getting kicked
local Max_dupe_ents = 100 -- Max number of entities allowed to be pasted via advance duplicator
local allow_default_duplicator = false -- Allow the use of the default duplicator (Recommend false: Not as much control over props spawned)
local Immune = { 'superadmin', 'admin' }
--==============================DO NOT EDIT BELOW THIS POINT===================================--
Promotions.lua is no longer supported since I'm overhauling it completely and making it separate from ASpam. View It In Action