Zone Command

Executes the commands when a player is entering a zone

Total Downloads: 1,112 - First Release: Jul 22, 2015 - Last Update: Mar 17, 2017

5/5, 6 likes
  1. Hello! I want to call an airdrop in a zone every 10 minutes while there is a player inside (with easy airdrop)

    But i don't really enderstand how to do that...

    Con someone help me? I will be very happy!
     
    Last edited by a moderator: Apr 12, 2017
  2. Hello, I have a question about this plugin. If a player leaves the zone, will any permission that was given to them on enter, will it be removed once they leave the zone?
     
  3. Nope if you taxe the option "On enter"
     
  4. I keep getting "unknown command" to anything I try.

    How would I simply close one zone entirely and make it off the limits to all players but admins?
     
  5. Wulf

    Wulf Community Admin

    Check your oxide/logs for errors.
     
  6. It says I don`t have Rect Zones installed.As far as I understand, I can have Zone Manager instead? Meanwhile, those who don`t have ZM but Rect Zones, they get the opposite message.So... what am I gonna do? lol
     
  7. Zones Manager for Rust | Oxide

    Think you're looking for this??

    • eject - true/false - All players will be kicked from the zone when trying to enter it (will not kick players with authlevel 2 and players in the whitelist (for use with other plugins))
     
  8. Hi i am trying to add this permission when entering a zone "grant user $player.id itemsblocker.bypass"
    i have blocked c4 rockets and satchel , what i want is to unblock them when i enter a pvp zone
    i have tried /zcmd add 2660604 on enter {grant user $player.id itemsblocker.bypass} but it wont grant that permission
    cheers
     
  9. Wulf

    Wulf Community Admin

  10. Wulf

    Wulf Community Admin

    Yes, use a command that exists. ;) The links show examples of the commands.
     
  11. Code:
    (12:59:47) | Failed to call hook 'cmdChat' on plugin 'ZoneCommand v0.1.1' (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
      at System.Collections.Generic.List`1[Oxide.Plugins.ZoneCommand+QueryLanguage+Lexem].get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneCommand+QueryLanguage+Parser.ParseId () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneCommand.cmdChat (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneCommand.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    Does it dont work any more ?
     
  12. Code:
        {
          "Id": "61929429",
          "Method": 1,
          "Mode": 1,
          "Amount": -1,
          "UserGroup": "",
          "Commands": [
            "oxide.revoke user $player.id backpacks.use"
          ],
          "Players": []
        },
    it doesn't work
     
  13. Not working??
     
  14. Code:
    (22:03:02) | Failed to call hook 'OnExitZone' on plugin 'ZoneCommand v0.1.1' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
      at Oxide.Plugins.ZoneCommand.ExecuteZone (Oxide.Plugins.ZoneCommand+Zone zone, BasePlayer player) [0x001ff] in <e54507949a2a43e7bdb132f7dcd630e5>:0
      at Oxide.Plugins.ZoneCommand.OnExitZone (System.String zoneID, BasePlayer player) [0x00051] in <e54507949a2a43e7bdb132f7dcd630e5>:0
      at Oxide.Plugins.ZoneCommand.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f9] in <e54507949a2a43e7bdb132f7dcd630e5>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e5ac390771dc411395a594de571775c7>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <fc2b4388d9974d719a0972b08cea0f17>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <fc2b4388d9974d719a0972b08cea0f17>:0
     
  15. hey,
    someone a idea how we can fix that?

    when i create a "command" like /zcmd add 144234 on enter execute by player {chat.say test}
    i have amsg in my rcon console like Command 'chat.say test' not found

    mfg Majoh