Jump to content




Commands reuturns error message on server

computer command api

6 replies to this topic

#1 PeachMaster

  • Members
  • 4 posts

Posted 11 August 2017 - 04:42 AM

Hallo. This is my first post. So uhh, I need some help.

I am creating a new payment system. And I need some help.
I am currently experimenting in the lua console with command computers. For some reason I can't get it to work..
commands.exec("/eco take PeachyMaster")

Returns:
false
{
   "Unknown command. Try /help for a list of commands",
}

I am on a server that is a WIP. I have op on, and command blocks enabled.
Can someone help?

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 11 August 2017 - 06:28 AM

"eco" is not a vanilla Minecraft command; is Essentials Economy running on your server? Are you able to run this command through chat, and / or through a regular command block?

#3 PeachMaster

  • Members
  • 4 posts

Posted 11 August 2017 - 06:42 AM

Yes, and yes.

#4 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 11 August 2017 - 07:22 AM

What if you drop the "/", or try the "economy" command instead?

Failing those, I'd consider it a bug - usually ComputerCraft is able to pick up on commands added by other mods. I'd recommend opening an issue with more details (such as the mod versions in use).

#5 PeachMaster

  • Members
  • 4 posts

Posted 11 August 2017 - 09:00 PM

Still returns the same error.

#6 PeachMaster

  • Members
  • 4 posts

Posted 16 August 2017 - 07:49 PM

bump

#7 Lupus590

  • Members
  • 1,990 posts
  • LocationUK

Posted 16 August 2017 - 09:45 PM

View PostBomb Bloke, on 11 August 2017 - 07:22 AM, said:

Failing those, I'd consider it a bug - usually ComputerCraft is able to pick up on commands added by other mods. I'd recommend opening an issue with more details (such as the mod versions in use).






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users