StaffWarn 1.0.1

Warns a staff member when they use a permission that default players do not have

  1. Darrionat
    Tested Minecraft Versions:
    • 1.16
    Source Code:
    https://github.com/Darrionat/StaffWarn
    Languages Supported:
    All languages supported
    StaffWarn

    StaffWarn is a plugin that focuses on reminding your staff of when they are using commands that normal players do not have, which can help prevent accidental abuse of power. In order to check commands and permissions are in use, this plugin depends on LuckPerms.

    This does not explicitly apply to staff members, but it applies to any players that use a specific permission that the default group, defined in the config.yml, does not have.​

    Dependencies
    LuckPerms

    Configuration Files
    Code (YAML):
    defaultGroup: default

    Code (Text):
    prefix:
      enabled: false
      prefix: '&4Staff Alert: '
    alert: '&7Default players lack the permission &e%permission% &7so they cannot use &e%command%'

    All permissions and commands that are being checked must be added to the commandPermissions.yml.
    The commands and permissions from EssentialsX have already been added to this file.
    Code (YAML):
    afk: essentials.afk
    afk
    : essentials.afk.message
    afk
    : essentials.afk.others
    afk
    : essentials.afk.auto
    afk
    : essentials.afk.kickexempt
    antioch
    : essentials.antioch
    back
    : essentials.back
    back
    : essentials.back.ondeath
    back
    : essentials.back.onteleport
    backup
    : essentials.backup
    balance
    : essentials.balance
    balance
    : essentials.balance.others
    balancetop
    : essentials.balancetop
    balancetop
    : essentials.balancetop.force
    ban
    : essentials.ban
    ban
    : essentials.ban.exempt
    ban
    : essentials.ban.offline
    banip
    : essentials.banip
    unban
    : essentials.unban
    unbanip
    : essentials.unbanip
    bigtree
    : essentials.bigtree
    book
    : essentials.book
    book
    : essentials.book.author
    book
    : essentials.book.others
    book
    : essentials.book.title
    break
    : essentials.break
    break
    : essentials.break.bedrock
    broadcast
    : essentials.broadcast
    broadcastworld
    : essentials.broadcastworld
    burn
    : essentials.burn
    me
    : essentials.chat.spy
    clearinventory
    : essentials.clearinventory
    clearinventory
    : essentials.clearinventory.all
    clearinventory
    : essentials.clearinventory.multiple
    clearinventory
    : essentials.clearinventory.others
    clearinventoryconfirmtoggle
    : essentials.clearinventoryconfirmtoggle
    compass
    : essentials.compass
    condense
    : essentials.condense
    createkit
    : essentials.createkit
    delkit
    : essentials.delkit
    customtext
    : essentials.customtext
    delwarp
    : essentials.delwarp
    depth
    : essentials.depth
    disposal
    : essentials.disposal
    eco
    : essentials.eco
    eco
    : essentials.eco.loan
    enchant
    : essentials.enchant
    give
    : essentials.enchantments.allowunsafe
    enderchest
    : essentials.enderchest
    enderchest
    : essentials.enderchest.others
    essentials
    : essentials.essentials
    exp
    : essentials.exp
    exp
    : essentials.exp.give
    exp
    : essentials.exp.give.others
    exp
    : essentials.exp.others
    exp
    : essentials.exp.set
    exp
    : essentials.exp.set.others
    ext
    : essentials.ext
    ext
    : essentials.ext.others
    feed
    : essentials.feed
    feed
    : essentials.feed.cooldown.bypass
    feed
    : essentials.feed.others
    fireball
    : essentials.fireball
    fireball
    : essentials.fireball.fireball
    fireball
    : essentials.fireball.small
    fireball
    : essentials.fireball.large
    fireball
    : essentials.fireball.arrow
    fireball
    : essentials.fireball.skull
    fireball
    : essentials.fireball.egg
    fireball
    : essentials.fireball.snowball
    fireball
    : essentials.fireball.expbottle
    fireball
    : essentials.fireball.dragon
    fireball
    : essentials.fireball.splashpotion
    fireball
    : essentials.fireball.lingeringpotion
    fireball
    : essentials.fireball.trident
    firework
    : essentials.firework
    firework
    : essentials.firework.fire
    firework
    : essentials.firework.multiple
    fly
    : essentials.fly
    gamemode
    : essentials.gamemode
    gamemode
    : essentials.gamemode.all
    gamemode
    : essentials.gamemode.others
    gc
    : essentials.gc
    getpos
    : essentials.getpos
    getpos
    : essentials.getpos.others
    give
    : essentials.give
    give
    : essentials.give.item-all
    give
    : essentials.give.item-[itemname]
    give
    : essentials.give.item-[itemid]
    god
    : essentials.god
    god
    : essentials.god.pvp
    hat
    : essentials.hat
    heal
    : essentials.heal
    heal
    : essentials.heal.cooldown.bypass
    heal
    : essentials.heal.others
    help
    : essentials.help
    helpop
    : essentials.helpop
    helpop
    : essentials.helpop.receive
    home
    : essentials.home.compass
    home
    : essentials.home.bed
    home
    : essentials.home.others
    ignore
    : essentials.ignore
    info
    : essentials.info
    invsee
    : essentials.invsee
    invsee
    : essentials.invsee.equip
    invsee
    : essentials.invsee.modify
    invsee
    : essentials.invsee.preventmodify
    item
    : essentials.item
    itemlore
    : essentials.itemlore
    itemdb
    : essentials.itemdb
    itemname
    : essentials.itemname
    itemname
    : essentials.itemname.<effect>
    more
    : essentials.itemspawn.exempt
    togglejail
    : essentials.jail.exempt
    jails
    : essentials.jails
    deljail
    : essentials.deljail
    jail
    : essentials.jail.allow-break
    jail
    : essentials.jail.allow-place
    jail
    : essentials.jail.allow-block-damage
    jail
    : essentials.jail.allow-interact
    jump
    : essentials.jump
    jump
    : essentials.jump.lock
    back
    : essentials.keepxp
    kick
    : essentials.kick
    kick
    : essentials.kick.exempt
    kick
    : essentials.kick.notify
    kickall
    : essentials.kickall
    kickall
    : essentials.kickall.exempt
    kill
    : essentials.kill
    kill
    : essentials.kill.exempt
    kill
    : essentials.kill.force
    kit
    : essentials.kit
    kit
    : essentials.kit.exemptdelay
    kit
    : essentials.kit.others
    kittycannon
    : essentials.kittycannon
    beezooka
    : essentials.beezooka
    lightning
    : essentials.lightning
    lightning
    : essentials.lightning.others
    list
    : essentials.list
    list
    : essentials.list.hidden
    mail
    : essentials.mail
    mail
    : essentials.mail.send
    mail
    : essentials.mail.sendall
    me
    : essentials.me
    more
    : essentials.more
    motd
    : essentials.motd
    msg
    : essentials.msg
    msg
    : essentials.msg.color
    msg
    : essentials.msg.rgb
    msg
    : essentials.msg.magic
    msg
    : essentials.msg.url
    msg
    : essentials.msg.format
    msg
    : essentials.msg.multiple
    msgtoggle
    : essentials.msgtoggle
    mute
    : essentials.mute
    mute
    : essentials.mute.exempt
    mute
    : essentials.mute.unlimited
    mute
    : essentials.mute.offline
    near
    : essentials.near
    near
    : essentials.near.maxexempt
    near
    : essentials.near.others
    near
    : essentials.near.exclude
    nick
    : essentials.nick
    nick
    : essentials.nick.<color>
    nick
    : essentials.nick.blacklist.bypass
    nick
    : essentials.nick.changecolors
    nick
    : essentials.nick.changecolors.bypass
    nick
    : essentials.nick.rgb
    nick
    : essentials.nick.others
    nuke
    : essentials.nuke
    give
    : essentials.oversizedstacks
    pay
    : essentials.pay
    pay
    : essentials.pay.multiple
    pay
    : essentials.pay.offline
    payconfirmtoggle
    : essentials.payconfirmtoggle
    paytoggle
    : essentials.paytoggle
    ping
    : essentials.ping
    potion
    : essentials.potion.[potionName]
    potion
    : essentials.potion.apply
    powertool
    : essentials.powertool
    powertool
    : essentials.powertool.append
    powertooltoggle
    : essentials.powertooltoggle
    ptime
    : essentials.ptime
    ptime
    : essentials.ptime.others
    pweather
    : essentials.pweather
    pweather
    : essentials.pweather.others
    r
    : essentials.msg
    rtoggle
    : essentials.rtoggle
    realname
    : essentials.realname
    recipe
    : essentials.recipe
    remove
    : essentials.remove
    repair
    : essentials.repair
    repair
    : essentials.repair.all
    repair
    : essentials.repair.armor
    repair
    : essentials.repair.enchanted
    rest
    : essentials.rest
    rest
    : essentials.rest.others
    rules
    : essentials.rules
    seen
    : essentials.seen
    seen
    : essentials.seen.banreason
    seen
    : essentials.seen.ip
    seen
    : essentials.seen.ipsearch
    seen
    : essentials.seen.location
    alts
    : essentials.seen.alts
    sell
    : essentials.sell
    sell
    : essentials.sell.bulk
    sell
    : essentials.sell.hand
    home
    : essentials.home
    sethome
    : essentials.sethome
    sethome
    : essentials.sethome.multiple.[set name]
    home
    : essentials.sethome.multiple.unlimited
    sethome
    : essentials.sethome.others
    delhome
    : essentials.delhome
    delhome
    : essentials.delhome.others
    setjail
    : essentials.setjail
    setspawn
    : essentials.setspawn
    setwarp
    : essentials.setwarp
    setworth
    : essentials.setworth
    showkit
    : essentials.showkit
    skull
    : essentials.skull
    skull
    : essentials.skull.modify
    skull
    : essentials.skull.others
    skull
    : essentials.skull.spawn
    socialspy
    : essentials.socialspy
    spawn
    : essentials.spawn
    spawn
    : essentials.spawn.others
    spawner
    : essentials.spawner
    spawnmob
    : essentials.spawnmob
    spawnmob
    : essentials.spawnmob.stack
    speed
    : essentials.speed
    speed
    : essentials.speed.bypass
    speed
    : essentials.speed.fly
    speed
    : essentials.speed.others
    speed
    : essentials.speed.walk
    sudo
    : essentials.sudo
    sudo
    : essentials.sudo.exempt
    sudo
    : essentials.sudo.multiple
    suicide
    : essentials.suicide
    tempban
    : essentials.tempban
    tempban
    : essentials.tempban.exempt
    tempban
    : essentials.tempban.offline
    tempban
    : essentials.tempban.unlimited
    thunder
    : essentials.thunder
    time
    : essentials.time
    time
    : essentials.time.set
    time
    : essentials.time.world.all
    togglejail
    : essentials.togglejail
    togglejail
    : essentials.togglejail.offline
    top
    : essentials.top
    tp
    : essentials.tp
    tpauto
    : essentials.tpauto
    tpo
    : essentials.tp.others
    tp
    : essentials.tp.position
    tpoffline
    : essentials.tpoffline
    tpa
    : essentials.tpa
    tpaall
    : essentials.tpaall
    tpacancel
    : essentials.tpacancel
    tpaccept
    : essentials.tpaccept
    tpahere
    : essentials.tpahere
    tpall
    : essentials.tpall
    tpdeny
    : essentials.tpdeny
    tphere
    : essentials.tphere
    tpo
    : essentials.tpo
    tpohere
    : essentials.tpohere
    tppos
    : essentials.tppos
    tptoggle
    : essentials.tptoggle
    tpr
    : essentials.tpr
    settpr
    : essentials.settpr
    tree
    : essentials.tree
    unlimited
    : essentials.unlimited
    unlimited
    : essentials.unlimited.item-all
    unlimited
    : essentials.unlimited.item-bucket
    unlimited
    : essentials.unlimited.others
    vanish
    : essentials.vanish
    vanish
    : essentials.vanish.pvp
    vanish
    : essentials.vanish.see
    essentials
    : essentials.version
    warp
    : essentials.warp
    warp
    : essentials.warp.list
    warp
    : essentials.warp.otherplayers
    warp
    : essentials.warp.others
    warpinfo
    : essentials.warpinfo
    weather
    : essentials.weather
    whois
    : essentials.whois
    workbench
    : essentials.workbench
    anvil
    : essentials.anvil
    cartographytable
    : essentials.cartographytable
    grindstone
    : essentials.grindstone
    loom
    : essentials.loom
    smithingtable
    : essentials.smithingtable
    stonecutter
    : essentials.stonecutter
    world
    : essentials.world
    worth
    : essentials.worth
    fly
    : essentials.fly.others
    god
    : essentials.god.others
    msgtoggle
    : essentials.msgtoggle.others
    socialspy
    : essentials.socialspy.others
    tptoggle
    : essentials.tptoggle.others
    vanish
    : essentials.vanish.others
    editsign
    : essentials.editsign
    editsign
    : essentials.editsign.unlimited
    editsign
    : essentials.editsign.rgb
    editsign
    : essentials.editsign.color
    editsign
    : essentials.editsign.<color>
    give
    : essentials.itemspawn.meta-chapter-[chapter]
    help
    : essentials.help.[pluginname]
    help
    : essentials.help.[pluginname].[command]
    togglejail
    : essentials.jail.allow.<command>
    kit
    : essentials.kits.*
    kit
    : essentials.kits.[kitname]
    spawner
    : essentials.spawner.*
    spawner
    : essentials.spawner.[mob]
    spawner
    : essentials.spawnerconvert.*
    spawner
    : essentials.spawnerconvert.[mob]
    spawnmob
    : essentials.spawnmob.*
    spawnmob
    : essentials.spawnmob.[mob]
    unlimited
    : essentials.unlimited.item-[itemid]
    unlimited
    : essentials.unlimited.item-[itemname]
    setwarp
    : essentials.warp.overwrite.*
    setwarp
    : essentials.warp.overwrite.[warpname]
    warp
    : essentials.warps.*
    warp
    : essentials.warps.[warpname]
    back
    : essentials.worlds.<worldname>
    home
    : essentials.worlds.<worldname>
    tp
    : essentials.worlds.<worldname>
    tpa
    : essentials.worlds.<worldname>
    tpaall
    : essentials.worlds.<worldname>
    tpahere
    : essentials.worlds.<worldname>
    tpall
    : essentials.worlds.<worldname>
    tphere
    : essentials.worlds.<worldname>
    tpo
    : essentials.worlds.<worldname>
    tpohere
    : essentials.worlds.<worldname>
    world
    : essentials.worlds.<worldname>
    item
    : essentials.itemspawn.meta-chapter-[chapter]
    ban
    : essentials.ban.notify
    banip
    : essentials.banip.notify
    tempban
    : essentials.ban.notify
    unban
    : essentials.ban.notify
    unbanip
    : essentials.banip.notify
    enchant
    : essentials.enchantments.[enchantmentname]
    give
    : essentials.enchantments.[enchantmentname]
    item
    : essentials.enchantments.[enchantmentname]
    enchant
    : essentials.enchantments.allowunsafe
    give
    : essentials.enchantments.allowunsafe
    item
    : essentials.enchantments.allowunsafe
    give
    : essentials.itemspawn.item-<itemname>
    give
    : essentials.itemspawn.item-[itemid]
    item
    : essentials.itemspawn.item-[itemid]
    item
    : essentials.itemspawn.item-[itemname]
    give
    : essentials.itemspawn.item-all
    item
    : essentials.itemspawn.item-all
    give
    : essentials.itemspawn.meta-author
    item
    : essentials.itemspawn.meta-author
    give
    : essentials.itemspawn.meta-book
    item
    : essentials.itemspawn.meta-book
    give
    : essentials.itemspawn.meta-firework
    item
    : essentials.itemspawn.meta-firework
    give
    : essentials.itemspawn.meta-head
    item
    : essentials.itemspawn.meta-head
    give
    : essentials.itemspawn.meta-lore
    item
    : essentials.itemspawn.meta-lore
    give
    : essentials.itemspawn.meta-title
    item
    : essentials.itemspawn.meta-title
    give
    : essentials.oversizedstacks
    item
    : essentials.oversizedstacks
    more
    : essentials.oversizedstacks
    vanish
    : essentials.vanish.effect
    vanish
    : essentials.vanish.interact
    back
    : essentials.back.into.<worldname>
    whois
    : essentials.whois.ip
    gamemode
    : essentials.gamemode.creative
    gamemode
    : essentials.gamemode.survival
    gamemode
    : essentials.gamemode.adventure
    gamemode
    : essentials.gamemode.spectator
    nick
    : essentials.nick.allowunsafe
    msg
    : essentials.msgtoggle.bypass
    tpauto
    : essentials.tpauto.others
    nick
    : essentials.nick.color
    nick
    : essentials.nick.magic
    nick
    : essentials.nick.format
    back
    : essentials.keepinv
    back
    : essentials.back.others
    mute
    : essentials.mute.notify
    balancetop
    : essentials.balancetop.exclude
    hat
    : essentials.hat.prevent-type.<item-name>
    hat
    : essentials.hat.ignore-binding
    setxmpp
    : essentials.setxmpp
    xmpp
    : essentials.xmpp
    xmppspy
    : essentials.xmppspy
    whois
    : essentials.geoip.show