Ulysses

Ulysses Stuff => Suggestions => Topic started by: GMOD_Gaming on May 28, 2019, 08:35:33 AM

Title: Ban Times / Steamid
Post by: GMOD_Gaming on May 28, 2019, 08:35:33 AM
I would like to know if I can edit anything to make the ban system a little better

I have used this system before below

!ban <steamid> <time format eg X Days or X Weeks or X Months> <Reason>

I know ULX has the !banip system but it does not ban in the same format..

if that has been done before can someone point me in the right direction.

thank you
Title: Re: Ban Times / Steamid
Post by: MrPresident on May 28, 2019, 06:57:42 PM
I'm confused as to what you are asking for.

If you're trying to ban a steamid, you can use

!ulx banid <Steamid> <time> <reason>

and it does accept the a time string.. so like..

!ulx banid "STEAM_0:1:12345" 2h "This is the reason"
Title: Re: Ban Times / Steamid
Post by: GMOD_Gaming on May 29, 2019, 10:43:00 AM
I would like to know if I can edit anything to make the ban system a little better

I have used this system before below

!ban <steamid> <time format eg X Days or X Weeks or X Months> <Reason>

I know ULX has the !banip system but it does not ban in the same format..

if that has been done before can someone point me in the right direction.

thank you

can I make the !ban use the <steamid> instead of name and also can I set it to use this format..  x weeks or x months or x weeks or x days etc what file do I need to edit.. thank you.
Title: Re: Ban Times / Steamid
Post by: MrPresident on June 02, 2019, 05:16:22 PM
No, the banid function does not have a chat command component. You can add it yourself by editing the lua files to add a chat command if that is something you are comfortable doing. You could just change the nil to "!banid"
Title: Re: Ban Times / Steamid
Post by: JamminR on June 02, 2019, 05:32:13 PM
Though you could add a chat command, workshop subscription doesn't make it easy.
Additionally, you'd have to update ULX files every single time we released an update, unless you made your own addon folder structure for that specific command.
I personally question WHY one would want a chat command for the steamid.
Most of the information an admin would use to grab a steamid is presented in game console log, and often remains on screen much longer than the chat window. Additionally, chat commands are NOT autocomplete, where as when typing "ulx b" in game console, an autocomplete dropdown occurs, allowing you to quickly type/paste the information mostly automatically.
Title: Re: Ban Times / Steamid
Post by: Bite That Apple on June 02, 2019, 06:08:13 PM
Am I wrong or is everyone just forgetting something even easier than opening the console. Type !xgui... from my knowledge, even though it's been quite some time since I'm logged in, in the xgui menu everything is there for you as long as you have the steam id.
Title: Re: Ban Times / Steamid
Post by: mark272 on July 02, 2019, 11:49:20 AM
Or simply use !xban