Closed myavuzokumus closed 2 years ago
What exactly is the problem?
Hmm, I cannot reproduce this issue.
Could you share files that are located in: /plugins/bentobox/database/ControlPanelObject
?
Hmm, I cannot reproduce this issue. Could you share files that are located in:
/plugins/bentobox/database/ControlPanelObject
?
Hmm, I am still not able to reproduce even with your config.
may be players does not have permission to run these commands?
I can't even use it myself. I have all the permissions. :D You are trying in version 1.18.1 right?
ControlPanel 1.13.1 contains only locales changes, so it may not affect. BetoBox 1.20 does not contain any changes to the command calls. At least I do not know about them, if they exists.
May be you have some command manager that prevents commands from executing properly?
(I tried to have sudo command executed via console, it still didn't work.)
I don't understand, why is it happening?
At the same time, it sends an unknown command warning in the game.
Well, the admin command starts with [server]
But in general, I have no idea what could cause that. Maybe a server engine. What exactly do you use and which version?
And do you have the custom command "aliases" for commands?
If you're talking about server software, I'm using Pufferfish Build 38. And no.
Well, that is weird, I tried with the same build and everything works correctly.
I am out of ideas why it may not work.
If you try something that is not "bentobox" command, like "balance", "home", "spawn". Do they work?
Yes, working. Only bentobox commands not working.
Hmm,
And do the commands work if you replace [label]
with GameModePlayer command?
No.
@tastybento do you have ideas?
I need to study this - I'm sorry, I will have a tough time looking at it during the week due to work IRL. But I will look at it when I can.
Hmm, And do the commands work if you replace
[label]
with GameModePlayer command?
I didn't want to extra open issue about this. I think the command problem is also in the "Gamemode type" selection menu of the "challenges" addon.
When click button on menu, said "Unknown command."
Can you share your plugin list?
And you are right.
Obviously I always check my plugins when this is the case. But I never thought it would cause this.
Plugin called "GCore" prevents this. I think everything is fine now. Sorry for the issue. I wanted to open it because the person who opened the previous issue had this kind of problem.
@BONNe But I don't understand, why is it blocking it? I need to use this plugin.
Can you get in the way of that?
Because it only happens in "some" Bentobox menus. There is no problem in the menu of other plugins.
Control Panel is very simple in its nature.
It just uses simple command call: Player.performCommand(<command>)
If the issue is with a plugin, then, most likely, it is either overwriting NMS Player.performCommand(<command>)
and then the developer is doing something wrongly, or it is canceling PlayerCommandPreprocessEvent
.
There is nothing BentoBox can do in both situations. However, it is very weird, that plugin would cancel commands from other plugins. You should report it to the plugin developer, as he should not cancel commands, that do not belong to him.
Unless, that is a point of that plugin, and it probably is a plugin configuration thing.
This problem fixed by Gcore developer.
Expected behavior
When I clicked on the icons in the menu, I expected the commands to work.
Observed/Actual behavior
It was working normally but I guess it broke after upgrading to 1.18.1. I have no complete knowledge of the subject. But when I click it, it gives these errors in the console and nothing happened.
I think it's related to this issue. #19
Steps/models to reproduce
Try clicking on the items in the menu and executing the commands.
BentoBox version
Plugin list
No response
Other
No response