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

My Batch File Won't Run

$
0
0
When I attempt to run my run.batch file to start the server it shows me this error in the cmd

Invalid maximum heap size: -Xmx4096M
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Please Help.

[HELP] 1.13.2 Vault API Problem... Unsure of the error.

$
0
0
Hey, I'm trying to implement Vault into my plugin. but I keep getting an error, I'm new to making plugins and I can't figure out the problem.
I do have Vault and EssentialsX installed on my server.

Code (Text):

package plugin;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Logger;
import java.sql.Connection;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.RegisteredServiceProvider;...
[HELP] 1.13.2 Vault API Problem... Unsure of the error.

Plugin message listener not picking up messages.

$
0
0
Hello all,

(my apologies if this is in the wrong section)
For the past couple of hours I've been trying to use the plugin message listener to send messages from plugin to plugin. I've tried with different channels and even the BungeeCord channel, and so far nothing appears to be going through.

I've debugged and I know the channels are registered at the very minimum, but the plugin message listener doesn't appear to be picking it up.

Code:

onEnable()
Code (Java):
@Override
public void...
Plugin message listener not picking up messages.

Chest shop issue

$
0
0
Hello! i have a 1.13.2 survival server with a plugin called Chest shop. And the most shops peoples on my server makes, peoples cant buy from it. please help me

Can't set item in Anvil Inventory

$
0
0
Hello everyone,
I'm making my own permission plugin, and to add permissions, I want the user to type the permission in an Anvil inventory (not with the block), so I set a paper to slot 0, and nothing happens...
Code (Text):

Inventory inv = Bukkit.createInventory(null, InventoryType.ANVIL); //Creating the Anvil Inventory (working)
inv.setItem(0, (new ItemStack(Material.PAPER))); //Placing paper in the first slot (not working)
player.openInventory(inv); //Opening the inventory (working)
 
I...

Can't set item in Anvil Inventory

Chest on unloaded chunk behaviour.

$
0
0
I am curious, is there any chance that by using this:
Code (Java):
    public Block getBlock() {
        return this.location.getWorld().getBlockAt(this.location);
    }
would it, in any case, not return a block that is expected to be there?


Basically, I am storing information on a specific block in various worlds. I also have a repeating task checking whether the block in the specific location is a specific material. If not it is erased from the plugin's data. For some reasons (not...

Chest on unloaded chunk behaviour.

[Help] MissingFormatArgumentException Error

$
0
0
I'm trying use Logger to send a message to console when my users.yml file is created but I am getting this error :\

Console:
Code (Text):

[11:38:17 ERROR]: Error occurred while enabling HeadHunter v1.0 (Is it up to date?)
java.util.MissingFormatArgumentException: Format specifier '%s'
        at java.util.Formatter.format(Unknown Source) ~[?:1.8.0_201]
        at java.util.Formatter.format(Unknown Source) ~[?:1.8.0_201]
        at java.lang.String.format(Unknown Source) ~[?:1.8.0_201]
        at...
[Help] MissingFormatArgumentException Error

KillAura Detection

$
0
0
Topic: Hi, I am opening this thread to discuss how you guys block KillAura. I will be talking about how plugins developers are trying to block KillAura and how hack clients developers managed to bypass them.

Content:
At first in the 2013, many plugins do not block KillAura. Many members have requested KillAura detection plugin in bukkit.

Later, the NPC feature was implemented and became famous on detecting KillAura. Many plugins spawn invisible NPCs to detect KillAura....

KillAura Detection

TABS

Code review, feedback and improvements to be made.

$
0
0
I do not require help so as to solve some sort of issue.
I'm just looking for someone to give me some feedback and critic on my project's code.
Some suggestions or just your opinion on whatever you wish. Thank you for taking the time to read this.
Github repo.

damage sound help

$
0
0
i just made my own spigot server for the soul reason of getting 1.8 pvp back in 1.14.2. the only plugin i downloaded was the 1.8 pvp plugin and now my damage sound is the old "oof" that was in the older versions. any fixes will be nice :D

Silk Spawners Issue

$
0
0
When I use /spawner give {player} cow 1 and someone with op places it, it places as what it's supposed to be. But when I use the same command to give a spawner to a non opped player it places as a pig. I've already added the permission "silkspawners.place.*" and im not sure what else to do.

[HELP] a way to turn a string into an array name?

$
0
0
Is there a way to do something of this sort?
Code (Text):

public FileConfiguration userscfg;
public File usersFile;

File[] Files = new File[]{usersFile};
FileConfiguration[] FileConfigs = new FileConfiguration[]{userscfg};

public void saveCustomConfig(String filename) {
    filename + "cfg".save(filename + "file");
}
 
I'm just trying to combine the string that I input and cfg/file into one word

how do i remove plugins?

$
0
0
i added a combat plugin to get 1.8 combat on 1.14, but i didn't want it anymore, i stopped the server, and deleted it from my "plugins" folder, i restarted the server and the plugin was still active. i then DELETED my plugins folder, and the plugin was still active, any fixes, anything im doing wrong?
thanks

Nether Random Teleport

$
0
0
Looking for a functional 1.13.2 random teleport plugin that supports nether and end worlds, please!

One of the plugins I have has memory leak, how can I find which one is it?

$
0
0
My server's free memory decreases over time when there's a player online until it hits 0, which is causing server to crash.

Is there any way to see plugins' ram usages?

Plugins (23): LagAssist, WorldEdit, VotingPlugin, MVdWPlaceholderAPI, FastAsyncWorldEdit, FeatherBoard, EasyBackupCore, Vault, Votifier, EasyBackup, BungeeTabListPlus, Multiverse-Core, ProtocolLib, AuctionHouse, DiscordSRV, Residence, ChatControl, HolographicDisplays, BuycraftX, LiteBans, CrateReloaded, UltraPermissions, CMI

World save lag

damage sounds

Placeholder issue

ViaVersion Startup Spam // 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 // Not Starting With Paper
Viewing all 128654 articles
Browse latest View live


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