Questions tagged [bukkit]

Bukkit is the name of a set of community built, open source tools envisioned and developed to ease the creation of SMP plugins. It was intended to replace hey0's Mod.

Filter by
Sorted by
Tagged with
0 votes
1 answer
77 views

How can I mod a Minecraft slime to be about the size of a full block?

I want to make the slime's size roughly the size of a full block, I have tried some values but I'm not sure if any of those I tried fit the idea I have. What would you recommend for the size of the ...
user avatar
0 votes
1 answer
3k views

Unsupported API version on Spigot 1.14 snapshot

I'm (trying to) develop a plugin for Spigot Minecraft 1.14.2. I have tried putting both api-version: 1.14.2 and ...
Jachdich's user avatar
  • 103
1 vote
0 answers
73 views

Problem with Thread (bunggecord and spigot)

I would like to see how many players are connected in a server by the way bukkit and Bungee messaging channel like this : ...
Miicka's user avatar
  • 11
1 vote
1 answer
58 views

How to distinguish multiple same element already in place on a minecraft map

I am currently working on a minecraft plugin using spigot. It's a sort of a race between players where checkpoints validation is needed. I have a minecraft map edited on MCEdit and I have severals ...
Himeji's user avatar
  • 11
0 votes
1 answer
407 views

How to pass arguments with BungeeCord/Bukkit plugin messaging

I am trying to send a plugin message from Bukkit, to BungeeCord, but can not figure out how to send arguments. Here is the code from the Bukkit plugin, which sends the message: ...
marisusis's user avatar
  • 101
0 votes
1 answer
643 views

Why do I get this EventException in Bukkit? [closed]

Could any one tell me why I get the exception (and how to fix it): Bukkit Plugin Couldn't pass Playerdeathevent to Plugin [org.bukkit.event.EventException] with this code? ...
Apply55gx's user avatar
1 vote
1 answer
730 views

Bukkit Scheduler not in main Class

I want to make an Repeating Task whisch isn't in the main Class. ("Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {},20,20);") But it says that it can't resolve the method.
Apply55gx's user avatar
0 votes
3 answers
150 views

Minecraft: Players Held Item Type

How can I check if a players held item is of a specific item type - for example an axe. (can be iron axe, gold axe, wooden axe, etc.)? Or do I have to do multiple if statements to have this done? <...
paskl's user avatar
  • 103
-1 votes
1 answer
279 views

Bukkit - Loading chunks in a new world

I'm looking to make a large-scale PVP plugin. On a server network (MCBrawl), there is a game mode that spawns players in a world that I assume is randomly generated every time. I want to make ...
Martin's user avatar
  • 1
2 votes
1 answer
2k views

Bukkit "Could not pass Event" error

I'm trying to make a bukkit plugin, which implements backpacks in the game if the player has the correct item (Enchanted Normal book with Efficiency 10 and Unbreaking 10, to be uncraftable). I want ...
Bálint's user avatar
  • 14.8k
0 votes
1 answer
586 views

Minecraft Bukkit Rename world and use in Java Plugin

I run a Minecraft server (Bukkit 1.7.9) and would like to have a second overworld-like world, into which I can teleport players from my plugin. I did some testing with the "world" folder: tried to ...
user66916's user avatar
3 votes
1 answer
186 views

Edit spawn location according to vector direction

I'm trying to make a turret in Bukkit (Java). This will shoot an arrow to the players that are in the shooting radius. But now I've a little problem, the arrow gets stuck inside the block where its ...
Bennie Godschalk's user avatar
0 votes
0 answers
68 views

Java Angle Math: Calculate how near the player looks to an entity [duplicate]

I am programming a Minecraft Bukkit plugin and need a way to calculate an input number from 0 to 360 for displaying a custom compass / radar. So if the player directly looks at the object (shouldn't ...
user42504's user avatar
  • 101
0 votes
0 answers
1k views

How can I get the entity a player is looking at in a Bukkit plugin?

I'm creating a wizardry plugin for Minecraft, and I was wondering how you would get the entity that a player was looking at, I know that you would have to use a ...
Jojodmo's user avatar
  • 103
1 vote
1 answer
2k views

Minecraft - How do I check if someone has a clear inventory

How do I check if a player has a clear inventory? I'm making a PvP arena plugin but I need it so when someone types /pvp join, it checks if they have a clear ...
Faris Rehman's user avatar
0 votes
1 answer
377 views

Index out of bounds, Java bukkit plugin

I'm getting index out of bounds errors in my Bukkit plugin, and it's really beginning to piss me off... I for the life of me can't figure this issue out! Caused by: java.lang....
Robby Duke's user avatar
0 votes
2 answers
541 views

Player position triggering teleports

I'm developing a Minecraft plugin (bukkit) in which a server admin can create 'portals' - a small region that will teleport any players who enter it. I have the teleportation sorted and I know how I ...
jSherz's user avatar
  • 225
2 votes
1 answer
2k views

How can I teleport seamlessly, without using interpolation?

I've been implementing Bukkit plugin for creating toggleable in-game warping areas that will teleport any catched entity to other similar area. I was going to implement concept of non-Euclidean maze ...
toriningen's user avatar
-3 votes
1 answer
473 views

Bukkit inventory saving: crashing somewhere

I'm working on a command for a bukkit plugin that lets you transfer worlds. In the section about saving the player's inventory, I'm getting a runtime error. My question is: Why is the error happening, ...
HcgRandon's user avatar
  • 192