#general

1 messages · Page 213 of 1

gilded nova
#

Bro sleep

sudden ice
#

F in advance

gilded nova
#

Wait I still dont know whether youre a bro or sis

#

at this point, I don't either

#

Fucken LOL

#

pls reveal gender

#

also theres 2, not 69.65

#

Waiting... for that to offend someone

#

Why did I always think you were a female

#

Because of my feminine looking eye?

#

omg

#

Im so sorry

#

I just spammed "`"

#

Wat

#

Lmfao

#

That was hectic

#

oww

#

I wanted to `` the ``

#

Fuck

#
                        for (String a : Betterreports.getInstance().getConfig().getString("staff-report-message")
                                .replace("{player}", playerName).split("\\n")) {
                            staff.sendMessage(a);
                        }``` This should work
#

Right

#

Uuuh

#

Yes

#

Lemme

#

yes it will

#

If it doesnt

#

I owe you

sudden ice
#

Fefo is that really your eye

modest compass
#

you are looping a string?

gilded nova
#

Why two \\?

#

Oh because it's regex

#

Fefo is that really your eye
@sudden ice yessir

sudden ice
#

Is that a filter or what the fuck happened

gilded nova
#

Photoshop happened

sudden ice
#

Oh

#

Lmao

gilded nova
#

Indeed im looping a string

sudden ice
#

Thought your eyes broke or some shit

gilded nova
#

The goal is to have as many lines as I want in a message in the config

modest compass
#

Indeed im looping a string
@gilded nova i didnt see the .split part lol

gilded nova
#

Ah haha

#

Why not a string list...?

#

Look

#

idk

#
staff-report-message:
  - tim sucks
  - Fefo needs serious help
  - help
modest compass
#

yea ^^

gilded nova
#

Yeah thats what I was going to do originally

#

But then I came across this

#

so

modest compass
#

Betterreports.getInstance().getConfig().getStringList("staff-report-message")

gilded nova
#

^^

#

Easy

#

For loops are for the weak

sudden ice
modest compass
#

then the formating of {player} should be another method usually, so it can be reused for other message formating

gilded nova
#

Yeah theres not many messages though so I kinda just chucked it in

#
while (!list.isEmpty()) {
  staff.sendMessage(list.first().replace("{player}", playername));
  list.remove(0);
}

👌 👌 👌

#

The config is just like this

staff-report-message: |-
  This is one line
  This is another```
sudden ice
#

Is anyone here good with configurating / setting Minecraft servers

gilded nova
#

no

#

no one

#

absolutely no one

sudden ice
#

Ok

#

Thanks!

gilded nova
#

Yess

#

wew

sudden ice
#

My laptop shut down again

#

Fucking hell

#

It does this every time :/

violet rivet
#

Check the event viewer

#

it'll tell you what went wrong

gilded nova
#

I love how you report a bug by reporting another player

#

Nah

#

its reported BY that person

#

Yeah my brain is malfunctioning lol

#

That's actually cool, finish that and I'll put it on my server

#

deadset?

#

I don't know what that means so I'm saying that I don't know what that means

sudden ice
outer vesselBOT
#

Hey Zaid! Please don't tag helpful/staff members directly.

gilded nova
#

Like seriously?

violet rivet
#

Click it, it'll probably give you more info.

gilded nova
#

It'll probably be better than stupid buggy TigerReports lmfao I don't even know who put that in the first place

#

I used to have it save to actual txt files aswell

#

but I got rid of it because it was pretty buggy

#

It worked to an extent

#

It's... I don't want to say it's even okay lol

#

lol

#

But hey, at least the reports did get to the discord server

#

sometimes

#

LOL

#

I had issues where the webhook would execute like 5 times

#

Literally just had to remove the return up a line but i was trying to figure it out for so long

sudden ice
#

i don't understand

gilded nova
#

Did it lose power?

violet rivet
#

Check your power cables aren't lose

#

Check the airflow around your PSU

gilded nova
#

If youre running on battery try plugging it in

violet rivet
#

Overheating is common

sudden ice
#

its not overheating.

violet rivet
#

wtf is a battery.. cmon now 😛

sudden ice
#

its plugged in too

#

Did it lose power?
@gilded nova nope

violet rivet
#

If it's a laptop, check it's actually charging.

gilded nova
#

Riperino

sudden ice
#

its charging

violet rivet
#

Could be a power delivery device failing.

#

Perhaps time to take it in and spend some $$$ fixing it

sudden ice
gilded nova
#

May have to use the stringlist

#
<Data Name="LongPowerButtonPressDetected">false</Data>

lol thanks a lot Windows

#

May have to use the stringlist
May??

#

Do use one

#

Doesnt seem to like colour codes

#

Huh?

#

Why not?

#

My for loop

#

not sure

sudden ice
#

i literally don't know what to do tho. ;/

gilded nova
#

Is it goin quick?

#

could be a false reading

sudden ice
#

yes i have fans on max speed

gilded nova
#

Thats probs why

violet rivet
#

6000rpm isn't much.. try a delta fan

gilded nova
#

theyre small

violet rivet
#

25krpm

#

:L

sudden ice
violet rivet
#

chops carrots with ease

gilded nova
#

These bad boys spin at 900rpm

sudden ice
#

nice pc

#

what specs

gilded nova
#

ryzen 5 3600, 16gb ram and a gtx 1060

#

I read MSI

sudden ice
#

it is MSI

gilded nova
#

Indeed

sudden ice
#

my laptop

gilded nova
#

O

#

Betterreports.getInstance().getConfig().getStringList(ChatFormat.color("staff-report-message").replace("{player}", playerName)); Surely this works

violet rivet
#

I tried to take a photo

#

Case is way too reflective

sudden ice
#

