using Oxide.Core.Plugins; using UnityEngine; namespace Oxide.Plugins { [Info("Clock", "cengizhanbucak", "1.0.0")] [Description("Lets players know the time on roleplay servers")] public class Clock : RustPlugin { [ChatCommand("Clock")] void cmdDaytime(BasePlayer player) { // Günün saatini alın var time = Time.realtimeSinceStartup; // Saati saat/dakika şeklinde dönüştürün int hours = (int)(time / 60) % 24; int minutes = (int)(time % 60); // Oyuncuya saati chat olarak gönderin SendReply(player, $"Clock: {hours}:{minutes}"); } } }