mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-27 07:36:45 +01:00
7 lines
221 B
JavaScript
7 lines
221 B
JavaScript
|
// 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");
|
||
|
}
|