Hi,
made some quick anti afk plugin for those who are too lazy to read how to write a simple plugin
https://www.thebuddyforum.com/archebuddy-forum/178351-request-relogger-anti-afk.html
made some quick anti afk plugin for those who are too lazy to read how to write a simple plugin

https://www.thebuddyforum.com/archebuddy-forum/178351-request-relogger-anti-afk.html
Code:
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace AntiAFK{
public class AntiAFK : Core
{
public static string GetPluginAuthor()
{
return "2face";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "Anti AFK Plugin";
}
public void PluginRun()
{
System.Random RandNum = new System.Random();
int waitTime;
while (true){
waitTime = RandNum.Next((1000 * 60) * 2, (1000 * 60) * 10);
Thread.Sleep(waitTime);
UpdateNoAfkState();
Turn(0.5);
}
}
//Call on plugin stop
public void PluginStop()
{
}
}
}
Last edited: