#help-archived

1 messages · Page 146 of 1

heavy violet
#

Like debug around it shows it working around that if

#

I'll just figure something else out or leave it for another time.

#

Out of curiosity, though, why is it in it's own interface?

#

If all ItemStacks have those methods

wraith thicket
#

Did you try to debug-output the actual item meta like I suggested? If nothing else, you'll see its class

#

As for the question - I wouldn't know. I didn't write it.

tribal wharf
#

What is triggered when a player respawns with that respawn anchor?

#

I searched already through the classes but i found nothing

halcyon snow
#

Doesn't that just change the player's spawn location?

#

I don't believe any special event would trigger for it unless it does something else that I'm unaware of

tribal wharf
#

yeah but a respawn type would be nice

halcyon snow
#

respawn types exist?

tribal wharf
#

Not direct

abstract cradle
#

forgot the command

brave vector
lyric stream
brave vector
#

Your chat plugin?

lyric stream
#

Nah its a lobbysystem

#

am i the only one who is encountering the following problem:
the playerskull is not loading for the own player, but for the other - this happens for me on every server

frigid ember
#

Is there any way to use the StringUtils in bungeecord?

#

I tried a shaded build with the spigot dependency. It didnt work.

burnt pivot
#

Would anyone know why dynmap is giving render error

"[04:20:42] [Dynmap Render Thread/ERROR]: [dynmap] Exception while fetching chunks:
java.lang.RuntimeException: Invalid length given for storage, got: 320 but expected: 342
at net.minecraft.server.v1_16_R1.DataBits.<init>(SourceFile:111) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at org.dynmap.bukkit.helper.v116_1.MapChunkCache116_1$NBTSnapshot.<init>(MapChunkCache116_1.java:211) ~[?:?]
at org.dynmap.bukkit.helper.v116_1.MapChunkCache116_1.loadChunks(MapChunkCache116_1.java:438) ~[?:?]
at org.dynmap.bukkit.DynmapPlugin$BukkitServer$6.call(DynmapPlugin.java:490) ~[?:?]
at org.dynmap.bukkit.DynmapPlugin$BukkitServer$6.call(DynmapPlugin.java:477) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftFuture.run(CraftFuture.java:88) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1059) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:354) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1007) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:846) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.1.jar:git-Spigot-758abbe-38de0b8]
at java.lang.Thread.run(Unknown Source) [?:?]"

frigid ember
#

how would I save 3 hashmaps onDisable and load them onEnable, in a Data folder and per player data storage

brave vector
#

create a save method load method

#

load all player data to the list

frigid ember
#
    private void loadData() {
        
        for (String str : getConfig().getConfigurationSection("").getKeys(false)) {
            UUID uuid = UUID.fromString(str);
            int enchantments = getConfig().getInt(str);
            enchantgilde.amountEnchanted.put(uuid, enchantments);
        }

    }
    
    private void saveData() {
        for (UUID uuid : enchantgilde.amountEnchanted.keySet()) {
            getConfig().set(uuid.toString(), enchantgilde.amountEnchanted.get(uuid));
        }
        saveConfig();
    }```
#

I have this rn

#

but this only save the amountEnchanted

#

and not in a data folder

#

I need it to save amountEnchanted, woodDestroyed, oresMined

crimson acorn
#

https://i.imgur.com/fB3PRln.png
i haven't changed anything on the formatting, does anybody know why it is like buggy?
@lyric stream It’s your resource pack. Faithful font changes all the common Unicode characters

frigid ember
#
    public void saveOresMined(UUID uuid, int amount) {
        if (!amountEnchanted.containsKey(uuid)){
            amountEnchanted.put(uuid, amount);
             return;
 }
        amountEnchanted.put(uuid, amountEnchanted.get(uuid)+amount);
}```
#

and this in the other class ofc

old solar
#

damn, isSimilar matches durability

#

wont work for my needs

old plume
#

Any idea of why my construct get's the wrong parameter? trying to create a bungee command. I give him multiple parameters, then i do super(Command), but it gets the Name, no sense

#

can't understand where i'm wrong

#

Command new_command = new CommandClass(Position, Name, Command, ecc)

#

it gets the Name instead of the Command

#

all works

#

idk

#

but it uses the Name

frigid ember
#

AFAIK, the Command constructors for bungeecord take either just String cmd or String cmd, String perm, String... aliases, one of those has to be called by your command-extending class.

#

Then you instantiate your class and registerCommand on enable

old plume
#

Yes, all works

#

but i want to pass hime the "Command" value, but what he likes to get it's only the Name

#

infact he register the /name

frigid ember
#

? How does your code look like?

old plume
#

Like i posted it to you

#

