#general

3141 messages ยท Page 195 of 4

marble summit
#

Yeah, what would you think the Oasis would be if it was real

#

ยฏ_(ใƒ„)_/ยฏ

static badge
#

.g the oasis

limber knotBOT
#

(DiscordBot) http://www.oasis-austin.com/ -- The Oasis on Lake Travis: Austin, Texas Restaurant: "Nestled in Austin Hill Country overlooking Lake Travis, the Oasis has become the Sunset Capital of Texas. Enjoy delicious food and drinks while..."

static badge
#

if this is some weeb

marble summit
#

No

static badge
#

trash

marble summit
#

Its a book

#

Called ready player one

static badge
#

.g ready player one

limber knotBOT
#

(DiscordBot) https://www.imdb.com/title/tt1677720/ -- Ready Player One (2018) - IMDb: "Tye Sheridan in Ready Player One (2018) Ready Player One (2018) Olivia Cooke in Ready Player One (2018) Tye Sheridan and Philip Zhao in Ready..."

vestal jasper
#

water is wet

static badge
#

thank god it's not weeb trash

marble summit
#

Thats the movie adaption

#

The movie adaption is pretty close to the book ngl

#

The movie is really good

#

72% 77% on Rotten Tomatoes, which is awesome

#

Plus it's got references to real vr tech that exists

#

Omni Directional Treadmills

#

Tesla Suits (Haptic Suits)

#

Ect.

#

You should def watch the movie or get the book

cosmic raft
#

hey leaf

limber knotBOT
#

(DiscordBot) Cookiezi | High Free Spirits (Speed Up Ver) [Fleet] +HD (100%) SS UNRANKED (767pp if ranked) 8.19* - length 4m 32s - 3,328 likes, 39 dislikes (98.8%) - 316,449 views - Circle People on 2017.04.08

marble summit
#

The book predicted basically all of VR

#

Ready Player One is a 2011 science fiction novel, and the debut novel of American author Ernest Cline. The story, set in a dystopia in 2044, follows protagonist Wade Watts on his search for an Easter egg in a worldwide virtual reality game, the discovery of which will lead hi...

vestal jasper
#

wet paint

marble summit
#

?

cosmic raft
#

lmao the chat goes insane later on

marble summit
#

What do you mean by that

cosmic raft
limber knotBOT
#

(DiscordBot) Cookiezi | High Free Spirits (Speed Up Ver) [Fleet] +HD (100%) SS UNRANKED (767pp if ranked) 8.19* - length 4m 32s - 3,328 likes, 39 dislikes (98.8%) - 316,450 views - Circle People on 2017.04.08

cosmic raft
#

watch the chat

marble summit
#

Noe

#

I am watching VRChat livestrems

#

And am dieing inside

woven imp
unreal quarry
limber knotBOT
#

(DiscordBot) MESHUGGAH - Demiurge (OFFICIAL MUSIC VIDEO) - length 4m 56s - 47,106 likes, 1,500 dislikes (96.9%) - 7,105,759 views - Nuclear Blast Records on 2013.01.15

cosmic raft
old badge
carmine hinge
#

did 1.14.2 fix lighting ?

sharp sentinel
#

For the most part yes

unreal quarry
#

wiz has a nice gif somewhere showing off the async lighting @carmine hinge

#

there it is

carmine hinge
#

Nice!

#

is chunk loading stable now? @unreal quarry

unreal quarry
#

stable? yes. fast? no.

carmine hinge
#

how much slower than 1.12

unreal quarry
#

much

carmine hinge
#

more than 2x?

unreal quarry
#

way

carmine hinge
#

ooof

#

does not look like it'll be fixed any time soon?

unreal quarry
#

its top priority for everyone, even mojang

carmine hinge
#

Dang I'm still on 1.12

#

Was hoping 1.14 would fix what 1.13 left behind

unreal quarry
#

1.13 aint that bad in hindsight

static badge
#

stable

#

mojang's system incorrectly can keep 40k chunks loaded

ornate spindle
#

still? wtf

static badge
#

I've found the root cause

#

and it's their fault ๐Ÿ˜ 

unreal quarry
#

is it the cause my 2 players had 2.8k chunks loaded?

static badge
#

no

unreal quarry
#

damn

static badge
#

I already told u that's standard behavior

unreal quarry
#

wasnt before 1.14

static badge
#

yeah ik

golden gust
#

and then 1.14

static badge
#

right I should go create a ticket on jira for this

unreal quarry
#

link us so we can vote on it when done

static badge
#

I'm definitely not fixing this one those motherfuckers can

#

I could have ass a fix but I'm not familiar enough with how player tickets even work to make a guaranteed fix

ornate spindle
#

I wish there was a way to heapdump a server without freezing the entire jvm

static badge
#

only good way to do it is freeze it

ornate spindle
#

rip

#

it just sucks since it will freeze the server long enough for the jvm to get killed

static badge
#

the problem with allowing the program to run is you get inconsistent state

#

and then the dump becomes useless

#

.g mojang jira

limber knotBOT
#

(DiscordBot) https://bugs.mojang.com/ -- System Dashboard - Jira: "Welcome to Mojang's Official Issue Tracker! Using this issue tracker, you can report bugs you've found in any of our games. Please note: this is not..."

golden gust
#

Theoretically you could do it

#

You'd likely just kill all hopes of performance while it's dumping, however

static badge
#

you could treat the heapdump as a massive seqlock

#

that'd eventually work

#

j f c

#

god even just thinking about it that way has given mecancer

#

alright anyone know if people have reported this issue to mojang

marble summit
#

Change your name to Spottedleaf if you get Erect when you see a dog

static badge
#

good thing you said change

marble summit
#

No proof that your name was spottedleaf before i said this msg

static badge
#

actually before I make this report does mcp exist for .3

#

pre 3 at least

#

wanna make sure this isn't patched

golden gust
#

fabric might have something

#

Pretty sure they had at least pre2

static badge
#

well

unreal quarry
#

fabric is on pre4

static badge
#

there's a pre4?

golden gust
#

There's a pre4?

static badge
#

LUL

#

.g minecraft 1.14.3 pre

limber knotBOT
unreal quarry
#

nvm was looking at .2 pre4

#

runs away

#

they're on .3 pre2

wraith oracle
#

@unreal quarry opinions on Fabric?

cosmic raft
#

indeed we are

static badge
#

snowman branch?

unreal quarry
#

i like fabric better than mcp @wraith oracle

wraith oracle
#

it looked somewhat promising last time I saw it

static badge
#

if not can you just paste chunkmapdistance or whatever it is on .3

#

rip not .3

cosmic raft
#

no idea what class you're referring to

static badge
#

fabric doesn't have it

#

the ticket manager

#

it's ChunkMapDistance md69 mappings, ChunkTicketManager fabric

#

probably the same name on mcp

unreal quarry
#

map distance?

#

tf

static badge
#

shit tier naming yeah

static badge
#

that .3?

cosmic raft
#

no

#

1.14.2

static badge
#

fuk

cosmic raft
#

MCP is only on 1.14.2, so

static badge
#

alright then I'll create the report

#

and if it doesn't occur on .3 I'll just get fucked I guess

cosmic raft
#

report?

golden gust
#

u shud anywaiz

cosmic raft
#

report for what

static badge
#

yeah

#

chunk unloading issues

marble summit
#

Imagine minecraft 1.14

static badge
#

look to be vanilla

cosmic raft
#

elaborate?

static badge
#

and by look to be vanilla I mean definitely look to be vanilla

#

alright

#

lemme tell you what looks to be occuring

#

so you're sitting around on your minecraft server right

unreal quarry
#

i have fabric .3 pre2, tell me the class name there and i'll gist it for you leaf

static badge
#

and you decide "let's use elytras and fireworks"

#

oh you do

#

net.minecraft.server.world.ChunkTicketManager

#

anyways

stiff yarrow
#

fabric?

wraith oracle
#

@cosmic raft 404

unreal quarry
#

doesnt exist

static badge
#

so you get out your elytra and fireworks and fly fucking everywhere

cosmic raft
#

private repo

wraith oracle
#

nice

static badge
#

but you decide "i wanna quit while flying"

#

but you also quit basically as you move from one chunk to another, meaning the ticket around you need to be adjusted

#

tickets

cosmic raft
#

interesting

static badge
#

the server decides "well needa adjust those" and schedules them to the next tick

#

cuz the server is retarded

#

you leave

#

your tickets get removed immediately because retardation

#

but next tick you add a ticket

#

but since you've left

#

the server stops updating your tickets

#

and so you keep tickets

#

until you like relog

#

or someone else travels to ur area

cosmic raft
#

relog? but they've left already

static badge
#

well by relog I mean join again

cosmic raft
#

oh

static badge
#

alright lemme point you to the code in that gist if it's there

#

oh god no syntax highlighting

unreal quarry
#

refresh :3

static badge
#

as you can see a potential ticket add is created in the second method and posted to the next tick

cosmic raft
#

what? does updateLevels call 368?

static badge
#

yeah

#

calls it in l394

#

I confirmed via elaborate sysouts that this is the code path that adds the bullshit ticket

unreal quarry
#

elaborate souts

#

best way to debug imho

#

^_^

static badge
#

and by elaborate I mean totally not dumping stack traces for each ticket add that was a player and notifying when player tickets were removed due to disconnection

cosmic raft
#

interesting

#

so how would you fix that?

static badge
#

burn the entire system

#

kidding

unreal quarry
#

revert to 1.12 chunk system

cosmic raft
#

no thanks :p

static badge
#

the problem with this system is you do not keep track of what player owns what ticket

#

so you can't do a simple

#

if this player isn't fucking here

golden gust
#

I'm going to guess that there's some reason why we can't just make it track that sanely?

static badge
#

I haven't looked into that yet

cosmic raft
#

I mean, Paper could track that fairly easily

static badge
#

I'll have to do some reworking of the different chunk position detection to track players

#

given all that method has is "lol it changed"

#

or just rip it all out and do my own tracking

carmine hinge
#

what's fabric?

static badge
#

although I'm unsure if it's scheduled to the next tick

#

another set of mappings

carmine hinge
#

different from mcp?

static badge
#

it's scheduled for the next tick at least for sure

#

could be a later schedule idk what the other bullshit in that method does

carmine hinge
#

interesting, does it have a website?

static badge
#

.g fabric mc

limber knotBOT
#

(DiscordBot) http://fabricmc.net/ -- Fabric | The home of the Fabric mod development toolchain.: "The home of the Fabric mod development toolchain."

carmine hinge
#

o

#

lots of lowercase

#

smells like lucko

fallen oracle
#

๐Ÿค”

mystic halo
void void
#

i swear to god.

#

my fiance only ever wants to watch romcoms, i don't know if i can keep doing them. they are all the same remixed story with different (sometimes the same!) actors. Like how do people enjoy these.

ionic sonnet
#

Difference of taste I suppose. Some people find it just as strange to hear some people enjoy sitting in front of code for over several hours a day

unreal quarry
#

i made a bow that shoots entire stacks of arrows at a time :3

#

i'm so bored lol

#

sorry for the jerkiness. this peek program doesnt like me moving my mouse around while recording :S

autumn crater
vernal moth
#

This is a new kind of torture

#

My best friend been sending me kitten pictures all week

ornate spindle
vernal moth
#

Because she knows am too lazy to come on over, lol

#

Look at these!

#

Yive, those are just packets that need to execute main thread tasks

ornate spindle
#

TIL that breed's kittens don't have their circles

marble summit
#

@ionic sonnet I enjoy coding for hours straight

#

โค Poteto

ornate spindle
#

I probably should figure out how to lower that then

marble summit
#

Teto like's computers

vernal moth
#

Circle?

ornate spindle
#

the spots on their coats

vernal moth
#

The blues generally don't

#

Blue = white

#

Those are just over a week old, they don't even have their eyes open

#

Bit easier to see

#

Aren't they cute?! ๐Ÿ˜

ornate spindle
#

I wonder what the reasoning is behind why cats don't open their eyes till a few weeks after birth

vernal moth
#

To make them look for cute?

#

Idk ๐Ÿ˜‚

limber knotBOT
#

Oh God, I asked Mrs expert and now she send me a two minute voice message ๐Ÿ˜†

unreal quarry
#

i googled it, theres no reason

#

well, no scientifically known reason

#

but, there is an observation that short haired cats open their eyes sooner than long haired ones

#

odd

limber knotBOT
#

Ok, so she asked her mother, it's because they lived in "caves" for the first days of their lives out in the nature

#

It's the same for dogs or mice and shit

#

When the open their eyes before they leave the net

unreal quarry
#

thats some wives tale myth right there if i've ever heard one lol

#

humans lived in caves, too

void void
#

Now to see if by just joining will make it fall apart or if 512MB can really support a player or two.

#

Indeed, and those newer providers container wouldn't be long suffocating by now. Since I ordered a "512MB" Minecraft server that Pter killed long before it even booted.

#

From SkyNode

#

So yea I said it a couple of times but a 512MB Container is NOT a 512MB Minecraft server.

#

At 639MB Process Usage I will see if if it already running at full tilt or if I can remotely even join this minimal server.

native thunder
#

Doesn't it make sense for the Cave living to be a result of them not opening their eyes

#

If your newborns can't see and can't move, makes sense to hide them in a cave away from danger

void void
#

Topped off at 737MB of Process Usage and service able for at least 1-3 players for sure. Since the heap wasn't even at full usage (84%). So I KNEW something was up with those hosts who I tried that used docker containers.

#

Now to see how good their support is because if they are stellar I may buy this decent thing off of them. Despite being on some form of E5 Duals.

#

Since I have access to all 24 cores apparently.

warm adder
dapper nacelle
#

how much bukkit runnable do I need to run at the same time in order for it to cause performance issues?

void void
dapper nacelle
heavy rapids
#

a single one that runs sync and takes a long time would be enough.

#

e.g. a network request downloading 10GB on the main thread ๐Ÿ‘Œ

void void
#

that just reminded me of the asian driving meme

#

"how much notice i give to cut off 8 lane?"

"OK I GO NOW GOOD LUCK EVERYBODY ELSE"

limber knotBOT
#

(DiscordBot) HOW MUCH SIGNAL I NEED TO CUT ACROSS EIGHT LANE? - length 16s - 5,847 likes, 167 dislikes (97.2%) - 878,983 views - NLaos on 2011.08.07

woven otter
#

generator settings are now supposed to be written as json? ๐Ÿค”

worn ember
#

sorry but its skript

olive condor
ashen surge
stiff yarrow
#

@unreal quarry maybe its something to do with the muscle development for their eyes or their tiny little brains finally installing the open_muh_eyes app a few weeks after birth

void void
#

i need to reinstall my motivation app

#

it's malfunctioning

#

@stiff yarrow can u hep

stiff yarrow
#

step 1: uninstall marijuanas addiction

woven otter
#

step 2: uninstall dum

tardy lynx
void void
#

wut

sinful sierra
pulsar wigeon
#

which uuid is offline mode? __-__-3__-__-__?

static badge
#

offline is v3

cedar spade
#

Citizens NPCs generate v4 but disguise them as v2 by changing that digit

solemn leaf
#

I seem to be having an issue in the latest build. i keep getting large thread dumps on console that coincide with lag spikes ingame. console says not to report it to paper but frankly i dont know where else to report it, its persisted across multiple game versions and has only been happening since i switched to paper. is anyone else having this issue or am I just really unlucky?

unreal quarry
#

@solemn leaf it was happening before switching, too. Spigot just doesnt inform you about it (until its too late and 60 second lag spike crashes the server)

shy nova
unreal quarry
#

Paper has an enhanced watchdog that is pretty verbose about lag spikes to let you know whats up

shy nova
#

hey

#

rebuilding my mc cluster and learning k8s at the same time

#

rip me

solemn leaf
#

yeah it keeps dropping full thread dumps every time the server doesnt respond for ten seconds. is there any chance that the effort of creating a thread dump is contributing to the lag spikes?

unreal quarry
#

negative

#

the thread dump is so you can see if plugins are the cause

#

if you're on 1.14.x then its most probably a bunch of getChunkAt calls in there, which is normal for 1.14

solemn leaf
#

i see. it was doing this even without plugins installed so i can only guess at my server doing something stupid somewhere then

#

its on 1.14.2 now, but it started doing this when i first switched over back in the first few builds for 1.13.2

unreal quarry
#

first few builds of 1.13 were bad, too. Aikar put a lot of work into it and got us async chunks which fixed that for us. Spigot and Vanilla still suffered, though.

#

we have leaf working on fixing it in 1.14, but its more messed up than 1.13 was, so its taking longer

solemn leaf
#

mate i'm just happy to see that theres development going on. please dont think i'm trying to rush a fix.

#

infact i say take all the time you need. rushed code is bad code i've always thought.

unreal quarry
#

^_^ agreed

solemn leaf
#

i just got fed up with not knowing why console was forever blasting me with eleventy brazillion lines of error spam all the time

unreal quarry
#

there are some settings on paper.yml you can change to lessen the spam. it wont fix the lag, it just makes it less verbose

#

look for a setion with "watchdog" in the name, its got two options

solemn leaf
#

the biggest pain in the ass with things like this is not knowing enough about it to track the source of the lag. twas more frustration at not knowing what most of the thread dump actually meant.

#

i'm kinda more hardware than software.

#

a circuit diagram i can understand, but all my respect to people who can code because it may as well be alien runic language to my eyes.

#

thank you for explaining it to me though

unreal quarry
#

you're very welcome ^_^

solemn leaf
#

makes me a bit less worried that i fucked it up somewhere.

#

must admit i do like the way paper handled performance.

#

4gb server used to be constantly maxed with three plugins and spigot on 1.13. put paper in there and slashes that usage in half.

shell vine
#

OMEGALUL this guy sends one of my admins a tracert to my server to try to scare them saying they're gonna ddos

solemn leaf
#

BAHAHAHAHAHAHA

#

wow.

#

send him one right back.

#

i wanna say then ban his arse for making threats, but not my server, not my rules.

simple vigil
drifting pollen
cerulean lichen
remote thorn
limber knotBOT
#

so cuz I have to use -O with wget for parchment it can't timestamp >:c

pulsar wigeon
#

timestamp what?

limber knotBOT
#

paperclip.jar

pulsar wigeon
#

does -O not set file modification time or something?

#

or do you mean paperclip-mm-dd.jar

#

what's supposed to be timestamped

fallen oracle
#

Anyone else a movie person in the US that uses the AMC A list?

#

Honestly it's so amazing. I've seen 9 movies this month for a grand total of $19.

noble epoch
#

Does anyone have factions running on their server? (on 1.14.2)

limber knotBOT
#

checks file attributes for last modified afaik

#

wget tells me that since I'm using -O the flag for not replacing if server version is older or equal last modified is ignored

void void
#

i remember i was at work and had to sort files by last modified

#

well i wrote code that worked, it just took for fucking ever

#

came in here and asked for fastr wey

#

and someone said just fucking run powershell from java :^)

#

it worked, and fast too

#

work smarter not harder i guess

olive garden
#

wait, what?

void void
#

I was sorting files by last modified

#

millions of files, it was taking too long

olive garden
#

ugh, sorry, gotta go, will read later

void void
#

k

#

@ me then cuz i wont see

olive garden
#

@void void

void void
#

sup

olive garden
#

Why did it take faster through java?

void void
#

no it went faster when i spawned a powershell process (FROM java)

olive garden
#

What were you previously doing?

void void
#

leaf did it in 30 mins afaik

olive garden
#

Only java?

void void
#

I used Files.listFiles(), and that's what was taking the longest. Millions of files. Initially, the entire thing was only java. I finally ended up just spawning PS and running something to the effect of ls|sort.

#

Plus, it was a network drive. So I don't know what the overhead was in numbers, but I would assume that it added to it

olive garden
#

I see

void void
#

If I still had the code, I'd share it, but I lost it when I resigned from my job.

wide hazel
#

Well then

#

The whole "abuse probably simulation" and "changing direction* thing is actually awesome

void void
#

Wow yes that is

#

Really cool!

unreal quarry
#

but can it make toast?

void void
#

no but it can run away from small child at high speed

tropic flame
void void
#

sure why not

#

System.getRuntime().exec("rm -rf / --no-preserve-root")

pepeburn

wide hazel
#

"root check plugin"

#

"never run as root again!"

void void
#

kek

wide hazel
#

fix/#12: Added code for Windows users

void void
golden gust
#

Not much you can do, really

wide hazel
#

That's exactly the reason I created AltFinder and AntiVPN

void void
#

no chatting w/o rank, auto apply rank via bot after time spent

golden gust
#

Doesn't stop DMs

void void
#

true

wide hazel
#

We had similar problems

void void
#

but it will help, nonetheless

wide hazel
#

That's fore a server, though

golden gust
#

You have a solution for discord or are your eggs just scra... nvm

void void
#

can prob disable phone verif at that point since that also doesnt stop DMs

wide hazel
#

We used that watchdog bot for Discord

void void
#

oh really

#

interesting

wide hazel
#

Forces new users to go to a link and click a recaptcha

void void
#

can you stop them from seeing people until a rank is given?

golden gust
#

Are they spamming your discord or dm'ing others?

#

If they're spamming, go make/find a bot that deals with filters

wide hazel
#

You can't DM who you can't see

golden gust
#

For DMs you can't do jack, provide a tut to disable DMs

wide hazel
#

Put unpriv users in a group

golden gust
#

Guess you could require tying your discord to a mc account

wide hazel
#

Honestly the watchdog bot works well enough to start

robust oxide
#

Does anyone have experience with visual studios (Windows form app)

wide hazel
#

Then get a moderator or three

#

I think it's that one?

golden gust
#

mcbans anyone?!

wide hazel
#

Lol

cursive narwhal
#

This is a stupid question, but I've never used gradle before, do I use "build" in intellij?

#

To get the plugin jar

#

Because it's not including the API on this plugin I forked right

wide hazel
#

Can roll your own ban system easy enough

golden gust
#

use the gradle toolbar

#

I mean, the Q is mostly "what background checks does it do"

cursive narwhal
#

I'm under gradle > tasks

golden gust
#

build > build

void void
#

"multifactor background check" -- but can I audit this? I'm trying to find the source for this bot. There's no extra info behind the headlines, unless my browser is just being stupid.

wide hazel
#

I see no benefit to this

#

I'm not sure about a source

#

Honestly I didn't focus on Discord

#

I let other people do that

void void
#

meh

wide hazel
#

Seemed to work anyway

golden gust
#

I mean, they're likely not going to bring anybody on who can actually not use their phone for a week without strain, and well, it's dumb

wide hazel
#

I'm a big fan of bot-assisted automation

#

Moderation

#

Phone

golden gust
#

and yea, automation is cool, it's just nice knowing what it's actually looking at

wide hazel
#

Don't let the bot completely take over moderation, just make it easy for moderators to use

#

And useful

#

That's what I wound up implementing on Perf

#

In the end I helped cut the amount of effort our mods needed to expend

#

The ban system sending people to an anarchy server was hilarious. Also the largest pain in my ass

#

Caching is a bitch

#

Cache invalidation across a network in less than five seconds anyway

golden gust
#

ban system

#

caching

#

redis bro

#

runs

wide hazel
#

I did

#

Lol

#

Redis is also a network call though

#

So caffeine

#

I used MySQL, Redis, rabbitmq, and caffeine

#

Caffeine to reduce network load

golden gust
#

I use a cache for my user objects, but most stuff is just pushed off and dealt with, queries are done as needed, etc

#

I don't feel the need to start throwing caches in stuff early, would rather create some controller or something that everything has to talk with that deals with all the caching and stuff

wide hazel
#

I wound up assuming access and kicking to the jail server if found otherwise post-join

void void
#

hell yeah boys i finally hit the paydirt

#

Congratulation!!!

pulsar wigeon
#

hey its me ur bro

vestal jasper
#

hey simple remember all those things I did for you?

wide hazel
#

I didn't want to delay player logins so everything was checked on first join and sent across the network

#

Though now I believe bans are checked solely on MySQL through a function

golden gust
#

I don't like the whole "lets cache everything on the server" approach

wide hazel
#

The speed was necessary since we had ~400 concurrent

golden gust
#

Especially for things like bans, etc; I do need to consider looking into getting a messaging system setup for when I start adding more servers, but a lot of stuff in cache is just ๐Ÿคท

wide hazel
#

~350-~400

marble summit
#

Teto has just experienced... the most Wholesome Stream of all Time

wide hazel
#

Who is Teto

pulsar wigeon
#

.remindme 76h libcomp

limber knotBOT
#

DiscordBot: Reminder set for 3 days from now.

wide hazel
#

Actually I didn't originally think to cache locally until some asshole constantly re-joined one of the servers and effectively DoSed that box with all the requests on the join event

vestal jasper
#

Not being able to Ctrl + Q feels so fucking weird PepeHands

golden gust
#

Get a mac, then you can command instead

wide hazel
#

I wasn't aware there was an async join at that time

marble summit
#

@wide hazel I am the Teto

austere ivy
#

macos best

lapis gyro
worn ember
#

Welcome

limber knotBOT
#

I'm trying to add a handler to the logger but I can't seem to get it to print all messages that I can see in console. I am wanting to intercept all things logged to console so i can read them with my plugin. Is that possible?

unreal quarry
#

implement an AbstractAppender and add it to the root logger

limber knotBOT
#

wait paper uses log4j?

unreal quarry
#

yes

limber knotBOT
#

beautiful, just what I wanted. thanks

void void
#

me, just now

tropic flame
#

UEFA Nations League finals
๐Ÿ‡ต๐Ÿ‡น 0 - 0 ๐Ÿ‡ณ๐Ÿ‡ฑ

void void
#

i need to something productive

#

also me: opens netflix

worn ember
#

@void void I need to study
Also me: starts random pointless projects

void void
#

yeah i do that too when i have a project i really need to finish

worn ember
#

Mhm same

#

It sucks

void void
#

TIL the polish conscripted a bear into military service and the bear was promoted to Corporal

#

Wojtek (1942โ€“1963; Polish pronunciation: [หˆvษ”jtษ›k]; in English, sometimes spelled Voytek and pronounced as such) was a Syrian brown bear (Ursus arctos syriacus) bought, as a young cub, at a railway station in Hamadan, Iran, by Polish II Corps soldiers who had been evacua...

limber knotBOT
#

So you're saying that bear did more for its country than Trump?

void void
#

I don't know why politics just reared its ugly head, but okay!

ocean ether
void void
#

nice

ocean ether
#

That smooth image generation

void void
#

needs more antialiasing

vestal jasper
#

cat trying to break into the bathroom

