]> git.lizzy.rs Git - dragonfireclient.git/blob - builtin/client/cheats/init.lua
Added JetPack and AutoHit (-> Credits to Code-Sploit and cora)
[dragonfireclient.git] / builtin / client / cheats / init.lua
1 core.cheats = {
2         ["Combat"] = {
3                 ["Killaura"] = "killaura",
4                 ["Forcefield"] = "forcefield",
5                 ["AntiKnockback"] = "antiknockback",
6                 ["FastHit"] = "spamclick",
7                 ["AttachmentFloat"] = "float_above_parent",
8                 ["CrystalPvP"] = "crystal_pvp",
9                 ["AutoTotem"] = "autototem",
10                 ["ThroughWalls"] = "dont_point_nodes",
11                 ["OnlyTracePlayers"] = "only_trace_players",
12                 ["AutoHit"] = "autohit",
13         },
14         ["Movement"] = {
15                 ["Freecam"] = "freecam",
16                 ["AutoForward"] = "continuous_forward",
17                 ["PitchMove"] = "pitch_move",
18                 ["AutoJump"] = "autojump",
19                 ["Jesus"] = "jesus",
20                 ["NoSlow"] = "no_slow",
21                 ["AutoSneak"] = "autosneak",
22                 ["AutoSprint"] = "autosprint",
23                 ["SpeedOverride"] = "override_speed",
24                 ["JumpOverride"] = "override_jump",
25                 ["GravityOverride"] = "override_gravity",
26                 ["JetPack"] = "jetpack",
27         },
28         ["Render"] = {
29                 ["Xray"] = "xray",
30                 ["Fullbright"] = "fullbright",
31                 ["HUDBypass"] = "hud_flags_bypass",
32                 ["NoHurtCam"] = "no_hurt_cam",
33                 ["BrightNight"] = "no_night",
34                 ["Coords"] = "coords",
35                 ["Tracers"] = "enable_tracers",
36                 ["ESP"] = "enable_esp",
37                 ["NodeTracers"] = "enable_node_tracers",
38                 ["NodeESP"] = "enable_node_esp",
39                 ["CheatHUD"] = "cheat_hud",
40         },
41         ["World"] = {
42                 ["FastDig"] = "fastdig",
43                 ["FastPlace"] = "fastplace",
44                 ["AutoDig"] = "autodig",
45                 ["AutoPlace"] = "autoplace",
46                 ["InstantBreak"] = "instant_break",
47                 ["Scaffold"] = "scaffold",
48                 ["ScaffoldPlus"] = "scaffold_plus",
49                 ["BlockWater"] = "block_water",
50                 ["PlaceOnTop"] = "autotnt",
51                 ["Replace"] = "replace",
52                 ["Nuke"] = "nuke",
53         },
54         ["Exploit"] = {
55                 ["EntitySpeed"] = "entity_speed",
56                 ["ParticleExploit"] = "log_particles",
57         },
58         ["Player"] = {
59                 ["NoFallDamage"] = "prevent_natural_damage",
60                 ["NoForceRotate"] = "no_force_rotate",
61                 ["IncreasedRange"] = "increase_tool_range",
62                 ["UnlimitedRange"] = "increase_tool_range_plus",
63                 ["PointLiquids"] = "point_liquids",
64                 ["PrivBypass"] = "priv_bypass",
65                 ["AutoRespawn"] = "autorespawn",
66         },
67         ["Chat"] = {
68                 ["IgnoreStatus"] = "ignore_status_messages",
69                 ["Deathmessages"] = "mark_deathmessages",
70                 ["ColoredChat"] = "use_chat_color",
71                 ["ReversedChat"] = "chat_reverse",
72         },
73         ["Inventory"] = {
74                 ["AutoEject"] = "autoeject",
75                 ["AutoTool"] = "autotool",
76                 ["Enderchest"] = function() core.open_enderchest() end,
77                 ["HandSlot"] = function() core.open_handslot() end,
78                 ["NextItem"] = "next_item",
79                 ["Strip"] = "strip",
80                 ["AutoRefill"] = "autorefill",
81         }
82 }
83
84 function core.register_cheat(cheatname, category, func)
85         core.cheats[category] = core.cheats[category] or {}
86         core.cheats[category][cheatname] = func
87 end
88
89 local cheatpath = core.get_builtin_path() .. "client" .. DIR_DELIM .. "cheats" .. DIR_DELIM
90
91 dofile(cheatpath .. "chat.lua")
92 dofile(cheatpath .. "combat.lua")
93 dofile(cheatpath .. "inventory.lua")
94 dofile(cheatpath .. "movement.lua")
95 dofile(cheatpath .. "player.lua")
96 dofile(cheatpath .. "render.lua")
97 dofile(cheatpath .. "world.lua")