Jump to content
  • Sign Up

Archived

This topic is now archived and is closed to further replies.

  • 0
minecraft_1589

Announce command

Question

Recommended Posts

Did you do /pcompile? You need to do that first. /pcompile filename.cs. This compiles it into a .dll. Then you can do cmdload. languages like C# requires you to compile it.

Share this post


Link to post

Then I don't know what's wrong. Besides typos. It's saying that the file is missing. You must have done something wrong to not compile it right if you have the cs file. 

Share this post


Link to post

It's a command, so should be using /compile and /cmdload instead of /pcompile here

---

The issue here is that at some point, someone opened and saved CmdAnnounce.dll with a text editor - but .dll files are not text files, which meant that some of the bytes in the .dll file got changed and hence made the .dll unloadable.

If you do /compile Announce (to regenerate CmdAnnounce.dll) and then /cmdload Announce again though, it should work.

Share this post


Link to post

.cs files must be in extra/commands/source and .dll  files must be in extra/commands/dll

Share this post


Link to post
Just now, minecraft_1589 said:

now i have to keep doing /cmdload Announce once in a while 

cmdautoload.txt exists

Share this post


Link to post

×
×
  • Create New...