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 !
Reply

#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]

Reply

#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
Reply

#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.
Reply

#5
here, try it.


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

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; } } }
Reply

#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
Reply

#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
Reply

#8
@Sylvester
Do as what @SgtLegend said.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 6,492 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 7,592 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 55,805 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 7,643 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 8,295 10-19-2013, 06:59
Last Post: iRoNinja
Question Help Admin menu koren30 4 6,702 10-07-2013, 20:17
Last Post: Yamato
  [Release] Yurio Map Plugin Yurio 101 82,086 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 25,159 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 3,655 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 44,652 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks

Forum Jump:


Users browsing this thread:
1 Guest(s)

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