Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Advanced timed messages with script support
#1
Hi everyone, I wanted to share a variant of the standard timed messages implemented in Nukem addon. This timed messages plugin does not show the "console" word, and is capable of running scripts written in C#.

For example, I use this plugin to show the number of banned player from my server, updated in real time; the message is this: "^1Players permanent banned from this server: ^3BANNED_COUNT" and the code to get the BANNED_COUNT number is this

string[] bannedList = System.IO.File.ReadAllLines("main\\permanent_ex.ban");
int bannedCount = bannedList.Length - 1;
_returnValue = bannedCount.ToString();

_returnValue is a string variable used by the plugin to get the text to replace the BANNED_COUNT word

This plugin can be used also to show players the time, or some News downloaded from your website, or any custom text generated by C# code.

On my server it works, and it should works on every version of MW3 (included Tekno), but let me know if it doesn't works on your servers.

Detailed instructions are inside the archive.

UPDATE: now the plugin logs C# errors; I also added some images of the plugin in action.

[Image: banned.jpg]
[Image: time.jpg]
[Image: error.jpg]


Attached Files
.rar   MW3 timed messages plugin.rar (Size: 5 KB / Downloads: 231)
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Who can create this script First_Semyon 3 4,254 09-24-2013, 18:19
Last Post: First_Semyon
  advanced Server Config Poorya56 9 7,018 09-11-2013, 03:45
Last Post: trasto
  FREE HELP SERVICE Minecraft Plugins Help Support KrypTiK 14 20,960 07-23-2013, 22:21
Last Post: KrypTiK
  Help Run Infinity Script on Teknogods? Bandarigoda123 6 7,502 07-14-2013, 17:27
Last Post: surtek
  can't find script engine "VBScript" for script "C:\Windows\system32\slmgr.vbs" ddaavvee 6 24,637 06-18-2013, 03:46
Last Post: dylankrajewski
  Simple flyable helicopter script port, could use help! akillj 0 2,535 06-15-2013, 09:20
Last Post: akillj
Question Server Connection timed out when installing promod plugin msryasly 0 2,390 06-15-2013, 00:38
Last Post: msryasly
  What script controls the "random" aspect to care packages? akillj 2 3,265 06-05-2013, 11:24
Last Post: akillj
  [Release] Advanced Combat Training projacol 3 9,146 06-01-2013, 12:35
Last Post: ultimate
Information How to change text messages in MP (.ff edit) giofrida 5 4,818 05-02-2013, 20:05
Last Post: Pozzuh

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.