]> git.lizzy.rs Git - dragonfireclient.git/blob - builtin/client/cheats.lua
Add minetest.get_nearby_objects
[dragonfireclient.git] / builtin / client / cheats.lua
1 core.cheats = {
2         ["Combat"] = {
3                 ["AntiKnockback"] = "antiknockback",
4                 ["AttachmentFloat"] = "float_above_parent",             
5         },
6         ["Movement"] = {
7                 ["Freecam"] = "freecam",
8                 ["AutoForward"] = "continuous_forward",
9                 ["PitchMove"] = "pitch_move",
10                 ["AutoJump"] = "autojump",
11                 ["Jesus"] = "jesus",
12                 ["NoSlow"] = "no_slow",
13                 ["JetPack"] = "jetpack",
14                 ["AntiSlip"] = "antislip",
15         },
16         ["Render"] = {
17                 ["Xray"] = "xray",
18                 ["Fullbright"] = "fullbright",
19                 ["HUDBypass"] = "hud_flags_bypass",
20                 ["NoHurtCam"] = "no_hurt_cam",
21                 ["BrightNight"] = "no_night",
22                 ["Coords"] = "coords",
23                 ["CheatHUD"] = "cheat_hud",
24                 ["EntityESP"] = "enable_entity_esp",
25                 ["EntityTracers"] = "enable_entity_tracers",
26                 ["PlayerESP"] = "enable_player_esp",
27                 ["PlayerTracers"] = "enable_player_tracers",
28                 ["NodeESP"] = "enable_node_esp",
29                 ["NodeTracers"] = "enable_node_tracers",
30         },
31         ["Interact"] = {
32                 ["FastDig"] = "fastdig",
33                 ["FastPlace"] = "fastplace",
34                 ["AutoDig"] = "autodig",
35                 ["AutoPlace"] = "autoplace",
36                 ["InstantBreak"] = "instant_break",
37                 ["FastHit"] = "spamclick",
38                 ["AutoHit"] = "autohit",
39         },
40         ["Exploit"] = {
41                 ["EntitySpeed"] = "entity_speed",
42         },
43         ["Player"] = {
44                 ["NoFallDamage"] = "prevent_natural_damage",
45                 ["NoForceRotate"] = "no_force_rotate",
46                 ["Reach"] = "reach",
47                 ["PointLiquids"] = "point_liquids",
48                 ["PrivBypass"] = "priv_bypass",
49                 ["AutoRespawn"] = "autorespawn",
50                 ["ThroughWalls"] = "dont_point_nodes",
51         },
52 }
53
54 function core.register_cheat(cheatname, category, func)
55         core.cheats[category] = core.cheats[category] or {}
56         core.cheats[category][cheatname] = func
57 end