CustomCommands

UI Buttons for Custom Console and Chat Commands - Unique to each Player!

Total Downloads: 1,395 - First Release: Oct 3, 2016 - Last Update: May 13, 2017

5/5, 14 likes
  1. Code:
    > oxide.reload CustomCommands
    [Oxide] 18:13 [Info] Loaded plugin CustomCommands v1.1.0 by Absolut
    [Oxide] 18:13 [Warning] [CustomCommands] No Image Library.. load ImageLibrary to use this Plugin
    [Oxide] 18:13 [Error] Failed to call hook 'Unload' on plugin 'CustomCommands v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 18:13 [Debug]  at Oxide.Plugins.CustomCommands.DestroyPlayer (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomCommands.Unload () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomCommands.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 18:13 [Info] Unloaded plugin CustomCommands v1.1.0 by Absolut
     
  2. Wulf

    Wulf Community Admin

    Looks like you're missing the ImageLibrary plugin.
     
  3. (21:54:00) | [CustomCommands] No Image Library.. load ImageLibrary to use this Plugin

    (21:54:00) | Failed to call hook 'Unload' on plugin 'CustomCommands v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)

    (21:54:00) | Unloaded plugin CustomCommands v1.1.0 by Absolut
     
  4. Read the post directly above??!
     
  5. I hope I can create my own button designs instead of what's already there? I'd rather create some Material design buttons which would look nicer for Rust.
     
  6. Absolut updated CustomCommands with a new update entry:

    1.1.1


    [DOUBLEPOST=1486073521][/DOUBLEPOST]
    Create them, upload them, paste url. I believe the video illustrates the process.
     
  7. Absolut updated CustomCommands with a new update entry:

    1.1.2

     
  8. So i want to make my servers mods easy to use especially as i want it to be noob friendly as well as for the experienced player. So I loaded the Customer Commands plugin to make a menu for people and whenever i load the plug in the images dont show. I checked the Config and theres no real variables, i thought maybe the image host was down so i changed the image URL's to imgur ones and still nothing.

    i get this error:

    Calling hook OnServerCommand resulted in a conflict between the following plugins: RustCore - True (Boolean), CustomCommands (False (Boolean)) Image loading fail! Error: Couldn't open file c:\games\173_199_74_206_28016\1346948\ruste\server\1346948\oxide\data\CustomCommands\Images\greensquarebutton.png Image loading fail! Error: Couldn't open file c:\games\173_199_74_206_28016\1346948\ruste\server\1346948\oxide\data\CustomCommands\Images\bluesquarebutton.png Image loading fail! Error: Couldn't open file c:\games\173_199_74_206_28016\1346948\ruste\server\1346948\oxide\data\CustomCommands\Images\orangesquarebutton.png

    I have the image library mod installed, but im not sure how to use it . I also dont understand why there is a windows file path on that error, my server is an external host with a proper GSP

    Can anyone provide any help?

    Thanks
     
  9. I see in the overview that admins can create buttons and the players are presented with a list they can pick from but i was curious if i could FORCE all players to have a button on by default..? They could turn it off, but I'd like it to be on when they first join the server after a wipe.

    Also, do the buttons work in normal chat mode (enter key) or MUST you do the mouse look key first?? From the video it appears you must use the mouse look hot key...
     
  10. Requests:
    • Button sizing options
    • Forced CC button only show if user has permission for the command (or at least CC buttons by permission groups)
    • One customizable hotkey to open the CC buttons then temporary hotkeys (1 - 6 ) for the buttons. (bind when shown and unbind when not shown)
     
    Last edited by a moderator: Mar 2, 2017
  11. Same, just installed this and nothin... would love for this to be working as will solve a number of role-play wish-list items.

    Fixed: added ImageLibrary plugin (needs to be added as a dependency)

    Testing this on a production server, /cc command opens button screen but unable to create buttons. H key binding doesn't seem to work etc.
     
    Last edited by a moderator: Apr 21, 2017
  12. Absolut updated CustomCommands with a new update entry:

    1.1.3

     
  13. Calling hook OnServerCommand resulted in a conflict between the following plugins: RustCore - True (Boolean), CustomCommands (False (Boolean))
    I juste got that cant say what is mean and the reason why is juste apear?
     
  14. Hi . Conflict with another "plugin" ? (See photo attached)
     

    Attached Files:

  15. Wulf

    Wulf Community Admin

    The server and plugins can't run client commands anymore; not a conflict, that's Rust.
     
  16. So there is no solution? Without access to the mouse pointer, this "plugin (custom commands) is useless.
     
  17. Wulf

    Wulf Community Admin

    The mouse pointer isn't related to commands, it would work fine.
     
  18. If we look at the video tuto from 2 minutes to 10 seconds for example, we realize that the mouse is requested.
     
  19. Hi Absolut,

    I`m trying to get your plug-in working in my server, but I think I`m missing something, I putted on my plug-in folder and set it to "true", but I cant do the /cc...

    Can you explain to me what do I do to get it working?


    Cheers.
     
  20. When i try to add a button, it gives me the text box but doesnt seem to accept the entry any idea ?