rip supervanish

This commit is contained in:
Telesphoreo 2020-08-15 18:03:26 -05:00
parent 04a7b633a4
commit ed5d18c0df
2 changed files with 16 additions and 158 deletions

View File

@ -274,13 +274,19 @@ public class Discord extends FreedomService
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.MONITOR)
public void onPlayerJoin(PlayerJoinEvent event) public void onPlayerJoin(PlayerJoinEvent event)
{ {
messageChatChannel("**" + deformat(event.getPlayer().getName()) + " joined the server" + "**"); if (!plugin.sl.isVanished(event.getPlayer().getName()))
{
messageChatChannel("**" + deformat(event.getPlayer().getName()) + " joined the server" + "**");
}
} }
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.MONITOR)
public void onPlayerLeave(PlayerQuitEvent event) public void onPlayerLeave(PlayerQuitEvent event)
{ {
messageChatChannel("**" + deformat(event.getPlayer().getName()) + " left the server" + "**"); if (!plugin.sl.isVanished(event.getPlayer().getName()))
{
messageChatChannel("**" + deformat(event.getPlayer().getName()) + " left the server" + "**");
}
} }
public void messageChatChannel(String message) public void messageChatChannel(String message)

View File

@ -1,5 +1,6 @@
# #
# TotalFreedomMod Permissions # TotalFreedomMod 5.5 Permissions
# by ZeroEpoch1969
# #
# Note that every group inherits the previous groups' permissions # Note that every group inherits the previous groups' permissions
@ -10,146 +11,9 @@
remove: remove:
- "voxelsniper" - "voxelsniper"
- "bending" - "bending"
- "essentials"
- "sv"
# Operator permission nodes # Operator permission nodes
operators: operators:
# Essentials
- "essentials.afk"
- "essentials.afk.message"
- "essentials.afk.auto"
- "essentials.back"
- "essentials.back.*"
- "essentials.balance"
- "essentials.balance.others"
- "essentials.balancetop"
- "essentials.bigtree"
- "essentials.book"
- "essentials.book.title"
- "essentials.book.others"
- "essentials.commandcooldowns.bypass"
- "essentials.compass"
- "essentials.condense"
- "essentials.createkit"
- "essentials.delkit"
- "essentials.delwarp"
- "essentials.depth"
- "essentials.disposal"
- "essentials.eco"
- "essentials.eco.loan"
- "essentials.enderchest"
- "essentials.exp"
- "essentials.exp.give"
- "essentials.exp.others"
- "essentials.exp.set"
- "essentials.ext"
- "essentials.feed"
- "essentials.feed.cooldown.bypass"
- "essentials.firework"
- "essentials.firework.fire"
- "essentials.firework.multiple"
- "essentials.fly"
- "essentials.fly.safelogin"
- "essentials.gc"
- "essentials.getpos"
- "essentials.give"
- "essentials.give.item-all"
- "essentials.god"
- "essentials.god.pvp" # Handled by TFM
- "essentials.hat"
- "essentials.heal"
- "essentials.heal.cooldown.bypass"
- "essentials.help"
- "essentials.home.compass"
- "essentials.home.bed"
- "essentials.ignore"
- "essentials.item"
- "essentials.itemlore"
- "essentials.itemdb"
- "essentials.itemname"
- "essentials.jump"
- "essentials.jump.lock"
- "essentials.kit"
- "essentials.kits.*"
- "essentials.beezooka"
- "essentials.mail"
- "essentials.mail.send"
- "essentials.me"
- "essentials.more"
- "essentials.motd"
- "essentials.msg"
- "essentials.msgtoggle"
- "essentials.near"
- "essentials.near.maxexempt"
- "essentials.nick"
- "essentials.nick.blacklist.bypass"
- "essentials.nick.changecolors"
- "essentials.nick.changecolors.bypass"
- "essentials.nick.rgb"
- "essentials.nocommandcost.all"
- "essentials.oversizedstacks"
- "essentials.pay"
- "essentials.pay.multiple"
- "essentials.payconfirmtoggle"
- "essentials.paytoggle"
- "essentials.ping"
- "essentials.ptime"
- "essentials.pweather"
- "essentials.rtoggle"
- "essentials.realname"
- "essentials.recipe"
- "essentials.remove"
- "essentials.repair"
- "essentials.repair.*"
- "essentials.rest"
- "essentials.rules"
- "essentials.seen"
- "essentials.sell"
- "essentials.sell.*"
- "essentials.home"
- "essentials.sethome"
- "essentials.sethome.bed"
- "essentials.sethome.multiple"
- "essentials.sethome.multiple.unlimited"
- "essentials.delhome"
- "essentials.setwarp"
- "essentials.setworth"
- "essentials.showkit"
- "essentials.skull"
- "essentials.skull.*"
- "essentials.spawn"
- "essentials.spawner"
- "essentials.speed"
- "essentials.speed.fly"
- "essentials.speed.walk"
- "essentials.suicide"
- "essentials.top"
- "essentials.tp"
- "essentials.tp.position"
- "essentials.tpoffline"
- "essentials.tpa"
- "essentials.tpacancel"
- "essentials.tpaccept"
- "essentials.tpahere"
- "essentials.tpdeny"
- "essentials.tppos"
- "essentials.tptoggle"
- "essentials.tree"
- "essentials.unlimited"
- "essentials.unlimited.item-all"
- "essentials.unlimited.others"
- "essentials.warp"
- "essentials.warp.list"
- "essentials.whois"
- "essentials.workbench"
- "essentials.world"
- "essentials.worth"
- "essentials.signs.*"
- "essentials.editsign"
- "essentials.editsign.rgb"
- "essentials.editsign.color"
# WorldEdit # WorldEdit
- "worldedit.help" - "worldedit.help"
- "worldedit.history.undo.self" - "worldedit.history.undo.self"
@ -196,27 +60,15 @@ master_builders:
- "voxelsniper.goto" - "voxelsniper.goto"
- "voxelsniper.brush.*" - "voxelsniper.brush.*"
# Trial Mod permission nodes # Super Admin permission nodes
trial_mods: super_admins:
- "coreprotect.*" - "coreprotect.*"
- "worldedit.*" - "worldedit.*"
- "worldguard.*" - "worldguard.*"
- "bending.*" - "bending.*"
- "essentials.chat.ignoreexempt"
- "essentials.chat.spy"
- "essentials.seen.ip"
- "essentials.seen.ipsearch"
- "essentials.setspawn"
- "essentials.socialspy"
- "essentials.tphere"
- "essentials.tpo"
- "essentials.tpohere"
- "sv.see"
- "sv.toggleitems"
# Mod permission nodes # Telnet Admin permission nodes
mods: [] telnet_admins: []
# Admin permission nodes # Senior Admin permission nodes
admins: senior_admins: []
- "sv.others"