automessage

SAMBA

New Member
Member
Jan 5, 2017
26
2
3
36
hello i need automessage system
i dont need autoannounce
every X Secounds send message to server for AD
 

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
613
63
If you use Rust ++, check the settings ..

INI:
notice_enabled=true   ; if you want to enable server notices popping up
notice_interval=1200000 ; time in milliseconds, how often do you want to spam your server with this notice? (i recommend 15 minutes (900000 milliseconds) minimum)
notice_messages_amount=3   ; amount of messages displayed, configured below
notice1=HELLO 1!!
notice2=HELLO 2!!
notice3=HELLO 3!!
If you do not use Rust ++, you can use Advertise.py

Python:
import clr
import sys
clr.AddReferenceByPartialName("Fougerite")
import Fougerite

class Advertise:
    def On_PluginInit(self):
        Plugin.CreateTimer("testtimer", 50000).Start()

    def testtimerCallback(self, timer):
        Server.BroadcastFrom("HELLO", "HELLO ")
        timer.Kill()
        Plugin.CreateTimer("testtimer", 50000).Start()