public class CommandClass extends Command implements TabExecutor{

private int Position;
private String Name;
private String Command;
#

lets censor it lol

#

public Command(int Position, String Name , String Command..

    super(Command);

    this.Position = Position;
    this.Name = Name;
    this.Command = Command;
#

i'm not setting up permissions or aliases

#

The problem is

#

I pass the Name variable and Command

#

but he somehow takes the Name for Command

#

but when i retriveve teh data

#

is all correct

#

before input them and after

frigid ember
#

Then you are misplacing/swapping Name and Command somewhere. That's all I can think of with this much info 🤷‍♂️

old plume
#

i've debugged

#

it's all correct

#

before and after, idk really

frigid ember
#
  1. how are you calling the constructor of your class
  2. how are you testing if it is working properly or not
old plume
#

I'm registering multiple commands, so can't be the name of the construct

#

all gets the same fate

river cradle
#

Hi there, I'm struggling to find a group with the name "admins" in my code... PermissionGroup adminGroup = new PermissionGroup("admins", null, null); doesn't work, does anyone know what does?

frigid ember
#

@old plume mind showing me one example of the many commands? I really can't help if I don't get to see how exactly you're doing things

old plume
#

I just retrieve data from yml files, and create that construct with all the info needed

#

then i pass them into the code i've already showed yyou

frigid ember
#

How to make water flowing ??

#

I would restore a flowing water

old plume
#

ConstructClass new_command = new ConstructClass (Position, Name, Command, ecc)

#

getProxy().getPluginManager().registerCommand(this, new_command);

#

the other pieces of code are the one i've already posted

#

they're cut down yeah, but nothing to see, just other variables

#

get no error while creating anything, and everything returns back coirrectly

frigid ember
#

but he somehow takes the Name for Command
how are you testing this exactly?

#

@frigid ember are you using WorldGuard or any kind of area-protection plugin?

#

Nn, for my java plugin

old plume
#

i'm testing them directly on a server

#

create a build everytime i test

frigid ember
#

I would restore a flowing water [block], after a replace ( I have replace with ICE_BLOCK, and I would restore this water block )

river cradle
#

Hi there, I'm struggling to find a group with the name "admins" in my code... PermissionGroup adminGroup = new PermissionGroup("admins", null, null); doesn't work, does anyone know what does?

frigid ember
#

@old plume when you try to /cmd the command is no the "Command" but the "Name" instead? Is that the issue?

old plume
#

yes

frigid ember
#

Then you are definitely swapping "Name" and "Command" when passing the arguments to the constructor

noble bolt
#

I'm having an issue where my spigot 1.16 server isnt pinging/allowing me to connect, I've probably overlooked something, but does anyone have any troubleshooting tips?

old plume
#

anyway what i put in super(cmd) is indifferent, from what iov'e noticed

#

but somehow he uses the name

frigid ember
#

Try swapping Name and Command when you call the constructor, in onEnable and leave the rest unchanged

old plume
#

ok, wait i've closed all down, i was delaying it forf another time lol

#

if i make the Name as the Command, yes, the command register in the right way

#

but of course i want to have both

frigid ember
#

"both"

#

You want to have both what?

old plume
#

because my plugin works in thsi way

#

you have the command name

frigid ember
#

...

old plume
#

and in the info, you set up the data, and the command too

frigid ember
#

@river cradle I have never heard of a PermissionGroup class

#

@old plume so you want to be able to do /name (assuming name is what you pass as the Name param) AND /command (assuming command is what you pass as the Command param) and both behave the same way?

river cradle
#

@frigid ember So is there another way by finding a group by its name in PeX?

old plume
#

Nope, name it's only to recognize him in the "database"

#

command is the /commandf

frigid ember
#

@river cradle have you tried through Vault API?

old plume
#

if i want aliases, i know you can put aliases there

river cradle
#

No I haven't, but I'm just not really keen on installing yet another plugin if that makes sense, I wouldn't see why I just couldn't get a group by the name just with PeX

old plume
#

anyway there is something wrong on the costruct, for now i go

river cradle
#

@frigid ember Wait, having looked into it, could I use Vault to replace PeX, or does it have to work alongside it?

frigid ember
#

short answer, you need both installed, it doesn't replace pex

#

but it has no overhead whatsoever

naive goblet
#

@river cradle why do you have pex

supple trail
naive goblet
#

I’d highly recommend switching to LuckPerms

supple trail
#

it's not showing the correct version

naive goblet
#

Perhaps there is an issue

frigid ember
#

I’d highly recommend switching to LuckPerms
yes, please do lmao

#

I mean, it literally suggests you look at LP in the Bukkit project page 🤣

river cradle
#

@river cradle why do you have pex
@naive goblet I really don't know, I looked up a tutorial that used pex

naive goblet
river cradle
#

Alright, so I guess LuckPerms it is from now on 😄

naive goblet
#

Yes

#

What was the issue btw?

sharp hawk
#

Does anybody know what I should do in order to prevent the Java console from opening alongside CMD?

#
java -Xms1G -Xmx2G -XX:+UseConcMarkSweepGC -jar spigot-1.16.1.jar
pause```
crisp widget
#

At the end

#

type nogui

frigid ember
#

add nogui after spigot-1.16.1.jar

#

dammit you beat me to it 😦

winged sparrow
#

—nogui

sharp hawk
#

Thank you.

subtle blade
#

No needed

river cradle
#

@naive goblet Help, my brain is extremely fried at the moment, what do I pass in as the second argument?

Group adminGroup = new Group("admins", <what to put here?>);
valid ice
#

anyone got any ideas to proxy a minecraft server? it's currently homehosted (it's on an actual server, not some POS 2002 dell pc)
i've just played about with it and used ssld on my VPS, only thing with that is when anyone joins they're all gonna have the same IP.

i don't want to expose my origin IP, unsure if this is possible though?

dreamy tide
#

Not sure if this solves it but I know that TCP shield has DDOS protection

peak briar
#

im kinda late but translateAlternateColorCodes dont support the RGB right?

valid ice
#

if i'm using my own homehosting though and my origin ip is exposed that wouldn't help, right?

#

translateAlternateColorCodes is '&' so any minecraft colour, no rgb

peak briar
#

alrighty, so I have to make a wrapper for rgb

valid ice
#

afaik you can't display rgb in minecraft? dont quote me on that tho

peak briar
#

1.16

valid ice
#

havent played with that api yet

peak briar
#

yea same, im trying to understand how to support 1.16 in my plugin

frigid ember
#

ChatColor.of("#rrggbb") (rrggbb being the color code in hex) or ChatColor.of(java.awt.Color color)

peak briar
#

ok thanks

#

You mean Color.of right?

#

oh wait ChatColor.asBungee().of()

remote socket
#

Everywhere i see this

#

My IDE doesn't show a getDamager option

#

I'm using 1.8.8

bronze marten
#

EntityDamageByEntityEvent

remote socket
#

👍

frigid ember
#

oh wait ChatColor.asBungee().of()
@peak briar if you're using org.bukkit.ChatColor then yeah, if you're using the one from the bungee chat api directly, there is no asBungee method lmao

peak briar
#

so currently the only way to support rgb is to make your own wrapper and use ChatColor.of until the color codes get known

frigid ember
#

huh?

peak briar
#

scratch that :P, will there be rgb color codes like &xRRGGBB?

frigid ember
#

🤷‍♂️

#

(it'd be with § but yeah I get your point lol)

peak briar
#

then only way to currently support 1.16 rgb is to make your own thingy that converts &xRRGGBB to rgb so your plugin users get happy

#

oo so its §xrrggbb official?

#

hold on, translateAlternateColorCodes work with &x&r&r&g&g&b&b lol

frigid ember
#

hold on, translateAlternateColorCodes work with &x&r&r&g&g&b&b lol
lmao does it?

naive goblet
#

Wth

valid ice
#

@dreamy tide just tried to use TCPShield, every time I log in I have a different IP 🤣 Think I'll need to find something else

peak briar
#

i just tested it lol

frigid ember
#

then only way to currently support 1.16 rgb is to make your own thingy that converts &xRRGGBB to rgb so your plugin users get happy
@peak briar I mean, you could pretty much just use regex anyway, &x[a-f0-9A-F]{6}

#

xd don't mind my methods, I'm happy with myself

peak briar
frigid ember
#

lol

peak briar
#

using bukkit's translateAlternateColorCodes

remote socket
#

Can anyone point me in the direction of where I can read to find out how to get the helmet material and mount type of a mob?

fervent mango
#

bungeecord is having problems before superlobby ran commands for players -> server: survival now no longer runs

remote socket
#

Or a better way to identify this mob

neat orbit
#

Anybody mind checking out my timings report? My server is experiencing lag spikes and it's extremley difficult to try to fix it. We work on it every single day and have even moved hosts to get Aikars Flags, yet, we experience spikes.

remote socket
#

404 Not Found

#

For equipment

#

But I'll google that keyword ty

halcyon snow
#

huh it works for me

remote socket
#

U missed the l lol

halcyon snow
#

yeah I just fixed that my bad

#

heh

remote socket
#

How would I get the inventory in the first place?

halcyon snow
#

Of what?

remote socket
#

((LivingEntity) entity).getEquipment().getHelmet();

#

nvm got it

frigid ember
#

is there an event for when the server finishes loading and for when the server starts shutting down?

severe wind
#

Do you specifically need to know when the server starts/stops, or would the onEnable/onDisable for your plugin be sufficient?

frigid ember
#

onEnable/onDisable works, but my use case is having it send a discord webhook every time the server starts so it would be better to have like a proper event when the server is ready to connect to

#

nevermind, i think i found it

#

org.bukkit.event.server.ServerLoadEvent

severe wind
#

There is a ServerLoadEvent, though /reload would trigger it as well.

frigid ember
#

i can try to have it set a variable the first time its called so it only sends the webhook once

#

thanks

fervent mango
#

where I report a bug?

wheat mirage
#

Does anyone know the equivalent of this in 1.16?

#

Basically WorldServer#getTracker doesn't seem to exist anymore

#

And i've been unable to find equivalent

north inlet
sleek ivy
#

why is there no 1.16.1 bukkit jar on spigots nexus hub

frigid ember
#

you have to build it yourself

#

if that's what you're asking

fervent mango
#

help me pls?

wheat mirage
#

The server's down or it's on the wrong version

fervent mango
#

more if I give /server and click on survival enters

frigid ember
#

does bungeecord have any errors?

#

or the survival server?

fervent mango
#

no have

#

no

#

before it was normal only I updated bungeecord to 1.16.1 that it happened

frigid ember
#

@north inlet are you registering the event?

#

oh

wheat mirage
#

Any NMS guys here?

north inlet
#

@north inlet are you registering the event?
@frigid ember i completely forgot how to do that

sudden juniper
#

why do all the portals go in the same place? (1.16.1)

frigid ember
#

do you java a class that extends JavaPlugin?

wheat mirage
#

Bukkit#getPluginManager#registerEvents

frigid ember
#

i thought it was getServer().getPluginManager().registerEvents(new eventclass(), this);?

wheat mirage
#

There's a bunch of ways to get the plugin manager

frigid ember
#

ah

wheat mirage
#

Anyone help with the entity tracker stuff?

fervent mango
#

staff on?

frigid ember
#

Bukkit.getPluginManager just calls server (which is static) getPluginManager

@north inlet You need a class that extends JavaPlugin and set that class as your main in plugin.yml, override onEnable and register the event as they said above

north inlet
#

oh, ok

frigid ember
#

Any NMS guys here?
idk, I just let the tab completion guide me xd and maybe check docs lmao

naive goblet
#

Well Bukkit got the server instance

#

Any NMS guys here?
@wheat mirage yes

fervent mango
#

bungeecord does not want to run the /server survival command

naive goblet
#

Any errors?

wheat mirage
#

@naive goblet What's the equivalent of WorldServer#getTracker().trackedEntities.get(entity.getEntityId());

#

In 1.16

fervent mango
#

no

#

no have error

naive goblet
#

That’s not nms?

frigid ember
#

this is probably more of a maven question, but is it possible for the plugin.yml to get the plugin version from the pom.xml?

naive goblet
#

Its possible iirc

peak briar
#

how though?

naive goblet
#

Haven’t worked with Maven in ages but it’s possible in gradle atleast

wheat mirage
#

@naive goblet Yes, it is.

#

WorldServer is an NMS class

peak briar
#

in gradle how? cuz im using gradle

naive goblet
#

Oh yh I’m dumb

peak briar
#

ok thanks

naive goblet
#

And it’s not done btw

#

Just wip

#

@wheat mirage did they remove anything of that in 1.16?

wheat mirage
#

It's 1.12 code, so probably inbetween

#

I've decompiled the spigot source and I'm looking around now

#

Seems to be something to do with PlayerChunkMap

naive goblet
#

Well I’m not very experienced in what happened to 1.16 sorry :/

wheat mirage
#

It's probably more 1.14

#

But anyway I'll keep looking

#
                .getChunkProvider().playerChunkMap.trackedEntities.get(entity.getEntityId());```
#

After decompiling, I've figured out the equivalent code is now this

#

Basically things have been organised into different sub-objects

#

Hope this helps someone searching in future.

wild yew
#

Hey can someone please tell me how to correctly upgrade my 1.15.2 to a 1.16.1

#

In our server we've currently only used the 'world' world

fervent mango
wheat mirage
#

Okay an actual Spigot question. What happened to Inventory#getName? Lol

sharp hawk
#

?1.16

worldly heathBOT
#

Spigot and BungeeCord 1.16.1 are now available. Please see https://www.spigotmc.org/threads/447405/ for more information.
Reminder that BuildTools is the only supported means of obtaining the Spigot server jar.

sleek ivy
#

then why is there a bukkit 1.15.2 jar on the hub. trying to update my plugin

#

seems weird there's a spigot 1.16.1 but only bukkit 1.15.2

naive goblet
#

Read the thread above

sleek ivy
#

where does it talk about the maven mismatch

frigid ember
#

HMMST

#

is there a way to sync plugins and config across a network?

#

they removed bukkit building @sleek ivy

sleek ivy
#

I have an old maven project using it, so how do I get the api now

quartz trench
#

use spigot api

fervent mango
#

help me pls

#

have error? my config?

frigid ember
#

php?!?!?!

fervent mango
#

someone can help me i'm giving /server survival by chat works more if i use the bussola doesn't work

frigid ember
#

what's bussola?

quartz trench
#

compass in portuguese lol

mortal jolt
#

hey for some reason its constantly raining, im not sure if its an issue with spigot or some other plugin on my server. Sleeping in a bed and doing /weather clear or /weather sun doesnt fix anything. Any ideas?

#

im running 1.16.1 btw

quartz trench
#

I had a similar bug. You just have to wait out the rain for now

mortal jolt
#

its been raining for like 10 days straight

quartz trench
#

damn lol

mortal jolt
#

is there really no other way to fix it?

quartz trench
#

I couldn’t fix it

#

/minecraft:weather broken too

#

for me it went away after a couple in game days

#

then came back

#

xD

royal spade
#

Which world is which? DIM1 = Nether? DIM-1 = End?

quartz trench
#

Yes

#

@mortal jolt if you make a bug report on JIRA it might get fixed

royal spade
#

Okay sweet

mortal jolt
#

where do i get to jira

frigid ember
#

is there a way to sync plugins and config across a network?

quartz trench
#

google spigotmc jira

#

you make an account

#

make sure to follow the issue template

grizzled hound
#

how would i get server tps?

quartz trench
#

/tps

mortal jolt
#

you need essentialsx i think

#

and yeah /tps

quartz trench
#

no it’s a default feature

grizzled hound
#

i mean from a plugin sorry

quartz trench
#

in the api?

grizzled hound
#

yes

quartz trench
#

not sure and i’m not home to check atm

#

sorry

grizzled hound
#

its fine

#

you know where i could see the /tps source code?

#

is it in EssentialsX?

mortal jolt
#

im assuming i go to like

#

the spigot webpage right

quartz trench
#

run BuildTools again and get a new jar

mortal jolt
#

oh

#

do i run the buildtools thing in the console?

quartz trench
#

@grizzled hound I know ClearLagg has a tps counter if you read their source

grizzled hound
#

aight ill take a look

quartz trench
#

yes. there are instructions how to do it in the forum post announcing 1.16 spigot release

#

@mortal jolt

mortal jolt
#

oh cool thanks

quartz trench
#

np

mortal jolt
#

ok im sort of lost. i have all this, but im confused on where to go next

#

wait i may be stupid one second

#

ok yeah i just did it wrong nvm

grave crest
#

can people join with 1.16.1 if the bungee cord jar is 1.8 to 1.16.1 and other server paper 1.8

rare prairie
#

np

lone fog
#

Is ChatColor.RESET supposed to leave text italicized now?

quartz trench
#

Spigot bug

lone fog
#

In item names at least

quartz trench
#

yeah that’s a known issue

#

actually idk if md knows

#

maybe make a report

old solar
#

does anyone know how to remove this from a music disc lore? Its not an attribute

grave crest
#

hmm nope idk know

naive goblet
#

Probs nms but not sure

subtle blade
#

I doubt it’s removal at all for the sake of attribution

wet bronze
#

Does anybody know if there's a 1.16 update for dynmap?

subtle blade
#

Could have sworn I saw some people using it in 1.16 the other day

summer elm
#

'a kick occurred in your connection' this message appears sometimes when i try amd join my 1.16.1 spigot server through my bungeecord

spiral carbon
#

Dynmap isn't updated yet as far as I found. I am having an issue where non-op players are unable to pick up items or use commands. Assuming it is due to EssentialsX or some other plugin not being updated yet.

old solar
#

its not an attribute, so the itemflag doesnt hide the disc label

abstract oriole
#

Is there a reason why my server is just restart looping without any catastrophic errors?

#
[12:43:53] [Server thread/INFO]: [BlocksHub] BlocksHub plugin WorldGuard...enabled
[12:43:53] [Server thread/WARN]: [BlocksHub] Loaded class net.coreprotect.CoreProtect from CoreProtect v19.0-dev which is not a depend, softdepend or loadbefore of this plugin.
[12:43:53] [Server thread/INFO]: [BlocksHub] Registered CoreProtect 19.0-dev logger.
[12:43:53] [Server thread/INFO]: [BlocksHub] BlocksHub plugin CoreProtect...enabled
[12:43:53] [Server thread/INFO]: [BlocksHub] LogBlock: plugin not found.
[12:43:53] [Server thread/INFO]: [BlocksHub] BlocksHub plugin LogBlock...disabled
[12:43:53] [Craft Scheduler Thread - 1/INFO]: [Vault] Checking for Updates ... 
[12:43:53] [Craft Scheduler Thread - 6/INFO]: [Lottery] There is a new Version of the Plugin: 1.4.2
[12:43:53] [Server thread/INFO]: Saving the game (this may take a moment!)
[12:43:53] [Craft Scheduler Thread - 1/INFO]: [Vault] No new version available
[12:43:54] [Craft Scheduler Thread - 3/INFO]: [BW] New RELEASE version 0.2.10 of BedWars is available! Download it from https://spigotmc.org/resources/screamingbedwars-1-9-1-15.63714/download?version=335756
[12:43:55] [Server thread/INFO]: Saved the game
[12:43:55] [Server thread/INFO]: Stopping the server
[12:43:55] [Server thread/INFO]: Stopping server
[12:43:55] [Server thread/INFO]: [WorldGuardExtraFlags] Disabling WorldGuardExtraFlags v4.1.2
[12:43:55] [Server thread/INFO]: [ViaRewind] Disabling ViaRewind v1.5.0
[12:43:55] [Server thread/INFO]: [ProtocolSupport] Disabling ProtocolSupport v4.29-dev
[12:43:55] [Server thread/INFO]: [SuperVanish] Disabling SuperVanish v6.1.3
[12:43:55] [Server thread/INFO]: [CraftBook] Disabling CraftBook v3.10.2-SNAPSHOT;4557-a8df046
#

Latest build of Spigot 1.16.1

naive goblet
#

Pls bin

rare prairie
#

try to --forceUpgrade your world chunks

orchid heart
#

anyone ran into problems with entityplayers 2nd layer?

drifting relic
#

does anyone know how to remove this from a music disc lore? Its not an attribute
@old solar Try ItemFlag.HIDE_POTION_EFFECTS. Even though it's not a potion effect, it should work. Minecraft Wiki describes this itemflag as "others", instead of only potion effects.

old solar
#

alright will do thanks for the suggestion

abstract oriole
#

I will note this was working on the first initial builds from yesterday but I have a script that updates Spigot on a cron job quite frequently for Multicraft.

royal spade
#

Anyone facing issues where they cannot pick up items even though they have free inventory space?

abstract oriole
#

I ran the force upgrade already yesterday and it ran for 12 hours on 16c/32t.

#

There are some minor plugin errors (I know but nothing seems out of the ordinary).

spiral carbon
#

@royal spade yes we are unable to pick up items unless an OP

royal spade
#

wat

#

it seems random user-to-user

#

Some users are able to without issue

#

some are not

spiral carbon
#

ah i had a user that couldnt so i had to op her and then she was fine

old solar
#

@drifting relic it works, thanks

lament zinc
#

Hi, there is any way to block player interaction with HorseInventory in Spigot 1.12.2 ? I have tried this but .. nupe.

    public void onInteractInventory(InventoryClickEvent e){
        if(e.getInventory() instanceof HorseInventory) {
            e.setCancelled(true);
        }
    }
opal bay
#

can I see all of the codes?

finite pine
#

have you registered it

lament zinc
#

Yeah i have registered it

willow topaz
#

what does this even mean?? [13:45:51] [Netty Server IO #1/INFO]: Your version isn't recognized, switching to fallback solution: "generic_v3", please update! [testing out early 1.16 version]

frigid ember
#

is there a way to sync plugins and config across a network?

#

if not, is there a better way than just symlinking?

quartz trench
#

People usually use git or rsync and custom scripts afaik

frigid ember
#

hmmst

soft ruin
#

Hm on 1.16.1 bungeecord and client the tab don't reset on server switch is that bungeecord bug or minecraft bug? or is that only on my server?

#

Like players from lobby 1 still displaying after switching server

peak briar
#

How can I know a server version from ProxiedPlayer in bungee?
ProxiedPlayer#getServer().getInfo() doesnt give anything about version
im doing this so i can know whether to support RGB on that ProxiedPlayer or no
(ping when answering plz)

red tinsel
#

Can anyone help me out? Having some issues with my mc server rn. My friend cant join, worked completely fine like under a week ago when we last played. Constantly gives him the io.netty.channel.AbstractChannel Connection timed out error thing

'io.netty.channelAbstractChannel$AnnotatedConnect Exception: Connection timed out: no further information:'

frigid ember
#

Hm on 1.16.1 bungeecord and client the tab don't reset on server switch is that bungeecord bug or minecraft bug? or is that only on my server?
@soft ruin isn't there an option in bungeecord config.yml to list in tab all players in the network? 🤔

soft ruin
#

its on per server, and it don't display all players it only display players who was on servers i have been on

alpine tapir
#

Help I never use spigot and I don't know how to install it

#

Any tutorial whit video out there?

fierce briar
royal spade
#

PSA: if you're having that issue where you can't pick items up, interacting with something such as a furnace fixes it.

#

2 players on my server both had this issue and that fixed it.

#

Weird ass bug

deep lion
#

Does anyone know if spigot is causing the issue where custom named items will show up as italics (&r doesn't seem to work), it shows up on all plugins with guis and custom items (for example heads)

fierce briar
#

Same, BossShopPro over here.

#

Sadly has to do with Nbt, Lots has Changed. rip

#

Since The Italic Drags Over.

deep lion
#

There is no fix for it? Will we just have to deal with it and remake plugins, or can it be fixed via spigot?

fierce briar
#

Probably a Edit or something to their code.

peak briar
#

anyone know about my issue?

ashen stirrup
#

Having an a class that extends EntityZombie as a custom zombie, is there a way to cast it as an Entity? Code like ((Entity) entityZombie).setCustomName("test"); throws an error saying that I can't cast my custom zombie to an Entity.

rare prairie
#

Because EntityZombie is already an entity

ashen stirrup
#

Ah, I feel dumb

bitter rapids
#

Hello, I just updated my server to spigot 1.16.1 and now it's impossible for my players to use commands (or even myself);
there is no errors in the console, just the message "Player issued command /help" but nothing happened.

Can anyone help me

rare prairie
#

Check out the plugins

bitter rapids
#

ok i'll try them one by one ty

frigid ember
#

help me 😦 Disconnected with: Could not connect to a default or fallback server, please try again later: io.netty.channel.AbstractChannel$AnnotatedConnectException

wanton delta
#

Having trouble... is this a bug?

rare prairie
#

Try to start your server with --forceUpgrade argument

ashen dove
#

Anyone knows a working world managment plugin for 1.16.1?

wanton delta
#

@rare prairie problem is its not for every player

#

at least not for the first one

#

subsequent players have the issue

rare prairie
#

That argument is used to force upgrade the world(s) chunks

wanton delta
#

forceUpgrade also wouldnt do anything for worlds that i load myself :p

frigid ember
#

Start Reading Boys/Girls/Unidentified
@fierce briar everyday I wake up, I am more sure that people don't know how to read

fierce briar
#

They probably forget about “Continue...” on the Forums.

#

But, Yea They don’t

#

“Youtube” is the way they go.

frigid ember
#

I mean look at this

#

They asked the same question minutes after and the answer was right above

#

smh

fierce briar
#

Ahaha

#

You:“Scroll Up”
Them: Oh Ok thank you!

#

Best way

#

Well, Depends if they can see the history aswell

#

Since there is a way to disable it on discord from people seeing it. But 🤦‍♀️ Yea

ashen stirrup
#

How would you match an Entity with a custom entity, feel like it's going over my head, I've tried matching with UniqueID but it doesn't seem to be working.

fierce briar
#

Type=creeper

ashen stirrup
#

Specific entities from an ArrayList

fierce briar
#

Ahh

ashen stirrup
#

Yeah 😅

lone fog
#

UUID should work

ashen stirrup
#
    public static boolean isInFromID(Entity entity){
        for (NormalZombie zombie : Infection.gameLoop.getZombies()){
            if (zombie.getUniqueID() == entity.getUniqueId()){
                return true;
            }
        }
        for (NormalZombie zombie : Infection.gameLoop.getBossZombies()){
            if (zombie.getUniqueID() == entity.getUniqueId()){
                return true;
            }
        }
        return false;
    }
#

Using that method, it doesn't return true

lone fog
#

.equals

frigid ember
#

^

#

for uuids you'll want to use .equals

#

(for any instantiated object actually lmao)

ashen stirrup
#

Still doesn't work 🤔

#

This really confused me

serene canyon
#

Not much to do with spigot but more to do with minecraft servers;
I've been trying to get this one resourcepack for a map called Cero to prompt and download, but it for some reason fails to activate after it downloads. Help?
(Resourcepack linked to see if anyone can find anything wrong with it)

#

and no matter where I upload it the issue persists

lethal elk
#

I have been having an issue where players randomly are unable to pick up things and I went back to a different version of paper before it updated upstream from bukkit/spigot and everything is fine has anyone else had this issue?

mortal belfry
#

Hi there,

I've made a backup of my server to test the 1.16 version, so I have deleted the plugins and changed the spigot jar version. But when I start the server, this error appears (only at the first time):

[12:32:53] [Server thread/ERROR]: No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Properties:{level:"0"},Name:"minecraft:water"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:dirt"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Properties:{level:"0"},Name:"minecraft:water"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:grass_block"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:always_true"},output_state:{Properties:{snowy:"false"},Name:"minecraft:grass_block"},input_predicate:{predicate_type:"minecraft:random_block_match",probability:0.2f,block:"minecraft:grass_path"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Name:"minecraft:spruce_planks"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:grass_path"}}]
Here's the whole log (starting the server for the first and second time): https://pastebin.com/nPwHwJbe

It should be noted that I am not an expert programmer and I'm starting to learn a bit day by day, so I would be grateful for your help :)

Thanks.

PD: I also get this error and I don't understand why the ms are too high.

[14:23:38] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 3429593ms or 68591 ticks behind

wanton delta
#

im gonna

#

bump this

#

still have no clue whats going on

#

try to repeat the process on a differnet server, it works there apparently

torn elk
#

Hey guys, would you give me a rough estimate of how much time would it take to convert 1.15.2 map (50gb) to 1.16.1 during server force upgrade?

wanton delta
#

hmmm i just found out my spigot version is outdated again lol

lethal elk
#

I have been having an issue where players randomly are unable to pick up things and I went back to a different version of paper before it updated upstream from bukkit/spigot and everything is fine has anyone else had this issue?
if anyone knows anything about this please let me know

languid jolt
#

Hey guys, would you give me a rough estimate of how much time would it take to convert 1.15.2 map (50gb) to 1.16.1 during server force upgrade?
@torn elk

Your map size wouldn't increase by much or even increase

torn elk
#

@languid jolt But how much time would it take to convert it?

languid jolt
#

If you wanna regen your nether just delete your nether world and gen a new one

#

That takes maybe 5mins

torn elk
#

i will delete both nether and end worlds

languid jolt
#

If you just load your current map on 1.16.1 Minecraft will generate the new chunks in unexplored areas

#

I mean the end didn't get updated

torn elk
#

that's fine

rotund hemlock
#

does someone know how to use EntityDamageEvent

torn elk
#

But how many hours would it take to convert the regular world that is 50gb's

#

is overnight enough?

rotund hemlock
#

does someone know how to use EntityDamageEvent

odd knoll
#

No need to repeat. WDYM "use"?

#

That specific event values, or how to listen to events in general?

languid jolt
#

But how many hours would it take to convert the regular world that is 50gb's
@torn elk

Map don't need "converting" for each version

rotund hemlock
#

I want to make if player get hit getDamager regeneration for 2,5 secs

odd knoll
#

Player#addPotionEffect

#

You can then put in that a PotionEffect which you can make using new PotionEffect.

ashen stirrup
#

I don't seem to be able to check if a custom entity from an ArrayList is an entity from an event.