everytime i open youtube on my phone it says "thanks for confirming".. mild_panic

gilded nova
#

Tim please capitalize your plugin name properly

#

Yeah I had to turn my exposure down all the way to not get my whole room in the background through my case sidepanel

#

And yeah I might LOL

#

And no why the fuck would that work lol

#

shut up dog

#

Nah

#

ok

#

The fuck did you do now lmao

#

Um

rigid widget
#

Never seen that one before...

gilded nova
#

dropped my plugin in

#

and

#

started it

#

Worst error I've seen on a jvm was a segfault... I've seen dozens of those on c and cpp but Java.....

#

Lmao

#

at me.timmy109.betterreports.commands.ReportPlayerCommand.onCommand(ReportPlayerCommand.java:67)

#

Oh

#

Numbers in package name

#

Smh

rigid widget
#

smmmhhhhh

gilded nova
#

Wait

#

Its because i removed the string from the config

#

smh

#

No null checks?

#

I took the whole thing out

#

Honestly I might just re write this whole thing

#

Wow its 6/9 today

forest helm
gilded nova
#

yes

sudden ice
gilded nova
#

I actually messed up

#

I put the chat format method in the wrong place

#

Y'all am pm plebs

#

thats why it wasnt working with the for loop

#

24hs format ftw

#

No youre just weird

#

Also true

#

LOL

forest helm
#

🔨

rigid widget
#

find the centipede mother and befriend her

gilded nova
#

Hm

topaz palm
#

n/a

#

I can’t sleep

#

With the knowledge

#

Of 3 house centipedes wandering about

forest helm
#

how were you trying to newline & what method did you send that with tim?

gilded nova
#

Wait I know what it is

#

forgot the |-

#

🙂

#

It would help if i actually added it in..

forest helm
#

kyori/adventure

gilded nova
#

Or you could ChatColor.translateAlternateColorCodes

forest helm
#

season lightly with adventure-minimessage

#

Or you could ChatColor.translateAlternateColorCodes
isn't that depracated, or at least heavily frowned upon now?

modest compass
#

or regex it

gilded nova
#

No it isn't?

#

My format method wont work for more than one string

#

But since the name is so long people just make a small wrapper method around it lol

modest compass
#

you need to loop it

gilded nova
#

Or format it before splitting and then split

modest compass
#

or make the method take in a String[] and then loop each element in the string array

gilded nova
#

Yeah

sudden ice
#

@gilded nova instead of &’s do §

modest compass
#

i mean you can, but if you are typing its harder to type §

sudden ice
#

No?

#

Just press the windows key and S on your keyboard @modest compass

outer vesselBOT
#

Hey Zaid! Please don't tag helpful/staff members directly.

gilded nova
#

& is the standard

sudden ice
#

It’ll pop up a menu for emojis and symbols

forest helm
#

Fefo's ChatColor.translate... method literally just wraps String#replace('&', '<that thing>')

modest compass
#

yea, then you need to find it, as oppose to just typing &

gilded nova
#

P much

forest helm
#

