PlotSquared/Core/src/main/resources/start.js

7 lines
221 B
JavaScript
Raw Normal View History

// Add your commands to this list
var commands = ["mycommand"];
// Command registration:
for (var i in commands) {
MainCommand.class.static.onCommand(PlotPlayer, "plot", "debugexec", "addcmd", commands[i] + ".js");
}