Name = "hello", // The main name and parameter for your command
Aliases = new string[] {"helloworld"}, // Aliases you can use instead of main command
Description = "A Hello World Command", // A Description for the Commad
Permission = "commandplugin.hello", // The permission which the player needs to execute the Command
Platforms = new[] {Platform.RemoteAdmin,Platform.ServerConsole}, // The platforms the command can be used
Usage = "Just type hello or helloworld in the Console!" // A message how to use the command
Arguments = new[] { "Test" } //The Arguments that the will be displayed in the
//RemoteAdmin(only) to help the user to understand how to execute the command
public class HelloWorldCommand : ISynapseCommand
private PluginClass Plugin { get; }
public HelloWorldCommand(PluginClass plugin) => Plugin = plugin;
public CommandResult Execute(CommandContext context)
//Some code that should be executed