CommandBlock

Blocks configured commands sent by a player to the server

Total Downloads: 704 - First Release: Oct 15, 2014 - Last Update: Feb 10, 2015

5/5, 6 likes
  1. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The real command is "global.grant" else you can use "oxide.grant", "global." is just assumed by Rust if none is given.

    For the inventory one, it should block it unless you have another plugin handling it such as Admin Spawn or RemoveAAA.
     
    bogdanwebs likes this.
  2. Xtadeus

    Xtadeus Shack Builder

    Wulf I am with oxide version : (09:11:10) | [Oxide] 09:11 [Info] Oxide 2.0.2031 for Rust 911.49 (1379)

    And I see this message :

    (09:01:02) | [Oxide] 09:00 [Warning] 'commandblock v0.2.3' is using deprecated hook 'OnRunCommand', which will stop working on Monday, 01 August 2016. Please ask the author to update to 'OnServerCommand'
     
  3. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That's just a warning, shouldn't affect its usage.
     
    Xtadeus likes this.
  4. Yori1232

    Yori1232 Wood Hoarder

    Not working for me..
     
  5. WuuB

    WuuB Scavenger

    It´s not working Wulf. :)
     
  6. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Update Oxide.

    What exactly isn't working? Should be working fine on any of the last few Oxide released builds.
     
  7. WuuB

    WuuB Scavenger

    I´m trying to block kill command, but everybody can use it.
     
  8. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    global.kill is like what you'd need to add. There are plugins that handle this too such as LimitedSuicide for Rust | Oxide.
     
  9. WuuB

    WuuB Scavenger

    I´ll try.
    LimitedSuicide doesn´t works for me.
     
  10. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    I have another too I'll be posting soon called NoSuicide most likely, might take over LimitedSuicide and merge.
     
  11. WuuB

    WuuB Scavenger

    Oh, okay.
    I tested all the plugins that blocks commands and i can´t block kill...
    Why?
     
  12. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Could you upload your config for me to see please?
     
  13. WuuB

    WuuB Scavenger

    I tested it with:
    Code (Text):
    {
      "Messages": {
        "Blocked": "No puedes usar ese comando."
      },
      "Settings": {
        "AuthLevel": 2,
        "ChatName": "APHAROS",
        "Commands": [
          "global.kill"
        ]
      }
    }
    and:
    Code (Text):
    {
      "Messages": {
        "Blocked": "No puedes usar ese comando."
      },
      "Settings": {
        "AuthLevel": 2,
        "ChatName": "APHAROS",
        "Commands": [
          "kill"
        ]
      }
    }
     
  14. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    global.kill would be it, but here's ya go:
     
    WuuB likes this.
  15. WuuB

    WuuB Scavenger

    It works!!

    Thanks Wulf.
     
  16. R0GU3 DUCKBUTT

    R0GU3 DUCKBUTT Naked Wanderer

    Wulf,
    is there an option for me to block anybody with authlevel 1 or lower to not be able to use the noclip command? When I enter nolclip as a blocked command, it doesn't appear to disable the command.
    Code (Text):
    {
      "Settings": {
        "ChatName": "SERVER",
        "Commands": [
          "noclip",
          "server.seed"
        ]
      },
      "Messages": {
        "CommandBlocked": "Sorry, that command is blocked!"
      }
    }
     
  17. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The "noclip" in Rust is not a command, it's a client-side only setting that never gets sent to the server.
     
  18. R0GU3 DUCKBUTT

    R0GU3 DUCKBUTT Naked Wanderer

    that would explain why it isn't working for me. do you know of a solution to accomplish this? I basically want to prevent anybody authlevel 1 or less to not be able to use the noclip command.
     
  19. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    The only way you'd be able to is by not giving them any auth level.
     
  20. R0GU3 DUCKBUTT

    R0GU3 DUCKBUTT Naked Wanderer

    do you know if it is possible to write a mod that would affect the client side preventing use of that command without the appropriate auth level? or a way to create an oxide group that can spawn items and use "maybe" some selective server side commands?(like changing time of day?)