essentials/Essentials — pull request #30 by tustin2121 (2011-10-19 03:29:22+00:00)
Title: Porting Some Player-Only Commands to the Console

In using Essentials, I found that the fact that a few command can't be used from the console annoyed me. Obviously commands like /warp can't possibly be used from the console, and this make sense. But I never saw why __/mail__, __/weather__, __/realname__, and __/worth__ required an originating player (especially /realname, given that I wanted to know the real name of a player several times more often as a console than as a player).

So I made them work as console commands. It required a little copy-pasting and some tweaking. The /weather command required a change in the messages.properties file to allow the name of the world being changed (I cascaded that change to the translations as best I could, using Google Translate to make sure I was replacing the right word with a {format marker} ). The /realname command, as I predicted, required the least amount of work.

I have tested the commands from the console on a basic level, and it all works. It builds properly as well.

Thanks, guys, for an awesome plugin.