From 902d7be0721985bb3e4134a8fe451858ec3be527 Mon Sep 17 00:00:00 2001 From: igromanru Date: Mon, 26 Aug 2024 16:52:15 +0200 Subject: [PATCH] docs: Update README.md with latest commands --- README.md | 28 +++++++++++++++------------- scripts/main.lua | 6 +++--- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1bf4ae7..812fac5 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,21 @@ ## Commands Command | Aliases | Parameters | Description ------- | ------- | ---------- | ----------- -No Thirst | thirst \| nothirst \| drink | | Player won't be Ttirsty -Heal | heal | | Player gets fully healed once -No Clip | noclip \| clip \| ghost | | Disables player's collision and makes him fly -Infinite Stamina | stamina \| sp \| infsp \| infstamina | | Player won't consume stamina -Set Money | money | value | Set money to desired value -No Continence | con \| nocon \| continence \| nocontinence \| wc | | Player won't need to go to the toilet -Free Crafting | freecraft \| freecrafting \| crafting \| craft | | Allows player to craft all items and for free. (Warning: Might require to rejoin the game to disable completly!) +Set Money | money | value | Set money to desired value (works as guest) Help | help | | Shows mod details and possible commands -Infinite Energy | energy \| infenergy | | Player's Held Item won't lose charge Infinite Health | health \| hp \| inv \| infhp \| infhealth | | Player gets fully healed and becomes invincible -No Hunger | hunger \| nohunger \| eat | | Player won't be hungry -Infinite Durability | durability \| infdur | | Player's Held Item won't lose durability -No Fall Damage | falldmg \| falldamage \| nofall \| nofalldmg \| nofalldamage | | Prevets player from taking fall damage +Free Crafting | freecraft \| freecrafting \| crafting \| craft | | Allows player to craft all items for free. (Warning: You may need to restart the game to deactivate it completely!) +No Sway | nosway \| sway \| noweaponsway | | Removes weapon's sway +Infinite Durability | durability \| infdurability \| infdur | | Keeps player's gear and hotbar items durability at maximum +No Recoil | norecoil \| recoil \| weaponnorecoil | | Reduces weapon's fire recoil to minimum (haven't found a way to remove completely yet) +No Radiation | rad \| norad \| radiation \| noradiation | | Player can't receive radiation +No Thirst | thirst \| nothirst \| drink | | Player won't be Thirsty +Leyak Cooldown | leyakcd \| leyakcooldown \| cdleyak | minutes | Changes Leyak's spawn cooldown in minutes (Default: 15min). The cooldown resets each time you reload/rehost the game, but the previous cooldown will be in effect until the next Leyak spawns. (host only) No Fatigue | fat \| nofat \| fatigue \| nofatigue \| tired | | Player won't be tired -God Mode | god \| godmode | | Makes the player invincible and keeps all his stats at maximum (Health, Stamina, Hunger, Thirst, Fatigue, Continence) -No Radiation | rad \| norad \| radiation \| noradiation | | Player can't receive radiation \ No newline at end of file +Infinite Energy | energy \| infenergy | | Keeps player's gear and held item charge/energy at maximum +No Fall Damage | falldmg \| falldamage \| nofall \| nofalldmg \| nofalldamage | | Prevents player from taking fall damage (host only) +Heal | heal | | Player gets fully healed once +No Continence | con \| nocon \| continence \| nocontinence \| wc | | Player won't need to go to the toilet +Infinite Stamina | stamina \| sp \| infsp \| infstamina | | Player won't consume stamina +No Clip | noclip \| clip \| ghost | | Disables player's collision and makes him fly (host only) +No Hunger | hunger \| nohunger \| eat | | Player won't be hungry \ No newline at end of file diff --git a/scripts/main.lua b/scripts/main.lua index 7a86668..2b94d8c 100644 --- a/scripts/main.lua +++ b/scripts/main.lua @@ -11,7 +11,7 @@ local AFUtils = require("AFUtils.AFUtils") ModName = "CheatConsoleCommands" ModVersion = "1.1.0" -DebugMode = false +DebugMode = true LogInfo("Starting mod initialization") require("Features") @@ -45,8 +45,8 @@ LoopAsync(500, function() end) -- if DebugMode then --- -- PrintCommansAaMarkdownTable() --- PrintCommansAaBBCode() +-- PrintCommansAaMarkdownTable() +-- -- PrintCommansAaBBCode() -- end LogInfo("Mod loaded successfully")