(I mean a bit more to it but that's the gist of it)

gilded nova
#

It loops through it to make sure it only replaces the valid ones

#

And I found out why mojang named brigadier brigadier

sudden ice
#

Why did they name it that

gilded nova
#

Because it commands

#

It's a commander

sudden ice
forest helm
#

dammit mojang.

sudden ice
#

My mind has blown

gilded nova
#

Nothing will be better than DataFixerUpper lol

forest helm
#

that's their migration thingie right?

gilded nova
#

The one that makes sure your world doesn't break between versions

#

But they say something like "blah blah blah data flow blah blah optics whatever"

#

A set of utilities designed for incremental building, merging, and optimization of data transformations.

#

Whatever that means

forest helm
#

ah, so the readme was written by PR, not developers?

gilded nova
#

I mean, it's Microsoft at the end of the day lol

#

Of course it's pr

forest helm
#

ffs

#

readme should include documentation, not PR-speak

#

JUST TELL ME HOW TO USE IT

gilded nova
#

I love brigadier as a command library because of the nodes concept, it really takes a functional programming approach and I love that

Thing is, it's not very clear what each thing does and is for, and there is one single class in the whole library that is documented ;-;

gilded nova
#

Hm

#
                        for (String s : ChatFormat.color(getInstance().getConfig().getString("staff-report-message")
                                .replace("{player}", playerName).split("\\n"))) {
                            staff.sendMessage(a);
                        }``` So how would I make colour codes work with this?
potent prawn
#

nice indents

gilded nova
#

You out of anyone should know by now that you cant copy anything in IntelliJ without it coming out weird in Discord

potent prawn
#

so many indents though

gilded nova
#

Yeah theres a few

modest compass
#

how many stuff is your for loop nested in lol

gilded nova
#

uh

#

I have a check for instance of Player

#

Then arguments

#

a for loop for the string builder

#

for loop to get get online players, if (player.hasPermission) and then that for loop up there ^

modest compass
#

you should do something like:

if (!(stuff instanceof Player)) {
    return; // or throw an error
}
// then do the loop
#

or what ever you are checking for

gilded nova
modest compass
#

yea your hasPermissions shouldnt do like this

#

you will end with with alot of nested stuff

gilded nova
#

Okay

#

so return after the check for instanceof player?

modest compass
#

so like return the function or throw as error when you detect is invalid to run

gilded nova
#

Yeah okay

modest compass
#

so:

if (!(stuff instanceof Player)) {
    return; // or throw an error
}
if (!player.hasPermission("node.stuff")) {
    return;
}
// then do the loop
potent prawn
#

ye much cleaner than nesting everything

modest compass
#

you should also be using a logger and not System.out as well for console stuff

#

or just sender.sendMessage() for commands output stuff

gilded nova
#

Alright cheers

modest compass
#

or you can just staff.sendMessage(ChatFormat.color(s)); if you dont need formattedString anywhere else

steel pelican
#

Yeah, that would be the better way to do it, if you don't need the variable elsewhere

gilded nova
#

Youre so right

#

Cheers

gilded nova
#

Hi

#

so what are you

bold sparrow
#

Hi

#

Im a dutchy

gilded nova
#

Same

#

But im aussie

bold sparrow
#

Ah yes

#

Check out my profile :)

modern sundial
#

please help

gilded nova
#

Are you aussie

bold sparrow
#

OMG is luckperms

modern sundial
#

oh this is my nickname

sleek niche
#

What do you need help with?

modern sundial
#

my server's luckperm editor version(?)

bold sparrow
#

Are you aussie
No but it’s a long story

gilded nova
#

LOL

bold sparrow
modern sundial
#

is

gilded nova
#

lololol

#

Aussie dutchy

bold sparrow
#

Lol

gilded nova
#

Same though

bold sparrow
#

Lmao

gilded nova
#

dads side is all dutch

#

mum is from England

bold sparrow
#

Fr?

#

Bruh

#

No way lmao

gilded nova
#

But we live in Aus

bold sparrow
#

Do you speak Dutch?

gilded nova
#

Nah not at all

#

Always been in Aus

bold sparrow
#

Sad

gilded nova
#

Only words I know are oma and opa

bold sparrow
#

I speak English

gilded nova
#

And a swear words

bold sparrow
#

Lmao which ones

gilded nova
#

Neuken

#

Thats it

#

hahaha

bold sparrow
#

Lool

gilded nova
#

Dads pretty Aussie too

#

but the rest of his family isnt

bold sparrow
#

Ahh

#

So I guess the sir name is Dutch?

#

Or last name idk

gilded nova
#

Yeah

#

What does a reporting plugin need

#

apart from reporting

rigid widget
#

Reporting

gilded nova
#

Oh damn

#

Lazzzaaaa

rigid widget
#

helps to have a second opinion sometimes, I don't think you'd ever have thought to add reporting to your reporting plugin

steel pelican
#

A command to issue reports, a way to view reports, a way to close reports, a way to view past reports, list reports against a certain player,

#

a way to cancel reports

#

check against reporting against self

rigid widget
#

Database and flatfile support, configurable commands and aliases, and perms-based everything

steel pelican
#

exemptions for reporting against certain players

#

100% customizable locale file with 1.16 RGB support

gilded nova
#

Basically I have a webhook

#

One for player and bug reports

#

The exemptions idea is good

#

need that

steel pelican
#

Need proof for the report.

#

So screenshots

#

or videos

gilded nova
#

Yeah I was thinking about maybe adding a report id system where they can submit screenshots/videos with it somehow

#

not sure how id implement that

#

Web interface

#

lol

#

Also I keep getting this sometimes when I run the server.. Weird

violet rivet
#

no access to a certain folder it needs?

#

run as administrator perhaps

gilded nova
#

It only happens sometimes

drowsy quest
#

Reinstall Java if you can @gilded nova

#

If it happens on a semi regular basis something with you system is wrong

#

A core dump is not caused by the program itself but either by the JRE or the OS

#

*fatal errors
Not coredumps

#

Almost the same thing 😅

gilded nova
#

Maybe the hardware change made it unstable

peak isle
modest compass
#

are you using multiverse?

peak isle
#

yer

gilded nova
#

You can change the world names in the config

#

like their displaynames

#

i cant remember how

steel pelican
#

@peak isle check the multiverse config. There is a setting to remove it.

peak isle
#

ok cheers

drowsy quest
#

@gilded nova that seems likely.

sudden ice
#

yer
@peak isle /MvM set hidden true

drowsy quest
#

Not the change in itself but the hardware might be faulty or something became lose

peak isle
#

okay thank you

sudden ice
#

You don’t need to change anything in config :p

#

Just use the command it’s easier

#

/mvm set hidden true

peak isle
#

i did that and my rank prefix has gone now

sudden ice
#

Only the world prefix should be gone

peak isle
#

just restarted it's fixed now thanks

sudden ice
#

Ok

gilded nova
#

Docker

lofty compass
#

u wot

sleek niche
#

Whale!

vocal rivet
#

With docker you are not supposed to update the application in a container, but rather delete, download the new version and re-create the container

#

Took me a while to see it xP

sudden ice
#

Does anyone else just randomly get logged out of their discord accounts?

#

Happened to me just like 5 minutes ago, so I changed my password.

gilded nova
#

Not at all

#

I suggest you uninstall dc, delete everything related to it (in appdata, local, etc or whatever) and change your password again, then download dc again

#

@sudden ice

sudden ice
#

On phone-

gilded nova
#

Not at all still lol but that's weirder I guess?

vast isle
#

I've never been logged out on phone but occasionally I'll be logged out on pc 🤷‍♂️

main pier
#

locks up on that

#

bungeecord btw

lofty compass
#

Stonks

rigid widget
#

How long does that take to get through

main pier
#

ill time it

rigid widget
#

And what does task manager say while it is

main pier
#

rip the 200 od people on the server

rigid widget
#

Oof

#

Just restart one at a time lmao

#

Move them around during / after games

#

They'll never even notice

main pier
#

i hvae to do the proxy

#

tats the main issue

rigid widget
#

Ohhhhh yeah that's a problem

main pier
#

mmmm

#

and theres a dude streaming

#

grrrrrr

rigid widget
#

Meh, schedule it for later

main pier
#

mm

#

cron time

rigid widget
#

That way they all know, and will be prepared

main pier
#

mm

rigid widget
#

Make an announcement like EMERGENCY SERVER SHUTDOWN IN 1 HOUR weewoo_red

main pier
#

this is litteraly me every day now

gilded nova
#

Oh

#

The server setting does reload on lp reloadconfig

#

Idk how it'll take effect tho

main pier
#

still iv made other changes

rigid widget
#

Hey that is some neat information

gilded nova
#

But it is reloadable

rigid widget
#

Try it pirie you may just luck out luckycat

main pier
#

mm

#

i already stopped the server :blaze:

#

pog

gilded nova
#

Naisu

main pier
#

the ammount of time this discord has saved me

rigid widget
deft thistle
#

how do i stop the ability of teleporting with the compass?

vast isle
#

maybe use verbose see which permission its checking and then deny it

sudden ice
#

how do i stop the ability of teleporting with the compass?
@deft thistle config?

deft thistle
#

which config

sudden ice
#

The world edit config? I think..

deft thistle
#

i have fawe

vast isle
#

then look in fawe's config

gilded nova
steady tangle
#

Big

deft thistle
#

its not there

clever swan
#

how do i modify a players speed in java?

clever swan
#

ty

clever swan
#

this is my first time using intellij, can someone help me?

forest helm
#

Gonna need a bit more info there. What do you need help with?

clever swan
#

setting up intellij so i can make plugins

#

i just moved from eclipse

forest helm
#

You know how to use maven?

clever swan
#

is it better than gradle?

rigid widget
#

Different, probably considered worse by people who use gradle

forest helm
#

That's a political mess of a question I won't answer lol

clever swan
#

lol

#

I'll stick to gradle then

woeful willow
#

I would install the minecraft dev plugin

clever swan
forest helm
#

TIL they have a website

#

but yes, that's the one

clever swan
#

lol

#

ty

gilded nova
#

I would install the minecraft dev plugin
meh, nothing fancy, it just pre-sets a few files for you 🤷‍♂️ I used it like once or twice lmao

forest helm
#

eh it saves me having to search aroun the internet trying to remember what maven repo all the different server softwares are in

#

plus it generates plugin.yml boilerplate etc, which is nice

woeful willow
#

Ye

#

Also makes using mixin 10x easier, but that's advanced stuffs

gilded nova
#

Flex

#

IntelliJ > Eclipse

potent prawn
#

jetbrains > any text editor

short warren
#

isnt intellij visual studios autocorrect?

#

or is it something else

potent prawn
#

wut

gilded nova
#

That's intellisense lol

short warren
#

yeah that makes more sense lol

potent prawn
#

looooooooooooooool

gilded nova
#

jetbrains > any text editor
Vim > JetBrains

potent prawn
#

i like to know how to exit my editor thanks

gilded nova
#

Lol

#

ever

potent prawn
#

lol i used to have that one

gilded nova
#

docker

vocal rivet
#

I think you can exit vim by first getting out of tge writing prompt (Ctrl + A I think) and then type :qw if you leave the w away ut will close the editor without saving the changes

#

windows_loading Loading Docker facts, please wait

#

Please do nit turn off your device while I am still loading

gilded nova
#

imagine windows saying "I am still installing updates"

vocal rivet
#

Docker has its own implementation into different firewall services, if you have for example IPtables installed, docker will insert special tules i to it for its own networking. This way exposing a port using -p does not require you to open it in zhe firewall, since it is already opened

potent prawn
#

oh i know how to exit vim

#

:q

gilded nova
#

YOU FORGOT TO SAVE THE CHANGES NOOOO

potent prawn
#

but for a noob it's very difficult looool

#

i never have to save changes i only ever get vim with git commits lol

vocal rivet
#

Yes, but that doesnt work when you are in the writing promt (however you get in there anyways)

potent prawn
#

i should switch the editor to nano but ceebs

vocal rivet
#

nano fte

#

ftw*

gilded nova
#

lol

#

HI

vocal rivet
#

Sup

gilded nova
#

Wassupp

vocal rivet
#

please don't say it, I am running out of facts

gilded nova
#

Docker?

#

jk

#

you dont have to

vocal rivet
#

dangit

gilded nova
#

he HAS to

#

LOL

vocal rivet
gilded nova
#

I use vscode for normal java and intelliJ for coding plugins.
VSCode because its lightweight and simple, IntelliJ for plugins because its just.. better

#

"normal java"

#

Yup lol

#

just like

#

java java

#

then you code xTreme java

#

no dumb spigot api

#

xTreme

potent prawn
#

i can't not use jetbrains for anything now lol

vocal rivet
#

Docker has advantages and disadvantagesyon3 of the bigger disadvantages is that docker does not support any GUI output whatsoeverxthis is where Ubuntu snaps come into place, their purpose is to allow developers to conpile their GUI siftware once with the needed ressources and fully supply the needed enviroment, in order for the GUI to work

gilded nova
#

even for txt files

potent prawn
#

code smarter not harder

gilded nova
#

Docker has advantages and disadvantagesyon3 of the bigger disadvantages is that docker does not support any GUI output whatsoeverxthis is where Ubuntu snaps come into place, their purpose is to allow developers to conpile their GUI siftware once with the needed ressources and fully supply the needed enviroment, in order for the GUI to work
Noice

#

txt files is always notepad++ or vscode

#

I cant load a whole damn ide for that

#

yes you can

vocal rivet
#

Not really a docker fact but more a snap fact >~>

gilded nova
#

What if I said it again

vocal rivet
#

nooooo

potent prawn
#

tbh yeah if i'm just editing a single file then i'll use vs code

#

but that doesn't happen often at all

gilded nova
#

Because youre too good for those single files

potent prawn
#

lol i just never deal with them

#

maybe if i ran a server still

vocal rivet
#

I use VSCode for Lua, html, css, js, sql, dockerfile, php [while I was writing this, I realized I use it for so much things, I can't list them all]

gilded nova
#

Yes you can

vocal rivet
#

Its too much tho

gilded nova
#

But that doesn't mean you can't

#

👀

vocal rivet
#

I literally use it for anything besides Java or C and any variations of it

#

everything *

potent prawn
#

webstorm for anything with JS

#

phpstorm for anything with php

#

intellij for anything with java

vocal rivet
#

Nah

#

I honestly am a huge fan of Jetbrains with their CI and IntelliJ, but PhpStorm just sucks

#

It is expensive as f, and offers the same feature set you can get with most free editors

potent prawn
#

yeah i only used it because it was supplied at my last job (and i stole the key so i could use it on my home PC lol)

#

but it was really useful for working with laravel

gilded nova
#

i'll call 999

vocal rivet
#

Ugh, laravel

#

its so bloated

#

but still somehow good

#

ahhhhh

potent prawn
#

lol, i actually like laravel, makes making php apps so much more tolerable

#

but i have no interest in pursuing any php work anymore

vocal rivet
#

Laravel is great and I knoe a lot of people who use it, but in some places I find it too bloated

#

Anyway, never tried WebStorm yet

#

I did try Adobe Dreamweaver and now I know ehere all these bad web developers come from. The pages may look good, but are unecessary overfilled

potent prawn
#

LOL

#

dreamweaver helped me learn, like 16 years ago 🙃

#

i wouldn't go near the thing now though

#

although i guess they've made some significant changes since i last used it

vocal rivet
#

But don't you think that the drag and drop thing, just does stuff you don't need and makes the page bigger in size unnecessarily

potent prawn
#

oh yeah definitely

gilded nova
#

I used dreamweaver in grade 8, then I grew up

potent prawn
#

the WYSIWYG html editors are NOT good at all

vocal rivet
#

Bootstrap + jQuery ftw xD

potent prawn
#

yikes

#

🤮

vocal rivet
#

Did you just puke on Bootstrap?

#

or is it jQuery?

potent prawn
#

both

#

hate em

vocal rivet
#

How dare you

#

:p

potent prawn
#

jquery is for people too lazy to learn proper JS :P

#

plus I use Vue which cuts out any need for it

#

bootstrap makes me want to rip my hair out

#

much prefer to write my own css

vocal rivet
#

I am not talking about the element design abilities of bootstrap, but rather the idea to make everything a table with 12 columns, and depending on the screen resolution you can break or make a cell disapear entirely

potent prawn
#

yeah the grid system is about the only thing i like in bootstrap but there are other better css frameworks that provide the same

vocal rivet
#

There is reduced bootsrrap that only provides the grid, and leaves everything else away

#

seriously the designs provided by boostrap are horrible

#

I just need the grid

gilded nova
#

Why use luckperms when you can just use permissions.yml

vocal rivet
#

hah

potent prawn
vocal rivet
#

Haha

gilded nova
#

Turbo hows your javaskript going?

potent prawn
#

ew

drowsy quest
#

Can we expand Clippy to automute everyone that says “Skript”?

clever swan
#

^

gilded nova
#

Skript?

vocal rivet
#

Muted for 1 year

gilded nova
#

Ah skript

potent prawn
#

kek

drowsy quest
#

?mute

viral havenBOT
#
**Command:** ?mute

Description: Mute a member so they cannot type or speak, time limit in minutes.
Cooldown: 3 seconds
Usage: ?mute [user] [limit] [reason]
Example:
?mute @NoobLance 10 Shitposting
?mute User 10m spamming
?mute NoobLance 1d Too Cool
?mute NoobLance 5h He asked for it

gilded nova
#

I feel so threatened

vocal rivet
#

but yeah you are right turbo, I am a lazy ass that wants to make my life easier xD
jQuery all the way /s

potent prawn
#

learn one of the js frameworks and you'll say goodbye to jquery forever 🙏

vocal rivet
#

maybe, I am not yet at the frontend of my project, I am still writing the central REST-API and that one doesnt require JS xD

drowsy quest
#

You also say goodbye forever to fast load times

vocal rivet
#

?

drowsy quest
#

But handling that button click with the framework really makes it easier

#

I was responding to Turbo

vocal rivet
#

haha

#

what was it again?

$('button').onClick(callbackFunction)

something like that I think

#

havent used jQuery in a ehile anyway xD

potent prawn
#

i don't see much issue with load times

drowsy quest
#
function callbackFunction() {
    window.location = this.data("target-url");
}
#

Well have you tried to make a page without a framework and compared load times?

vocal rivet
#

In todays internet times, it may make a difference from 1 second

drowsy quest
#

I have and with my internet connection that makes pages load faster 0.25-0.5 seconds

#

And that is significant

gilded nova
#

BrainStone must be on a dial-up connection

drowsy quest
#

Because you times 10 that for mobile connections

vocal rivet
#

Imagine a api having a response time of 3 seconds.. oh god

drowsy quest
#

And yes that difference in load times makes a page feel that much smoother

#

That’s why I pretty much always stay with vanilla JS

#

I don’t do much with it and the additional load times are not worth the benefit of making things slightly easier

vocal rivet
#

I think its a case to case basis

drowsy quest
#

9/10

vocal rivet
#

I know for lua there is something called moonscript, you first write your code in Moon and then compile it down to the most efficent Lua code the software can think of

#

js propably has also something like that

drowsy quest
#

Not really

#

Closest is typescript

potent prawn
#

well there is webpack

#

which minifies the code

#

idk if that's what you were meaning

drowsy quest
#

That’s something different I’d say

#

And I meant minified JS in both cases

vocal rivet
#

Well eith moon, its its own programming language which compiles to lua

#

I still need to learn it xP

potent prawn
#

i think the problem you mentioned with load times is only an issue when developers don't bother to split their bundles and utilise lazy loading

#

stuff i make still gets good scores with Lighthouse

drowsy quest
#

Lazy loading just moves the issue to a later point in time

vocal rivet
#

First load all javascripts and css files before loading the page STONKS

drowsy quest
#

You still need to download MBs of ultimately useless code

vocal rivet
#

That is true

drowsy quest
#

That’s default behavior @vocal rivet

#

Oh

#

I misread

potent prawn
#

only when it's needed

drowsy quest
#

I read it as show not load in regards to the page

vocal rivet
#

Naj, first load the css, and important js, then the content and last the functionality part

#

ye

#

But yes, each function that a lib includes which is not utilized is dead weight

drowsy quest
#

Well in that case I have code that fetches new JS whenever needed. That code wouldn’t be needed if the page wasn’t built with a huge framework

#

Also that means execution is stopped until that part is loaded in too

potent prawn
#

i think i did pretty well with the LP website, wasn't even trying to get good scores here lol

#

should really learn how to do PWA tho

drowsy quest
#

Mobile or desktop score?

potent prawn
#

that's desktop, mobile isn't so great

#

like 70s

vocal rivet
#

What page is that?

potent prawn
#

it's the Lighthouse tab in chrome dev tools

drowsy quest
#

Thought so

vocal rivet
#

I amma get that later

drowsy quest
#

70 for a tiny static page is pathetic

#

I’m sorry

potent prawn
#

lol i know

#

it's just so much more effort to get better scores i'd rather not bother at this point

drowsy quest
#

If you try it with “server side rendering” those scores will be significantly better

potent prawn
#

the nuxt refactor will take a while

drowsy quest
#

Ah I thought you could already use server side rendering with the current setup

#

My bad

potent prawn
#

not really

#

one thing i really dislike about the vue ecosystem is how hard they make it to migrate to SSR

drowsy quest
#

SSR?

potent prawn
#

server side rendering

drowsy quest
#

I see

#

The mere existence of that term perfectly summarizes why JS devs should never touch the backend

modest compass
#

Wot

drowsy quest
#

Not the place to advertise

gilded nova
#

Yes it is

drowsy quest
#

Ah. That’s a ban then

gilded nova
#

Stop him, its annoying

vocal rivet
#

boi

drowsy quest
#

@gilded nova

potent prawn
#

@gilded nova that's a paddlin'

drowsy quest
#

A ban

potent prawn
drowsy quest
#

I just pinged them so I had their name up

gilded nova
#

Yo the stream is such bad quality

#

480p...

drowsy quest
#

Let’s raid it

gilded nova
#

Yeah lets go

#

Holy shit their voice is annoying

#

Sounds like a heavy smoker whos lungs are giving out

potent prawn
#

ah bless

gilded nova
drowsy quest
#

Don’t forget to downvote the stream

gilded nova
drowsy quest
#

Where’s my army of spam bots when I need it?

#

Someone post “Take that fish stick out of your mouth”

gilded nova
potent prawn
#

ruthless

gilded nova
#

Ok im done now lol

sudden ice
potent prawn
#

other way round for me

drowsy quest
#

Hey

#

Pssst

sudden ice
#

hey brin

#

brain

#

sorry

drowsy quest
#

You got the....

#

stuff?

sudden ice
#

no

drowsy quest
#

I meant Turbo 😜

sudden ice
#

i don't understand

potent prawn
#

yea what u want

drowsy quest
#

Some sleep would be nice

#

XD

sudden ice
#

i slept all day

drowsy quest
#

Anyways I’m taking a nap

sudden ice
#

gn

potent prawn
#

yeah i got something for that

drowsy quest
#

At 06:13 because when else

#

Totally no fucked to sleep schedule to blame

sudden ice
#

the mod got updated today and i got a new weapon skin

#

M1 Carb. Red Fury

storm berry
outer vesselBOT
gilded nova
#

Anyone having issues with logging into their facebook account?

storm berry
#

i need some help with this crash, super confused

forest helm
#

Something tried dividing by 0

#

Method call was "spawnGuards", mentioning villages

#

if you have a plugin or mod that spawns stuff in villigas, that's probably the culprit

modest compass
#

must be a badly coded mod for something like thiis to happen lol

forest helm
#

^

#

either bad logic, or broke rule 1 of programming: VALIDATE USER INPUT

storm berry
#

ohhhhh i see

#

lemme look into MCA cause thats the one that spawns stuff in villages

forest helm
#

Yes I did see "mca" in the stacktrace

#

given the fact that they hadn't even followed proper naming conventions (in this case package names), I expect the dev has made a logic error

gilded nova
#

either bad logic, or broke rule 1 of programming: VALIDATE USER INPUT
ALL user input is evil

#

The only user input that isn't evil is the programmers input

#

That's probably even worse

storm berry
#

okay i fixed the issue in teh config and its working for me now thanks loves

forest helm
#

Rule 1: Don't trust users. Lying by ommision, incompetence, lying, fucking up formats, malicious users. Applies to support and programming lol

#

👍

gilded nova
#

So it was user input HAH

storm berry
#

ohhhhhh

modest compass
#

ooof

gilded nova
#

:p

storm berry
#

i had to remove the mod previously because it was continuously spawning guards without stopping

forest helm
#

Lol oop

storm berry
#

i had tried fixing the spawn rates but it didnt help, do you know why it kept happening??

#

additionally how can i remove messages like this that clog the console? they were from mods i removed

gilded nova
#

The fuck

storm berry
#

yeah

#

and thats EVERYTIME i load up the server

gilded nova
#

That's probably forge saying "I found this and I don't know what this is anymore"

forest helm
#

forge isn't happy about all the unknown items

#

yeah fefo

gilded nova
#

But in its own way lol

storm berry
#

yeah exactly

rigid widget
#

If it's not constant, best to leave it imo. Logs can be useful if things go wrong even if they're just spammy - one line might tell you the solution

gilded nova
#

I mean, if anything, you'd have to load the mods back on again and remove the blocks/items/whatever

#

Which can take a painful amount of time

vast isle
#

I thought the unknown items would've gotten removed after the first start 🤷

gilded nova
#

¯\_(ツ)_/¯

#

Minecraft smh

forest helm
#

There probably is some sort of tool or smth to clean that up as well

storm berry
#

yeah its just annoying

#

oh also im so sorry for bugging you guys so much tonight but

rigid widget
modest compass
#

morning for me 😉

#

time zones smt

gilded nova
#

Oh don't worry, #general is our break lounge lol

storm berry
#

the biggest issue that i have been having is that some people cannot join the server as it gives them a java.io exception. i contacted the host and they stated that it wasn't because of them as no one would be able to join if it was the servers fault, however, only certain people are not able to join and i know it isnt because of any mods i have because one of my players came on and then got the java.io exception seconds after. they had gotten it after i removed all mods and made a new world to test why it was happening and it still heppened to them

gilded nova
storm berry
#

ohh sweet lol

rigid widget
vast isle
#

nice email fefo

rigid widget
#

Send a screenshot or the full text

#

Oof fefo might wanna remove that

gilded nova
#

It's on my gh anyway so idrc lol

rigid widget
#

Ah

storm berry
#

one of them a member sent

rigid widget
#

Does the console say anything

gilded nova
#

Mm timeout maybe?

#

Why do people have like 30+ chrome tabs open? I can barely stand 5 max

storm berry
#

one sec ill check larry

#

and no it isnt a timeout

#

they joined the game and were moving around and talking and then all of a sudden it does that

#

multiple people have been having it

#

some people get it immediately, others crash immediately

gilded nova
#

Any idea on the geolocations? Maybe it's a region that has issues 🤷‍♂️

#

Does anyone here seriously play mc

short warren
#

Eh sometimes I play it a bunch and other times not

violet rivet
#

i usually have 15 chrome tabs open and 3 separate chrome windows.

#

Helps having 4 monitors.

sudden ice
#

the only reason why i am playing MC is for the blockfront mod @gilded nova

gilded nova
#

It's been a while but I used to play vanilla technical survival dead serious

#

i usually have 15 chrome tabs open and 3 separate chrome windows.
@violet rivet I hate you

short warren
#

But I play it less and less with each update

violet rivet
#

That's fine 😄

short warren
#

How do you find a tab with all of that?

violet rivet
#

easy

potent prawn
#

same usb

violet rivet
#

I don't lose it

short warren
#

I struggle finding a tab in like 10

potent prawn
#

can't wait for the grouped tabs feature to be a thing

#

will make me slightly more productive at work

forest helm
#

How do you find a tab with all of that?

i usually have 15 chrome tabs open and 3 separate chrome windows.
15/3=5 tabs per window

potent prawn
#

or it won't lel

#

those are rookie numbers

gilded nova
#

You are very smart , underscore

short warren
#

But then you need to remember each of the tabs

violet rivet
#

@forest helm Usually like 15 per window actually 😛

short warren
#

Or each or the windows

gilded nova
#

One window per tab

short warren
#

Well now I'm disappointed that I can't find my original mc world, gn

potent prawn
#

bet mine is floating around dropbox somewhere

gilded nova
#

Turbo

#

Gift me nitro

#

I command you

potent prawn
#

i don't even have nitro

gilded nova
#

Sucks to be you

#

Hah

potent prawn
#

not really

sudden ice
#

nitro is a waste of money

#

jk

#

idk

#

its cool

#

emotes

forest helm
#

wait hold up, turbo lost his nitro?!

#

nuu

rigid widget
#

We've seen the last bongo_anus and it was glorious

potent prawn
#

i wonder what was my last :bongo_anus:

#

and i stopped paying for nitro a few months ago

#

tehlo kept me going with gifts lmao

gray panther
#

lmao

#

/dab

potent prawn
#

it was a kick but ok

gray panther
#

no

unique fable
#

turbo is it time

potent prawn
gilded nova
#

play stupid games win stupid prizes

steady tangle
potent prawn
#

¯_(ツ)_/¯

outer vesselBOT
#

Hey lukaor! Please don't tag helpful/staff members directly.

gray panther
#

i got banned before any warn

modest compass
#

what did you do lol

gray panther
#

i copied what chew said

#

and pinged some random dude

#

and boom

#

ban

modest compass
#

yea lol dont ping ppl

spring cobalt
#

you're literally not banned

unique fable
#

why

#

lol

spring cobalt
#

how about you stop lying and giving them a reason to ban you

#

thanks

gray panther
#

BRUH

potent prawn
#

because you were kicked 😆

sudden ice
steady tangle
#

Blue

#

You have a skyscraper next to your table

#

it is fancy and cool tho 👀

drowsy quest
#

Pathic I bet you only have like 5 graphics cards

potent prawn
#

I'm jealous of your slippers tbh

#

I need some

native sedge
#

Nice editor turbo 👍

sudden ice
#

yoooo

#

its Viddawood

#

waddup brudda

native sedge
#

who dat

gilded nova
#

Yeet

violet rivet
#

Only 3 screens

#

2 out of 5 stars from me.

gilded nova
#

3 different brands and sizes

#

I bet that server rack isnt even packing 512 cores

spring cobalt
#

@placid pebble

#

yep

#

it is

gilded nova
gilded nova
#

So ya boy is having trouble getting a ArrayList to be listed when a player runs a command

#

I understand how to get said ArrayList into another class

#

But I've messed something up

gilded nova
#

@gilded nova Tom

#

wot

#

I understand how to get said ArrayList into another class
sounds like you're abusing a certain static keyword

#

Yeah

#

I am

#

big time

#

oh boy..

#

Um so basically

#

My plugin has 2 commands right.

#

/report and /reportbug.
The goal is to have an arraylist (Strings) and add elements to it like this for example arraylist.add("/report - report a player"); and be able to call that arraylist and send it as a message to the player (from a different class) if the args.length == 0 (/report or /reportbug). This is just to clean up the code a bit as it works fine having the same arraylist for both commands but like thats boring you know.. I want to be able to call it from another class.

#

So I'm messing around in VS code trying to get the same concept to work but on a bit of a smaller scale

modest compass
#

you create a getter method for it?

gilded nova
#

Yeah I did

#

It just uhhh doesnt work properly

#

It returns null

modest compass
#

i guess you should show your code

gilded nova
#

Yeah I will hold up

#

just loading intelliJ again

modest compass
#

lol ok

#

i mean your explanation jn seems ok, but the implementation may not be haha

gilded nova
#

i dont think it is

#

I feel like its just a simple issue

#

Are you ever instantiating your array list?

modest compass
#

you didnt even run setArrayList

gilded nova
#

y'know

#

oh dear

modest compass
#

and i dont see that you have any constructor to init the ArratList as well

gilded nova
#

List<String> list = new ArrayList();

#

🥄

modest compass
#

haha

gilded nova
#

Look I still dont know what im doing

modest compass
#

you need to do ArrayList<DATATYPE_HERE>

#

so like Fefo example basically

#

List<String> list = new ArrayList();

gilded nova
#

gotchya

#

Kinda

#

Okay I was being stupid. This whole time I was avoiding the List<String> list = new ArrayList(); thing because it wasn't working for me, when I realised all I did was forget to import the fucking class

#

:bruh:

modest compass
#

wot

#

should intellij alr be screaming at you to import the class

gilded nova
#

Yeah nah I completely just disregarded it

#

honestly

#

please never answer one of my questions ever again

#

because its likely just a stupid mistake

#

I didnt say that did i

#

surely not

#

Oh yeah

#

because I set the prefixes in luckperms bungee

#

facepalm

gilded nova
#

I just found out you get a water bucket when drying a wet sponge in the furnace

neon crypt
#

know everyone a plugin for autogamemode specific players on join ?

gilded nova
#

If it's in the bottom slot that is

#

I dont know everyone a plugin

#

whos that

#

know everyone a plugin for autogamemode specific players on join ?
server.properties force-gamemode?

neon crypt
#

yes only specific players not al

#

l

gilded nova
#

yeah no idea

steady tangle
#

CTRL + Middle click lets you copy a sign + the text on it

gilded nova
#

Yeah it copies the whole block with the NBT included

steady tangle
#

so cool

gilded nova
#

lol for how long have you been playing this game

steady tangle
#

Since beta 1.6.4 ;-;

#

Never knew it was a thing

gilded nova
#

lmao

potent prawn
#

stupid gif

steady tangle
#

no u

potent prawn
#

i didn't mean you

#

i deleted something lol

drowsy quest
#

Pretty sure that feature has been introduced around 1.2

steady tangle
#

nahnah you got something against samosas

rapid echo
#

anyone know if there is a way to add to commandssuch as lp user @p parent Wood and topography island new @restive sand to a command block?

drowsy quest
#

@rapid echo literally like that

rapid echo
#

lol

#

i wasnt sure

#

Thanks Brian

drowsy quest
#

I mean just try it?

gilded nova
#

Brain

#

Brain I need your geniusness

drowsy quest
#

Lol what do you mean?

fast granite
#

hoot

gilded nova
#

So I'm making this thing that creates a custom inventory with certain size based on a perm in the form of resizableechest.slots.(# of slots).

And yes I know this is a "try it and see" question but does this make sense to you?

private int getMaxSlots(final Permissible permissible) {
  return permissible.getEffectivePermissions().stream()
                    .map(PermissionAttachmentInfo::getPermission)
                    .map(String::toLowerCase)
                    .filter(this::isValidSlotsPerm)
                    .mapToInt(this::getSlotsFromPerm)
                    .findFirst().orElse(27);
}

private boolean isValidSlotsPerm(final String perm) {
  // VALID_SLOT_NODE = "(?i)^resizableechest\.slots\.(\d+)$"
  final Matcher matcher = VALID_SLOT_NODE.matcher(perm);
  if (!matcher.find()) {
    return false;
  }

  try {
    final int slots = Integer.parseInt(matcher.group(1), 10);
    return slots % 9 == 0;
  } catch (NumberFormatException exception) {
    return false;
  }
}

private int getSlotsFromPerm(final String perm) {
  if (!isValidSlotsPerm(perm)) {
    return 27;
  }
  return Integer.parseInt(perm.substring(PERM_PREFIX_LENGTH), 10);
}
#

(and yes I know specifying it's on base 10 isn't necessary but I like things like that to be explicit lol)

drowsy quest
#

What answer were you expecting from other than "try it and see"?

gilded nova
#

See, I'm not asking if it'll work or not

#

But if it makes sense to you 👀

#

gotcha good

drowsy quest
#

Why do you have the check in getSlotsFromPerm?

gilded nova
#

¯_(ツ)_/¯

drowsy quest
#

Are those functions used anywhere else?

gilded nova
#

Just something I tend to do

#

Not really

drowsy quest
#

Then squash them