Hello there. I have a problem about Command.
We all know that
Player player = event.getPlayer(); player.perforcommand(“summon ~ ~ ~ minecraft:sth”);
If Player has no OP
It will be unworkable
But how do we get the console to use commands instead of players?
It seems unworkable
Beacuse I tried
Player console = (Player)Bukkit.getServer().getConsoleSender(); Player console = (Player)Bukkit.getServer();
It can build successful but it's unworked at game.
I need your help please
Beacuse I have to go to school tomorrow
I need solve it at once