View Single Post
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 04-21-2012 , 16:52   Re: [Any] Limit Ban Duration v1.0.1 (Updated: 4/21/12)
Reply With Quote #7

Version 1.0.1 Released
  • Added the following natives:
    • LimitBan_GetSize - Returns the current number of defined ban lengths.
    • LimitBan_GetDisplay - Provides access to the word form of defined ban lengths.
    • LimitBan_GetAccess - Returns permission for a specified ban length index.
    • LimitBan_GetLength - Returns the number of minutes for a specified ban length index.
  • The sm_limit_ban_duration.ini has received a "display" parameter, allowing 10080 to turn into "7 Days"/"One Week" for menu usage.
  • Removed left over debug printing from plugin.
  • Removed requirement for sourcebans.inc to recompile.
  • Added requirement of sm_limit_ban_duration to recompile.
I've attached lbd_basebans.smx and lbd_sourcebans.smx (as well as their source). These files have been modified to have support from Limit Ban Duration (specifically, they've been modified so the ban option in sm_admin obeys the restrictions placed by Limit Ban Duration). You are not required to use one of these, but without them, players can simply ignore the restrictions on sm_ban by using the menu.
__________________

Last edited by thetwistedpanda; 04-21-2012 at 16:57.
thetwistedpanda is offline