#dev-general
1 messages ยท Page 611 of 1
what does vim do?
you said that most of what your time spent doing is editing?!
it's a modal text editor
hhhhhhhhhhhhh
no i mean like the perks
yes are those not analogous statements?
modal editing
but i mean like
editing as in editing the document, like typing
most of my time is spent thinking about how i want to approach any particular problem
doom?
yeah it's a set of packages and stuff for emacs
comes with vim keybindings, as it should
hm
don't worry too hard about emacs though
okay
what you really want is to get the vim keybindings in your head
ok
just use WSL
it's pretty hard to mess up
i know how to mess everything up ๐
or
i think i was trying to do something with it
but
i dont rememberrrrrrrrrrr
nvm
o
and god it is so much better than using Windows anything
but
WSL stands for WSL iS notanemuLator
can you access windows files
i needed to do a traceroute earlier, holy shit windows tracert is so bad
yes
ah ic
/mnt/c or whatever
๐
dkim is so new to the world
it's so interesting seeing someone i presumed was deeply knowledgeable about this stuff asking the most basic of questiosn
like how have you gone your entire life, spending time in this server and Dev Den, and somehow I'm the first to explain how amazing vim is to you?
or how great WSL is lol
let me guess: never heard of windows terminal
what does?
windows terminal
hm
try opening it and seeing what happens?
god, guys I got a new mouse cause my old one had switch sustaining issues and the new one is literally half the weight of the old one
lol
it is so weird
changing mice is a whole process
i like everything about it more, except that it only has 2 left-side buttons
even though i only used the third button for minecraft, i still feel a big hole in my heart
๐ฎ
what mouse?
Logitech G Pro Wireless
o.o

