python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Bukkit: Replacing block just drops item of new block
I'm new to Java and Spigot-API. I want to do a BlockBreakEvent which detects if a GOLD_ORE block got destroyed by a player. If so, it should replace that GOLD_ORE block with a STONE block. However it ...

puncher
Votes: 0
Answers: 1
How to make commands with subcommands in spigot plugins?
So I'm trying to make a command with subcommands
command examples:
/its heal (player)
/its feed (player)
/its help
Here is my main plugin file code if needed:
package com.itsmateo20;
im...
It'sMateo20
Votes: 0
Answers: 1
Error 'java.lang.IllegalArgumentException: Plugin already initialized!' found
I'm trying to use a simple socket server to receive some commands(bukkit api).
With the thread, the plugin can receive commands and send it to the main server, so that i can control the server.
But wh...
TunaFish2K
Votes: 0
Answers: 2
Spigot: checking a message / commands sent by players or the console before sending / executing it
For my plugin I have to intercept messages and commands sent (msg or command ex: "Hello word" or "/kill player1") by players or the console and check it before sending / executing ...
Titan
Votes: 0
Answers: 1