82 lines
2.3 KiB
Lua
Raw Normal View History

2020-07-28 13:51:32 +02:00
core.cheats = {
["Combat"] = {
["Killaura"] = "killaura",
["AntiKnockback"] = "antiknockback",
2020-10-04 10:50:07 +02:00
["FastHit"] = "spamclick",
2020-10-17 11:11:22 +02:00
["AttachmentFloat"] = "float_above_parent",
["CrystalPvP"] = "crystal_pvp",
["AutoTotem"] = "autototem",
["ThroughWalls"] = "dont_point_nodes",
2020-07-28 13:51:32 +02:00
},
["Movement"] = {
["Freecam"] = "freecam",
2020-07-31 19:23:29 +02:00
["AutoForward"] = "continuous_forward",
["PitchMove"] = "pitch_move",
["AutoJump"] = "autojump",
["Jesus"] = "jesus",
["NoSlow"] = "no_slow",
2020-10-17 11:11:22 +02:00
["AutoSneak"] = "autosneak",
2020-07-28 13:51:32 +02:00
},
["Render"] = {
["Xray"] = "xray",
["Fullbright"] = "fullbright",
["HUDBypass"] = "hud_flags_bypass",
2020-07-31 19:23:29 +02:00
["NoHurtCam"] = "no_hurt_cam",
2020-08-01 11:55:48 +02:00
["BrightNight"] = "no_night",
2020-08-01 14:46:37 +02:00
["Coords"] = "coords",
["Tracers"] = "enable_tracers",
["ESP"] = "enable_esp",
2020-07-28 13:51:32 +02:00
},
["World"] = {
["FastDig"] = "fastdig",
2020-07-31 19:23:29 +02:00
["FastPlace"] = "fastplace",
2020-07-28 13:51:32 +02:00
["AutoDig"] = "autodig",
2020-07-31 19:23:29 +02:00
["AutoPlace"] = "autoplace",
["InstantBreak"] = "instant_break",
2020-10-17 11:11:22 +02:00
["Scaffold"] = "scaffold",
["ScaffoldPlus"] = "scaffold_plus",
["BlockWater"] = "block_water",
["PlaceOnTop"] = "autotnt",
["Replace"] = "replace"
2020-07-28 13:51:32 +02:00
},
2020-10-04 10:50:07 +02:00
["Exploit"] = {
["EntitySpeed"] = "entity_speed",
["ParticleExploit"] = "log_particles",
},
["Player"] = {
["NoFallDamage"] = "prevent_natural_damage",
["NoForceRotate"] = "no_force_rotate",
2020-10-17 11:11:22 +02:00
["IncreasedRange"] = "increase_tool_range",
["UnlimitedRange"] = "increase_tool_range_plus",
["PointLiquids"] = "point_liquids",
["PrivBypass"] = "priv_bypass",
["AutoRespawn"] = "autorespawn",
2020-10-04 10:50:07 +02:00
},
2020-10-17 11:11:22 +02:00
["Chat"] = {
["IgnoreStatus"] = "ignore_status_messages",
["Deathmessages"] = "mark_deathmessages"
},
["Inventory"] = {
["AutoEject"] = "autoeject",
["AutoTool"] = "autotool",
["Enderchest"] = function() core.open_enderchest() end,
["HandSlot"] = function() core.open_handslot() end,
["NextItem"] = "next_item",
}
2020-07-28 13:51:32 +02:00
}
2020-08-14 19:12:14 +02:00
function core.register_cheat(cheatname, category, func)
core.cheats[category] = core.cheats[category] or {}
core.cheats[category][cheatname] = func
end
2020-10-17 11:11:22 +02:00
local cheatpath = core.get_builtin_path() .. "client" .. DIR_DELIM .. "cheats" .. DIR_DELIM
dofile(cheatpath .. "chat.lua")
dofile(cheatpath .. "combat.lua")
2020-10-17 11:11:22 +02:00
dofile(cheatpath .. "inventory.lua")
dofile(cheatpath .. "movement.lua")
dofile(cheatpath .. "player.lua")
dofile(cheatpath .. "render.lua")
dofile(cheatpath .. "world.lua")