    public static boolean isInFromID(Entity entity){
        for (NormalZombie zombie : Infection.gameLoop.getZombies()){
            if (zombie.getUniqueID().equals(entity.getUniqueId())){
                return true;
            }
        }
        for (NormalZombie zombie : Infection.gameLoop.getBossZombies()){
            if (zombie.getUniqueID().equals(entity.getUniqueId())){
                return true;
            }
        }
        return false;
    }

I'm using this code to check if an entity from an event is my custom entity (NormalZombie). The zombies are spawning as expected, just having issue checking.
Anyone got any ideas?

lethal elk
#

I have been having an issue where players randomly are unable to pick up things and I went back to a different version of paper before it updated upstream from bukkit/spigot and everything is fine has anyone else had this issue?
Can anyone help?

tame current
#

Guys

#

which is better for

#

more tps

#

and no lagg

#

paperspigot 1.15.2 or spigot 1.15.2

deep lion
hot scroll
#

@ashen stirrup What even are you using?

#

If its a custom entity then spigot events like Interact event wont work with it

#

you will have to create your own

fossil shoal
#

paperspigot 1.15.2 or spigot 1.15.2
Do your testing, see what works better for you.

ashen stirrup
#

NMS, EntityDeathEvent

hot scroll
#

Are you registering custom AI or just a NPC?

deep lion
#

Also it says "failed to verify username" when I try to rejoin

mortal belfry
#

Hi there,

I've made a backup of my server to test the 1.16 version, so I have deleted the plugins and changed the spigot jar version. But when I start the server, this error appears (only at the first time):

[12:32:53] [Server thread/ERROR]: No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Properties:{level:"0"},Name:"minecraft:water"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:dirt"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Properties:{level:"0"},Name:"minecraft:water"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:grass_block"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:always_true"},output_state:{Properties:{snowy:"false"},Name:"minecraft:grass_block"},input_predicate:{predicate_type:"minecraft:random_block_match",probability:0.2f,block:"minecraft:grass_path"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Name:"minecraft:spruce_planks"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:grass_path"}}]
Here's the whole log (starting the server for the first and second time): https://pastebin.com/nPwHwJbe

