New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commands results to "Unknown command" #137

Open
Cronosus opened this Issue Mar 29, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@Cronosus
Copy link

Cronosus commented Mar 29, 2018

Base informations

Minecraft version:
1.7.10

DiscordIntegration version:
3.0.5

Link to pastebin with (censored) config: Optional
http://pasted.co/f3751800

Expected behavior

executed command

Actual behavior

any nondiscord command return
"Unknown command. Try /help for a list of commands"
i think ist caused by / in command, console commands working without slash and if you add /,then in cosole have same result
only commands with "discord .." working, but any custom command, not even default commands showed in example config v3, not working

Steps to reproduce

just add any command

@Cronosus

This comment has been minimized.

Copy link
Author

Cronosus commented Mar 29, 2018

just little ad. messages with playerJoin, playerLeft and playerDeath not working

@Ricket

This comment has been minimized.

Copy link
Contributor

Ricket commented Mar 29, 2018

Your config has restart, tps, online, kick. Which of these doesn't work? Looks like restart has a typo, "astop" instead of "stop".

When player joins or leaves, is there any error in the server console?

@Cronosus

This comment has been minimized.

Copy link
Author

Cronosus commented Mar 29, 2018

restart and kick and any other i tried to add
and yes, we have astop instead of stop (its timed stopping)
and no errors with messages, in discord is typed default message in english, i dont know where is problem, maybe is this playerJoin, playerLeft and playerDeath not correct

when i type in console just "astop" then its normally executed, but when i rype "/astop" then i have this exact error "Unknown command. Try /help for a list of commands"
then i think its caused by slash "/" added by mod to command

@Mijago

This comment has been minimized.

Copy link
Collaborator

Mijago commented May 30, 2018

In your configuration you use commandPrefix "!" but you want to issue the commands with "/", so i think you are trying to execute the commands ingame. These commands are for use in Discord only, the game itself does not know about them, hence the message.

  • Also note that canExecuteCommands is set to false in your configuration, so make sure you enable it in your channel settings
@Cronosus

This comment has been minimized.

Copy link
Author

Cronosus commented May 30, 2018

i mean discord->minecraft commands
and i tried with true and with false.. still have this "Unknown command. Try /help for a list of commands"
discord tried to use command configured, but i think it uses wrong prefix or something
problem is not "it cant use command" but problem is "it uses wrong command"

@Mijago

This comment has been minimized.

Copy link
Collaborator

Mijago commented Jun 1, 2018

I will have a look into this as soon as I port the v4 changes into the 1.7.10 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment