ConsoleToy icon

ConsoleToy -----

Make console stronger



Now only one usage: Make "tell" command can send to console
ConsoleToy_Example.png

usage: /tell console <content>

I will make this plugin more useful and fun in the future

(Command is from vanilla not plugin implemented command!)

Implementation method:
Method.png
(To get bukkit command dispatcher: run "getCommandDispatcher" method in MinecraftServer class after server loaded)
(There is a field name named "g" in nms implemented CommandDispatcher, this field is a mojang implemented CommandDispatcher, register command requires a mojang implemented CommandDispatcher)
(Add a child command to the msg, tell, w command to implement sending message to console)

process.png

(ArgumentTypes class is used for get argument that implemented by nms with reflection)
(CHAT is from nms class ArgumentChat)
(e.printStackTrace(System.out) is used to checking error because mojang command api won't print out the exception, I need print it by myself, it was deleted in the released jar)

Because I am using new mojang command api, this plugin cannot be used on 1.12 and before.
Resource Information
Author:
----------
Total Downloads: 137
First Release: Aug 19, 2021
Last Update: Aug 19, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings