#general
3141 messages · Page 1922 of 4
Well, sure, you'd have to convert but not to an array
Unless your target is Minecraft 1.0 or something 😛
Basically I've been toying with the idea of creating a custom server implementation (from scratch) to support custom blocks & entities via resource packs without client-side mods
wouldn't you need a custom client for that?
I tried to write this as a CraftBukkit thing back in the day, mine didn't go quite as far as this and of course had to convert back to the old format for network and disk
no, it's possible with just resource packs
iirc mine only had three levels of bits per entry
nibble, byte, and short
Even though you only need 1-12 bits I was doing 4, 8, or 16 bits just to make the code less crazy
iirc when I had to use a short it was actually larger than just flat arrays but that would almost never happen and it wasn't worth having two formats to try to optimize that case
I mean, I'd like to have some sort of plugins loading at the beginning of Bootrstrap.bootStrap() and have something like "registry events" (and lifecycles) to do hacks with registries, but prob I need to fork paper for that...
Could also make a wrapper
Plugins load there because they've always loaded there
changing that is gonna be a huge ass break
What I'm hearing is you want to use Sponge 
(But, it's something which is kinda on the radar)
But, what if make something like "CorePlugins" (sounds like coremods, but plugins) and load them in there, or even in paperclip itself
Oh hey I just realized, making everyone go through paperweight to write things that poke at internals means if you change the obfuscation in the future (like going back to fully Mojang obfuscated names for everything) that just needs a recompile
Paperweight?
It's the paper build system
It's also used by plugins that want to poke at Mojang stuff
A paper toolchain (gradle plugin) which builds paper itself, allows doing forks, and use NMS in mojmaps for users
:o That's new
Well, new to me. Haven't done much with plugins for something like 3 years 😂
It lets you write your plugin as if everything was deobfuscated using Mojang's own names for things and then during compile it converts it back
Is ProtocolLib still the defacto standard for packet stuff or is there something better/more lightweight now?
I'd stick with ProtocolLib
krusic knows what's up 
Sadly.
why's that
paperweight userdev makes nms stupidly easy
^^^ and if I learn some fancy nms thing in fabric or forge (in both I use mojmaps) I can copy paste my code and have no headaches
I love mojmaps more for standardizing minecraft source code and community in general rather than the actual names
redis
For keeping the whole network aware how many players are anywhere and the current status of servers
Depends what your doing
And how do you think networks get updated
Between servers should be done with redis
Between servers and proxy, just use plugin messaging, its easier
Also I asked 2 questions on my PR, and I kinda need an answer. https://github.com/PaperMC/Paper/pull/7828
Just keeping proxy aware of all server's tps or and how many players
Which is better if its expected to expand the messaging between them, maybe soon servers need information about each other
As I said, for Proxy <-> Server communication you may as well use plugin messaging channels.
Server <-> Server use redis
signalr 
And if your using Redis, don't bother with Plugin Channels.
You could try and design your plugins with both solutions in mind, so if you need to switch, you can do so easily.
I prefer to design things that work well enough but have room to easily be improved.
Uhh the most confusing question to me is how to make the whole network restart at the same time to apply updates
And i wonder how hypixel stores names of their game servers (they have alot, i dont think they use bungee config at all)
database
Which is why for command responses I now have my own little Feedback API.
There is just a few functions that take a type, a format string, and some variables which it constructs into whatever message format I need, currently MiniMessage.
doing what hypixel does won't necessarily be the best solution
no i think hypixel uses flatfile
And they add servers to it manually or smth
Ded do you even remember how to make a crafting table
Anyway

4 slabs /s

I looked at sponge api, and I like the style, but there is so a few people actually using it, the only reason is making plugins for forge modded servers, but for forge I'd rather choose use Forge server side mods rather than learning a new api...
Is it a good idea to store server names in a db and a small config in every server containing its name
So server knows what it is
A server I played on used crafting tables for plugin stuff, which resulted in it being normal to craft crafting tables stacks at a time.
If you have a single proxy you don't really need to store it in a database
Should i worry about unexpected server killing or crashes while coding
Are you debugging?
probably yes
Minecraft servers freak out if you breakpoint them
Which is why I primarily print statement debug
Should i also worry about unexpected user modifications to database (manual modification)
I am trying break that habit.
They don't?
Im still curious on how they update their servers, do they use docker or smth
disable the watchdog
What makes them update the whole network at the same time, without human interaction, not talking about hypixel it doesnt do that
That and if you breakpoint for too long your client gets disconnected 
Which is unhelpful if your plugin interacts with the world and you need to see what its doing.
Do they use docker
they?
Probably
nudge
They used to use an in-house monolithic system called MasterControl, dunno if they still use that
no docker back then afaik
Hm, do u think popular networks update servers using git or smth
They probably have a plugin directory that has whatever the latest is, and copy paste out of there whenever they start a server up
Lol wanna hear something funny
i was flying around with the elytra... may have spammed a few rockets
I dont think u can do that in docker..
server times out 💀
You can? I do it.
U cant copy files out of host machine
yeah you can
and it's still timed out, hasn't ticked for 4 minutes even after it kicked everyone off lmao
Do you think network servers have any type of configuration, or they just fetch everything from db
Including lobby map for example
Mostly DBs, or central config files using a similar method to plugins
Well if u can copy files out of host machine in docker tell me it would be incredible for me
https://stackoverflow.com/questions/23439126/how-to-mount-a-host-directory-in-a-docker-container
May 3, 2014 ... There are a couple ways you can do this. The simplest way to do so is to use the dockerfile ADD command like so: ADD . /path/inside/docker/ ...
An example config from my testing server docker-compose.yml
paper:
image: itzg/minecraft-server
container_name: "paper"
depends_on: ["redis", "mongo"]
ports: [25565:25565, 5005:5005]
stdin_open: true
tty: true
volumes:
- ./data/paper/:/data/:rw # Data Directory
- ./data/paper/plugins/IonCore/:/data/plugins/IonCore/:rw # Ensure the Plugins folder is read/write
# Plugins - Prevent these from being changed.
- ./Ion.jar:/data/plugins/Ion.jar:ro
- ./IonCore.jar:/data/plugins/IonCore.jar:ro
- ./external_plugins/paper/FastAsyncWorldEdit-Bukkit-2.1.2-SNAPSHOT-151.jar:/data/plugins/FastAsyncWorldEdit-Bukkit-2.1.2-SNAPSHOT-151.jar:ro
# Config - Prevent these from being changed.
- ./config/paper/server.properties:/data/server.properties:ro
- ./config/paper/bukkit.yml:/data/bukkit.yml:ro
- ./config/paper/spigot.yml:/data/spigot.yml:ro
- ./config/paper/paper.yml:/data/paper.yml:ro
- ./config/paper/plugins/IonCore/config.conf:/data/plugins/IonCore/config.conf:ro
environment:
TYPE: "PAPER"
VERSION: "1.18.2"
EULA: "TRUE"
USE_AIKAR_FLAGS: "TRUE"
JVM_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=paper:5005"
I forgot this is a thing
Not saying this is a golden example of how to do things, but its how I do it, and it works well for me.
Keep in mind that you shouldn't over-scale, it's a waste of time to scale for 20k players when you have 2
I do as well, however I am too lazy to put something better together right now.
this is a security risk
you're exposing port 5005
if it's behind a firewall sure, but please put a disclaimer before someone without the knowledge run it in production
.
"from my testing server"
I mean, fwiw, you can just remote tunnel
shameless ad but: https://github.com/cubxity/docker-minecraft-server
ssh tunneling is ❤️
Did not know that.
oops forgot to turn of ping
sorry
Most competent tooling supports ssh forwarding for that stuff
worse case, theres always just opening your own ssh tunnel
Again, this is a local testing server, so its not too big of a deal.
complicated arbitrary code execution using unrestricted network access vulnerability ™ /s
My actual server config is more sensible
survival:
image: itzg/minecraft-server
restart: unless-stopped
container_name: survival
depends_on: ["mongo", "redis"]
ports: [24454:24454/udp]
volumes:
- ./survival:/data
environment:
- TYPE=PAPER
- VERSION=1.18.2
- EULA=TRUE
- MEMORY=8G
- USE_AIKAR_FLAGS=TRUE
24454 is Voice Chat Mod
what's the udp port for
ah
restart should probably be always
since if docker daemon restarts, it won't automatically start
Oh really?
yes that has happened before with me
with always, you can still stop it manually for the session
The only ports which are open is 80 and 443 for dynmap site, 25565 for mc, 27017 (only open to localhost), 24455 and 24454 for voice chat mod
anyone know how i can get in touch with inventivetalent?
why?
i wanna ask her something
kinda cool tbh
i've got this plugin that i made time ago, https://www.spigotmc.org/resources/transparentheads.86404/ now its actually useless since microsoft has made it so you can't upload anything to education.minecraft.net so the plugin won't work, maybe with mineskin we can get it to work idk
could be cool
maybe she can tell me something that i don't know
well, if you can do it as a standard mc head texture thing, you can do it with mineskin
well the thing is that this only works with education.minecraft.net, i need to try uploading an high res image to mineskin and try generating the texture base64 you know
her site just uses the traditional mojang skin system
the only thing that comes up to my head tho is mineskin working on actual skin on accounts, they can't place high res images on a normal account
ye ik
thats the problem
maybe she has some other way
I mean, I fail to understand how a site which just uses mojangs skin uploading system would lead towards her knowing something completely out of the scope of that specific system, but 🤷♂️
i mean she has WAY MORE experience than me
she's literally using publically documented API
what would your question be? You could probably find the answer in the source code
nudge
I reacted with the 👍 on your pr, everything I can do...
time for the 🚀 reaction 
Time sensitive plugin? 🤔
lmfao
could try to fork the source code and get rid of the timer somehow
I was looking featured servers on Minecraft PE and I see many gamemodes, how do they do that without plugins?
they have plugins
some of those partnered servers have their own server software from scratch
some literally just use paper/spigot
I think it is difficult to have many players under geyser/floodgate and it can be unstable.
by many I mean a lot
coded in C++ I guess
ohhh, lol, most of them are actually java, php or even go
is there such thing as a weak hash set
you can just use Collections#newSetFromMap with a WeakHashMap
ah nice
Azure AD OAuth2 is such a PITA
Tried to use their provided OIDC library to do it, we got a response we expected once but didn't have the right scopes, after adding the right scopes it failed, removed them and it still failed, never got OIDC to work again no matter how many things we fiddled with on the AD side or code
Switched to just doing raw OAuth2, when setting it up to give an access token we couldn't find a valid userinfo endpoint and/or how to call any of the ones we found
self hosted AD is trash
Finally had to create our client in AD so we could configure it to just give us basically the contents of the userinfo call as a JWT
Azure email AD still better alternative
It doesn't let you do anything as that user but that's fine, we just needed their email address
Ended up using zero of the things Microsoft said we should be using
If you can't beat the enemy join them
nudge
@Teslarati 20% fake/spam accounts, while 4 times what Twitter claims, could be much higher.
My offer was based on Twitter’s SEC filings being accurate.
Yesterday, Twitter’s CEO publicly refused to show proof of <5%.
This deal cannot move forward until he does.
97567
13859
He is trying real hard to get out of this deal
afaik his options are to get a judge to invalidate their contract, buy the company at the agreed price, or, if one of a few conditions is triggered, pay Twitter $1b for wasting their time
He can't just choose to walk away, he has to make a best effort to raise the money to buy Twitter and pay them $1b if he can't
I want a site like pcpartpicker for cameras.
You build cameras from parts?
I know you have the body, lens, and attachments but aren't those generally standard?
I mean, the body is the actual camera and I think the lenses are per-company but still
Lenses don't have to be from the same company, and there are multiple features of lenses to fiddle with. It's complicated just enough I'd like a tool to simplify the process for me, and importantly to let me see all features in one convenient table to mess around with and see live prices.
I dont think hes trying to get out exactly, he might be doing a powerplay to challenge twitter's SEC filings, which can then justify lowering the cost of the company
wouldnt shock me if this hasnt been done before, to garnish the value of a company only to find out it was full of shit
I feel like those 20% are just lurkers who never tweet and just follow. but elon is the kind of person that has to voice their opinion on absolutely everything so hes probably not understanding that 
He can't lower the price of the company without getting out of the current contract (or getting twitter to renegotiate it)
He signed a really dumb deal
He isn't allowed to walk away
F
He wanted to buy Twitter, they said no, he insisted, they made sure he'd keep insisting
Brilliant idea I would only expect corporations like Twitter to have
I imagine at some point they'd agree to a settlement to make the lawsuits stop or a judge would decide things were silly but the explanation I saw said that, if all else fails, he would even be required to sell all his Tesla stock to raise the money
that would be slightly funny. although that probably would impact his ability to pour money into SpaceX
The $1b is what he owes for wasting their time if he doesn't have enough money or the government blocks the deal
But he can't just say "I don't have the money", he has to make a serious effort to get the money
Can't his lawyers save him or does he really have no choice but to buy it
With enough lawyers you can do almost anything, sure
They could probably argue selling all his assets isn't an acceptable fundraising scheme so the contract can't force him to do so
Then he is back to owing Twitter $1b for wasting their time still
I think he is angling for getting a judge to terminate the contract for fraud at this point
the funny thing is how $1 billion is nothing to him, but it’s probably the principle/pride
Yeah "Elon musk throws away 1 bil" hurts more than the billion
He gets to be on the news and have people talk about him
He might've started it as a little joke thinking he could get it cheaply
that's worth every penny for him
He thought the stock market in 2022 was going to be like the last 10 years
Even though it was already trending down when he made the deal
ya tech stocks were already crashing and he offers twitter to buy every share for well above the market rate
but would he invested in twitter if it was just about stocks? the twitter stock was never particularly good
right
No no, he was leveraging his Tesla stock for loans to buy Twitter
.
(and selling some of his Tesla stock)
So long as Twitter made him more money than the loan payments it would be a win, perhaps not as much as other investments but it's not like he could sell that stock anyway
but if the goal was "I have 40 billion and want to invest them in a tech company because I expect the market to continue in the same way as it did in the last ten years", twitter would be a bit of a weird choice
well he’s buying the whole company so he’d have to get profit to make money
The general trend was already bad but then him selling $8b worth of Tesla stock sent it on a free fall
So all the banks backed out on the loan offers because they required the stock to be above a certain level
and Twitter is the one big tech company that is really bad at making a profit 
iirc the plan was to sell $12b but he stopped early because the price was dropping so much
12b????? Man Elon musk
it’s almost like tesla was overvalued and speculators didn’t want to lose money from the dip caused by elon selling a ton of shares
I doubt Reddit is making a profit, we will see that when they really go public this year. but other than that the big social media platforms are more profitable then twitter for sure
No, Tesla is totally worth more than the rest of the world automakers combined
lmao
I mean it happened to SolarCity. The sucker who are holding TSLA will for sure not wanting it to happen again.
Solar city is working on the tesla solar roof right?
they kinda merged or something, that was a bit weird
yeah the famous solar tile 
also the solar roof is a cool idea but implementation is really lacking. as usual
i will always just continue to invest in index funds and live worry free
The tile is pretty dumb
Yeah, sad that Only special contractors can install it
don’t care about how some dumb individual company does something
that sounds legal
and they don't produce enough
Also I don't see the benefit over traditional solar panels on the roof, other than aesthetics
hope they don’t get a significant market share lol
SolarCity was mostly doing traditional installs
it has more negative and pretty much the only positive is to look good (?) that's also an opinion piece.
Their whole thing was putting the system up at no cost but then you pay them for electricity for the next 20 years
$$$$ to be made but it requires a lot of up front capital
They probably soured the whole market when they did that because my whole family is afraid of solar panels due to that
And if you don't do your life cycle calculations right it's a good way to go broke giving away free/cheap solar panels
iirc some states outlawed it
solar panel is only good in certain part of the countries
Only your local utility can offer you that deal, otherwise you need to buy the panels yourself
somewhat true ^^
(with loans of course)
Well I mean if it gets really cheap and fashionable maybe we can finally live on a decentralized power network (of course assuming all the houses get batterys too)
do you get money from the utility or the government for putting the generated electricity back into the main grid in the US?
yes
Sure
Some utilities give you a discount I think others give free credit and others buy it
They're usually requires to buy it from you without limit and at a fixed cost
Well, fixed relative to what you pay them for going the other way
what if texas freezes over again? can i sell it to the utility for $1000/kwh
Lol
Only idiots were paying that much
how did that even happen
People were signing up for wholesale contracts because it was advertised as a way to save money
Which it is, like 90% of the time
But the utility "overcharges" for electricity that 90% of the time to have the money to pay for that 10%
Normally you pay a fixed rate and the utility is only allowed to increase it a certain amount yearly sometimes only with government approval
Industry and wholesalers pay the market rate
also there are like 5 (?) different power grids for some reason
still better than japan with one 50hz and one 60hz grid 😄
Ours are all 60 at least, just out of phase
Well I mean USA has it better
Not that it makes a difference, connecting them together still requires massive AC-DC-AC converters
That's why neighboring states couldn't just flood Texas with power, those connecting points aren't hooked up all the time, are expensive, and are limited
Blame Texas for acting like a different country
Though it's kinda their whole thing
If their grid was connected to other states they'd have to follow federal regulations on it
Who in Texas wants to follow federal regulations when they can follow state regulations
I'm sure all of them support Elon musk turning the gun agency I forgor the name of into convenience store
Yeah, like those federal regulations that require you to winterize your grid 😄
wtf, Oracle sponsored the LTT video about piracy
Either they didn't know ahead of time or they think it's ironic
Oracle will smack the shit out of you if they think you're running their DB on an extra core in your server
Why have SQL when you can have yaml
Iike seriously the only hosting I can find is a free one and the only server I can find barely works and is needlessly complicated
power grids are weird
Very
Like IPv4 and 6
Though in the end we don't have to deal with it because things like a outlet and TCP exist
it doesn't really seem like oracle's DB brings much to the table for how butthurt they get about it
like, does anyone know why the hell you'd want to use it over an open source one?
or is it just 100% tech debt at this point
what is something people would like to see in a factions plugin in the year of our lord 2022
TIL a Ryzen 7 4700G can play most Wii U and Switch games at full speed without a dedicated GPU
Well, assuming the emulator works well with the game
Its really meant for the enterprise, and most features are more or less focused on how the data is stored and how it gets sent than features for end users.
plus you have old legacy stuff that is still being used to this day
If I do new LivingEntity(...) does that entity get added to the tick loop?
It doesn't look like it, but I want to make sure I'm not missing something
btw Delaware (where a trial between Musk and Twitter would take place) has already recently ruled on this situation
IBP Inc v. Tyson Foods Inc had Tyson try to back out of buying IBP (both are meat packing) but Delaware forced them to follow through
yeah so oracles primary feature is scalability... so just use vitess
It has to be added to a world to be ticked, make sure the constructor doesn't do so (iirc it takes a world)
Also #paper-dev 😛
In theory Musk could offer them more than $1b to agree to cancel the contract
They'd have to weigh that offer against the time and effort for a lawsuit and their odds of winning
man i am so tired of hearing that name
can we go back to bezos or trump or whatever
it's like he's the god emperor of humanity atm
They better force him.
Since he killed the company by doing this.
Top people leaving and stuff.
I'm confused what is that
idk I figured OTC drug abuse to be against community guidelines
it's lean
actually its not otc in most places
so that's worse
@kind agate stop acting edgy and be gone pls
What soda is that?
Disgusting looking soda
where's the drug abuse i don't get it someone please explain
looks like a drug xD
lean is sprite + large amounts of cough syrup usually prescription
that's why its purple
man get help
Sweepy knows what’s up. Dumb kid love to flex the fact they are on that shit
What the fuck are jolly ranchers
who?
Okay that looks disgusting but i still see no drug abuse
an entire bottle of sprite does not turn purple due to adding a few jolly ranchers
pls google lean aurora
ew
that puts you to sleep
how the hell would that type of odd drink mix put you to sleep 
have a piece of chocolate
Having diabetes must suck ass
This article even explained why it’s called purple lean
oh boy the last paragraph
!ban @kind agate drug abuse and trolling
:raised_hands: Banned fanboy and chum chum#3137 (drug abuse and trolling) [2 total infractions] -- aurora#4484.
Thanks @merry talon ❤️
He either really fucked up his brain for real or just an edgy kid

Let’s hope it’s the later
Listening to skyrim music before bed 😌
everyone gets 1000mg of adderall, we gon get hangar done by tonight
I guess those provably called differently in where Aurora live
But yeah it was obv lol
The bait was too real 
I've never heard of people doing that, lol. Why
High school kids here
Plus you can grab those at over the counter (the alternative formula one)
(US)
kids drinking 💀
I've never heard of anything like that tbh
You don’t even get high so to speak
It clouded your mind mostly
And see that dudes chat history lmao
Either good actor or an actual abuser
Let's stop talking about drugs ✌️
@warm anchor
no waifus?
Just got this months remuneration statement, and it's filled with all kinda boni I don't understand, but I'll take it, lol
Apparently union did stuff, gov did stuff, I got a boni cause company hired a friend of mine thru my recommendation, Mai is the normal month for boni, etc
But man, if you exaggerate gross wage like this, seeing the net is even more sad
Gov making bank with me this month, lmao
Reeeeeee
Just when I thought vite was the perfect tool I run into the first issue that I can't solve
I have a lib that includes a font, vite inlines the font as base64, inflating the file size
And I can't seem to find how to tell it to stop
web development moment
weeb development?
if web development turns you into weeb, then I'm going to renegotiate my working terms 
Hey guys, I have an error with my minecraft server when I try and join it. This is the error in the console.
[20:09:40 ERROR]: Couldn't verify username because servers are unavailable
[20:09:40 INFO]: com.mojang.authlib.GameProfile@2adec809[id=<null>,name=_Nyx_0,properties={},legacy=false] (/127.0.0.1:54417) lost connection: Authentication servers are down. Please try again later, sorry!

Okay it says "servers are unavailable" so what does that mean?
I think lib mode in vite is just fucked in general
Hello, does anybody know what option in singleplayer removes the black unloaded chunks that appear underground (down a staircase for example)
The chunks load fine above ground but not underground and I'm looking for a way to change that
what do you mean?
I think it only happens when I'm walking down a staircase
I'll try to take an ss
I have to walk closer to it to make it load for some reason. Just wondering if there's an option
that's just the render distance?
It's on 24 chunks so it just seems close
might be my eyes idk
yeah so if i press F3 + G to show chunk borders I count it as the 3rd chunk in front of me
it loads when it's less than 3 chunks away
Optifine moment?
are cookies page specific?
Like if it is set on one page on a request, and then you get redirected to another does it stay?
Should be whole domain.
depends on how the cookie is setup but I don't think it's possible for it to be deleted automatically when moving to another page, the shortest automatic invalidation is per session
TIL
Cookies have a ton of important options
Secure, httponline and same site are really important
Yea, cookies have gotten kinda darn nice over the years
Weekly reminder that Firefox still uses the unsecure default for same site
They announced they gonna change it any nothing happened
it's firefox
Chrome changed it years ago by now, making everybody more secure
give them a few years and a UI rewrite
Man I love the weather
Sun is out, I got nice ice cream, can just chill in the next park in the grass, enjoy the sun and the sweet smell of marijuana
Watch me sunburn any%
wonder if discord ever changes this
Thank you Google.
https://posili.me/i/X7LNf5yM-2022-05-18_17-27-40.png
SFC v. Vizio got sent back to California courts as a contract dispute
Vizio tried to argue GPL was only a copyright thing so should be in federal court
If it was only a copyright thing then only the copyright holders would be able to sue over it but since the GPL grants those rights to everyone who receives a binary the federal judge sent it back
SFC doesn't own or act on the behalf of a copyright holder, they just bought a TV
If they win it would mean that, at least in California, anyone could sue over a GPL violation
Like, say, a closed source Bukkit plugin 😄
dun, duun, duuuuun
A precedent for that could be cool, cause then you could send c&d letters
With that reference
time for the 1.19 when crowd to roll in
lol
time for ETA xd
Oh no.
oh yeah
ETA 1.19?
Tomorrow
That's useful, I guess
yeah not sure how can be make in vanilla xd
Oh no
yeah i think a few more snap...
Yeah, I expected more content
i expected a few minor improvements
I was expecting even earlier
time to start keeping a closer eye on the update feed on tuesdays ig
probably won't be next tuesday, right?
maybe... until RC
~~let's hope I don't fuck up world generation for everyone this time
~~
any thing can happen
tomorrow is live
What’s the point of the new signed chat thing in 1.19
Mojang can verify a player did indeed send a message, for what seems to be some sort of upcoming player reporting system
(actually anyone can, not just mojang)
are the public keys available somewhere? or am i misunderstanding how verification would work
Yeah they're available from the mojang API afaik
It lets everyone know the player actually sent that message and not the server faking it but I imagine Mojang would want it too for their filtering thing
afaik right now that endpoint either doesn't exist or doesn't do anything but the server can already be configured to talk to it
I think that only counts for vanilla servers
i doubt that
i would imagine mojang would work closely with the servers community to ensure it actually gets used
The whole point of the new scheme seems to be to allow custom servers to modify the chat (to add prefixes, styles, filtering, whatever) and have the client still sign off on it
If they only cared about vanilla servers they wouldn't bother with any of that
that's what i was also afraid of but the preview stuff looks great
also live MM etc preview gonna be pog
I have no idea how the API is going to support that preview stuff
mojang has been working closely with the servers community for a while on stuff like this
i wouldn’t worry about it being implemented super poorly
Yeah I know there's a super secret discord with mojang staff, paper people, and other notable devs
Either they have to do PlayerChatEvent for each character typed and then just capture the result as the preview (which will break things) or not send a plugin the PlayerChatEvent if they don't opt-in to the preview system, presumably with a new event
the fun part is how spigot is gonna maintain backwards compatibility
it's not sent for each character
good thing spigot becomes more irrelevant every day
Whatever, don't argue specifics like that 😛
oh god I forgot that spigot'll be implementing this too
It has some debounce, sure
how badly do we think md will fuck it up
but what can do mojang with that? delete the player's account and refund the money?
moderation
Why would they refund the money?
&x&F&U&C&K&M&E flashbacks...
global bans, global chat bans
I was just saying 😂
yeah TOS violations generally disqualify you from refunds
mojang clearly cares about player safety as evident with their investment into this
Preview is multiple packets, it's a 100ms timeout or something right?
Will there will be a way to turn off this player reporting feature if the server doesn’t want it?
anarchy servers in shambles
So there will be multiple events for a message
200ms for the first time, after that every 1000 iirc
you get banned from chat, servers, or entire login?
i don’t think you get a say in what happens on mojangs platform when it comes to player safety
If you don't modify the preview you can't modify the message
ask mojang. i would say follow their TOS and you don’t have to worry about it
So plugins either need to get spammed with chat events or stop getting or being able to modify chat events unless they opt-in to the new preview event
Actually you just can't modify the chat event anymore
What are you guys talking about. Just glanced at the channel to see whats new in subject 👀
scroll up
I barely play minecraft xd
said in a minecraft discord
PlayerChatEvent is now informational only
ok 0_o
ChatEvent, AsyncChatEvent, whatever
You don't get to modify the chat in there anymore
can't the whole signing thing be disabled entirely as a worst case option? lol
200->100*
iirc the client won't show messages that are supposed to be from players but have bad signatures
Is this the topic chad?
I don't even play on public servers
So you'd also have to modify the packet to make every message look like it comes from the server (the UUID field) which would then break disabling chat in the client
yes
You should it's fun when you are bored
correct servers could just bypass it if they really want to
just send everything as a system message
I'm a little afraid
It's a thing in server.properties to turn on checking in with Mojang about messages
don’t break the law or tos and you’ll be fine
Not the signing stuff, the filtering stuff
I thing those servers are just social experiments
the biggest ones
i am super excited for mojang global moderation, finally spambots, bad actors, etc can have consequences. and with accounts no longer being $0.05 each
Offline mode server in shamble
offline mode 💀
that's why I was asking, if they are permanently banned will be a relief
ask MS
seems nice xD. Would that include stupid clients?
stupid clients…?
oh my god i just realized some stupid clients still don't have all modern component styling options, how are they gonna deal with this lmao
I mean. No account = no way to ban that account
I dislike hacked clients mostly
some clients are better than the actual official lol
i think they are only concerned about player safety, so most likely just chat
hacking = ban, but that nothing to do with chat
damn
i doubt mojang will ever implement any sort of anticheat
hacking could only be moderated on a official server
fr
true true
the purpose of hacking is the same of griefing
another reason I don't play on public servers
but I bet the community would go very down hill if that happens because a lot of people use those
hi, i5 12500 vs ryzen 9 3900? im interested for a server with 80 90 players.
the specs are good but you want to focus on the ram
you will be good with a i5 8th gen lol
about 10gb of ram or a little more is good
yeah but i5 better than ryzen?
I you wan't to waste money ovekilling the server go ahead
don't spend too much money if the server won't use a 10th part of it
2b2t 2.0?
world size = storage
player count = ram
and cpu for good tps
higher clock speeds on single core
these CPU's are not comparable the ryzen 9 is super high end
Weak.
but the i5 has more turbo speed, the i9 has too many cores
The only way you could need 128GB ram is for multiple servers which means you could get multiple physical servers
y’ain’t doing that on that hardware
at 20 tps anyway
You can, if you try hard enough.
who needs entities or view distance anyways 
gotta remove most of the game on that hardware
borg go brrr
indeed https://f.u11.io/tERSkJ
I really should do a purge lol
4273 backups, 4043 of which are hourly backups
view distance is useful
Ya, I ended up dropping hourly backups
eh I just need to set up auto purging
I just do dailys right now
I do have that actually
I mostly backup files on my own time
yeah I just haven't bothered to sort out the flags since iirc it was kinda odd
this is my amazing backup script
NAME=${1:-Auto-$(date +%y%m%d)}
sudo borg create --info --list --stats --exclude-from ./borg-exclude.txt --compression lz4 /backup::${NAME} *
borg prune --keep-daily 7 --keep-weekly 4 --keep-monthly 3 --save-space --prefix "Auto-" /backup
sudo chown -R peter /backup
yeah I need to purge before we run out of space lol
Well no, keeping historic backups is good practice.
So what do those flags retain, I never understood it? How many do you have?
I mean, there was probs once or twice where I was glad that I had older backups because somebody would disappear for time and coreprotect was being a lil biatch
I exclude CP from backups 
The -23 stuff was from when I did hourly
CoreProtect is one of the stupidiest named things ever
like ffs my backups are big enough already, I don't want to deal with backing up this too https://f.u11.io/KoNgkS
Initially I forgot to exclude the 30GB "spaceblob" in my server files
Which caused it to backup like 4 different versions of the file
borg docs explained it pretty well imo
but sooo useful 😍
I do kinda wish that there was something nicer though
like what
I mean, I don't run a server these days, but, back in my pleb days of running a server, COs maintainence was depressing and so many servers bounced between it and logblock
LB had a nicer UI, iirc, but had less tracking
interesting
but, COs inventory stuff is a royale PITA that I ended up developing some weird tricks in order to be able to use it
but, then, ofc, storage space is important, so, everyting tries to just deal with deltas, which, for things like inventories is a bit of a PITA
I had many headaches tryna rollback people yanking stuff from chests, etc
I mean, part of the headache is who wants to maintain that
The spaceblob is a 30GB binary blob file which is being used by ZFS as a device.
The spaceblob contains 800GB of void world which is why ZFS can compress it so much
I do remember when all of the logging systems where going to like, come together to make, one giant and super awesome logging system!
(and then that died and they all disappeared)
epic
if you use zfs then you may want to check out my scripts @ github mikroskeem/zorg
I do kinda wish that the region file zero'ing survived
Only the 200k 200k void world is using ZFS
Everything else doesn't because there is no point
region files aren't zero'd
like, neither the old bunch of sectors, nor the trailing end of the sector you're writing into
also i'm really grateful that borg supports remote repositories
renting 3tb hetzner storage box
only bottleneck is network bandwidth
Although I plan to experiment with a paper fork to alter read writing of regions to basically fake empty region files
nowadays you have client-side mods that can actually visualize stuff from CO and do the command stuff automatically
I mean, the commands where kinda bleh
and, much of the documentation for it was a random png file on some random website
CO's doc was a random forum post somewhere 😄
(Actially, idr 100%, I remember it either being tear induclingly formatted, or an image)
We used CO for a while and switched to LB, staff seems to prefer the LB commands (at least I get asked for help with it less
)
Yea, that was one thing, like, the major setback with CO for me was inventories and the commands
Hello
like, it was pretty kinda darn nice otherwise with some caveats
but, god, the commands
Like, for the most part the commands where okay as you rarely had to go crazy with it
but, then, er, how did you exclude a block? How do you filter X?!
LB can do some chest logging, that was usually enough for us
https://www.minerealm.com/community/viewtopic.php?t=6781 - seems oddly better formatted than I remember?
https://docs.coreprotect.net/commands/
it looks decent
Yea, now they have real docs
I just remember the days of the forum post as the command docs 😄
does anyone know from top of the head how to turn off that loud root/admin user warning?
still has no "last" parameter like logblock, that is a really useful one
i know what i'm doing - running container in rootless mode
not disablable
rip
words, spelling, yay
Yea, we have no sane means and don't wanna get into the rabbits nest of detecting "potentially safer than not just raw root but is pretending its root"
yeah you cannot detect that reliably
(And, after the whole, log4j type BS...)
only way i could retain file ownership in rootless podman was ripping out privilege separation i had
otherwise files would be owned by uid 101999
hm?
ah yes setfacl et al
They saved my ass one time in a multi-user environment, and I love them for it
but, jesus fuck
do i never wanna touch them again
yeah no doesn't seem to do the trick really
?
Yea, I mean, figuring out the best way to apply them was honestly the thing which got me the most, handy little thing when they work, no idea how they cope with other stuff and all that
yeah, just yeet the id binary
lol
Fork paper and delete the warning ez
custom l4j config
i'm way too out of the loop at this point to maintain a fork
just playing this silly game every once in a while with bros, trying to remember old times
It's time to continue to learn dfu again I guess
I think I've chosen the wrong method of learning it, going through deep, but simple abstractions such as optics and profunctor optics to the actual implementation, I think it'll be better to hack some things which minecraft directly uses and learn things from them...
I learnt Scala with all implicit stuff, already have 10 phds /s
Hello guys can someone help me? with armor stands when i right click when opped i can open it with default i can although i think i gave correct perms to it
only acl stuff i’ve used was to make sure files inherited their directory’s permissions when created/moved
defaults
granting multiple users access without being able to purely rely on groups
etc
oh yeah that might’ve been sticky bits i was thinking of. perm defaults yeah
Awesome the SEC doesn't exist anymore, time to set up a ponzi scheme
5th Circuit just ruled the SEC has no constitutional enforcement power
you guys ready for all the "1.19 when" posters who think they are funny?
Command ban requires 2 argument(s) (<user:user|snowflake> <reason:str...>) passed 0
is getting out the ban hammer! ▬▬▬▬▬▬▬▋ Ò╭╮Ó
they said that they either need to provide a jury trial or require more specific guidance from congress
What just happened?
advertiser
I was the first one, replied kashike and didn't get baned 😂
itt: We make wiz mod
the good old days
And btw a lot of people are hoping for 1.19, I think you should say them, go play vanilla silly!
i just really hope they didn't change something internally that will give you guys trouble and also bring the hate mob here again... like seriously what's wrong with this community lately?
Good old day of mob coming here to shit on wiz 
the chat thing will cause a few discussions for sure
Oh ya 1.19 is gonna be a thing soon ish
anybody know if jeff dunham does like, those $5 for a celeb clip things?
@quasi valley stream soon? 
I have 2 big questions:
- How much will the chat APIs changed?
- How much of a mess will spigot make of things?
Do you think they will finally get the message that legacy chat is dead?
at LEAST 7 of the chat apis
who knows
who knows
i tell you who knows
just remove formatting alltogether
JRoy your test client is acting up
MD cares so much about backwards compat that if he yeets it I'll be bloody surprised
Like, that would break literally every single chat plugin in existence
Not that a good chunk of chat plugins aren't gonna break anyways
Mine broke already 😦
git gud
my server will probably continue along on 1.18.2 or use deprecated functions for a bit until I can be bothered to rewrite its custom chat
I mean it already uses deprecated functions because inherited poorly maintained code but minor details.
chat.kt flashbacks
A good chat plugin is all I ask for
one day
Right now I basically maintain some legacy herochat fork
oh no, oh no, oh no no no no no
Ya I know
As I said, old inherited poorly maintained code
I spammed @Deprecated on the entire file
And I have slowly been deleting parts of it
how large is the source code?
I don't know
if under 1.4MB, I has an idea
Its all custom movecraft-like stuff
Dating back I don't even know how far
The compiled jar is like 5MB, and that is even with abusing maven central
The thing throws 1.5k warnings, most of which are deprecations
holy jesus
return is1_16 ? BungeeComponentSerializer.get().serialize(MiniMessage.get().parse(string)) : TextComponent.fromLegacyText(string);
I still have this beauty 
For command responses I have made my own small set of functions for it
/**
* @param type The type of feedback
* @param message The feedback message, use "{index}" to insert variables into the message
* @param parameters Variables to insert into the message
* @see FeedbackType
*/
internal fun Audience.sendFeedbackMessage(type: FeedbackType, message: String, vararg parameters: Any)
The idea being that this can be easily adapted for whatever platform I need
As actually constructing the message is handled by
private fun parseFeedback(type: FeedbackType, message: String, parameters: Collection<Any>): Component {
var newMessage = "<${type.colour}>$message"
parameters.forEachIndexed { index, parameter ->
newMessage = newMessage.replace(
"{$index}", "<white>${
when (parameter) {
is Number -> "$parameter"
else -> "\"$parameter\""
}
}</white>"
)
}
return miniMessage().deserialize(newMessage)
}
Which as you can see currently constructs and parses a mini message string.
I don't claim it to be the best way, but it is a somewhat maintainable solution
Do you get paid for maintaining this mess? 
Peter trying to relive childhood
The code was originally private, but the owner made it public when they finally admitted the server was dead after it had been dead for more then a year

