HotKeys [Obsolete]

Discussion in 'Plugin Support' started by Calytic, Sep 14, 2016.

  1. {"mousewheelup", "+invprev"},
    {"mousewheeldown", "+invnext"},

    replace 42, 43 line in the file HotKeys.cs
     
  2. Calytic

    Calytic Community Admin Community Mod

    You'll have to make your own mod with a custom console command to detect the state (on or off) and run the appropriate method.
    [DOUBLEPOST=1479146386][/DOUBLEPOST]
    What, why? Input System - Rust - Facepunch Wiki
     
  3. Calytic

    Calytic Community Admin Community Mod

    Oh, ok. I added a new option with the last release which will reset all default hotkeys when the player joins to server to avoid this kind of abuse.
     
  4. hi , how i can : if player Select F12 the player Kick From Server , or Selecet Alt or Del or Other Key in keyboard To On The Cheat .
    Please Help , thanks
     
  5. whyyy???

    F12 is For SCREENSHOTS !

    you can not do this with HotKeys I think
     
  6. how can i switch the command chat /event join for key F5?
     
  7. can't remove old settings. They work even if you remove from config.
     
  8. Calytic

    Calytic Community Admin Community Mod

    Calytic updated HotKeys with a new update entry:

    0.0.4

     
  9. Calytic

    Calytic Community Admin Community Mod

    Calytic updated HotKeys with a new update entry:

    0.0.5

     
  10. Calytic
    from the last version I have a problem,
    when I add a new Bind all the system breaks.
    I mean I Had the Key "X" binded to "chat.say /remove"
    working fine...
    but now I added another bind for example:
    hotkey.bind p "chat.say /pc"

    and now is all broken
    the X now give me "/remove message on chat. and all ppl in server have the same, they lost the binds,
    there is a way of Clean up all the binds of the users and put again the HotKeys of my server?
     
  11. HotKeys seems to fail now with multiple words in "chat.say" e.g. the config
    Code:
    "f8": "chat.say \"/map admin\""
    worked fine yesterday (before last patch) but now only triggers /map
     
  12. The plugin has ceased to work correctly, after updating does not work /home 1

    Code:
    "keypad1": "chat.say \"/home 1\""
    A Syntax Error Occurred!
    You can only use the /home command as follows: /home \"name\"
    Teleports yourself to your home with the name 'name'. /home add \"name\"
    Saves the current location as your home with the name 'name'. /home list
    Shows you a list of all your saved home locations. /home remove \"name\"
    Removes the home location with the name 'name'.",
     
  13. Right
    Multiple words stop working now ...

    @Calytic please can take a look on this? was very usefull
     
  14. but it also seemed that multiple words isn't even working via ingame keybind so probably facepunch will have to fix it :( would be bad
     
  15. i wanna run /commands for players basicly i want with a key press to open gui like Kits and Guishop and more
     
  16. I think that's atm not a good idea. I tried to do the same with the serverinfo GUI and everytime i clicked the button one GUI was opened.... So clicking 5 times made 5 GUIs open up. I think it would be a better idea to integrate this right into KITs/GUIShop plugin like the Lustymap did it. So you can store a value whether or not the GUI is opened.
     
  17. Yeah
    you are right, open many times some Plugins like ServerRewards can bug the thing...

    Anyway you can do put some commands to keys, and if the command is combinated like /bgrade 1 you can use an alias for take "bgrade1" command