-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.js
90 lines (88 loc) · 5.67 KB
/
config.js
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//Edit items in this file if you want customization:
export default {
"other":{
//dev only don't touch
"debug": false,
//how long a person is banned for when reaching warnings too fast in minutes
"warningsTooFastPunishmentTime": 5,
},
"combat": {
"autoclicker":{
//if player cps go over this number, player gets flagged for autoclicker
"maxCps": 20
},
"killaura":{
//if player attacks this or many more number of entities in a single tick, gets flagged for killaura
"maxHitEntities": 2
},
"combatLogging":{
//how many milliseconds player will stay in combat after last damage they received from a player
//this is set to 15 seconds by default
"timeToStayInCombat": 15000,
//punishment for when player is detected combat logging
//0 - send alert to everyone, do nothing
//1 - kill player
//2 - clear inventory
//3 - ban player (duration specified in "punishmentTime")
"punishmentType": 3,
//enabling this will send an alert when player combat logs to everyone in game
"alwaysSendAlert": false,
//valid input: <number> <day|hour|minute>
"punishmentTime": "15 minute",
//if admins don't get affected by anti combatlogging
"adminsBypass": true
}
},
"item":{
"anti_items":{
//items flagged by anti-items
//you can add your custom items here
"bannedItems": ['minecraft:allow', 'minecraft:command_block', 'minecraft:repeating_command_block', 'minecraft:chain_command_block', 'minecraft:border_block', 'minecraft:mob_spawner', 'minecraft:command_block_minecart','minecraft:flowing_lava', 'minecraft:lava', 'minecraft:flowing_water', 'minecraft:water', 'minecraft:lit_redstone_lamp', 'minecraft:pistonarmcollision', 'minecraft:tripwire', 'minecraft:unpowered_comparator', 'minecraft:powered_comparator', 'minecraft:fire', 'minecraft:lit_furnace', 'minecraft:lit_redstone_ore', 'minecraft:unlit_redstone_torch', 'minecraft:portal','minecraft:structure_block', 'minecraft:powered_repeater', 'minecraft:invisiblebedrock','minecraft:bedrock', 'minecraft:wgateway', 'minecraft:end_portal', 'minecraft:end_portal_frame', 'minecraft:structure_void', 'minecraft:chalkboard', 'minecraft:bubble_column', 'minecraft:lit_smoker', 'minecraft:lava_cauldron', 'minecraft:jigsaw', 'minecraft:lit_blast_furnace', 'minecraft:light_block', 'minecraft:stickypistonarmcollision', 'minecraft:soul_fire', 'minecraft:lit_deepslate_redstone_ore', 'minecraft:camera', 'minecraft:deny', 'minecraft:barrier', 'minecraft:glowingobsidian', 'minecraft:glow_stick', 'minecraft:netherreactor', 'minecraft:info_update'],
//items that were found with these words in the name or lore will get cleared and player will get flagged (you can also include symbols)
//you can also remove all keywords if you don't want custom keyword detection
"bannedKeyWords": ["horion","32k","nbt","hack","nested","cbe","nuker","illegal"],
//the maximum length of an item name tag - 30 is the vanilla limit
"maxItemNameLength": 30,
//checks if an item has lore
"antiLore": true
}
},
"movement":{
"fly":{
//the anticheat checks for sudden changes in player velocity
//for example if it suddenly jumps from -4 to 6, the threshold determines how high that difference can be
"maxYVelocityThreshold": 8
}
},
"world":{
"nuker":{
//if player breaks this many or more blocks in a single tick, gets flagged for nuker
"maxBlocks": 3,
//checks if admin players are using nuker (good for anti op abuse)
"checkAdmins": true,
//blocks that are excluded from nuker check because they are instant broken
"blockExceptions": ["minecraft:sea_pickle","minecraft:sugar_cane","minecraft:deadbush","minecraft:horn_coral","minecraft:coral_fan","minecraft:coral_fan_dead","minecraft:brain_coral","minecraft:bubble_coral","minecraft:dead_brain_coral","minecraft:dead_bubble_coral","minecraft:dead_fire_coral","minecraft:dead_horn_coral","minecraft:dead_tube_coral","minecraft:fire_coral","minecraft:tube_coral","minecraft:red_flower","minecraft:yellow_flower","minecraft:grass","minecraft:seagrass","minecraft:netherrack","minecraft:torchflower","minecraft:sapling","minecraft:cherry_sapling","minecraft:tallgrass","minecraft:double_plant","minecraft:nether_sprouts"]
},
"worldborder":{
//the minimum border size required, this is used so if a possible admin abuse or force op occurs hackers don't create a border of a size 1 block or less which
//will teleport all the players up in the air constantly
"minBorderDistance": 500,
//if admins can go beyond world border
"adminsBypassBorder": true,
}
},
"chat":{
//chat command prefix
"prefix": "!",
"spammer":{
//maximum amount characters the message can have before it's considered spam
"maxMessageCharLimit": 512,
//maximum amount of words the message can have before it's considered spam
"maxMessageWordLimit": 512,
//minimum time between messages in milliseconds
"minTime": 1500,
//if a message starts with this word/symbol/letter or whatever you enter it won't be flagged for spam
"whitelistedPrefixes": ["!","?"]
}
}
}