Available Methods
- sendMessage ( )
- hasPermission ( )
- getUniqueId ( )
- openInventory ( )
- getName ( )
- getLocation ( )
- teleport ( )
- playSound ( )
- isOnline ( )
- isOp ( )
- getGameMode ( )
- updateInventory ( )
- getWorld ( )
- closeInventory ( )
- addPotionEffect ( )
- setAllowFlight ( )
- getHealth ( )
- setHealth ( )
- hasMetadata ( )
- getInventory ( )
- sendPluginMessage ( )
- getItemInHand ( )
- setExp ( )
- setMetadata ( )
- removeMetadata ( )
- getActivePotionEffects ( )
- setVelocity ( )
- removePotionEffect ( )
- setFoodLevel ( )
- setFlying ( )
- equals ( )
- hidePlayer ( )
- getDisplayName ( )
- setGameMode ( )
- setOp ( )
- setLevel ( )
- performCommand ( )
- isSneaking ( )
- setItemInHand ( )
- getFoodLevel ( )
- setScoreboard ( )
- setMaxHealth ( )
- getScoreboard ( )
- setFireTicks ( )
- canSee ( )
- hasPotionEffect ( )
- setSaturation ( )
- isDead ( )
- kickPlayer ( )
- sendTitle ( )
- sendBlockChange ( )
- getMaxHealth ( )
- getEffectivePermissions ( )
- setExhaustion ( )
- getEyeLocation ( )
- getLevel ( )
- setFlySpeed ( )
- giveExp ( )
- isGliding ( )
- getOpenInventory ( )
- getMetadata ( )
- isInsideVehicle ( )
- getFireTicks ( )
- isValid ( )
- getAllowFlight ( )
- showPlayer ( )
- setPlayerListName ( )
- getExhaustion ( )
- getExp ( )
- chat ( )
- setFallDistance ( )
- setWalkSpeed ( )
- getVehicle ( )
- getFlySpeed ( )
- setKnockbackReduction ( )
- setCollidesWithEntities ( )
- leaveVehicle ( )
- getLocale ( )
- setCompassTarget ( )
- getSaturation ( )
- isPermissionSet ( )
- setFastNaturalRegeneration ( )
- setGliding ( )
- getPassenger ( )
- isOnGround ( )
- getTargetBlock ( )
- setItemOnCursor ( )
- isSleeping ( )
- setDisplayName ( )
Related Classes
- java.util.Arrays
- java.util.Collections
- java.util.UUID
- java.util.stream.Collectors
- java.lang.reflect.InvocationTargetException
- java.util.Optional
- java.util.logging.Level
- javax.annotation.Nullable
- com.google.common.collect.ImmutableMap
- org.jetbrains.annotations.NotNull
- org.bukkit.Bukkit
- org.bukkit.event.EventHandler
- org.bukkit.ChatColor
- org.bukkit.command.CommandSender
- org.bukkit.command.Command
- org.bukkit.Material
- org.bukkit.inventory.ItemStack
- org.bukkit.event.EventPriority
- org.bukkit.Location
- org.bukkit.World
- org.bukkit.event.Event
- org.bukkit.entity.Entity
- org.bukkit.inventory.meta.ItemMeta
- org.bukkit.block.Block
- org.bukkit.inventory.Inventory
Java Code Examples for org.bukkit.entity.Player#isPermissionSet()
The following examples show how to use
org.bukkit.entity.Player#isPermissionSet() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LuckPermsSubscriptionMap.java From LuckPerms with MIT License | 6 votes |
@Override public @NonNull Set<Permissible> keySet() { // start with the backing set Set<Permissible> set; synchronized (this.backing) { set = new HashSet<>(this.backing.keySet()); } // add any online players who meet requirements for (Player player : LuckPermsSubscriptionMap.this.plugin.getBootstrap().getServer().getOnlinePlayers()) { if (player.hasPermission(this.permission) || player.isPermissionSet(this.permission)) { set.add(player); } } return set; }
Example 2
Source File: ChannelPlayerUUID.java From LunaChat with GNU Lesser General Public License v3.0 | 5 votes |
/** * 指定されたパーミッションノードが定義されているかどうかを取得する * @param node パーミッションノード * @return 定義を持っているかどうか * @see com.github.ucchyocean.lc.channel.ChannelPlayer#isPermissionSet(java.lang.String) */ @Override public boolean isPermissionSet(String node) { Player player = getPlayer(); if ( player == null ) { return false; } else { return player.isPermissionSet(node); } }
Example 3
Source File: ChannelPlayerName.java From LunaChat with GNU Lesser General Public License v3.0 | 5 votes |
/** * 指定されたパーミッションノードが定義されているかどうかを取得する * @param node パーミッションノード * @return 定義を持っているかどうか * @see com.github.ucchyocean.lc.channel.ChannelPlayer#isPermissionSet(java.lang.String) */ @Override public boolean isPermissionSet(String node) { Player player = getPlayer(); if ( player == null ) { return false; } else { return player.isPermissionSet(node); } }
Example 4
Source File: ChannelMemberPlayer.java From LunaChat with GNU Lesser General Public License v3.0 | 5 votes |
/** * 指定されたパーミッションノードが定義されているかどうかを取得する * @param node パーミッションノード * @return 定義を持っているかどうか * @see com.github.ucchyocean.lc.channel.ChannelPlayer#isPermissionSet(java.lang.String) */ @Override public boolean isPermissionSet(String node) { Player player = getPlayer(); if ( player == null ) { return false; } else { return player.isPermissionSet(node); } }