It should be noted that I am not an expert programmer and I'm starting to learn a bit day by day, so I would be grateful for your help :)

Thanks.

PD: I also get this error and I don't understand why the ms are too high.

[14:23:38] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 3429593ms or 68591 ticks behind
@mortal belfry Can anyone help me a bit please?

ashen stirrup
#
entity.setLocation(loc.getX(), loc.getY(), loc.getZ(), loc.getYaw(), loc.getPitch());
((CraftWorld)loc.getWorld()).getHandle().addEntity(entity, CreatureSpawnEvent.SpawnReason.CUSTOM);
mortal belfry
#

Sorry for the text amount

tame current
#

@fossil shoal

hot scroll
#

Ah, alright... You just want to add an entity to the world? Why do it through NMS when spigot provides a great API for that?

tame current
#

So you don't know which is better ?

ashen stirrup
#

Because it uses different pathfinding

deep lion
#

Could anyone help me with this? Server seemed to crash, here is the crash log: https://pastebin.com/NBRfvSwr After it happened, it say "Failed to Verify Username"

hot scroll
#

Oh, alright i asked that question above, thought you were just adding an entity... What i would do i first debug though it and see if the event gets called.. My guess is that it wont since its a custom entity and not registed with Spigot, If its not registered then you make a packet listener that waits for the entity ID