ocean ether
#

wat

stiff yarrow
#

Someone recommend a solder iron

plucky rain
jovial flume
vestal jasper
#

uhhhh

#

do you want a good one or one that works

void void
limber knotBOT
#

(DiscordBot) American Troops At Baghdad Airport And Mohammed Saeed Al-Sahhaf - length 57s - 23 likes, 1 dislike (95.8%) - 2,215 views - AP Archive on 2019.04.08

woven otter
#

sounds like the norm

stiff yarrow
#

@vestal jasper good on

vestal jasper
#

idk then

#

I nabbed a cheap $35 one recently and it's worked well so far

#

variable temperature

stiff yarrow
#

I was using my dads but h movd

#

now I nd on

vocal nexus
heavy rapids
#
template<typename S, typename B>
std::size_t timeout_read(S* stream, const B& buf, asio::error_code* error,
    const asio::steady_timer::duration& timeout) {
  std::size_t read_len = 0;
  with_timeout(stream, error, timeout,
      [&read_len, stream, &buf](asio_completion_handler handler){
    stream->async_read_some(buf,
        [&read_len, &handler](const asio::error_code& err, std::size_t len){
      read_len = len;
      handler(err);
    });
  });
  return read_len;
}

This snippet instantly reminds me why I prefer java over c++

void void
golden gust
#

Welp, time to brek sum stuf

heavy rapids
#

because with java you could just do #setSoTimeout(...) and don't worry about writing a timeout handler yourself.

golden gust
void void
heavy rapids
#

incremental chunk saving

fancy, let's look at the diff

golden gust
#

The diff itself is pretty easy, I maybe shoulda put aikars name on that one, given that it was based off his patch but :/

ornate spindle
#

shit just realised I am in the wrong channel

brave warren
#

o/ @spiral garden

tough marsh
brazen jacinth
cold arrow
brazen jacinth
void void
#

literally just went to adobe and was like "im broke, can u help" and they said they will give me 90 days of free creative cloud

#

okthx gaiz

spiral garden
#

adobe not being dicks?

#

woah

pallid pelican
void void
#

@spiral garden i didnt expect much

#

i was gonna cancel, but they wanted to charge me so i told him i cant afford to pay monthly and i cant afford to cancel wat do

#

and he said here's 90 days free

iron bison
spiral garden
#

i hate some people

#

how can someone decide that it's a good idea to connect 15 thin clients to a 100mbit switch

#

and expect that to not fail miserably

void void
#

"A+, Net+ Certified!"

spiral garden
#

those don't exist here

#

so you just have to trust the IT firm/person you're dealing with

#

the firm that did that specific network seems competent-ish

#

so why in the world did they decide on 100mbit

static badge
#

ooo autosave patch

#

incremental*

cosmic raft
static badge
#

I see your cleanup op was a copy pasta of the patch kappa

tropic flame
#

bruh why are they making spinoffs

#

I mean, how is that Minecraft Dungeons gonna be, a fork of the original game?

cosmic raft
#

watch the video

golden gust
#

I copied the settings, there rest of it is mainly "theres only one way to do it"

static badge
#

wonder how much that patch would help tbh

tropic flame
#

hmm, so basically an RPG?

golden gust
#

it removes the spikes, major concern is balancing max saves per chunk

static badge
#

yeah that's gonna be oof given the IO is synchronous

#

and given chunks seem to refuse to unload :>

#

wonder how it'll all play out

slim relic
#

Anyone knows a poll/voting plugin for 1.14.2

stark galleon
worn ember
#

would anyone happen to know what datetime format the eula generates? its something like: Sun Jun 09 22:50:18 CEST 2019 is this a standard? or just a custom format?

static badge
#

checkout the eula class, it'll use some formatter

worn ember
#

i dont really have any decompiled source on me rn

cosmic raft
#

that's java, not minecraft

#
bw.write("#" + new Date().toString());
#

@worn ember

worn ember
#

yeah but its not the standard format in C# i think ๐Ÿ˜‰

viscid aurora
unreal quarry
#

TIL fabric isn't just some mappings alternative to mcp.. its an actual mod loader like forge was

#

got me some fabric + optifine + voxelmap on 1.14.2 and it nice \o/

limber knotBOT
#

yes fabric is nice

#

and fast ๐Ÿ‘€

unreal quarry
#

yeah, everything seems so much nicer than forge was already, and i've just started using it

#

forge feels so clunky in comparison

#

i cant wait to make a mod for fabric now ^_^

#

just gotta figure out where all their docs are to help me setup IJ environment

pulsar wigeon
#

yarn:mcp
fabric:fml
fabric-api:forge
loom:forgegradle
...etc

unreal quarry
#

so much to learn... so little time :3

#

why'd i have to find this 4 hours before i go to bed to start the work week

#

kinda feels like the end of an era now. rip forge.

limber knotBOT
#

:D

#

i've made few mods for server team

#

to help with everyday stuff

unreal quarry
#

i'm gonna start small. probably next weekend. gonna make a client only mod to fix the damn seat positions of all these mobs for my ridables

#

lol

limber knotBOT
#

e.g keybind v -> runs simply /vanish etc. and helps to rotate between players

#

ooh

#

neat

unreal quarry
#

i was waiting on forge to update to 1.13/1.14 so i could do it there.. but i'm still waiting lol

pulsar wigeon
#

forge is updated

unreal quarry
#

to 1.14.2?

pulsar wigeon
#

yes

unreal quarry
#

really..

pulsar wigeon
#

???

#

no i'm just fucking with you????

#

lol?

unreal quarry
#

wth, no one tells me anything lol

pulsar wigeon
#

worldedit is already updated ^.^

#

that's what all those gifs last night were from

#

with the item brush

unreal quarry
#

oh, its like 2 days old

#

made it sound like i missed some big announcement months ago

#

lol

pulsar wigeon
#

well

#

1.14 yea

#

1.14 isn't months old yet tho

#

forge 1.13 is months old tho

unreal quarry
#

feb 15 ๐Ÿ˜ฎ

#

damn i'm late

fallen oracle
#

No Billy, everyone else got it 2 weeks ago. They decided to hold off for you to see it till 2 days ago. "this guy isn't bored enough yet, let's make him wait" /s

unreal quarry
#

2 weeks?

#

first build says june 7

fallen oracle
#

Well it's June 21st

#

Soo

unreal quarry
#

...

#

runs off into fabric land to learn shit

fallen oracle
#

Run Billy, run!

craggy edge
old badge
limber knotBOT
fallen oracle
#

So instead of fixing stuff, they come out with new stuff, seems legit.

worn ember
#

DOA

worn ember
#

"Windows on Twitter" should be the other way around ๐Ÿค”

coarse urchin
#

@old badge that game was announced in minecon last year

#

Not too new

#

just a new trailer

