Hotkeys and commands

**Hotkeys** are keys or key combinations for use within a match in which when pressed provide quick access to certain aspects of the game. **Commands** can be typed into the chat console either within a match, or in other PVP.net chat windows, though some (such as champion laughter, jokes, and dances) will only have the specified effect within a match.

## Hotkeys

Note: The Hotkeys listed here bound on their standard keys on the QWERTY keyboard. For other keyboards, default hotkeys are bound to the keys which are in the positions occupied by the following keys on the QWERTY keyboard (e.g., ' is bound to a champion's 1st ability on the Dvorak keyboard).

*Many more hotkeys were listed by Rioter "HoHums" here, although many are for internal use only: http://na.leagueoflegends.com/board/showthread.php?p=15644321#15644321*
## Commands

*League of Legends* in-game chat gives the possibility to perform some actions during the game:

 **Ctrl+6** | Displays your Mastery Emote.

PvP.net provides players with the ability to chat with friends who are currently in an active session of *League of Legends*. For players in the AIR client, this process is as simple as opening a chat window through your buddy list. Players in-game will be able to send messages to players in the PvP.net client, or even in other games of *League of Legends* by making use of the following chat commands, followed by a message:

 **/all** | Will send a message to all players in the current match (useful if you forgot to press shift + enter).