subtle blade
#

@mortal belfry known bug. Vanilla issue

fossil shoal
#

So you don't know which is better ?
I am not running a server, I did not test psrsonally.
You can make some googling and see what other people find better or as I said, do your own testing.
I won't encourage people to use different software on SpigotMc discord.

ashen stirrup
#

Alright

deep lion
#

Does anyone know what is wrong?

hot scroll
#

@deep lion Let me look at the crash report

deep lion
wanton delta
#

have you tried to use the --forceupdate option?

#

i have a similar issue :/

deep lion
#

When it happened, I left and tried to rejoin, but it said failed to verify username

wanton delta
#

have you updated the world

#

using --forceupdate

deep lion
#

me?

wanton delta
#

ye

hot scroll
#

@deep lion

Caused by: java.lang.IllegalStateException: BlockFadeEvent cannot be triggered asynchronously from another thread.
#

Do you have custom plugins in there?

deep lion
#

I do have plugins

#

Not sure what that is though

hot scroll
#

What plugins?

pastel condor
#

custom plugins?

#

whats that?

hot scroll
#

@pastel condor If they had made any plugins themselves

subtle blade
#

That actually looks like a vanilla bug

deep lion
#

Luckperms, worldedit, plugincontructorAPI, saml, singeplayersleep, holographicdisplays, buycraftx, votifier, worldguard, mytrip, wolfyutilities, WitherAC, vault, nightvisionplus, griefprevention, quality armory, chestshop, essentials, custom crafting, claimslistclassifier, ajantixray, headsplus, voting plugin, esschat, tab, rtp, essentialsspawn

subtle blade
#

*CraftBukkit bug, rather

#

Taking a look now

wanton delta
#

choco can i get your opinion on this lol

subtle blade
#

1 sec, lemme take a look at this other one first

wanton delta
#

yea thats fine lol

subtle blade
#

Though that too looks like a CB bug

deep lion
#

what could be causing that blockfadeevent issue?

#

Is that a spigot problem or most likey plugin?

wanton delta
#

i wasnt too sure because i tried to reproduce with no luck

#

but

#

i mayve tried to reproduce incorrectly

#

or missed something

ashen stirrup
#

@hot scroll , the event is being called

hot scroll
#

Alright well then you have your fix!

#

Just keep stepping through and figure out what the issue is

subtle blade
#

I think Mojang made a change that screwed up CraftBukkit's event call. I'm looking into it, Beng

deep lion
#

Thank you

subtle blade
#

What were you doing to have this issue fired? Converting a world? Just playing?

worthy lava
#

This is not a programming question, but i am going to use it for it. While having text selected and pressing the button TAB or TAB + CTRL, you move the text by 4 spaces (Also known as a tab) but is there also a way to move this text 1 space back? I just completely refactored my shop system and i need to fix up the config so that's why im asking.

deep lion
#

Server crashed again, seems to have happened when I did /butcher in the nether

#

I'll paste

#

Same thing it seems

#

Also at the time I was working on making a world guard region by setting flags

#

not sure if that has anything to do with it

#

This is all in the nether in a new biome

subtle blade
#

So it's definitely a CB bug. In that case, create an issue on the JIRA and I'll try and write a PR to fix it

#

?jira

worldly heathBOT
coral bramble
#

Does somebody know how to set a server to a lobby so that you will be send to this server if you join? (Bungeecord)

subtle blade
#

Reproduction steps, version, etc.

wanton delta
#

im gonna try to reproduce my thing

#

no luck

lyric stream
#
6.06.2020 22:17:39] INFO: [Lobby-1] [22:17:39 ERROR]: Callback onResult call produced an error
[26.06.2020 22:17:39] INFO: [Lobby-1] net.minecraft.server.v1_8_R3.CancelledPacketHandleException
#

Can any1 help me?

fossil shoal
#

1.8 is not officially supported

lyric stream
#

? xd

mild nebula
#

A lot of people seem to be using this over dependency injection in order to retrieve the main class ```java

private static final INSTANCE;

@Override
public void onEnable() {
INSTANCE = this;
}

public static INSTANCE getInstance() {
return INSTANCE;
}``` Is this like... a smart way ? 🤔 Should i move from dependency injection to this instead? Not sure if using static for accessibility is the right way here

#

but literally every plugin i find uses this lol

subtle blade
#

Is this like... a smart way ? 🤔 Should i move from dependency injection to this instead?
Please don't

#

Dependency inject where you can sensibly do so

#

Commands, listeners, etc.

#