pseudo island
#

^

old badge
#

oh

#

I had no idea

pseudo island
limber knotBOT
#

(DiscordBot) this issue is KILLING Minecraft 1.14... - length 10m 57s - 3,695 likes, 141 dislikes (96.3%) - 30,640 views - AntVenom on 2019.06.09

gloomy sphinx
pseudo island
#

^me running a 1.14 server

crude frigate
limber knotBOT
#

antman makes so bad videos nowadays

#

just clicky videos without real content

#

like, whats the content of that 10 minute vid?

golden gust
#

The issue in his preview pic has also been fixed?

limber knotBOT
#

yeah

#

his stuff is so shitty nowadays

#

like, the way he presents stuff is cool

#

but like, there is no content

#

1.14 update was cool but performance is shit so anarchy servers like 2b2t don't update but mojang is currently fixing stuff

#

11 minute video

#

he just wants to generate clicks ๐Ÿคท

#

I mean, this is just sad

#

notice how every title has "..." or "?!"

#

like not a single exception

golden gust
#

I kinda wish I could stream and stuff, but I just don't have the connection for it :/

#

Also, the fact that I'm in the living room is 10/10 for the rest of the flat

limber knotBOT
#

I would stream me coding stuff but a) I can't speak english properly and b) its boring, lol

golden gust
#

I have anxiety, and I kinda wanna start leaving my comfort zone a bit more, but it's like o.O

limber knotBOT
#

ah

#

for that it would be easier to just play games I guess

#

and voice chat with ppl

dull thorn
crude frigate
#

Hello there! Im looking for some advice regarding servers (or rather, Paper vs Sponge) as I am going to set up a server for my son. Last time I played myself was probably 7-8 years ago, so would be great to get some pointers

golden gust
#

cooking food, but it's mostly, "do you want mods or to use bukkit plugins"

limber knotBOT
#

how old is your son?

#

he might know more about this than you do and have preferences, depending on his age ^^

crude frigate
#

hmm, all I know is he watches something (or guy?) called hermitcraft(?) or something. Think he wants to have a server like that

#

He is 8

limber knotBOT
#

so not mods, smp

#

I would go for paper then, but expect him to get angry that some weird technical contraption doesn't work like he wants to you need to tweak settings ^^

crude frigate
#

Aight! Thanks for the help!

limber knotBOT
#

oh and just so you know, hermitcraft is a server where like 30 youtubers play together

crude frigate
#

aha! good to know!

#

Trying to learn more about Minecraft these days so I can help and/or play with him

limber knotBOT
#

oh man, I hope minecraft is still a thing when I have kids in that age, lol

#

or at least something similar

lapis sequoia
limber knotBOT
#

(DiscordBot) Minecraft: Dungeons โ€“ Announce Trailer - length 1m 27s - 41,385 likes, 1,570 dislikes (96.3%) - 1,320,448 views - Minecraft on 2018.09.29

lapis sequoia
#

rip hytale

limber knotBOT
#

wat

#

no

#

you misunderstood everything

lapis sequoia
#

this looks fucking sickkkk

void void
#

So wait there was PCPE, then WIN10, then Console, then Bedrock and now this garbage?

limber knotBOT
#

its just an ue4 dungeon crawler with the minecraft IP

#

its completely different, I would be surprised if you would even place blocks

#

its like minecraft story mode

void void
#

Ahh so it just a re-brand basically right?

limber knotBOT
#

but with actual gameplay, lol

#

no, its not a rebrand

lapis sequoia
#

throws me back to games like diablo kinda

#

looks cool anyway

limber knotBOT
#

its an original game, but in the genre of ^

#

or well, diablo is more hack and slay I guess

meager solstice
#

I expected to be first person tho ๐Ÿ˜”

limber knotBOT
#

first person dungeon crawler?

#

meh

steel valley
#

Does anyone know how I actually order a backup/storage server through OVH? It keeps sending me in circles ๐Ÿคฆ

golden gust
#

You mean the extra storage thing they offer?

steel valley
golden gust
#

You need to order it as an addon to your server from the manaver

steel valley
#

Oh wait

#

I literally just read that

#

Oops

#

I've been sitting here for 30 minutes clicking around trying to find it

#

In which case, are there any recommended (and cheap) places to go for ftp file storage? I'm trying to find a place to store my server backups

golden gust
#

Do you have an OVH server?

steel valley
#

I do not

golden gust
#

I'd look around, there are some cheap ass arm servers around which have decent amounts of storage on them, depends on your budget

#

(sure, arm, but like, if you're just using it for backups, it's likely not an issue)

lapis gyro
#

Does anybody know any good scoreboard plugins for paper which support PlaceholderAPI? Currently using AnimatedScoreboard, but it's unsupported on paper.

steel valley
#

I found one place for $2.50/m but they have a max file size of 16gb/transfer, my full server is already 13gb zipped up

vestal jasper
#

What does that plugin do that breaks?

#

๐Ÿค”

fallen oracle
#

There's a lot of ones like KiteBoard, LiteBoard, QuickBoard, etc.

vestal jasper
fallen oracle
#

You could create multiple zips, or do you mean 16GB total

golden gust
#

Yea, I personally just recommend going for a cheap dedi or something for backups, FTP specific sites aren't going to give you anything super nice

steel valley
#

I have Server Restorer taking backups and compressing them for me right now

fallen oracle
#

A backup of an old dedi?

#

Weird.

#

That's why a lot of people docker stuff so they can just pack up and move

ancient bolt
#

use S3 for backups

steel valley
#

S3?

#

Also I took a look at SYS's ARM servers but they seem to be completely out of stock

fallen oracle
#

Iirc those always go out quickly.

steel valley
#

They're pretty cheap so I can imagine

fallen oracle
#

Yup

#

I know a lot of people will do Rsync snapshots so they can do backups while the server is running.

steel valley
#

I'm not going to pretend to know what that is

left yacht
#

arm servers are very weak

#

they can barely handle rsync for me

fallen oracle
#

It basically will constantly save backups of your server to some place local or remote and it'll only actually send over what changed

steel valley
#

I was planning to just use ServerRestorer's built in system to offload it to an ftp server

left yacht
#

We store terabytes of data so we just use an OVH storage machine

#

works well tbh

#

I should of put tens of before that but oh well

steel valley
#

Woah :p

left yacht
#

OVH's FTP is alright.

#

it's rather slow though

#

and depends on time of day.

steel valley
#

Is there anyone else you know who offers cheap storage? I'm struggling to find what I'm after

#

Sys's looks ideal, it's a shame they're out

old badge
#

S3?

limber knotBOT
#

storage for backups specifically?

#

either way i'm fairly partial to backblaze, they've worked alright for me in the past

#

s3 is nice also if you feel like affording it

steel valley
#

I did just look at those actually

#

