Create orangemart.cs

template .cs plugin
This commit is contained in:
ORANGEMART 2024-08-16 11:25:56 +07:00 committed by GitHub
parent e3e3d53fc7
commit cf3eef35b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

24
orangemart.cs Normal file
View File

@ -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");
}
}
}