Jump to content
  • Sign Up
  • 0

Question

When i loaded the announce plugin i did what it said but it just wont work and i would like to know who can help me fix it 

Share this post


Link to post

Recommended Posts

  • 0

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
  • 0

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
  • 0

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
  • 0

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

Share this post


Link to post
  • 0
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 an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...