1. Somehow the : after the prefix is in orange and miss a space before, got that in another plugin too so I thought it would be a failure with another plugin, unloaded all and just loaded CustomChatCommands, but the problem is still there

    Is there a way to handle with it, or disable the : ?
     
    Last edited by a moderator: May 20, 2015
  2. Thats controlled by Oxide itself. I could change it by using a self coded chat message function but not sure if its really needed since you're the only one bothering about it, at least for now.

    https://github.com/OxideMod/Oxide/blob/master/Oxide.Ext.Rust/Libraries/Rust.cs#L102
     
  3. Thanks Domestos, I did a thread about it.

    Just a question, is there a way / are you gonna add multiple commands?

    Like "/command1 command2", like in notifier with "/rules en/de/fr" etc.

    Would be awesome, so you can create 1 command with different languages or use it like sites
     
  4. Its possible to do something like this but im not sure if its gonna happen. The plugin was meant to get rid of exactly this but I'll think about it.
     
  5. Getting this error in logs:
    Code:
    [6/7/2015 1:16:37 AM] [Oxide] 1:16 AM [Error] Failed to initialize plugin CustomChatCommands
    File: CustomChatCommands.lua Line: 72 invalid arguments to method call:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Jun 7, 2015
  6. There is something wrong with your permissions. Make sure your config file is valid json and check your Oxide log for errors with the permission files.
     
  7. How come when I paste the default config code into JSLint Code Check it says the code is not good and says :

    Warning: JSLint was unable to finish.

    line 13 column 6
    Expected '}' to match '{' from line 10 and instead saw 'permission'.

    line 13 column 6
    "permission":false

    Stopping.

    Function Report
    JSON: bad.
    [DOUBLEPOST=1434690766][/DOUBLEPOST]I would like to make my own commands but even the default config isn't working for me :/ Please help
     
  8. Wulf

    Wulf Community Admin

    Because it was likely added manually to the page. I've corrected it, but you can always get the default config from the oxide/config folder after you've deleted it and reloaded the plugin.
     
  9. Thank you, this helped me as to why I kept getting a bad JSLint Code Check report with even the default config! Thanks a bunch
    [DOUBLEPOST=1434691020][/DOUBLEPOST]
    Ohh ok thanks a lot. I don't think I have access to that folder as I'm using Multiplay and everything is on there websites control panel :/ is there anyway you can post it here? Thank you very much
    [DOUBLEPOST=1434693674][/DOUBLEPOST]This is awesome, it's working now and I love it. It would be really really cool if we could change the font colors though
     
  10. You can change the text colors by using the html tags in your messages like <color=#ffffff>YOUMESSAGE</color>
     
  11. I'm still getting the same error about 72 errors... loading it fresh without a config (so it creates a fresh one) sorts this issue.

    My config passes a json test... could you look at it for me?
     

    Attached Files:

  12. You need to specify permissions for your commands, not setting it to true.
    If you specify a permission for a command the plugin will check if the user using the command has it and if not denies him from using it.
    So the permission field in your config has to be either false if you dont want the command to check for a specific permission or set a permission like "admin" to have the plugin check for that.
     
  13. is it possible to run console command like /masterkey_unload running console command "oxide.unload masterkey"
     
  14. No, this plugin was meant to create chat commands to simply display some text.
     
  15. Any chance we could have the ability to run these from console?
     
  16. Do you mean players to be able to use the commands in their F1 console? Or do you mean admins should be able to trigger the chat messages for everyone by using a console command?
     
  17. The second. I would like to run the commands in TimedExecute.
     
  18. Thats not really the purpose of the plugin. Its meant to offer simple commands for players to use in chat to get certain informations set by the server owner.
    If you want to broadcast messages to your server you should use Notifier or something similar.

    The plugin may change in the future to support some more usages but not in the very near future.
     
  19. Okay, thanks.
     
  20. Kopieren von Dateien auf den entfernten Rechner schlug fehl.
    CustomChatCommands.json: Permission denied

    why?

    I wanna save the config and then he said permissin denied

    copy the data to the host doesnt work