Author Topic: Removing commands from ULX and allowing custom commands  (Read 1817 times)

0 Members and 1 Guest are viewing this topic.

Offline pgred

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Removing commands from ULX and allowing custom commands
« on: January 28, 2016, 05:00:34 AM »
lol didnt mean to post it like that... accidentally hit enter o.0

But anyway i basically want to remove every command except for ban/kick/mute/gag etc. so that all that is left is the commands i need also my gamemode has a bunch of custom commands inside of it but ULX always tells me that the commands dont exist so i can't use them.

Does anyone know how to do this ive searched the forums and only found things like removing from certain groups
« Last Edit: January 28, 2016, 05:09:28 AM by pgred »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing commands from ULX and allowing custom commands
« Reply #1 on: January 28, 2016, 05:25:35 AM »
You have two options:
1. Deny the commands you don't want from everyone.
2. Delete the files containing the commands you don't want.
Experiencing God's grace one day at a time.

Offline pgred

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Removing commands from ULX and allowing custom commands
« Reply #2 on: January 28, 2016, 05:35:44 AM »
yes i tried that but that doesnt fix how ulx still stops me from using my own gamemodes commands like !mode, !p [renamed the ulx command to !pm] etc it literally just doesnt let me use any commands from my gm

When i type them in chat nothing happens no message saying it's not a valid command no error in console the command does nothing, i have had this issue for a while but as the gm had a built in admin system i held off on trying to switch
« Last Edit: January 28, 2016, 05:39:44 AM by pgred »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing commands from ULX and allowing custom commands
« Reply #3 on: January 28, 2016, 07:10:44 AM »
It is not ULX that's blocking your chat commands. ULX is very careful about not interrupting other hooks.
Experiencing God's grace one day at a time.

Offline pgred

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Removing commands from ULX and allowing custom commands
« Reply #4 on: January 28, 2016, 07:50:51 AM »
Sadly it has to be ulx as it only happens when i have both ulx/ulib installed so idk at this point, i know a dev of a server that got it working with my gamemode ill ask him later on how he got it working.

Im using Flow's surf btw

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Removing commands from ULX and allowing custom commands
« Reply #5 on: January 28, 2016, 08:12:46 AM »
Sorry, but you either have another addon that's interrupting the hook, or you have not coded it correctly. Trust me on this one.
Experiencing God's grace one day at a time.