Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

message after the call

Open kysteno4ek opened this issue 3 years ago • 2 comments

Prerequisites

Console Client Version

the newest

Describe your problem

how do I make the script run automatically after a kick? or write 1 message after the kick

Suggest a possible solution

No response

Attach screenshot here (If applicable)

No response

Minecraft Version

No response

Device

No response

Operating System

No response

kysteno4ek avatar Feb 19 '22 22:02 kysteno4ek

There is no direct way I think... But you could use Auto Relog and setup a task to execute on rejoin.

Daenges avatar Feb 22 '22 22:02 Daenges

first part.. auto relog could catch a message when kicked to reconnect (server rules could find yourself banned)

[AutoRelog]
enabled=true
delay=10
retries=3 #-1 = unlimited
kickmessagesfile=kickmessages.txt

second part.. tasks has the field triggerOnLogin that could run a script of your choosing

[Task]
triggerOnLogin=true
script=event_login.txt

MousePak avatar Feb 25 '22 23:02 MousePak