DoubleX RMMV Skill Hotkeys

Note
This plugin's available for commercial use

Purpose
Lets you bind hotkeys to skills for actors outside battles, and use them to select usable skills for actors inside battles

Introduction
  1. *    1. When the party's out of battles, an actor can bind hotkeys to his/her
  2.  *       currently usable/unusable skills in the skill menu, unless the result
  3.  *       of the relevant notetags indicates otherwise                        
  4.  *       All these bindings will be saved                                    
  5.  *    2. When the party's inside battles, an actor having nonempty hotkey slot
  6.  *       can use hotkeys to use their corresponding usable skills directly,  
  7.  *       unless the result of the relevant notetags indicates otherwise      
Expand to see the code.


Compatibility Fix
DoubleX RMMV Skill Hotkeys Compatibility

Videos


Games using this plugin
None so far

Parameters
  1. * @param isEnabled
  2.  * @desc Sets whether this plugin will be enabled
  3.  * It'll be the contents of a function returning a Boolean
  4.  * @default return true;
  5.  *
  6.  * @param bindNotePriority
  7.  * @desc Sets the data type priority of <bind skill hotkey: BSHX>
  8.  * It'll be the contents of a function returning an Array of Strings
  9.  * @default return ["states", "armors", "weapons", "classes", "actors"];
  10.  *
  11.  * @param useNotePriority
  12.  * @desc Sets the data type priority of <use skill hotkey: USHX>
  13.  * It'll be the contents of a function returning an Array of Strings
  14.  * @default return ["states", "armors", "weapons", "classes", "actors"];
  15.  *
  16.  * @param bindNoteChainingRule
  17.  * @desc Sets how to use multiple <bind skill hotkey: BSHX> notetags
  18.  * It'll be the contents of a function returning a String
  19.  * @default return "first";
  20.  *
  21.  * @param useNoteChainingRule
  22.  * @desc Sets how to use multiple <use skill hotkey: USHX> notetags
  23.  * It'll be the contents of a function returning a String
  24.  * @default return "first";
  25.  *
  26.  * @param bindHotkeyText
  27.  * @desc Sets the bind hotkey text for skills without hotkeys
  28.  * It'll be the contents of a function returning a String
  29.  * @default return "Bind Hotkey";
  30.  *
  31.  * @param useSkillText
  32.  * @desc Sets the use skill text when showing the bind hotkey texts
  33.  * It'll be the contents of a function returning a String
  34.  * @default return "Use";
  35.  *
  36.  * @param unusableSkillCoverIconPath
  37.  * @desc Sets the path of the icon masking that of unusable skills
  38.  * It'll be the contents of a function returning a String
  39.  * @default return "img/pictures/";
  40.  *
  41.  * @param unusableSkillCoverIconName
  42.  * @desc Sets the name of the icon masking that of unusable skills
  43.  * It'll be the contents of a function returning a String
  44.  * @default return "UnusableSkill";
  45.  *
  46.  * @param unusableSkillCoverIconHue
  47.  * @desc Sets the hue of the icon masking that of unusable skills
  48.  * It'll be the contents of a function returning a Number
  49.  * @default return 0;
  50.  *
  51.  * @param unusableSkillCoverIconSmooth
  52.  * @desc Sets the smooth of the icon masking that of unusable skills
  53.  * It'll be the contents of a function returning a Boolean
  54.  * @default return true;
  55.  *
  56.  * @param hotkeyCmdWindowW
  57.  * @desc Sets the width of the window for binding hotkeys to skills
  58.  * It'll be the contents of a function returning a Number
  59.  * @default return Window_SkillHotkeyBase.prototype.windowWidth.call(this);
  60.  *
  61.  * @param hotkeyCmdWindowH
  62.  * @desc Sets the height of the window for binding hotkeys to skills
  63.  * It'll be the contents of a function returning a Number
  64.  * @default return Window_SkillHotkeyBase.prototype.windowHeight.call(this);
  65.  *
  66.  * @param hotkeyCmdWindowX
  67.  * @desc Sets the x position of the window for binding hotkeys
  68.  * It'll be the contents of a function returning a Number
  69.  * @default return 0;
  70.  *
  71.  * @param hotkeyCmdWindowY
  72.  * @desc Sets the y position of the window for binding hotkeys
  73.  * It'll be the contents of a function returning a Number
  74.  * @default return 0;
  75.  *
  76.  * @param hotkeyCmdLineH
  77.  * @desc Sets the line height of the window for binding hotkeys
  78.  * It'll be the contents of a function returning a Number
  79.  * @default return 36;
  80.  *
  81.  * @param hotkeyCmdFontSize
  82.  * @desc Sets the font size of the window for binding hotkeys
  83.  * It'll be the contents of a function returning a Number
  84.  * @default return 28;
  85.  *
  86.  * @param hotkeyCmdPadding
  87.  * @desc Sets the standard padding of the window for binding hotkeys
  88.  * It'll be the contents of a function returning a Number
  89.  * @default return 18;
  90.  *
  91.  * @param hotkeyCmdTextPadding
  92.  * @desc Sets the text padding of the window for binding hotkeys
  93.  * It'll be the contents of a function returning a Number
  94.  * @default return 6;
  95.  *
  96.  * @param hotkeyCmdBackOpacity
  97.  * @desc Sets the back opacity of the window for binding hotkeys
  98.  * It'll be the contents of a function returning a Number
  99.  * @default return 192;
  100.  *
  101.  * @param hotkeyCmdTranslucentOpacity
  102.  * @desc Sets the translucent opacity of the hotkey binding window
  103.  * It'll be the contents of a function returning a Number
  104.  * @default return 160;
  105.  *
  106.  * @param hotkeyCmdSpacing
  107.  * @desc Sets the spacing of the window for binding hotkeys
  108.  * It'll be the contents of a function returning a Number
  109.  * @default return 12;
  110.  *
  111.  * @param hotkeyListWindowW
  112.  * @desc Sets the width of the window listing the actor hotkey slots
  113.  * It'll be the contents of a function returning a Number
  114.  * @default return Graphics.boxWidth;
  115.  *
  116.  * @param hotkeyListWindowH
  117.  * @desc Sets the height of the window listing the actor hotkey slots
  118.  * It'll be the contents of a function returning a Number
  119.  * @default return this.fittingHeight(2);
  120.  *
  121.  * @param hotkeyListWindowX
  122.  * @desc Sets the x position of the window listing actor hotkey slots
  123.  * It'll be the contents of a function returning a Number
  124.  * @default return 0;
  125.  *
  126.  * @param hotkeyListWindowY
  127.  * @desc Sets the y position of the window listing actor hotkey slots
  128.  * It'll be the contents of a function returning a Number
  129.  * @default return 0;
  130.  *
  131.  * @param hotkeyListLineH
  132.  * @desc Sets the line height of the window listing actor hotkeys
  133.  * It'll be the contents of a function returning a Number
  134.  * @default return 36;
  135.  *
  136.  * @param hotkeyListFontSize
  137.  * @desc Sets the font size of the window listing actor hotkey slots
  138.  * It'll be the contents of a function returning a Number
  139.  * @default return 28;
  140.  *
  141.  * @param hotkeyListPadding
  142.  * @desc Sets the padding of the window listing actor hotkeys
  143.  * It'll be the contents of a function returning a Number
  144.  * @default return 18;
  145.  *
  146.  * @param hotkeyListTextPadding
  147.  * @desc Sets the text padding of the window listing actor hotkeys
  148.  * It'll be the contents of a function returning a Number
  149.  * @default return 6;
  150.  *
  151.  * @param hotkeyListBackOpacity
  152.  * @desc Sets the back opacity of the window listing actor hotkeys
  153.  * It'll be the contents of a function returning a Number
  154.  * @default return 192;
  155.  *
  156.  * @param hotkeyListTranslucentOpacity
  157.  * @desc Sets the translucent opacity of the actor hotkey list window
  158.  * It'll be the contents of a function returning a Number
  159.  * @default return 160;
  160.  *
  161.  * @param hotkeyListSpacing
  162.  * @desc Sets the spacing of the window listing actor hotkey slots
  163.  * It'll be the contents of a function returning a Number
  164.  * @default return 12;
  165.  *
  166.  * @param hotkeyCmdListWindowW
  167.  * @desc Sets the width of the window listing the hotkeys in battle
  168.  * It'll be the contents of a function returning a Number
  169.  * @default return Graphics.boxWidth;
  170.  *
  171.  * @param hotkeyCmdListWindowH
  172.  * @desc Sets the height of the window listing the hotkeys in battle
  173.  * It'll be the contents of a function returning a Number
  174.  * @default return this.fittingHeight(2);
  175.  *
  176.  * @param hotkeyCmdListWindowX
  177.  * @desc Sets the x position of the window listing hotkeys in battle
  178.  * It'll be the contents of a function returning a Number
  179.  * @default return 0;
  180.  *
  181.  * @param hotkeyCmdListWindowY
  182.  * @desc Sets the y position of the window listing hotkeys in battle
  183.  * It'll be the contents of a function returning a Number
  184.  * @default return Graphics.boxHeight - this.fittingHeight(4) - this.windowHeight();
  185.  *
  186.  * @param hotkeyCmdListLineH
  187.  * @desc Sets the line height of the window listing hotkeys in battle
  188.  * It'll be the contents of a function returning a Number
  189.  * @default return 36;
  190.  *
  191.  * @param hotkeyCmdListFontSize
  192.  * @desc Sets the font size of the window listing hotkeys in battle
  193.  * It'll be the contents of a function returning a Number
  194.  * @default return 28;
  195.  *
  196.  * @param hotkeyCmdListPadding
  197.  * @desc Sets the padding of the window listing hotkeys in battle
  198.  * It'll be the contents of a function returning a Number
  199.  * @default return 18;
  200.  *
  201.  * @param hotkeyCmdListTextPadding
  202.  * @desc Sets the text padding of the hotkey window in battle
  203.  * It'll be the contents of a function returning a Number
  204.  * @default return 6;
  205.  *
  206.  * @param hotkeyCmdListBackOpacity
  207.  * @desc Sets the back opacity of the hotkey window in battle
  208.  * It'll be the contents of a function returning a Number
  209.  * @default return 192;
  210.  *
  211.  * @param hotkeyCmdListTranslucentOpacity
  212.  * @desc Sets the translucent opacity of the hotkey window in battle
  213.  * It'll be the contents of a function returning a Number
  214.  * @default return 160;
  215.  *
  216.  * @param hotkeyCmdListSpacing
  217.  * @desc Sets the spacing of the window listing hotkeys in battle
  218.  * It'll be the contents of a function returning a Number
  219.  * @default return 12;
