#dev-general
1 messages · Page 601 of 1
👀 where is that?
doubleplus vouch for fira code
github student developer pack
very ez to get into if ur a student
free jetbrains products, free github pro, etc
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.
Hallo.
Bootstrap studio is super nice 😌
I use it for mockups of my web projects before I tackle them without bootstrap
why so expensive 😢
mine was like $8/year
I tackle them without bootstrap
what do u use?
I use bootstrap for pretty much everything
it's so versatile
React + Tailwind
way more customizable
but still easy to build responsive stuff
https://fredthedoggy.me is a good example of that
Material UI is awesome too https://mui.com/
I really like twin.macro & styled components for css in js too
if u go through namecheap edu you can get for free for 1 year
$19/yr tho 👀
Not premium ones iirc, so that one would still be $199
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
you should always prefer .com .net .org
who th would buy secretx.me if not me? xdd it's not like I've met another SecretX before
.tech doesn't have good seo
.dev is nice too
https://p1g.pw/ short domains are luvly
I'm trying to figure one out though
freddy.something?
yeah "freddy" on any tld will be expensive af
yup

ftd.[2 letter TLD] was a thought
only $10k?
wow
in the MC buisness that's nothing
Especially when all your work is FOS
What a good choice
ikr
Imagine paying 300k to add a .gay TLD
If i had money i would
Lol
She's right next to me, she already knows
welp
Lmaooo
lol
... Its a redirect for adds
honestly do it secret
Secretly.gay
see the bottom right of that site
Would be better
what's your repo again? Oh, it's 'secretx.gay/repo' lmao
I saw lmao
._.
Oh cool, ya i got the student pack, didnt know you could do domains and stuff with it though!
nah. secretly.gay/repo. way better
if you think thats expensive, dont wanna know my history 😂 hits the wallet
Why spigot 1.18 method names are obfuscated?
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
spigots methods are not obfuscated. MInecrafts one are
they've always been but spigot used to have a mapper for them or something
what a deal!
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
I wish I had a date that I sent in my second request. Its been months with no reply lol
Might have been rejected 
No rejection response
Damn longer then I thought. Thank you.
go thru barry and message me links
does that work?
I'll try that and let you know if it works
I meant will it work for you
Wouldnt suggest working with @primal crystal as he leaks your plugin once paid.
please dm @compact perch to report
And post proof.
Will do. I have proof
Hi Guys, any ideas of what can cause this issue? ViaVersion's support say that's not of them.
someone explain me clientbound lol
What about it?
yes
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
noice
Probably your shitty name
you didnt have to be rude
Yeah rude :<
Not really rude, but mk
now if you were to store big numbers would you store them in a string or a byte array or something?
I get an error from line 47 in this: https://paste.helpch.at/ulowimanup.java, class every time I start my plugin, though it only occurs when the plugin creates new files. Why is this happening? I assume it has something to do with the files but I don't know what, I've tried looking around but can't find anything helpful. Here is my FileManager class: https://paste.helpch.at/kidoqemosi.java and my main class https://paste.helpch.at/uwoveqibew.js if you need them.
what error
Sry, of course you need that. My bad, https://paste.helpch.at/zozidazixi.bash
It says line 49 but I added some console.sendMessage to try find the error
your config is probably null
don't use static everywhere and you will have less chances to get NPEs
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?
saveResources from bukkit?
also next time on #development this type of questions
Oh, I thought this was the correct channel, sry.
public interface AdvancedMutableColumnFamilyOptionsInterface<T extends AdvancedMutableColumnFamilyOptionsInterface<T>> {
what
The longer the name, the faster the code
public static class MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder extends AbstractMutableOptions.AbstractMutableOptionsBuilder<MutableColumnFamilyOptions, MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder, MutableColumnFamilyOptions.MutableColumnFamilyOptionKey> implements MutableColumnFamilyOptionsInterface<MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder>
nice
I've sent the links there, if you could confirm that you received them later
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?
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)
im not really sure what i want to make which makes producing something difficult.
Have you only worked on plugins so far?
yeah but theyve only been quite basic plugins or a spagetti mess that i cant read
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...
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
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?
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.
What you might want to read is a book about code architecture if you’re pedantic and indecisive surrounding code architecture, perhaps?
If you can find any coding related thing to those I bet you'd have alot of fun working on that... also what conclure said
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
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
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
that works
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
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
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 )
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
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?
its purely an issue on the player's side of things
i get it when I have SSL Enabled iirc
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
What would be the best way to store lands and claims?
db
yes
enable your linter on save
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!
please note that you said CAN be. it isn't unless it is
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
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:
lol
looks like the pixels in that part of the screen just dont work
of course!
Mutability is a sin
https://www.spigotmc.org/threads/security-releases-—-1-8-8–1-18-1.537204/
how can a logging library affect the security? 
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)
Please don't discuss it here.
u make a fair point
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)
But this is plugin-only right?
no
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)
i don't even know how something like a logging framework can host such a vulnerability
but oh well, it's fixed now
Yeah I’m a bit shocked tbh
But I don’t see how the client can do that, without any form of plugin intervention
(Logically speaking)
i wonder when log4j will fix this themselves
they did
that's what "backport fix" is
it's not in a release yet, it's in 2.15.x snapshots
o
Yo guys add me on MySpace
naaaaaaaaaaaaah
It’s non voluntary
Again, you don’t have a lot of choice here

