#dev-general

1 messages · Page 601 of 1

gusty glen
#

I was looking about buying domains and stuff, and I'm wondering what domain provider do you want use (and why)

half harness
#

github dev pack has free domains (for a year)
ex dkim19375.me 😎

quiet depot
#

doubleplus vouch for fira code

half harness
#

very ez to get into if ur a student

#

free jetbrains products, free github pro, etc

frail glade
#

Low-key think I'm the reason for Bootstrap Studio being in there. Like 4 years ago I had a conversation with them about student discounts and how much it helped students.

#

¯_(ツ)_/¯

#

But yeah I love the Student Developer Pack.

half harness
#

👀

#

hi glare

frail glade
#

Hallo.

eternal compass
gusty glen
#

why so expensive 😢

eternal compass
#

mine was like $8/year

quiet depot
#

I tackle them without bootstrap
what do u use?

#

I use bootstrap for pretty much everything

#

it's so versatile

eternal compass
#

way more customizable

#

but still easy to build responsive stuff

quiet depot
ocean quartz
eternal compass
#

I really like twin.macro & styled components for css in js too

half harness
ocean quartz
#

Not premium ones iirc, so that one would still be $199

quiet depot
#

yeah premium ones are actually being sold I believe

#

like where a normal domain you pay a registration fee (plus registrar markup), whereas premium ones are being sold by an entity

static zealot
#

Get a . tech domain

#

They might give you secretx.tech

quiet depot
#

you should always prefer .com .net .org

gusty glen
#

who th would buy secretx.me if not me? xdd it's not like I've met another SecretX before

quiet depot
#

.tech doesn't have good seo

eternal compass
#

I want to figure out a really short domain for myself

#

my name is too long

ocean quartz
#

.dev is nice too

quiet depot
eternal compass
#

I'm trying to figure one out though

gusty glen
#

freddy.something?

static zealot
#

Those would be expensive

#

If even available

quiet depot
#

yeah "freddy" on any tld will be expensive af

eternal compass
#

yup

ocean quartz
eternal compass
#

ftd.[2 letter TLD] was a thought

eternal compass
gusty glen
eternal compass
#

in the MC buisness that's nothing

quiet depot
static zealot
static zealot
quiet depot
#

ikr

static zealot
#

Imagine paying 300k to add a .gay TLD

ocean quartz
quiet depot
#

pls matt

#

it's worth it

#

just don't tell your wife

ocean quartz
#

If i had money i would

static zealot
#

Lol

ocean quartz
#

She's right next to me, she already knows

quiet depot
#

welp

static zealot
#

XD

#

Time to raise money for matt.gay

quiet depot
#

surely someone owns is.gay

#

and rents out subdomains

static zealot
#

Lmaooo

ocean quartz
#

am.gay is also registered, could have done i.am.gay

#

They did!!

quiet depot
#

lol

static zealot
gusty glen
quiet depot
#

honestly do it secret

gusty glen
#

just... why...

#

lmao

static zealot
#

Secretly.gay

quiet depot
static zealot
#

Would be better

gusty glen
#

what's your repo again? Oh, it's 'secretx.gay/repo' lmao

ocean quartz
eternal compass
humble silo
static zealot
wintry plinth
sly sonnet
#

Why spigot 1.18 method names are obfuscated?

wintry plinth
#

You use mojangs mapper

#

to convert them back

sly sonnet
#

No like i get spigot from maven

#