something like 75g whereas my old mouse was like 120g
i heard its very good mouse
yeah i like it so far
besides the aforementioned lack of a third button
but the alternative was Razer, and that bad boy was not light in the slightest
-> 
and i just hate Razer
HAHAHA when did this emote make it into this server!!!
wait what
go to C:\Users\<username>\AppData\Local\Packages\Microsoft.WindowsTerminal_<abunchofshit>\LocalState\settings.json
and paste me what's inside
get bent
buddy, do you have a WSL distro installed?
wtf lol
oh
who the fuck wants to use Powershell?
time to install wsl
it's very easy
then restart, and pick a distro from the Windows Store
It's very sneaky 
yeah buddy, you're downloading kernel upgrades for Windows lmao
if you don't know the answer to that question, yes
that's an overly long time
2 minutes*
still extra
1 minute*
ehh, i'll let it slide
in what context
whitelisting a specific subdomain
in cloudflare
the IP Access Rules just seems to block the entire website
seems like its not possible with just cloudflare
yes
Page Rules?
uh
as in, create firewall rules?
yes
k so yeah, just URI equals whatever and then Allow
ah
ty
:D
yay
https://pastes.dev/yYw0mj5YOe
do u know why my terminal still isn't working D:
hhhhhHHH
Json bad
I need help with some regex. I need to match anything after strings that do not have xxx, and have yyy somewhere.
So xxx aaa yyy zzzz would not match, but aaa bbb yyy zzz would match zzz
๐ฅฒ
lol
Imagine supporting something below Java 11
Imagine supporting something below Java 16 ๐
Imagine supporting something below Java 19 ea
bro we still got a month and a half until java 18
though Java 18 ain't changing shit
it puts project panama in preview
oh whoop not preview but second incubator
oh FFI?
i presumed Java already had something like that
so realistically, what does project panama mean for us
like, faster stuff?
Cython-style shit?
Isnt JNI the FFI for java?
that's what i thought
What else are they bringing?
๐ฏ
doubt it since it doesn't cover everything unsafe does
Ahh
FFI is a way more Java-style integration of native access
imagine using versions above java 8
java 8 is the best version
after java 8 all are unnecessary
your opinion is wrong
Yes I am the best when it comes to naming things
@obtuse gale didnt know you had a son, congrats
hi i want to enchant stick but i am not able to do this can anyone tell me why code is not working - player.getInventory().addItem(new ItemStack(Material.STICK, 1)).addEnchantment(Enchantment.KNOCKBACK, 2);
plz reply
because addItem returns void and you are trying to call addEnchantment on it
- Define the item
- Add the enchantment
- Add it to player's inventory
i am able to give to player, but i want to add enchant and i dont know
inventory.addItem(new ItemStack(STICK));
add it to a variable: java ItemStack item = new ItemStack(...) then add the enchant: java item.addEnchantment(...) then give the item: ```java
...addItem(item);
let me try
I use ItemBuilder class its less pain
https://paste.helpch.at/cucurexupe.cs
ItemStack stick = new ItemBuilder(Material.STICK)
.enchantment(Enchantment.KNOCKBACK, 2)
.build();
everything is working fine but its give me red line on -
ItemStack item = new ItemStack(STICK);
item.addEnchantment(Enchantment.KNOCKBACK, 2);
player.getInventory().addItem(STICK);
in last line where i put stick
did this code true^?
no, you're not giving the player the item, you're trying to give it a Material (STICK)
i did
player.getInventory().addItem(STICK); is this error?
yes
what should I put
...addItem(item);```
ItemStack item = new ItemStack(STICK);
item.addEnchantment(Enchantment.KNOCKBACK, 2);
player.getInventory().addItem(item);
is it ok now?
yes
what about Enchantment.KNOCKBACK, 1?
i think it starts from 0
so you are trying to give knockback 3
so you need to use addUnsafeEnchantment if you wanna have kb3
(not sure tho)
Question for you dev guys, do you use some kind of planning tool or like a check tool to help getting things done in steps ?
i am using 1.8.8 if it could help
d;1.8.8 ItemStack#addEnchant
boolean addEnchant(Enchantmentย ench, intย level, booleanย ignoreLevelRestriction)```
Adds the specified enchantment to this item meta.
ench - Enchantment to add
level - Level for the enchantment
ignoreLevelRestriction - this indicates the enchantment should be applied, ignoring the level limit
true if the item meta changed as a result of this call, false otherwise
@regal moon use addEnchant(Enchantment.KNOCKBACK, 1, true)
i found something
i delete stick and put sword, and it give me its means its not possible to knocback on stick?
did you try this?
player.getInventory().addItem(new ItemStack (STICK).addEnchant(Enchantment.KNOCKBACK, 1, true);
like this?
its giving me red line under addEnchant
because thats not a thing
Itemstack itemStack = new ItemStack(Material.STICK);
itemStack.addEnchant(Enchantment.KNOCKBACK, 1, true);
player.getInventory().addItem(itemStack);
?learn-java
Online Courses:
Online courses are also great for learning java. Some websites that offer them are:
- Coursera - Free unless you want a certificate
- PluralSight - Great courses from what I've seen. Mostly Paid
- Udemy - Never used them myself but they seem to all or at least most be paid.
My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.
Oracle Docs:
Oracle docs can help a lot at learning and understanding java:
- Start with this,
- Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
- Hit this.
They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff
Other services:
Some other cool services that will help you learn java are:
As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!
still red line on addEnchant
Which version?
1.8.8
I think its .addEnchantment() for 1.8.8
yup
player.getInventory().addItem(Material.STICK).addEnchantment(KNOCKBACK, 1);
using this i got red line in material stick
;(+
bro
also in 1.8 u have to use ItemMeta#addEnchant
bruh i am learning java, i was testing
i have course
first of all look at you, that dont eve know answer and being rude
_ _
make the item variable again, but make a new ItemMeta variable from item.getItemMeta()
then meta.addEnchant(Enchantment.KNOCKBACK, 1, true);
then apply to meta using item.setItemMeta(meta)
then I already wrote the code above to give the item to the player
item.getItemMeta();
org.bukkit.inventory.meta.ItemMeta meta = null;
item.setItemMeta(meta);
meta.addEnchant(Enchantment.KNOCKBACK, 1, true);
btw stop bulling me
lmao
xD
Bully Maguire
is it legal to say badwords on this server?
At your service! (apparently)
Try
No, NYPD will come to your doorsteps at dawn tommorrow
Will see what is going to happen
Don't let a cruel word escape your mouth. There's no greater sin than breaking a heart.
sorry yugi
๐
meta.addEnchant(Enchantment.KNOCKBACK, 1, true);
item.setItemMeta(meta);
player.getInventory().addItem(itemStack); ```
๐คจ
yeah wth
thank god for embed fail
xD
Mine
Thanks btw
Thanks too u
Also use #development next time
Ok
I did not understand what did u mean? Can u tell me
Are u talking about me or him
I dont want to make feel bad anyone, yugi
lmao? I wasn't speaking to you?
I was speaking about people in general, I think most of us can agree, that we see a lot of people starting with bukkit without even knowing java.
Second place goes to those people who legit ask 2000 questions instead of googling them .-. (maybe sometimes someone asks a question that is on google and he just didn't find it, that can happen, but not 5 times in a row .-.)
Third place probably goes to those who are having issues and ask for a fixed solution instead of doing it themselves xD
God, totally forgot about the "Can someone help me" people, those are def. top 1.
eh in those cases usually ppl only want to code bukkit plugins, not java programms in general
yes. sure. but that doesn't remove the fact you are coding in java and you should know at least the basics of java nha?
yea ofc
@pastel imp First of all i spent my half a day with programing and learning java, to be honest i am new, and i am come here after searching on google i read lots of forum on this, and on hub spigot but they wasnot teaching about my topic and i knew about that how to put enchants but i was using 1.8.8 in this case i was not able to enchants on stick... i was come here after spenting a lot of time. Now i felt how aggressive this world is, one day is near when this people will put pay to breath...
uwu
wtf
why does this guy still thinks I am speaking specifically about him or attacking him tf
can you like understand no one is attacking you? You are, like wuzzy said, "blowing an elephant from a mouse" lol.
Also, for reference, don't use legacy versions that are not even supported anymore if you want to get the maximum support possible
it was just my reply cmog
well your reply seems like you are defending yourself from an attack lol
Nope it was just my answer, i dont like to make feel sad to anyone
.
okay... kinda sus but okay

I am try to be funny
try harder
devs when dreaming like "if if if = if if else == if if if if... ๐
ok
ye I think it's enough for today
?
I love your gifs bro
Ok jdk people O.o
mmmmmmmmmmm
amazing
where is dev builds for deluxchat?
Looks neat
when you try to teach the alphabet to a computer
Those are test cases for CSE, definitely
any ideas why making a player execute a bungeecord command isn't working?
aka it says the command doesn't exist?
is this something bungeecord doesn't allow?
Because from spigot it doesnโt see it as a command
when a player types in chat it goes from client to bungee to spigot. but when you send a message as a Bukkit Player it goes directly to spigot or something like that since you use its api
its the same reason why you cant run bungeecord commands from console
its quirky lol
Yeah its funky ๐
If a class is serialized, are its methods also serialized or only the fields?
Was thinking the same
Anyone know how to configure automatic relocation with Shadow? (Gradle Kotlin)
"automatic relocation"?
TIL
Solved it! Adding this here so that someone (most likely me) can find this in the future.
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
group = "my-group"
tasks {
create<ConfigureShadowRelocation>("relocateShadowJar") {
target = shadowJar.get()
prefix = "${rootProject.group}.dependencies"
}
shadowJar {
dependsOn(get("relocateShadowJar"))
}
}
if (block.getType().name().contains("_LOG") || block.getType().name().contains("_WOOD")) {
if (!beenBrokenBefore) {
int chance = new Random().nextInt(5)+1;
Bukkit.getLogger().info(String.valueOf(chance));
if(chance <= 6) {
newdrops.add(new ItemStack(Material.APPLE));
}
}
}
newdrops.addAll(drops);
This is giving me a ConCurrentModificationException. what would be an ideal way to make it not do that?
Is this in a loop?
Or another thread?
im stupid
for (ItemStack item : drops) {
drops.add(EnchantMethods.updateItemLore(item));
drops.remove(item);
}
return drops;
```this was the actual problem...
i fixed it tho
for (int i = 0; i < drops.size(); i++) {
drops.set(i,EnchantMethods.updateItemLore(drops.get(i)));
}
return drops;
i dont know how i didnt see this sooner
also i can equip blocks on my head now
well
my custom helmets
i just figured out that no packet is sent when your modifying your own inventory in creative other then SET_CREATIVE_SLOT
which doesnt get fired if you dont change your inventory
which makes setting my head as a block in creative how i want to do it atleast impossible
idm tho
atleast i know now
hey
I love VS ๐คก
XD
bro who held a gun at your head and made you use it
just use CLion like everyone else
People from work ๐ฅฒ
Clion exists ๐
lol
If I cancel a server from OVH, it will be removed at the start of the next month, when I have to pay the bill, right?
yes
@distant sun it will end at the latest paid bill date
Nice
You need Gradle 7.3 to build Java 17 stuff
oh you're using Kotlin?
send your build file in a paste
always stay up to date kids
Woah are you telling people to date kids late at night?
jeez star
From a staff too
Hey guys, anyone can explain me how to open sign to input?
Hmmmโฆwas that what he meant? Or how to code it? ๐
void openSign(@NotNull Sign sign)```
Opens an editor window for the specified sign
sign - The sign to open
@fresh badge if you are using paper api
PaperApi?
Well the dependency should have the paper API if u wish to use paper specific events or methods
In 1.17.1 have the "openSign"?
iirc yes
@quiet depot Is there any plans on making deluxe tags open source since its already free to use?
rip, does cube have permission from clip for that?
no
Got more chance of helpchat adopting NFTs
๐คท
lmao
i'd love more stuff here to be open-sourced, by this point if clip is basically gone and they can't do it, I'd just rebuild the plugin and open-source that myself
@quiet depot why has DeluxeChat been moved to inactive resources? ๐
๐ค
well yeah, but it's a really good plugin
and from what I know there are some dev builds for RGB
yes on Discord but on Spigot its inactive
and Spigot dont care if there are builds on Discord they care if they are on Spigot
and can they bring deluxechat back from there?
Question
I'm working on some advanced skyblock stuff and like
Should I compromise and require Redis for all bungee networks, or
Make a StringList on the config with all skyblock player names

If anyone has way too much time on their hands, please go rewamp slimefun
rewamp? like "recode"?
There isnโt RGB support for dchat, haha
Made from scratch, but properly this time
you
@lavish notch 10k downloads .-. bruh
Yeah... it's only my second plugin, nothing crazy hence the small amount of downloads.

lul
sorry for the ping
yeah you better be
What is wrong with you

Someone deleted the showcase
Is there a way to detect a client-side block interact (aka a right click on a block which was sent with Player#sendBlockChange)?
listen to serverbound block place packet (also known as the use item on packet)
I saw that packet, however I only get which hand the player used, not the exact block/location or whatever..
NMS code does raytracing server-side, so I'm guessing I would have to do the same, with some extra checks for the client-side block(s) (which I would have to keep track of)?
that's use item not use item on
use item = buckets, use item on = clicking a block face
there's a Player Digging packet which could work for left-clicks (it has block faces as you said), and an Interact Entity packet which is useless for blocks
1.17, but I assumed that packet is only sent once the client places a block client-side
"Upon placing a block, this packet is sent once."
that's for any right clicking a block
Even without a held item that packet is still sent
ok perfect, thank you very much
@rancid gazelle on the spigot page, you're supposed to put ppl other than you as contributers and languages other than english, and is it open source? ๐คท
very nice plugin btw, especially at this stage ๐
and also this isn't loading ๐ฅฒ
im talking about spigot page
Thanks! Open source? As in I give the source code? Haha
Sorry kinda new to these terms
Oof
But no one contributed XD
Just me 0-0
๐ฅฒ
nope, i suck at thinking of ideas :p
I so far can do commands and GUIs and the functions :o
Well when u find an idea dm me XD
lol
is it better to make it open source?
imo yes, it depends on what you want your project to be protected from
yes
especially if you're new (so that we can bully help you with your code)
If you use IntelliJ, you can just do this: https://streamable.com/5v3t3w
if you don't use intellij, then github.com and upload the files that way ๐คท
I use intellij :o
pog
Ooh ok ill watch that after class lol
Any suggestion to add to my plugin? Or how to improve?
One super mega useful advise:
Don't be afraid of asking for help: if you have doubts about something, having others resolving those doubts is the best thing, and don't get them wrong if they tell you "That's something Google can answer", because if you know how to search the proper question, you'll get an answer faster from Google than waiting for others to respond. A lot of people will provide help gladly, don't be ashamed of sharing your code and be taught from your mistakes (after all it's for your own improvement), and please don't just ignore suggestions and say "Well but this way it works so".
:o
i'd like to add this as well: take all criticism with a grain of salt, sometimes it comes from a land of opinions, but it's generally better to get an overall consensus on something if you're looking for feedback
the accuracy kills me
how do I edit a spigotmc resource? Like change the desc and logo
@obtuse gale could u help me XD
hello!
yes on the panels on the right near the bottom there's an "Edit Resource" button
Anyone here posted premium resources on spigot? How long did it take to get approved?
Any where from 2 weeks to 6 months
Ah
Luckily there's only one other plugin on spigot that does the same thing as us
One of my plugins took 2 months to get denied lol
They don't care lol they pick and choose what's allowed.
:(

there wasn't support for Adoptium before????
Just AdoptOpenJDK
...and they approved all of vk's rubbish, geez
Grandfathered It was before they added the dumbest rules for a plugin market
Ah okay. I'm still salty that he revoked access to all the plugins I purchased from him because I got a leaked version of one of his plugins to test because the spigot page was not descriptive at all.

Yeah I agree lol
I understand both sides. Shouldn't use leaks because they could download all your server files.
I've done client-side blocks multiple times, ping me if you have any questions
Whos vk
I try to avoid using leaks, but the plugin page was so undescriptive and as far as files stealing etc, I ran it on a test server and not the main/development server.
How did he even knoe
Hey guys, i have a bit problem, anyone can help me?
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
The error is as clear as it gets, getItem is returning null
ItemStack#getType won't be null tho so you should replace that first null check, instead of checking the type for null, check the item itself
No
getItem is returning null
you should replace that first null check, instead of checking the type for null, check the item itself
I didn't understand very well, how do I do that?
blah.getItem(0) != null
๐
daily dose of crippling cancer https://www.reddit.com/r/ProgrammerHumor/comments/soacxv/with_all_the_noise_around_tabs_and_spaces_i_think/
Imagine coding a perlin noise algorithm and adding it even to the code itself
there is a programming language whose instructions get more chaotic and arbitrary the further execution progresses
Kotlin?
I rewrote the entirety of block placing interact logic let me know if you need help :)
oh yeah? I rewrote the entire rendering engine three times and a half
This channel is Therapy for me growing up in ShenZhen.
#Comedy #Skit #Asian
Patreon:
https://www.patreon.com/stevenhe
Instagram:
https://www.Instagram.com/thestevenhe
Oh yeah, I rewrote chunk data packets 10 times for each version
ah yes, and I rewrote the entirety of minecraft, increasing performance by 500% and fixed its messy code
I'll have you know I graduated top of my class in the Navy Seals, and I've been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I'm the top sniper in the entire US armed forces.
Tbh not being able to cook rice is a disgrace
It is
is there like an open source self-hosted tebex alternative?
i've been looking for a pet project for a while, i've been doing loads with react and stripe at work recently so i thought it might be fun if there's a market for it
I think MineStore is a thing
I remember seeying a lot of themes on mcm
@quiet depot are you guys still working on that project? Iirc you and andrew had a self-hosted store project
yeah minestore is but you have to pay for it
i found this, so unless theyve been keeping it private id think its maybe no
https://www.mc-market.org/resources/20130/ @__lucyy#0001
CHRISTMAS (WINTER) THEME IS OUT!
FREE & MINESTORE EXCLUSIVE
CHECK IT HERE!
Thanks for reading and for your time
@boreal needle
that repo is just the sync plugin rather than the actual thing itself sadly
and mcm is just plain depressing to see ngl
Ah, bs
tf is this hover state?
border: 10px
xD
Awesome, i still need some help, not sure what the best approach is ๐
I'm not really sure when the BLOCK_PLACE packet (i'm using protocollib for majority of packet handling) is actually sent from client and how it's used.
The wiki says "Upon placing a block, this packet is sent once" but that's simply not true (that's what DefineOutside suggested, but it doesn't seem to work).
BLOCK_PLACE only fires under weird conditions (holding a non-block item and then right-clicking any block; it doesn't fire when you interact without items in your hand).
The USE_ITEM packet fires correctly, but I can't get any information from it other than which hand was used for the interaction.
Then I tried using BLOCK_CHANGE clientbound packet, and it definitely kinda works, but it's sent multiple times per tick for simply right-clicking a single block (4 times; 2 of each: block you click on, and the one which is connected with the clicked block-face; i'm guessing because USE_ITEM is sent once for each hand?).
And the problem with using this is that the packet is also (obviously) sent when I send a block change packet, so I can't know whether the player interacted, or if they're receiving the block change I want them to receive.
So, what's the best way to ONLY detect right-clicks on client-side blocks, without false-positives from sending a block change packet etc.?
You can add metadata to packets
Also you need to raytrace the block the player is lookin at
ok woah, i didn't know about packet metadata, how would that help me with packets the client sends?
and which packet would i use specifically for this
I call this when handing USE_ITEM
https://sourceb.in/di7WZErFcv
bit messy but you should get the idea
getMaterialSeen() returns the block the player is looking at
yeah that was really useful, i was avoiding raytracing, but it doesn't seem that complex, thank you ๐
USE_ITEM isn't the same as block place
when you right click the face of a block, it's a block place packet
Hello, how can i make a placeholder that updates automatically?
Ex: a timer
It's on the requester of the placeholder how often to ask for the update
and how can i check that
huh?
By default how often it is?
It's whenever the person requesting the placeholder requests it
if you request it once, it's once
The placeholder is never updated often, it's replaced when it's called for
if you request it every second, it's every second
And if it's on a scoreboard?
Whenever the plugin managing the scoreboard calls to update it
k
Who can help me here
Depends on what you need help with
I paid for nitro and it didnt work
How can i reach them ?
?not-discord
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.
Y do people think this is discord support ? ๐
It's like the second link if you search for "discord live chat"
almost
ooo...then most people who comes for that doesn't even know or play minecraft...
mhm
No, we havenโt worked on that for a very long time
i have nothing better to do so i am now
i just made my own lol
we use stripe as our payment provider and just listen to their webhooks to give or take roles and such
yeah that works great
im trying to aim this at smaller servers tho that might not have dedicated devs
might end up doing some kind of hosted saas version of it
idk yet
just grow up
we (me and a partner) made a tebex alternative when I was an even smaller child than I am now
whaddya gonna do next, make a DRM like that one guy who we banned i think
i forgot his name
was it yako?

tomfoolery in #deluxechat
what is it with people being like that in these discords
right around here: #deluxechat message
we had kaspian join devden the other day
well people pay money for this plugin and then they discover it doesnโt even have features like hex that have been in the game for yonks
they get understandably mad
the problem is they take it out on us
he was joking that they should make a PR even though deluxechat isn't open source lmao
or more usually the support team
and thereโs literally nothing they could do about it (because the plugin wasnโt os, which was out of our (admins) control)
is he trouble?
he's very, uhm, stereotypical in his nationality
he's been really rude to me in the past
is it acceptable to tell them to drop dead?
does this description make any sense?
/**
* The denomination of this currency for display -
* n where the display unit is the lowest unit x 10^n.
* For example, there are 100 = 10^2 cents to the US dollar so USD has a value of 2.
* For zero-decimal currencies, set this to zero.
*/```
ie, when using usd the value should be 2 as 1 dollar = 100 = 10^2 cents
woah you want me to get a math degree to use your api?
nvm I just checked he left
wasnโt banned
I just assumed we banned him
hi im great thanks for asking emily, how are u?
anyone knows of a plugin that uses feedbacky for feedback/bug reports? I wanted to see how it performs in action
B.A.A.S - Too many caps!
No need to shout.
Barry's Anti Abuse System | v1.4.7
B.A.A.S - Don't Repeat Yourself!
You're sending too many duplicate messages.
Barry's Anti Abuse System | v1.4.7



We should definitely talk about that
hmm

link? cant find it lmao
Hello my Name is Lucky i just was wondering if there was any Java plugin developers who were look for someone to help them start a mine raft server and point them in the right direction all i need is someone to develop the plugins and i can help setup everything else such us configs, store, website, discord, team speak, Shoot me a message if your interested
cant find it lol
having the feeling you guys are joking :-:
Copy and paste this: COPY AND PASTE THIS CAPS TEXT AND HOPE YOU DON'T GET MUTED_ _ _ _
๐
๐ญ
works with voice chats
i mean
thats what i meant
oh i got confused

since u replied to my BAAS message
barry auto deletes the messages
so if u didn't see the original message ig you'd be confused
๐ฅฒ
oh lol
well, ye I asked for a plugin that uses feedbacky cause I wanted to see it actually in action
xd
Can anyone look over this code and give me feedback on the quality? https://github.com/HibiscusMC/KixsSimpleBackpacks/commit/6e731c0e2b028011844094b83a971de6999fb9ef
(ping please)
for give command, replace String playerName with a Player param, do a null check and then add the backpack to their inventory
๐
How do you learn to deobfuscate plugins?
:(
it's difficult to deobfuscate more than name stripping
Flow obfuscation is really difficult to undo.
and if variable names are all changed to a, b, etc, then understanding flow is generally harder
Good luck with it 
Usually you start by taking context from things like string literals and where and how they're used, then expand from there
aaaaaa
Not like you're gonna get everything right first try lmao, it's gonna be hell awful trial and error when it doesn't make any sense
Kinda like playing sudoku, everything seems to go according to plan until you hit something that doesn't fit at all and you have to undo half the changes and rework them 
Might as well write your own version of it instead
There are reverse engineering tools that give somewhat meaningful names to classes and fields, not perfect, but still slightly helpful
Then there are other fuzzing tools to remove weird obfuscation artifacts by running parts of the jar
Not only that, but if you frequently do genuine updates, people will give up eventually anyway
Because even if you manage to deobf a particular jar, if next weeks new version comes out with new features, youโve got to do it again
OR just go with Freemium ๐
Freemium doesnโt pay the bills unfortunately
glare does a load of commissions
"Freemium" != commisions
yes. he knows
I'm saying that his income isn't based on guilds
I doubt guilds is even a major part of it
๐
not to say freemium is bad
I will always support that
just the glare example doesn't work
I believe in open source too, hence why I pester staff here with clips stuff (yes, I know the situation), but freemium just doesnโt work financially speaking
It doesnโt put food on the table
yes some cases where people do make money from open source, but very rarely
how many people know how to compile a plugin? lol
๐
^^^ Same. I just don't like working on other users projects. So even if its open source I don't mess with it.
I struggle with working with others code too
I'm gonna have to get employed by google to make the next gson or something
Yeah I agree too ๐
I just want to get paid to work on my own open source projects
is that so unreasonable
probably
Yeah only exception I had was PremiumHub but I still hate working on it sometimes cause I have to go figure out the original code
rewrite it
I want too but I am lazy xD
The plugin also depends on another lib for NPC's and I hate depending on others projects too. I'll usually just make my own where ever possible. And for things others want support for I usually soft depend.
on spigot, is possible to replace the jar of the latest version without releasing an update?
I wish. I just post a new update and delete the last jar from history.
ah, bullshit then
I did a quickfix for one of my plugins and wanted to post it on spigot, but I guess I will just wait a bit to see if I find anything else
Yes
Post an update without a title or desc
it silent adds
then you can delete old ver, but doing that doesnt send a notification
yeah, will just wait, thanks
np
Possible to make a javascript that checks in a bungeecord server is online or offline.
The Pinger placeholders does not work on the velocity
is there an easier way to look at something implemented through patches, other than literally searching through them? ๐คฃ im talking about paper
Hahah ye i wanted to know that too
But i failed
Miserably
can the nether gen be customized and can it use the new heights? I'm curious
[20:03:21] [Server thread/ERROR]: Encountered an unexpected exception
java.util.ConcurrentModificationException: null
at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:756) ~[?:?]
at java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:783) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1604) ~[patched_1.17.1.jar:git-Paper-353]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-353]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1480) ~[patched_1.17.1.jar:git-Paper-353]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1279) ~[patched_1.17.1.jar:git-Paper-353]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-353]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Someone knows what is this?
What plugins? I'd assume some plugin is modifying something it shouldn't.
are you doing anything outside of the main thread?
yeah this looks like spigot API async stuff
lets goo
I finished my bot's module system
so modules can be enabled or disabled
per-server
Nice fred
java is the worst language ever created
๐ฆ
like it took me 1 week to debug and find that primitive types are all pass by values in functions but wrapper classes and objects pass by reference in functions
like this literally makes no sense
like how they try to make the language "user-friendly" and "easy to use "
but backfire severely
What do you think of python?
amendment:
java is one of the worst languages ever created
very good
python is the worst language ever created
lmao
yeah java is good when i am using python
python is literally hell
we all be suffering traumas from python and java
eh I quite like java
oh no
perhaps bias
i'm a rebel, I use unsafe
then you must hate java
I love java
yes,and c++ > all
you'd like emily
99% sure emily is a big c++ nerd
thats great
c++ is gift from heaven
to save us from the abyss of poorly made scripting + weird "trying to be safe but backfire" langauges
bro's learning day 3 Java shit
even if its day 3 it doesnt make any sense
like if you are gonna stay pass by value then do them all in all contexts
just make it all pass by value
oh, i'm sure copying a massive hashmap every time is a great idea
primitives are different to objects
they fundamentally behave differently, in language, in memory, in implementation
in a language without user-interactible pointers, Java has the sanest defaults
just make a & mark for denoting it to be passed by reference
that are shared by like, every GC'd language without explicit poitners?
no need to make any pointers or stuff
see those are pointers
And Java was sold on the idea that you didn't have to do any of that
reference == pointers
it seems so
have you taken any psychedelic substances?
yeah that's actually one of the only complaints about Java I have never heard before and also don't agree with lmao
you can pass by value if you want, like really easily
but rarely do you want do to that to an object
reference is different to pointer
what's the difference
nah I can see where they're coming from, it's an apparent inconsistency, but I think it's mainly bothering them because they're a c++ nerd
reference means you are using the same pointer
but you dont have to deal with the pointers
its just a symbol
what? lmao
oh you mean accepting a reference
yes
yeah you are poisoned by C++
lmao but that just clears so many things up in java
and still, unnecessary complexity
the times I want to pass objects by reference vastly outweigh the times i want by value
isnt it confusing that Integer class in java is pass by reference tho
took me a week to find out
bruh you are poisoned by java
have you tried any other Gc'd languages? lmao
garbage collection? lmao
i'd take java's easy rules over the nightmare that is l and r values and passing by reference or r-value reference
but java garbage collection is surely pain in the ass
fucking lmaooo
tbh thats quite easy if you get used to it
Java garbage collection is some of the best in the biz
tbh Java's rules are quite easy once you hear a single person say them once
sometimes it just deals troubles to some classes like sql
you can explain all of that minutia in Java in a single sentence
huh?
there is a bug known to cause heap problems in sql
hhhhhhhhhhhhhhh
wait
HHHHHHHHH
star what r u learning these days in uni
rn i'm taking foundations of computation theory
like a history class?
so we're learning like deterministic/non-deterministic finite automaton
not really
more like retracing and learning how this stuff was made
and we're doing like regular languages and regular expressions
sounds exciting
yeah it's actually one of the first time's i've learned anything useful so far lol
oh i'm also in advanced algos & ds, but it's super boring cause it's pretty simple stuff
Turing machines are fun
so i did RSA in Rust
we're not there yet ๐
shame
and like, the way he's describing regular expressions is so bizarre
cause like, I know how to use them in practice, but he's defining them in such a weird way
probably related to gc
ah, a dev.to article
the pinnacle of reliable sources
and this is only with custom classloaders lmao
mr palace java does have memory leaks
that's no secret
but that didn't stop every big company from using it anyway
and hundreds of thousands of servers
and not to even mention how amazing the HotSpot vm is
I will not stand for it being called amazing till they make me personally happy and put in some good hotswapping
lmao
ngl man I don't really trust like that
like, running a server in IJ and using the debugger
that shit too spooky for me
I feel like we've talked about this before
yeah lol




