#help-archived
1 messages ยท Page 16 of 1
Try it
contains is there
Contains("key name")
^ yes
Ok
Since you cant null check it, check if its contained
if (contains(keyname)) { // parse it }
else { // load default }```
Then set your boolean
And you wont get a nullpointer
And if you do, your config is fucked up anyways
It was just what I googled
boolean val = getConfig().getBoolean("bar_enabled", true);
that assigns a default value btw
thanks
however unless you call saveConfig() it will not update the value in the config
just only on the object
If the player gains too many experience points, such as 1 trillion, the experience bar and level counter completely disappear from the HUD. This appears to occur around level 32,767 or 215โ1, the largest value representable by a 16-bit signed integer.[12]
The maximum XP that can be gained from the /experience command is 2,147,483,647 levels or 231โ1, the largest value representable by a 32-bit signed integer and by Java's int type.
2,147,483,647
what
soo much
the max displayable exp
for bar to be full
i set it to 100, and its showing two bars
and its not even vsible
/**
* Sets the players current experience points towards the next level
* <p>
* This is a percentage value. 0 is "no progress" and 1 is "next level".
*
* @param exp New experience points
*/
public void setExp(float exp);
0.99
0.99, becausee 1.00 or "100" is next level.
I dont know if it will roll over automatically.
try it
1.00 and 100 are very different lol
no
lol
my system the max is 100
its like a percentage
so anything / 100
100 / 100 is 1
100 is max in my system
exactly
how do i remove xp
from someone
setExp for me doesn't seemt o always work
set&
set*
Cant you just do setXP(0)?
Player#setLevel(0)
Player#setXP(0)
thank
setXP only handles the current level. 0 would be 0% of your current level.
YES
my system worsk perfectly
is there a bukkit event called while the player is still, no right?
sadly
You can integrate into an AFK system such as with Essentials API. Past that, you would just have to create it yourself by doing a timer that checks how long they should be at the same location to be considered "still".
ok
nah ill just do something else
It's alright
I don't want to be using api's for this.
I would do the event yourself then.
no
I will do what I want to do in another way
It's alright
Just knowing when the player is still would help
yk what
ima make an event
is the runTaskAsynchronous in the BukkitScheduler class still contained in 1.15, with the Plugin and BukkitRunnable as an argument, it is deprecated in 1.8
anybody know how to "shoot" a particle with velocity an getPlayer it hit
!verify AnhKietNguyen
A private message has been sent to your SpigotMC.org account for verification!
!verify AnhKietNguyen
@wheat pumice oh i'm sorry
@frigid ember plugin is an argument
But, you use run async as a method
Off of the BukkitRunnable object
So you could do... BukkitRunnable r = new BukkitRunnable...etc
Then after you set it all up,
is the method in bukkitrunnable
Then r.runTaskAsynchronously
in future versions
I'm using 1.15
AS IT is deprecated
And it's like that
thanks md5 ๐ฎ
i said it is deprecated in 1.8
because we lazy bro
Is it possible to override the RecipeChoice.ExactChoice.test method so I could include an amount check into it's functionality?
I tried extending ItemStack and overriding isSimilar but that didn't work
1.15 it's not deprecated lol
does the discord name updates too?
I SAID ITS DEPTRECATED in 1.8
oh it did
pretty sure those methods throw an exception in 1.15
I know and I gave you the answer ๐
btw why did you change the inventory ways inhigher versions than 1.8 md_5
it makes it impossible to make a plugin support multiple versions with inventories and guis
I'm sure those changes have to do with how Minecraft changes
you can use the 'new' method in older versions
Is there any event that could be used to detect whenever an ItemStack is added to an inventory? So for example when an item is picked up or a player runs /give?
no
im talking about events
I believe getTitle() or such methods don't exist in newer versions of bukkit md_5
or getName()
Where is the test method of RecipeChoice used?
@ocean anvil there are a variety of Inventory events.
InventoryPickupItemEvent would handle pickups, not sure about /give though off the top of my head.
I'm aware of the different events - unfortunately none of them seem to cover specifically an ItemStack being added to an inventory in any way
Wouldn't InventoryPickupItemEvent only cover hoppers?
public class InventoryPickupItemEvent
extends Event
implements Cancellable
Called when a hopper or hopper minecart picks up a dropped item.
oh mb, yeah
This seems like it's going to be tricky ยฏ_(ใ)_/ยฏ
@ocean anvil EntityPickupItemEvent
That handles dropped items.
Having trouble finding out how to detect when items are added directly to the inventory however.
who of you knows how to use maven
๐ค
I am having issues
im tryna use netty
so i came across this dependnecy
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.23.Final</version>
</dependency>
and it still shows errors
after adding it
saying its nto found
is the version red?
yes
That means none of your repositories contain it.
how do i get it?
how can i shoot a particle and get the entity which it hit
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.48.Final</version>
</dependency>
Try that one for me, because it should be available in the mvn central already i'd imagine.
import
that means it will download it lmao
enable auto import
like always
saves you headache
irt just showed an icon
it never was like thos
it didn't ask
it just showed an icon
ok works
๐
Uh, what is depending on it?
for example to access gameprofile
Oh
im tryna make my plugin bukkit
and support bukkit servers
so adding these dependencies will work right
i don't wanna use spigot
cos ๐ฉ spigot
how i get com.mojang
not in bukkit doe
send me
the authlib
send me the authlib Mojang repo @hoary parcel
where
trying to find it myself
is it this
<dependency>
<groupId>com.mojang</groupId>
<artifactId>minecraft-server</artifactId>
<version>1.4.4</version>
</dependency>
No
The repo is https://libraries.minecraft.net
Bukkit servers are still a thing? Lol
Bukkit isn't a server software
@hoary parcel download failed
Craftbukkit is
that's a repo, you can't just download the entire repo lol
bundles the entirety of mojang inside craftbukkit plugin
You can't distribute mojang ip
-does anyways
Mojang send scary legal letters before, enforcement is no joke
I know, that's why Spigot exists if I remember correctly.
No, not at all
Uh, well from what I remember Bukkit was having issues with Mojang and had to shut down
did spigot got any so far?
No, not at all
The bukkit project is owned by mojang
really?
Spigot existed before the bukkit project was abandoned
when, how..?
When mojang hired they bukkit team they brought bukkit
But if I remember correctly, Bukkit was not owned by Mojang.
there was dinnerbone if i remember correctly one of the devs
That was awhile ago now though, when was that? Like 2012?
I vaguely remember, it feels like forever ago.
It's pretty easy
After 11 years
Mojang brought the project but didn't tell all contributors
I suppose it's easy to keep up; if you really want to.
I just focus my energy on other things ๐
When wolve found out he has been working for mojang for two years without getting paid, he was pissed and exploited the fact that craftbukkits licence was invalid at that time (since it contained nms code), to dmca his changes to the project, to end it
Then ppl got pissed at mojang because of how they handled the situation and the whole staff team left
The graveyard is still visible on the forums with all the good bye posts
oh
Now that sounds familiar.
I don't play this game nor have I every really played this game
..
Sorry to interrupt the story-telling, but one quick question: Do unused imports make any difference in the compiled Jar since they're not used for anything and therefore (presumably) never loaded?
no difference
but you so zoomer and u remember all that
I just work with this game
but remove them
you do play it
3/4 of devs don't play mc
Iโve just gotten back into this game a little
I just code for it
Am just 10 years older than you are I guess
I don't play it.
The updates are pretty cool
you are gay
guess under 12 and you'll be close
15
@hoary parcel Good guess.
nah that's too high
I am 14.
called it
@hoary parcel ma g
I dont even play MC ๐
nice
Best day to have a birthday
ill wish you a happy birthday
I dont think I have played MC legitimately since around 2013-2014.
It's both weed day and Hitler's birthday ๐
I hope you live in a legalised area my man
4/20/20
Hitler was born on 4/20, yes
nice
Hm
But you're also turning 23, a useless and uneventful birthday.
jeez
Am the secret reincarnation
only in america
Just, less racist, more drunk I guess
25 will be your last "exciting" birthday.
No such thing
I don't care about birthdays at all
#general ..?
Perhaps
Birthdays don't make you die faster.
I just gather a few friends and hit a bar or smth and that's it
That's not a very good way to describe what you're trying to say.
#general ..?
@solemn grove I wouldn't bother trying to stop the chaos.
Spigot server very professional
If you have a wage as mine, you don't bother about material stuff anymore
No but itโs the less written way
So gifting is really hard
Wage lol
Ppl tend to gift me time, as that's way more valuable
#general !!!
Just make like 90 plugins and charge them
Am a software developer in Germany with like 5 years of experience now and I have a bachelor's
just continue your conv in #general
Go figure
Enough to make a decent living in my own flat in downtown cologne
sag was @hoary parcel
You do realize youโre spamming a bit also mini modding
See, it's hard to compare salaries between country borders
But I dont live in a place with a high cost of living.
Ffs stop mini modding, nobody cares
its annoying how users who might need help here
Woohoo
Okay who needs help right now then
Retrooper, i'd calm down. Did you find your authlib thing?
If somebody needs help we will stop
So what they got a #general to ask for help in
But your messages are spam
Who would use #help-archived for help anyways
^
As per the rules:
Off-topic discussion is allowed, but Spigot-related discussion takes priority
If somebody joins asking for support, pause your conversation and help them if you can.
If people are actively requesting for, or giving help in #spigot, you can head over to #spigot-chat for more off topic atmosphere.
But if no ones stopping you
Nobody is asking for help
Chat in #help-archived is only disallowed if an on-topic discussion is taking place
๐คฆโโ๏ธ
Which there is not
@agile jungle shutup
Ok so I was using WorldBorder to fill in my world. I also accidently deleted the world file (not the actual world that people play in, but the original). When people logged in, the instantly "Suffocated in a wall" if they were in a certain area. I restored the world file and restarted the server but it still happens. i tried disabling worldborder aswell
No please use general for general chat
And help for help
We should have an off-topic channel
And a plugin-dev channel
@storm vessel your players have spawn points in walls, the easiest way to fix is delete player files
But then they loose inv
Will that delete inventories?
if you don't care about the rules anywhere
Yes
Uuhm
instantly?
Yes
The chunks arenโt loaded potentially
Suffocated
World border?
ah
Could also be that
Make sure the minecraft world border is set high
Is moving an item between a player inventory and a crafting inventory enough to fire an InventoryMoveItemEvent?
Did you set the radius in rtp
@ocean anvil you might want inventoryclickevent for that
i see the world border in the distance
that will call invclick yeah
I set the world border high, disabled the worldborder plugin, etc
I cleared the world border
Nothing works
you might need to put the worldborder plugin back to set the world border again
It's the vanilla world border
I did
dragging the item calls InventoryDragEvent (to split stacks) and just moving it or right click splitting is just InventoryClickEvent.
Wait there is a vanilla worldborder
You could debug the death event to see cause or something ?
Sure
that's probably what the world border plugin is setting
Where
./worldborder are the commands iirc
Yeah pretty much
Could be suffering from xy problem here - I want to be able to access every item crafted in a crafting table if the player was to shift+click and do multiple since CraftItemEvent only fires for the first item crafted
Uninstall the plugin and set the range using that
Where can I find the settings for the vanilla worldborder
So I figured InventoryMoveItemEvent would fire for every item crafted since it moves between the crafting inventory and a player inventory but idk if that's true
Or if it just directly injects the itemstacks into the inventory instead of moving them
Nono
@ocean anvil it's gonna be a pain: https://hub.spigotmc.org/jira/projects/SPIGOT/issues/SPIGOT-1009
InventoryClickEvent then
this is quite an old issue
MoveItemEvent is mainly for moving items through hoppers iirc.
InventoryClickEvent and InventoryDragEvent. I wish you the best of luck though xD
there's a workaround in the thread
Got it
it's not pretty tho
Thank you so much
Idk if InventoryInteractEvent might help as well
My first plan was actually just to iterate through every slot in the inventory and make edits but I figured that would be relatively quite slow
Yeah
wut
In that issue, Lukas wanted to iterate through every [item] ever crafted and give it a certain value - I want to give every sword ever crafted a set of base stats like this https://i.imgur.com/WTSyhkV.png
So I figure if the workaround worked for them it should work for me, albeit relatively quite slowly
Well one way of doing this would be to use custom recipes?
If I understand your problem right.
Oh maybe
@mental coral
dms
Are refunds possible. I bought a plugin but doesn't require my needs
talk to the developer
Right now I just have a function that lets me add level data (lore + PersistentDataStorage) to any item so I only had to make it once and any gear I choose can have level data added
Recipes would mean I have to make a custom one for everything I wish to add levels to
Which is quite the pain
Even if it is a better solution
Well I mean if you now want to change certain repices you could make a whitelist of materials you want to change. Then iterate through every recipe and filter those by the whitelist and then do this in onEnable().
I believe every recipe has a result, which can be modified. So just get the material from the result stack.
you can probably programmatically replace recipes by their result
That still doesn't solve me adding PersistentDataContainer stuff to every item crafted I don't think
I doubt you can add that stuff into a custom recipe but hey what do I know
Yes you can
I mean not if you plan it out
you set an itemstack as the result of the recipe
if spigot doesn't preserve the persistentdatacontainer in the itemstack it's probably a bug
there was a recent commit that fixed some issues with copying persistentdatacontainers as well
After this commit, spigot now creates a deep copy of the
itemmeta's persistent data container when the itemmeta
instance is cloned.
This change fixes the bug that, after cloning itemmeta, the container
instance the cloned meta would point to was equal to the original one.
This resulted in two itemmeta instances sharing a single persistent
container.```
i would guess that a recipe clones the itemstack, so this should also correctly copy the data container
who knows how to fix this 1.8 glitch where you are stuck in a fence or so
have you tried updating to 1.15.2
I don't want to though.
I want a 1.8 server.
I am on a 1.15 client, but i want a 1.8 server.
7 years old?
Too old
almost 6 years old it seems

feelsOldMan
literally older than some players
Is there any way I could get the deobfuscated method names net.minecraft.server.v1_15_R1
In my plugin there is a time where I need to create an NPC. I did it with packets, but is there a way to create an NPC serverside without using an API outside of Bukkit? The packets are clientside.
This is my current code, it works, but I would like to make an NPC serverside and not clientside
https://pastebin.com/4LELPFZi
why did 1.15 Minecraft client stop sending PacketPlayInFlying packets?
Anyone knows if buildtools generates javadocs too?
use the link
i doubt it would work like this
why did 1.15 Minecraft client stop sending PacketPlayInFlying packets?
Wym why did it stop sending?
It doesn't send anymore
They just send Position packets
The way 1.15 works is so different to 1.8
The way the packets are sent.
Not only the flying packet
Of course it is, game designs can radically change between updates.
and they have changed the game a lot.
But the way packets are sent, that is not good.
I am an anticheat developer, this makes creating anticheats real difficult.
wat
Turns out the protocol changes in a timespan of 7 years ๐
Especially if you want to support multiple versions.
And not rewrite the check for each version.
Are you sure you want to make plugins then?
?
Why do people even use those old versions
Support latest and don't have issues ๐
Itโs beyond me
or 1.15 does it better now
There is no normally
Normally is what the notchian client does
A lot of changes get made to packet handling, etc... specifically to improve network performance.
but some packets are just "deleted"
So, it's bound to change as they optimize code.
There are a few legacy things in the protocol, yes
it was avery useful packet, it was sent every tick.
one could use it to time other packets
maybe they found a better way to handle flight
and code checks like timer.
That's not always a good thing, lol.
I just recently stumbled upon the packets for the twitch metadata ๐
Well, that's sad for you
now they don't send it at all, and it's gone.
lol
Move on
no other develoeprs too
@hoary parcel shutup, listen ere
change is not always bad.
Change is almost never bad
I don't know how much experience y'all have with packets.
I created custom clients and server in multiple languages
so What
I know one or two things about the protocol ;)
I dont see the point in arguing about it. It changed, come up with a solution to resolve your issue.
"whyd o you use such old versions anyway"
1.8 servers let you support 1.8 and above
some users like older versions
Let them like it.
1.8 pvp, the older animations, ect..
ยฏ_(ใ)_/ยฏ
^
The wast majority is on 1.15
we shouldnt promote 1.8
especially when it holds us back
Are you hypixel? Do you have a dev team of 50 ppl to maintain custom server software?
Are you dumb
you are dum
I say that, because you called me dumb before.
For no reason.
Now end this discussion.
Stop.
If you don't want to be called dum, don't act dum ๐คท
shutup
I was bringing up a topic.
Not many know about this.
That the packets are sent differently
In different order and more,
Packets change every fucking version
ยฏ_(ใ)_/ยฏ
Code for the version you want to code for. When you want to swap over to different versions for multi-version compatibility, you will also have to deal with minor/major changes.
I just wanted adiscussion and shut the fuck up
threatening to kill me
what is wrong with you.
this became a shitshow
lemme bring the popcorn
bruh
๐ฟ
Nah, you always act irrational lmao
You hold a conversation fine every once and awhile, and then when you don't agree with something, or it's not favorable to you, you complain like it's everyone elses fault.
Or you keep dragging the conversation after you've already been given an answer
it's your choice to support old software, don't whine about why they did this or that, if you would look closely it makes a lot of sense
๐ท
In my plugin there is a time where I need to create an NPC. I did it with packets, but is there a way to create an NPC serverside without using an API outside of Bukkit? The packets are clientside.
This is my current code, it works, but I would like to make an NPC serverside and not clientside
https://pastebin.com/4LELPFZi
Wouldn't all NPCs be server side for the most part anyways?
Would it be better to just "hide" the NPC? Is that what you're trying to do?
Is it possible to override the RecipeChoice.ExactChoice.test method so I could include an amount check into it's functionality?
I tried extending ItemStack and overriding isSimilar but that didn't work
@fleet burrow What I ended up doing is extending ShapedRecipes, overriding the a method copying the other a method and rewriting it to support amounts
which worked
then registering it directly with MinecraftServer.getServer().getCraftingManager().addRecipe
whats wrong skrump?
seems to be almost right
oh
server side
well then you need to handle all the things
fromplayer interact and all that
ah yeah, i get it now
best bet would be to look into citizens
Is there a way to queue a function / piece of code to run as soon as soon as an event function is finished?
can someone tell me how to join a server that is spigot im new to this
it tells me "cant resolve host name"
Then either:
- The address you entered doesn't lead to a server
- The server isn't running / isn't running properly
What address did you enter?
pvp.land
yeah but for some reason it doesnt let me join
Can you join other servers?
yes
Can you make sure you entered the right address? If you can connect to other servers, and pvp.land is online, "Can't resolve host name" means you entered an address wrong afaik
when i change version for example 1.15.2 it tells me that i need spigot 1.8.8
then use 1.8.8 minecraft
that server only supports 1.8
That means it's running 1.8.8 Spigot, you'll need to use standard 1.8.8 Minecraft
:\
y'all have some similar names
what a coincidance
it works in 1.8 thanks
No problem.
@ocean anvil 1.8.8 servers support 1.8 -> 1.8.9 minecraft
okay, i managed to put the online javadocs in a project
by clicking the link works
however not when i hover
Idk, I dont have much experience with Eclipse.
I never had issues with displaying Javadocs with another IDE like Netbeans
I need help.
I want to invoke a method and include arguments
thisis my current code
for (Method m : methods) {
if (m.isAnnotationPresent(PacketHandler.class)) {
System.out.println(m.getName());
try {
m.invoke(listener.getClass(), e);
} catch (Exception ex) {
}
}
}```
Invoking doesn't work
nothing happens
e is an object I initiated higher in the code
print the exception too
there is none
i did some debugging
the method name is called
just invoking is what I need help with
oh wait
hm
why
help
for (Method m : methods) {
if (m.isAnnotationPresent(PacketHandler.class)) {
System.out.println(m.getName());
try {
m.invoke(listener.getClass(), e);
} catch (Exception ex) {
}
}
}```
Uh, when you use invoke()
Arent the parameters the arguments?
like 3 errors
yup
m.invoke(Argument 1, 2, 3...etc)
Use invokewith object and parameters
the first is the instance
ok
ima try
that
Yes
It works, thank you @coarse moon
@sour perch
thanks
you are the best
I know
๐
๐
scroll all the way down.
He used an example and used the class in the first parameter
Hi
I put a topic on the forum but I ask the question here
When the sprint key is the same as the one that allows you to move forward
Here's the problem
oh i can't upload a gif
it's my problem
someone can help me?
so, i do that method for MVdWPlaceHolderAPI:
https://hastebin.com/gofevocete.java
i make this in three plugins, and work, but i do again and receive this error:
https://hastebin.com/gehujewiwo.css
FelipeRankup.Main.onEnable(Main.java:36)
FelipeRankup.APIS.PlaceHolder.registerRanksp(PlaceHolder.java:22)
What are you doing around those sections?
in main this:
PlaceHolder.registerRanksp();
and in placeholder this:
PlaceholderAPI.registerPlaceholder((Plugin)Main.m, "feliprerank", (PlaceholderReplacer)new PlaceholderReplacer() {
Most likely Main.m is null. You should be using dependency injection instead of such a sloppy attempt at a singleton pattern
@frigid ember perhaps try to disable WitherAC. It may be trying to detect it as autosprint or something.
It generally seems to be when you try to doubletap W with sprint bound to W (while connected to your server at least).
Likely just a minecraft quirk.
You wanted to refer to Raphy with your last comment, @mental coral
Oops
@foggy mural
Perhaps try to disable WitherAC. It may be trying to detect it as autosprint or something.
It generally seems to be when you try to doubletap W with sprint bound to W (while connected to your server at least).
Likely just a minecraft quirk.
Best fix is just dont duel bind controls, but possibly something on your server just as viaversion support or something of the like combined with a relatively new anti cheat.
I set an multiverse modify rule using '/mvm add bedRespawn true' and then when I die i still respawn at world spawn help
do i need to like reload or something?
By simply looking at the command you're describing, I'd assume that it's stopped you from respawning at your bed. Seeing as you describe respawning at world spawn, it sounds like it's working as expected.
Hi, how to rotate player head ? Im try this, but it not working. Player sit on armorstand
Player p = (Player) sender;
Location loc = p.getLocation();
loc.setPitch(90F);
loc.setYaw(90F);
p.teleport(loc);
?
๐ok
hm
does large file size of a plugin affect its performance while it runs on the server?
@mental coral
a plugin I made has a lot of dependencies, and yes. A LOT.
so its almost 2000KB
1,700KB or so
It may lightly affect the initial startup, but unlikely that once it is loaded it will cause issues.
If you 100% know the dependancies will be available, you can set them as provided and reduce jar sizes however.
How else would the server do auth, without authlib? ^^
You can set things as provided if you know they will be there. If you are ever unsure, set it provided and try to run it. It'll yell at you and give you ClassNotFound exceptions.
i would be down to use maven but it doesn't work with libraries of same type (for nms classed)
internal jupiter
Hello, can anyone tell me th why you guys dont have the 1.7.10 buildtools anymore?
aww i was hoping it did
The build process used for 1.7 isn't available anymore since it infringes on mojangs copyright
You can make 1.7 plugins all you want. You can't legally obtain a 1.7.10 server
Though really... you're working with a 5+ year old version of the game...
I cant verify
Give it time. try every 15 minutes or so
I have a question.
Does the players render distance influence the render distance of the server?
So let's say the player only has 2chunks but the server offers 7
No. Minimum is used
So 7 is used?
If player is at 10 but server is at 7, 7 is used. If player is at 2, 2 is used for that player only
Server render distance is a maximum value
Pretty sure server still sends everything tho
I believe you're right
It's kinda stupid
Oh so you could theoretically squeeze out more performance if you force people to have lower render distances in selected areas...
It's more of a client performance thing as far as I'm aware
No
Meh
Though you might reduce a bit of server load
View distance is a server thing too
I wasn't done my sentence 
๐
As you load way more chunks (which is fine with async chunk loading) but you also tick the chunks (which isn't fine)
Leaf has a new "no tick view distance" where server still sends outer chunks but doesn't tick them, it's quite nice
Since players doesn't notice that you limit view distance for performance
He's working on upstreaming that
And no, upstream isn't spigot ๐
So basically the players sees 7 but the server only renders like the one you're in?
Well, you could do that but that's dum
Upstream should be Spigot
Most servers use a view distance of 5
Depends on what you do :)
And then you can set no tick to 10
Choco that patch wouldn't work on spigot since spigot doesn't have async chunk loading
It would absolutly destroy performance
Md patched async chunk loading out of the server ever since mojang added it iirc
So I fail to see why it's being discussed on the Spigot server 

vanilla has async chunk loading?
Yep
whaaaaa
It's shit tho ๐
Okay so sum this up, what I planned to do won't work
Oh, something of interest here, there are chances that we will get packet batching
Or at least a multi particle packet
That would be reeaaly cool
What's the benifit?
Less things to send over the network
ZLP there was a patch for dynamic view distance, which is what you want, but that was dropped with 1.14 iirc since it broke with the new chunk system
Consequently, less network congestion
So basically, better client and server performance if you use lots of particles for trails and animations and shit
Which is why we requested it
Minecraft sends an insane amount of packets, maybe we can get that down a bit
thank you coco, it works
Well.. what I'm planning to do is to squeeze out as much view distance as possible if needed but stall it to spare performance when it's not... It makes no sense to see 10 chunks for example when you can't even see above the house in the city you're in
Let alone caves
Sadly that's not easily possible anymore
So the fake view distance to reduce chunk ticking is your best bet
We can't switch to paper or whatever else there is so I really hope spigot adds features for something like this
Or just straight up reduce view distance if you stuck on spigot
Does chunk ticking inflict random tick speeds or what does it do?
Chunk ticking is chunk ticking
Because I really don't like the idea of having a laagy ai experience
Block, TE, entity, random ticks, all the ticks
Oh well that sucks
And its global or adjustable in radius?
If there 2 chunks next to me work normal that's more than I need
Sorry for asking such questions btw, I have little knowledge about such topics but they may come in handy
does any body know how to fix a corrupt chunk?
does anyone know how to fix the you dont have access to the command
anyone know how to fix the uknown host error half my friends get when they try to join my server?(hosted on my own hardware)
Can someone help me?
My Kitpvp plugin and my tags plugin doesnt work help me someone ;_;
is there a way to make bukkirunnables not anonymous so I can tell what I'm looking at in stacktraces and timings?
public class MyStupidShit extends BukkitRunnable
but anonymous classes have an id $1 for example, so its the first one in your class
an alternative is to write a method directly in your class and pass it to the scheduler with a method reference - then you avoid an extra class and the method name appears directly in the stack trace
void task() {
// bad code that throws errors
}
void schedule() {
scheduler.runTaskLater(plugin, this::task, 21);
}
Sorry to disturb, but is it possible to ask the spigot support to give us a plugin that we bought that has been deleted?
It has been deleted by the developer, it's a prenium plugin.
Well I don't think it's possible
Try contacting the developer?
The developer to quit everything. He did the wrong thing.
I mean as far as I know no one can really save you in this case but I might be wrong.
But SpigotMc have an archive? He always offers to download the plugin but he tells me that I don't have permission
Who's he?
The developer?
i mean I do think you should have access to this plugin since you once bought it from him but I don't really know if it's possible to reobtain that source. I'd suggest contacting a resource staff perhaps.
Okay, thank you for your help
I need some help. I want to run a server on craftbukkit/spigot snapshots(like minecraft snapshots but with plugins) but I don't know where I can download the snapshots where can I?
I need extended snapshots(like from spigot, craftbukkit, paper)
The latest 1.16 experimental versions?
The latest 1.16 experimental versions?
Yeah
Guys, is there a obj.setFooter("footer"); how else would i set the footer of a scoreboard?
I mean the last line should be the footer
Yeah, but I thought there used to be an actuall footer because I don't want it to be a row I wanted it to be its own footer
Idk if there's some sort of API for it that can help out but I think that's how you would have to do it.
@frigid ember Idk if it's possible to access the experiment versions. You tried --rev in BuildTools?
--rev in BuildTools?
Hm yes
Well the latest one is 1.15.2
But i'll try
But then how do I want to say the version
Just 1.16?
Hmm maybe the builds isn't accessible.
Only for vanillas
but it would be like 20w08
Ah
Or something (if)
I tried 20w15
Yeah
I tried launching the snapchats
Copied the version name(in the versions folder)
I guess for now it's not public
yeah
BUt servers are running on snapshots
That is actually rare
"name": "2665",
"description": "Jenkins build 2665",
"refs": {
"BuildData": "455d45a4244894335cd07451bdda79ccd380aff6",
"Bukkit": "7361a62ec7fd9e572d727caebd9ac47e1bd69990",
"CraftBukkit": "ce66f6937b24f2861a8d147cac23d1733ef7b3f4",
"Spigot": "e7dc2f5347c48d92355d3b13614909ead30022f5"
},
"toolsVersion": 105,
"javaVersions": [52, 58]
Dunno if u know this
Tried latest
Nopes
Latest is 1.15.2
Actually Iโve really no idea
So there is no way that I can support my server with plugins?
Snapshots(version)
Cuz my friend did
He found a way
Tho I don't know how.
Hello, how can I disable all throwable items in 1.8 thanks
Wym
ะัะพ ััััะบะธะน
probably just cancel all interact events
What is the particle effect for Exp bottle levels in spigot?
I'm talking about these guys
Ah, I thought it would be usable as a particle! No worries
I did !verify (my username) in the verification channel and the bot said it sent a DM but i checked my spigot account and I haven't gotten any new dms
wait and retry
Does anyone know how to check if the player is in combat with the CombatLog plugin?
bruh
I saw it, but I can't understand.
I wanted to create an "if (p.hastagcombat)", but I'm not getting it.
I not english, sry for errors
string instead of uuid ๐ค
how do I do that? ;-;
I'm trying load locale.yml in my plugin
anyone knows how to fix the error here: YamlConfiguration configuration = YamlConfiguration.loadConfiguration(plugin.getResource("locale.yml"));
@old barn just get an instance to that plugin can access the public field?
@hoary parcel ?
you forget to read the input stream
whats the benefit of using bitwise and bitshift operators? i've noticed they're used a lot in chunk stuff, are they just faster?
yeah
Hi! Is there a working configuration for spigot + multiverse? I tried spigot 1.14.4 and 1.15.2 with Multiverse-Core 4.1.0 and 4.1.1 (w java 8) and it always crash when I do mvcreate with players online... Any suggestions? https://pastebin.com/VPWXcnW2
Faster and less memory to hold, andy
Bitmasks come in handy for transferring multiple boolean states over a network
You can compress 32 booleans into a single int value, for instance.
This is cool af
ah thats clever
Hey, im new to git and i want to patch some stuff from Spigot. Can someone help me getting 1.8.8 Spigot source? Thx.
It's all in BuildTools
Okay thx
Nobody uses multiverse?
correct
Can you help me with paper? Im trying to get that fork but i got banned from they disc. because someone started saying that im outdated
And i wasnt able to fully understand thepatch system
choco's about to start yelling at you
Is there a better alternative for multiworld management?
We don't support out of date versions either. You really should be updating. The only kind of support working with older versions you're going to get is telling you that you need to use BuildTools. Beyond that, you're on your own
1.8.8 is almost 5 years old
ok. I also tried with java 11, 13 and 14, but mv seems to support only 8. As I understand, the API, is for plugins development.. is there a REST API that can be used?
Can an ubuntu 18.04 script run on Deb10?
@subtle blade As i said in the paper discord, since 1.9 the tps are like crap when having 500 users something that didn't happen back with 1.8.8
They banned me from saying this, plus, i cant fully replicate old mechanics on 1.15.2 i tried so hard
2 years trying to get 1.12.2 stable but im already sick, i need to roll back to 1.8.8
hey am I doing this right?
items.containsEnchantment(Enchantment.MENDING)
it appears to always return false, even when the item is ItemStack{ENCHANTED_BOOK x 1, ENCHANTED_META:{meta-type=ENCHANTED, stored-enchants={MENDING=1}}}
Hmm maybe books store enchantments differently
yes
any ideas? I am out of creativity
