Author Topic: fban and xban  (Read 1977 times)

0 Members and 1 Guest are viewing this topic.

Offline Vizzy

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
fban and xban
« on: September 26, 2016, 02:04:32 PM »
xgui fban
xgui xban
i noticed these snuck into most recent version
they arent my groups.txt afaik for some reason, nor in manage permissions in xgui
do i just add them to the group.txt same as anything else?
« Last Edit: September 26, 2016, 02:06:06 PM by Vizzy »

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: fban and xban
« Reply #1 on: September 26, 2016, 02:10:15 PM »
I dont know  for sure, but from what I know it just gives admins a GUI for banning.

Also, they've been there for a while now
« Last Edit: September 26, 2016, 02:16:42 PM by iViscosity »
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: fban and xban
« Reply #2 on: September 27, 2016, 04:52:38 AM »
Like iViscosity said, they've been around for quite a while (for at least a year, as that's when https://github.com/TeamUlysses/ulx/blob/0db8007ceb4a49e22c2bb191d1e16d423851f21e/lua/ulx/xgui/server/sv_bans.lua was last committed to). !xban just brings up a menu to choose the reason and time, instead of entering it in the chat. !fban is similar except that it also freezes the player. They are both given to anyone who has access to ulx ban, so there's no need to add any special permissions. They don't appear in the groups.txt or xgui because they don't have their own permissions, just piggyback off of ulx ban.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline Vizzy

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: fban and xban
« Reply #3 on: September 27, 2016, 09:54:20 AM »
yeah I dont update ulx very often lol
thanks for info though

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: fban and xban
« Reply #4 on: September 28, 2016, 09:49:22 AM »
They're not official ULX commands, but rather XGUI commands that have chat equivalents. They've been there even since XGUI was integrated with ULX about 5 years ago. :P

But yes, if you have access to "ulx ban", you'll have these 'helper' commands. The most useful case for this is to immediately freeze a troublesome player and give you the option to enter ban reason and duration, rather than banning first, filling in details later., e.g. '!fban stickly'
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6