Skip to content
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

Unknown command #70

Open
davidjimeneztv opened this issue Aug 7, 2024 · 2 comments
Open

Unknown command #70

davidjimeneztv opened this issue Aug 7, 2024 · 2 comments
Labels

Comments

@davidjimeneztv
Copy link

Describe the bug
After configuring the mod on a 1.18.2 server, when an event like Twitch Follow plays, it returns two messages in the chat that say "Unknown command".

To Reproduce
Steps to reproduce the behavior:

  1. Join a server 1.18.2 with TwitchSpawn inside the folder "mods" of the server and client.

  2. Place a EXECUTE rule for Twitch Follow:
    EXECUTE %/tnt 1 0.1 4 (replace with mc username)%
    ON Twitch Follow

  3. See error

Expected behavior
I suspect that it is because the commands must be entered in the console without / and the mod requires placing the /, therefore it is executed:
//tnt...

Version (please complete the following information):

  • OS:
    • Client: Windows 11 24H2
    • Server: Ubuntu aarch64
  • TwitchSpawn Version: 1.9.3
  • Forge Version: 40.2.21
@davidjimeneztv
Copy link
Author

I think I detected the problem, //tnt is not executed, it is that it is not executed directly because the mod is not capable of executing plugin commands on a hybrid server.

@shadowcryptic
Copy link

If the command is part of a mod you can use
EXECUTE %/modname:tnt 1 0.1 4 (replace with mc username)%
Not sure how it would work if it's part of a plugin

If you're wanting to spawn in tnt you can use
EXECUTE %/summon tnt ~ ~ ~ {Fuse:60}%

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

No branches or pull requests

2 participants