ULX

Author Topic: Disable ban kick  (Read 1647 times)

0 Members and 2 Guests are viewing this topic.

Offline bad339

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Disable ban kick
« on: September 08, 2015, 06:53:59 PM »
I've spent the past two days looking through the ULX code, but I cannot figure out how it blocks players from joining when banned. Is there a way to disable just the kick, but still have them in the ULib.bans table?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Disable ban kick
« Reply #1 on: September 08, 2015, 08:12:07 PM »
So... you want it to save bans but not prevent players from playing? What's the point in that?
bw81@ulysses-forums ~ % whoami
Homepage

Offline bad339

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Disable ban kick
« Reply #2 on: September 08, 2015, 08:39:08 PM »
I'm designing a modular addon that allows the user to still grab bans and their durations from the ULib bans table, but my own system will handle the ban effects; I just don't want them kicked.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Disable ban kick
« Reply #3 on: September 09, 2015, 08:52:39 AM »
ULib uses the Source Engine's banid system to know which users should be prevented from joining- so it uses Source Engine. Overriding this functionality may be difficult, but can likely be done by removing any instances of 'writeid'.

I believe that ULib also supports Gatekeeper, and you might want to look into it and see if it is useful:
https://facepunch.com/showthread.php?t=695636
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6