mirror of
https://github.com/anope/anope.git
synced 2026-07-07 08:53:11 +02:00
Made opertypes inheritable
This commit is contained in:
+50
-29
@@ -611,29 +611,49 @@ options
|
||||
* Below are some default example types, but this is by no means exhaustive,
|
||||
* and it is recommended that you configure them to your liking.
|
||||
*/
|
||||
|
||||
opertype
|
||||
{
|
||||
// The name of this opertype
|
||||
name = "Services Root"
|
||||
/* The name of this opertype */
|
||||
name = "Helper"
|
||||
|
||||
// What commands (see above) this opertype may use
|
||||
commands = "*"
|
||||
/* What privs (see above) this opertype has */
|
||||
privs = "hostserv/set"
|
||||
}
|
||||
|
||||
// What privs (see above) this opertype has
|
||||
privs = "*"
|
||||
opertype
|
||||
{
|
||||
/* The name of this opertype */
|
||||
name = "Services Operator"
|
||||
|
||||
/* What opertype(s) this inherits from. Seperate with a comma. */
|
||||
inherits = "Helper, Another Helper"
|
||||
|
||||
/* What commands (see above) this opertype may use */
|
||||
commands = "chanserv/list chanserv/suspend chanserv/status chanserv/topic memoserv/staff nickserv/sendpass nickserv/resetpass nickserv/suspend operserv/mode operserv/chankill operserv/szline operserv/akill operserv/session operserv/clearmodes operserv/modlist operserv/sqline operser/staff operserv/kick operserv/ignore operserv/sgline"
|
||||
|
||||
/* What privs (see above) this opertype has */
|
||||
privs = "chanserv/auspex chanserv/no-register-limit memoserv/* nickserv/auxpex nickserv/confirm"
|
||||
}
|
||||
|
||||
opertype
|
||||
{
|
||||
name = "Services Administrator"
|
||||
commands = "operserv/global operserv/news operserv/stats operserv/kick operserv/mode operserv/session operserv/modlist operserv/ignore operserv/chankill operserv/akill operserv/sqline operserv/sgline operserv/szline operserv/clearmodes operserv/staff operserv/defcon botserv/* chanserv/* nickserv/* memoserv/*"
|
||||
|
||||
inherits = "Services Operator"
|
||||
|
||||
commands = "chanserv/access/list chanserv/drop chanserv/forbid chansev/getkey chanserv/getkey chanserv/set/noexpire memoserv/sendall nickserv/getemail operserv/global operserv/news operserv/jupe operserv/svsnick operserv/stats operserv/oline operserv/defcon operserv/noop operserv/umode"
|
||||
|
||||
privs = "*"
|
||||
}
|
||||
|
||||
opertype
|
||||
{
|
||||
name = "Helper"
|
||||
privs = "hostserv/set"
|
||||
name = "Services Root"
|
||||
|
||||
commands = "*"
|
||||
|
||||
privs = "*"
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -645,26 +665,27 @@ opertype
|
||||
*
|
||||
* As with all permissions, make sure to only give trustworthy people access to Services.
|
||||
*/
|
||||
#oper
|
||||
#{
|
||||
# // The nickname of this services oper
|
||||
# name = "DukePyrolator"
|
||||
#
|
||||
# // The opertype this person will have
|
||||
# type = "Services Root"
|
||||
#}#
|
||||
#
|
||||
#oper
|
||||
#{
|
||||
# name = "nick1"
|
||||
# type = "Services Administrator"
|
||||
#}#
|
||||
#
|
||||
#oper
|
||||
#{
|
||||
# name = "nick2"
|
||||
# type = "Helper"
|
||||
#}
|
||||
|
||||
oper
|
||||
{
|
||||
/* The nickname of this services oper */
|
||||
//name = "nick1"
|
||||
|
||||
/* The opertype this person will have */
|
||||
type = "Services Root"
|
||||
}
|
||||
|
||||
oper
|
||||
{
|
||||
//name = "nick2"
|
||||
type = "Services Administrator"
|
||||
}
|
||||
|
||||
oper
|
||||
{
|
||||
//name = "nick3"
|
||||
type = "Helper"
|
||||
}
|
||||
|
||||
/*
|
||||
* [OPTIONAL] Mail Config
|
||||
|
||||
Reference in New Issue
Block a user