ForgeEssentials

ForgeEssentials

339k Downloads

[1.12.2] [FEATURE]

codypace68 opened this issue ยท 0 comments

commented

Is your feature request related to a problem? Please describe.
I really love JScripting and use it all the time on our server. However, i don't know Java so extending it capabilities myself is not feasible currently.

Describe the solution you'd like
I would really love for the Server.runCommand() function to returns the value that would be logged to console/chat. Example, Server.runCommand(ICommandSender, 'wallet', playerName) would return "Wallet of playerName contains xxxx Credits". This would vastly extend JScripting without the need to actually learn any Java.