Advertisement
Guest User

operclass.default

a guest
Aug 4th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. /* This file defines a number of default operclass blocks which you can
  2. * use in your oper blocks (via oper::operclass).
  3. *
  4. * This file is normally included from your unrealircd.conf through:
  5. * include "operclass.default.conf";
  6. *
  7. * The operclass block is extensively documented at:
  8. * https://www.unrealircd.org/docs/Operclass_block
  9. *
  10. * DO NOT EDIT THIS FILE! IT WILL BE OVERWRITTEN DURING NEXT UPGRADE!!
  11. * Instead, if you want to change the privileges in an operclass block,
  12. * you should copy the definition, or this entire file, to either your
  13. * unrealircd.conf or some other file (eg: operclass.conf) that you
  14. * you will include from your unrealircd.conf.
  15. * Then edit it, and while doing so don't forget to change the name
  16. * of your custom operclass block(s), so operclass <name>.
  17. */
  18.  
  19. /* Local IRC Operator */
  20. operclass locop {
  21. privileges {
  22. privacy;
  23. chat;
  24. channel;
  25. client;
  26. immune;
  27. self;
  28. notice { local; };
  29. server { opermotd; info; close; module; dns; rehash; };
  30. route { local; };
  31. kill { local; };
  32. tkl {
  33. kline;
  34. zline { local; };
  35. };
  36. trace { local; invisible-users; };
  37. map;
  38. };
  39. };
  40.  
  41. /* Global IRC Operator */
  42. operclass globop {
  43. privileges {
  44. privacy;
  45. chat;
  46. channel;
  47. client;
  48. immune;
  49. notice;
  50. self;
  51. server { opermotd; info; close; remote; module; dns; rehash; };
  52. route;
  53. kill;
  54. tkl { shun; zline; kline; gline; };
  55. trace;
  56. who;
  57. override { see; };
  58. map;
  59. };
  60. };
  61.  
  62. /* Server administrator */
  63. operclass admin {
  64. privileges {
  65. privacy;
  66. chat;
  67. channel;
  68. client;
  69. immune;
  70. notice;
  71. self;
  72. server { opermotd; info; close; remote; module; dns; addline; rehash; description; addmotd; addomotd; tsctl; };
  73. route;
  74. kill;
  75. tkl { shun; zline; kline; gline; };
  76. spamfilter;
  77. trace;
  78. who;
  79. override { see; };
  80. map;
  81. };
  82. };
  83.  
  84. /* Services Admin */
  85. operclass services-admin {
  86. privileges {
  87. privacy;
  88. chat;
  89. channel;
  90. client;
  91. immune;
  92. notice;
  93. self;
  94. server { opermotd; info; close; remote; module; dns; addline; rehash; description; addmotd; addomotd; tsctl; };
  95. route;
  96. kill;
  97. tkl { shun; zline; kline; gline; };
  98. spamfilter;
  99. trace;
  100. who;
  101. sajoin;
  102. sapart;
  103. samode;
  104. override { see; };
  105. };
  106. };
  107.  
  108. /* Network Administrator */
  109. operclass netadmin {
  110. privileges {
  111. privacy;
  112. chat;
  113. channel;
  114. client;
  115. immune;
  116. notice;
  117. self;
  118. server { opermotd; info; close; remote; module; dns; addline; rehash; description; addmotd; addomotd; tsctl; };
  119. kill;
  120. tkl { shun; zline; kline; gline; };
  121. route;
  122. spamfilter;
  123. trace;
  124. who;
  125. sajoin;
  126. sapart;
  127. samode;
  128. servicebot { deop; kill; };
  129. override { see; };
  130. map;
  131. };
  132. };
  133.  
  134. /* Same as 'globop' operclass, but with OperOverride capabilities added */
  135. operclass globop-with-override {
  136. parent globop;
  137. privileges {
  138. override;
  139. };
  140. };
  141.  
  142. /* Same as 'admin' operclass, but with OperOverride capabilities added */
  143. operclass admin-with-override {
  144. parent admin;
  145. privileges {
  146. override;
  147. };
  148. };
  149.  
  150. /* Same as 'services-admin' operclass, but with OperOverride capabilities added */
  151. operclass services-admin-with-override {
  152. parent services-admin;
  153. privileges {
  154. override;
  155. };
  156. };
  157.  
  158. /* Same as 'netadmin' operclass, but with OperOverride capabilities added */
  159. operclass netadmin-with-override {
  160. parent netadmin;
  161. privileges {
  162. override;
  163. };
  164. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement