From cf3eef35b2389633f2ba10d5e32a8f03d1b39556 Mon Sep 17 00:00:00 2001 From: ORANGEMART <129637066+orangemart@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:25:56 +0700 Subject: [PATCH] Create orangemart.cs template .cs plugin --- orangemart.cs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 orangemart.cs diff --git a/orangemart.cs b/orangemart.cs new file mode 100644 index 0000000..50e205d --- /dev/null +++ b/orangemart.cs @@ -0,0 +1,24 @@ +using Newtonsoft.Json; +using UnityEngine; +using System; +using System.Collections.Generic; +using Oxide.Core; +using Oxide.Core.Plugins; +using Oxide.Game.Rust.Cui; +using Oxide.Core.Libraries.Covalence; +namespace Oxide.Plugins +{ + [Info("Plugin Name", "Author/s", "0.0.1")] + [Description("One sentence plugin description.")] + class PluginName : CovalencePlugin + { + private void OnServerInitialized() + { + AddCovalenceCommand("ping", "PingPong"); + } + private void PingPong(IPlayer player, string command, string[] args) + { + player.Reply("Pong"); + } + } +}