Ulysses
Home
Help
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Hiding admin commands from users
« previous next »
Print
Pages: [
1
]
Go Down
Author
Topic: Hiding admin commands from users (Read 4255 times)
0 Members and 1 Guest are viewing this topic.
Pro_instinct
Newbie
Posts: 6
Karma: 0
Hiding admin commands from users
«
on:
December 21, 2013, 08:15:27 am »
Hey guys I was just wondering if its possible to hide commands from other users say if I !kick "username" I don't want !kick "username" showing in the chat. I just want them to be kicked. Any support is appreciated, thanks in advance! -Instinct
«
Last Edit: December 21, 2013, 08:42:42 am by Pro_instinct
»
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: Hiding admin commands from users
«
Reply #1 on:
December 21, 2013, 09:07:22 am »
Run it in console instead.
Logged
Experiencing God's grace one day at a time.
Cobalt
Full Member
Posts: 216
Karma: 44
http://steamcommunity.com/id/__yvl/
Re: Hiding admin commands from users
«
Reply #2 on:
December 21, 2013, 09:53:13 am »
In the lua, where you see
Code: Lua
local
kick
=
ulx
.
command
(
"Utility"
,
"ulx kick"
,
ulx
.
kick
,
"!kick"
)
change it to
Code: Lua
local
kick
=
ulx
.
command
(
"Utility"
,
"ulx kick"
,
ulx
.
kick
,
"!kick"
,
true
)
Logged
Pro_instinct
Newbie
Posts: 6
Karma: 0
Re: Hiding admin commands from users
«
Reply #3 on:
December 21, 2013, 10:01:33 am »
Where exactly do I find this piece of code to edit it?
Logged
MrPresident
Ulysses Team Member
Hero Member
Posts: 2727
Karma: 430
Re: Hiding admin commands from users
«
Reply #4 on:
December 21, 2013, 12:36:18 pm »
garrysmod/addons/ULX/lua/ulx/modules/sh/util.lua
Be warned though.. we never recommend modifying base ULX files because:
1. You might break everything (so backup the file before you modify it)
2. When you update ULX you will lose all of your modifications.
There is no alternative way to modify the function without modifying the base file though. Good luck!
Logged
Storm
Full Member
Posts: 220
Karma: 4
Re: Hiding admin commands from users
«
Reply #5 on:
December 21, 2013, 02:51:02 pm »
I just go to the commands echo tab and turn off the echo. It takes about 6 seconds.
Logged
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: Hiding admin commands from users
«
Reply #6 on:
December 21, 2013, 05:17:56 pm »
Why must everyone be so complicated?
Like Megiddo answered, open up the console and type "ulx <command> <player>"
Most commands will never be echoed that way, especially if the echo mode is set to anonymous.
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Print
Pages: [
1
]
Go Up
« previous next »
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
Hiding admin commands from users