I'll choose option b
C: Deathwish
emily and gta memes, name a more iconic duo
Guessing the new BuildTools build is alright to use as far as these issues correct?
Alrighty, thanks for your help!
Are you saying it's not a fix then or am I just being small brain..
any reason you’re using spigot instead of paper?
how do i get the ip of someone who sent a post request to my server?
Good question, might sound really dumb but I originally just downloaded my Spigot jar off of getbukkit but with all these issues out today I checked md_5's note and decided to try to use BuildTools.
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?
Ahh
Thank you ❤️
ok
mc covid
Does anyone here know how to read crash logs?
For the server or client
@obtuse gale for my server
Pretty much
anyone so you might know, what requirements we need to get animated banner
@ocean quartz
@prisma wave
@onyx loom
yeah man
Plz
You gotta ping the mods and the admins as well
HelpChat is not discord's support
Discord doesn't have a support server
Google the booster's perks and you might find out the requirements
also you can literally click there to find out what you gain at what amount of boosts
lol
the joking chat
Did you hear the joke about the wandering nun? She was a roman catholic.
don't get it
shit joke
but ok
Roman sounds like roaming
thanks dad
your reaction is more entertaining 😭
wtf
except that you do
True...
k thx
but it doesnt work
:v
What happens to a frog's car when it breaks down? It gets toad.
i'm gonna quit the server from that, barry
SMH this is discrimination. You didn't ping me
you were offline
that's the beauty of being Offline
Could someone give me ItemsAdder please? I very need it
you know leaking plugins is illegal?
Then buy it
^^^
i havent money(
Then you don't need it
-_-
If you can decrypt a SHA-256 string, I’ll buy you it
dm me
LMAOOO
lmfao
Gave him it: 34F01E18D7AB09B25FA2EBCB28106B4878995A39F226C63943480A94AE660BFA
@obtuse gale @static zealot made my day
I'm dying😂
😂😂😂😂
What's wrong?
decrypted it. now buy me the plugin
Ok!
How?
just a bit of highschool maths
Yeah he is a genius
also knowing french helped
@wintry plinth check dms

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
@brittle leaf you make them 100% I’d assume, by diving by 100
i meant when you set many rewards for a crate like that and they have their own percentages how do you figure out which one to give, not how to convert the number to a percentage.
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
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
im guessing here but, add all chances together and divide each chance by the cumulative number
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)
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();
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 😦
@tranquil crane what if multiple items have the same weight? 
still works, don't see why it wouldn't
say you have 4 items of weights 2, 2, 3, and 10
The items will be mapped as 2, 4, 7, and 17. When you get a random double and multiply it by 17 (the total) it will be in range of 0 to 17. map.higherEntry() will get the element closest to the provided value by searching in increasing value for it
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
that's a youtube link
to uh
a rickroll
yeah that one
Nice nicole
I want a plugin that just runs 2 commandblock commands for new users on first login ...
Main questions are : how hard is this (it possible?) and what does such dev cost
sry im a noob
i cant imagine that being literally any more than $5 max
heck you could do it for free very easily
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
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)
@hot hull what, I dont understand the meaning of that
you saying a plugins not the way to go?
googling
Oh. perfect!
currently its implemented using the newbie: kit in essentialsX
tyty
Actually, it was DeezNuts in SHA-256 lol
I’m not joking either
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 :/
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
how does spiget work?
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
whats the repo for paper 1.16.5?
repo might be the same I think but the dependency is like com.destroystokyo.paper:blah
yeah. found it. had to go thru my old projects to find it. ty
I tried
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); }
}
Well in this case you are not actually catching a MalformedURLException. You are catching your custom exception which is different. I would read this article on inheritance because i think your thinking about it in the wrong direction: ~~https://www.tutorialspoint.com/java/java_inheritance.htm~~
Sorry i would actually read this one https://www.javatpoint.com/inheritance-in-java, seems a bit better
so fixing log4shell is great and all, but.. wouldn't it be ✨ amazing ✨ if we all just promised to be nice and instead use this power to make vanilla minecraft doom server 🤔 https://t.co/tCaUCG1dqg
120
316
what in the hell
is this a mc serv?
its minecraft related. also development related. if you want minecraft help then #minecraft. if you want bukkit/spigot/paper/bungee/etc plugin support #general-plugins and if you want development support then #development
https://youtu.be/8WZr6fvtEgk relatable
Starring: Philip Neustrom, Matt Hampel, Chach Sikes, Mike Ivanov, John Mertens, Jim Craner
Follow me on GitHub! https://github.com/philipn
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
skipcommand 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 saysskip 3and then another user comes and saysskip 2?
Best way is to implement skip one song at a time...thats how most bot works IG
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
as for remove...the best practice is that like the person added can remove the song right?
or an admin
oh true. I didn't even think about that.
and I could do the same for forward/seek etc. I guess
yep...
thank you!!
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
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
well. I was thinking for shuffle, clearing the queue, removing dupes leave loop all these should be under votes as well
yeah. I was thinking the same. think I'll do that
thanks once again for your input!
even then...it should be the complicated way...each vote have its own cache and its own condition...
Yeah yeah. What i meant is more complex
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
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
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
Always go for 50%..bcs thats never too high...if there are that much users in the vc then atleast half of them should agree to skip right...else there would be no point for a user who added the song, just to get skipped
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
true
I’m on a 9 hour car ride anybody got an idea for a plugin for me to make
try making a skywars plugin
finally I got git to work
eh i’m trying to avoid mini games and projects that are overdone
then try making a mmorpg
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
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!
what
first bit by bit lmao
also how was shadowJar made on kotlin DSL?
How was it made? I suppose you can look here: https://github.com/johnrengelman/shadow/commit/eb773b14cc47154291bbfe9e40be5f56c7d54824 @sick belfry
yo yako spacechat dev epic
setup on it sorry
Make an anticheat very fun
I made one a while ago
uses tensorflow
not great but it can learn through training
I need to shut it down or something
People want support and I work fulltime for a real company. no time to maintain it
no dont shut it down
never asked for money
but like
do you have time to review prs then? (provided that I do maintain it)
yes
as I assume I'd be an outside contributor basically
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
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
ah okay
it's MIT license do whatever you please
I wouldn't even care if you started selling copies under your name with your changes
oh I'm not that type of dev
what's your github name
conclure
https://github.com/yakovliam-com/spacechat/issues/24 @steel heart
doesn't work
rarely works
sometimes it's because of the user's system
firewalls and stuff
sometimes it just crashes
hmm
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
I will talk to pulse who uses it for emc and yugi
kk
ah okay
Dev branch is whatever
just don't push random changes to master unless it's a release bc it will build
oh did you give me push access?
I'll update the spigotmc page with new builds from the nightly build manager thing on github actions
yeah
ah cool
well I gave you maintainer
sounds good
can I also help maintain it? 
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 ||
sure make a pr and i’ll review!
What is a task and what is a manager?
nice
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
ur own slimjar? 👀
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
if it works better than pdm, it's probably good enough 🙂
🥲
and knightzapi 
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?
#development message theme? lmao
nice
thx
actually why I cant find it?
No idea
so true
especially the Matt version of Atom One Dark
i'm addicted to that shit
Ofc 😌
what
what what
the icons
task is a bukkit scheduler task
manager is a class i made, it has a list of objects that ill later insert to a db
still, I like icons
:D
yes
thread pooling your own server! hell yeah
what
oh i was making a hikaricp joke
😵💫
I may be dumb, but what is that stuff -> stuff thing
lambda
other thing, how would I go about using shadowJar to shadow something?, I think it was with relocate but i dont really remember
implementation or runtimeOnly will shade it
relocate will relocate a certain package including all of its classes as well as nested packages etc
oh nice, thx
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?
Is it possible to have a link open directly without having a player click anything?
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
That would be absolutely catastrophic for security
^
@lethal crescent can you open your dms to me?
@forest pecan how you doing bud
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?
good bro hows school
stressful lol
well ya see, idc 
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
it all depends on what you can do in your game man
and your limits
you must make the cheats to patch the cheats 🙂
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
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
please don't use this channel for that, but I'll check it out
off topic is the right channel?
sure
How can I set a max heart limit for players?
just make an anticheat that installs onto your bios
Lol
vanguard users
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
if its your own game and theres no ping involved then yea sure that works.
How can I set a max heart limit for players?
The only one that actually has those perms is valaront. The anticheat boots before the os. The other anticheats boot with the game.
Badlion
wym health scale?
explain kernel-level
Has perms higher then OS is the simplest I can come up with. (or in some cases, the same perms)
lmao
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
To block other apps from accessing the game.
Basically yeah lol. Hence why I don't play valorant.
Its a "root kit"
lol
so vanguard warzone, valorant, battefield, fortnite, apex and so on have anti cheats that have that perms?
also what about badlions one
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.
If you have to ask you don't know enough info to question it lol (Not being mean just the truth)
I didnt get that, explain yourself
Root kit is exactly what its named... a kit to access "root" (Your entire system) full access no limitations.
and why you dont want to have games with them?
If you have to ask you don't know enough info to question it lol (Not being mean just the truth)
You could just explain
^^
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.
lol
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.
Has mojang backported the log4j fix to older mc versions? Or are they still vulnerable?
It was
1.12+ from what I heard
90% sure it was all versions
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?
lmao youre more at risk from the log exploit than vanguard
obviously nothing is safe
riot has very good rep tho
obv zero days are gonna be found eventually in something that is open src
Just make the function return Nothing
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(...)
#placeholder-api please
Is possible to add a summary to a commit through IIJ?
As in, a commit message?
like on github, first would be summary, second is description or whatever
I assume I can just leave an empty line in between
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
yup, ty
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.
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
It literally didn't compile dude, don't you think I tried that?
I also thought it should compile but it didn't
Show what you did
Give me a sec to change it back again
fun throwFatal(..): Nothing
^
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
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
@atomic temple please use paste bins to send configs and also do it in the right channels: #general-plugins
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
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
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? 😄
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.
I mean I currently got a single 24inch monitor, and it's more than enough
The almost no bezel is nice tho
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 😄
someone help me. I want to die. fourier's division is so confusing
Statistically, every 2nd person wants to die, because there is only two options: You either want to die (50%) or you don't (50%)
whoever thaught you statistics needs to go back in school
I mean never had multiple monitors so can't say I know the feeling, but Alt Tab exists so
Also I mean if it's all paid for, go ham lmao
Best you also get some extra spares while you're at it
yeah. I don't like 3 monitors but 2 is perfect.
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 💁♀️
Better one than none
true
I personally cant use 3 or more. don't like having to move my head to much
I think with 24inch it's fine, but if you go for 27inch it's indeed too much head moving
https://i.imgur.com/b0FTBvu.png
good job github, you're 11 months late with the email
lol
lol
lol
lol
lol
lol
Would anybody like to test my plugin
yeah everyone got that
yea but mine got sent just now
yeah
🤔
its probably a bug or something
If you're primarily using the github student pack to get free jetbrains, you can also apply directly on their website btw.
I got this one too :p
But github gives other things too
I gotta get the student pack, its a pain to have to re-apply for the jetbrains stuff every year
even wih the student pack you have to reapply
well i wont have to go through the process of contacting them each time since my district blocks all incoming emails that arent from the same domaim 😦
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
Wait what?
Are you from china?
lol no
😂
its super annoying
Why tho? Legal issues?
I dont know what they think were gonna do with it, but its only good for emailing teachers
ya no clue
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
🥲
i don't think i've ever used mavenlocal
like how do you find these issues to run into
You're better of using a flatfile repo than mavenLocal
Sure, but jetbrains subscription is by far the most valuable one imo. Credit for cloud computing platforms like Azure you can get elsewhere and 3 month trials for elearning sites I can live without 😄
Fortnite battle pass royale is also quite the profitable investment
Someone needs to add "No favorite BR arguments" to this channels description because I'm boutta riot if you say fartnite one more time 😠
🌞
nobody liked that
But why not get jetbrains and more stuff too? I'm confused
Like bootstrap studio is sick for example
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
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
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
oh, I misunderstood then. It's always been instant for me back when I used it, I thought they didnt even get the perks
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
Yea got that as well, I've been subscribed for a while now tho
Gotta renew license in january sheesh
never??? I rather use it then the maven central snapshot repo
Im just that cool
what does local even have to do with central snapshots
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).
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
Make it modular, so basic stuff but you can add jars to integrate stuff
what do you mean by modular
They made them