Expand to see the code.


Notetags
  1. *       Among all the same notetag types in the same data, only the 1st one  
  2.  *       can be effective(Reference tag: NOTETAG_MONO)                        
  3.  *       Each line can only have at most 1 notetag(Reference tag: LINE_MONO)  
  4.  *----------------------------------------------------------------------------
  5.  *    # Actor/Class/Weapon/Armor/State/Skill Notetags:                        
  6.  *      Having no effective notetag means the actors can bind hotkeys        
  7.  *      to the skills(Reference tag: DEFAULT_TRUE)                            
  8.  *      1. <bind skill hotkey: BSHX>                                          
  9.  *         - Sets whether the actor can bind hotkeys for the skill as the    
  10.  *           value returned by function with name BSHX, which can only be    
  11.  *           edited in the configuration region, which is inside this plugin  
  12.  *           js file contents, directly                                      
  13.  *         - E.g.:                                                            
  14.  *           <bind skill hotkey: BSH1> will set the actor to always be able to
  15.  *           bind the skill due to BSH1, which is the name of a function in  
  16.  *           the configuration region, always returning true                  
  17.  *    # Actor/Class/Weapon/Armor/State Notetags:                              
  18.  *      Having no effective notetag means the actors can use hotkeys          
  19.  *      1. <use skill hotkey: USHX>                                          
  20.  *         - Sets whether the actor can use hotkeys as the value returned by  
  21.  *           function with name USHX, which can only be edited in the        
  22.  *           configuration region, which is inside this plugin js file        
  23.  *           contents, directly                                              
  24.  *         - E.g.:                                                            
  25.  *           <use skill hotkey: USH1> will set the actor to always be able to
  26.  *           use the skill due to USH1, which is the name of a function in the
  27.  *           configuration region, always returning true                      
