ConsoleCommands / org.lazywizard.console / CommandStore / StoredCommand / getSource

getSource

fun getSource(): String

Returns the complete file path of the CSV this command was loaded from (not the relative path). Useful for determining which mod added this command.

Return
The complete file path of the CSV this command was loaded from. There is no other way to retrieve this information in the current API.

Since
2.0