forked from SmallJoker/simple_protection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_settings.lua
54 lines (43 loc) · 1.68 KB
/
default_settings.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--[[
SETTINGS FILE
simple_protection/default_settings.lua
Contains the default settings for freshly created worlds.
Please do not modify in order to not get any configuration-related errors
after updating all other files but this
[world_path]/s_protect.conf
Contains the per-world specific settings.
You may modify this one but pay attention, as some settings may cause
unwanted side effects when claims were made.
]]
-- Width and length of claims in nodes
-- !! Distorts the claim locations along the X and Z axis !!
-- Type: Integer, positive, even number
s_protect.claim_size = 16
-- Height of claims in nodes
-- !! Distorts the claim locations along the Y axis !!
-- Type: Integer, positive
s_protect.claim_height = 150
-- Defines the Y offset where the 0th claim should start in the underground
-- Example of claim (0,0,0): Ymin = -(50) = -50, Ymax = 150 - (50) - 1 = 99
-- Type: Integer
s_protect.start_underground = 50
-- Only allows claiming above this Y value
-- To disable this limit, set the value to 'nil'
-- Type: Integer or nil
s_protect.underground_limit = -300
-- Returns the claim stick when unclaiming the area
-- Type: Boolean
s_protect.claim_return = true
-- Players will need to claim the area (or have access to it) to dig
-- Digging will be still allowed in the underground,
-- as defined by the setting 's_protect.underground_limit'
-- Type: Boolean
s_protect.claim_to_dig = false
-- Allows players to list their areas using '/area list'
-- Type: Boolean
s_protect.area_list = true
-- Limits the amount of claims per player
-- For values < 10: Stop this nonsense
-- Doubled limit for players with the 'simple_protection' privilege
-- Type: Integer
s_protect.max_claims = 200