From c53592b06e5dc89c0c96b2876045551753499cde Mon Sep 17 00:00:00 2001 From: Super_ Date: Tue, 30 Jun 2020 21:53:55 -0400 Subject: [PATCH] update --- .../essentials/commands/Commandnear.java | 3 ++- Essentials/src/plugin.yml | 20 ------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnear.java b/Essentials/src/com/earth2me/essentials/commands/Commandnear.java index 4568f42b2..c7bb35247 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandnear.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandnear.java @@ -11,6 +11,7 @@ import java.util.Collections; import java.util.List; import java.util.PriorityQueue; import java.util.Queue; +import java.util.logging.Level; import static com.earth2me.essentials.I18n.tl; @@ -88,7 +89,7 @@ public class Commandnear extends EssentialsCommand { Queue nearbyPlayers = new PriorityQueue<>((o1, o2) -> (int) (o1.getLocation().distanceSquared(loc) - o2.getLocation().distanceSquared(loc))); for (User player : ess.getOnlineUsers()) { - if (!player.equals(user) && !player.isAuthorized("essentials.near.exclude") && (!player.isHidden(user.getBase()) || showHidden || user.getBase().canSee(player.getBase()))) { + if (!player.equals(user) && (!player.isHidden(user.getBase()) || showHidden || user.getBase().canSee(player.getBase()))) { if (getTFMHandler().isVanished(player) && !getTFMHandler().isAdmin(user)) { continue; } diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index f3ba7755c..cf8331f5d 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -92,10 +92,6 @@ commands: description: Manages the server economy. usage: / aliases: [eeco,economy,eeconomy] - enchant: - description: Enchants the item the user is holding. - usage: / [level] - aliases: [eenchant,enchantment,eenchantment] enderchest: description: Lets you see inside an enderchest. usage: / [player] @@ -124,10 +120,6 @@ commands: description: Allows you to modify a stack of fireworks. usage: / <|power [amount]|clear|fire [amount]> aliases: [efirework] - gamemode: - description: Change player gamemode. - usage: / [player] - aliases: [adventure,eadventure,adventuremode,eadventuremode,creative,ecreative,eecreative,creativemode,ecreativemode,egamemode,gm,egm,gma,egma,gmc,egmc,gms,egms,gmt,egmt,survival,esurvival,survivalmode,esurvivalmode,gmsp,sp,egmsp,spec,spectator] gc: description: Reports memory, uptime and tick info. usage: / [all] @@ -204,10 +196,6 @@ commands: description: The power of Thor. Strike at cursor or player. usage: / [player] [power] aliases: [elightning,shock,eshock,smite,esmite,strike,estrike,thor,ethor] - list: - description: List all online players. - usage: / [group] - aliases: [elist,online,eonline,playerlist,eplayerlist,plist,eplist,who,ewho] mail: description: Manages inter-player, intra-server mail. usage: / [read|clear|send [to] [message]|sendall [message]] @@ -260,10 +248,6 @@ commands: description: Pong! usage: / aliases: [echo,eecho,eping,pong,epong] - potion: - description: Adds custom potion effects to a potion. - usage: / power: duration:> - aliases: [epotion,elixer,eelixer] ptime: description: Adjust player's client time. Add @ prefix to fix. usage: / [list|reset|day|night|dawn|17:30|4pm|4000ticks] [player|*] @@ -356,10 +340,6 @@ commands: description: Enable/disable thunder. usage: / [duration] aliases: [ethunder] - time: - description: Display/Change the world time. Defaults to current world. - usage: / [day|night|dawn|17:30|4pm|4000ticks] [worldname|all] - aliases: [day,eday,night,enight,etime] top: description: Teleport to the highest block at your current position. usage: /