This commit is contained in:
Super_ 2020-06-30 21:53:55 -04:00
parent 18776a8f05
commit c53592b06e
2 changed files with 2 additions and 21 deletions

View file

@ -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<User> 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;
}

View file

@ -92,10 +92,6 @@ commands:
description: Manages the server economy.
usage: /<command> <give|take|set|reset> <player> <amount>
aliases: [eeco,economy,eeconomy]
enchant:
description: Enchants the item the user is holding.
usage: /<command> <enchantmentname> [level]
aliases: [eenchant,enchantment,eenchantment]
enderchest:
description: Lets you see inside an enderchest.
usage: /<command> [player]
@ -124,10 +120,6 @@ commands:
description: Allows you to modify a stack of fireworks.
usage: /<command> <<meta param>|power [amount]|clear|fire [amount]>
aliases: [efirework]
gamemode:
description: Change player gamemode.
usage: /<command> <survival|creative|adventure|spectator> [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: /<command> [all]
@ -204,10 +196,6 @@ commands:
description: The power of Thor. Strike at cursor or player.
usage: /<command> [player] [power]
aliases: [elightning,shock,eshock,smite,esmite,strike,estrike,thor,ethor]
list:
description: List all online players.
usage: /<command> [group]
aliases: [elist,online,eonline,playerlist,eplayerlist,plist,eplist,who,ewho]
mail:
description: Manages inter-player, intra-server mail.
usage: /<command> [read|clear|send [to] [message]|sendall [message]]
@ -260,10 +248,6 @@ commands:
description: Pong!
usage: /<command>
aliases: [echo,eecho,eping,pong,epong]
potion:
description: Adds custom potion effects to a potion.
usage: /<command> <clear|apply|effect:<effect> power:<power> duration:<duration>>
aliases: [epotion,elixer,eelixer]
ptime:
description: Adjust player's client time. Add @ prefix to fix.
usage: /<command> [list|reset|day|night|dawn|17:30|4pm|4000ticks] [player|*]
@ -356,10 +340,6 @@ commands:
description: Enable/disable thunder.
usage: /<command> <true/false> [duration]
aliases: [ethunder]
time:
description: Display/Change the world time. Defaults to current world.
usage: /<command> [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: /<command>