Luanti, Common Commands
This article provides some of the most commonly used commands while playing Luanti.
Personally, I always start out with the fly mode enabled. This can be set to default via the Settings menu but also while playing the game itself.
To enable fly mode while in a game open the server console by pressing the forward slash: /.
Within the game terminal window (dark window) type:
/grantme fly
You can activate fly mode by double pressing the space key or pressing K.
However, if you see “Fly mode enabled (note: no ‘fly’ privilege)” you’ll need to try enabling fly mode using the command again.
If you are hosting a game, you can grant others fly mode by using the following command:
/grant <playersname> fly
You can also edit your world’s world.mt file (in .luanti/worlds/<worldname>/) and add:
default_privs = fly,fast,privs
Then reload the world.
Multiplayer server (you’re not admin) — You can’t grant yourself privs — you need a server admin to run:
/grant <yourname> fly
or give you the privs privilege so you can manage your own:
/grant <yourname> privs
Multiplayer server (you’re the admin) — Use the server console directly (bypasses the in-game privilege check):
/grant <yourname> fly
Help & Info
/help [cmd] – List all commands or describe one | none |
/help privs – List all privileges with descriptions | none |
/status – Server version, uptime, connected players | none |
/mods – List installed mods | none |
/privs [player] – Show a player’s privileges (default: self) privs
Privileges
/grant <player> <priv> – Grant a privilege to a player privs
/grant <player> all – Grant all privileges privs
/grantme <priv> – Grant yourself a privilege privs
/revoke <player> <priv> – Revoke a privilege privs
Movement & Teleport
/teleport <x> <y> <z> – Teleport to coordinates teleport
/teleport <player> – Teleport to another player teleport
/spawn – Teleport to the world spawn point | none |
/sethome – Set your current position as home home
/home – Teleport to your home point home
Items
/give <player> <item> [count] – Give an item to a player give
/giveme <item> [count] – Give yourself an item give
/spawnentity <name> [x y z] – Spawn an entity (mob) give, interact
World
/time <HH:MM> – Set time of day (24h format) settime
/time <0–24000> – Set time in millihours (12000 = noon) settime
/setspawn [x y z] – Set the world spawn point server
Moderation
/kick <player> [reason] – Kick a player kick
/ban <player> – Ban a player ban
/unban <player> – Unban a player ban
/rollback <player> <seconds> – Undo a player’s recent actions rollback
/rollback_check <range> <seconds> – Show who changed nearby blocks rollback
Server
/shutdown [delay] [reconnect] [msg] – Shut down the server server
/set <variable> – Show a server config value server
/set <variable> <value> – Change a server config value server
/set -n <variable> <value> – Create a new server variable server
/clearobjects – Remove all dropped items and mobs server
/clearinventory <player> – Clear a player’s inventory server
Account
/setpassword <player> <pass> – Set a player’s password server
/clearpassword <player> – Remove a player’s password server
/killme – Kill yourself | none |
Quick Reference — Key Privileges
interact – Dig, place, use items
shout – Chat
fly – Fly mode (K key)
fast – Fast mode (J key)
noclip – Fly through blocks (N key)
give – /give, /giveme
teleport – /teleport
settime – /time
privs – /grant, /revoke
server – /shutdown, /set, /clearobjects
Tip: In singleplayer you can run /grantme all to get everything instantly.
Conclusion
I hope my article on why you can’t swap out your onmicrosoft.com domain has helped you. I welcome your thoughts, questions or suggestions regarding this article.
You may support my work and future improvements by sending me a tip using your Brave browser or by sending me a one time donation using your credit card.
Let me know if you found any errors within my article or if I may further assist you by answering any additional questions you may have.




