Hi, has anyone here any experience with travis-ci for their plugin? I'm trying to integrate it for all my plugins that I've uploaded to github...
Hi, I'm making a event where if the player teleports via /tp and successfully teleported something happens (in this case; a sound effect). How...
public ebotCmd(eBotMain instance) { plugin = instance; PluginDescriptionFile pdf = plugin.getDescription(); } If that is what...
So I get this stacktrace-error: [20:10:41 ERROR]: Error occurred while enabling eBot v0.1a (Is it up to date?) java.lang.NullPointerException...
@megamichiel ahhh sh!t, totally forgot about that. God damnet.. Thank you! xd
I have a scoreboard that shows the player's credits. Each time I kill a zombie, I gain 1 credit. The scoreboard gets updated each 2 seconds. Code...
@Xerox262 that's not really true. I know it's possible and read a documentation that they changed the saveDefaultConfig a while back. Just forgot...
@Xerox262 there's also a command that changes a boolean in the config so I need to fix this somehow
Read something about how saveDefaultConfig(); no longer saves the config. How do I solve this?? I have in a 'Events' class a string list that...
@Xerox262 thanks! Trying to come back to Java after a year of inactivity, forgot a bunch of very basic stuff hehe
So I want a currency system where I as a admin can add credits to a user. The command is /currency add <player> <amount> but I've set it up wrong,...
@FisheyLP lol missed that hahaha. For anyone wanting the whole code: public void autoBroadcast() { final List<String> messages =...
@FisheyLP but without the random-part it just gives me the same line over and over again until I reload the server, then it swaps
How is this not working? I don't get what's wrong ._. public void autoBroadcast() { final List<String> messages =...
public void autoBroadcast() { final List<String> messages = getConfig().getStringList("auto_msg");...
@shades161 Bukkit.broadcastMessage(Arrays.asList(messages)).get(new Random().nextInt(messages.size())); this what you mean?? The method...
The method broadcastMessage(String) in the type Bukkit is not applicable for the arguments (int) is what I get now on BroadcastMessage :/
Did something like this on another plugin like a year ago, and now when I recently started playing around in bukkit again I tried making a...
@567legodude haha did exactly that basically the second after my post, realized I was just looking at it the wrong way haha ty anyway!
@Konato_K I used if(a == Action.RIGHT_CLICK_AIR && item.getType().equals(menuCompass)) openGUI(e.getPlayer()); and I got 0 errors but...
Separate names with a comma.