#help-development
1 messages · Page 2277 of 1
Btw I’d assume a preview feature is more likely and stable to be in the jdk and obviate changes than an incubator feature? I’ve been reading features of j19 recently 😅
i dont think ive ever seen a player inventory type ever actually return PLAYER_INVENTORY lmfao
Yea, preview comes after incubation
its always the PLAYER_CRAFTING or whatever tf it is
I see
Ah okay then I got that right :3
You could use holders too for your top inventory
What about checking for the item and cloning it?
and see if that was the one clicked
e.getClickedItem()
Have alot more then just holders lmfao
.clone()
InventoryHolder
and the slot to clone it to
Any way to acess the initialized JavaPlugin object?
No I mean I have a whole util (that I made)
You wanna create a list of "History" objects more than likely, or HashMap
should i rename those to xyz etc?
Is it your plugin that you want to access
whats the plugin for sql in intelli
yes, I want to acess a method I created inside the plugin class
I already wanna kms already and I'm at the easiest part lmfao
Guide to dependency injection: https://www.spigotmc.org/wiki/using-dependency-injection/
nah this is easiest part
uh just jetbrains annotations and then you annotate a string with @Language("SQL")
storing the inv data is easy
atleast that what i use
since ItemStack is Serializable
Yeah

ok
But it's a blessing and a curse working with an extremely modified version of spigot
makes alot 100 times faster but makes alot harder
eat shit google
if I dont add to it
i literally wanna call this on the main thread smh
Yeah, it is the easiest part, what comes next is 200x harder and prone to errors
whats that
so do I just do new Blabla(this) inside the JavaPlugin?
dont forget to add a constructor in Blabla
storing it all in dbs and then making backups for that and getting that / advanced effects / upgrading the tools with different enchants at different stages / custom eco with custom items and balancing that / big supply crates in random places on a bumpy map and finding places where they wont break
and so much more
no you need to get a referance of your class Extending JavaPlugin from your other class
using di
naaah
ez
take like
5 mins
I think this will give that?
oh and how could I forget
yes but you need your main class as a argument for the constructor
events
or static getter
and a public api to get any players stats, items and upgrades
thats pretty easy though
for the most part
you gonna use json schemas?
damn
and let people use maven
i discovered this really badass library
i was gonna make that once, an API which provided you data outside the server
converts java object to JsonSchema via pojo
and this is all after not touching an ide for over a year from burnout on this same project
which I'm now restarting
as the old code is messy af from rush and not looking back
nice
So nice too
do u guys know any Wikipedia wrappers for Java? the ones i found are either incomplete or dont serve the purpose completely
this is in the main class java MgamesCommands shstackCommand = new MgamesCommands(this); and this is in MgamesCommands ```java
private final JavaPlugin plugin;
public MgamesCommands(JavaPlugin plugin) {
this.plugin = plugin;
}
Instead of JavaPlugin
make it your class extending JavaPlugin
so whatever your main class is
but then it will work right?
Does anyone know if default texture of skeleton skull is retexturable?
thanks
+1 for final declaration too
^^
Nope
only PLAYER_HEAD
using resource pack?
Sure
What is the difference between SpigotPlugin and JavaPlugin?
Just gotta find its texture ofc
since I want higher res texture
not 16x16
Yeah youll just have to replace the image in the texture pack
Dont worry about it
well idk where to point this
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:model/skeleton_skull"
}
Youll never use SpigotPlugin
ok
Did you download the vanilla texture pack
there should be a models folder somewhere
nope imma try
it should have a skeleton_skull.jpg in model folder
or .png
forget what mc stores as
Burchard37, are u a rust developer
negative in both terms (Game and rust lang)
when using bukkit scoreboard do I need to do something after changing the displayname for it to change on screen?
Set the scoreboard to the player
ok so after modifying I need to set it again?
Nope
private <T> void withConnectionBatch(String statement, Connection conn, int maxBatchSize, Collection<T> collection, ThrowingBiConsumer<PreparedStatement, T> function) {hmmm
my lazy ass willing to write util methods for everything

actually i could try
nah its impossible
Collection<Object[]> placeholders
that goes to far
but manually looks ass doesnt it?
you could setup a pojo serializer
have data classes for your mysql that parse to valid sql statements
im scared of those but ig i'll have to use them at a certain point :(
Its honestly easy
basicallly
you have a class with your variables there
so like id, owner, etc
and from there you get the variables of the class via reflection as well as theyre types
and create a method for converting to the paranthesis bullshit (id, owner, etc)
And another method for inserting the variables into the PreparedStatement
Last part is the hardest
this is why i like mongodb
Any way to make a scoreboards display name bold. Like with a different font or something?
can just use gson and shove shit in there
texture packs
You can add images to scoreboards if you rly want with texturepacks
PostgresSQL>>>>>
or images anywhere
I think hypixel managed without texturepacks
no you 100% need texturepacks
its just hypixel auto downloads it for you on first join
then from there your client remembers it as long as the signature of the rsource pack provided by the server isnt changed
learned something new today
I forgot the method
i think its just player#sendResourcePack(StringTheUrl)
something like that
Will it send you like the confirmation?
yes
thanks for clarifying
the url is a link to wat exactly?
resource pack download url
declaration: package: org.bukkit.entity, interface: Player
use dropbox
and at the end
dl=1
not dl=0
so yes it does display confirmation gui @summer scroll
like a zip folder?
yes
zip folder
and all you do for the url
is change 0 to 1
1 means it will auto download when the link receives a GET request
0 takes you to the page listed there
do note
if you do this large scale like hundreds of requests to this url a minute or something like that
dropbox may force you to buy premium
but mostly shouldnt be an issue
just as long as no ones a dick and spams the link from like a botnet or some shit
Bungeecord is separate from chat
what do you mean?
The actual bungeecord api isn't provided with spigot alone
Gotta import bungeecord too
Spigot just comes with bungeecords chat module
Oh wait
Tf
why is bungee api there twice
One is javadocs
oh javadoc
Navadoc
So not scalable
Well dropbox is scalable to a certain extent, but you'll have to pay for it once you exceed some bandwith amount
Wouldn't it be better to host a Webserver on the server running the minecraft server?
ya
Just for making the resourcepack available?
Yes like a static page
How is spigot set up? Does it use nginx?
what about https://mc-packs.net/
Definitely am
Xenforo
Ill have to look into this
Looks cool
Dang wow
It does look cool yeah, wondering how it would sustain its service tho
95mb my bad
Maybe just create a subdomain and setup a mini cloud server
It just says its powered by it
@noble lantern what about my import problem up xd
https://pastebin.com/kG4e1Z4t anyone know why this would be lagging my server? its supose to load a schematic using FAWE over a period of time so its kind of in rows which it does fine on a small scale but i have a relatively small schematic (20x20x40) ish and it crashes my server ;p im loading it over 1000 ticks so its not like its all being set at once
The owner still has to pay I assume
Yes meaning its likely sponsored by digital Ocean
Did you do what I said?
deleted imports
Delete import lines and press alt + enter with mouse clicked on red text
plugin.config
Weird
throws nullpointerexception
Add it to class path and see
why?
Very descriptive
ok
Hover over it and read
paper api?
It will tell you
private Main plugin;
um?
thx
what is problem in my code?
I mean you didn't even properly give any information
Just gave almost no effort into the question
which info do you want exactly?
Error logs, code
Cant expect us to just know whats wrong off a undeclared variable and one line error
im creating discord bot which uses JDA api and also spigot api so error also contains jda things
[net.dv8tion.jda.api.JDA] One of the EventListeners had an uncaught exception
13.07 15:15:51 [Server] INFO java.lang.NullPointerException: null
Not this again
+1

Whats the new thing in the spigot API that can replace GameProfile from mojangs auth lib I honestly forgot is it like PlayerProfile or something
Idk much about JDA what's the code causing this?
GameProfile
Oh
GameSomethingProperties
Along those lines
event.getChannel().sendMessage(instantthing(time, event.getChannel()).toString()).queue();
this line
Jesus
Low-key agree
It’s just PlayerProfile
oh PlayerProfile is a 1.19 api thing it looks like
which method
fuck it, the whole class
One line of code isn't gonna help us fix yourbissue
u mean whole class?
^
nvm wrong api version smh
Yeah whole class
1.17 fail
Bruh
getting config has error
bcs
in that line there is three things
that may cause nullpointer
message.getMentions().getMembers().get(0).getId()
this is not null
this too instantthing(time, event.getChannel()).toString()
Yes that can be null
but its not
This can be null
Like rn
This message is null
but its not.
I’d trust your code more than you Greened
@charred blaze now that message is not null
That code is getting a ping from a message
Wait no
Sorry
Wait no
Not sorry om right
Im*
You need to check the size of that list first
Before just accessing its members
Aka make sure the message actually has a pinged user when getting a pinged user
You wouldn't be getting a NPE if it wasn't
what is NPE
NullPointerException
I just understood this hahaha
i think getting config returns null
Whats your code for getting config then?
That’s irrefutably true
The exception message should have a click able link to the error line
private Main plugin;
plugin.config
Guide to dependency injection: https://www.spigotmc.org/wiki/using-dependency-injection/
^
Tip: use final to ensure you actually assign the variable a value
Assuming you don’t re assign it later on
Not sure if you can make a static getter for Java plugin final unless im stupis
But standard di i always finalize that
It never lets me use 'this' normally
u mean i need this?
private final Main plugin;
public mesListener(Main plugin) {
this.plugin = plugin;
}
it gaves me error
Yes and then you need a public geter
What’s the name of the class?
Listener.class
Then mesListener is invalid
uh
It should be Listener(Main plugin)
I’d say you need to go and visit basics of Java
well, you also dont really want to use that name since its already an interface in bukkits name space but ig thats not that big of a deal
k
You cant call new JavaPlugin instances
fixed
why should i need to call some dumbo bozo method just to send a string!? wtf!!!
proper naming goes a long way :p
DED spitting some facts here 😌
This sounds like a spigot fork in the making
sendMessage("Hello"); -- BAD >:(
sendMessage(Component.text("Hello")); -- BETTER?!
Simpgot. Spigot but simplified
this is just bukkit
It makes sense if you want clickable/hoverable text but most of the time you're not sending that
sendMessage("Hello");
So it just feels pointless
But it's better than Bukkit 
i just made a wrapper class for all the component stuff
indeed, i normally find myself refactoring names and package structure every few weeks lmao
I hope they keep the methods deprecated but don't actually remove them
poking fun at paper api
yeah
when they hard fork it goes bye bye
but paper wont hard fork
they scared

they would never
Doubtful

It doesn't really affect me anyways
👏 I 👏 mean 👏 mini 👏 message 👏
I don't even write plugins anymore
🙂
they're waiting for hangar to release, so they dont have to rely on spigotmc to host plugins
i guess devs could just write proxy methods to do their bidding
Only issue is its gonna fuck over all spigot devs
if spigot do this else do this
gonna need to make plugin for spigot and paper
abstraction is your friend
god no
or them just not doing it
is my friend
abstraction is my friend but i shouldnt need it to send a chat message

I mean, if paper hard forks it won't just yeet away every method xD
stay mad i guess
You can choose the duct taped way, reflection + if else
the concept of sane deprecation exists
Paper has been doing the smart thing of absorbing forks
if you wanna use strings be my guest, but literally all of internal minecraft uses components, so i dont see why you shouldn't too
(or use Player#sendRichMessage("<red>This is red")`
mfs acting like thanos
Because if you've seen other MC code you'd understand why
I think they should both remain options
its a miracle this game has as many downloads as it does with the code behind it
its been getting better?ish since 1.13 but
Notch programming moment
Components are certainly useful but they can make things unnecessarily bulky and they make it a huge pain to create generalized libraries that would normally handle strings
notch era code was atrocious
i can do stuff like
Component command = ComponentUtil.toComponent("<hover:show_text:'<green>Click to suggest command'><click:suggest_command:'/rtp reset offlinecooldown <uuid>'><aqua><underlined>reset offlinecooldown</underlined></aqua>");
Don't even need to write components lul
I'm talking specifically about making a command library
lol even he was suprised
Huge pain
I agree. I like adventure but deprecating the String methods annoyed me.
Well I generally believe apis should, as in always, if there exist meaningfulness, simplify the facade/interface in the light of a more complicated implementation, that being said sometimes we need details to remain feature-full to combat plausible changes in the future
gotta throw the whole game away
Because type safety is for the weak?
This looks like it could be done cleaner with a builder.
agree with this, its good for complex stuff to be able to exist too but if you just want a simple message it can be tedious
yeah but i was lazy
Its nice for something like this though messageHandler.sendMessage(sender, "<green>Cooldown reset for " + target.getName());
But using § does compromise a lot of stuff and invokes legacy stuff which seems to be holding other stuff back, and we got mini message that seems to be a good fast and reliably solution to relatively succinct and non verbose messages
I had a chat listener for replacements and it went from 4 lines to a whole class and ~50 lines in adventure.
should see my mods that use components
Be like forge and check all plugins for component imports then throw a very generic error
migrating to adventure makes for such an unnecessary chore
in vanilla they're not even builders, so at least we got that going in adventure
Hi, I'm working on a project for someone who wants to:
He has a Mohist 1.16.5 server with a Gun mod (curseforge.com/minecraft/mc-mods/mrcrayfishs-gun-mod) & ReviveMe plugin (spigotmc.org/resources/78184)
When player gets nucked with ReviveMe plugin, he can use Guns, I've tried to cancel interact event with Lowest priority, it works but not for the Guns (I think Forge events are different ore something else ...)
is there anyway to do not let player use guns when he is nucked? with NMS or anything?
We do have LinearComponents utility class
And some other stuff to make it a bit more succinct
crayfish mods still get updated? holy fuck
i don't know i just want to help him
listen for incoming packets and hope the mod is not trash and implements it client authoritative.
using bukkit api for modded monkas
isnt mohist like
🌞
strongly frowned upon too
anything that merges bukkit with mods is lol
The essential plugin for Spigot servers.
same for cauldron and whatever the others were
read that above
PS: If its not the interact packet then you might need to listen to a totally different channel
apparently it did some shady stuff
if you want mod compat use Sponge
yee sponge definatly best
but at that point you could just make a mod to interact with the other mod
already exists
No way Fucket exists
Is Sponge still being worked on?
Eh, I prefer for people to write a bukkit-like API for forge/fabric
yes
Yes
slowly
It’s doing alright
Yep, slowly however
its makin its way
only 1.12 rn
oh thats fukkit https://github.com/FukkitMC/CraftFukkit
they have experimental 1.16 forge builds
I remember when it was praised as the bukkit killer.
ohhh
spongevanilla runs latest iirc just not spongeforge and whatever the other thing is
As far as I know they also have spongevanilla 1.18
XDDDD CraftFukkit
they're focusing on abstracting the api rn and then it should be easy to update in the future
Sounds like it’s prone to a colossal amount of deprecations
A1 name
i started supporting at API 7 now they're on 9
and they're all very different
Dont you need like a client for Sponge? I never really got into it.
Sponge is vary different from bukkit last time I tried - I wouldn't use it really
not really
Myeah makes a little bit of sense, altho nice that they include mixins
not really, sponge can be server side too
It's kinda like bukkit really
nothing but forge and itself
you can have a server that runs sponge without having to have a client, it completely reimplements the minecraft protocol
mohist recreats the Player object lmao
Probably means non notchian implementation
But yeah might not have been the best choice of word
Yeah probably, I don't think they just completely reimplemented it
Though really given that forge is incompatible with proxies you have to ask yourself whether it really is that useful to have running as a server
some people just dont care
I would never host a public forge server
proxies like bungee or proxies like reflection
most of the time ppl wanting this stuff is small groups of friends
How is it incompatible? (Out of curiosity)
Bungee/Velocity
ah
How to do that? I've not working with NMS and packets a lot, can you gimme some helpful tips or any link & tutorial?
Yeah. Every new SkyFactory version we get together as 3 or 4 people and just no-life it for a week or so
The FML 2.0 handshake is probably not a thing that can work for most common proxy softwares
this but with my vanilla smp lol
Ah
- ProtocolLib
- Inject your own handler into the netty pipeline
theres modded server networks that have been running dozens of servers for over a decade now
retrooper PacketEvents > 😎
sure not many, but there are a few
Yeah good point
pixelmon public servers used to be pretty common
Those either run forge 1.12.2 (FML1) or earlier or run on fabric I assume
still are tbh
There is actually a pretty new one that is quite successful. Vault Hunters.
and i'm pretty sure you can join vanilla servers with forge, so i dont think the handshake is fucked, maybe long ago but i think all of them support it now
I have no idea how to do that and ... but i try at least, and thanks
ive played on modded servers with proxies too, so eh idk
Quoting zml from the sponge discord:
on 1.16 you aren't going to be able to do [setup bungee] that yet, forge is incompatible with proxies
last pixelmon server i played on was like 1.13 i think
maybe 1.12
it was on a proxy
hmm weird
Oh, that is ip-forwarding
yeh
vanilla hub that connected to modded server
it was like a cluster of vanilla serers and then one server was modded, pixelmon
honestly didnt know that was possible until i saw it
This is 2 chooses or i've to do number 2 with ProtocolLib?
2 options
time to go run a few miles later guys
From your chair to your refrigerator does not count as "few miles"
it does to me .
any way to prevent it from raining in 1.8?
WeatherChangeEvent?
- Update to a non-ancient version that is still supported and actually played by people
- Listen to the WeatherChangeEvent
- Or use gamerules
I really hope that this event is not a thing in 1.8
But I need 1.8 for pvp minigames 😭
Then live with the horrible drawbacks that come with such an old piece of software.
Ok then
I might reconcider
but can I simply change the server .jar file to a newer version?
You can disable the new combat in modern versions
You can run your server on a newer version and only allow 1.8 clients to connect.
You can?
is there a way to allow all clients that is 1.8 or newer?
Kind of... 1.8 clients still have an advantage
There's an item attribute for attack speed. Set it high and install the Via series of plugins
What kinda advantage?
Blocking would be slightly faster iirc
But modern versions also have the hitbox change when sneaking
I do not really understand how hypixel managed to make a server based on 1.7
Im a big fan of throwing out the whole vanilla combat and designing your own combat system.
This also prevents any hacked clients from having any impact.
how would you make your own combat system????
They have tons of engineers that completely customize their whole server.
Nothing there is even remotely close to Spigot.
spigot is open source right?
Yes you could just fork it
thats what hypixel did?
Pretty much. But after all this time there is very little left from Spigot.
Ok my mind is made up. I am going with a newer version... Do you mind sharing your opinion on your goto version?
i found PlayerVelocityEvent, how can i get velocity (Vector) that will be sent to player?
event.getVelocity retuns current velocity of player
0 0
Depends a bit on what you want to do but if you write most of your stuff yourself then i would go for the latest version.
Please elaborate on "stuff"
Then working with newer versions is much better.
and for allowing earlier versions too?
Hey, I'm trying to do transform this list
[BONE 45x, COAL 34x, COAL 55x, BONE 2x]
to this
[BONE 47x, COAL 64x, COAL 25x]
Add every same item together, the limit is 64. If it's higher than 64 it create a new element.
How can I do that ?
use a while loop probs goto
player x to player_chunk x?
Are we speaking about Strings here?
how?
No, it's List<ItemStack>
Can I update my server by simply using a newer spigot.jar file?
or do I have to use buildtools again?
You always have to use BuildTools
so should I just backup the world file and delete everything else?
Then just iterate over the List and check if any of those ItemStacks has space. If not then create a new Stack.
Ok thanks
does to
dasani water is such a scam 3$ a bottle smh
Imagine not drinking from your tab where you get the freshest spring water.
not home rn so i have to make do
i could drink the water from the gutter on the street right here
might be not half bad
lul
freshest spring water my ass
there is a place up in northern cali where i used tolived, called fern canyon
and theres a stream you can actually drink from
i drank soooo much of that water
i probably have some underlying disease hiding in my blood
but damn it was good water
hmm ?
can I use a 1.8 world with a 1.19 server
Probably
just dont go in reverse
and your fine
even 1.19.2 to 1.19.1 i wouldnt do, but especially 1.19 to 1.18, etc
I do not think that it will even allow you to do that
it will
at least, it has in the past
I know that 1.8 will, but there should be some warning mechanism built-in for 1.9+
But could be a client-only feature too
yeah its client only
servers wont warn they just do
every few days someone comes in here with a world error reguarding this same topic
It’s somewhat expected that you’re a sane person when dealing with servers
more of a design question, how do I ensure that player data is loaded from a database on join?
@EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerJoin(final PlayerJoinEvent e) {
PlayerManager.getData(e.getPlayer().getUniqueId()).thenAccept(data -> {
// event stuff including set join message
});
}```
right now there's no guarantee that this code will finish loading the data in time to manipulate the event. and I don't want to load all player data at one time, so I'm not sure
Using async join first off
before i read anything else
Good thing I have #help-server muted then
AsyncPlayerPreLoginEvent
if (spigot1o19Server.resourceUsage>spigot1o8Server.resourceUsage) {DiscordApi.AcessUser().sendMessage("1.19 uses more resources compared to 1.8")}
database plus playerjoin using blocking queries in async pre join
APPLE
So?
AsyncPlayerPreLoginEvent
blocking so that way you hold the player join connection until the database gets the data
And then you can block the io task inside the event listener
By joining it
/awaiting it
oh right, I guess since the event is async it won't matter if it's not loading from a future
interpret the code
yep its pretty useful event
So?
all events should be like that tbh
Still loading in the future
AsyncBlockBreakEvent
You just make sure the event listener doesn’t stop it’s execution until the computation is complete
As it will instead be awaiting
Or join()
AsyncEntityMoveEvent
oh yeah join prolly better

ngl true
i mean 
Sounds like an explosion
public void addItemTo(List<ItemStack> itemList, ItemStack itemStack) {
int maxStackSize = itemStack.getMaxStackSize();
for(ItemStack current : itemList) {
if(current.isSimilar(itemStack)) {
int spaceLeft = maxStackSize - current.getAmount();
int toAdd = Math.min(spaceLeft, itemStack.getAmount());
current.setAmount(current.getAmount() + toAdd);
itemStack.setAmount(itemStack.getAmount() - toAdd);
}
}
if(itemStack.getAmount() > 0) {
itemList.add(itemStack);
}
}
Try this
so literally just
@EventHandler(priority = EventPriority.LOWEST)
public void onPlayerPreLogin(final AsyncPlayerPreLoginEvent e) {
PlayerManager.getData(e.getUniqueId()).join();
}```
yeee
Yep
Minestom
ok cool
Oh thats still a thing
Else disallow the player from joining @quaint mantle
you need to join it in the join event as well no?
won't that just kick them or
you can do that in prelogin cant you conclure
ide just handle everything in that, that way by PlayerJoinEvent everything is ready and Cached for you
Yes
and your chillin
But normally if the data is loaded exceptionally we don’t wanna load in the player further right
but I don't want to kick them, it would be better if it just delayed them joining
Since that is bound to errors and bugs
No
If the data can’t load let’s say the database is down
You don’t want the player to join simply
LP does the same thing
Not only lp
like when LP has a bad error it wont let you join
Any application pretty much does it
it's SQLite
It’s about fail-fastness

