Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: unreal_access_levels (UNREAL32 ONLY!!)  (Read 6668 times)

0 Members and 1 Guest are viewing this topic.

katsklaw

  • Guest
unreal_access_levels (UNREAL32 ONLY!!)
« on: September 14, 2008, 09:05:18 PM »

UNREAL3.2 ONLY!!! NOT EVEN UNREAL3.1!!!!

Unreal32 version of os_access_levels that allows you to specify even unreal's oper levels such as helpop, server admin or netadmin without adding users to services.

* Lets do levels:
* 1 = helpop
* 2 = ircop
* 3 = svsadmin
* 4 = servadmin
* 5 = netadmin
* 6 = SO
* 7 = SA
* 8 = SRA
* 9 = disabled


THIS IS AN ALPHA RELEASE!! THIS MEANS IT CAN CRASH YOUR SERVICES!!!
UNREAL3.2 ONLY!!! NOT EVEN UNREAL3.1!!!!

Please assist me in testing this module by loading this up on your testnet. Please post your findings here.

If you agree to the above, the module can be found: http://modules.anope.org/viewmod.php?id=172
« Last Edit: September 14, 2008, 09:54:50 PM by katsklaw »
Logged

katsklaw

  • Guest
Re: unreal_access_levels (UNREAL32 ONLY!!)
« Reply #1 on: September 14, 2008, 09:25:28 PM »

Module directives are super easy it's [command]access [level]. So if you wanted to disable the stats command it would be:

StatsAccess 9

or allow HelpOps to use the CLEARMODES command

ClearModesAccess 1

DO NOT SET COMMANDS TO ANY VALUE OTHER THAN 1-9!!!

Also if you allow helpops to use operserv commands, you *MUST* disable OSOpersOnly.
« Last Edit: September 14, 2008, 09:29:58 PM by katsklaw »
Logged

katsklaw

  • Guest
Re: unreal_access_levels (UNREAL32 ONLY!!)
« Reply #2 on: September 15, 2008, 09:36:05 PM »

I've noticed 7 downloads, thank you for helping! :)

However, the module can't be fully released without your continued help and input.

If you encounter any bugs or issues, please post them here.
Logged

katsklaw

  • Guest
Re: unreal_access_levels (UNREAL32 ONLY!!)
« Reply #3 on: October 12, 2008, 04:11:16 PM »

After dozens of downloads and 0 complaints. I'll assume the module works. I've removed the Alpha tag from the module description. If anyone has any issues, please report them.
Logged

Malcolm

  • Anope User
  • Offline Offline
  • Posts: 16
Re: unreal_access_levels (UNREAL32 ONLY!!)
« Reply #4 on: March 05, 2009, 05:51:28 PM »