PvP.net provides players with the ability to block unwanted messages from other players through the use of the following commands:

 /**mute** all
 /**ignore** "summoner name"
 /**ignore** all

แม่แบบ:Outdated

## File Location for Keybindings

The file that holds the keybindings can be found here: `*\League of Legends\Config\input.ini`

Some people have trouble changing the keybindings through the in-game interface. Editing this file is an alternate way of changing your keybindings. In particular, the game UI forbids assigning Shift modified key-bindings to the basic champion abilities, so editing the file is the only way to achieve this. If the file does not exist it means that you have not changed your keybindings yet. If so, you can make a new file in the aforementioned folder and name it `input.ini`, although it is recommended that you go into a practice game and modify some keybindings instead so you can be sure you're editing the correct file.

Another thing to note is that Riot often changes the method for changing these settings. According to Riot support, current to patch V6.13, these are the steps required to modify keybindings through the `input.ini` file.

1. Launch League and Login
2. Start a Custom Game
3. Minimize the game and Navigate to `*\League of Legends\Config`
4. Delete `PersistedSettings.json`
5. Open and edit the lines you need to in `game.cfg` (this file contain most non-input settings) or `input.ini` in Notepad
6. Quit Custom Game
7. Start new Custom Game to verify changes
8. If this does not work, repeat the process; except before exiting the game, in the `input.ini` file's preferences, mark it as read only to prevent any errors (this may be undone later).

This list means calls for the edits must be carried out in a custom game. Persons editing setting this way should be aware that if connectivity drops; the game kicks you for afk; or the game client crashes while modifying the `input.ini`, any saved changes to the `input.ini` file will not be overwritten, but they will not be properly transcribed to the `PersistedSettings.json` file where they need to be in order to take affect on the next launch. You will have to start from the beginning of the process, including opening and saving the `input.ini` (even if no further changes need made).

Below is a list of the items that can be changed. **Be aware that the header shown in bold MUST be present.** Also, it is not necessary to include all items, just the ones you want to change. So for example if you want to switch around the smartcast and normal cast keybindings, you just use the *evtCastSpell1* through *evtCastAvatarSpell2* section and the *evtSmartCastSpell1* through the *evtSmartCastAvatarSpell2* section. Any items not explicitly mentioned use the default values listed above.

```
**[GameEvents]**

evtCastSpell1=[q]
evtCastSpell2=[w]
evtCastSpell3=[e]
evtCastSpell4=[r]
evtCastAvatarSpell1=[d]
evtCastAvatarSpell2=[f]

evtLevelSpell1=[Ctrl][q]
evtLevelSpell2=[Ctrl][w]
evtLevelSpell3=[Ctrl][e]
evtLevelSpell4=[Ctrl][r]

evtSelfCastSpell1=[Alt][q]
evtSelfCastSpell2=[Alt][w]
evtSelfCastSpell3=[Alt][e]
evtSelfCastSpell4=[Alt][r]

evtSmartCastSpell1=[Shift][q]
evtSmartCastSpell2=[Shift][w]
evtSmartCastSpell3=[Shift][e]
evtSmartCastSpell4=[Shift][r]
evtSmartCastAvatarSpell1=[Shift][d]
evtSmartCastAvatarSpell2=[Shift][f]

evtUseItem1=[1]
evtUseItem2=[2]
evtUseItem3=[3]
evtUseVisionItem=[4]
evtUseItem4=[5]
evtUseItem5=[6]
evtUseItem6=[7]
evtUseItem7=[b]

evtSmartCastItem1=[Shift][1]
evtSmartCastItem2=[Shift][2]
evtSmartCastItem3=[Shift][3]
evtSmartCastItem4=[Shift][5]
evtSmartCastItem5=[Shift][6]
evtSmartCastItem6=[Shift][7]

evntPlayerPingCursor=[g]
evntPlayerPingCursorDanger=[v]

evtPlayerStopPosition=[s]
evtPlayerHoldPosition=[h]
evtPlayerAttackMove=[a],[x]

evtPlayerSelectClick=[Button 1]
evtPlayerMoveClick=[Button 2]

evntPlayerPing=[alt][Button 1]
evntPlayerPingDanger=[ctrl][Button 1]
evtPlayerAttackMoveClick=[Shift] [Button 2]
evtPetMoveClick = [Alt] [Button 2]
evtPetReturn = [Alt] [Button 1]

evtCameraLockToggle=[y]
evtCameraSnap=[Space]
evtSelectSelf=[F1]
evtSelectAlly1=[F2]
evtSelectAlly2=[F3]
evtSelectAlly3=[F4]
evtSelectAlly4=[F5]
evtOnUIMouse4Pan=[Button 3]

evtShowCharacterMenu=[c]
evtShowScoreBoard=[o]
evtOpenShop=[p]
evtShowConsole = [Return],[NumEnter]
evtShowAllConsole = [Shift] [Return], [Shift] [NumEnter]
evtChatHistory=[z]

evtDrawHud=[F5]
evtShowSummonerNames=[Shift] [k]
evtShowHealthBars=[Shift] [l]
evtToggleMinionHealthBars=[Ctrl] [l]

evtScrollUp=[Up Arrow]
evtScrollDown=[Down Arrow]
evtScrollLeft=[Left Arrow]
evtScrollRight=[Right Arrow]

evtEmoteJoke=[Ctrl] [1]
evtEmoteTaunt=[Ctrl] [2]
evtEmoteDance=[Ctrl] [3]
evtEmoteLaugh=[Ctrl] [4]

```

```
[MouseSettings]
PointerSpeed = 2
RollerButtonSpeed = 1

**[HUDEvents]**
evtToggleFPSAndLatency=[Ctrl] [f]

```

Below is an example file that only switches the smartcast and normal cast keys.

```
[GameEvents]
evtSmartCastSpell1  = [q]
evtSmartCastSpell2  = [w]
evtSmartCastSpell3  = [e]
evtSmartCastSpell4  = [r]
evtSmartCastAvatarSpell1  = [d]
evtSmartCastAvatarSpell2  = [f]
evtSmartCastItem1=[1]
evtSmartCastItem2=[2]
evtSmartCastItem3=[3]
evtSmartCastItem4=[4]
evtSmartCastItem5=[5]
evtSmartCastItem6=[6]

evtCastSpell4 = [Shift][r]
evtCastSpell3 = [Shift][e]
evtCastSpell2 = [Shift][w]
evtCastSpell1 = [Shift][q]
evtCastAvatarSpell1 = [Shift][d]
evtCastAvatarSpell2 = [Shift][f]
evtUseItem1 = [Shift][1]
evtUseItem2 = [Shift][2]
evtUseItem3  =[Shift][3]
evtUseItem4 = [Shift][4]
evtUseItem5 = [Shift][5]
evtUseItem6 = [Shift][6]

```

As of the Skarner patch (V1.0.0.123), there is now a new keybinding available: **Smart + Self Cast**. This new setup is nearly identical to the old smartcast except in one regard: spells that you can target on yourself you can now cast to yourself by pressing the key with the mouse over any invalid target. For example, with this setup you can apply Morgana's Black Shield to yourself by pressing the self + smartcast key and having your mouse over anything that is not an allied champion. For those of you who want to edit the input.ini file, here is an example of self + smartcast applied to the standard keys:

```
[GameEvents]
evtSmartPlusSelfCastSpell4 = [r]
evtSmartPlusSelfCastSpell3 = [e]
evtSmartPlusSelfCastSpell2 = [w]
evtSmartPlusSelfCastSpell1 = [q]
evtSmartPlusSelfCastAvatarSpell1 = [d]
evtSmartPlusSelfCastAvatarSpell2 = [f]

evtCastSpell4 = [r][Shift]
evtCastSpell3 = [e][Shift]
evtCastSpell2 = [w][Shift]
evtCastSpell1 = [q][Shift]
evtCastAvatarSpell1 = [d][Shift]
evtCastAvatarSpell2 = [f][Shift]

```

## Switching primary and secondary mouse buttons

LoL does not support the setting within operating systems that switch primary and secondary buttons, nor does it allow the changing of these within the in-game client. To switch these buttons you must use the following steps for modding the input.ini.

```
[GameEvents]
evtPlayerSelectClick = [Button 1]
evtPlayerMoveClick = [Button 2]

evntPlayerPing=[alt][Button 2]
evntPlayerPingDanger=[ctrl][Button 2]
evtPlayerAttackMoveClick=[Shift] [Button 1]
evtPetMoveClick = [Alt] [Button 1]
evtPetReturn = [Alt] [Button 2]

[HUDEvents]
evtOnUIMouse1 = [Button 2]
evtOnUIMouse2 = [Button 1]
evtOnUIMouse3 = [Button 3]
evntHudMoveableSelect = [Button 1]
evtOrbitCamera = [Ctrl][Button 2]

```

## Patch History

**V6.12:**

* The protocol for manually editing the input.ini file was changed many times and the page had not kept up with the information.
	+ The information on this page was updated to Riots current verified step-by-step process. It is unknown which patch the system was implemented during, except that it was "recent" according to a support staffers response.
	+ The information, while current to the patch is very likely to change.

**V3.14:**

* Trinkets were added
	+ evtUseVisionItem was created and set to [4]
	+ evtUseItem(4, 5, and 6) were displaced to [5, 6, and 7] respectively.

**V1.0.0.145:**

* Default hotkeys for joke, taunt, dance, and laugh have been changed.
	+ Joke changed to Ctrl+1 from Shift+1.
	+ Taunt changed to Ctrl+2 from Shift+2.
	+ Dance changed to Ctrl+3 from Shift+3.
	+ Laugh changed to Ctrl+4 from Shift+4.

**V1.0.0.138:**

* Minion health bar toggle is now bound to Ctrl+L by default, instead of L.

**V1.0.0.136:**

* Fixed a bug where Ctrl+F didn't display a Ping/FPS overlay.

**V1.0.0.126:**

* Fixed a bug in which the Show/Hide HUD keybinding would always be F5, despite the selection in the options menu.

**V1.0.0.124:**

* Added a new ping functionality: you can now ping to signal your teammates to fall back.

**V1.0.0.123:**

* Added new keybindings for "Self+Smart cast" for abilities and Summoner Spells. Casting with these binds will first try to smart cast the ability; if there is no target or an invalid target under the cursor, it will attempt to self-cast the ability.

**V1.0.0.99:**

* Added two ignore options: "/ignore ally" for ignoring the allied team, and "/ignore enemy" for ignoring the enemy team.

**V1.0.0.98:**

* Smart cast now defaults to Shift and self cast now defaults to Alt. These can be changed in the keybinding menu.

**V1.0.0.97:**

* Mouse wheel scrolling on the minimap is now disabled by default.

**V1.0.0.86:**

* Right-clicking an allied portrait will no longer move you in the direction of your ally.
* Ignoring or muting a user will now also ignore their minimap pings.

**V1.0.0.83:**

* The HUD can now be hidden using Alt+[-].
* Responding using the "/r" function will now correctly respond to the most recent person that whispered you.
* The mouse wheel can now be used to scroll up and down in the shop.

**V1.0.0.79:**

* The level up spell hotkey has been changed to holding down Ctrl while pressing the spell hotkey (Q, W, E, R). It is no longer Alt. This can be changed in the keybinding menu.
* Holding down Alt and pressing a spell hotkey will now cast the spell on yourself if it is self-castable, or cast the spell under your mouse cursor if applicable. This is referred to as "Smart Casting" and can be rebound in the keybinding menu.
* F1-F5 keys can now be used to cast spells on yourself or your allies. Click the spell, then use one of the F1 (self) through F5 buttons (allies).
	+ F1-F5 keys can now be clicked or held down to center the camera on yourself or allies.

**V1.0.0.75:**

* Pressing Esc should now deselect a controlled pet.

**V1.0.0.74:**

* "/help" can now also be accessed with "/?".
* "/surrender" can now also be accessed with "/ff".
* "/nosurrender" can now also be accessed with "/noff".
* "/w" can now also be accessed with "/msg".
* Fixed an issue that was causing "/r" to incorrectly remember the last person who whispered you.

**V1.0.0.138:**

* Minion health bar toggle is now bound to Ctrl+L by default instead of L.

**V1.0.0.123:**

* Added new keybindings for "Self+Smart Cast" for abilities and Summoner spells. Casting with these binds will first try to Smart-Cast the ability; if there is no target or an invalid target under the cursor, it will attempt to Self-Cast the ability.

**V1.0.0.52:**

* Fixed a bug where the Hold key (H) was stopping move abilities like ไฟล์:BlitzcrankSquare.png Blitzcrank's Rocket Grab Rocket Grab.

	+ "/r" replies to the last person who whispered you.
	+ "/mute <player>" will block all in-game chat from that player.

**V0.9.25.24:**

* Added "stop command" and bound it to V.
	+ Holding down H works like the stop command until the key is released.

**V0.9.22.16:**

* Added "Chat history toggle" and bound it to Z.

**July 10, 2009 Patch:**

* Holding down the tilde key (~) will now allow you to select only champions.

**June 26, 2009 Patch:**

* Added Alt+Enter command for full screen/windowed mode toggling.

**May 29, 2009 Patch:**

* Scoreboard can now be activated by holding down the Tab key.

**May 9, 2009 Patch:**

* Shop can now be toggled with P.

**April 25, 2009 Patch:**

* Holding down the Spacebar will now lock your camera to your champion until you release it.

**April 18, 2009 Patch:**

* Removed the "click to upgrade" button for ability level-ups.
	+ You can now level up skills using Alt+Q, Alt+W, Alt+E, and Alt+R.

**Alpha Week 7:**

* Added "Minion health bar toggle" and bound it to L.
* All health bars toggle now bound to Shift+L.

**Alpha Week 6:**

* Esc now closes the chat box and erases any text in it.

**Alpha Week 5:**

* Pressing Esc now works to close all menus.
* Health bar toggle is now bound to L instead of F.
* Added hold position/stop key and bound it to H.
* Added an attack move command and bound it to X.
* Scoreboard toggle now bound to O instead of T.
* Recall Teleport Home is now bound to B and has been added as a button in the HUD.

de:Schnelltasten und Befehle
es:Hotkeys and commands
zh:快捷键与命令