forked from TeamUlysses/ulx
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
07aafe3748 | ||
![]() |
6c88e39836 |
@ -1,5 +1,8 @@
|
||||
# ULX Changelog
|
||||
|
||||
## Upcoming - *(00/00/00)*
|
||||
* [FIX] XGUI: Server error if internal bandata endpoint is called with missing parameters.
|
||||
|
||||
## v3.81 - *(03/24/24)*
|
||||
* [ADD] Added chat commands to both banid and unban. (Thanks, TheByKotik)
|
||||
* [ADD] Added convar (ulx_motdDisabledMessage <0/1>) to disable the MOTD Disabled on server message if desired.
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
"name" "ULX"
|
||||
"version" "3.81"
|
||||
"up_date" "03/24/24"
|
||||
"up_date" "00/00/00"
|
||||
"author_name" "Team Ulysses"
|
||||
"author_email" "teamulysses@ulyssesmod.net"
|
||||
"author_url" "https://www.ulyssesmod.net/"
|
||||
|
@ -1,7 +1,7 @@
|
||||
ulx.LOW_ARGS = "You did not specify enough arguments for this command. Type 'ulx help' in console for help."
|
||||
|
||||
ulx.version = 3.81 -- Current release version. Don't access directly, use ULib.pluginVersionStr( "ULX" ) instead.
|
||||
ulx.release = true -- Is this the release?
|
||||
ulx.release = false -- Is this the release?
|
||||
|
||||
ulx.ID_ORIGINAL = 1
|
||||
ulx.ID_PLAYER_HELP = 2
|
||||
|
@ -105,7 +105,7 @@ function bans.init()
|
||||
xgui.bansbyunban = {}
|
||||
xgui.bansbybanlength = {}
|
||||
end
|
||||
|
||||
|
||||
local sortTypeTable = {
|
||||
[1] = function()
|
||||
-- Bans by Name
|
||||
@ -149,7 +149,7 @@ function bans.init()
|
||||
table.sort( xgui.bansbyreason, function( a, b ) return a[2] < b[2] end )
|
||||
end
|
||||
return xgui.bansbyreason
|
||||
|
||||
|
||||
end,
|
||||
[5] = function()
|
||||
-- Bans by Unban Date
|
||||
@ -199,7 +199,7 @@ function bans.init()
|
||||
|
||||
-- Default params
|
||||
sortType = tonumber( args[1] ) or 0
|
||||
filterString = args[2] ~= "" and string.lower( args[2] ) or nil
|
||||
filterString = (args[2] ~= "" and args[2] ~= nil) and string.lower( args[2] ) or nil
|
||||
filterPermaBan = args[3] and tonumber( args[3] ) or 0
|
||||
filterIncomplete = args[4] and tonumber( args[4] ) or 0
|
||||
page = tonumber( args[5] ) or 1
|
||||
|
Loading…
Reference in New Issue
Block a user