There are situations where a static instance grabber is required (i.e. creating NamespacedKey constants in another class - you need your plugin's instance, or in certain situations when writing an enum, etc.)

mild nebula
#

So making a static instance grabber for the main class is wrong 🤔

subtle blade
#

Create one if you have to use it

#

Though constructor dependency injection should be preferred where possible

wanton delta
#

Hmmm my error has appeared on Paper bugs before

mild nebula
#

I'll stick to DI For now then, thanks for the info!

wanton delta
#

So i would like to think its not me doing something wrong lol

deep lion
#

Alright I submitted the issue to JIRA

mild nebula
#

Also choco, mind if i ask you a question about an issue im having? i reported it in JIRA this morning but i think its now marked as solved and not going to be looked on

subtle blade
#

That BlockFadeEvent issue looks to me like Mojang made some parts of feature generation in structure gen async

#

Sure, which issue

mild nebula
deep lion
#

So would that issue also happen on vanilla too?

#

Or is it something can be fixed?

subtle blade
#

md is asleep right now, it's possible he will look at it later, nikv

#

It can probably be fixed, it's just beyond my knowledge, Beng. So again, I ask you create a JIRA issue if you haven't already 🙂

#

Definitely a bug CB should resolve though

mild nebula
#

This is the one, in 1.15.2 and previously, when i attempted to recursively delete a world folder with my plugin and generating one afterwards. i've had no issues and no exceptions at all. with the new one i'm getting a security exception with session.lock being left undeleted (which should happen by default when deleting vanilla worlds)

deep lion
#

Not sure if I submitted it correctly

mild nebula
#

Sure choco no worries! just dont forget me ^^

subtle blade
#

Yep! Thank you! Though edit the "version" field to include the output of /version

wanton delta
#

I would post my thing but I cant reproduce :/

subtle blade
#

Rest looks okay

deep lion
#

I am 4 versions behind btw, perhaps I should try updating?

wanton delta
#

yea doesnt hurt

subtle blade
#

No that's okay. None of the changes made since resolved that issue

deep lion
#

👍

gilded haven
#

I'm having a super weird glitch when going between my 1.16.1 server to my 1.15.2 server

#

I don't exactly know how to explain it other than mobs show on the 1.15.2 server from the 1.16.1 server?

subtle blade
#

Wat

lyric stream
#

*player

#

but this error keeps comming up

subtle blade
#

1.16 worlds aren’t compatible with 1.15 servers

gilded haven
#

Here lemme show you choco

#

Won't let me stream

#

F

#

Is there anyway I can share my screen to you Choco rq?

wanton delta
#

@subtle blade i dont mean to bother but how would i go about investigating the issue im running into? I cant seem to reproduce (at least not with a basic plugin) but also the error doesnt give any info on what could be going wrong :/

somber remnant
#

is there a release date for 1.16 to come out on the server?

wanton delta
#

?1.16

worldly heathBOT
#

Spigot and BungeeCord 1.16.1 are now available. Please see https://www.spigotmc.org/threads/447405/ for more information.
Reminder that BuildTools is the only supported means of obtaining the Spigot server jar.

subtle blade
#

Been out for a few days, bud 😄

gilded haven
#

@subtle blade Can I share my screen with you and show you my issue?

naive goblet
#

Whats the issue

gilded haven
#

2 Things

#

1st is that the Tab doesn't refresh/update

#

2nd The mobs are transferring over to another server, but they're just floating there and you can't hit them

naive goblet
#

Did you update from 1.15.2->1.16.1 ?

gilded haven
#

No, I had a fresh install of 1.16.1 on the one server

#

But the rest of the servers are 1.15.2

naive goblet
#

A complete new one?

gilded haven
#

Yes, I can delete all files and retry it if you'd like

naive goblet
#

No plugins ?

gilded haven
#

I added plugins, yea

#

But I removed them since then

#

To see if it was a plugins issue or a spigot issue

naive goblet
#

I have hard thinking hat they would be the issue

#

But the issues can definitely be some weird bugs

#

Jar sided

gilded haven
#

Want me to make a clean spigot 1.16.1 install?

naive goblet
#

Yeah try that

#

With buildtools

gilded haven
#

Alright

#

I'll also re-install bungeecord

ashen stirrup
#

Anyone here good with 1.8 NMS?

naive goblet
#

Decent

ashen stirrup
#

Uhh Entity FOLLOW_RANGE?

naive goblet
#

What’s up with that?

ashen stirrup
#

Trying to make it so that inside an arena, the entity will have a target but the arena has points where the entity will stop targeting the player. I have this to set the target:

Random random = new Random();
this.goalSelector.a(new PathFinding(IPlayer.getAsPlayer(Infection.ingame.get(random.nextInt(Infection.ingame.size()))), this));

And then for the Follow Range (something I found online while trying to figure it out)

try{
Field field = Navigation.class.getDeclaredField("e");
field.setAccessible(true);
AttributeInstance e = (AttributeInstance) field.get(this.entityInsentient.getNavigation());
  e.setValue(256D);
}catch (Exception e){
}
subtle blade
#

Who was it that wanted an ItemMeta#setRepairCost() again?

naive goblet
#

Jeeb what is the issue

inland ivy
#

Hey so I'm coding a plugin that uses persistent data, but when I tried to store an array of strings it compiled fine but gave an error saying something about the tag adapter not being defined (or something like that)?
I googled and couldn't find anything so I made a quick workaround so I could store it as a single string instead but I've just thought that I've got to store a few things of my own classes that can't really be worked around - is this a spigot thing or a java thing?

ashen stirrup
#

The Zombie still untargets

inland ivy
#

I've left my pc now so I can't really fiddle with it, I just wanted to ask while I remembered

naive goblet
#

Wait how is the follow range suppose to work? Is that relative to the entity or just a fixed location

inland ivy
#

Also is there a way to define a tag adapter for a class?

ashen stirrup
#

The target should be a player in the minigame.
The range should be 256 blocks (So that the entity can't untarget in the arena)

stray schooner
#

omg. just started building out another server on 1.16.1 and it still wont stop raining. Cannot figure out what plugin is doing it.

wet ferry
#

probably a plugin?

#

what happens if you do /time set day

#

@stray schooner

stray schooner
#

I set spawn-protection=0 (was 16) and guess what... no more rain. the heck.

quartz trench
#

No it's a spigot bug

#

I have spawn-protection 0 and my weather is still screwed

stray schooner
#

crap. nevermind rain is back

sudden compass
#

It happens to someone that when you refresh your server list a server doesn't load them instantly? Do you know why this happens and do you know any solutions? The problem is with the first and second servers (they are different dedicated)

median tinsel
#

Unable to resolve BlockEntity for ItemStack: minecraft:air

#

hm

odd knoll
#

Did you update from 1.15 to 1.16?

sharp hawk
#

I had that first time I ran the server after updating from 1.15 to 1.16 and only the first time.

cold steeple
#

uhm anyway to stop mob spawning from capping? cuz on my multiplayer survival server (hard difficulty) it feels like there are no mobs at night, but usually one player is overloaded with mobs. So what can I do in spigot settings or server settings to prevent this?

knotty sierra
#

hey, im after some advice i play on a 1.15.2 server, we wanted to update to 1.16.1 but the owner cant do it for some reason?

subtle blade
#

Well that doesn’t help us at all

#

“He can’t do it” is the most vague you could have put it 😛

stray schooner
#

Okay I disabled multiverse and installed hyperverse. Rain seems to have stopped. Did a restart and still no rain.

quartz trench
#

I don't use either and I have the bug

#

It's quite inconsistent

#

it comes and goes

stray schooner
#

either way added a jira ticket for spigot just incase they see something that can fix it

red tinsel
#

eh guess noone wants to help out here

#

cya

latent rock
#

🔫

#

you saw nothing

hard rain
#

Hello, I'm having an issue with a spigot 1.16.1 server. A player on the server recently tried to use an ender pearl to go through an end gateway, which resulted in a null pointer exception. From the crash report, it would appear that the cause is that the thrown ender pearl's vehicle was null. In my testing, I have found that this issue affects all attempts to travel through end gateways with an ender pearl, but does not affect players who just walk into one. I can provide the full crash report, as well as the logs from testing, if they are needed. Any help with this is appreciated.

wooden gust
#

Hey I just have a quick question, If I was using paper 1.15.2, could I theoretically use spigot 1.16.1 until paper updates, or am I jeopardizing my maps?

subtle blade
#

Update

#

You're like 35 versions out of date, Starman. Always update your server before asking for help with a crash

#

That was fixed within a few hours of release

#

Spencer, that's a question you should be asking the Paper guys. We don't know what changes they make that may potentially cause issues

hard rain
#

My apologies, I didn't realize I was behind.

subtle blade
#

You should be updating with BuildTools practically daily

#

(at least while 1.16.1 is still in active development)

wooden gust
#

@subtle blade Aight, I gotchu. Thanks for your input regardless 🙂

fleet crane
#

anyone know anything about the new colours mojang added to the map?

subtle blade
#

I was under the impression it was just full RGB

#

Saw that issue earlier and was very confused lol

fleet crane
#

nah they just added like 20 more colours

#

Im assuming the new colours arent rendering

#

but idk

opal sigil
#

Did anything change regarding the Tablist settings in the latest version of Bungeecord? When I am using Minecraft 1.16.1 and switch from server-1 to server-2 the player that switches servers still sees the player(s) in the tablist of the previous server. The player that remains in server-1 will see the updated tablist where the player that left is also removed from the tablist.

Tested on a 1.16.1 Spigot server (version : git-Spigot-16d7899-4ff609e) running without any plugins.
I also tested this using a 1.15 Minecraft client, 1.15 Spigot server and the same Bungeecord and the issue didn't happen.

fleet crane
#

bug

#

visit te bugtracker

subtle blade
#

I just wish they'd use RGB for map rendering. I don't understand why there has to be a restricted palette.

#

Eh, compression I guess...

#

8 bits (byte) vs 32 bits (RGB integer)

agile turret
#

So i got an armorstand that i change the velocity on. Is there a way to make it go up halfslabs?

fleet crane
#

does anyone have a link to the changelog saying that they added more map colours?

#

maybe the new colours are bugged

subtle blade
#

They added a few in different snapshots

#

Don't know if there's just one unified list

fleet crane
#

its a bug

#

RAGE

subtle blade
#

noice

fleet crane
#

nylium

#

is the transprent thing

#

did they make maps work in the nether

#

let me try there

subtle blade
#

Well let's see if they decide to take their time and address some bugs in 1.16.2 - because that was confirmed

fleet crane
#

hmm

#

its not transprent on single player

#

o.o

#

tests vanilla server

#

urgh so it is a bug on spigot

frigid ember
#

yo do u guys know why a user payment from my buycraft website is still on hold?

#

it's been 4 days

subtle blade
#

We're the last people to contact for that. Your request should go either to (a) Buycraft or (b) PayPal

frigid ember
#

your right, lemme do that

subtle blade
#

Or, (c) the user ;P

frigid ember
#

The user already received his items in-game 🤷‍♂️

opaque grove
#

It's probably because ur mail isn't verified or something

frigid ember
#

I received buycraft payments before, like a year ago, and it didn't happen.

#

It says I need to verify my shipping info or something, but it's a virtual product.

radiant pollen
#

@fleet crane Don't know if you found it already, but here you go.

fleet crane
#

yeah I found the issue

radiant pollen
#

Cool!

lean fiber
#

Hey, I have a request, a bit stupid tho. Could anyone pass me the link of the page where I can download FileZilla safely. I had already downloaded it, but my antivirus said that it was "a potientally damaging download".

lone fog
#

Ha I remember getting it with malware a while ago

#

Fun times

#

I recommend winscp

granite mesa
#

if your antivirus says it's malware, try to bypass it

opaque grove
#

I have no clue wheter winscp has advanced settings regarding upload speed (like I had set it to unlimited but it had no effect whatsoever), but Filezilla was at least twice as fast for me

granite mesa
#

plus winscp only supports windows

pastel nacelle
#

anything that is executable is a potentially damaging download

granite mesa
#

top ten best philosophical quotes

pastel nacelle
#

and also the modus operandi for almost every antivirus program

trail fern
#

I'm new to server hosting, is there a plugin that prevents mobs from spawning in a spawm chunk

lone fog
#

Worldguard

gilded bobcat
#

Just wondering but is there a way to increase the timeout? With 1.15.2 and the 1.16.1 builds with a area that has a LOT of redstone, hoppers, etc, i typically crash, and the server also ultimately ends up crashing on me. This does not seem to happen as much when I walk/fly over to the area, but if i use a warp plugin or a nether portal to go to the location, it almost always crashes. Logging into the location if i crashed there also does not seem to crash the server for some reason.

fleet crane
#

timeout-time? it literally tells you in the crash message

gilded bobcat
#

It doesn't actually say it was timed out, it is a very long stack heap in the log though

tacit escarp
#

Watchdog creates that stack heap after a few (10?) seconds and then stops the server if its still not responding after 30 or 60 seconds.
But tbh if your chunks take that long to load there is something wrong and you should not just increase the timeout to hide the issue

agile turret
#

So i got an armorstand that i change the velocity on. Is there a way to make it go up halfslabs?
Can anyone help me with this xd

fleet crane
#

its 60 seconds by default

#

which is a very long time lol

agile turret
#

yeah i only run into that when im using a debugger on my plugin xd

marsh hawk
#

i wonder how this chat colour thing is gonna work cross version

agile turret
#

It aint xd

fleet crane
#

yeah it'd be nice if watchdog could detect debuggers

velvet halo
#

convert it to the nearest base colours not that difficult

tacit escarp
#

just disable watchdog for your testserver. Shouldn't debug the live server anyways 😄

gilded bobcat
#

I guess i'll just regen those chunks, maybe i need to space everything a bit further apart 🙂

frozen laurel
#

anybody run into the issue of end gateways crashing the server when you ender pearl through - after update?

fleet crane
#

what does /version say

frozen laurel
#

I saw a bug report and it said fixed, but we just ran into it on my hosted server

#

r0.1 - 37 versions behind

tacit escarp
#

I guess i'll just regen those chunks, maybe i need to space everything a bit further apart 🙂
@gilded bobcat You can try reducing hopper tick rate (if there are a lot of hoppers in that area) or using Paper's eigencraft-redstone as soon as its updated & works. But spacing it out is likely a good move in any case

fleet crane
#

well I think you've answered your question then

frozen laurel
#

i guess so. lol

pastel nacelle
#

afaik eigencraft will be dropped

tacit escarp
#

that sucks.

#

Its awesome

pastel nacelle
#

from what i've seen nobody has any interest in updating it

fleet crane
#

or ya know you could report the issue so its actually fixed

#

anything lagging your server for 60 seconds is very much a bug

#

bugs dont get fixed if all you do is keep trying to hack your way around it

wanton delta
#

i seemed to forget how to make changes to craftbukkit

marsh hawk
#

awh player#sendMessage(TextComponent[]) is no longer supported?

#

damn

wanton delta
#
  • i changed the file, applied patches, committed, then ran buildtools
gilded bobcat
#

lol ok where should i upload the log and a bug report to then md?

wanton delta
#

and it no work 😭

tacit escarp
#

idk, we had some players build a very big farm that lagged the server this much. Back with 1.13.2, so most likely not a bug. Its possible if you don't have any rules regarding automatic farms

agile turret
#

Also, The 1.16.1 build from buildtools doesnt put the 1.16.1 craftbukkit jar in my local maven repo

tacit escarp
#

asfaik craftbukkit is no longer distributed with 1.16

agile turret
#

Then where do i get the stuff for nms shit xd

subtle blade
#

md do you know where the server determines which dimension manager to use?

fleet crane
#

for extra worlds? in CraftServer.loadWorld or whatever

#

for normal worlds, MinecraftServer.loadworld

marsh hawk
#

How do i send a text component to a player now?

fleet crane
#

that method has never been a spigot method

#

the spigot method has ALWAYS been .spigot().sendMessage

#

this is even in the 1.16 release notes

marsh hawk
#

ah right

subtle blade
#

Right so I'm getting this error - the dragon battle api is broken

java.lang.NullPointerException: null
        at org.bukkit.craftbukkit.v1_16_R1.boss.CraftDragonBattle.getEndPortalLocation(CraftDragonBattle.java:33) ~[spigot-1.16.1.jar:git-Spigot-6f4ff1b-71045d3]```
#

Though I can't figure out why

agile turret
#

How do i obtain the nms stuff now? since it doesnt come with the buildtools build anymore

fleet crane
#

nothing has changed re availability of nms

#

its still installed to your local repo by buildtools

agile turret
#

huh

fleet crane
#

@subtle blade open a bug report

soft ruin
#

Nice MD i see you fixed the tab issue 😄

agile turret
#

then it didnt work with 1.16.1

#

since i didnt get it

subtle blade
#

I'm under the impression that the dragonBattle passed through the constructor in CraftWorld#getEnderDragonBattle() but the only way it can be null is if the dimension manager says it's not a dragon battle creator (basically anything but the end)

#

Alright

#

Gonna run some quick tests to see if I can figure out what exactly is null first though

agile turret
#

use the intellij debugger and put a breakpoint on every line xd

#

see where it goes null

lean fiber
#

Thank you for the answers to my FileZilla request! I really appreciate it!

gilded bobcat
#

Is there a separate username/password for the JIRA?

fleet crane
#

yes you need to make a new account

subtle blade
#

Ah, it's not the handle that's null. It's the exitPortalLocation

#

Wonder if maybe that's a world conversion issue

#

Has to be. Think I have a fix

#

Will make an issue on JIRA and a PR

frigid ember
#

is player isOnGround working

#

and setting an item's displayname to &f makes it tilted?

fleet crane
#

why dont you go visit the bug tracker

#

and see discussion about both those things

frigid ember
#

ill check it out

#

interesting

#

is there a work around for that

wanton delta
#

hmmmm

#

i found a fix for a problem that i coudlnt reproduce but it doesnt seem like it was an issue on my end, and made the changes to CB accordingly which fixed the weird issue i was having

#

i would make a PR but it would be a bit odd consider i dont even know how the bug worked or how to reproduce

#

anyone know the chances of that kind of PR being accepted?

vernal plank
#

I'm trying to make items with custom names, however I can't remove the italics anymore (the ChatColor.RESET + x worked in previous versions but fails now). How can I fix this?

ItemStack head = new ItemStack(Material.PLAYER_HEAD);
SkullMeta meta = (SkullMeta) head.getItemMeta();
OfflinePlayer player = Bukkit.getOfflinePlayer(owner);
meta.setOwningPlayer(player);
meta.setDisplayName(ChatColor.RESET + player.getName());
meta.setLore(message);
head.setItemMeta(meta);
return head;```
fleet crane
#

why not visit the bug tracker

#

and see that there is a bug with .RESET

vernal plank
#

Alright thank you for letting me know.

frigid ember
#

so reset will remove italics in the future again?

vernal plank
#

From what I understand the intended behavior of reset is to reset all colors and formatting (bold, italic, underline, strikethrough, and/or obfuscated)

hot scroll
#

Hey, im using Packet Listeners to get packets for interacting with a custom NPC(no external libraries for this) I have 2 plugins that need to do this, and i was wondering if when i register a Handler in 1, and then register the same handler in another will it through a duplicate handler ex? If so i guess i have to make a API to do this or do something else?

serene canyon
#

should be duplicate although I haven't written any plugins xD

neon epoch
#

Hi everyone, what is the permission node for the new gamemode switcher menu (if there isn't one, who has permission to use it)

soft ruin
#

Sometimes when a player leave on bungeecord its a very small chance it not always triggering PlayerDisconnectEvent is it a reason for that?
Is there any other stuff i need to listen on?

#

Like i remove player from a list when them leave but a very few times it don't remove kinda fells like the event did not trigger when the user left

neon epoch
#

it's hard to say at this point. because 1.16 is currently in a snapshot for spigot, we can barely tell performance

subtle blade
#

and see that there is a bug with .RESET
"bug"

summer elm
#

@fleet crane
**'A kick occurred in your connection the server you were on previously went down' ** there is no console error. This happens on 1.16.1 server. I don't believe it's because of any plugins.

Players receive the message randomly when they try to join. Then when they try joining a 2nd time they can. However sometimes they can't join at all.

Plugins Just incase
Plugins (47): LuckPerms, Wild, SCommandBlocker, Skript, PlaceholderAPI, ClearLag, UltimateTimber, PlugMan, Hub, IllegalStack, SkQuery, WorldBorder, NametagEdit, HolographicDisplays, Votifier, VoteParty, Multiverse-Core, AutoRespawnPlus, FastAsyncWorldEdit, DeluxeTags, ViaVersion, CraftingStore, Vault, StaffPlus, ViaBackwards, ViaRewind, WorldEdit, CrazyCrates, LastLoginAPI, Essentials, SpigotLib, OnlyProxy, LiteBans, Marriage, WorldGuard, ChatFormat, WildStacker, Citizens, VotingPlugin, AuctionHouse, TAB, EssentialsSpawn, GriefPrevention, Harbor, ChestShop, Guilds, BountyHunters

(The players were joining with 1.16.1)

stable ermine
#

Hey this is throwing an IllegalArgumentException on 1.16.1. Is this due to an api change or is it likely a bug?

Firework fw = (Firework) p.getWorld().spawnEntity(p.getLocation(), EntityType.FIREWORK);
bitter palm
#

I want my plugin to be able to spawn a minecart on some rails which players cannot push but, whenever a player enters the minecart, force the minecart to move forward without allowing the player to make it go faster, backwards or leave the minecart. Any ideas how I could stop the player from pushing it and stop players from controlling it while inside it? I've looked around for a while and can't seem to find anything except for stopping players from moving in boats. Thank in advance!

fleet crane
#

@stable ermine UPDATE

stable ermine
#

ok boss will do

opal bay
#

poor soul

neon epoch
#

how do a put things in like code format

frigid ember
#

3* ` ?

lone fog
#

``` code ```

bitter palm
#

You mean using code blocks in Discord mrschmiffy?

neon epoch
#

yes

bitter palm
#

Use 3 of the apostrophes next to the 1 on your keyboard, type the name of the language (e.g: Java) then on a new line paste your code and use 3 of the apostrophes again

gilded haven
#

@subtle blade Lemme know when you have a minute, I'd like to screenshare my issue lol

neon epoch
#

oh

#

much appreciat4ed

bitter palm
#

If you want them to be colored then you can type the language on the first line

neon epoch
#

ok thanks

wheat mirage
#

Hey guys is there a guide on how the new chat colours work?

#

And is it chat only no signs / item lores

summer elm
#

ok

#

ok

lone fog
#

ChatColor.of(#xxxxxx)

#

Works in signs, item meta, chat, scoreboard, etc

summer elm
#

ok

wheat mirage
#

@lone fog cant see that on javadocs

#

And great

lone fog
#

bungee api version

#

Not the bukkit one

wheat mirage
#

Do the old chat colors still work?

lone fog
#

yes

wheat mirage
#

Very nice, thank you

#

Do the chat colors need to be sent as json messages

#

Or will Bukkit broadcast message etc still do fine

lone fog
#

Developers
The only significant change that may be of interest to developers is the ability for chat text to take on any 'hex' colour. Support for such colours exists only in the bungeecord-chat API (which is also available for use on any Spigot server). You can use these 'hex' colours both with the component system (Player.spigot().sendMessage(...)) and also with the existing String-based APIs (Nameable.setCustomName(ChatColor.of("#123456"))). To help facilitate the use of bungeecord-chat as a universal chat API, it has been fully released to Maven Central where it is available as net.md-5:bungeecord-chat:1.16-R0.1 (keep an eye out for updates).

wheat mirage
#

So basically use Bungee cord chat colours for everything

#

I'm surprised they dont just deprecate bukkits implementation

#

And what would you use the chat dependency for

fleet crane
#

I mean not adding new features to it is basically deprecating it

wheat mirage
#

Suppose so but it seems Bungee's is now superior in every way

#

For spigot developers

#

Deprecation would be a nice way to signal chat

#

Also what would the chat single dependency be used for, would it work with something like Forge? Because spigot has it built in by default.

fleet crane
#

yes

wheat mirage
#

Very nice, exciting stuff!

half finch
#

Can the Minecraft Development intelliJ plugin update to the latest (1.16.1) version of the api or do I have to manually update it?

fleet crane
#

no idea, its unrelated to spigot

half finch
#

was just wondering if anyone had experienced it as I got recommended it through spigot communities

wheat mirage
#

What does the plugin do?

#

First I've heard of it @half finch

half finch
#

It basically sets up a default plugin in intellij, makes your pom.xml and your JavaPlugin file

fleet crane
#

just manually edit the pom to 1.16.1?

wheat mirage
#

I just use a template project really

#

Didnt realise people used a plugin for it

half finch
#

idk, before I started spigot I used netbeans and when I switched it was the first thing I did as I was just doing what was recommended

modern ember
#

Hah I don't even use a template project. I just create a Maven-based project and add everything manually, so there's that

half finch
#

epic

modern ember
#

Ryxian, all you should have to do is change the 1.15.2 version number in your pom.xml to 1.16.1

#

then reload the project

half finch
#

Yeah, I just did that

#

Its all good

#

I had never done that before

#

I'm pretty new to Maven

#

I wish my professors had told us about it, its super rad

wheat mirage
#

It has its limitations

#

But its better than manual

#

thats for sure

half finch
#

and thats the truth

inland oxide
#

time for the daily update...

fleet crane
#

yes the scheduler is thread safe

drowsy socket
#

any idea why @p isnt working with /tp in spigot?

lone fog
#

Do you have essentials

drowsy socket
#

yea

#

does essentials remove it?

lone fog
#

It messes with it

#

Try minecraft:tp

peak portal
#

Is there a way to delete the spawn that was set? -New to making a server-

drowsy socket
#

thank you

lusty vortex
#

./minecraft:setspawn

peak portal
#

TY

subtle blade
#

Uhm, sir. Your creepers are floating

lusty vortex
#

I hate when that happens

half finch
#

The creepers are becoming quite threatening

peak portal
#

With Spigot is there a way to just restart? Without stopping and restarting manualy?

subtle blade
#

Yes. Spigot supports restart scripts and adds a /restart command

split lagoon
#

im having an issue where the nether is stuck on peaceful and the overworld is on hard mode. could anyone help?

peak portal
#

What command do I need to add? I did /restart and it just stoppped the server and closed the CMD?

pastel nacelle
#

in the script where you launch the server, wrap the line that launches the server in an infinite loop

#

that way it will always start back up after being shut down

#

the restart script option in spigot.yml is shaky at best

peak portal
#

New to server making...Make a line to do a loop?

subtle blade
#

No, don't make a loop, please

lone fog
#

The server is forever

#

You cannot escape

subtle blade
#

In the spigot.yml you'll find a restart-script option

#

Point that to your start script (./run.bat, ./run.sh, whatever)

peak portal
#

restart-script: ./start.bat since my file is Start.bet?

#

.bat*

subtle blade
#

yes

peak portal
#

I'm going to give it a try. How do I pull up that white windows for the server console?

subtle blade
#

The default one?

#

Just run the server as you would normally without nogui

peak portal
#

Why didn't my brain relize that nogui mean nogui not some french word...

fierce briar
#

I just thought it said “No Guy”

#

Smh shame on me

peak portal
#

Also that command isn't restarting the server. It causes it to stop, but keeps me at the press any key to continue

fierce briar
#

There is a “END” i think

#

You can add

spring nexus
#

Is the 1.16 bug that after setting a player as the inventory holder using Bukkit.createInventory mentioned before? It returns null when I use getHolder()

gilded haven
#

The issue that I'm having is that whenever I go from my Vanilla server (1.16.1) and back to my hub (1.15.2) the mobs transfer over but they're not attackable and they don't move. Just float there.

fierce briar
#

Here ya go

#

“Exit” i guess

peak portal
#

@subtle blade I got the command in the spigot.yml working, but when it restarts it says, "." is not reconized

fleet crane
#

@spring nexus no I haven’t heard that

spring nexus
#

Alright, I just tested this on 1.15 just to make sure. Yeah, it's always null for the constructor with inventory type. It works as expected if I use the ctor with inventory size.

fleet crane
#

What inventory type?

#

No relevant code changed afaik

spring nexus
#

I tested it with 4 different inventory types, same thing. Except PLAYER type.

#

Oh, it works for WORKBENCH, BARREL, ENCHANTING, ANVIL, ENDER_CHEST, BEACON, CARTOGRAPHY, LOOM, STONECUTTER, SMITHING, GRINDSTONE, SHULKER_BOX and CHEST too.
So it doesn't work on: LECTERN, HOPPER, FURNACE, DROPPER, BLAST_FURNACE, DISPENSER, BREWING, SMOKER

frigid ember
#

Just making sure, but EntityPickupItemEvent is called before the item is added into the inventory, right?

spring nexus
#

Yeah.

gilded haven
#

Is anyone having an issue where the mobs from a 1.16.1 server are transferring over to a 1.15.2 server?

lone fog
#

What

spring nexus
gilded haven
#

Ok. I'll see if that fixes it.

pastel nacelle
#

petition to ban sweet berries

frigid ember
#

How can I put colors on the console for spigot? Like warning for yellow, info for white, Error for red

#

I'm currently testing some of the plugins and I'm having a hard time to determine which errors, warnings or infos only

hazy dust
#

yeah that's a bad bug rm

peak portal
#

Can I get someone to see if they can connect to my server?

fleet crane
#

@frigid ember same as with players, Bukkit.getConsoleSender or whatever .sendMessage

gilded haven
#

It's an issue when moving from a 1.16.1 server to a 1.15.2 server

dark shuttle
#

idk but how the hell can an interface has 2 same method with different return type

fleet crane
#

Must be a pretty old version youre looking at

rotund orbit
#

I'm trying to create a /nick command and I am using translateAlternativeColorCodes() and setDisplayName() to do this. When I set the nickname with &4 however, the entire line becomes red, not just the name. What can I do to only change the name, not the message?

fleet crane
#

add &r at the end of the nick

rotund orbit
#

Thank you! I'll give it a shot!

#

I have received so much help from this chat. You guys are all excellent.

#

Weird

#

Adding it while using the command worked

#

But adding it in the programming didn't

#

Nvm

#

Misplaced parenthesis

formal jacinth
#

anyone know what the slot numbers are for an enchantment table

rapid garden
#

I am switching to spigot from paper while paper updates, but I am getting an issue where my already created worlds are being regenerated when they load up. this is on the latest spigot 1.16.1 build

#

Not sure what is causing it to happen

#

wait, nvm. sorry this issue seems to have been fixed

#

Welp

fleet crane
#

but you said you were on the latest

#

sigh

frigid ember
#

Anyone know how can I put colors on console of spigot? Like warnings is yellow, red is error etc...

fleet crane
#

@frigid ember same as with players, Bukkit.getConsoleSender or whatever .sendMessage
@fleet crane

frigid ember
#

OKay okay, thank you!! Much appreciated!

honest tusk
#

When will SPIGOT-5810 and SPIGOT-5835 be fixed

digital badge
#

When md_5 has time to be able to fix them

hoary idol
fallen field
#

hi!

#

Does anyone know a good rankup plugin? I want to use it for a prisons server. Thanks in advance for those who respond!

hoary idol
fallen field
#

thank you!

hoary idol
#

It has a very good format

#

and good support from the devs

fallen field
#

Thanks for the info, much appreciated!

hoary idol
#

np

tight pewter
#

@hoary idol

; after the command to always do the second one, regardless of the first launching or not.
&& after the first, if you want the second command to launch ONLY if the first one runs fine.
|| after the first if you want the second command to only run if it fails.

e.g.

java -Xms1G -Xmx1G -jar server.jar no gui && echo Started! || echo Not started!

hoary idol
#

thank you so much kittleapps

tight pewter
#

no problem. Bash/Terminal usage is a little weird for people to start on and remember, just remember Linux is Case-Sensitive. 😛