Yo, make a fabtic mod for me in which i put mod and join a server and then set a custom message and cooldown and then that message auto sends every 1min in donut smp and when I get someones teleport request it checks automatically his stats by /stats [user] if his playtime is like less then a day or 12hours and he got not much money like less then 100k or 1m it auto accepts the tpa
KodariSep 9 at 2:37 pm 2
AutoTpaGuard
A Fabric mod for Minecraft 1.21.11 that adds an automated message broadcaster and a smart teleport request evaluator. Players can set a custom message and cooldown interval, which the mod will automatically send to the server chat at the specified frequency. When a teleport request is received, the mod automatically checks the requester's stats via the /stats command, analyzing their playtime and in-game money. If the requester's playtime is under 12 hours or their money is below 100k, the mod auto-accepts the teleport request, providing a convenient and safe way to manage incoming TPA requests on servers like Donut SMP.
I’ll create a client-only Fabric 1.21.11 mod with:
Persistent JSON settings for the auto-message, cooldown, and TPA thresholds.
/dauto client commands to configure and toggle the features in-game.
A timed chat sender and chat parser that runs /stats <player> for detected TPA requests.
Automatic /tpaccept only when both playtime and money are below the configured limits.
Created the client-only Fabric 1.21.11 mod.
Features:
Sends a configurable chat message on a configurable cooldown.
Detects incoming TPA requests.
Runs /stats <player> automatically.
Executes /tpaccept only when both conditions pass:
package com.kodari.donutauto;
import net.fabricmc.api.ClientModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public final class DonutAutoClient implements ClientModInitializer {
public static final String MOD_ID = "donutauto";
public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
@Override
public void onInitializeClient() {
AutoManager.initialize();
}
}