CommandRateLimiter

Moved

Total Downloads: 531 - First Release: Apr 3, 2016 - Last Update: Feb 16, 2017

5/5, 8 likes
  1. Calytic

    Calytic Community Admin Community Mod

    Calytic submitted a new resource:

    CommandRateLimiter - Limits the rate players may use (all) commands by kicking them

    Read more about this resource...
     
  2. Calytic

    Calytic Community Admin Community Mod

    Calytic updated CommandRateLimiter with a new update entry:

    0.0.2

     
  3. Calytic

    Calytic Community Admin Community Mod

  4. Hello, thx for plugin!
    When I change the setting LogExcessiveUsage false -> true. After 1st manual reload.
    Code:
    [Oxide] 11:14 [Error] Failed to call hook 'OnRunCommand' on plugin 'CommandRateL
    imiter v0.0.3' (NullReferenceException: Object reference not set to an instance
    of an object)
    [Oxide] 11:14 [Debug]   at Oxide.Plugins.CommandRateLimiter.OnRunCommand (.Arg a
    rg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CommandRateLimiter.DirectCallHook (System.String name, System
    .Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo metho
    d, 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 hookname, System.Object[]
    args) [0x00000] in <filename unknown>:0
     
  5. Calytic

    Calytic Community Admin Community Mod

  6. which commands are dangerous now for server?
     
  7. Calytic

    Calytic Community Admin Community Mod

    Calytic updated CommandRateLimiter with a new update entry:

    0.0.5

     
  8. Calytic

    Calytic Community Admin Community Mod

    This RateLimiter will apply to ALL commands.
     
  9. I understand it, but which command dangerous without this plugin?
     
  10. Calytic

    Calytic Community Admin Community Mod

    Potentially any command. I'm not going to say publicly which are more expensive but it's fair to say that some commands require substantially more processing than others and therefore may pose a risk to servers already operating under significant load.
     
  11. Calytic

    Calytic Community Admin Community Mod

    Calytic updated CommandRateLimiter with a new update entry:

    0.0.5

     
  12. i think that might not work(?), still having issue with players who have tons of dead switches @ home. May get up to 35 rows from one player within 1 minute and still no kick or even warning. have i missed something on config or what? Thanks :)
     
  13. Calytic

    Calytic Community Admin Community Mod

    Calytic updated CommandRateLimiter with a new update entry:

    0.0.6

     
  14. Calytic

    Calytic Community Admin Community Mod

  15. Calytic

    Calytic Community Admin Community Mod

  16. Will this be able to detect scripts that work with AHK like NoRecoil or what is it good for?
     
  17. What does excessive usage mean? Does it log everything (every command)? Can I track how often a moderator use fly oder debug cam?

    Edit:
    And I got...

    Code:
    (13:55:37) | [Oxide] 13:55 [Info] CommandRateLimiter was compiled successfully in 2889ms
    (13:55:37) | [Oxide] 13:55 [Info] Loaded plugin CommandRateLimiter v0.0.61 by Calytic
    (13:55:37) | [Oxide] 13:55 [Error] Failed to call hook 'OnServerInitialized' on plugin 'CommandRateLimiter v0.0.61' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.List`1[System.String] to System.Collections.Generic.List`1[[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77xxxxxxxx89]])
    (13:55:37) | [Oxide] 13:55 [Debug]   at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CommandRateLimiter.GetConfig[List`1] (System.String name, System.Collections.Generic.List`1 defaultValue) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CommandRateLimiter.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CommandRateLimiter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    (13:55:38) | [Oxide] 13:55 [Warning] CallHook 'OnServerInitialized' on plugin 'CommandRateLimiter v0.0.61' took: 537ms
     
  18. Calytic

    Calytic Community Admin Community Mod

    Code:
    (13:55:37) | [Oxide] 13:55 [Info] CommandRateLimiter was compiled successfully in 2889ms
    (13:55:37) | [Oxide] 13:55 [Info] Loaded plugin CommandRateLimiter v0.0.61 by Calytic
    (13:55:37) | [Oxide] 13:55 [Error] Failed to call hook 'OnServerInitialized' on plugin 'CommandRateLimiter v0.0.61' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.List`1[System.String] to System.Collections.Generic.List`1[[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77xxxxxxxx89]])
    (13:55:37) | [Oxide] 13:55 [Debug]   at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CommandRateLimiter.GetConfig[List`1] (System.String name, System.Collections.Generic.List`1 defaultValue) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CommandRateLimiter.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CommandRateLimiter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    (13:55:38) | [Oxide] 13:55 [Warning] CallHook 'OnServerInitialized' on plugin 'CommandRateLimiter v0.0.61' took: 537ms
    Try deleting and regenerating your configuration file.
     
  19. I get the above error on a fresh install. I tried deleting and regenerating the config file even after fresh install and get the same error.
     
  20. [Oxide] 16:08 [Warning] 'CommandRateLimiter v0.0.61' is using deprecated hook 'OnRunCommand', which will stop working on Monday, 01 August 2016. Please ask the author to update to 'OnServerCommand'