Files
techircd/configs/opers.conf

118 lines
2.4 KiB
Plaintext

{
"rank_names": {
"rank_1": "Helper",
"rank_2": "Moderator",
"rank_3": "Operator",
"rank_4": "Administrator",
"rank_5": "Owner"
},
"classes": [
{
"name": "helper",
"rank": 1,
"description": "Helper - Basic moderation commands",
"permissions": [
"kick",
"topic",
"mode_channel"
],
"color": "green",
"symbol": "%"
},
{
"name": "moderator",
"rank": 2,
"description": "Moderator - Channel and user management",
"permissions": [
"ban",
"unban",
"kick",
"mute",
"topic",
"mode_channel",
"mode_user",
"who_override"
],
"inherits": "helper",
"color": "blue",
"symbol": "@"
},
{
"name": "operator",
"rank": 3,
"description": "Operator - Server management commands",
"permissions": [
"kill",
"rehash",
"connect",
"squit",
"wallops",
"operwall"
],
"inherits": "moderator",
"color": "red",
"symbol": "*"
},
{
"name": "admin",
"rank": 4,
"description": "Administrator - Full server control",
"permissions": ["*"],
"color": "purple",
"symbol": "&"
},
{
"name": "owner",
"rank": 5,
"description": "Server Owner - Ultimate authority",
"permissions": [
"*",
"shutdown",
"restart"
],
"color": "gold",
"symbol": "~"
}
],
"opers": [
{
"name": "admin",
"password": "changeme_please",
"host": "*@localhost",
"class": "admin",
"flags": [],
"max_clients": 1000,
"contact": "admin@example.com",
"last_seen": ""
},
{
"name": "helper1",
"password": "helper_password",
"host": "*@192.168.1.*",
"class": "helper",
"flags": [],
"max_clients": 100,
"contact": "helper@example.com",
"last_seen": ""
}
],
"settings": {
"require_ssl": false,
"max_failed_attempts": 3,
"lockout_duration_minutes": 30,
"allowed_commands": [
"OPER",
"KILL",
"REHASH",
"WALLOPS",
"OPERWALL",
"CONNECT",
"SQUIT"
],
"log_oper_actions": true,
"notify_on_oper_up": true,
"auto_expire_inactive_days": 365,
"require_two_factor": false
}
}