Now only one usage: Make "tell" command can send to console
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:
(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)
(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.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta