Cheats in Jedi Knight: Jedi Academy run through the console, and the console has to be unlocked before it will accept them.
In multiplayer you prefix the code with a forward slash. One important caveat: this only works in single-player, and only on servers that have cheats enabled — most public servers deliberately switch them off.