i wish i could stop procrastinating
Also important for bungee stuff:
Check if the login resutl is ALLOW. The AsyncPlayerPreLoginEvent is fired before the player even disconnects from
the other server instance. And if he is not allowed to join then you should not load his data.
not sure if this is related for here but should I change the version of mu plugin every time I fix a bug? or just when I make a significant update?
(I mean the version of the plugin ex. 1.0,1.2 and not the api version)
typically
1.0.1
1 = major rewrite/refactor
0 = major additions
1 = bug fixes
Thats one way i follow it
1.0.1
1.0.2 <- fix or new minor feature
1.0.2b <- hotfix
ew
1b.2a.3c
i dont like letters
is 1.19 more resource heavy then 1.8 spigot?
in versions
of course
oh I see
so if I just fix a minor bug I shouldn't change the entire version, but just the third number of the version
1.0.1b-sd987sd
yes pretty much
1
And if you update:
2
Just count up
3
and if you want a build number sure
and you can do into 2+ decimal places
like 1.0.46
But you count up in hex.
So
7
8
9
A
B
C
G

Z?
aaaaaa
Ab

==

What event is called when a boat on top of an armor stand rotates? I've checked VehicleMoveEvent and that doesnt seem to trigger
Hex lovers are shaking in their boots
None? I what does that even mean?
I can't send media in the channel :(
verify
ah give me a sec :)
💀
Lol this is too accurate
can I post a laarge error here?
?paste preferably as in no
?paste
lmao
A boat mounted on an armor stand basically