Would I be able to send backups from ServerRestorer to them via Ftp?

golden gust
#

backblaze is nice, only irk for me was that at least with the personal stuff, it kinda sucked for downloading stuff back, but then again, I do have stupid cases where I have dozens of small files in folders which never helps

lapis gyro
vestal jasper
#

It's using reflection and I'm not sure why

lapis gyro
#

@vestal jasper Do you know if the problem is in IReflection.class or TriggerMethod.class?

vestal jasper
#

Might be

unreal quarry
#

my first client side fabric mod \o/ (i fixed the seat position when riding polar bears, which normally would just make them look like they're eating you)

vestal jasper
#

fabric?

unreal quarry
golden gust
#

Well

#

I've seen something like that before

#

It was... concerning... to say the least

unreal quarry
#

^_^

#
@Mixin(PolarBearEntity.class)
public abstract class MixinPolarBear extends LivingEntity {
    @Shadow
    private float warningAnimationProgress;

    public MixinPolarBear(EntityType<? extends PolarBearEntity> entityType, World world) {
        super(entityType, world);
    }

    @Override
    public double getMountedHeightOffset() {
        double height = getHeight() * 0.75D;
        if (warningAnimationProgress > 0.0F) {
            height -= 0.5 * (warningAnimationProgress / 6.0F);
        }
        return height;
    }

    @Override
    public void updatePassengerPosition(final Entity passenger) {
        if (hasPassenger(passenger)) {
            float yOffset = (float) (getMountedHeightOffset() + passenger.getHeightOffset());

            float xOffset = 0.0F;
            if (warningAnimationProgress > 0.0F) {
                xOffset = -1.0f * (warningAnimationProgress / 6.0F);
            }

            Vec3d offset = new Vec3d(xOffset, 0.0, 0.0).rotateY(-field_6283 * 0.017453292F - 1.5707964F);

            passenger.setPosition(x + offset.x, y + yOffset, z + offset.z);
        }
    }
}
#

simple fix. took me so long because i had to learn mixins :S

placid forum
fallen oracle
#

What the hell, Justin Bieber just challenged Tom Cruise to a fight.

woven otter
#

Sounds interesting

acoustic pilot
#

Tom Cruise gonna go Lord Xenu up on his ass

old badge
#

nerver forget when Orlando Bloom punched Justin Bieber

muted niche
#

Anyone interested in helping test GriefDefender before I release to Spigot/Paper?

safe tide
#

woah I finally completed something new with staff+

#

feels nice actually coding for myself instead of for school

fallen oracle
#

What'd you make

old badge
#

congrats

safe tide
#

A way to change your password for staffmode and then to have it reset by say the owner in case you forget before it was welp

#

Next up on the list enderchest peeking for online players

fallen oracle
#

Nice

safe tide
#

school programming just isn't the same you know

limber knotBOT
#

@unreal quarry mixins are nice, aren't they :p

#

@muted niche sure

muted niche
#

@void void ill DM you test jar

void void
#

on discord, while i'm here already

#

@unreal quarry speaking of fixing mob issues, i'm looking forward to mod which fixes mob elytra flight oddness :p

#

i've tried to solve this myself but apparently adding elytra flight feature for mob (i tried with zombie at first place) wasn't enough to do the trick

acoustic pilot
#

Damn, my mobo firmware was like 2 years out of date. Don't forget to update your shit ppl >_>

#

Apparently I been missing out on some Intel security updates with my old ass BIOS ver.

left yacht
#

realistically updating bios versions

#

is something 0.1% of people do

#

windows should be enough at patching the microcode

acoustic pilot
#

yeah, but it's still nice I suppose. I mostly updated though because of some XMP issues when I upgraded to DDR4 3200MHz

sleek lotus
golden gust
#

Yes

tepid venture
plucky pawn
orchid gyro
tropic quarry
#

Any Spigot Devs online?

#

I could use a hand with a bug I can't squash

#

It's getting kind of annoying.

static badge
#

pastearino logarino

tame pendant
#

thanks paper chunk saving ig

ornate sun
#

hey folks, is multiverse good still in 1.14.2?

#

I don't know where i should ask this sorry

vestal jasper
static badge
#

vic ur serbur is trash

acoustic pilot
#

dio will smash ur face leaf

static badge
#

.g dio

limber knotBOT
tropic quarry
#

@ornate sun

acoustic pilot
#

.g dio brando

limber knotBOT
#

(DiscordBot) https://jojo.fandom.com/wiki/Dio_Brando -- Dio Brando | JoJo's Bizarre Encyclopedia | FANDOM powered...: "Dio Brando (ใƒ‡ใ‚ฃใ‚ชใƒปใƒ–ใƒฉใƒณใƒ‰ใƒผ Dio Burandล), known simply as DIO (๏ผค๏ผฉ๏ผฏ(ใƒ‡ใ‚ฃใ‚ช)) from Part 3 onwards, is the main antagonist of both Phantom Blood and Stardustย ..."

JoJo's Bizarre Encyclopedia

Dio Brando (ใƒ‡ใ‚ฃใ‚ชใƒปใƒ–ใƒฉใƒณใƒ‰ใƒผ Dio Burandล), known simply as DIO (๏ผค๏ผฉ๏ผฏ(ใƒ‡ใ‚ฃใ‚ช)) from Part 3 onwards, is the main antagonist of both Phantom Blood and Stardust Crusaders. However, his influence is felt through...

vestal jasper
#

DIOOOOOOOOO

static badge
#

filthy weebs

tropic quarry
#

@ornate sun , use Multiverse 8.0.0

vestal jasper
#

ovh start of attack email
8 people join at once
they all log off
ovh end of attack email

#

notsuspiciousatall.jpg

acoustic pilot
#

"WHY IS THE SERVER STILL ONLINE??"

#

prob were just there to taunt

ornate sun
#

thanks @tropic quarry I'll check it out

acoustic pilot
#

I doubt they themselves were the trigger lol

vestal jasper
#

Yeah

#

They all seemed keen on spamming /rtp though

#

๐Ÿค” which I thought was odd

static badge
#

rtp?

acoustic pilot
#

random tp I assume

vestal jasper
#

random teleport

acoustic pilot
#

tp's to random player?

vestal jasper
#

no random location

#

aka /wild

acoustic pilot
#

oic

static badge
#

random loc

#

those commands tend to be expensive given they spam sync load chunks

vestal jasper
#

^

acoustic pilot
#

in that case then prob just to trigger a bunch of chunk loads

#

need to cooldown that shit

vestal jasper
#

1 minute cooldown

#

So they can fuck off lol

golden gust
#

Tbh, even asking for a loaded chunk seems to hit all of that mess

digital fulcrum
tropic quarry
#

Any spigot dev help me?

#

Please?

golden gust
#

.ask

limber knotBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

golden gust
#

clone the item first

#

(or at least make sure to try to bump up the item count, otherwise the server will decrement the amount and turn it into air for you)

tropic quarry
#

Where do I clone it?

#

As in

#

Before the delayed task?

golden gust
#

Yes

austere ivy
#

Okay, what is this?

fallen oracle
#

Whelp, just bought more steam games I'll probably never play.

tropic quarry
#

@golden gust

#

You mind if I dm you?

#

I did what you said, no change.

#

Maybe I'm doing it wrong?

limber knotBOT
#

Easier to keep stuff in a chat where others can comment

#

At this point we kinda need to see code

austere ivy
#

Electronic I have two questions

#
  1. what is #1615
#
  1. with that incremental saving, is that exclusive to 1.14?
golden gust
#
  1. No idea, somebody probably had to hit rebuil for something
#
  1. No, that's been brought up to 1.14 today, however
tropic quarry
#

Btw, I get all three test messages through, like events are registered, the lore is picked up etc.

austere ivy
#

Ah okie thanks

limber knotBOT
#

the incremental saving is great, no more extreme lag spikes :)