It parses them from html to json then stores them in the database
true
Parsing html must be such a painful experience
lmao
It really is
It's opensource btw
piggypiglet/docdex
Yes, Paper adds a lot more API.
Paper has a lot more things than just its own events
paper good
:nopaper:

true...
😏
Did what?
You can just invite docdex if you want
Or just use the API
also throwback to the best SO answer ever https://stackoverflow.com/a/1732454/8083725
Lmao, a man's decent into insanity
lmaoo
Have you tried youtube, I'm sure there's a step by step pictured tutorial
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
Exactly what it says
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?
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 
kek
Probably one of my favorite tweets about all of this https://twitter.com/gcouprie/status/1469276948304216077
So. I hope you all went and checked your java applications for the log4j vulnerability this morning, right?
If not:
- do it, it's a bad one https://t.co/93TXh8bMlV
- there are minecraft servers with a better security posture than your enterprise, and I am judging you for that
211
there are minecraft servers with a better security posture than your enterprise
Sometimes you gotta wonder how many others things like that there are out there
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 😄
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
This one in particular was huge, massive, colossally disastrous
It's comparable to Shellshock, which... yeah, also worldwide catastrophic lol https://en.wikipedia.org/wiki/Shellshock_(software_bug)
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
Use your phone
thank you sir. but my Nokia has no camera
I’d recommend you a good solution then, use another OS 😂
fuck you mate
😂😂
Ctrl + Shift + PrtScrn?
oh yeah
my man said random os
I’ve never heard of PopOS.. am I out of the.. bubble
ty
all you talk about is apple and mac. so I'm not surprised
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
anywhere you search for "top linux desktop distros" you'll find pop os mentioned
Really? My first time hearing of it
u sure this is not you? xD
lol
Hahaha found my blog 
What's wrong with it? I've had no troubles on my arch based install
can't make screenshot
when it opens the gui, pressing enter (which usually takes the screenshot does nothing)
Try compiling from github
well that's work xD
Anybody know of a good quality, minimalist, nice looking documentation platform that converts markdown to a static site?
Readthedocs?
is that self hosted?
you can selfhost it, or you can just host it on their website
they allow you to freely host your docs on their website
interesting
Hello, how do I make a deluxe menu open another menu with an item?
How do I win the giveaway?
send btc to this address bc1q045dwl04yd7w45ygyyjrvvwe34ncep425gn6kq
Ok
keep sending in arbitrary amounts till you win
if it's taking a while either up the amount or frequency
Oh neat trick
purchase an NFT, that's your ticket to the giveaway
@static zealot do you think LLVM supports cross compiling to Windows 2000
I usually don't think at all
oh okay
well it does support PowerPC 32 babyyyyy
so you could run a POS terminal on an early macbook
cool





