So I am not getting this thing to work. It works when I apply it as a command. But not when I use it as an Event. public void setFine(int...
@timtower package me.albkad.life; import org.bukkit.ChatColor; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import...
@timtower well the only more code in this class is Fines f = Fines.getInstance();
So Ye. I am trying to give a fine each time someone uses a bad word. @EventHandler public void onPlayerChat(AsyncPlayerChatEvent e) {...
Ok Thx
Ye. I am trying to get the uuid from the config and then use it as a uuid. So I turn it into a player then into a uuid.
I just got an error. I am using m.fine.put(Bukkit.getServer().getOfflinePlayer(key).getUniqueId(), value); To change the key into a player and...
@Max8801 Well Thank you!
So I am trying to look at the config and put all the players fines inside of the hashmap but it doesnt seem to work the way I am doing it. I have...
public void setFinalFine(int amount, Player p) { fine.put(p.getUniqueId(), amount); plugin.getConfig().set("Fines." +...
What does the while looking to the edge from the bottom piece mean? Edit: Nvm. But is there any way to do a whole side at a time. Because the...
So I am starting up a server and have used WorldPainter to make a world and I need o connect it to the other world. It looks like this rn....
So I am thinking of developing a Monthly chest plugin. Where u open a chest get some items and then can leave. Alot of these things I already know...
So I am trying to use NMS code and I thnk I am doing it right it is just that I need to know how to specify a minecraft block (Not bukkit block)...
Separate names with a comma.