Quantcast
Channel: SpigotMC - High Performance Minecraft
Viewing all 128654 articles
Browse latest View live

Bukkit, CraftBukkit, Spigot & BungeeCord 1.14.2 Development Builds

$
0
0
Dear SpigotMC Community,

It is my pleasure to announce that development builds for the Minecraft 1.14.2 are now available. Hopefully most of you are now familiar with how these releases work, so I will try to be brief with the details, but please still make sure you read this post in its entirety.

This is a Development Build
The software released today is the product of several months work. Although the API changes are small...

Bukkit, CraftBukkit, Spigot & BungeeCord 1.14.2 Development Builds

I legit cannot figure out why this is a null pointer exception error

$
0
0
public void addToLists() {
ConfigurationSection section = getConfig().getConfigurationSection("Players.");
for (String key : section.getKeys(false)) {
String value = (String) section.get(key);
String[] locationData = value.split(",");
UUID uuid = UUID.fromString(locationData[0]);
Integer amount = Integer.parseInt(locationData[1]);
playerBalances.put(uuid,amount);
}
}
public void saveToConfig (){
for (Map.Entry<UUID, Integer> hashMap:...

I legit cannot figure out why this is a null pointer exception error

Questions about custom events.

$
0
0
I'm trying to make a custom event for my Hugs plugin, but I have a couple questions about it.

Right now, when a player uses the hug command, I call a method with a bunch of checks for configuration options. If I was to create a custom event, should I listen for it myself and move all of those checks into the listener? Or should I move them to a utility class and just call from it when needed?

My event would probably look something like this
Code (Text):
public class HugEvent extends Event...
Questions about custom events.

ViaVersion Startup Spam & Server Not Starting With Paper

$
0
0
Hey,

When I start my server, ViaVersion spams this in the console (the actual spam is many many lines longer than this): https://pastebin.com/qf5b2v2W

This also delays how long it takes the server to turn on.

Why is it doing this?

Also, have been getting this error:
Code (Text):
> [00:16:45 ERROR]: Encountered an unexpected exception
java.lang.IllegalAccessError: Class gnu/trove/map/hash/TObjectIntHashMap illegally accessing "protected" member of class...
ViaVersion Startup Spam & Server Not Starting With Paper

Alternative to Advanced Respawn?

Server running behind

$
0
0
I'm not sure if this is an error related to Spigot, but my server keeps giving me these messages:
Code (Text):
03.06 21:05:17 [Server] Server thread/WARN Can't keep up! Is the server overloaded? Running 3467ms or 69 ticks behind
Is any way I can fix this? (I can give plugin list, etc. if needed.)

Can CommandSender that isn't a player be not op or not console/cmd block?

$
0
0
I want to make sure this code is safe
Code (Java):
        if (sender instanceof Player && !Permissions.isStaff((Player) sender)) {
            sender.sendMessage(ChatColor.RED + "You need Staff status to use this command");
            return;
        }
 

How to get Inventory Title?

$
0
0
Code (Text):
Inventory inventory = Bukkit.createInventory(null, 54, "Inventory");
I'm trying to get the inventory title from Inventory but it doesn't exist, how can I get the inventory title?

Thank you

VAULT

Dynamic GitHub badges for Spigot and BukkitDev downloads

$
0
0
I use the badges provided by shields.io for a lot of my projects. While there is an option for Spigot downloads there wasn't anything related to BukkitDev. I host all of my plugins on both Spigot and BukkitDev and I wanted a total download count to display on GitHub so I created a little shields wrapper for this purpose and figured I would share.

As an example my plugin AnimatedMOTD is hosted on...

Dynamic GitHub badges for Spigot and BukkitDev downloads

Sand Falling Weird

$
0
0

The sand is not falling normally which is causing this cannon to not work. Any idea what could be causing it?
[​IMG]

I'm conflicted.

$
0
0
Hey there! I've recently come across several threads that talk about preferences over 1.8 and below vs. 1.9 and above and I think I have become conflicted as to what to pick for my server. I want to develop a factions server (meaning pvp plays a big role in it), and while I currently have a 1.13 server I am worried that I will lose a sizable potential player-base on release due to the stigma around 1.9+ within the pvp community, regardless of any plugin I add that will change the combat...

I'm conflicted.

Perma banned owner of a premium plugin

$
0
0
Hey, sry if this is the false section but I think this could be the right xD.

So, what is when a author of a premium plugin is permaned banned from spigot mc?

In my case peoble can buy my favorite plugin but the original developer can't transfer it to a new developer... I think it would be better if the original author could transfer the plugin of a perma banned developer, to a new one... instead the plugin would dead because the banned one can't update/transfer it^^

So I mean it doesn´t...

Perma banned owner of a premium plugin

Chat Component Hover Event Not Formatting Correctly

$
0
0
Pretty simple, the non-color formatting codes aren't resetting when they should be with Hover Events. I've tried using &r, but that doesn't work. Below are some screenshots of what's going on.

Calling the method to set that Component's hover event
[​IMG]

The method(s) that are being called (Ignore the middle one)
[​IMG]

The result, I only want the "Click" to be bold...

Chat Component Hover Event Not Formatting Correctly

[HELP] Error when obfuscating

$
0
0
When I obfuscate my plugin I get this

org.bukkit.plugin.IllegalPluginAccessException: Unable to find handler list for event ????
at org.bukkit.plugin.SimplePluginManager.getRegistrationClass(SimplePluginManager.java:593) ~[exospigot-1.7.10-1.0.1-SNAPSHOT.jar:git-PaperSpigot-ba75d9a]
at org.bukkit.plugin.SimplePluginManager.getRegistrationClass(SimplePluginManager.java:591) ~[exospigot-1.7.10-1.0.1-SNAPSHOT.jar:git-PaperSpigot-ba75d9a]
at...

[HELP] Error when obfuscating

Server seed not the same as in the server.properties file seed

$
0
0
Hello!

I'm running a community server on a dedicated Minecraft server. A few days ago, I made the switch from Vanilla to Spigot. I believe that I did everything that was required to make the transition and server seemed to be running very well. Today, someone from the community told me that they were seeing weird edges in the game, as if the original seed was merged with a new seed. The world also seem to be quite small... it's set to max size but players have been able to run around it....

Server seed not the same as in the server.properties file seed

High Ping on Some players randomly.

$
0
0
Hello guys.

These days i've been experimenting that a lot of my users having horrid latency lag issues and happens randomly with some players, some times. although many of my players are actually having internet lag issues. some of them looks like they are having really high ping issues at certain moments (more likely when there are events that involves many players nearby.)

I host a Survival Server, Spigot 1.13.2 with around 60 plugins and 30 players average in a 480GB SSD i7-6700k...

High Ping on Some players randomly.

/seed not the same as in server.properties

$
0
0
Hello!

I'm running a community server on a dedicated Minecraft server. A few days ago, I made the switch from Vanilla to Spigot. I believe that I did everything that was required to make the transition and server seemed to be running very well. Today, someone from the community told me that they were seeing weird edges in the game, as if the original seed was merged with a new seed. The world also seem to be quite small... it's set to max size but players have been able to run around it....

/seed not the same as in server.properties

Friend Cannot Join My Server (Spigot 1.14)

$
0
0
Hi! I have this interesting problem that I can't wrap my head around.
I'm trying to set up a server on my local machine and have my friend connect to it.
When I spin up the 1.13 server, my friend was able to connect to it no problem. However, when I spin up the 1.14 server, they are getting the error message saying "Unable to connect to world."
For me I was able to connect to both version, and in game I was using the actual IP instead of localhost.
I would assume I have everything set...

Friend Cannot Join My Server (Spigot 1.14)

I need hosting advice!

$
0
0
Hi Spigotors,

I am currently working on an upcoming Minecraft server. I anticipate that the majority of players will be based in North America. I can't give exact figures on the expected player base, but I am allowing some room to wiggle. I intend to run a mixture of survival and minigames. After reading through the forums, I found that a majority of fellow server owners recommend either ReliableSite or OVH. I would appreciate your advice.

Hardware Information

  1. ...

I need hosting advice!
Viewing all 128654 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>