Discord Integration Forge

Discord Integration Forge

666k Downloads

[BUG] Unable to get Admin Commands working

Darkere opened this issue ยท 12 comments

commented

I cannot get admin commands working. Everything else seems to be working just fine.

Steps to reproduce
Set up Admin commands:

  • roleID for admin
  • add UUID to op.json

not 100% sure how to add the UUID as it is now a json and needs a name.

Version
Minecraft: 1.15.1
forge: 30.0.41
dcintegration-1.1.12-1.15

Config file (without bot token): https://pastebin.com/LkDYsf6w
latest.log: https://pastebin.com/M3tfCQn2
debug.log: https://pastebin.com/ECyy7iLk

commented

What does it output when running such an command?

commented

Downgrading to 1.1.10 fixes the issue.

Additional question. The senderUUID, it is not quite clear what I'm supposed to do with it. It generates on the first launch which makes it seem like it may not be edited?

commented

Unknown Command. help command only shows the basic help, list, uptime commands.

commented

Can you try if this version fixes it? I might have found the problem
https://github.com/ErdbeerbaerLP/Discord-Chat-Integration/raw/1.15/dcintegration-1.1.13-1.15.jar

commented

Unfortunately, that did not fix the issue.
Tried by changing out only the mod jar. 1.1.10 worked, 1.1.13 did not.

commented

ok, i gonna add some more log output to the mod because this does not happen to me

commented

Can you try again but then send me another log file? Should work using the same URL

commented

Do you have the admin role or is the role ID invalid? It runs through all commands but does not think you are able to execute it

commented

Confirmed the admin role is correct by removing it and launching with 1.1.10. I no longer had access to the admin commands.

Another thing came to my attention though. Even without an admin role on 1.1.10 the tps command appears and is working. On 1.1.13 it does not appear under help and is not working.

commented

Oh, thx for telling me. Weird is that it works fine for me tho