Jump to content

HussNuss

Members
  • Posts

    8
  • Joined

  • Last visited

HussNuss's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Okay, maybe I'll try to make an additional mod for this feature, but thanks anyway ?
  2. I don't know if I'm just stupid, but the event ClientChatEvent can't be resolved, at least at game version 1.8.9. And if I try ClientChatReceivedEvent it shows just every message that's displayed to me on the server.
  3. I don't think it will work, but I want to get every executed command like if you click on any json message with a click event to execute a certain command or if someone lets you execute a command. Is there any event or packet to achieve this? And I have not installed any mod on the server, it's just a regular spigot server.
  4. Okay, I forgot to test it on a singleplayer world and as I tried it, it actually shows the command, but only if it is a registered existing command. But if I try it on a server, it still doesn't work I would like to be able to see the command I executed like the message "Player issued server command: /cmd" in a minecraft server console
  5. I don't understand why, but I tried: @SubscribeEvent public void onCommand(CommandEvent e) { String cmd = e.command.getCommandName(); System.out.println("Cmd: " + cmd); } and nothing is printed to the console when I execute a command.
  6. If you type /sudo [Player] [Command] with e.g. Essentials Plugin you force the player to execute the given command
  7. Is it possible to log all executed server commands including json clicked messages or forced commands / messages (For example /sudo with the Essentials Plugin)?
×
×
  • Create New...

Important Information

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