Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/06/23 in all areas

  1. 1 point
  2. In case anyone else finds this, the answer is ... String command = "some command"; CommandSourceStack commandSourceStack = serverPlayer.createCommandSourceStack().withSuppressedOutput().withPermission(4); CommandDispatcher<CommandSourceStack> commanddispatcher = serverPlayer.getServer().getCommands().getDispatcher(); ParseResults<CommandSourceStack> results = commanddispatcher.parse(command, commandSourceStack); int result = serverPlayer.getServer().getCommands().performCommand(results, command);
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.