An immersive "Rest" script for AzerothCore servers using the Eluna Lua engine. This script rewards players for taking a break by providing a powerful regeneration buff when they use the /sit emote.
- Immersive Regeneration: Using
/sitapplies Graccu's Fruitcake effect (Spell 25990), restoring Health and Mana. - Movement Detection: The buff is instantly stripped if the player moves even slightly, preventing "rest-walking."
- Combat Protection: Players cannot initiate resting while in combat to prevent exploit healing during encounters.
- Customizable: Easily adjust the duration, check frequency, or the spell ID used for regeneration.
- Ensure you have Azerothcore ALE.
- Download
SitMeansRest.lua. - Place the file into your server's
lua_scriptsfolder. - Restart your server or type
.reload elunain-game.
Simply type /sit while out of combat. You will receive a 20-second regeneration buff. If you move or stand up before the 20 seconds are up, the buff will be removed.
Open the script file to modify the CONFIG table:
DURATION: How long the rest lasts (Default: 20s).REGEN_AURA: The Spell ID used for healing (Default: 25990).SIT_EMOTE_ID: The TEXT_EMOTE ID to trigger the script (Default: 86).