CommandBlock
Moved
Total Downloads: 985 - First Release: Oct 15, 2014 - Last Update: Aug 30, 2017
- 5/5, 7 likes
-
Wulf Community Admin
-
-
Wulf Community Admin
Wulf updated CommandBlock with a new update entry:
0.3.0
-
I updated the plugin :
(10:15:41) | CommandBlock was compiled successfully in 1516ms
(10:15:41) | Loaded plugin Command Block v0.3.0 by Wulf/lukespragg
Then :
Code:(10:16:33) | Failed to call hook 'OnServerCommand' on plugin 'CommandBlock v0.3.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.) (10:16:33) | at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CommandBlock.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CommandBlock.OnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CommandBlock.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
Wulf
you know it is for Rust ^^
I just uploaded the plugin as it was original. I loaded it from the console.
I add no command ( the only one I want to block is status when using the command ( global.status )
I changed nothing. -
Wulf Community Admin
Trying to see why it would be doing that right now. -
Oki. I had the commandBlock.lua before. I removed it to replace it by this one, I changed nothing, loaded the plugin and then had that message. I removed it and posted here.
Ok I let you search. Thanks ! -
Wulf Community Admin
-
I use english Wulf so I don t change anything. So I guess it en by default
-
In the oxide/lang I can see those files, i will upload both ( en and fr )
Do you want me to erase everything related to commandblock on the ftp and then reupload the new .cs file to load the plugin to see what happens ?
Did you find something according to what I linked to you above ( message code ) ?Attached Files:
Last edited by a moderator: Jun 5, 2017 -
-
I'm getting this same error. I've never used this plugin before - fresh install. Compiles fine, but as soon as you do a blocked command the error pops up, and the command still works. I added a command to the block list and tried that also - same thing.
Game is Rust.
This plugin is exactly what i'm looking for, would love for it to work !
Code:Failed to call hook 'OnServerCommand' on plugin 'CommandBlock v0.3.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.) at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CommandBlock.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CommandBlock.OnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CommandBlock.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
-
for me it was global.status
-
The people I have set as moderatorid still have access to the commands I have blocked, do I need to do a server restart in order for changes to take effect or should the oxide.reload work?
-
Wulf Community Admin
-
Code:
{ "Log blocked command attempts (true/false)": true, "Blocked commands (full or short commands)": [ "global.status", "god", "ent kill", "inventory.give", "heli.calltome", "heli.call", "event.run", "airdrop.drop", "vanish", "noclip", "say" ] }
-
Wulf Community Admin
-
So there's no way for me to block those at all?