Hello!
Need help with config groups/users for BF4.
It does not work directive !kill , !warn, !kick, !ban, !nuke for admins and moders users.
Error: pm: no permissions to execute command
When moderators and administrators users come - all join in default group.
[19.10.16 19:36:15] Info: default andrikx2k (1) has joined. (GUID: ea_08e550ea19f8cdcd1d86e83f18d825e9)
[20.10.16 15:56:19] Info: default Omirax (1) has joined. (GUID: ea_93074b94af0f7891f429c000a5df8370)
Please help me!
users.json
Code
{
"apiuser": {
"group": "ops",
"names": [
"apiuser"
],
"api": {
"username": "admin",
"password": "df6207eb15b74782bf56eb138c4c8bccb1a32b4d12dc0c40ac2c5d80aecda6a90c6e0a532e764964d556a902e7f399a6351dd5641108e9a37f77efa78f90366a"
}
},
"1": {
"group": "admins",
"names": [
"Omirax"
],
"secret": "SM3CD6PRRFIXILOO",
"api": {
"username": "admin",
"password": "df6207eb15b74782bf56eb138c4c8bccb1a32b4d12dc0c40ac2c5d80aecda6a90c6e0a532e764964d556a902e7f399a6351dd5641108e9a37f77efa78f90366a"
}
},
"100": {
"group": "mods",
"names": [
"andrikx2k"
],
"api": {
"username": "admin",
"password": "df6207eb15b74782bf56eb138c4c8bccb1a32b4d12dc0c40ac2c5d80aecda6a90c6e0a532e764964d556a902e7f399a6351dd5641108e9a37f77efa78f90366a"
},
"secret": "UNO23DSVQ7TWILSQ"
},
"APIUSER": {
"group": "ops",
"names": [
"APIUSER"
],
"api": {
"username": "admin",
"password": "df6207eb15b74782bf56eb138c4c8bccb1a32b4d12dc0c40ac2c5d80aecda6a90c6e0a532e764964d556a902e7f399a6351dd5641108e9a37f77efa78f90366a"
}
}
}
Alles anzeigen
group.json
Code
{
"ops": {
"displayname": "Operator",
"inheritance": [],
"permissions": [
"*"
],
"shownasadmin": true,
"needstologin": true
},
"admins": {
"displayname": "Administrator",
"inheritance": [
"mods"
],
"permissions": [
"daemon.map.change.*",
"daemon.map.dev",
"daemon.map.reset",
"daemon.map.restart",
"daemon.map.rotate",
"daemon.map.set.*",
"daemon.pb.banlist",
"daemon.pb.restart",
"daemon.pb.unban",
"daemon.pb.update",
"daemon.round.*",
"daemon.set.*",
"punishment.immunity.ban",
"punishment.immunity.kick",
"punishment.immunity.kill",
"punishment.immunity.tempban",
"punishment.immunity.warn",
"punishments.punish.ban.*",
"punishments.score.remove.*",
"punishments.unban",
"votings.vote.cancel",
"votings.vote.pass",
"punishment.punish.kick.*",
"punishment.punish.warn.*",
"punishment.punish.tempban.*",
"punishment.punish.ban.*",
"nuke.*"
],
"shownasadmin": true,
"needstologin": true
},
"mods": {
"displayname": "Moderator",
"inheritance": [
"vips"
],
"permissions": [
"daemon.info.*",
"daemon.move.*",
"daemon.say",
"daemon.scream",
"daemon.whisper",
"daemon.yell",
"nameprotection.immunity.identicname",
"nameprotection.immunity.namechanges",
"nameprotection.immunity.reservedname",
"nuke.*",
"pingchecker.pingkick.*",
"punishment.punish.kick.*",
"punishment.punish.kill.*",
"punishment.score.get.*",
"punishment.score.list.*",
"punkbuster.pb.getss",
"statistics.stats.reset.*",
"twofactorauth.secret"
],
"shownasadmin": true,
"needstologin": true
},
"vips": {
"displayname": "Very Important Player",
"inheritance": [
"default"
],
"permissions": [
"-daemon.get.password",
"antiteamkill.immunity",
"balancer.balance",
"censor.immunity.badname",
"censor.immunity.badword",
"censor.immunity.uppercasename",
"censor.immunity.uppercaseword",
"daemon.aliases.*",
"daemon.get.*",
"daemon.pb.version",
"daemon.players",
"daemon.status",
"geoip.location.*",
"nuke.immunity",
"permissions.group.get.*",
"pingchecker.immunity.maxping",
"pingchecker.immunity.minping",
"pingchecker.immunity.pingkick",
"punishments.punish.tempban.*",
"statistics.stats.reset",
"statistics.stats.server",
"statistics.stats.show.*",
"votings.immunity.ban",
"votings.immunity.kick",
"votings.immunity.tempban",
"weaponrestrictions.immunity"
],
"shownasadmin": false,
"needstologin": false
},
"default": {
"displayname": "Player",
"permissions": [
"antiteamkill.forgive",
"antiteamkill.tki",
"daemon.about",
"daemon.admins",
"daemon.aliases",
"daemon.cointoss",
"daemon.commands",
"daemon.gametype.get",
"daemon.gametype.list",
"daemon.help",
"daemon.info",
"daemon.map.get",
"daemon.map.list",
"daemon.time",
"funmessages.fun.*",
"geoip.location",
"permissions.group.get",
"permissions.token.use",
"punishments.score.get",
"punishments.score.list",
"reports.report",
"rules.rules",
"statistics.stats.session",
"statistics.stats.show",
"twofactorauth.login",
"votings.vote.choice",
"votings.vote.no",
"votings.vote.skip",
"votings.vote.start.*",
"votings.vote.yes",
"punishment.punish.kick.*",
"punishment.punish.warn.*",
"punishment.punish.tempban.*",
"punishment.punish.ban.*",
"nuke.*"
],
"shownasadmin": false,
"needstologin": false
}
}
Alles anzeigen