-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
28 lines (22 loc) · 962 Bytes
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
-- Config File
-- Specify various plugin parameters here
-- PingAllowance: Defines the allowance placed on players with the most latency
-- Integer between 0 and 10. 1 allows the least and 10 allows the most.
-- 0 means that PingAllowance is disabled. (3 is recommended)
-- Use this setting if players are reporting a large amount of lag-backs
PingAllowance = 2
-- MovementRestriction: Defines how harsh the plugin is on player movement.
-- Integer between 0 and 10. 1 is the most restrictive and 10 is the least restrictive.
-- 0 means that movement restriction is disabled. (3 is recommended)
MovementRestriction = 10
-- Debug: Prints debug to players.
Debug = false
-- Config Fetch Function
-- Ignore this function if you are only editing the plugins config
function getconfig(num)
configtable = {}
table.insert(configtable, PingAllowance)
table.insert(configtable, MovementRestriction)
table.insert(configtable, Debug)
return configtable[num]
end