Downloading plugin to Linux server via SSH?Solved
how do i install a plugin using ssh. i created a file with the exact same name. copied the contents over and tryed to install, no luck.  any tips for a new user
  1. In what folder did you create the file?
  2. What was the name of the file (with extension)?
Plugins

AdvertMessages.cs

im really green at this

found this in logs

Error while compiling: AdvertMessages.cs(7,16): error CS1525: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'
Looks like you did everything correctly except the file contents you copied are not the complete contents.

17:14 [Warning] [DEBUG] Load requested for plugin which is already loading: AdvertMessages
17:14 [Error] Error while compiling: AdvertMessages.cs(97,6): error CS1038: #endregion directive expected
17:16 [Error] Error while compiling: AdvertMessages.cs(101,254): error CS1525: Unexpected symbol `end-of-file'
17:18 [Error] Error while compiling: AdvertMessages.cs(101,254): error CS1525: Unexpected symbol `end-of-file'
17:20 [Info] Loading Oxide Core v2.0.3867...
17:20 [Info] Loading extensions...
17:20 [Info] Latest compiler MD5: 8ce6d27e7718e3d164766bba8833537a
17:20 [Info] Local compiler MD5: 8ce6d27e7718e3d164766bba8833537a
17:20 [Info] Loaded extension CSharp v2.0.3913 by Oxide and Contributors
17:20 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
17:20 [Info] Loaded extension Rust v2.0.4072 by Oxide and Contributors
17:20 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
17:20 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
17:20 [Info] Using Covalence provider for game 'Rust'
17:20 [Info] [Rcon] Server started successfully on port 28016
17:20 [Info] Loading plugins...
17:20 [Info] Loaded plugin Rust v2.0.4072 by Oxide and Contributors
17:20 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
17:20 [Error] Error while compiling: AdvertMessages.cs(101,254): error CS1525: Unexpected symbol `end-of-file'

Merged post

il try a different plugin

Merged post

17:41 [Error] Oxide.Game.Rust; using System is referenced by NoGiveNotices plugin but is not loaded! An appropriate include file needs to be saved to plugins\include\Ext.Rust; using System.cs if this extension is not required.
In response to Allan ():

17:14 [Warning] [DEBUG] Load requested for plugin which is already loading: AdvertMessages
However you are downloading the plugins is causing them to be corrupted/improperly formatted.
Try to use wget for downloading plugins?
yea i put them into notepad(on windows) and copied them into the file. how should i be doing it

Merged post

wget worked thankyou solved
In response to Allan ():
yea i put them into notepad(on windows) and copied them into the file. how should i be doing it
Remember the way windows and linux works with text are dirrently. I dont know how to describe it but just know they don't fully work the same when sharing it. I also has this a while ago with a program I made. Turns out I had to stream it instead of directly copy/pasting.
In response to Quantum ():
Remember the way windows and linux works with text are dirrently. I dont know how to describe it but...
Line endings are different between Windows and Linux, and Notepad does not handle the standard which is \n (Linux).

Solution: Don't copy/paste, use a real text editor such as Notepad++ for any editing (shouldn't be necessary).
Locked automatically