<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>Plugin Development</title>
    <description>Need help developing a plugin? Got a bug you can't squash? Ask in here!</description>
    <pubDate>Thu, 14 May 2026 16:39:24 +0000</pubDate>
    <lastBuildDate>Thu, 14 May 2026 16:39:24 +0000</lastBuildDate>
    <generator>Bukkit Forums</generator>
    <link>https://bukkit.org/forums/plugin-development.5/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://bukkit.org/forums/plugin-development.5/index.rss"/>
    <item>
      <title>I need help with importing inventory.InventoryType;</title>
      <pubDate>Mon, 28 Jul 2025 06:01:01 +0000</pubDate>
      <link>https://bukkit.org/threads/i-need-help-with-importing-inventory-inventorytype.505428/</link>
      <guid>https://bukkit.org/threads/i-need-help-with-importing-inventory-inventorytype.505428/</guid>
      <author>invalid@example.com (HAQ20)</author>
      <dc:creator>HAQ20</dc:creator>
      <content:encoded><![CDATA[Im making a soulbind plugin for my 1.21.4 server and i have some problems regarding the InventoryType import. The dependancy im using is paper <br />
implementation(&quot;io.papermc.paper<img src="smilies/tongue.gif" class="mceSmilie" alt=":p" title="Stick Out Tongue    :p" />aper-api:1.21.4-R0.1-SNAPSHOT&quot;)<br />
And all the other imports i have are working fine ist just this one thats broken.<br />
Any help apricciated<br />
Also those are all my other imports <br />
<br />
import org.bukkit.Bukkit;<br />
import org.bukkit.ChatColor;<br />
import org.bukkit.entity.HumanEntity;<br />
import org.bukkit.event.EventHandler;<br />
import...<br />
<br />
<a href="https://bukkit.org/threads/i-need-help-with-importing-inventory-inventorytype.505428/" class="internalLink">I need help with importing inventory.InventoryType;</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>WorldGuard: how to use CustomFlags?</title>
      <pubDate>Thu, 24 Jul 2025 15:58:14 +0000</pubDate>
      <link>https://bukkit.org/threads/worldguard-how-to-use-customflags.505417/</link>
      <guid>https://bukkit.org/threads/worldguard-how-to-use-customflags.505417/</guid>
      <author>invalid@example.com (Feneck91)</author>
      <dc:creator>Feneck91</dc:creator>
      <content:encoded><![CDATA[For the WorldGuardInteractExt plugin I need to use WordGuard custom flags.<br />
I see this link: <a href="https://worldguard.enginehub.org/en/latest/developer/regions/custom-flags/" target="_blank" class="externalLink" rel="nofollow">https://worldguard.enginehub.org/en/latest/developer/regions/custom-flags/</a><br />
It explain how to create, register but not really how to use and how use it to tell to WorldGuard: this event is OK, don&#039;t cancel it.<br />
<br />
I have used events to make my plugin work but I need to use the event before WorldGuard (EventPriority.LOWEST) to cancel the event and then after (EventPriority.HIGHEST) to uncancel...<br />
<br />
<a href="https://bukkit.org/threads/worldguard-how-to-use-customflags.505417/" class="internalLink">WorldGuard: how to use CustomFlags?</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>WorldGuardInteractExt : add new permission to WorldGuard</title>
      <pubDate>Wed, 23 Jul 2025 10:49:22 +0000</pubDate>
      <link>https://bukkit.org/threads/worldguardinteractext-add-new-permission-to-worldguard.505399/</link>
      <guid>https://bukkit.org/threads/worldguardinteractext-add-new-permission-to-worldguard.505399/</guid>
      <author>invalid@example.com (Feneck91)</author>
      <dc:creator>Feneck91</dc:creator>
      <content:encoded><![CDATA[Hello everyone.<br />
<br />
I use WorldGuard to protect a world, and it works pretty well. However, the main problem with WorldGuard is the inability to modify a block: to be able to modify it, you need to have an area where breaking/placing a block is allowed.<br />
So I have very small areas where all rights are allowed, but instead of placing a book on a desk, you can break the desk. The same goes for a campfire, a field, etc. Either I didn&#039;t understand something, or it&#039;s really penalizing.<br />
<br />
So I decided...<br />
<br />
<a href="https://bukkit.org/threads/worldguardinteractext-add-new-permission-to-worldguard.505399/" class="internalLink">WorldGuardInteractExt : add new permission to WorldGuard</a>]]></content:encoded>
      <slash:comments>17</slash:comments>
    </item>
    <item>
      <title>Problems with setDropItems</title>
      <pubDate>Sun, 08 Jun 2025 17:18:58 +0000</pubDate>
      <link>https://bukkit.org/threads/problems-with-setdropitems.505265/</link>
      <guid>https://bukkit.org/threads/problems-with-setdropitems.505265/</guid>
      <author>invalid@example.com (phoenix75576486)</author>
      <dc:creator>phoenix75576486</dc:creator>
      <content:encoded><![CDATA[im new to making plugins and i cant seem to get this code to work<br />
<br />
<br />
@EventHandler(priority = EventPriority.HIGH)<br />
public void OnBreak(BlockBreakEvent event){<br />
SendInfo(&quot;player broke a block&quot;);<br />
String name = event.getPlayer().getName();<br />
SendInfo(&quot;player:&quot;+name+&quot;with type:&quot;+users.get(name).get(&quot;type&quot;)+&quot;broke a block&quot;);<br />
<br />
if(event.getBlock().getType()==Material.ANCIENT_DEBRIS &amp;&amp; users.get(name).get(&quot;type&quot;)!=1 &amp;&amp;...<br />
<br />
<a href="https://bukkit.org/threads/problems-with-setdropitems.505265/" class="internalLink">Problems with setDropItems</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Deleting an item from a container</title>
      <pubDate>Thu, 01 May 2025 20:22:21 +0000</pubDate>
      <link>https://bukkit.org/threads/deleting-an-item-from-a-container.505200/</link>
      <guid>https://bukkit.org/threads/deleting-an-item-from-a-container.505200/</guid>
      <author>invalid@example.com (Catoklysm)</author>
      <dc:creator>Catoklysm</dc:creator>
      <content:encoded><![CDATA[I tried to delete an item from a container but I could not figure out how to do it and my attempt did not work.<br />
<br />
This is what I attempted to use and the code is definetely being fired<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>container.getInventory().setItem(13, null);
container.update();</pre>
</div><br />
Here is the full code of which the other parts work with no issue:<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>                    if (block.getState() instanceof Container container) {

                            container.getInventory().setItem(13, new...</pre>
</div><a href="https://bukkit.org/threads/deleting-an-item-from-a-container.505200/" class="internalLink">Deleting an item from a container</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Anti freecam plugin for craftbukkit beta 1.7.3</title>
      <pubDate>Wed, 23 Apr 2025 05:48:40 +0000</pubDate>
      <link>https://bukkit.org/threads/anti-freecam-plugin-for-craftbukkit-beta-1-7-3.505201/</link>
      <guid>https://bukkit.org/threads/anti-freecam-plugin-for-craftbukkit-beta-1-7-3.505201/</guid>
      <author>invalid@example.com (THEWELLO)</author>
      <dc:creator>THEWELLO</dc:creator>
      <content:encoded><![CDATA[I opened a beta 1.1_02 server with uberbukkit (craftbukkit fork so craftbukkit plugins also work).The anticheat plugins of the time cannot block someone who logs in with a client and uses freecam. Good. It would be better if freecam was not blocked anyway. But the problem is that free cam is not like today&#039;s free cams. The body left behind remains invulnerable. Trying to attack it is like hitting the air. Therefore, even if the creatures get close, they cannot hit the body, not even the...<br />
<br />
<a href="https://bukkit.org/threads/anti-freecam-plugin-for-craftbukkit-beta-1-7-3.505201/" class="internalLink">Anti freecam plugin for craftbukkit beta 1.7.3</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Blocking Players from putting items in a Chest</title>
      <pubDate>Tue, 22 Apr 2025 17:34:19 +0000</pubDate>
      <link>https://bukkit.org/threads/blocking-players-from-putting-items-in-a-chest.505190/</link>
      <guid>https://bukkit.org/threads/blocking-players-from-putting-items-in-a-chest.505190/</guid>
      <author>invalid@example.com (Catoklysm)</author>
      <dc:creator>Catoklysm</dc:creator>
      <content:encoded><![CDATA[I have created a chest with a custom title and I only want the owner to be able to change the items inside but other players are still able to view the chest.<br />
<br />
I am blocking InventoryClickEvent but this doesn&#039;t seem to prevent players from placing items in empty slots and I tried everything I could find and think of to prevent this from happening.<br />
<br />
Did anyone have a similiar problem or a possible solution? Thanks]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>Original AttributeModifiers disappearing with Custom AttributeModifiers</title>
      <pubDate>Sat, 22 Mar 2025 02:15:33 +0000</pubDate>
      <link>https://bukkit.org/threads/original-attributemodifiers-disappearing-with-custom-attributemodifiers.505185/</link>
      <guid>https://bukkit.org/threads/original-attributemodifiers-disappearing-with-custom-attributemodifiers.505185/</guid>
      <author>invalid@example.com (BaddCamden)</author>
      <dc:creator>BaddCamden</dc:creator>
      <content:encoded><![CDATA[So I&#039;ve run into an issue I just can&#039;t squash. I am trying to ADD attack damage and armor defense however the attributes I apply replace the existing Minecraft&#039;s attributes.<br />
If I ADD 1 damage to a golden pickaxe, it goes from 2 damage to 1. Why.<br />
I took the NBT route however that has been unsuccessful thanks to the troublesome obfuscation. FYI MiniMappingViewer is SUPREMELY helpful with that.<br />
I just want to be able to do either of these 2 things:<br />
1. Add attack or defense without replacing the...<br />
<br />
<a href="https://bukkit.org/threads/original-attributemodifiers-disappearing-with-custom-attributemodifiers.505185/" class="internalLink">Original AttributeModifiers disappearing with Custom AttributeModifiers</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>How do I make an overlay GUI?</title>
      <pubDate>Fri, 28 Feb 2025 18:15:14 +0000</pubDate>
      <link>https://bukkit.org/threads/how-do-i-make-an-overlay-gui.505180/</link>
      <guid>https://bukkit.org/threads/how-do-i-make-an-overlay-gui.505180/</guid>
      <author>invalid@example.com (BlockMaster047)</author>
      <dc:creator>BlockMaster047</dc:creator>
      <content:encoded><![CDATA[So I want to display player stats on a players screen and no I am not talking about an inventory I am talking about the kind of thing they do in Hypixel Skyblock to display player health, defense, mana, etc.  How would I add something like that to my plugin?]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Updating tab health</title>
      <pubDate>Fri, 21 Feb 2025 10:56:15 +0000</pubDate>
      <link>https://bukkit.org/threads/updating-tab-health.505176/</link>
      <guid>https://bukkit.org/threads/updating-tab-health.505176/</guid>
      <author>invalid@example.com (Ak1ra)</author>
      <dc:creator>Ak1ra</dc:creator>
      <content:encoded><![CDATA[I am making a plugin using scoreboards, I want the fancy hearts in the tab list using this:<br />
<br />
Objective hearts = sb.registerNewObjective(&quot;hearts&quot;,Criteria.HEALTH,&quot;hp&quot;,RenderType.HEARTS); <br />
<br />
unfortunately, the hearts are gone until the player gets damaged. I tried what I saw in other threads like <br />
p.setHealth(p.getHealth()); or <br />
p.sendHealthUpdate();<br />
but none of these make a difference. Is there a way to show the health right after setting the scoreboard?]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Set Max Speed of Boat</title>
      <pubDate>Thu, 30 Jan 2025 05:10:36 +0000</pubDate>
      <link>https://bukkit.org/threads/set-max-speed-of-boat.505174/</link>
      <guid>https://bukkit.org/threads/set-max-speed-of-boat.505174/</guid>
      <author>invalid@example.com (Smeary_Subset)</author>
      <dc:creator>Smeary_Subset</dc:creator>
      <content:encoded><![CDATA[I am making a mario kart like plugin and want to introduce gears which determine the players max speed. Vehicle#setMaxSpeed() is deprecated, so there&#039;s no way to do this through the API from my understanding.<br />
<br />
My next thought is to use Vectors in some way. Maybe have a runnable that runs every tick that checks where the boat was last vs where it is now to determine the speed, and if it&#039;s too fast, set the velocity to something slower? I&#039;m not sure. Any ideas?]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Making Water Freeze</title>
      <pubDate>Sat, 18 Jan 2025 21:44:30 +0000</pubDate>
      <link>https://bukkit.org/threads/making-water-freeze.505172/</link>
      <guid>https://bukkit.org/threads/making-water-freeze.505172/</guid>
      <author>invalid@example.com (Smeary_Subset)</author>
      <dc:creator>Smeary_Subset</dc:creator>
      <content:encoded><![CDATA[I&#039;m trying to make a minigame involving boats on ice. I have a track that is made out of water. Is there a way to make all the water freeze automatically or instantly, such as setting the biome to a tundra or something? Or perhaps a game rule?<br />
<br />
Thanks,<br />
Smeary]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>setFlySpeed(float) is undefined for the type Player</title>
      <pubDate>Wed, 15 Jan 2025 07:40:07 +0000</pubDate>
      <link>https://bukkit.org/threads/setflyspeed-float-is-undefined-for-the-type-player.505163/</link>
      <guid>https://bukkit.org/threads/setflyspeed-float-is-undefined-for-the-type-player.505163/</guid>
      <author>invalid@example.com (BlueFusion_12)</author>
      <dc:creator>BlueFusion_12</dc:creator>
      <content:encoded><![CDATA[Trying to create a speed plugin for 1.2.5:<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>package org.mcmegacraft.Speedifier;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public class Speedifier extends JavaPlugin {
  
  
   @Override
   public void onEnable() {
     getLogger().info(&quot;Speedifier v0.1 enabled!&quot;);
   }
  
  
   @Override
   public void onDisable() {
     getLogger().info(&quot;Speedifier...</pre>
</div><a href="https://bukkit.org/threads/setflyspeed-float-is-undefined-for-the-type-player.505163/" class="internalLink">setFlySpeed(float) is undefined for the type Player</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Light Weighted Pressure Plate and PlayerInteractEvent</title>
      <pubDate>Tue, 14 Jan 2025 12:54:25 +0000</pubDate>
      <link>https://bukkit.org/threads/light-weighted-pressure-plate-and-playerinteractevent.505170/</link>
      <guid>https://bukkit.org/threads/light-weighted-pressure-plate-and-playerinteractevent.505170/</guid>
      <author>invalid@example.com (Zerkala8D)</author>
      <dc:creator>Zerkala8D</dc:creator>
      <content:encoded><![CDATA[I&#039;m trying to make an event that tracks pressure plate presses. I&#039;m running into the problem that the light weighted pressure plate turns out to trigger the event infinitely many times. How do I get rid of this?<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>@EventHandler
    public void on(PlayerInteractEvent event) {
        Player player = event.getPlayer();
        for (Quest quest : qp.getQuester(player.getUniqueId()).getCurrentQuests().keySet()) {

            if (event.getAction() != Action.PHYSICAL) {...</pre>
</div><a href="https://bukkit.org/threads/light-weighted-pressure-plate-and-playerinteractevent.505170/" class="internalLink">Light Weighted Pressure Plate and PlayerInteractEvent</a>]]></content:encoded>
      <slash:comments>9</slash:comments>
    </item>
    <item>
      <title>How to Set Passenger Height</title>
      <pubDate>Sat, 04 Jan 2025 15:09:52 +0000</pubDate>
      <link>https://bukkit.org/threads/how-to-set-passenger-height.504977/</link>
      <guid>https://bukkit.org/threads/how-to-set-passenger-height.504977/</guid>
      <author>invalid@example.com (SalmanDev)</author>
      <dc:creator>SalmanDev</dc:creator>
      <content:encoded><![CDATA[Hello, I need help setting up a passenger height for a tag plugin. I want to create a tag/status/floating text above the player’s nametag, similar to how it looks when &quot;Passenger&quot; is displayed. I have tried using the armor stand teleport method, but it doesn&#039;t lock above the player&#039;s nametag and has a delay; it follows the player, which is not what I want. I also attempted to spawn an armor stand above the player&#039;s nametag and send the passenger packet, but it ends up positioned at the...<br />
<br />
<a href="https://bukkit.org/threads/how-to-set-passenger-height.504977/" class="internalLink">How to Set Passenger Height</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Finding the Nether Portal's Location</title>
      <pubDate>Sun, 22 Dec 2024 00:27:45 +0000</pubDate>
      <link>https://bukkit.org/threads/finding-the-nether-portals-location.504981/</link>
      <guid>https://bukkit.org/threads/finding-the-nether-portals-location.504981/</guid>
      <author>invalid@example.com (elaboradi)</author>
      <dc:creator>elaboradi</dc:creator>
      <content:encoded><![CDATA[To manage several worlds, I made my own unique plugin that resembles a multiverse. One issue I had to deal with was how to make a player teleport to the nether from one world rather than the level world, which appears to happen automatically.<br />
<br />
I accomplish this by using PlayerChangedWorldEvent. But that event doesn&#039;t save the player&#039;s teleportation location (i.e., the nether portal); it only saves the World from which they came. Therefore, the best I can do is teleport the player back to the...<br />
<br />
<a href="https://bukkit.org/threads/finding-the-nether-portals-location.504981/" class="internalLink">Finding the Nether Portal&#039;s Location</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>How can I send actionbar message to a player?</title>
      <pubDate>Fri, 20 Dec 2024 03:50:57 +0000</pubDate>
      <link>https://bukkit.org/threads/how-can-i-send-actionbar-message-to-a-player.504963/</link>
      <guid>https://bukkit.org/threads/how-can-i-send-actionbar-message-to-a-player.504963/</guid>
      <author>invalid@example.com (Linuxoid86)</author>
      <dc:creator>Linuxoid86</dc:creator>
      <content:encoded><![CDATA[There is ChatMessageType.ACTION_BAR class, but sendTitle() function only accepts 2 strings. Looks like there&#039;s no built-in method. I only found old discussions about this, help pls.]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Cancel Breaking of Original Blocks</title>
      <pubDate>Tue, 10 Dec 2024 23:36:31 +0000</pubDate>
      <link>https://bukkit.org/threads/cancel-breaking-of-original-blocks.504925/</link>
      <guid>https://bukkit.org/threads/cancel-breaking-of-original-blocks.504925/</guid>
      <author>invalid@example.com (Smeary_Subset)</author>
      <dc:creator>Smeary_Subset</dc:creator>
      <content:encoded><![CDATA[I am making a minigame that involves players placing blocks in an arena. I want to make it so the player&#039;s cannot break blocks that are part of the arena&#039;s original construction, but can break blocks placed by a player. I can think of two ways to do this:<br />
<br />
1. At game start, read all blocks in the arena and save all the non-air blocks to a list. On block break, check if the broken block is in the list and, if so, cancel it.<br />
2. When a player places down a block, store it in a list. When a...<br />
<br />
<a href="https://bukkit.org/threads/cancel-breaking-of-original-blocks.504925/" class="internalLink">Cancel Breaking of Original Blocks</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Help with Implementing Dynamic Brush Preview in WorldEdit Plugin (Bukkit)</title>
      <pubDate>Fri, 29 Nov 2024 16:15:54 +0000</pubDate>
      <link>https://bukkit.org/threads/help-with-implementing-dynamic-brush-preview-in-worldedit-plugin-bukkit.504885/</link>
      <guid>https://bukkit.org/threads/help-with-implementing-dynamic-brush-preview-in-worldedit-plugin-bukkit.504885/</guid>
      <author>invalid@example.com (rildo)</author>
      <dc:creator>rildo</dc:creator>
      <content:encoded><![CDATA[<b>Hello, everyone!</b><br />
<br />
I’m working on implementing a dynamic brush preview feature in the WorldEdit plugin for Bukkit. Here’s the feature I’m trying to achieve:<br />
<br />
<ul>
<li>When a brush is activated, the plugin should show a preview (using placeholder blocks like glass) of the brush’s effect at the player’s target location.</li>
<li>The preview should dynamically update as the player moves or looks at different locations.</li>
<li>When the brush is applied, the actual blocks are placed, and the preview...</li>
</ul><br />
<a href="https://bukkit.org/threads/help-with-implementing-dynamic-brush-preview-in-worldedit-plugin-bukkit.504885/" class="internalLink">Help with Implementing Dynamic Brush Preview in WorldEdit Plugin (Bukkit)</a>]]></content:encoded>
    </item>
    <item>
      <title>ProjectileHitEvent Called Only When Hit Block</title>
      <pubDate>Wed, 27 Nov 2024 00:54:19 +0000</pubDate>
      <link>https://bukkit.org/threads/projectilehitevent-called-only-when-hit-block.504853/</link>
      <guid>https://bukkit.org/threads/projectilehitevent-called-only-when-hit-block.504853/</guid>
      <author>invalid@example.com (Smeary_Subset)</author>
      <dc:creator>Smeary_Subset</dc:creator>
      <content:encoded><![CDATA[I have a ProjectileHitEvent that is only firing when a projectile hits a block but not a living entity like a player or a cow. Here&#039;s my test code:<br />
<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>    @EventHandler(ignoreCancelled = true)
    void onProjectileHit(ProjectileHitEvent event) {
        plugin.getLogger().info(&quot;ProjectileHitEvent called&quot;);

        Projectile projectile = event.getEntity();
        ProjectileSource shooter = projectile.getShooter();
        Entity hitEntity = event.getHitEntity();

        ((Player)...</pre>
</div><a href="https://bukkit.org/threads/projectilehitevent-called-only-when-hit-block.504853/" class="internalLink">ProjectileHitEvent Called Only When Hit Block</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Is there any way to import everything from bukkit?</title>
      <pubDate>Wed, 20 Nov 2024 11:21:02 +0000</pubDate>
      <link>https://bukkit.org/threads/is-there-any-way-to-import-everything-from-bukkit.504699/</link>
      <guid>https://bukkit.org/threads/is-there-any-way-to-import-everything-from-bukkit.504699/</guid>
      <author>invalid@example.com (Pepf)</author>
      <dc:creator>Pepf</dc:creator>
      <content:encoded><![CDATA[is there a way i can import everything that bukkit has into my java code or do i have to do it like this?<br />
import org.bukkit.entity.*;<br />
import org.bukkit.event.*;<br />
import org.bukkit.event.player.*;<br />
<br />
or atleast like every event and anything that comes after that<br />
<br />
EDIT by Moderator: merged posts, please use the edit button instead of double posting.]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>How do i convert this into Visual Bukkit?</title>
      <pubDate>Thu, 31 Oct 2024 03:25:40 +0000</pubDate>
      <link>https://bukkit.org/threads/how-do-i-convert-this-into-visual-bukkit.504714/</link>
      <guid>https://bukkit.org/threads/how-do-i-convert-this-into-visual-bukkit.504714/</guid>
      <author>invalid@example.com (Zero0k)</author>
      <dc:creator>Zero0k</dc:creator>
      <content:encoded><![CDATA[<ol>
<li>player.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(aDouble);</li>
</ol>This isn&#039;t my code but i want to use it in visual bukkit]]></content:encoded>
    </item>
    <item>
      <title>Why aren't my commands working?</title>
      <pubDate>Sun, 27 Oct 2024 14:55:31 +0000</pubDate>
      <link>https://bukkit.org/threads/why-arent-my-commands-working.504705/</link>
      <guid>https://bukkit.org/threads/why-arent-my-commands-working.504705/</guid>
      <author>invalid@example.com (Pepf)</author>
      <dc:creator>Pepf</dc:creator>
      <content:encoded><![CDATA[They dont show up on my server and dont work when i type them<br />
<br />
<br />
I have this in the config.yml<br />
commands:<br />
  food:<br />
    description: Gives a stack of food!<br />
    usage: /&lt;command&gt;<br />
  freehealth:<br />
    description: Gives free health!<br />
    usage: /&lt;command&gt;<br />
<br />
i have the layout in the config.yml the way it should be<br />
and i have this in the java class:<br />
<br />
    @Override<br />
    public boolean onCommand(CommandSender sender, Command command, String label, String args[]) {<br />
        if...<br />
<br />
<a href="https://bukkit.org/threads/why-arent-my-commands-working.504705/" class="internalLink">Why aren&#039;t my commands working?</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Help with Setting Up a Plugin to Log Triggers from MATLAB on a Minecraft Server</title>
      <pubDate>Fri, 25 Oct 2024 23:20:39 +0000</pubDate>
      <link>https://bukkit.org/threads/help-with-setting-up-a-plugin-to-log-triggers-from-matlab-on-a-minecraft-server.504702/</link>
      <guid>https://bukkit.org/threads/help-with-setting-up-a-plugin-to-log-triggers-from-matlab-on-a-minecraft-server.504702/</guid>
      <author>invalid@example.com (caledonian26)</author>
      <dc:creator>caledonian26</dc:creator>
      <content:encoded><![CDATA[Hi everyone,<br />
<br />
I’m working on a research project where I need Minecraft to log a trigger signal sent from a MATLAB script. The setup involves a Shockbyte-hosted server where the goal is for Minecraft to record the exact time each trigger is received, ideally logging this in the server console or a dedicated log file, with no disruptions for players.<br />
<br />
I put together the following plugin code that uses Java’s HttpServer to listen for HTTP POST requests on port 8000. When MATLAB sends a &quot;pulse&quot;...<br />
<br />
<a href="https://bukkit.org/threads/help-with-setting-up-a-plugin-to-log-triggers-from-matlab-on-a-minecraft-server.504702/" class="internalLink">Help with Setting Up a Plugin to Log Triggers from MATLAB on a Minecraft Server</a>]]></content:encoded>
    </item>
    <item>
      <title>NPC plugin with NMS and paper</title>
      <pubDate>Fri, 25 Oct 2024 09:37:47 +0000</pubDate>
      <link>https://bukkit.org/threads/npc-plugin-with-nms-and-paper.504694/</link>
      <guid>https://bukkit.org/threads/npc-plugin-with-nms-and-paper.504694/</guid>
      <author>invalid@example.com (KOOBBIII)</author>
      <dc:creator>KOOBBIII</dc:creator>
      <content:encoded><![CDATA[<div class="bbCodeBlock">
	<div class="type">Code:java</div>
	<div class="code"><pre class="java"><ol><li class="li1"><div class="de1"><span class="kw1">package</span> <span class="co2">de.npc.npcproject</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">com.mojang.authlib.GameProfile</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.network.Connection</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.network.protocol.login.ClientboundHelloPacket</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.resources.ResourceKey</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.server.MinecraftServer</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.server.level.ClientInformation</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.server.level.ServerLevel</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.server.level.ServerPlayer</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">import</span> <span class="co2">net.minecraft.server.network.ServerGamePacketListenerImpl</span><span class="sy0">;</span>...</div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="br0">&#91;</span>url<span class="sy0">=</span><span class="st0">'https://bukkit.org/threads/npc-plugin-with-nms-and-paper.504694/'</span><span class="br0">&#93;</span>NPC plugin with NMS and paper<span class="br0">&#91;</span><span class="sy0">/</span>url<span class="br0">&#93;</span></div></li></ol></pre></div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Why doesn't this Spawn a Creeper?</title>
      <pubDate>Fri, 25 Oct 2024 07:29:19 +0000</pubDate>
      <link>https://bukkit.org/threads/why-doesnt-this-spawn-a-creeper.504691/</link>
      <guid>https://bukkit.org/threads/why-doesnt-this-spawn-a-creeper.504691/</guid>
      <author>invalid@example.com (Pepf)</author>
      <dc:creator>Pepf</dc:creator>
      <content:encoded><![CDATA[@EventHandler<br />
public static void onAdvancementDone(PlayerAdvancementDoneEvent e){<br />
Player p = e.getPlayer();<br />
p.getWorld().spawnEntity(p.getLocation(), EntityType.CREEPER);<br />
}<br />
<br />
Im a beginner bukkit coder so please dont flame me]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Help Needed with Minecraft 'onPlayerInteract' Event Handling</title>
      <pubDate>Fri, 11 Oct 2024 15:28:39 +0000</pubDate>
      <link>https://bukkit.org/threads/help-needed-with-minecraft-onplayerinteract-event-handling.504590/</link>
      <guid>https://bukkit.org/threads/help-needed-with-minecraft-onplayerinteract-event-handling.504590/</guid>
      <author>invalid@example.com (caledonian26)</author>
      <dc:creator>caledonian26</dc:creator>
      <content:encoded><![CDATA[Hi everyone,<br />
<br />
I’m running a Minecraft server on Paper 1.21.1, and I&#039;m working on a mechanism where pressing a jungle button should store a player&#039;s name in a list called activePlayers. Conversely, when the same player presses a jungle pressure plate, they should be removed from that list.<br />
<br />
I&#039;ve implemented a sendTitle message to provide feedback, similar to what I have done with other buttons in the game, but I&#039;m experiencing an issue. When I (the player caledonian26) press the jungle button...<br />
<br />
<a href="https://bukkit.org/threads/help-needed-with-minecraft-onplayerinteract-event-handling.504590/" class="internalLink">Help Needed with Minecraft &#039;onPlayerInteract&#039; Event Handling</a>]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>getInstance() why get null</title>
      <pubDate>Fri, 11 Oct 2024 11:05:43 +0000</pubDate>
      <link>https://bukkit.org/threads/getinstance-why-get-null.504570/</link>
      <guid>https://bukkit.org/threads/getinstance-why-get-null.504570/</guid>
      <author>invalid@example.com (Laumtop)</author>
      <dc:creator>Laumtop</dc:creator>
      <content:encoded><![CDATA[Hello. I tried to use getLogger(), but I got this error - 17:54:21 ERROR]: Error occurred while enabling Test1 v1.0 (Is it up to date?) java.lang.NullPointerException: Cannot invoke &quot;LT.test2.Test2.getLogger()&quot; because &quot;this.test&quot; is null. How I can fix it<br />
<br />
Code here -<br />
<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>
package LT.test1;

import LT.test2.Test2;
import org.bukkit.plugin.java.JavaPlugin;

public final class Test1 extends JavaPlugin {

    Test2 test;

    @Override
    public void onEnable() {
        test =...</pre>
</div><a href="https://bukkit.org/threads/getinstance-why-get-null.504570/" class="internalLink">getInstance() why get null</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>Is it possible to remove the invisible boundary of the world?</title>
      <pubDate>Sun, 06 Oct 2024 15:48:30 +0000</pubDate>
      <link>https://bukkit.org/threads/is-it-possible-to-remove-the-invisible-boundary-of-the-world.504552/</link>
      <guid>https://bukkit.org/threads/is-it-possible-to-remove-the-invisible-boundary-of-the-world.504552/</guid>
      <author>invalid@example.com (AdidasMan)</author>
      <dc:creator>AdidasMan</dc:creator>
      <content:encoded><![CDATA[I&#039;m trying to remove the world invisible boundary limits by adjusting the following code in the PlayerEntity class in my mod:<br />
int i = 29999999;<br />
<br />
double d0 = MathHelper.clamp(this.posX, -2.9999999E7D, 2.9999999E7D);<br />
double d1 = MathHelper.clamp(this.posZ, -2.9999999E7D, 2.9999999E7D);<br />
<br />
if (d0 != this.posX || d1 != this.posZ) {<br />
    this.setPosition(d0, this.posY, d1);<br />
}<br />
<br />
<br />
<br />
I attempted to increase the boundary values from 2.9999999E7D to 3.9999999E7D. However, after doing so, if I try to move...<br />
<br />
<a href="https://bukkit.org/threads/is-it-possible-to-remove-the-invisible-boundary-of-the-world.504552/" class="internalLink">Is it possible to remove the invisible boundary of the world?</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Different worldborder for different world</title>
      <pubDate>Fri, 04 Oct 2024 05:41:12 +0000</pubDate>
      <link>https://bukkit.org/threads/different-worldborder-for-different-world.504420/</link>
      <guid>https://bukkit.org/threads/different-worldborder-for-different-world.504420/</guid>
      <author>invalid@example.com (GOOST)</author>
      <dc:creator>GOOST</dc:creator>
      <content:encoded><![CDATA[The worldborder in the &#039;main world&#039; (which is the one in the server properties) and the &#039;2nd world&#039;&#039;s worldborder is being shared, and by shared, I mean the image is being shared, if I change the worldborder with my own plugin in my &#039;2nd world&#039;, the border will not shrink but an invisible border will shrink, and yes, the invisible worldborder works, dmg the player, stops player from placing blocks.<br />
<br />
<br />
The visible border in &#039;2nd world&#039; is actually the border in &#039;main world&#039; and players won&#039;t...<br />
<br />
<a href="https://bukkit.org/threads/different-worldborder-for-different-world.504420/" class="internalLink">Different worldborder for different world</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Check if player is looking at HITBOX</title>
      <pubDate>Wed, 02 Oct 2024 13:07:53 +0000</pubDate>
      <link>https://bukkit.org/threads/check-if-player-is-looking-at-hitbox.504538/</link>
      <guid>https://bukkit.org/threads/check-if-player-is-looking-at-hitbox.504538/</guid>
      <author>invalid@example.com (Rival54548545)</author>
      <dc:creator>Rival54548545</dc:creator>
      <content:encoded><![CDATA[Hello, can you help me? I need to check if player is looking to entity (looking on it&#039;s hitbox), but I don&#039;t know how. Now I have this code -&gt;<br />
@EventHandler<br />
public void onPlayerMove(PlayerMoveEvent event) {<br />
Player player = event.getPlayer();<br />
<br />
//Проверка на самого зомби<br />
for (Zombie zombie : player.getWorld().getEntitiesByClass(Zombie.class)) {<br />
Vector playerDirection = player.getLocation().getDirection();<br />
Vector toZombie =...<br />
<br />
<a href="https://bukkit.org/threads/check-if-player-is-looking-at-hitbox.504538/" class="internalLink">Check if player is looking at HITBOX</a>]]></content:encoded>
    </item>
    <item>
      <title>Get entity that player is looking at</title>
      <pubDate>Thu, 26 Sep 2024 15:31:12 +0000</pubDate>
      <link>https://bukkit.org/threads/get-entity-that-player-is-looking-at.504501/</link>
      <guid>https://bukkit.org/threads/get-entity-that-player-is-looking-at.504501/</guid>
      <author>invalid@example.com (Rival54548545)</author>
      <dc:creator>Rival54548545</dc:creator>
      <content:encoded><![CDATA[Hello, how can I get entity that player is looking at.

	<a href="https://bukkit.org/attachments/35056/" target="_blank">View attachment 35056</a>
	
Now I have this code, it works but when I look  higher it works too]]></content:encoded>
    </item>
    <item>
      <title>TextDisplay sizes calculation</title>
      <pubDate>Tue, 24 Sep 2024 12:32:55 +0000</pubDate>
      <link>https://bukkit.org/threads/textdisplay-sizes-calculation.504487/</link>
      <guid>https://bukkit.org/threads/textdisplay-sizes-calculation.504487/</guid>
      <author>invalid@example.com (just_lofe)</author>
      <dc:creator>just_lofe</dc:creator>
      <content:encoded><![CDATA[I am creating advanced screen system with cursor, and text displays as buttons.<br />
Working showcase: <object width="500" height="300" data="https://www.youtube.com/v/FZilc5ZQ9Rs&fs=1" type="application/x-shockwave-flash">
	<param name="movie" value="https://www.youtube.com/v/FZilc5ZQ9Rs&fs=1" />
	<param name="allowFullScreen" value="true" />
	<param name="wmode" value="opaque" />
	<embed src="https://www.youtube.com/v/FZilc5ZQ9Rs&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
</object><br />
<br />
What i need? It is terrible question. Sizes of buttons. It needs to be set with creating buttons:<br />


	<a href="https://bukkit.org/attachments/35055/" target="_blank">View attachment 35055</a>
	
<br />
<br />
I need a more convenient way to get a button size, ideally without manual set. Any variants?]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>cancall ProjectileHitEvent with Wind Charge still have knock back effect</title>
      <pubDate>Tue, 17 Sep 2024 16:52:16 +0000</pubDate>
      <link>https://bukkit.org/threads/cancall-projectilehitevent-with-wind-charge-still-have-knock-back-effect.504456/</link>
      <guid>https://bukkit.org/threads/cancall-projectilehitevent-with-wind-charge-still-have-knock-back-effect.504456/</guid>
      <author>invalid@example.com (zhangyuheng)</author>
      <dc:creator>zhangyuheng</dc:creator>
      <content:encoded><![CDATA[When I set ProjectileHitEvent with canclled, the wind charge can still knock back entities.]]></content:encoded>
    </item>
    <item>
      <title>Minecraft Server Not Logging Events | Java 21 &amp; Paper 1.21.1 | Need Help with Plugin Config</title>
      <pubDate>Fri, 13 Sep 2024 23:30:18 +0000</pubDate>
      <link>https://bukkit.org/threads/minecraft-server-not-logging-events-java-21-paper-1-21-1-need-help-with-plugin-config.504425/</link>
      <guid>https://bukkit.org/threads/minecraft-server-not-logging-events-java-21-paper-1-21-1-need-help-with-plugin-config.504425/</guid>
      <author>invalid@example.com (caledonian26)</author>
      <dc:creator>caledonian26</dc:creator>
      <content:encoded><![CDATA[Hi all,<br />
<br />
I’m having an issue where my Minecraft server has stopped logging in-game events.<br />
<br />
Here are the key details of my setup:<br />
<br />
Java Version: 21<br />
Minecraft Version: 1.21.1<br />
Server Host: Shockbyte (Paper Server, version 1.21.1, Java 21)<br />
<br />
I suspect the issue might be related to my plugin configuration. Below, I’ve included the contents of my `pom.xml` and `plugin.yml` files. If anyone could take a look and let me know if something seems off, I would really appreciate it!<br />
<br />
Thanks in advance <img src="smilies/happy.gif" class="mceSmilie" alt=":)" title="Smile    :)" />...<br />
<br />
<a href="https://bukkit.org/threads/minecraft-server-not-logging-events-java-21-paper-1-21-1-need-help-with-plugin-config.504425/" class="internalLink">Minecraft Server Not Logging Events | Java 21 &amp; Paper 1.21.1 | Need Help with Plugin Config</a>]]></content:encoded>
      <slash:comments>9</slash:comments>
    </item>
    <item>
      <title>Chat color codes working weirdly</title>
      <pubDate>Fri, 13 Sep 2024 09:32:40 +0000</pubDate>
      <link>https://bukkit.org/threads/chat-color-codes-working-weirdly.504429/</link>
      <guid>https://bukkit.org/threads/chat-color-codes-working-weirdly.504429/</guid>
      <author>invalid@example.com (Alecsandro)</author>
      <dc:creator>Alecsandro</dc:creator>
      <content:encoded><![CDATA[Hey guys.<br />
I&#039;m creating a new plugin in 1.20.6 on a Pufferfish (Paper fork) server.<br />
When I try sending a message in chat via plugin to a player using color codes (such as §1, §a, etc...) strange symbols appear instead of the &quot;§&quot;, but still coloring the next words.<br />
In other version, the symbol would not show up and would just color the chat.<br />
I&#039;ve been trying to fix this but the only way was to use ChatComponents as shown (which I don&#039;t want to use for such simple messages).<br />
<br />
Have you got any...<br />
<br />
<a href="https://bukkit.org/threads/chat-color-codes-working-weirdly.504429/" class="internalLink">Chat color codes working weirdly</a>]]></content:encoded>
    </item>
    <item>
      <title>Shift Click Events</title>
      <pubDate>Fri, 13 Sep 2024 05:05:58 +0000</pubDate>
      <link>https://bukkit.org/threads/shift-click-events.504426/</link>
      <guid>https://bukkit.org/threads/shift-click-events.504426/</guid>
      <author>invalid@example.com (TurtleCraftman)</author>
      <dc:creator>TurtleCraftman</dc:creator>
      <content:encoded><![CDATA[I started development of a custom plugin for my server, ive made a few items and im trying to make events for the items, im running into the issue of making a sneak event<br />
<br />
i have a mace and i wanna make it so when you shift right click youll get tossed three blocks in the opposite dirrection <br />
<br />
my other items use mostly regular right and left clicks but i wanna start adding sneak click events for weapons to make new teirs in levels<br />
 if theirs any guidance i can ask for i would like to ask, i...<br />
<br />
<a href="https://bukkit.org/threads/shift-click-events.504426/" class="internalLink">Shift Click Events</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>An internal error occured while attempting to perform this command</title>
      <pubDate>Wed, 11 Sep 2024 17:56:42 +0000</pubDate>
      <link>https://bukkit.org/threads/an-internal-error-occured-while-attempting-to-perform-this-command.504412/</link>
      <guid>https://bukkit.org/threads/an-internal-error-occured-while-attempting-to-perform-this-command.504412/</guid>
      <author>invalid@example.com (Deity)</author>
      <dc:creator>Deity</dc:creator>
      <content:encoded><![CDATA[Hi, i&#039;m trying to make my own command to set someones/your level in-game. But when i use the command in-game it says &quot;<b>An internal error occured while attempting to perform this command</b>&quot;. Currently i&#039;m aiming at changing the game level but i&#039;d like to make a sort of a rpg plugin later on. I just started with java and before posting this i searched the forum &amp;  tried to fix it myself for an hour.<br />
<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>    @Override
    public boolean onCommand(CommandSender sender, Command command,...</pre>
</div><a href="https://bukkit.org/threads/an-internal-error-occured-while-attempting-to-perform-this-command.504412/" class="internalLink">An internal error occured while attempting to perform this command</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Detect Jungle Temple Puzzle Complete</title>
      <pubDate>Tue, 10 Sep 2024 22:27:10 +0000</pubDate>
      <link>https://bukkit.org/threads/detect-jungle-temple-puzzle-complete.504414/</link>
      <guid>https://bukkit.org/threads/detect-jungle-temple-puzzle-complete.504414/</guid>
      <author>invalid@example.com (Smeary_Subset)</author>
      <dc:creator>Smeary_Subset</dc:creator>
      <content:encoded><![CDATA[Any ideas on how I could detect a Jungle Temple puzzles&#039; completion?<br />
<br />
If a player completes it, something good happens, for example.<br />
<br />
Need this for a minigame.]]></content:encoded>
    </item>
    <item>
      <title>Issue with getClickedInventory() method</title>
      <pubDate>Sun, 08 Sep 2024 20:42:14 +0000</pubDate>
      <link>https://bukkit.org/threads/issue-with-getclickedinventory-method.504389/</link>
      <guid>https://bukkit.org/threads/issue-with-getclickedinventory-method.504389/</guid>
      <author>invalid@example.com (Tibbelsinator)</author>
      <dc:creator>Tibbelsinator</dc:creator>
      <content:encoded><![CDATA[Im making a minecraft plugin (1.21) right now and i ran into a problem, <br />
if(event.getClickedInventory().getName().equals(&quot;InventoryName&quot;)) {<br />
<br />
} <br />
The getName() method doesnt exist for some reason,  i wanna check for the inventory to block clicking in that inventory. Any help is appreciated!]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
  </channel>
</rss>