(i didn't chose maven, the plugin is made on top of it)

#

in spigot 1.17 method names are normal

static zealot
#

spigots methods are not obfuscated. MInecrafts one are

#

they've always been but spigot used to have a mapper for them or something

cinder flare
gusty glen
#

Piggy, can I ask for a manual interview for the developer role (java project)? I always forget to send something in the message there, you don't have to answer me straight or anything, just let me send the infos one by one and I'll be more than happy

steel heart
#

Don’t you code in Kotlin?

#

(At least what I thought)

inner umbra
#

I wish I had a date that I sent in my second request. Its been months with no reply lol

steel heart
#

Might have been rejected shrug

inner umbra
quiet depot
#

09/12/2021

#

is when you sent it

#

it hasn't been done yet

#

i'm lazy

inner umbra
#

Damn longer then I thought. Thank you.

quiet depot
#

does that work?

gusty glen
#

I'll try that and let you know if it works

quiet depot
#

I meant will it work for you

muted lynx
#

Wouldnt suggest working with @primal crystal as he leaks your plugin once paid.

static zealot
muted lynx
#

Will do. I have proof

thick ferry
sick belfry
#

someone explain me clientbound lol

obtuse gale
#

What about it?

static zealot
#

yes

distant sun
#

clientbound means received by the client and serverbound means sent to the server from what I can see

#

If the message starts with a /, the server will attempt to interpret it as a command

severe viper
#

did i get a role yet? x3

#

nope

static zealot
#

lmaoo

#

@pallid gale what's going on? they've been talking for a bit

severe viper
#

i broke barry

#

cuz i had an illegal name at first

hot hull
#

Probably your shitty name

severe viper
#

you didnt have to be rude

wintry plinth
#

Yeah rude :<

hot hull
#

Not really rude, but mk

static zealot
#

now if you were to store big numbers would you store them in a string or a byte array or something?

final scroll
distant sun
#

what error

final scroll
#

It says line 49 but I added some console.sendMessage to try find the error

distant sun
#

your config is probably null

#

don't use static everywhere and you will have less chances to get NPEs

final scroll
#

How do I save it, I just realised that it does not contain anything. I copy it from the .jar file

#

Ok, got it

#

My current save function is at row 290 in the FileManager. It does not save the contents properly, the files get cleared, how do I fix it?

sick belfry
final scroll
#

Oh, I thought this was the correct channel, sry.

obtuse gale
#

public interface AdvancedMutableColumnFamilyOptionsInterface<T extends AdvancedMutableColumnFamilyOptionsInterface<T>> {
what

sweet cipher
#

The longer the name, the faster the code

obtuse gale
#
public static class MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder extends AbstractMutableOptions.AbstractMutableOptionsBuilder<MutableColumnFamilyOptions, MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder, MutableColumnFamilyOptions.MutableColumnFamilyOptionKey> implements MutableColumnFamilyOptionsInterface<MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder>
static zealot
#

nice

gusty glen
brittle leaf
#

im sorta stuck on what to make, i dont really know what to make and at this point am just hopping from project to project but not really getting anywhere.

#

whats a good way to solve this?

steel heart
#

Make something small

#

And make it work

#

Then build and add more to it

#

For instance, just to name something, economy plugin

#

Then add a persistence storage system

#

Then make an api perhaps

#

Add proxy support and synchronization across different nodes

#

make it multithreaded

#

Clean the code etc

#

If you hate doing everything by yourself, I suggest trying to find a team or collaborators

#

(Makes coding much more fun imho)

brittle leaf
#

im not really sure what i want to make which makes producing something difficult.

humble silo
brittle leaf
humble silo
#

This isnt for everyone, but after like a year of plugin dev i just couldnt stand it anymore, so I started writing apis for things which i find alot more fun...

brittle leaf
#

i started a skills plugin, that i make a interface only and no backend, ive rewritten a custom enchantment gui plugin about 4 or 5 times now that still isnt finished

#

i havent been able to com e up with any new ideas, just copying what other people do and when i get stuck i just look at what others did and copy and paste that with my own additions

#

i started trying plugin dev because i got bored of running servers and ive lost my ability to play servers in general

humble silo
#

I feel like getting into something your passionate outside of programming and then making stuff for that is the best way to start

#

any hobbies you have?

brittle leaf
#

i played alot of runescape and i like to play older games like tetris and the mario games aswell. i solve rubik's cubes and i like to go walking. i tried to learn website programming but got stuck when it came to design cause nothing looked right.

steel heart
#

What you might want to read is a book about code architecture if you’re pedantic and indecisive surrounding code architecture, perhaps?

humble silo
brittle leaf
#

some that really hits me is when im trying to mentally plan out what im trying to do and then keeping everything organized at the same time and making sure i can access certain parts without fucking up the rest

#

i spent quite awhile trying to figure out how to create my own object because i hadnt really learnt how OOP works and im still trying to figure out these things but looking at w3schools for hours doesnt really make me understand it any better

#

like im better at it now because ive been looking at other peoples code and slowly making things and trying to rewrite older not so good code

#

like i really like the whole mmo sort of gameplay where you can spend countless hours working towards a bigger goal

#

the custom enchant gui plugin was to solve the problem of the randomness of the enchantment table that irritates me and to implement a more direct way of getting these modifiers to your items

sick belfry
#

then try and develop a single project, when you feel good with its state you can leave it for a while and go for other project

#

like an API

#

a custom packet listener

#

play with NMS

#

or even further

#

like making your own server core

#

everything on its time ofc

brittle leaf
#

i originally started trying to learn plugin dev so i could make plugins for my own server and make it less boring or feel like a clone of every other server that exists now

sick belfry
#

make a mechanic of so, develop it with other inspiration or even copy others for a little push up and then get it to work

#

personally, I also think that coding may be sometimes stressful and it can be hard to develop ideas

#

but dw

#

everything will work when its time

#

if it isnt the time yet

#

go

#

do other things

#

get better grades

#

play games

#

and that will help ur mental health and creativity

#

read books

#

etc

brittle leaf
#

i dont really understand why people play certain servers like survival, anarchy, factions, etc

#

they just feel very dull

#

and ridden with p2w when it comes to servers like factions and skyblock

#

maybe my view on whats fun is very different then with others

noble jackal
#

is there any other way of moving blocks smoothly instead of using armor stand ,falling block and shulker. (the players should be able to stand on that blocks )

sly sonnet
#

you could still use falling blocks to "smoothly move blocks", but players would be able to stand there if you place barriers and move them along with falling blocks

tranquil crane
#

Anyone know why this error would be happening? https://pastebin.com/YhQdUtXK
Occurring on a 1.16.5 server. java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
The connection string is basically just the default one. Anything I can find on google just says to allow public key retrieval but that's quite the security risk and this is happening on somebody's server that's using my plugin. The class that does the database connecting if interested https://github.com/Rosewood-Development/RoseGarden/blob/master/src/main/java/dev/rosewood/rosegarden/database/MySQLConnector.java

#

I think it just has to do with the MySQL driver for versions of spigot less than 1.18 being severely outdated and not supporting MySQL 8 properly. Would the only way around that be to shade in the updated driver which is nearly 3mb large?

remote goblet
#

its purely an issue on the player's side of things

#

i get it when I have SSL Enabled iirc

static zealot
#

yo, in IJ when I press ctrl+s to save it basically removes all unnecessary spaces like for example from empty lines (that have just spaces). How would I enable that setting in Rider? Cant seem to find

#

it

#

don't even remember where it was in IJ or if I enabled it or it came like that out of the box

sly sonnet
#

What would be the best way to store lands and claims?

hot hull
#

db

static zealot
#

yes

frigid badge
#

enable your linter on save

static zealot
#

hey BM I can finally join you in hating mutability. today I learnt it is bad in school and I clearly trust school more than you!

obtuse gale
#

lmao

#

yes, mutability can be a real headache

static zealot
#

please note that you said CAN be. it isn't unless it is

obtuse gale
#

I mean for any application to be useful, there has to be some sort of mutability in one place or another, side effects

#

but it's better to avoid it where possible

static zealot
#

yeah. I do most of the times avoid it but sometimes I just do not care enough xD Also I hate the new loading screens for IJ and Rider

#

my background brightness vs rider loading screen brightness lol:

obtuse gale
#

lol

static zealot
#

looks like the pixels in that part of the screen just dont work

half harness
obtuse gale
#

basically it had a thing that allowed for rce

#

i don't think that kind of info should be spread out to the public on these communities (even though there is a lot of info out there already if you make your research)

frail glade
#

Please don't discuss it here.

onyx loom
#

u make a fair point

wintry plinth
#

Not to continue, but I’d assume it would must be done via a plugin not the client, in which I don’t see this as a big issue by itself (if you’re careful with what you download)

obtuse gale
#

it's a REALLY bad issue

#

it's disastrous

wintry plinth
#

But this is plugin-only right?

obtuse gale
#

no

wintry plinth
#

Oh

#

I assumed (without going into detail, for obvious reasons) that it would have to be executed from plugin (from the stuff people sent, on how it worked)

obtuse gale
#

i don't even know how something like a logging framework can host such a vulnerability

#

but oh well, it's fixed now

wintry plinth
#

Yeah I’m a bit shocked tbh

onyx loom
#

yeah

#

if u get exploited by this, its ur fault now

wintry plinth
#

But I don’t see how the client can do that, without any form of plugin intervention

#

(Logically speaking)

onyx loom
#

i wonder when log4j will fix this themselves

obtuse gale
#

they did

#

that's what "backport fix" is

#

it's not in a release yet, it's in 2.15.x snapshots

onyx loom
#

o

gentle sparrow
#

Yo guys add me on MySpace

obtuse gale
#

naaaaaaaaaaaaah

gentle sparrow
obtuse gale
#

oh shit

#

uh oh uh

#

no
CH_PepeGunLeft LinusStare

gentle sparrow
#

Again, you don’t have a lot of choice here

obtuse gale
gentle sparrow
#

Add me on my space

#

There’s no other option

eternal compass
#

I'll choose option b

obtuse gale
#

C: Deathwish

onyx loom
#

emily and gta memes, name a more iconic duo

obtuse gale
#

haha

#

I chose C, ain't that a bitch

obtuse gale
#

log4j 2.15.0 just dropped on central + there's an official CVE now prayga

#

Rip minecraft

leaden brook
#

Guessing the new BuildTools build is alright to use as far as these issues correct?

frail glade
#

Should be fine.

#

That's not a production issue anyways.

leaden brook
#

Alrighty, thanks for your help!

leaden brook
quiet depot
#

any reason you’re using spigot instead of paper?

swift pilot
#

how do i get the ip of someone who sent a post request to my server?

leaden brook
#

With that I literally just see a craftbukkit version generated and a Spigot, you mind sending me a download to Paper/why it's more beneficial?

quiet depot
#

better performance

#

larger market share these days (for new mc versions)

leaden brook
#

Ahh

leaden brook
swift pilot
#

ok

obtuse gale
#

mc covid

muted lynx
#

Does anyone here know how to read crash logs?

obtuse gale
#

For the server or client

muted lynx
#

@obtuse gale for my server

distant sun
#

Pretty much

static zealot
#

not really

#

for me its just like the ouput

#

in every step

obtuse gale
#

anyone so you might know, what requirements we need to get animated banner

#

@ocean quartz

#

@prisma wave

#

@onyx loom

prisma wave
#

yeah man

prisma wave
#

keep going

#

you haven't pinged all of us yet

obtuse gale
#

i need someone to answer

#

@quick flume @oak coyote

prisma wave
#

There we go

#

that's more like it!

obtuse gale
#

wtf u mean

#

this is help chat not joking chat

remote goblet
#

no its JokingChat

#

HelpChat is our sibling

#

we pulled a uh iceland/greenland

hot hull
ocean quartz
oak coyote
#

Didn't @ the trusted, how rude

#

@obtuse gale As explained in the boost category,

static zealot
#

also you can literally click there to find out what you gain at what amount of boosts

#

lol

prisma wave
#

the joking chat

compact perchBOT
#
Hey son,

Did you hear the joke about the wandering nun? She was a roman catholic.

static zealot
#

don't get it

prisma wave
#

shit joke

static zealot
#

but ok

prisma wave
#

Roman sounds like roaming

oak coyote
#

thanks dad

static zealot
#

ah

#

does it?

#

lol

prisma wave
#

not really

#

but that's the joke

#

It's not funny

oak coyote
#

your reaction is more entertaining 😭

quick flume
prisma wave
#

that's how it works

#

I don't make the rules

obtuse gale
#

except that you do

prisma wave
#

True...

obtuse gale
#

but it doesnt work

#

:v

compact perchBOT
#
Hey son,

What happens to a frog's car when it breaks down? It gets toad.

remote goblet
#

i'm gonna quit the server from that, barry

eternal compass
prisma wave
#

you were offline

static zealot
#

that's the beauty of being Offline

earnest ibex
#

Could someone give me ItemsAdder please? I very need it

static zealot
earnest ibex
#

Hmmmmmmm

#

(((

#

i very need it((

hot hull
#

Then buy it

static zealot
#

^^^

earnest ibex
#

i havent money(

hot hull
#

Then you don't need it

earnest ibex
#

-_-

wintry plinth
earnest ibex
#

dm me

static zealot
#

LMAOOO

obtuse gale
#

lmfao

wintry plinth
#

Gave him it: 34F01E18D7AB09B25FA2EBCB28106B4878995A39F226C63943480A94AE660BFA

#

@obtuse gale @static zealot made my day

obtuse gale
#

I'm dying😂

wintry plinth
#

😂😂😂😂

earnest ibex
#

What's wrong?

static zealot
wintry plinth
#

Ok!

earnest ibex
static zealot
#

just a bit of highschool maths

wintry plinth
#

Yeah he is a genius

static zealot
#

also knowing french helped

wintry plinth
#

Sorry dude, gonna have to buy Blitz it instead

#

As he decrypted it first

earnest ibex
#

.....

#

;((

earnest ibex
#

@wintry plinth check dms

static zealot
brittle leaf
#

how do you handle multiple chance percentages if they dont all add up to 100%? eg {75,75,50,30,20,10,5,2,1,0.5}

#

like how crate plugins do it

wintry plinth
#

@brittle leaf you make them 100% I’d assume, by diving by 100

brittle leaf
distant sun
#

Just store the highest chance somewhere

#

And chances shouldnt add up to 100

brittle leaf
#

i dont know how if you take a set of rewards and their chance of occuring and returning a reward randomly

#

i dont know what to put into google to find out either

obtuse gale
#

PSA: Major Java Vulnerability in Log4J and Actionable Links

I'm taking the unusual step of sending out a quick alert about a very bad Java vulnerability in log4j. it effects countless numbers application. This is so bad, that I'm sending this alert with resources to help our Java friends lock things down fast. Please send this to every java developers you know.

Hopefully, you've all seen this vulnerability in the news already, but in case not, I'm going to link to a collection of resources rather than writing a blog post, because others have already covered this story. If you are developing or running any Java-based web applications, you need to move fast to fix this. It's bad and will have a wide impact.

The vulnerability is officially designated as CVE-2021-44228
The Apache foundation has released a fix.
Ars Technica: Zero-day in ubiquitous Log4j tool poses a grave threat to the Internet
ZDNet: Security warning: New zero-day in the Log4j Java library is already being exploited

———
This rather catastrophic vulnerability affects anything that uses log4j to log anything that includes user input. And that means it affects nearly every Java application that accepts input from the Web.
Check your code

brittle leaf
#

im guessing here but, add all chances together and divide each chance by the cumulative number

distant sun
#

What I do is, generate a random number between 0 and 100, filter the rewards who's chance is bigger than the number and then return a random reward from the remaining ones.

#

Could as well just keep somewhere the highest chance and generate a random number between 0 and it.

#

This is better for situations where you must return a result (eg a reward) and not an optional value (eg chance for something to be destroyed or to proc)

tranquil crane
#

I'm a bit late to this but a cool solution for picking a random weighted item is using a TreeMap<Double, T>. You populate it with the current running total of the weight as the key and the element as the value. When you want to pick a random entry you can do double value = random.nextDouble() * total; then map.higherEntry(value).getValue(); to get the randomly chosen element. Something along the lines of

// initialize this somewhere with all the items
NavigableMap<Double, T> map = new TreeMap<>();
double total = 0;
for (T item : items) {
    total += item.getWeight();
    map.put(total, item);
}

// when you want to get a random item, do this
double value = ThreadLocalRandom.current().nextDouble() * total;
T randomItem = map.higherEntry(value).getValue();
humble silo
#

Anyone use Kyori indra that can help me? I asked a question in their discord about 12 hours ago and no ones responded....

#

I need to configure multi release jars 😦

distant sun
#

@tranquil crane what if multiple items have the same weight? thonking

tranquil crane
#

still works, don't see why it wouldn't

tranquil crane
#

Any number that falls in the range of 0-2 will be the first element, 2-4 second, 4-7 third, and 7 to 17 fourth

#

there wouldn't be duplicate keys since it's the running total that gets inserted

eternal compass
#

to uh

#

a rickroll

#

yeah that one

distant sun
#

Nice nicole

obtuse gale
#

I want a plugin that just runs 2 commandblock commands for new users on first login ...

quiet depot
obtuse gale
#

Main questions are : how hard is this (it possible?) and what does such dev cost

#

sry im a noob

remote goblet
#

i cant imagine that being literally any more than $5 max

#

heck you could do it for free very easily

obtuse gale
#

ok, so thats vry straightforward. Might be worth me putting a month into learning Paper/Spigot dev

#

ty !

#

Or... Maybe give someone $15 and have them give me the sourcecode

remote goblet
#

im telling you

#

it is not worth $15 for that

hot hull
#

Or you know just use froe

#

frozenjoin

#

And after that you can send me 20$ 😉

#

@obtuse gale ^ (so you don't actually get a custom plugin made for 20$ for something this simple)

obtuse gale
#

@hot hull what, I dont understand the meaning of that

#

you saying a plugins not the way to go?

quiet depot
#

he's saying his plugin can do it

#

frozenjoin

obtuse gale
#

googling

#

Oh. perfect!

#

currently its implemented using the newbie: kit in essentialsX

obtuse gale
#

tyty

wintry plinth
#

I’m not joking either

oblique heath
#

anyone know if there's an easy way to automatically download plugins from spigotmc

#

cloudflare is refusing to allow wget or curl to grab the plugins :/

hot hull
#

It'll always get blocked so no

#

Atleast I'm 90% sure it will

oblique heath
#

i looked into it, apparently there's this site https://spiget.org/ that offers an api to grab from actual spigot

#

not sure if it's the best option but it works with wget

half harness
#

how does spiget work?

oblique heath
#

probably emulates a real browser 🤷‍♂️

#

from their site:

The data is loaded and updated from the SpigotMC site every 2 hours.
It loads all resources of the first 5 resource-pages by default. It also updates the authors and versions of those resources.
#

so they scrape the most recent content from spigot's site once every two hours to avoid peeving off cloudflare

static zealot
#

whats the repo for paper 1.16.5?

onyx loom
#

repo might be the same I think but the dependency is like com.destroystokyo.paper:blah

static zealot
#

yeah. found it. had to go thru my old projects to find it. ty

harsh hatch
#

hey

eternal compass
fluid cove
#

Hi! How are you?

I want to know why im having the error "Unhandled exception: MalformedURLException" on the throws of my method? When im throwing a custom exception that extends "MalformedURLException"


**Method where error its shown**
  
  public void load(File file) throws LoadException {
    ClassLoader loader = URLClassLoader.newInstance(new URL[] { plugin.toURI().toURL() });
  }

Exception class:

public class LoadException extends MalformedURLException {

    public LoadException() { }

    public LoadException(String text) { super(text); }
}

humble silo
sick belfry
restive ravine
#

what in the hell

steady tree
#

is this a mc serv?

static zealot
static zealot
static zealot
#

hmm. I'm making a music bot and I Don't know what the best way votes should work is. So when there's more than 1 user in the channel with the bot and the user that executes the command is not an Administrator it just adds a vote right. this will work for clear, shuffle, remove dupes, leave, loop, replay, pause, resume but I fail to see how it would work when users uses skip <number-of-sogs-to-skip>, forward <time> command, seek <position> command, remove <song-id>, etc.

I was thinking one of the 2:

  • If you don't have Administrator permissions you can't use those commands unless alone.
  • Second option would be have skip command for example that will add a vote to whatever the last user wanted to skip. but this might get a bit messy. For example how do I handle if one user says skip 3 and then another user comes and says skip 2?
primal crystal
static zealot
#

hmm. I Could make the skip amount just an admin command I guess. but then I still have to solve the same problem for forward, seek, remove

primal crystal
#

or an admin

static zealot
#

oh true. I didn't even think about that.

#

and I could do the same for forward/seek etc. I guess

primal crystal
#

yep...

static zealot
#

thank you!!

static zealot
# primal crystal yep...

do you think I should only cache the votes based on something or just clear them when the bot has left the channel (I still cache the songs 5 minutes after the bot leaves so I'll cache the votes as well)? Maybe either only keep the votes for like 5 minutes after the vote was made, or I could go a bit more complicated and do a specific thing per vote type. for example on next track I clear all skip votes

#

I personally think the most sense would make to go with the more complicated way. have them clear on special events. for example if a user has left, remove his vote

#

if the song has ended clear the skip/replay and loop votes

primal crystal
#

From my understanding we should only need votes for skipping right? so the best way to implement is per song and if a user left the channel reduce his/her vote from the cache

static zealot
#

well. I was thinking for shuffle, clearing the queue, removing dupes leave loop all these should be under votes as well

static zealot
#

thanks once again for your input!

primal crystal
static zealot
#

Yeah yeah. What i meant is more complex

obtuse gale
#

Whats my best option using react if i want a we b page to look the same for like half the page but then depending on what page theyre on its different

ocean quartz
#

Just separate the top as a separate component and then change the bottom component depending on the page or import the top component on the pages needed

static zealot
# primal crystal even then...it should be the complicated way...each vote have its own cache and ...

ok. one more question. lol. How many votes is like a "recommended" amount before executing the action. Should I require a percentage of online players? If so what should that percentage be? I was thinking 30% but this will mean that when there's only 2-3 players in the VC, it will be enough for 1 to vote. but then if I do 50 or 75% it would be too much for when there's a lot of people in vc.

I think my best option is Math.ceil of 30% which means only 1 vote required wen 1 2 or 3 members are online and then it starts increasing. (2 votes until 7 online, 3 votes until 11 online), etc.

#

hmm. maybe special check for 2 and 3 and make it require 2 votes then

#

and make it require ceil of 35% after

primal crystal
static zealot
#

hmm. but lets say there's like 30 online. then anyone can add songs but it will take 15 to skip. so basically one can just spam songs.

#

having it require 9 instead makes a bit more sense

hallow crane
#

I’m on a 9 hour car ride anybody got an idea for a plugin for me to make

sick belfry
#

finally I got git to work

hallow crane
#

eh i’m trying to avoid mini games and projects that are overdone

sick belfry
hallow crane
#

maybe a networking solution like hypixel ?

#

mmorpg isn’t a bad idea

sick belfry
#

ooohhh that would be cool

#

the networking thing

hallow crane
#

perhaps

#

good ideas thanks

sick belfry
#

when you done give src lmao, wanna see how you did it

#

also for plugin dev

#

should I use spigot api or paper one?

#

paper attracts me

hallow crane
#

depends

#

paper is pretty cool. i don’t remember how backwards compatible with upstream projects it is

#

also, I believe you’re more than capable of making one yourself!

sick belfry
#

first bit by bit lmao

#

also how was shadowJar made on kotlin DSL?

hallow crane
steel heart
#

yo yako spacechat dev epic

sick belfry
#

setup on it sorry

obtuse gale
hallow crane
#

I made one a while ago

#

uses tensorflow

#

not great but it can learn through training

hallow crane
#

People want support and I work fulltime for a real company. no time to maintain it

steel heart
#

no dont shut it down

hallow crane
#

you wanna buy it from me

#

ill transfer the repo to u

steel heart
#

uh no

#

I can help maintain it for you

hallow crane
#

I can't pay you

#

so that's up to u

steel heart
#

never asked for money

#

but like

#

do you have time to review prs then? (provided that I do maintain it)

hallow crane
#

yes

steel heart
#

as I assume I'd be an outside contributor basically

hallow crane
#

I can review prs

#

I will make issues rn what needs to be done

#

easy stuff

steel heart
#

sure thing

#

do that

#

and I'll look over it

#

also

#

I might use it to test it and stuff ofc altho I havent payed, hope its fine

hallow crane
#

you don't need to pay

#

its open source

#

it's only pay for people who don't want to spend the time compiling it

steel heart
#

ah okay

hallow crane
#

it's MIT license do whatever you please

#

I wouldn't even care if you started selling copies under your name with your changes

steel heart
#

oh I'm not that type of dev

hallow crane
#

what's your github name

steel heart
#

conclure

hallow crane
steel heart
#

btw

#

why remove slimjar?

hallow crane
#

doesn't work

#

rarely works

#

sometimes it's because of the user's system

#

firewalls and stuff

#

sometimes it just crashes

steel heart
#

hmm

hallow crane
#

GitHub actions automatically builds new versions whenever you push to master

#

Master branch is only to be pushed to when a new build is ready

steel heart
#

I will talk to pulse who uses it for emc and yugi

hallow crane
#

kk

steel heart
#

ah okay

hallow crane
#

Dev branch is whatever

#

just don't push random changes to master unless it's a release bc it will build

steel heart
#

oh did you give me push access?

hallow crane
#

I'll update the spigotmc page with new builds from the nightly build manager thing on github actions

#

yeah

steel heart
#

ah cool

hallow crane
#

well I gave you maintainer

steel heart
#

sounds good

sick belfry
#

can I also help maintain it? suprakekw

sly sonnet
#

Should I make multiple tasks for every manager (tasks will save info stored in the managers to a mysql database) or should I just do it in a single task? 🤷‍♂️

#

to someone who answered to my question: ||pls ping me, I have probably went to sleep by now ||

hallow crane
hallow crane
sick belfry
forest pecan
#

Slimjar worked for me until the recent bug

#

With GSON

#

And since I already waited 2 months and Yugi doesn’t have time, I decided to make my own

forest pecan
#

Very lightweight minimum version that’s very bare bones

#

And uses only unsafe to inject the urls rather than all the other options slimjar provides

onyx loom
#

if it works better than pdm, it's probably good enough 🙂

half harness
#

🥲

steel heart
cinder flare
#

poor BM

#

he tilted too hard into Haskell and can't make anything Java

manic vector
#

Hello guys, i wanted my dev to make a profiles system. So players could change profiles trought a GUI and get counted as different players from the whole server.

#

Is there a way to do this maybe trought UUID?

sick belfry
ocean quartz
#

Looks like Material UI's "Darker"

#

Not as good as Atom one dark ugh

sick belfry
#

thx

#

actually why I cant find it?

ocean quartz
#

No idea

sick belfry
#

nice

#

thx

cinder flare
#

especially the Matt version of Atom One Dark

#

i'm addicted to that shit

ocean quartz
#

Ofc 😌

sick belfry
obtuse gale
#

what what

sick belfry
sly sonnet
#

manager is a class i made, it has a list of objects that ill later insert to a db

forest pecan
#

Lol

sick belfry
sick belfry
sly sonnet
#

:DDDD

sick belfry
#

I'm so happy

#

now time to handle multiple connections D

sick belfry
#

:waiting:

#

weird

static zealot
#

yes

sick belfry
#

yes

#

the code idk

cinder flare
sick belfry
cinder flare
#

oh i was making a hikaricp joke

obtuse gale
#

😵‍💫

sick belfry
#

I may be dumb, but what is that stuff -> stuff thing

obtuse gale
#

lambda

sick belfry
#

I new it

#

thanks

sick belfry
#

other thing, how would I go about using shadowJar to shadow something?, I think it was with relocate but i dont really remember

steel heart
#

implementation or runtimeOnly will shade it

#

relocate will relocate a certain package including all of its classes as well as nested packages etc

sick belfry
#

I finally saw the truth

#

gradle is way too better

#

also I think it was possible to set dependencies and repos on all sub modules

#

how was it?

distant python
#

Is it possible to have a link open directly without having a player click anything?

forest pecan
#

no

#

if that were the case, that would be very bad

#

imagine the server just advertising, and they just send like 20 ads to the client

#

Lmao

obtuse gale
#

That would be absolutely catastrophic for security

forest pecan
#

^

long dagger
#

@lethal crescent can you open your dms to me?

obtuse gale
#

@forest pecan how you doing bud

forest pecan
#

what about you

eternal compass
#

Are there any online examples of a server-side anticheat for a custom game?

#

I'm making a game, and I kinda want to attempt to make an anticheat

#

and since all movements are predictable, it should be perfect?

obtuse gale
#

and since all movements are predictable
hahaaahaha

#

ping go brrrrrr

obtuse gale
forest pecan
#

stressful lol

eternal compass
#

literally my highest competition to a 3D multiplayer game is a (singleplayer) 2D "shoot the cannonball game"

this is just me screwing around because my class is making computer game

#

and my demo will probably have the server in the same room as everyone playing

obtuse gale
#

neat

#

then ping is (likely) a non issue

eternal compass
#

yeah

#

so, are there any tutorials that you know of :p

obtuse gale
#

it all depends on what you can do in your game man

#

and your limits

#

you must make the cheats to patch the cheats 🙂

eternal compass
#

I'm way too lazy for that ;-;

#

ig I can just screw around with values

#

but like, I know the velocity can't change by more than x

#

and I know the acceleration can't be anything but a few set values

grand nova
#

Hello, where can I open a ticket? I need my account to be verified and I can't because I already verified the old one that I no longer use

#

I need DeluxeChat for 1.17.1 and it was not uploaded to spigot

eternal compass
grand nova
eternal compass
#

sure

tame bane
#

How can I set a max heart limit for players?

forest pecan
#

Lol

#

vanguard users

ocean quartz
#

A lot of games have kernel-level anticheat now, vanguard/warzone, valorant, battlefield, fortnite, apex, etc the list goes on

#

Time we write one for mc

obtuse gale
tame bane
#

How can I set a max heart limit for players?

inner umbra
eternal compass
tame bane
#

cna someone help me plz

#

i cannot set someones max hearts

eternal compass
#

Health scale FYI

tame bane
inner umbra
sick belfry
#

so basically if you get a malicious anti cheat of that level you are fucked up?

#

and whats the need of that amount of perms lmao

inner umbra
inner umbra
#

Its a "root kit"

sick belfry
#

so vanguard warzone, valorant, battefield, fortnite, apex and so on have anti cheats that have that perms?

#

also what about badlions one

inner umbra
#

Only valorant has it from my knowledge.

#

If the apex or warzone added a root kit that would be the day I uninstalled them. The game are already trash and they just keep getting worse lol

#

To my knowledge "Ricochet" (warzones anticheat) is server sided. And apex I honestly didn't know had an anti cheat but if they added one I assume its server sided too.

sick belfry
#

why do you hate them?

#

root kits

inner umbra
# sick belfry root kits

If you have to ask you don't know enough info to question it lol (Not being mean just the truth)

sick belfry
inner umbra
#

Root kit is exactly what its named... a kit to access "root" (Your entire system) full access no limitations.

sick belfry
inner umbra
sweet cipher
#

You could just explain

sick belfry
inner umbra
#

It's in the name and I explained it already. You are giving the game full access to your device. No game should have that access.

#

Do your own research, if you want to give a game that type of access to your device, that's on you.

sick belfry
#

lol

inner umbra
#

Lets ask this... Did you update your server jar when the logj4 exploit was patched? @sick belfry

#

I'll just move on to my response...
If you respond with yes;
So you want your server to be secure with no exploits, but would knowingly install a program on a device you own that can give it essentially limitless exploits.
If you respond with no;
That just answers my question either way lmfao.

old wyvern
#

Has mojang backported the log4j fix to older mc versions? Or are they still vulnerable?

pallid gale
#

It was

distant sun
#

1.12+ from what I heard

pallid gale
#

90% sure it was all versions

empty flint
#

I'm trying to tell the compiler that a method call will always throw an exception.
I have this helper log method:

#

But when I call it, it won't accept that the code ends at the calling line:

#

I have to explicitly throw an exception afterwards for the compiler to understand

#

What's up with that? Is there maybe a Kotlin contract that I can use to tell the compiler that the execution ends here?

obtuse gale
#

obviously nothing is safe

#

riot has very good rep tho

#

obv zero days are gonna be found eventually in something that is open src

prisma wave
empty flint
#

I need it to return something though

#

The solution I went with was to have throwFatal(..) return the throable and then use it like so: throw LOG.throwFatal(...)

prisma wave
#

what

#

no

#

Make throwFatal return nothing

#

@empty flint

static zealot
distant sun
#

Is possible to add a summary to a commit through IIJ?

wintry plinth
distant sun
#

like on github, first would be summary, second is description or whatever
I assume I can just leave an empty line in between

static zealot
#

you can thru cli

#

ah I assume you want to use the integrated stuff

#

nvm

#

if you added it tho, it should be just

git commit -m "TITLE
SUMMARY
SUMMARY
SUMMARY"```
#

wait

#

isn't it the same for IJ integrated one?

#

yeah it is

distant sun
#

yup, ty

empty flint
# prisma wave Make throwFatal return nothing

If it returns nothing then it doesn't work because the else here was the else block of a return when(...) statement. I would have had to specify a return value that would never be returned and that's dirty.

prisma wave
#

no you don't

#

Just "return" the logFatal call

#
else -> {
    throwFatal(etc) { etc }
}
``` this will compile as long as throwFatal returns Nothing
#

I mean Nothing, not nothing

#

Uppercase, bottom type Nothing

empty flint
#

I also thought it should compile but it didn't

prisma wave
#

Show what you did

empty flint
#

Give me a sec to change it back again

empty flint
#

es no bueno

prisma wave
#

I said make throwFatal return Nothing

#

not Unit, Nothing

distant sun
#

fun throwFatal(..): Nothing

prisma wave
#

^

empty flint
#

ooooooooh

#

I misunderstood then

#

didn't even know about this keyword lol

#

thanks

#

or not Keyword, class rather

#

Thanks!

#

But I do think I prefer to return the throwable from the logging method. That way I can decide when and how to throw it

prisma wave
#

you might as well not even have that function then

#

it's not gonna be any shorter lol

#

just LOG.fatal(msg, e)
throw e

empty flint
#

idk I'm still thinking about how to do this tbh

#

Trying stuff out you know

static zealot
#

@atomic temple please use paste bins to send configs and also do it in the right channels: #general-plugins

merry gate
#

Hello does someone know why the properties arent loaded? (I print the properties out via for-loop but nothing appears)
https://imgur.com/a/iXMNF34

obtuse gale
#

don't have a reader and a writer open at the same time

#

that's a recipe for disaster and it's really subtle and difficult to notice why X or Y doesn't work

quaint isle
#

Hey fellow devs, I'm currently using a laptop + 2x 24 inch FHD monitors and I'm looking to upgrade, but can't decide what setup to go for.
I'm getting a desktop PC soon and I was thinking of purchasing 3x 24 inch QHD monitors, or is that overkill? Would you rather go for 2x 27 inch QHD?

Or something completely different? 😄

hot hull
#

Everything you've listed so far is overkill

#

But I mean get whatever suits you best

quaint isle
#

I feel like I need the screen real estate 3x FHD gives me.
But the ones I currently own have bezels, so I wanted to upgrade to three of the same kind and thought I'd go with QHD (2560x1440, so not 4k) for some extra image crispness and readability.

hot hull
#

I mean I currently got a single 24inch monitor, and it's more than enough

#

The almost no bezel is nice tho

quaint isle
#

Once you start using multiple screens, you can't go back 😄
My employer offered to pay for some of the stuff I need so I thought I'd treat me with something nice 😄

static zealot
#

someone help me. I want to die. fourier's division is so confusing

obtuse gale
#

i want to die as well

#

for other reasons but, yeah

#

point stands

quaint isle
#

Statistically, every 2nd person wants to die, because there is only two options: You either want to die (50%) or you don't (50%)

static zealot
#

whoever thaught you statistics needs to go back in school

hot hull
#

I either get killed or I kill myself

#

Those are the two options

quaint isle
#

You either win the lottery or you don't

#

50/50

hot hull
#

Also I mean if it's all paid for, go ham lmao

#

Best you also get some extra spares while you're at it

static zealot
quaint isle
#

I already use two desktops with applications open on all three screens, one with all the stuff open I need for developing and the other for testing (web browser, dev tools etc.) 😄

#

I don't think they pay for all of it, but maybe they pay for one monitor and I can just buy another one or two. That was my thinking 💁‍♀️

hot hull
#

Better one than none

obtuse gale
#

true

static zealot
#

I personally cant use 3 or more. don't like having to move my head to much

quaint isle
#

I think with 24inch it's fine, but if you go for 27inch it's indeed too much head moving

half harness
#

lol

obtuse gale
#

lol

onyx loom
#

lol

sick belfry
#

lol

forest pecan
#

lol

cinder flare
#

lol

hallow crane
#

Would anybody like to test my plugin

sly sonnet
#

yes

#

wait

#

what does that plugin do?

hallow crane
#

chat plugin

half harness
static zealot
#

yeah dkim

#

we all got it now

half harness
#

o

#

wait you too?

#

when did u apply

static zealot
#

few months ago

#

my classmate just got it as well

half harness
#

and u got it just now? 🥲

#

interesting

static zealot
#

yeah

half harness
#

🤔

static zealot
#

its probably a bug or something

quaint isle
eternal compass
humble silo
old wyvern
#

even wih the student pack you have to reapply

humble silo
#

Ugh, i hate gradle sometimes... On maven if i try to use a dependency in mavenLocal it works just fine, but in gradle it can seem to get it... 100% chance by tomorrow it will work

#

and yes i have declared mavenLocal in the repositories section

old wyvern
#

Are you from china?

humble silo
old wyvern
#

😂

humble silo
#

its super annoying

old wyvern
#

Why tho? Legal issues?

humble silo
#

I dont know what they think were gonna do with it, but its only good for emailing teachers

humble silo
#

But it just means that i have to contact jetbrains and have them send me the thing every single time and its been getting annoying

old wyvern
#

🥲

cinder flare
#

like how do you find these issues to run into

old wyvern
#

You're better of using a flatfile repo than mavenLocal

quaint isle
steel heart
#

Fortnite battle pass royale is also quite the profitable investment

quaint isle
#

Someone needs to add "No favorite BR arguments" to this channels description because I'm boutta riot if you say fartnite one more time 😠

steel heart
#

🌞

tranquil crane
#

nobody liked that

eternal compass
#

Like bootstrap studio is sick for example

static zealot
#

thonk can't you just get both github and jetbrains subscription?

#

like you don't have to use it if you don't want it

#

but it gives many other useful things like up to 3 domains for free

#

also github pro

quaint isle
#

I just said that you can apply for the jetbrains subscription on its own because some said it took them a while to get approved for github students

#

obviously if you can get the student pack why would you not

static zealot
#

ah. the thing is, a lot of people got that email yesterday even tho they had access to the student pack

#

I got it as well yesterday but had access to github pro for months now

#

same for dkim

#

he just got the mail but had the pack for a while

quaint isle
#

oh, I misunderstood then. It's always been instant for me back when I used it, I thought they didnt even get the perks

static zealot
#

yeah nah. as long as you have a school email and the school is listed its instant.

#

it was probably an error or something and their emails got stuck until now

#

pretty funny tho

hot hull
#

Yea got that as well, I've been subscribed for a while now tho

#

Gotta renew license in january sheesh

humble silo
humble silo
obtuse gale
static zealot
#

Someone recommend me a snipping tool for PopOS other than flameshot. Its broken on the new 21.10 update (yes I did try the 0.10.2 github release).

lament garden
#

Can someone give me ideas what to do in my core plugin?
Im making a core plugin where you have a lot of commands and other things that are usefull for example; fly, vanish, shortened gamemode modes etc

wintry plinth
lament garden
#

what do you mean by modular

obtuse gale
#

so basic stuff but you can add jars to integrate stuff

#

can you read? lmao

lament garden
#

Okay but why getting rude about it

#

I wasn't sure what he meant by modular

#

Dum

sick belfry
#

curious

#

how does the doc bot work?

#

how does it have the docs?

lament garden
#

They made them

obtuse gale
ocean quartz
#

It parses them from html to json then stores them in the database

lament garden
obtuse gale
#

Parsing html must be such a painful experience

lament garden
#

lmao

ocean quartz
#

It really is

sick belfry
#

oh boi

#

I regret asking that

ocean quartz
#

It's opensource btw

sick belfry
#

GIV

#

also paper has its own events?

#

lmao

obtuse gale
frail glade
#

Yes, Paper adds a lot more API.

ocean quartz
#

Paper has a lot more things than just its own events

obtuse gale
#

paper good

prisma wave
#

:nopaper:

wintry plinth
prisma wave
#

true...

wintry plinth
#

😏

sick belfry
#

nice

#

so someone already did that for me

#

now I just need to understand it LMAO

ocean quartz
#

Did what?

sick belfry
#

was a joke

#

was wondering if I could try to do a bot like that for me

ocean quartz
#

You can just invite docdex if you want
Or just use the API

obtuse gale
ocean quartz
#

Lmao, a man's decent into insanity

jolly quarry
#

Can u guys help me

#

With something

#

I need to add bot on my discord but i cant

hot hull
#

Have you tried youtube, I'm sure there's a step by step pictured tutorial

jolly quarry
#

Yea

#

I tried

#

And like

#

...

#

Just it is wierd

#

It says something like you dont have verified email

#

And i dont know what that means

hot hull
#

Exactly what it says

quaint isle
#

I know this has been discussed alot, but I just read a couple articles claiming the log4j vulnerability was discovered first in Minecraft? Does anyone know who discovered it / how it was discovered?

obtuse gale
#

Yeah that's not true, it was discovered by Alibaba in late November (24th?), they reported it to Apache and they committed a patch for it the 5th of December - 4 days after that Paper backported the patch to, well, to Paper, then that's when everything blew up

#

It was something possible to exploit since 2013 but ig nobody found out about it ccatrainbowshrug

hot hull
#

kek

obtuse gale
#

there are minecraft servers with a better security posture than your enterprise
kek

hot hull
#

Sometimes you gotta wonder how many others things like that there are out there

quaint isle
#

Oh cool, that's interesting. Thanks for explaining! I was curious because I obviously saw all the action going on in the Paper discord but didn't think much of it. Then a friend told me that it was actually discovered in Minecraft and I googled a bit and found a bunch of articles claiming exactly that 😄

obtuse gale
#

It was spread because of MC, it stayed pretty under the radar before paper backported the fix

#

which is good and bad at the same time

obtuse gale
static zealot
#

Someone recommend me a snipping tool for PopOS other than flameshot. Its broken on the new 21.10 update (yes I did try the 0.10.2 github release).
please. I am desperate. I need to take screenshots and I can't. lol

hot hull
#

Use your phone

static zealot
#

thank you sir. but my Nokia has no camera

wintry plinth
static zealot
#

fuck you mate

wintry plinth
#

😂😂

sly sonnet
#

Ctrl + Shift + PrtScrn?

wintry plinth
#

He is on a random OS

#

not windows

prisma wave
#

whatever the KDE one is good

#

spectacle?

static zealot
#

oh yeah

static zealot
wintry plinth
#

I’ve never heard of PopOS.. am I out of the.. bubble

static zealot
static zealot
wintry plinth
#

That’s fair enough, love me some apple

#

🍎

static zealot
#

well. pop os's built in screenshot app has keybinds. couldn't find them before but found em now. also copy to clipboard. its mostly all I needed

obtuse gale
wintry plinth
static zealot
obtuse gale
#

lol

wintry plinth
cinder flare
static zealot
#

can't make screenshot

#

when it opens the gui, pressing enter (which usually takes the screenshot does nothing)

cinder flare
#

Try compiling from github

static zealot
#

well that's work xD

hallow crane
#

Anybody know of a good quality, minimalist, nice looking documentation platform that converts markdown to a static site?

distant sun
#

Readthedocs?

hallow crane
#

is that self hosted?

forest pecan
#

they allow you to freely host your docs on their website

hallow crane
#

interesting

willow helm
#

Hello, how do I make a deluxe menu open another menu with an item?

ocean quartz
quiet depot
obtuse gale
#

How do I win the giveaway?

quiet depot
obtuse gale
#

Ok

quiet depot
#

keep sending in arbitrary amounts till you win

#

if it's taking a while either up the amount or frequency

obtuse gale
#

Oh neat trick

cinder flare
#

purchase an NFT, that's your ticket to the giveaway

cinder flare
#

@static zealot do you think LLVM supports cross compiling to Windows 2000

static zealot
#

I usually don't think at all

cinder flare
#

oh okay

#

well it does support PowerPC 32 babyyyyy

#

so you could run a POS terminal on an early macbook

static zealot
#

cool

cinder flare
#

omg it supports SPARC

#

Rust Solaris is two words I would've never thought I would say together