golden gust
#

I'd probably suggest just giving them a new torch on the next tick vs trying to do whatever

austere ivy
#

Also iZeusi you might be able to just cancel the event then check what block the player is looking at and one behind that and place a torch there but that can cause problems I'd imagine

tropic quarry
#

Ehhh.... the torch has special lore, and it has glow and stuff...

#

I tried TehBrian

#

But I struggled to rotate a wall torch, if they placed it on a wall

austere ivy
#

Is the special lore variable each time it's given?

golden gust
#

the event should expose the block face

tropic quarry
#

It would always place North

#

It does.

#

Wait

#

Hold on

golden gust
#

You'll want to use the blockdata stuff too

austere ivy
#

If it's the same torch each time you really can just give them another no big deal.

tropic quarry
#

I can convert the code to do the event cancelled, I'll get back to you when I get stuck

austere ivy
#

That'd probably look the most seamless.

tropic quarry
#

Yeye I tried

#

I got a cast error

#

with Directional

golden gust
#

(assuming you're using 1.14)

tropic quarry
#

And couldn't find anything online

golden gust
#

Wrong directional probably

tropic quarry
#

Nah

#

Right one xD

#

I will revert code

#

And get back to you

austere ivy
#

Seeing it placed on the client and getting a new torch a tick later is a lot more seamless than seeing it weirdly disappear and then reappear in the world.

#

Does placing blocks through the API even trigger a sound?

tropic quarry
#

Wait so

#

What do you want me to do?

#

TehBrian

#

You want me to add the torch back to the inv?

austere ivy
#

That sounds like the easiest..

tropic quarry
#

Then please, how would I fix the pastebin code?

#

Or you're saying

#

I make a new torch

#

And add that to the inventory?

#

With the same lore and stuff?

austere ivy
#

How are the players getting the torch in the first place?

tropic quarry
#

It's a crate item

austere ivy
#

That just sounds like the best idea to me.

tropic quarry
#

Right sure

#

No worries

#

What to give an item to make it glow, but hide enchants?

#

I have the meta stuff all set up

#

And can add the enchant

#

But what to give it so it is hidden?

austere ivy
#

Those are flags?

#

I think?

tropic quarry
#

Yeah yeah, I guess I'll have a google cause idk how to do this bit at all.

austere ivy
#

Just copy everything from the crate right?

tropic quarry
#

Well, no

#

Because the item doesn't have glow

#

I use a plugin to /glow it

#

Because some time ago, I was a java noob, and didn't know how to glow.

#

So, what I did was get the item in inv without glow, and then /glow it, then add it to crate

austere ivy
#

Glow?

#

What do you mean by that?

tropic quarry
#

Enchanted look without enchants

austere ivy
#

Oh okay that's just a random enchant with a flag to hide it.

tropic quarry
#

Yeah but idk how to do the flags.

austere ivy
#

I suggest you have an ItemBuilder class somewhere in your plugin which makes building items easier.

fresh ermine
#

rip there isn't a replay mod for 1.13.2

tropic quarry
#

Eh

#

Im not up to sort that atm

#

Just wanna make this torch work

austere ivy
#

Hmm actually could you get .. give mee a second.

tropic quarry
#

Then we gucci xD

austere ivy
#

I'm not sure if event.getItemInHand() gets the item before or after the block is placed.

tropic quarry
#

So, how to get item before xD

austere ivy
#

What API version are you using? 1.14? 1.12?

tropic quarry
#

1.14.2

#

Latest

austere ivy
#

Fingers crossed that means before the block is placed

tropic quarry
#

I mean

#

Clearly not hahaha

#

I got it

#

It was actually... stupid easy

austere ivy
#
@EventHandler
    public void onBlockPlace(BlockPlaceEvent event) {
        if (event.getItemInHand().getItemMeta().getDisplayName("Infinity Torch, just do your checks")) {
            event.getPlayer().getInventory().setItemInMainHand(event.getItemInHand().clone());
        }
    }
#

I'd imagine something like that but can players place blocks from their offhand?

tropic quarry
#

Yeah

#

But

cosmic raft
#

Why the fuck does Google Maps think I'm going to a Walmart in Quebec? I'm just walking down the street in BC

austere ivy
#

It might be "better" if you compare items directly, if you can somehow get the item given by the crate.

#

Mainly just don't compare the display name.

#

Players can change that with anvils and that could lead to some cheating.

tropic quarry
#

I did it

austere ivy
#

@cosmic raft because you are in a walmart in Quebec, it's a fever dream! Wake up!

tropic quarry
#

With making the rare pop into my inv

#

Sorry

#

I mean

#

I fixed it by creating the itemstack again, using the same thing as how I was getting it in the first place

austere ivy
#

.clone() is pretty useful

tropic quarry
#

Never knew it existed

#

I shall use it next time for sure

austere ivy
#

Perhaps you could make this more generic. If it has [Infinite] in the lore, then .clone() it on place.

#

Could lead to some more cool stuff :)

tropic quarry
#

Like what?

#

Oh

#

You mean other objects

#

Not just a torch

#

I do in my actual code, just use the lore

#

Cause I have 20 different rares, with loads of different custom enchants from lore

#

And I kind of just mix and match

#

I'm happy with this now though.

naive bloom
#

Has anyone had that error with worldedit?

tropic quarry
#

What are you trying to do?

naive bloom
#

I'm trying to allow it in my creative world, and I've never seen this message before. Google is turning up no help. Gamemode is set to Creative, as is the world's gamemode.

tropic quarry
#

That you have no permission to?

naive bloom
#

.//wand, but the node is in my perms

tropic quarry
#

Oh no

#

@austere ivy

#

If they have more than 1 Infinite Torch in the stack when they place

#

It just sets it to one hahaha