Expand to see the code.


Plugin Calls
  1. *    # Configuration manipulations                                          
  2.  *      1. $gameSystem.skillHotkeys.params.param                              
  3.  *         - Returns the stored value of param listed in the plugin manager or
  4.  *           their configuration counterpart                                  
  5.  *         - E.g.:                                                            
  6.  *           $gameSystem.skillHotkeys.params.isEnabled will return the        
  7.  *           contents of a function returning a Boolean indicating whether    
  8.  *           this plugin's enabled                                            
  9.  *      2. $gameSystem.skillHotkeys.params.param = funcContents              
  10.  *         - Sets the stored value of param listed in the plugin manager or  
  11.  *           their configuration counterpart as funcContents, which is the    
  12.  *           contents of a function                                          
  13.  *         - E.g.:                                                            
  14.  *           $gameSystem.skillHotkeys.params.isEnabled = return false; will  
  15.  *           set the stored value of parameter isEnabled shown on the plugin  
  16.  *           manager or its configuration counterpart as return false;,      
  17.  *           causing the corresponding function to always return false, thus  
  18.  *           always disabling this plugin                                    
  19.  *         - $gameSystem.skillHotkeys.params.param changes will be saved      
  20.  *         - DoubleX_RMMV.Skill_Hotkeys.params.param = func, where func is the
  21.  *           corresponding function having funcContents as its contents,      
  22.  *           should be explicitly called immediately afterwards              
  23.  *      3. $gameSystem.skillHotkeys.cfgs.cfg                                  
  24.  *         - Basically the same as $gameSystem.skillHotkeys.params.param,    
  25.  *           except that this plugin call applies to configurations found in  
  26.  *           the configuration region only                                    
  27.  *      4. $gameSystem.skillHotkeys.cfgs.cfg = funcContents                  
  28.  *         - Basically the same as                                            
  29.  *           $gameSystem.skillHotkeys.params.param = funcContents, except that
  30.  *           this plugin call applies to configurations found in the          
  31.  *           configuration region only                                        
  32.  *         - DoubleX_RMMV.Skill_Hotkeys.cfgs.cfg = func, where func is the    
  33.  *           corresponding function having funcContents as its contents,      
  34.  *           should be explicitly called immediately afterwards              
  35.  *      5. $gameSystem.skillHotkeys.notes.note                                
  36.  *         - Basically the same as $gameSystem.skillHotkeys.params.param,    
  37.  *           except that this plugin call applies to notetag values found in  
  38.  *           the configuration region                                        
  39.  *      6. $gameSystem.skillHotkeys.notes.note = funcContents                
  40.  *         - Basically the same as                                            
  41.  *           $gameSystem.skillHotkeys.params.param = funcContents, except that
  42.  *           this plugin call applies to notetag values found in the          
  43.  *           configuration region                                            
  44.  *         - DoubleX_RMMV.Skill_Hotkeys.notes.note = func, where func is the  
  45.  *           corresponding function having funcContents as its contents,      
  46.  *           should be explicitly called immediately afterwards              
  47.  *    # Actor/Class/Weapon/Armor/State/Skill notetag manipulations            
  48.  *      1. meta.skillHotkeys.canBind                                          
  49.  *         - Returns the function name BSHX, which is a String, in            
  50.  *           <bind skill hotkey: BSHX>                                        
  51.  *         - E.g.:                                                            
  52.  *           $dataStates[1].meta.skillHotkeys.canBind will return the function
  53.  *           name BSH1, which is a String, in <bind skill hotkey: BSH1>      
  54.  *           notetag of state with id 1                                      
  55.  *      2. meta.skillHotkeys.canBind = BSHX                                  
  56.  *         - Sets the <bind skill hotkey: BSHX> notetag to use the function  
  57.  *           with name BSHX, which is a String                                
  58.  *         - E.g.:                                                            
  59.  *           $dataActors[2].meta.skillHotkeys.canBind = BSH1 will set the    
  60.  *           <bind skill hotkey: BSHX> notetag of actor with id 2 to use the  
  61.  *           function with name BSH1, with is a String                        
  62.  *         - The function name must be one of the notetag values in the      
  63.  *           configuration region                                            
  64.  *         - All meta.statusBars changes can be saved if                      
  65.  *           DoubleX RMMV Dynamic Data is used                                
  66.  *      3. meta.skillHotkeys.canUse                                          
  67.  *         - Basically the same as meta.skillHotkeys.canBind, except that this
  68.  *           plugin call works with <use skill hotkey: USHX>                  
  69.  *      4. meta.skillHotkeys.canUse = USHX                                    
  70.  *         - Basically the same as meta.skillHotkeys.canBind = BSHX, except  
  71.  *           that this plugin call works with <use skill hotkey: USHX>        
  72.  *    # Actor manipulations                                                  
  73.  *      1. bindSkillHotkey(skillId, hotkey)                                  
  74.  *         - Binds the hotkey with symbol hotkey to the skill with id skillId
  75.  *           for the actor involved, bypassing all <bind skill hotkey: BSHX>  
  76.  *           notetags                                                        
  77.  *         - E.g.:                                                            
  78.  *           $gameParty.aliveMembers()[0].bindSkillHotkey(1, #1) will bind the
  79.  *           hotkey with symbol #1 to the skill with id 1 for the 1st alive  
  80.  *           party member                                                    
  81.  *         - Don't use this plugin call when players are                      
  82.  *           binding/using hotkeys unless you really know what you're truly  
  83.  *           doing                                                            
  84.  *      2. canBindSkillHotkey(skillId)                                        
  85.  *         - Returns whether the actor involved can bind hotkeys for the skill
  86.  *           with id skillId                                                  
  87.  *         - E.g.:                                                            
  88.  *           $gameParty.aliveMembers()[0].canBindSkillHotkey(1) will return  
  89.  *           whether the 1st alive party member can bind hotkeys for the skill
  90.  *           with id 1                                                        
  91.  *      3. canUseSkillHotkey(skillId)                                        
  92.  *         - Returns whether the actor involved can use the hotkey bound to  
  93.  *           the skill with id skillId                                        
  94.  *         - E.g.:                                                            
  95.  *           $gameActors.actor(1).canUseSkillHotkey(1) will return whether the
  96.  *           actor with id 1 can use the hotkey bound to the skill with id 1  
  97.  *      4. isSkillHotkeysBound(skillId)                                      
  98.  *         - Returns whether the actor has bound a hotkey for the skill with  
  99.  *           id skillId                                                      
  100.  *         - E.g.:                                                            
  101.  *           $gameParty.aliveMembers()[$gameParty.aliveMembers().length - 1].
  102.  *                   isSkillHotkeysBound(1) will return whether the last alive
  103.  *           party member has bound a hotkey for the skill with id 1          
  104.  *      5. boundSkillHotkeys(skillId)                                        
  105.  *         - Returns the list of symbols of hotkeys bound to the skill with id
  106.  *           skillId                                                          
  107.  *         - E.g.:                                                            
  108.  *           $gameParty.aliveMembers()[$gameParty.aliveMembers().length - 1].
  109.  *                   boundSkillHotkeys(1) will return the list of symbols of  
  110.  *           hotkeys bound to the skill with id 1                            
  111.  *      6. hotkeys()                                                          
  112.  *         - Returns the list of symbols of hotkeys bound to skills          
  113.  *         - E.g.:                                                            
  114.  *           $gameParty.aliveMembers()[$gameParty.aliveMembers().length - 1].
  115.  *                   hotkeys() will return the list of symbols of hotkeys    
  116.  *           bound to the skills                                              
  117.  *      7. raiseSkillHotkeyNoteChangeFactors()                                
  118.  *         - Notifys that all notetags might need to be reevaluated due to    
  119.  *           potential data source changes or changes in the actor involved  
  120.  *         - This plugin call should be called whenever there are potential  
  121.  *           changes in the bindNoteChainingRule/useNoteChainingRule          
  122.  *           parameter/configuration                                          
  123.  *         - E.g.:                                                            
  124.  *           $gameActors.actor(1).raiseSkillHotkeyNoteChangeFactors() will    
  125.  *           notify the actor with id 1 that all notetags might need to be    
  126.  *           reevaluated due to potential data source changes or changes in  
  127.  *           the actor involved                                              
  128.  *      8. skillHotkeys.hotkeyMapping                                        
  129.  *         - Access the mapping from the hotkey symbols to the skill ids where
  130.  *           the hotkey represented by the formers' bound to the skill        
  131.  *           referred by the latters                                          
  132.  *         - E.g.:                                                            
  133.  *           $gameActors.actor(1).skillHotkeys.hotkeyMapping will access the  
  134.  *           mapping from the hotkey symbols to the skill ids where the hotkey
  135.  *           represented by the formers' bound to the skill referred by the  
  136.  *           latters for the actor with id 1                                  
  137.  *      9. skillHotkeys.noteChangeFactors[note][factor] = true                
  138.  *         - Notifys that the notetag note might need to be reevaluated due to
  139.  *           potential changes in factor factor                              
  140.  *         - note is either "canBind", referring to the notetag              
  141.  *           <bind skill hotkey: BSHX>, or 'canUse", referring to the notetag
  142.  *           <use skill hotkey: USHX>                                        
  143.  *         - factor is either "states", meaning the changes in state notetags,
  144.  *           "armors", meaning the changes in armor notetags, "weapons",      
  145.  *           meaning the changes in weapon notetags, "classes", meaning the  
  146.  *           changes in classes notetags, "actors", meaning the changes in    
  147.  *           actors notetags, or "priority", meaning the changes in the      
  148.  *           bindNotePriority/useNotePriority parameter/configuration        
  149.  *         - E.g.:                                                            
  150.  *           $gameParty.aliveMembers()[$gameParty.aliveMembers().length - 1].
  151.  *                   skillHotkeys. noteChangeFactors[canBind][priority] = true
  152.  *           will notify the last alive party member that the                
  153.  *           <bind skill hotkey: BSHX> notetag might need to be reevaluated  
  154.  *           due to potential changes in the bindNotePriority                
  155.  *           parameter/configuration                                          
  156.  *           (The counterpart for <use skill hotkey: USHX> is useNotePriority)
Expand to see the code.


Plugin Commands
  1. *      1. bindSkillHotkey actorId skillId hotkey                            
  2.  *         - The same as the plugin call bindSkillHotkey(skillId, hotkey) in  
  3.  *           Actor manipulations for the actor with id actorId                
  4.  *         - Don't use this plugin command for actors that don't exist yet    
  5.  *           unless you really know what you're truly doing                  
  6.  *      2. canBindSkillHotkey actorId skillId                                
  7.  *         - The same as the plugin call canBindSkillHotkey(skillId) in      
  8.  *           Actor manipulations for the actor with id actorId                
  9.  *         - Don't use this plugin command for actors that don't exist yet    
  10.  *           unless you really know what you're truly doing                  
  11.  *      3. canUseSkillHotkey actorId skillId                                  
  12.  *         - The same as the plugin call canUseSkillHotkey(skillId) in        
  13.  *           Actor manipulations for the actor with id actorId                
  14.  *         - Don't use this plugin command for actors that don't exist yet    
  15.  *           unless you really know what you're truly doing                  
  16.  *      4. isSkillHotkeysBound actorId skillId                                
  17.  *         - The same as the plugin call isSkillHotkeysBound(skillId) in      
  18.  *           Actor manipulations for the actor with id actorId                
  19.  *         - Don't use this plugin command for actors that don't exist yet    
  20.  *           unless you really know what you're truly doing                  
  21.  *      5. boundSkillHotkeys actorId skillId                                  
  22.  *         - The same as the plugin call boundSkillHotkeys(skillId) in        
  23.  *           Actor manipulations for the actor with id actorId                
  24.  *         - Don't use this plugin command for actors that don't exist yet    
  25.  *           unless you really know what you're truly doing                  
  26.  *      6. hotkeys actorId                                                    
  27.  *         - The same as the plugin call hotkeys() in Actor manipulations for
  28.  *           the actor with id actorId                                        
  29.  *         - Don't use this plugin command for actors that don't exist yet    
  30.  *           unless you really know what you're truly doing                  
  31.  *      7. raiseSkillHotkeyNoteChangeFactors actorId                          
  32.  *         - The same as the plugin call raiseSkillHotkeyNoteChangeFactors()  
  33.  *           in Actor manipulations for the actor with id actorId            
  34.  *         - Don't use this plugin command for actors that don't exist yet    
  35.  *           unless you really know what you're truly doing                  
Expand to see the code.


Configurations
  1.        /**
  2.          * The this pointer refers to the actor involved
  3.          * Sets the list of hotkeys mapped with their corresponding names
  4.          * None of the hotkeys are supposed to be changed during the same battle
  5.          * Using a keyboard mapping plugin, like Quasi Input, can be useful here
  6.          * Ensure it won't return different values when binding/using hotkeys
  7.          * unless you really know what you're truly doing
  8.          * Potential Hotspot/Nullipotent
  9.          * @returns {Object[String, String]} The requested hotkey-name mapping
  10.          * @since v1.00a
  11.          * @version v1.00a
  12.          */
  13.         hotkeyNames: function() {
  14.             return {
  15.                 "#1" : "1", // Hotkey #1 with name 1
  16.                 "#2" : "2", // Hotkey #2 with name 2
  17.                 "#3" : "3", // Hotkey #3 with name 3
  18.                 "#4" : "4", // Hotkey #4 with name 4
  19.                 "#5" : "5", // Hotkey #5 with name 5
  20.                 "#6" : "6", // Hotkey #6 with name 6
  21.                 "#7" : "7", // Hotkey #7 with name 7
  22.                 "#8" : "8", // Hotkey #8 with name 8
  23.                 "#9" : "9", // Hotkey #9 with name 9
  24.                 "#0" : "0" // Hotkey #0 with name 0
  25.             };
  26.         } // hotkeyNames
Expand to see the code.


Author Notes
  1. *      1. DoubleX RMMV Skill Hotkeys aims to give extreme control and freedom
  2.  *         to users by making it as flexible as I can with as little damage to
  3.  *         user-friendliness as I can                                        
Expand to see the code.


Instructions
  1. *      1. If you want to edit configurations instead of parameters, you must
  2.  *         open this js file to access its configuration region              
  3.  *         Some settings, like the hotkey mappings, are only available as    
  4.  *         configurations                                                    
  5.  *      2. The default plugin file name is DoubleX RMMV Skill Hotkeys v100a  
  6.  *         If you want to change that, you must edit the value of            
  7.  *         DoubleX_RMMV.Skill_Hotkeys_File, which must be done via opening    
  8.  *         this plugin js file directly                                      
  9.  *      3. If you wish to use DoubleX RMMV Skill Hotkeys Unit Test, place it  
  10.  *         right below this plugin                                            
Expand to see the code.


Prerequisites
  1. *      Abilities:                                                            
  2.  *      1. Nothing special for most ordinary cases                            
  3.  *      2. Little RMMV plugin development proficiency for more advanced uses  
  4.  *      3. Some RMMV plugin development proficiency to fully utilize this    
Expand to see the code.


Terms Of Use
  1. *      1. Commercial use's always allowed and crediting me's always optional.
  2.  *      2. You shall keep this plugin's Plugin Info part's contents intact.  
  3.  *      3. You shalln't claim that this plugin's written by anyone other than
  4.  *         DoubleX or my aliases. I always reserve the right to deny you from
  5.  *         using any of my plugins anymore if you've violated this.          
  6.  *      4. CC BY 4.0, except those conflicting with any of the above, applies
  7.  *         to this plugin, unless you've my permissions not needing follow so.
  8.  *      5. I always reserve the right to deny you from using this plugin      
  9.  *         anymore if you've violated any of the above.                      
Expand to see the code.


Authors
DoubleX

Changelog
  1.  
  2.  *      v1.01a(GMT 1400 17-7-2019):
  3.  *      1. Lets you show skill names instead of icons in the hotkey list
  4.  *      2. Lets you show hotkey icons instead of names in the hotkey list
  5.  *      (v1.01a+ will be incompatible with v1.00a due to hotkeyNames changes)
  6.  *      v1.00a(GMT 0900 8-9-2017):                                            
  7.  *      1. 1st version of this plugin finished                                
Expand to see the code.


Download Link
DoubleX RMMV Skill Hotkeys
DoubleX RMMV Skill Hotkeys Unit Test
Updates
  1.  
  2.  *      v1.01a(GMT 1400 17-7-2019):
  3.  *      1. Lets you show skill names instead of icons in the hotkey list
  4.  *      2. Lets you show hotkey icons instead of names in the hotkey list
  5.  *      (v1.01a+ will be incompatible with v1.00a due to hotkeyNames changes)
Expand to see the code.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=79385