Immersive Engineering

Immersive Engineering

134M Downloads

About permission checking

mcqwy opened this issue ยท 3 comments

commented

Hello, I have a spike server
In use the command is displayed without permission
After reading your source code, I found that the instruction passed the op level detection
Instead of detecting specified permissions
For example: ie.mineral.list

commented

example:
CommandMineral
ICommandSender sender;
Under the execute() method
if (sender.canUseCommand(4, "ie.mineral.list"))
I am now writing the Sponge plug-in to call your command class methods directly
My time is tight
This may be a wrong example, you need to try it yourself.
If you are not in a hurry
I can write a code test tomorrow

commented

Sorry, could you please rephrase this issue and provide the information requested by the issue template?

commented

IE offers no support for Sponge.