Jump to content

A few queries on discord commands

Not a Bug 1.0.7

Smithy
Smithy

Posted

Im not sure if the /run command is meant to show the response. I tried
/run fps
and
/run env.time

I see the output on the rcon console but not in the discord channel so the command was sent, just no reply sent back to discord. Is that meant to show ?

Also if I enter text in discord without the / or ! prefix, should the text be sent in chat ?

Should chat messages in game be sent to discord ?

I have the ALL commands set to a role id Im in. Perhaps Im missing turning another option on.

The discord.config.json file has not been altered and I have the 3.0 version of the discord dll in place.

ViolationHandler.exe

Posted

Currently it does not respond to discord with what it says back, I have yet to create a way to do so as I want it to be performant and haven't thought of a good way yet other than patching the logging to console. So as of now, yes that is how its meant to be. I would like to add that functionality in the future, however, currently I haven't found the best way to do so.

Also, the prefix stuff doesn't work because they are all application commands, as they allow for autocomplete and make it easier to interact with the commands (at least imo).

No, chat messages are not meant to be sent to discord, there's an FAQ on that one actually:
 

Quote

Q: Does this plugin log kills/PMs/F1 Spawn/chat?
A: No. Admin Tools only logs the following if enabled: F7 Reports, Bans, commands from this plugin, and players who are watchlisted. You can always view a player's combatlog from discord though. You can use the free logging plugins DiscordLogger by MONoH or DiscordChat by MJSU depending on your goal. However, personally, I recommend against using logging functionality that would be occurring very frequently due to Discord's rate limiting. Though, DIscordLogger is made in a way that combines messages if possible to prevent limiting.

 

Not sure what you're asking/saying with the line about having all commands set to a role ID, could you explain what you mean?

Smithy

Posted

I was referring to the line in the config that looks like this

    "Allow the following roles (Role IDs) to use ALL commands.": [1234567890],

mainly to indicate that I had all commands enabled in case that mattered.

Not a problem with the logging of chat. I currently use a simple plugin to log that, it just would have been nice to have something that could send chats.
 

All good anyway. I'll wait to see what extras come up. The plugin as it stands already offers many nice tools 🙂

ViolationHandler.exe

Posted

6 minutes ago, Smithy said:

I was referring to the line in the config that looks like this

    "Allow the following roles (Role IDs) to use ALL commands.": [1234567890],

mainly to indicate that I had all commands enabled in case that mattered.

Ah, okay, wasn't sure if you were having issues with it or something, wanted to make sure.

I could probably make something that allows you to send messages to chat from discord, ideally I'd like it to be picked up by the chat logging done on most plugins logging chat, but we'll see if its possible or not.

🙂 Glad to hear, I tried to make it mostly all-in-one since if it was truly all in one it'd be massive, which it sorta already is pretty big (14k lines, mostly discord implementations though), so I'll have to keep that in mind.

The next update will actually have both a discord version and a non-discord version in case people want to not have the discord dll (this would mean no discord functionality, but all in-game functionality) and will be much smaller too.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.