Available Methods
- getPlayer ( )
- getOnlinePlayers ( )
- getWorld ( )
- createInventory ( )
- getOfflinePlayer ( )
- getPluginManager ( )
- isPrimaryThread ( )
- getPlayerExact ( )
- broadcastMessage ( )
- getWorlds ( )
- getOnlineMode ( )
- dispatchCommand ( )
- getServer ( )
- getVersion ( )
- getConsoleSender ( )
- getScoreboardManager ( )
- addRecipe ( )
- getName ( )
- createProfile ( )
- shutdown ( )
- getScheduler ( )
- createBossBar ( )
- getUpdateFolderFile ( )
- getServerName ( )
- getBukkitVersion ( )
- resetRecipes ( )
- unloadWorld ( )
- getMaxPlayers ( )
- broadcast ( )
- getPluginCommand ( )
- setServer ( )
- getMotd ( )
- getOfflinePlayers ( )
- hasWhitelist ( )
- getWorldContainer ( )
- getWhitelistedPlayers ( )
- recipeIterator ( )
Related Classes
- java.util.Arrays
- java.io.File
- java.util.Collections
- java.util.Iterator
- java.util.concurrent.TimeUnit
- java.net.URL
- java.lang.reflect.Method
- java.lang.reflect.Field
- java.util.UUID
- java.util.stream.Collectors
- java.lang.reflect.InvocationTargetException
- java.util.logging.Logger
- java.util.logging.Level
- com.google.common.collect.Lists
- com.google.common.collect.ImmutableMap
- org.jetbrains.annotations.NotNull
- org.bukkit.entity.Player
- org.bukkit.event.Listener
- org.bukkit.event.EventHandler
- org.bukkit.ChatColor
- org.bukkit.plugin.Plugin
- org.bukkit.command.CommandSender
- org.bukkit.command.Command
- org.bukkit.Material
- org.bukkit.inventory.ItemStack
Java Code Examples for org.bukkit.Bukkit#getServerName()
The following examples show how to use
org.bukkit.Bukkit#getServerName() .
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: Violation.java From Hawk with GNU General Public License v3.0 | 5 votes |
public Violation(HawkPlayer pp, Check check, short vl) { this.player = pp.getPlayer(); this.check = check; this.time = System.currentTimeMillis(); this.ping = (short) ServerUtils.getPing(pp.getPlayer()); this.vl = vl; this.tps = (float) ServerUtils.getTps(); this.server = Bukkit.getServerName(); }
Example 2
Source File: ScoreManager.java From civcraft with GNU General Public License v2.0 | 4 votes |
public static String getCivKey(Civilization civ) { return Bukkit.getServerName()+":"+civ.getName(); }
Example 3
Source File: ScoreManager.java From civcraft with GNU General Public License v2.0 | 4 votes |
public static String getTownKey(Town town) { return Bukkit.getServerName()+":"+town.getName(); }