Author Topic: Ban Times / Steamid  (Read 1640 times)

0 Members and 1 Guest are viewing this topic.

Offline GMOD_Gaming

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Ban Times / Steamid
« 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

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2696
  • Karma: 422
    • |G4P| Gman4President
Re: Ban Times / Steamid
« Reply #1 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"

Offline GMOD_Gaming

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Ban Times / Steamid
« Reply #2 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.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2696
  • Karma: 422
    • |G4P| Gman4President
Re: Ban Times / Steamid
« Reply #3 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"

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8016
  • Karma: 380
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ban Times / Steamid
« Reply #4 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 855
  • Karma: 411
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Ban Times / Steamid
« Reply #5 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.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.
In most cases I do not make addons for people. You may ask, and I may or may not accept, paying me will not change the answer if it was no. Feel free to try.
4-8-15-16-23-42


My Created Addons:
> Player Connect/Disconnect Message < ---- > URL Playsound Addon < ---------- > Leaderboards Records < ----------------
> Player Chat Tags < ----------------------------- > Last Joined Checker < ------------- > Workshop Dupes Permissions < ------
> Utime Hour Changer Addon < ---------------- > Autopromote XGUI Version < ---- > UtimeMOO Server/Global Edition < --
> Give Weapon Addon < ------------------------- > Player Force Spawn < ------------- >
> Set Modelany Addon < ------------------------- > Set Spawn Points < ---------------- >
> Apple H.U.D. < ----------------------------------- > Advanced Anti Noclip Killing < -- >

Offline mark272

  • Newbie
  • *
  • Posts: 15
  • Karma: 5
Re: Ban Times / Steamid
« Reply #6 on: July 02, 2019, 11:49:20 AM »
Or simply use !xban