I mean in a way, kinda, I played the server for 2 years from when I joined in 2019, up until its death in early 2021
My total playtime on there across its survival and creative server was like 2 months
Its what got me interested in minecraft server development actually
meanwhile me playing on the same server since 2011 
The server was fun until it died
I think everyone has a server like that in their heart 
I mean, people loved to jump on hypickle and a few other servers, but, servers I've done stuff for have generally kinda been a good number of peoples mainstay server for years
Killed by rampent duping and glitch abuse, resulting in a broken economy, allowed by staff who did not know what they were doing, ran by an owner who had moved on
Yea, that's the joyous thing which killed many of the servers I did stuff for
their player base was fairly solid considering for the game type
I don’t get duping and how it is fun
a lot of server admins seem to lack a basic understand of how economy works, there are sooo many servers with extreme inflation
solid 20 on even a lul, 100 odd during the correct events; downfall was is that the owners lost interest and generally just back-hand managed everything into death and handed too much power over to their friends...
People praise those who found dupes and breaks servers and it’s honestly toxic af
Well, duping and earning stuff at the time is fun
then they get all that they want, run up the baltop, get bored and leave
tight control over the economy was a BIG thing for us in terms of keeping players active
My type of server are those that build stuff and have a community you know like ||gura and holo EN and JP server ||
keeping on top of the server shop pricing, etc
I've never been too fond of Vanilla Minecraft, that's why I don't get the hype around the new features. That's why that server was interesting to me, it was not vanilla at all, it was a Space Movecraft server, I remember flying 48k block ships around, it was fun.
Server went through various resets, but, for our server it kinda worked so long as the reset didn't take too long as they generally game when people where lul'ing out anyways
I think I still have a screenshot of the dreadnought the star trek faction I was in had built.
3 of them lined up, they were accidentally one of the best ships ever designed on the server at the time.
so, new life; players knowing one another and being friends was always good cos they'd come back on even after even the must clusterfuck of events in the RP world
Fun story is that there was this one town, which was generally being assholes and tryna wipe out every other town which formed, mainly to get revenge on a few peeps
Damn the scale of it is big if build by hand
Congress doesn't provide a way for the SEC to do those things via jury trial though afaik so it basically means the SEC has no enforcement power until/unless Congress passes a new law
Eventually, they took out many of the towns, and so many of those people ended up all in one singular town
we always had a bunch of kids making a new faction with their classmates and then everyone else dunking on them because they were annoying kids 
said singular town ended up dick-stomping the arsehats, arsehats stopped playing until the next reset as they where so salty that they got their ass handed to them from their own actions, and, their actions kinda stoped many people playing cos of the constant threat of wars, etc
Block game drama best drama
There were a few ways ships were designed. Larger ships were either done mostly with WE or were based on a voxelisied (one in the screenshot was voxelisied).
Running a server with some sort of war system and watching them happen with all the drama is just the best content ever 
I see. Still I struggle with large builds
Straight up, we had this one dude on our staff team who was like, guy would show up and log in in the morning, spend like, sevaral hours making templates and generally just, felt slow af
guy would say sod it, he's going for a smoke, come back and just blast out spawns, dungeons, etc
(His car also became the centre of a murder scene, lol)
and then there are builders who rebuild the same city five times because they don't like how it looks, although it looked very good on the first try
Another 48k block ship we had built, complete with an interior, the ship felt huge when walking around in it
Space server sounds especially interesting with the new world height now
Oh it is
Although idk how well the client handles actually maxing it out 
oh god, we had some "good builders" who literally made the shittest spawn in existence
thing was about as barren as EterNitys hopes and dreams
Generate a structure with 1 stone block 1 air block alternating for a 500 by 500 structure
Watch the client shit itself
literal wasteland with a few "twigs" as trees
I practically run a new version of the server, we run with a 384 block height limit, with negatives disabled because the code can't currently handle it 
Who needs to handle negative block y levels when you can just disable them?
The worlds are designed by hand in worldpainter so there is no vanilla generation at all
I was thinking about making a space server back when 1.13 was up-to-date and I had some weird system that would teleport players to different worlds when they got close to 255 or 0, so you could actually explore vertically.
It even kinda worked
So we don't really need negatives
Also that code has amazing things like:
private val directionArray = arrayOf(
BlockFace.EAST,
BlockFace.WEST,
BlockFace.SOUTH,
BlockFace.NORTH,
BlockFace.UP,
BlockFace.DOWN
)
I have questions... why isn't this a set, and more importantly, why is it not an enum set?
Its used twice in a way where order is not important...
I mean, unless it's just doing a "contains" type thing, it's somewhat common for stuff using blocks to end up with stuff like that
I mean the horrors of the code just don't end
thats kinda what you needed to do before tags existed
I mean yes, a lot of this code dates back to at least 1.10 to my knowledge.
Allthough my own code is not exactly free from horrors...
class LiveMap: JavaPlugin(), Listener, HttpHandler, Runnable {
Except this is experimental code, i'll clean it up before this actually gets used...
thats what I always say and then it ends up in production code for several years
refactoring go brrr

Ayy my suggestion is actually happening :)
separate channel for GH commits so they don't get lost in #paper-github ?
or is it an actual, hand-written changelog? lol
PAPERMC YOU ARE AMAZING!
Contributors can’t post 😔
I had a world that was lagging really badly in single player (super unplayable fps, and mobs were lagging many ticks behind)
PaperMC fixed it after I uploaded it to aternos
The magic of paper optimizations 🙂
Semi hand written changeling, details still being worked out
Rats I guess
eeeerrrrrr
Are these written by the developer team?
gdi
make it an announcement channel thingy so I can follow it in my server
mcdev bein dum, I wanted to create a fabric project and it's not populating stuff
then an announcement channel would really make sense
Can add contributors likely, it was something I proposed a while ago but that discussion died quickly. Was just recently brought back up and done. Haven't worked out all details, but likely will only be new features/apis, or major bugfixes. So not one message for every commit
I really wish searching was nicer with acronyms 😅
god damn it
Ahh that would explain it, thanks x)
Just had to make sure you won’t talking about gasoline direct injection….
Awesome. I’d most likely be glad to make a changelog video/photos of stuff like my entity api. Especially for stuff like that it’s pretty useful.
that seems useful
I feel its mostly rather forced most of the time, like a quarter of the servers ive played all either go to waste or become indecisive and cant decide if they are payed or not (and lose all their playerbase)
well most servers are just vanilla or vanilla + a random collection of public plugins that every other server has
doesnt help
I mean don’t get my wrong vanilla with public plugin will work
They just need to build a community around it
Without it, it will fail 100% of the time without monetize it
people get bored with vanilla very fast and then move to vanilla server #123425634
yeah I'd say for a standard vanilla/semi-vanilla server you just have to have a player base that sticks
what I've kind of noticed over the years is a much larger proportion of the community that stays has invested in it heavily in some way
for a vanilla server there's not much in the way of that, donation perks are kind of an easy way to introduce that, or also something that rewards players who have remained in the community for a long time (e.g. giving out roles)
having a highly unique server goes a long way too but obviously a lot more effort
most people get bored of servers like that
The only way to maintain a playerbase with that kind of server. You have to be famous in some sort of way
not saying it's easy, and also generally not huge communities
main point I was trying to make is it is possible to hold a community on a vanilla server, generally the group that stays for a long time are super heavily invested into it
which is not going to be a huge number -> not going to be a sustainably large community
but possible
Big thing is that players need stuff to do and a reason to stay
lol I suck at that
yea
SMP itself is far from an ideal situation in many respects, you need to build something around it
I am a mod on one smp and they try to do there best with doing events and etc xD
I remember there was YouTuber that started a little server and did a few large events on it for videos (like 100+ people) and it had a really good player base but I was very unlucky so didn't advance very far on the server. There was like 5 people (inc me) that played it weekly. it used to be like 50+ but that changed when a base everyone stayed at got griefed. However these 5 people didn't go down that way and they moved far away to another village but closed off to special invites. They then kept base hopping because it was never quite the same and the server died off and the YouTuber never got around to making another video to revive it (despite multiple promises, he was even rather active)
After that I joined another one, this was by a bed wars YouTuber (no idea how I found em) and I was a farmer and gave lots of items to new people but the server went to twitch subs only (I think it was that the whole time but he purged everyone who wasn't) and without realising he killed the server
Me and the people in the "town" had built a massive wall but we were also limited in growth by the wall as I was the only one to dare to build beyond the wall, this town went through many misfortunes and died in the end, the server reset after rasseru realized his mistake in resetting the whitelist but everything the players worked for wad gone
there should be a secret code you can say to a tech support agent to be immediately transferred to a higher level support person
why would the higher level support person want more work
Yeah there's the lower one for a reason
also that would just... ruin the whole point of having tiered support
the secret code is having other means of contact outside of the ticket system 
imo the best way is a system that encourages players to interact with each other.
content provided by the server will eventually run out, you can't produce content faster than players playing it without making it extremely grindy. and events and stuff only help a bit.
Thats why I really like PvP servers, even though they create lots of drama
So if I call them by their personal numbers I can get better service?
I mean, that works for games for me 
Lmao I just show up at their house to get free people, chains are an issue though sometimes I need to use bike locks
free people
that sounds like slavery to me
yes the keys seem to be a combination of content, player interaction, community management, and something to keep them invested
no chad it's so the people who actually know what they're doing don't have to sit through like 3 levels of "have you tried turning it off and on again"
the problem is just that there are going to be people who should be turning it off and on again that skip to higher level support
thats why ideally the low level support recognizes if you need better support and then transfers you rather than it being a free ticket
i would be a big fan if airlines had customer support
dont really understand why the government hasnt told them to figure it out, 8 hour wait times are bullshit
are airlines even profitable or is it entirely propped up by gov't
they don't? my mom worked customer support for an airline for quite some time, good to know she wasn't actually doing anything 
depends on the airline, etc, like literally any other company out there
every time i have ever called an airline i have gotten a 2+ hour wait
o.O
didnt mean to belittle anyone, i think they severely lack enough customer support
no worries, I understand what you meant. its definitely one of the areas were they try to save money the most and there are also just too many people with really dumb complaints
@ pop4959#1781 you are chunky dev right? Seen that name before
he is
i hop around a bit but yes
Nice
ah darn forgot to add my disco on the oc contribution comment - still a way to get the discord rank?
thanks - not too important for now to at someone hehe
Anyone aware of any teamfights plugin, like a 3v3 ?
Done :3
Update Discord on Android.
Try to open it: APP NOT INSTALLED.
Open it from the app store.
Opens, dark theme (amoled theme gone), cache fully cleared, yet still logged in.
Thank you Discord?