Quote
      {{"OperAccess", {{PARAM_INT, PARAM_RELOAD, &OperAccess}}}},
      {{"StatsAccess", {{PARAM_INT, PARAM_RELOAD, &StatsAccess}}}},
      {{"StaffAccess", {{PARAM_INT, PARAM_RELOAD, &StaffAccess}}}},
      {{"ModeAccess", {{PARAM_INT, PARAM_RELOAD, &ModeAccess}}}},
      {{"KickAccess", {{PARAM_INT, PARAM_RELOAD, &KickAccess}}}},
      {{"ClearModesAccess", {{PARAM_INT, PARAM_RELOAD, &ClearModesAccess}}}},
      {{"AkillAccess", {{PARAM_INT, PARAM_RELOAD, &AkillAccess}}}},
      {{"SGlineAccess", {{PARAM_INT, PARAM_RELOAD, &SGlineAccess}}}},
      {{"SQlineAccess", {{PARAM_INT, PARAM_RELOAD, &SQlineAccess}}}},
      {{"SZlineAccess", {{PARAM_INT, PARAM_RELOAD, &SZlineAccess}}}},
      {{"ChanListAccess", {{PARAM_INT, PARAM_RELOAD, &ChanListAccess}}}},
      {{"UserListAccess", {{PARAM_INT, PARAM_RELOAD, &UserListAccess}}}},
      {{"LogonNewsAccess", {{PARAM_INT, PARAM_RELOAD, &LogonNewsAccess}}}},
      {{"RandomNewsAccess", {{PARAM_INT, PARAM_RELOAD, &RandomNewsAccess}}}},
      {{"OperNewsAccess", {{PARAM_INT, PARAM_RELOAD, &OperNewsAccess}}}},
      {{"ReloadAccess", {{PARAM_INT, PARAM_RELOAD, &ReloadAccess}}}},
      {{"RestartAccess", {{PARAM_INT, PARAM_RELOAD, &RestartAccess}}}},
      {{"ModLoadAccess", {{PARAM_INT, PARAM_RELOAD, &ModLoadAccess}}}},
      {{"ModUnLoadAccess", {{PARAM_INT, PARAM_RELOAD, &ModUnLoadAccess}}}},
      {{"ModInfoAccess", {{PARAM_INT, PARAM_RELOAD, &ModInfoAccess}}}},
      {{"ModListAccess", {{PARAM_INT, PARAM_RELOAD, &ModListAccess}}}},
      {{"QuitAccess", {{PARAM_INT, PARAM_RELOAD, &QuitAccess}}}},
      {{"ShutDownAccess", {{PARAM_INT, PARAM_RELOAD, &ShutDownAccess}}}},
      {{"DefConAccess", {{PARAM_INT, PARAM_RELOAD, &DefConAccess}}}},
      {{"ChanKillAccess", {{PARAM_INT, PARAM_RELOAD, &ChanKillAccess}}}},
      {{"OperAccess", {{PARAM_INT, PARAM_RELOAD, &OperAccess}}}},
      {{"AdminAccess", {{PARAM_INT, PARAM_RELOAD, &AdminAccess}}}},
      {{"SessionAccess", {{PARAM_INT, PARAM_RELOAD, &SessionAccess}}}},
      {{"ExceptionAccess", {{PARAM_INT, PARAM_RELOAD, &ExceptionAccess}}}},
      {{"NoopAccess", {{PARAM_INT, PARAM_RELOAD, &NoopAccess}}}},
      {{"JupeAccess", {{PARAM_INT, PARAM_RELOAD, &JupeAccess}}}},
      {{"IgnoreAccess", {{PARAM_INT, PARAM_RELOAD, &IgnoreAccess}}}},
      {{"SetAccess", {{PARAM_INT, PARAM_RELOAD, &SetAccess}}}},
      {{"UpdateAccess", {{PARAM_INT, PARAM_RELOAD, &UpdateAccess}}}},
    };
   
   for (i = 0; i < 34; i++)

it's right?
Logged

katsklaw

  • Guest
Re: unreal_access_levels (UNREAL32 ONLY!!)
« Reply #5 on: March 13, 2009, 03:18:55 PM »

no it's not right, that would be a bug. It doesn't really hurt anything as the second OperAccess will read the exact same data as the first and overwrite it with the same data. If you want, delete one of those lines and change the for loop value to 33 instead of 34.
Logged

Malcolm

  • Anope User
  • Offline Offline
  • Posts: 16
Re: unreal_access_levels (UNREAL32 ONLY!!)
« Reply #6 on: March 14, 2009, 07:20:52 AM »

thanks, For a place of the first OperAccess Should be GlobalAccess
Logged

James

  • Anope User
  • Offline Offline
  • Posts: 4
Re: unreal_access_levels (UNREAL32 ONLY!!)
« Reply #7 on: May 28, 2009, 01:42:10 AM »

does anyone know if any modules like this still exsit as i cant find this one anywhere but i found one that kat also made but i tryed it and it crashes anope everytime some one does /os access
Logged
Pages: [1]   Go Up