Skip to content

Tag: plugins

Letter appears in console output, but shouldn’t. problem with Bukkit.getConsoleSender().sendMessage();

I’m trying to split code in classes. This code is sending to console text with B letter in start of line, but shouldn’t. Code: in but if console.sendMessage((“§c[” + pluginName + “]” + msg)); executing in main class, letter B doesn’t appeat in console. output with cw.notify output with console.sendMessage() Answer It’s not recommended to write your own §

Errors with importing JavaPlugin to Eclipse

I want to make a plugin for Minecraft, but I have problem with importing JavaPlugin into Eclipse. When I type I get these 2 errors. I have tried restarting my computer, reinstalling Eclipse, downloading all over again but nothing works. I am sending a link to a screenshot. Please help, Thank you in advance. Answer First make sure you

Java Spring REST Controller classes as runtime plugins

currently I want to implement a plugin system into my spring application. The idea is that there is a main spring application which monitors a folder for new jar files. When I put a new jar file in the folder then the main appliation should automatically lift up the RestController classes for usage without downtime. In the plugin jar there

How to change speed of Entities?

How can I change the speed of entities in Minecraft using plugins? I just recently started making plugins for Minecraft, so I will be very grateful if you can help me (I use spigot) Answer This forum post may solve your problem. A dude asked the same question as you and gave some code snippets to help. I wish I

PlayerChatTabCompleteEvent deprecated in Spigot 1.16.1

I could not find a replacement for the deprecated PlayerChatTabCompleteEvent that is deprecated in the newest Spigot 1.16.1 Version. I already checked the docs, but could not find anything related to that. And no, I don’t want to use a @SuppressWarnings(“deprecation”) at the beginning of my event. Answer There is no replacement. Since 1.13 the client does not tell the