Trying to rotate the boat on top of the armor stand doesn't trigger any event
EntityMoveEvent maybe
Is that for the player or for the boat?
no itll update the yaw (Facing direction i think is what yaw is)
both tbf
but for boat/armor stand
Will check thanks
thing is when I check the nbt for rotation it remains 0 0
yes
had to zoom my discord out for that one
Hilariously enough they are serious 🥲
that makes it better
p a i n
god i love charging my device from 10% to 80% better
fastest electrons the worlds ever seen
I can also do a video
how to kill ur devices discharged lifespan 101
favorited this gif tho
same
how could i change player name with scoreboard, but for specific player
I dont really get whats so not serious about a spinning boat on an armor stand
i am in Spain without the a
Doesn't seem like the entity move event triggers sadly
hmmm
I've seen VehicleUpdateEvent trigger constantly but yaw doesnt change when its supposed to
perfect
what about pitch
wait what the heck, how would that change
dont worry about it
tard talking
would be cool tho
Do a flip with the boat
im gonna double check if other clients can see me rotating the boat
who the Fuck
rotated my boat
on the Y axis
maybe it could be something client sided
i told cipher to make a cow flip by giving a cow the dinnerbone property and taking it away over and over again
LOOOOL
certified bruh moment
like heads or tails
its client side
damn
thats a good idea
Lmao
cause its so simple to do lmao
wait whats the end goal here
are you wanting armor stand to face where the player is facing?
So you could make a flying boat or smth?
Unfortunately that’s not possible
no it is
Raw inputs are not accessible
with minecarts I know it is, since you can check for motion
fuck what do they do it with
Yes you can check direction etc
yeah do minecarts then
I currently use minecarts, but I want to switch to boats
But not raw key input
Minecarts is likely your best option
movement input basically, is what I meant
many other popular plugins do it with minecarts
Ye
I was hoping to have the body of the player remain parallel to the movement direction
with boats that is the case
with minecart you 360 every 2 seconds looking around
That’s possible I believe
Just move the players yaw and prevent his movement maybe
In worst case go with a Bukkit runnable and constantly update the direction based on new calculations
wouldnt even be that intensive either to do that ngl
hi guys! how do i get the title? (i`m used paper)
Idk if its different between the two if it is you need to ask in the paper discord
okey
is 19 19 19 tps good?
no
Its also not very bad
But anythings less than 20 isn't ideal
As minecraft expects 20 ticks per second
Whats the point in making things final
what bout 19.52 19.82 19.93?
Why make something writeable if it doesn't have to be written to after initialization
Seems like your tps is dropping
some cases you wanna make sure something doesnt get redefined
like a WebSocket
you defo want that final
i mean you can still redefine them with reflection no?
pretty sure it also saves a tiny bit of overhead
i forget
well yeah but its to prevent the program to re-initialize it
what will improve tps? Cpu power or more ram?
CPU
Depends
Like are your plugins doing cpu intensive shit? Or do you shoot to the moon with scalability
why s cloud so expensive 😭
use oracle
kinda hard to tell your usage of ram cause java just eats it
minecraft eats it*
Don't buy cloud servers. Buy game servers
scalability
You don't want a Xeon
I dont?
They are slow in single threaded operations
Anyway tps is quite a horrible indicator of what consumes a noticeable amount of resources
Use a profiler or sth
Like spark 🙂

Spigot timings (v1) isn't great
👁️ 👁️
V2 is better
What provider do you reccomend?
Unlimited tps?
I want to have full control via ssh
Link
Bloom.host
Ovh?
Ovh is expensive
what bout digital ocean?
They're good as well
better then linode?
That's a cloud hosting company
Do they even have game servers
digitcal ocean has vps's
but not fast cpu ones
i used them for website hosting and database hosting once
definatly not game server grade
well I have a budget of 30$ per month
Go for bloom
That's true
if you can double that budget you can easily get a dedi from them
does bloom give me complete control over the linux server?
like a gooood dedi with nvme, 64gb ram i7/i9
They have vps available yeah
is bloom host scalable?
Wait a second what happened to ChatComponentText and PacketPlayoutChat in 1.19?
No host is scalable to the moon
look at this
Because they simply don’t give you the vertical scalability (99% of the times)
well lol you don't need 64gb for a smol mc server
Component.literal
And smth else. Use mojmaps and see Screamingsandals for name changes
idk if they do 16/32
they do but not good
Apple M1's lmao
why cant I send images?
Usage: !verify <forums username>
probably , you can always upgrade too later
returns something like this
how much would this handle?
depends
Yes but as aforementioned that’s the verticality, then you need good plugins and good services that plugins can use like reliable database etc
what do you think, which approach of builder will be better?
lets say world edit+ viaversion + a minigame plugin
my bad
nextStep() seems a bit confusing for a builder

