Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

[Minecraft][Docker][x86] UT3Query not working #31

Open
Vibeshibe opened this issue Aug 19, 2022 · 2 comments
Open

[Minecraft][Docker][x86] UT3Query not working #31

Vibeshibe opened this issue Aug 19, 2022 · 2 comments

Comments

@Vibeshibe
Copy link

Vibeshibe commented Aug 19, 2022

Hiya, trying to set up multiple UT3Queries for some Minecraft servers however I am running into some issues.
The embeds are not being posted into the corresponding channel, sometimes they get posted but the server status remains "unknown." My SourceQuery Servers get posted fine, so the error of "Missing permissions" makes no sense.

Using Minecraft Web query for the minecraft servers works fine.

Log Output:

discordgsm-docker | Server Config found!
discordgsm-docker | Settings Config found!
discordgsm-docker | 2022-08-19 12:09:10: Starting DiscordGSM v.1.9.2
discordgsm-docker | 2022-08-19 12:09:10: 3 servers queried.
discordgsm-docker |
discordgsm-docker | ----------------
discordgsm-docker | Logged in as: Shibabox Servers
discordgsm-docker | Client ID: censored
discordgsm-docker | Owner ID: censored (VibeShibe)
discordgsm-docker | Invite Link: https://discord.com/api/oauth2/authorize?client_id= censored permissions=93184&scope=bot
discordgsm-docker | ----------------
discordgsm-docker | Querying 3 servers and updating 3 messages every 10 minutes.
discordgsm-docker | ----------------
discordgsm-docker |
discordgsm-docker | 2022-08-19 12:09:13: 3 servers queried.
discordgsm-docker | 2022-08-19 12:09:13: ERROR: Failed to fetch message for server: Running Overwatch.
discordgsm-docker | 'message_id'
discordgsm-docker | 2022-08-19 12:09:13: Discord presence updated | 3 game servers
discordgsm-docker | 2022-08-19 12:09:15:
discordgsm-docker | 1 error(s) in update_messages().
discordgsm-docker | 2022-08-19 12:09:17: ERROR: update_messages error threshold(0) reached. Reposting messages.
discordgsm-docker | 2022-08-19 12:09:24: ERROR: Failed to send message for server: censored :25566. Missing permissions ?
discordgsm-docker | unsupported operand type(s) for /: 'str' and 'int'
discordgsm-docker | 2022-08-19 12:09:26: 2 messages reposted.
discordgsm-docker | 2022-08-19 12:09:26: 0 messages updated.

Inside the Container in dgsm-docker/cache/:25566.json it seems to successfully retrieve server data and query, but doesn't post to Discord.

Example of Servers.json:

[
{
"comment": "Minecraft Lobby",
"type": "UT3Query",
"game": "Minecraft",
"address": "censored",
"port": 25566,
"channel": censored,
"image_url": "censored",
"custom": "Running Minecraft",
"country": "DE",
"color": "#0096FF",
"title": "Minecraft Lobby",
"public_address": "censored:25565",
"locked": false
}
]

Trying out just the bare minimum with type, address, port and channel defined also doesn't work, so it was made sure that there was no mistakes made along the way.

I'd really appreciate any help.

Best regards

@kferrano
Copy link

Permissions are not correct if they're not showing up. Something in your configuration is wrong.

@PABessero
Copy link

Are you sure your sever.properties have QUERY enabled and the correct port?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants