Jump to content

/pcompile doesnt make a dll

Posted

i have a issue im using linux to host a mcgalaxy server but plugins wont compile and same with commands i have mono-complete installed on my machine but still wont let me

Edited by im20op1234

Featured Replies

You can also manually compile plugins by referencing MCGalaxy_.dll.
From the root directory: mcs -target:library -r:MCGalaxy_.dll -out:plugins/{PLUGIN}.dll plugins/{PLUGIN}.cs
From the plugins directory: mcs -target:library -r:../MCGalaxy_.dll -out:{PLUGIN}.dll {PLUGIN}.cs

These command line arguments are the same for mcs and csc.

  • Author

thank you now i can make the dll thank you !

is it the same for the commands ?

it gives me errors

its still not working

  • Author

yeah i found my problem if you try to get the plugins with the url smth like this https://github.com/ClassiCube/MCGalaxy-Plugins/blob/master/plugins/utilities/RelayRoute.cs if youre on linux you would use wget to get the .cs file with the url but you dont want to do that if you do it you will download the html file as a .cs so it was my fault ig

Edited by im20op1234
spelling error

Do /update latest to use latest dev build of MCGalaxy, as the latest stable build of MCGalaxy swallows all standard error outputs. If you used the latest dev build it will give you a list of all compile errors within the plugin you try to compile.

Owner and founder of Good old Lava Survival, MCGalaxy plugin developer, Master of evil hacks not supported by UnknownShadow.

READ THE RULES BEFORE YOU POST

Create an account or sign in to comment