sk89q/worldguard — pull request #215 by MamiyaOtaru (2012-07-25 21:46:00+00:00)
Title: allow some commands to be run from the console

Some additional commands runnable from the console:

/region consoleselect - equivalent to /region select, but can be run from the console without a local player, additional parameter to specify the world. Most of that is in worldguard, but there is one support method added in worldedit (pull request sent for that too)

also in worldedit,
//consolerestore - equivalent to //restore, but can be run without a local player, has an additional parameter for specifying the world

Used together, allows for restoring worlds or regions of worlds from the console, or using redstoneCommandSigns (since no player data is sent from those)

This functionality could probably be rolled into the existing commands, with a parameter for world or something that would be picked up and used in the absence of a local player sending the command. Seemed easier to have separate commands though. At any rate, this functionality would be great to have (in official).