Rustcord

Moved

Total Downloads: 557 - First Release: May 24, 2018 - Last Update: May 24, 2018

5/5, 8 likes
  1. Hi, i have betterchat and rustcord and i woul'd like to know if i can hide messages from both chat if player (in game and in rust) are not in the right groupe. (betterchat group and discord groupe)
     
  2. Hello, im struggling to understand the setup of the bot. I'm taking it that the API Key is the bot token and BOTID is the client ID? If so, whenever i add that info in, console says that there is no API key?
     
  3. ive put in the key and the channel key yet still get these errors, any help?
     

    Attached Files:

  4. You're editing the plugin file, not the config. If it doesn't generate one use the example in overview.
     
  5. i cant get the bot bot to work can anyone help me pls with this plugin do you have a discord for help cuz i really want to add this in my server thank you hope you can help me get it set up right i tryed for a week new no response of bot thnk you
     
  6. Code:
    Failed to call hook 'OnPlayerInit' on plugin 'Rustcord v1.0.1' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
      at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00053] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Ext.Discord.REST.RESTHandler.BucketRequest (Oxide.Ext.Discord.REST.Request request, System.Action`1[T] callback) [0x0000e] in <c70faa7e50854fe0b707ce4ec3a240ad>:0
      at Oxide.Ext.Discord.REST.RESTHandler.CreateRequest (Oxide.Ext.Discord.REST.RequestMethod method, System.String url, System.Collections.Generic.Dictionary`2[TKey,TValue] headers, System.Object data, System.Action`1[T] callback) [0x0007b] in <c70faa7e50854fe0b707ce4ec3a240ad>:0
      at Oxide.Ext.Discord.REST.RESTHandler.DoRequest[T] (System.String url, Oxide.Ext.Discord.REST.RequestMethod method, System.Object data, System.Action`1[T] callback) [0x0000f] in <c70faa7e50854fe0b707ce4ec3a240ad>:0
      at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x0001f] in <c70faa7e50854fe0b707ce4ec3a240ad>:0
      at Oxide.Plugins.Rustcord+<OnPlayerInit>c__AnonStorey2.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <60d0ab74725e4b95a589332b19fb4a7d>:0
      at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Plugins.Rustcord.OnPlayerInit (BasePlayer player) [0x00046] in <60d0ab74725e4b95a589332b19fb4a7d>:0
      at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00178] in <60d0ab74725e4b95a589332b19fb4a7d>: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 
    Im getting this error...
     
  7. I understand it is not necessary to wait for help or technical support from the developer
     
  8. Kiro and I are about to start testing a plugin update AND a Discord Extension update.
     
  9. but you could not help? I have a problem with the encoding, the Cyrillic in the Discord comes in the form of "????????", instead of the text, and from the Discord to the server is normal.
     
  10. Suggestion:
    Add ability to execute server commands from admin channel.
     
  11. Read overview, already planned.
     
  12. Ok, didnt see that. Sorry. Only just started using this plugin today from a suggestion of one of my players.
    [DOUBLEPOST=1533263621][/DOUBLEPOST]Heres a suggestion I dont see, have the bot be able to @mention someone or discord groups.

    Then people can @admin ingame if no admins are in the server they can be tagged on discord.
     
  13. If you specify a Discord channel for your LOBBY in your config, it will show only connections & disconnections... Is that what you are looking for?
     
  14. Yeah I dont think the plugin shows that the server is "restarting" unfortunately, the plugin doesn't have a hook defined in it to catch that and push that message to your channel. If there is an OXIDE hook for it, you could probably add it in pretty easily to catch that...
     
  15. ah ok thanks i was just wondering since i didnt see it on my discord but on the plugin's picture
     
  16. STATE OF THE PLUGIN ADDRESS

    First, regarding people wanting 1 on 1 support. I don't have the time to hand hold people and guide them through setup. The config is most likely changing anyway next update. The instructions are all in the overview, the sample config has what needs to be in each line clearly listed, and there's a link for how to setup a Discord bot. I don't know how it could be any clearer.

    Okay on to the plugin itself.

    Work is slow on the plugin, but it's being worked on. Kiro is taking on the task of not only doing a partial re-write to make things more user friendly, he's also updating the pretty much abandoned Discord Extension.

    What to expect from the next Rustcord build:
    (These, or most of these, SHOULD be done)

    • Discord Extension update to prevent server output from exceeding Discord's rate limit.
    • Fully customized Discord channels in config.
    • Console command support for admins.
    • Permissions to use console commands via Discord roles.
    • BetterChatFilter filtered words will also be filtered in Discord chat output.
     
  17. Also people can tag @everyone through it, just wanted to point out.
    Very nicely done.
    Looking forward to the update.
     
  18. Does the GameConsole feature already works?
    Or someone know a alternative