Request Need a plugin that hides all ! Admin commands
#1
can someone make a plugin that hides all ! admin commands in chat, for example when i type !yell all Hi the message shows on players hud and in chat also, i need a plugin that hides all chat commands that starts with !

#2
maybe blame the coder in question for being lazy and not hiding the chat.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]


#3
Maybe this will work. Compile this using Sailor Moons Plugin Maker.

Code:
Using Addon; public override ChatType OnSay(string Message, ServerClient Client) { if (Message.StartsWith("!")) { return ChatType.ChatNone; } return ChatType.ChatContinue; }

As I assume It may hide the cmds with !. Try and tell

I don't know if this will crash the server, anyway just have a try

(07-27-2013, 07:51)hillbilly Wrote: maybe blame the coder in question for being lazy and not hiding the chat.

LOL.....yeah, I have seen this in many plugins

#4
(07-27-2013, 08:24)Bandarigoda123 Wrote: Maybe this will work. Compile this using Sailor Moons Plugin Maker.

Code:
Using Addon; public override ChatType OnSay(string Message, ServerClient Client) { if (Message.StartsWith("!")) { return ChatType.ChatNone; } return ChatType.ChatContinue; }

As I assume It may hide the cmds with !. Try and tell

I don't know if this will crash the server, anyway just have a try

(07-27-2013, 07:51)hillbilly Wrote: maybe blame the coder in question for being lazy and not hiding the chat.

LOL.....yeah, I have seen this in many plugins

Cant Compile,There's a error:
Please check your code, error found!
Please compile this plugin for me.

#5
here, try it.


.zip   myplug.zip (Size: 1.74 KB / Downloads: 88)

LOL, the error might be that. Tongue

here the full one, forgot somethings.

Code:
using System; using System.Collections.Generic; using System.IO; using Addon; namespace Hide { public class Hide : CPlugin { public override void OnServerLoad() { ServerPrint("Hide Commands Plugin by SShattered Loaded"); } public override ChatType OnSay(string Message, ServerClient Client) { if (Message.StartsWith("!")) { return ChatType.ChatNone; } return ChatType.ChatContinue; } } }

#6
(07-27-2013, 10:24)Bandarigoda123 Wrote: here, try it.



LOL, the error might be that. Tongue

here the full one, forgot somethings.

Code:
using System; using System.Collections.Generic; using System.IO; using Addon; namespace Hide { public class Hide : CPlugin { public override void OnServerLoad() { ServerPrint("Hide Commands Plugin by SShattered Loaded"); } public override ChatType OnSay(string Message, ServerClient Client) { if (Message.StartsWith("!")) { return ChatType.ChatNone; } return ChatType.ChatContinue; } } }

My ! commands are not working xD please fix

#7
Of course your commands won't work, the code above will prevent anything starting with ! from been used, download the permissions plugin and use that.

http://www.itsmods.com/forum/Thread-Rele...lugin.html
I now host all my MW3 projects on my private GIT repo

#8
@Sylvester
Do as what @SgtLegend said.



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 6,584 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 7,712 11-08-2013, 19:13
Last Post: clemi555
  Help Modifying plugin maverigh 5 7,749 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 8,425 10-19-2013, 06:59
Last Post: iRoNinja
Question Help Admin menu koren30 4 6,787 10-07-2013, 20:17
Last Post: Yamato
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 3,697 09-13-2013, 09:31
Last Post: Hallla
  Search Plugin Fluid Killcam N3xT_974 1 4,032 09-10-2013, 20:27
Last Post: Nekochan
  !kill Plugin Hallla 1 3,546 09-07-2013, 22:30
Last Post: axel-le-meilleur
Heart [Tutorial] Add yourself as admin for noobs like me. FNCPro 1 3,941 09-02-2013, 19:49
Last Post: Pozzuh
  God Mode Plugin - Everyone has rcon admin srskiller 4 7,919 08-28-2013, 19:03
Last Post: phillipito

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.