I know there is a simple way of checking if the sent message in chat(Through AsyncPlayerChatEvent) is a integer. Then relaying that int into a...
Acer_Mortem Check for who is joining, then e.disallow(AsyncPlayerPreLoginEvent.Result.KICK_BANNED, kick message);
-Snip-
I simply just added into the onOptionClick I added the code: public boolean onCommand(CommandSender s, Command cmd, String cl, String[] args) {...
Technius Thank you :) Got it to work.
TheUpdater This returns as "null"
Hello, I am needing to make a 5, 4, 3, 2, 1 countdown broadcast to the player in a event. This is on a runTaskTimer. Below is the code I am...
RealDope Here is what I am working with. I don't need a check for the distance as I am using getNearbyEntities() as a check but instead, still...
Hello, I am writing up something to allow a player to switch the location of the Player they are staring at with the click of a golden axe. But I...
Ah didn't even realize I placed it there :/ Thanks
After creating a skill for some pvp classes I am creating, I have came to a problem which the sending message to the player duplicates itself....
Hello, I am creating a simple global /spawn plugin that my server requires. The plugin works as I am able to save a location (spawn) into a...
Hello, I have been creating a chat plugin to use privately on my server. What I have created so far works perfectly but I now would like to get...
In your plugin.yml. Where you state your main class is returning null. Meaning you need to change the main: value in your plugin.yml to fit your...
I didn't find a way to check if the players was in a Faction SafeZone via their API. Unless I overlooked it, that would be one of the only...
I cannot find anywhere to check if a player is in a SafeZone in their API. Why check the players location and see if they are inside of two coords?
Hello there, I am revising my chat plugin and I am needing to use getSever().getOnlinePlayers() to get all of the players on the server, excluding...
ipwntnt Copy this. I am assuming you are using the wrong spacing. name: Overpowered main: com.gmail.eugenelee456.Overpowered.Overpowered...
Please expand a little more on your idea. We barely have any idea what you want.
If you mean exists on the the server, you can simply dip into your main worlds player data folder with this Player p = e.getPlayer(); File file =...
Separate names with a comma.