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)...
Might be a really dumb question it is just that I dont know what to search for. How do i check if the int in the config is anywhere between like...
@mehboss I cant seem to get this to work because it seems to be a little outdated and the stuff isnt working anymore. To my knowledge atleast....
So basically I just played around with some code that I found and it gives me no errors but doesnt seem to work. What it does is that it sets the...
@Caderape2 I have tried but I cant seem to get it to work
@Caderape2 I found it here https://bukkit.org/threads/increase-block-resistance-strength.66304/ Doesnt really work anymore I guess.... @timtower...
Separate names with a comma.