#why it's not working :(
11 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @honest tulip! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
<@&765578700724371486>
define not working
is there an error ?
When I try to run it on intelli J, everything is fine, but when i try to use the command in the minecraft chat it only says the same command with on or off but it should activate the function of the plugin so I want to know if maybe is a code issue or maybe I setup wrong the plugin.yml or something else
if the command is present that means that the issue is not with the setup but with the logic
have you checked if your if actually gets executed
How can I check it?
For your intents and purposes using the Logger will be enough. Since you know that the onCommand is executed the only thing you need to check is the EventHandler. In there just log every level. If you can confirm that the code is executed but that the result doesn't match your expectations your logic is probably faulty. In that case share what you are trying to do so we can come up with a different solution.