#dev-general
1 messages ยท Page 624 of 1
Rather small data sample, but during the 5 minutes or so during the climb it looks like a chunk was updating
So what can I do?
I'd cry tbh
nothing i can do?
There's probably something you could do, but hell if I know what it is
Yeah you really don't need to keep pinging me
@tame bane I wouldn't recommend help from him.
Also #minecraft would be the better channel for your query. And have patience.
y?
As mentioned by Zodd in a previous message: #dev-general message This channel is mainly for developer related topics, while #minecraft is a more general channel for minecraft related content.
try installing the spark plugin and run the profiler, it can get a lot more detailed information about what's potentially causing lag
spot the transphobe
it's you
I found you
Tik Tok removed this because it triggered too many libs!
oh that is typical
I worked a job for 2 years that had the title "Software Developer". About a year ago I changed position at the same company to "Full Stack Software Developer".
Would it look better on a resume to put Jr. Software Developer for my first job as opposed to Software Developer to show that I kinda got promoted?
Yeah, full stack is front and backend
Iโd prob put both on resume, have a title for the company, then smaller points for the sub roles
Acme Ltd
โข Jr Software Developer (August 21 - November 19)
In my role I did X Y and Z.
โข Full-Stack Software Developer (November 19 - Blah)
I was promoted to this, did X Y Z
well i'm gonna run for like 6-8 servers
it has 16 threads
but im not sure with the E-cores
they have a lower clock speed ๐คทโโ๏ธ
Anyone have resources for working with the python library quarry?
Im looking for website devs dm me
๐
need help on how to get updated code to the original developer github? My github never seems to work using github desktop
@tacit caveI run mine on a i5 4th gen OS is Debian, 32GB ram
how many servers?
7
linux is the key, SSD also helps
what version?
Debian is the distro I run
Can somebody help me with something
Afbeelding
I want this in my Tablist.
----[--
dont know how to make it.
I cant send a image XD
i want this together -----[--
Looking like a sword
bold of u to assume they want to pay ๐
I missed your comment earlier, thanks for the input! ๐
okay so my 1.16.2 deluxechat config is not working on my 1.16.5 server
could someone help me with this maybe
#spigot-linking then move to #deluxechat
sirry looked over it
๐ญ Dkim = Good
Lies
thats not a vanilla feature afaik
yeah it is
when you select a item slot it shows a white transparent box around the slot
What is a good starting tutorial for MC plugin coding?
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!
then check the spigot.org/plugin-idk-something-here guides
they should help ya
and also some youtube videos too
also the javadocs
i havent talked in here for a while ๐
Good thing
since when?
oh you mean the hover over itemstack overlay, i thought that you were on about the check mark box showing up
he's not talking about the checkmark I Don't think so. I think he's talking about he white overlay
when you cut down the image to a point where context is lost its difficult to tell what you mean
yeah. but I'm fairly certain you can't remove that with plugins or resource packs
you would need a mod or something
ohhh i see how its done, you have to create a custom font character and put that in the inventory title and that font character has to be the inventory fully made, not individual slot retexturing
or atleast thats what google says
the actual highlighting is done clientside so unless you get people to install a mod removing it then your kinda stuck for retexturing specific itemstacks in an inventory but using a custom texture that overlays the inventory it seems to be at a higher priority then the hover overlay so its not visible .
Ohhh, that makes sense, so instead of texturing the actual gui, you use a Unicode image to replace it with a custom onw
I know how to do that
Thank you!
yep
you dont texture buttons, you just use a single image that overlays the inventory
Yeah, and then I can leave some slots transparent for things like the input bar in a anvil
haha guys. don't forget to break; or return; from a switch. you might end up spending 1 hour trying to figure out why the fuck a message is sent 3 times and sometimes even to everyone and then go insane and start hitting the wall with your head
man I love life
switch statements are fun
Lambda is pog
if it were my choice I would've used when instead. but its not my project lol xD. I'm slowly starting to change stuff but very very slowly
also when was that added? bcz java 11
That has nothing to do with lambdas
Oh okay
yes but not in the context of switch expressions lol
-> is lambda except when it isn't lmao
haha. suck it
lambda lambda = new lambda(ฮป -> {});
half life?
Sus
oh hang on I got it
Confusion
ฮปx.x+1 > x -> x+1
it's for lambdas when it's for lambdas, it isn't when it isn't
i.e. the topic in question: switch expressions
does it consider the lambda symbol a valid naming? ๐คฃ
you should see Julia
you're actively encouraged to use symbols in names
Like / has a different meaning to รท
/ as in this ratio
if lambda is ofc pi is lmao
Any python users out here?
Get out
back in the day I used to do it, is there something you need.
i use python sometimes
i need a cheap dev for 2 addons for bw1058:
the first ranked bedwars (not only a rank, but a really system of play based of elo and division. Send player in different game with same elo/division. For Bungee mode)
the second is different multiplier of xp for different rank, live 2x, 3x etc..
sorry for my bad english and for price we can tell in dm :D
ratio as in L+
Is this a correct representation of depth first search in a tree?
I mean the tree was already represented in the correct order. just started from 1 instead of 0
but yeah
oh god you are right ๐
lol
That's so cursed
suffer
quick question: how do i check if a player is on the ground
i can't just check if the block below is ground because what if the player is halfway up
or what if the player isn't standing on a full block
i'm in 1.8.9 btw
doesnt player.isOnGround() exist?>
i read that that's deprecated
maybe that's only in later versions though? ill check
yea it's deprecated
it doesn't seem to be
i read somewhere though that it still runs the same function, might be wrong though
i'll use entity.isOnGround for now but if anyone has a better method plz say
i would say get the player's location, get the block version of the coordinates, so player.getBlockX(), getBlockY(), etc and get the block at that coordinate and the block just below it, check if both blocks are air or not.
or check if the location's Y coordinate is exactly .5 of something
if its exactly .5 then its probably a slab
im on the lines of it being true
Just use Player#isOnGround
It works fine
Thing is "being on ground" is controlled by the client and it may be spoofed
Chanced are if that is spoofed, many other things about the position will and you won't be able to tell the difference
And even then what are the odds it will be
And you definitely don't want to try and check it manually, taking into account the player can be on the very very very edge of a block and still be on ground, considering the many different heights (inside a hopper, snow layers, anvils, beds, chests, yada yada ...)
they all have different places to be on and still be "on ground"
theres alot of shit that player.isonground probably already checks
wait, couldnt you just check a player's Y velocity and if its 0 or not
use an anticheat if you really care about isOnGround being correct
good ones will correct it. Alternatively, if you want to just be your own anticheat, do:
boolean trueGround = player.isOnGround && (player.y % (1 / 64) < 0.001 || player.isNotNear(boat or shulker));
i dont think its cause they think isOnGround is the wrong value, it think its cus the player version of the method is deprecated
alrighty thanks
most cheats will not follow (1 / 64) rule, only paid and some 1.8 ghost clients follow it
and verus disablers
it's deprecated in like every version
it will work fine
I'm loosing my mind with this SQL stuff;
TABLE CREATION QUERY
CREATE TABLE IF NOT EXISTS SystemButtons (ID VARCHAR(255), guildId VARCHAR(255), channelId VARCHAR(255), messageId VARCHAR(255), PRIMARY KEY (ID));
INSERT INTO ... ON DUPLICATE REPLACE QUERY
INSERT INTO SystemButtons (ID, guildId, channelId, messageId) VALUES ("Link", "${message.guild.id}", "${message.channel.id}", "${msg.id}") ON DUPLICATE KEY UPDATE ID = "Link";
It inserts the value initially just fine- but when it comes to UPDATE DUPLICATE, it just does nothing. Doesn't add a new row, or update existing ones.
*There are no errors generated when the INSERT INTO... statement is ran.
Do you mean ON DUPLICATE KEY maybe?
insert into ... on duplicate replace query -> insert into ... on duplicate key replace query?
Maybe
query?
I just wrote what you did
should be possible with just id
it was already there
Oh I thought it wasn't because of INSERT INTO ... ON DUPLICATE REPLACE QUERY
My bad
lol
I think I see the issue haha.
Yup- I was replacing the ID and not the values xD
i think it's just a case of it's 3am, so nothing makes sense.
why would you use SQL
just be a good programmer and make your own database in C
then make a Java wrapper and a Rust wrapper
Me yesterday
Sigma grind rule
not funny?
didn't
laugh
haha
gottem
laughed more at the comments. here's a good pickup line that I'll definitely 100% no lie for sure going to get to use https://i.imgur.com/tDIFUeG.png
๐
I'm sorry to hear that
Hello can I ask some help regarding my discord account?
?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.
e.getPlayer().getWorld().getFullTime() / 24000 %= 7, boolean
yes

hey so i'm trying to do some scoreboard stuff, and setting the scoreboard works fine:```java
ScoreboardManager manager = Bukkit.getScoreboardManager();
Scoreboard scoreboard = manager.getNewScoreboard();
Objective objective = scoreboard.registerNewObjective("main_scoreboard", "dummy");
objective.setDisplaySlot(DisplaySlot.SIDEBAR);
Score score = objective.getScore("test string");
score.setScore(1)
but when i try to change it with this code: ```java
Score otherscore = objective.getScore("not test string");
score.setScore(1);
it just adds "not test string", instead of replacing "test string"
this is in 1.8.9 btw
use fastboard + 1.18
you're telling me to switch versions lmao? have you thought that maybe i'm using 1.8 for a reason?
i'm trying to do something very simple, i did this in a 1.16.5 project and it worked fine there but i'm not sure what's wrong here, so i'm just asking for help
why would you expect it to replace "test string"? that's how scoreboards work, they add an entry / score if there isn't one already
it worked in my 1.16.5 project, tho i might be missing something
if you want to replace "test string" then use getScore("test string") lol
wdym
Score otherscore = objective.getScore("not test string");
Score otherscore = objective.getScore("test string");
could you explain how this actually replaces the string
because from what i understand, you're just getting the score here
not setting anything
bm, if you look in the code he uses setScore (the second time) still on score and not otherScore.
unless that's not how their code looks in reality
well that's even weirder lol
what's the point of getting otherscore if you never use it
give me a sec
multiple score holders can have the same score value
it's not like only one can "reserve" a value
i.e. it's not a Map<Integer, ScoreHolder> or however you wanna picture it
if you want to remove one entry, you need to know the name of the entry to remove
not in a bimap ๐
i used a bimap the other day, felt really cool
yeah but Minecraft score objectives are not yours to control in that way
Anyone know what the purpose of the shade button in linux?
Since all it does is minimize the window... but keeping the title bar ๐ค
specifically using XFCE
which button
I'm on windows atm
๐ฅฒ
was looking up the shade button
but could only find results on how to enable or disable it
Sublime Text ftw ๐
This made me laugh out loud
hi cat
no
I love it.
long story
kinda looks like a fucked up java mascot
๐ฎ ๐ฅฐ
I love cat
HOW R U DOING
here's the long story:
Represents the condition of the man of genius imprisoned in thoughts about the immortality of love and the mortality of the body influenced by Schopenhauerian philosophy focusing on the loneliness and opposition of the superficiality of contemporary society
ah very nice
I definitely wrote that and I know what it all means
written by someone who has never loved clearly (or even observed love?), because in what universe is love immortal
yep yep definitely
and I definitely know what it means too
๐
|| btw just a tiny bump :) ||
it's equivalent to double clicking on the title bar of a window dkim
to make it max size
there's probably one universe in the multiverse where that is true
on linux or windows
well idk. I haven't travelled the multiverse yet.
I'm just assuming
linux has many different desktop environments so that's entirely dependent on which in question
considering there's infinite universes
xfce
but windows has the feature I'm referring to
why
it keeps the title bar but hides everything else
send feet pics
windows doesn't have that afaik
if you knew what it did
then why the flippity flippet did you ask
i wanted to know what it was used for
like a usecase
since for me it seems useless D:
because he was filppity flipping curious
absolutely splendid
perhaps some people like a stack of windows on their monitor
how are u dkim19375
That's VERY nice
then disable it.
I am having a great time, getting help from HelpChat ๐คฉ
ignore me
Nooo we can't hide it
no piggy.
I will not be ignoring you
ok
Hi Piggy
why not?
because then I won't know what it will be used for ๐ญ
but yes. I never use it. I just double click if I want to maximize
you literally said above what its used for?
no i mean
its a maximizier or something like that
maximizer?
well you said it makes the window full screen with the bar still showing. that's maximizing a window
they dont call it the helping chat for nothing!
nononono
It's pointless
right
but that's not maximizing
I imagine some people must like having a cd-stack of windows at the top of their monitor
but you can only have 1 of those
and if you have another window, the "shaded" window overrides it
so for ex u can have a title bar at the top even though you have like chrome open
yes
shade - Roll up the window (only display the title bar).
that's what it is used for
ez
yes but I don't know when I would ever use it
since you can't stack the title bars either (only 1 is every displayed)
when you want 1 to show over the others. for easy access or something I guess?
Hm
Hie would that be easy aces I'd u can just see it at the bottomn
How*
Access*
If*
Bottom*
10/10 spelling
Could just edit...
you don't have to drag the mouse all the way to the bottom I guess. idk
Nah
perhaps the bottom of your screen is obscured by an object and existential woes prevent you from moving it
is also a good example. I have a "Smart" dock, that hides itself when I'm in other apps
So basically u have stuff at the top rather than the bottom?
not necessarily at the top. anywhere on the screen I guess
i prefer mine in the middle
it is an option
if the app you shade is not fullscreen, the bar will stay where it is
What is the normal encryption used when passing passwords to a login server? MD5 or Sha256 (or other)
Isn't md5 insecure?
I love cat
yes
are you sure
pretty sure sha256 is started to be replaced? idk. I haven't watched security related stuff in a bit
Pig mid idk ๐ฅฑ
Ok so whats the best encryption option? (currently)
Jk all loves
Or should I just create my own algorithm?
wait
sha256 is not even encryption
I don't think
๐ฅฒ
its a hashing algorithm. its supposed to go 1 way only
SHA256 is nice tbf
and this isn't a very easy question to google because there'll be a thousand different people telling you a thousand different things
but that's how you want to store passwords as well
what you want to do is when someone (at least that's what I Remember)
enters password -> password is hashed -> hashed password is passed to server -> hashed password is checked against the stored hashed password
Yeah but alot of known hashers have decrypters already. Might be beneficial to make my own. Would take longer if at all for users to come up with decrypters.
Add a salt on the end and ๐ช
you kind of have to learn the whole shebang to find the answer
Why would you make your own?
Diy queen
Kinda just answered that.
Just add a salt to the end and youโll have a unique string, that โknown hashersโ wonโt have
if it was hashed in the client, wouldn't hackers just be able to send a network request with hashed passwords if there was a database leak?
yapps, these are tested algorithms made by some of the smartest people in the world
whereas if it's hashed in the server, then they can't do anything with hashed passwords
you are neither a security expert or one of the smartest people on the world
please do not compromise the security of others for your ego, or whatever
that makes sense. idk how it works. I guess you just make sure you send the password over https
I'm not currently. But neither were those people when they started out.
I used to watch tons of videos about security. but like. I have bad memory
but they didn't make those algorithms when they started out?
and their earlier projects most certainly weren't used by the entire world
and they probably were math geniuses
Exactly... They made their own ๐
when they started out
who are "these people"?
yapps, you can make your own algorithm
you just cannot under any circumstance ever use it in a real project
yes but we're not using those first algorithms to this day
Yapps, sigh, use something that works and is tough rather than just making your own lol
u cannot seriously be considering this
Security is one of those things you canโt afford to mess up
And 100s of downsides ๐
^
People that have made hashing alg
I can xD
hashing isn't encryption btw
My own would be fun to make and a challenge
and what happens when your algorithm inevitably gets reverse engineered, because it will, because you don't know what you're doing
I'm going to make sure not to use your services. like ever.
think about the ethical, legal consequences of that
Then you remake it ๐
Or make it better
๐
lol
Yeah ok xD
Canโt believe we are having a convo about this, someone wanting to recreate what already works
_ _
if you're storing sensitive data, and that gets leaked, and it's reverse engineered because of shitty security practices
you will get fucked over legally
ok sha256 was made by researchers for the US government, and has been proven safe by thousands of people that actually know what they're talking about
frankly you're kidding yourself if you think you can do better
the majority of the web runs of SHA-2
Never said better. It could be but I'm not at that point.
then why are you using it in a public project
then whats the point?
again, feel free to make an algorithm, you just cannot ever use it in a public project
Iโm using SHA256 hashing myself, I wouldnโt ever make my own for something to severe
Iโd rather use what the professionals have tried and tested, not some rando
I donโt have the experience to put my users at risk
Let me just make something clear.... I have not said I was making a project....
The question I asked was what was the best hashing/encryption for sending passwords to a login server.
Then asked if my own would be a good option but most users here got made because I asked that LMFAO
um
Never said I was. I just said I can
we "got mad" because you seemed to suggest that you knew better than the industry standards, not because you suggested making your own
I made it abundantly clear I didn't Try reading my messages ๐
i.e "if they can do it, so can I"
I said it might take longer than normal hashers because mine wouldn't be known
yes and we're trying to make it so that you can't
since can might become will
...
that is not how security works
Adding a salt would also make yours not known..
That literally is xD Takes time to reverse engineer security measures.
๐
it's computationally impossible
wellllll
Super computers
super computer wouldn't be able to do it
my welllll was for the quantum type
even that will take a long time
Anything is possible with enough time. (Yes even millennia)
atm
see you in a billion years bm
billions - trillions of years
that is not a concern in the slightest lmao
u effectively cannot reverse engineer sha256, or any other good hashing algorithm
it is just not possible
Thats a lie
no it's not
effectively
do PlaceholderAPI suport Realistic seasons ?
the only thing you can do is brute force, which takes an extremely long time, hence the "effectively"
Remember, Yapps knows better about security
yeah sure, but by the time quantum computers are mainstream there will be new ways of hashing
clearly lmao
I'm not gonna post links or anything pointing towards it, do your own research there are plenty of dehashed Sha256 leaks.
...
For a start, they donโt use a salt
those are just rainbow tables lmao
and yeah, salting makes those completely redundant
nice little anecdote of education failure:
I had a university grad straight face tell me his 4x1070 computer could brute a 521 ecdsa key in 4 minutes just running hash cat
lmao
ohh ya ty
yeah. from what I've heard rn the main concern is storing leaked hash messages and stuff and decrypting them when quantum computers will be more common. but that will mostly just affect stuff at country level for the most part. since in 50-60 years, whenever it happens, I won't be around lol
i think it's still speculation that quantum computers will be able to break the hashing
Note to self: donโt sign up to any Yapp related services, even with a random password
like nobody has proved it to be possible yet
idk but I've seen like OpenSSH adding extra protection for that.
already
I have a friend called time who's working on it bm
we'll see what results they produce
bit of an odd target
you can't kill something that doesn't exist
yes but let's entertain us existing for the sake of hypotheticals
we don't have nukes
alright. I think I Can almost do that
there's only ~20 something mil of us
It is of course also possible to use a 256 bit pepper, which is a salt value that is kept secret. In that case "cracking" the hash will require both the password and the pepper. We cannot do that even with quantum computers because the energy requirements would be too high (cracking > 128 bit security against classical computers or > 256 bit against quantum computers is completely infeasible and forever will be)
Not sure how true this is, but I was looking and saw it on a SO answer
ed25519 
well idk. but I've seen that the us gouvernment already is working on this. or at least some department together with some companies and organisations
they'll regret the day they decided to use "forever"
we'll see
apparently breaking sha256 would need something like 50 million qubits and the most powerful quantum computer at the moment only has 127
that's fine
we'll become a type 2 civilisation at some point. that's when we'll be able to use it
blitz you seem to have conflicting views
idk. I'm just trolling
yes
the survivors will raise from the ashes like a phoenix.
or like a pokemon
and will evolve
It seems like you guys are forgetting that all of this had to be created by someone or multiple people. Just because flaws have not been found yet does not mean there aren't any xD
^
That was you're point and others point which I literally said was invalid xD
yapps, any existing flaws have eluded the smartest mathematicians, computer scientists, security experts, no-life hobbyists since the invention of these algorithms
they are so incredibly well tested that the entire world uses them
you, simply cannot do the same level of testing
not even close
The point of the conversation is that you can definitely make your own to learn, etc, but use the known good ones for production products instead of your own, it's not that hard
you said and I quote
That literally is xD Takes time to reverse engineer security measures.
and
I said it might take longer than normal hashers because mine wouldn't be known
but if someone puts their eyes on your database, it might literally take days or hours to reverse engenire
They did not come up with SHA256 in mom's basement when they were in their early 20s

holy shit how many times do I have to repeat myself? I've said multiple times that those people were mathematicians and geniuses when they made those algorithms. and you clearly aren't any of those 2. how can you claim to be able to make it better?
The same can be said for any database
yes. but its a difference when it takes 2 hours for yours
what's going on here
and 200000000000 years for others
They have decades upon decades of experience and formal knowledge and studies on everything-mathematics and security
you don't
is yapper rolling his own encryption algorithm
he saying he can do better than sha256
Yapp thinks making his own hashing system is better than sha256
nope
As sha256 can be โcracked@
no one is saying, don't do it. just don't do it publicly. until you're at their level and can prove it will take thousands upon thousands of years to breach
yes, do it for the sake of learning I guess but you claimed you can do it better. which is false
i mean yeah if you publish a peer-reviewed scientific paper proving your algorithm, then maybe it'll be good
that won't happen though lmao
Literally proved you wrong 3 times now. I said "Currently I can't do it better".
I wouldnโt put my users at risk by making my own, like I said above, security isnโt something you โyoloโ with
you did not prove me wrong at all?
yeah this is why I use Django's authentication stuff man
i ain't doing that shit myself
Then stop lieing LMFAO
;-;
gonna rediscover CSRF and shit lmao
๐
respecc
I've screen shotted it LMFAO
who? this mf. I'm going to start trolling as well now.
I am making a class plugin, and I wanted to know how I can make certain potioneffects when choosing a class
I'm waiting yappers
I mean to be fair, show this screenshot lol
you did say you took it
"no"
if he can be a troll, I Can be an even bigger troll
I have a screenshot of yappers saying he eats sandals
but won't show it
I mean if everyone got the same understanding out of this conversation, it was probably for a reason
you literally argued with yourself in this conversation then
OMFG lol. Keep thinking that way. You didn't even fucking read the convo and just argued with messages others were sending.
here you go
I can get screenshots as well
... delete your messages if you want to argue. but oh no, I Can see those as well
Yeap and it has logic to it.
stop
.
"a lot known hashers have decrypters"?๐คจ
oh this is still going on ๐ฅฒ
nah
oh
security through obscurity ๐คก lmao
it was* still going on
watching youtube
wanna play some good ol' bedwars?
master, that topic has ended
not rn, gtg in like 5 minutes
smh piggy. you clearly are overwhelemed. just close the channel
5-10 minutes
alr
if you can mathematically prove that there are no flaws, then there are no flaws
"ur wrong"
I don't care if you guys go back to arguing the actual argument, relating to why current encryption methods are good, why yapps making his own is bad
the issue is it devolved into a who said what, accusations of trolling, even name calling lol
u smell
respect needs to be maintained
shut up
You dun goofed.
lol
brister mitten addressed that
joe
At that point it will be computer vs computer hashing and decrypting each other.
Gonna make CHA256 tomorrow, because fuck SHA256
bro ChaCha is literally a thing
Lmao really? Bout to do the Cha Cha Slide Hash
bout to cha cha whoop your ass
haha
let's say i have this code creating a new scoreboard: ```java
ScoreboardManager manager = Bukkit.getScoreboardManager();
Scoreboard scoreboard = manager.getNewScoreboard();
Objective objective = scoreboard.registerNewObjective("main_board", "dummy");
objective.setDisplaySlot(DisplaySlot.SIDEBAR);
Score score = objective.getScore("Test string");
score.setScore(0);
p.setScoreboard(scoreboard);``` (p is defined)
and this works fine, creates a new scoreboard. but how would i change line 0 to another string? for example from "Test string" to "Not a test string"? thanks
okay i think i've solved this by using scoreboard.resetScores
That's one way to do it yeah
can you use a single domain for multiple google sites? example; site1.customdomain.com site2.customdomain.com
You mean subdomains? Yes
yo antone know react native
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
just now saw this but finally fixed it after so long xd
gonna make a system for hiding a whole plugin jar inside a cpp exe to avoid decompilation
and then the cpp exe is gonna hook into spigot itself through socket
wdyall think
dumb bundle wasnt being created when i was installing expo
like people can still gonna compile the whole source code with decompilers in java even if your jar is obfuscated
but wrapping it up in cpp just makes it a whole lot saver
ok
I think it sounds like you are trying to install malware on peopleโs servers
And trying to get people to help you with it
sounds like someone's gonna write something to intercept the socket connection
Waste of time just make a real rat
lol it surely sounds fishy enough
i have thought about the exe being too malware like
but the programs gonna be open source
and i will make sure the source code corresponds to the program at run time
like adding sha256 for checksum
I have thought about it and the solution is by using sha256 as the checksum
Like ones gonna upload its source code along with the jar to my site
then the sites gonna hash it with sha 256 and put it in the exe
the jar will be compared to the sha256 hash runtime and check if the whole jar matches
if not, then the socket/jar is intercepted/modified
but surely people will have to trust me enough before they use my program
so imma make the whole thing open source
nah im all serious mate lol
I never ever do virus
but surely this sounds kinda stupid this whole exe thing
Yes
#970433903594700850 message
@hot hull not accepting friend reqs
Accept :-;
don't we all
I do ๐
Bit of a strange question, how many bytes does float[4][0] take in a 64 bit system ๐
it's for some homework, I have no idea how to calculate it
I doubt it's 4*4
4*4
A float takes 4 bytes
yes
12 bytes + 4 bytes for their size + 4*4
4 bytes
An array takes 12 bytes of space + 4 bytes + 4 * the size of the array if it has floats
32 bytes then ? idk
wait imma research
Been trying to do that for a while haha
Java
is 160 an option?
Nope, it's either 80, 88, 56, 96
I'm pretty sure it's JVM dependant
There's stuff like object headers which are quite implementation specific
this!
pretty sure OpenJ9 has different object headers than hotspot
Looks stunning
async function gimmeMyShitFromTheDB() {
const rows = await getFromDB();
// do your shit with rows
}
well async/await is the "standard" "proper" way to deal with promises in js
but what's happening there is pretty much just like, return promise, then pass a function that takes the result and returns another promise, then another function that takes the other result and returns another promise, etc
Yeah literally this, he can deal with the data the same way
But you wonโt have a billion callbacks
wait for the data from the DB, do everything you need to do to it
Youโre welcome lol
Also Iโm pretty sure if you use .then(), it would of meant it was async
yeah async/await is literally just syntax wrapping promises and continuations
Yeah ๐
I love await, makes code much cleaner
Dealing with multiple callbacks always looked super iffy
how can i set a player's absorption hearts? Damagable.setAbsorptionAmount isn't a thing in 1.8 ( the version i'm working with )
nvm figure it out
I believe it was added only on 1.11
You know when you open the Material enum, and it loads it instantly :moan:
haha. I know
Does anyone know about a good mysql + sqlite wrapper with methods like createColoum, createTable etc. ?
No but if you find one, let me know pls lol
ormlite?
JOOQ
Hmm thx will see
Uhm also, what are ways to identify whats causing a lot of CPU usage in my plugin?
I will get back to you in a few minutes
prisma
๐
No you donโt get what I mean
The program thing used to wrap jars into cpp exe is open source
But the exe product (obfuscated junk) is not open source
But it is indeed stupid
Canโt think of why anyone would wanna use it
Any profiler yea
Idk why anyone would make it, itโs a waste of time imo. Mine swell go learn assembly itโll be more useful than that
Ur gonna open a socket and download the jar from where?
The datacenter patched through the intranet directly into darpanet, it'll contact the data supplier and encapsulate the packets with deep bit shifting for an extra layer of security.
i.e. your ass
I'm new here, say hi!
System icon for new server members.
sus
out of all buttons they choose to put a ping button?
LOL
Lil bills a long time member lil do you know
@willow yewhi
hey
hey ems
And you can't remove/disable it either
@willow yewhi
Ems and Santa the only two here b4 me as ik
?
?
?
How can I put a glass pane with specific color in the inventory? There is only GLASS_PANE option
I'm assuming you're using 1.8? Because anything above 1.13 has the specific color
In 1.8 you set the color with item data or something like that
Minecraft version
minecraft is
<version>1.18.1-R0.1-SNAPSHOT</version>
Then it's just {color}_STAINED_GLASS_PANE
indeed...
@willow yewpinged
what?
Oh shit it's little bill
the og
I donโt have a life so I can make it for fun
First the there are obfuscator exe
and template exe (template exe programs with same code with stores the jar data)
The obfuscator wrap the jar code into the template exe in c++ and the whole thing is downloadable from the internet
To use the wrapped up exe with jar code inside,there will be a plugin jar responsible for loading all these wrapped up cpp exe junk. The exe junk all are stored in a single plugin folder.
Sockets will be opened to transfer the jar data into java uri class loader
And then wham,plugin loaded
@quiet depot ^
@potent nest I'm sure you'll enjoy that magnificent production of project Duke as well
I honestly don't know what to think.
Can someone help me with a gui I'm trying to make it so that when u join the server u can use a item to pull up a gui menu we're you can click on a item and it will use the mv create command but it needs to make each new world a different name and then tp you to that newly created world is this possible or should I make a custom plugin for it think of it as hypixel smp.
Thatโs so good
I thought that tv is a microwave lol
Is there a paste like service that can be used to create debug dumps? Something like scans.gradle.com.
I currently use HelpChat's paste but it is kinda messy https://paste.helpch.at/futejuxupa.log
oh my
same
How can I understand what triggers InventoryInteractEvent? If I, for example, want to do an action when a player equips armor by right click when the armor is in the hand, will it be triggered?
d;spigot InventoryInteractEvent
public abstract class InventoryInteractEvent
extends InventoryEvent
implements Cancellable```
InventoryInteractEvent has 3 sub classes, 1 all implementations, 6 methods, 1 implementations, and 1 extensions.
An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.
I'm going to say no
yeah I'm gonna say no too but test it
there probably isn't an exhaustive list out there
then what event can react on such action?
There's 3 subclasses, armor equip using drag and drop fires InventoryClick
php it is
man usually the entire funny is in comments. https://i.imgur.com/K02e1lZ.png
I laughed
rare programmerhumor W
can someone who is good with this plugin pls help me with making something im a owner on a network and im trying to add a gui but it is very advanced and im not sure if its worth making a custom plugin for it
pls dm me
Can anyone tell me what's wrong with my event. I want specific item with a name (which I put in the inventory before) to be fixed. But for now, when I click on this item, it stays in the slot but also is given to my cursor, so it gets cloned. Setting onCursor Item, as I did in the code, doesn't work https://paste.helpch.at/gacuxagihu.cs
and setting it to null too
not sure, but try setting the cursor item on the next tick
instead of doing it in the same tick
https://pastebin.com/QypAJ9PT code
https://pastebin.com/uaSQcmcF error
don't know what i messed up
you're getting the second argument when you checked before to make sure there's only 1 argument
That seems right to me.
<= 2 also means 0
yeah lol
for a second I almost believed you
smh my head
my statement was not completely correct tho as well
I didn't read what he posted. Just what you put.
but its not correct.
if you check length <= 2 that means length can be 0, 1 or 2
so when you get args[1] and the length is 0 or 1 it will throw that error
He checks if they are null in the image you posted.
Screen shot the error
its literally an array out of bounds error
you can't check if its null or not. if the array is not as big as the index you use, it will throw
you won't have a chance to check if its null or not
Then yes you're correct.
well the error is up there. lol
I don't click links. Had a whole convo about this xD
its https
Doesn't matter.
Should be able to send barry a command to get the helpchat paste (or pastebin) as a txt.
AIOOB ๐ฅฒ
so i should check exactly like == ? or what
yes?
yes
thx
Need to check for the correct lengths. Blitz was right in that case. (I was assuming an NPE or something)
Yapperyapps is typing...
Mostly typing a word then alt tabbing xD
Or accidentally hitting 1 letter and it stays there
Hmm anyone know why nginx would return an error 521? It was working fine yesterday...
I have cloudflare setup (proxied) to my IP, and this is my nginx config (map.dkim19375.me.conf):
server {
server_name map.dkim19375.me;
listen 80;
listen [::]:80;
access_log /var/log/nginx/reverse-access.log;
error_log /var/log/nginx/reverse-error.log;
location / {
proxy_pass http://192.168.1.169:8192;
}
}
``` and `http://192.168.1.169:8192` works fine
My other nginx configs also don't work :/
any way I could debug this or figure this out somehow
Anyone know what the replaceement for all the java.security stuff is gonna be? I need to sandbox a couple dependencies and keep running into having to deal with the SecurityManager, AccessController etc. which are all set for removal??
Just Python My Security
Thereโs no 1:1 replacement, but JPMS is part of it , yes
python my ass
but for sandboxing what does the module system do? I see no way other way other than of using the whole permission system with a protection domain when loading classes...
modules by default still have complete access to the whole file system, network etc.
Question does anyone know how to change a mod so itโs works in 1.16.5
Itโs a simple camera mod to record cinematics
It's a lot harder than it may sound, even if the mod is open sourced
Depending on the current version of the mod you'll likely have to rewrite everything
I mean there isn't really an answer to that altogether lol
it's just "updating the things that changed"
do what
this (@sly sonnet)
its an odd one because the mod itself doesnt record cinematic it basically makes it so you yourself becomes the camera and you can then record that from obs
usually i play 1.12.2 so its no issue but im doing 1.16.5
If you send the mod source someone could look at it
i mean i can send the mod itself but i have no idea where the code would be
ikk
1.12 to 1.16 will likely be almost a rewrite so good luck
i mean im willing to pay someone a reasonable price if they can do it
Well #970433902772617246
How did you get the mod?
i searched up Bauer Cam and downloaded the Jar file
I need a mod for help me pls
?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.
its helpchat related. we ended up figuring it out (almost) in #bot-commands
they're waiting for funnycube to wake up and unlink their ld account now.
I see, no one responded to the initial message here, and presumed no one answered or solved the user's issue.
Iยดm I working on set up deluxe menu in api format (so you can easy build a deluxe menu plugin). perhaps I should not publish it (it will then show up lots of deluxe menu cloneยดs on spigot XD).
I feel the purpose might be pretty niche
true ๐ but build it with your menuยดs when players want to also add own buttons in the menu can this be pretty nice.
Huh?
Are you just saying you're making a plugin that generates deluxemenus files?
I am most utterly confused
No I think he's saying hes gonna make an API/plugin that utilizes deluxe menus
I got that in the first message
but was very confused reading this
add own buttons to menu
๐คท
doesn't sound like a good idea, dm doesn't even have an api though
I don't understand it
๐คท not my idea lol
Yeah xD
I'd make my own from scratch
Maybe arrow can explain their idea better
alright I made own custom api. Some use similar idea as deluxe menu. It can in theory use the deluxe menu files, but I have more settings and the name differ on the keyยดs in the yml file (some of the keys at least).
What i mean with buttons, is menu buttons (or what you want to call it). So you made "static" buttons some do plugin stuff (you know like change settings an soo on).
users/players of your plugin, want to add custom buttons with own commands (this api help with this). and is not depended at all on deluxe menu only inspiration.
Sry not mean to confuse. No I not use deluxe menu in any way, only use it as a source of inspiration. I think it will be pretty cool if i get everything done. Deluxe menu have lots of stuff build in (will take time to add all functions). But it will be cleaner an deluxe menu is (I hope so at least).
How long does it take for you to get dev role? I've submitted my request like 2 weeks ago
months
I submitted mine months ago ๐ฅฒ
lost track
Rip
it depends on how much free time Piggy has for reviewing a whole batch
idk how much mine took but I think it was like 2 months or so? some have taken a few days only because that's just when piggy got to review them
so yeah /shrug
Ohhhh it's not deluxemenus, that makes a LOT more sense
sounds pretty neat
Yeah only problem is you barely need code at all when use this api (or yeah you need setup the command logic self) and it support ether one file with all menus or folder you want have the menu's (you set the name self).
So you need fix the logic part how you want to access all menus.
You can find it here https://github.com/broken1arrow/MenuSettingsApi but have lots of work left. I fixed javascript support and compere support (like == and equals) and need fix javadoc also (I not include javascript inside because of the size, so you can self decide if you need it or not)).
I think you could inside your own plugin add that dependency and point my api to that (I see maven can change path import path on a compiled api (I get the issue self when it complain it could find a class and maven change the path)).
Why so much arrow code reeee
it should not have so much really. I working hard on on it and can you point were you find much?
I mean deluxe menu is even worse XD
And you can see in my name way i like arrow code XD
Deluxemenus is a shit show when it comes to code organization
you should try guard clauses
and not throwing rte's
create your own exception extending rte
yeah is on the list. only added as placeholders (will be handle better). as you can see is the code not finish need add more requirement options some missing.
And fix the item logic also (so you can add more stuff to the item (like potions and the effects and rgb colors to potions)).
yeah I see that (I aim to clean up the code also, I fix it more when is more finish api*) and also find bug with the Exp Requirement, it check amount of point to next level not amount you have (he use wrong calculation if I understand deluxe menu wiki). and ways to report bugs is pretty bad :/
- can now in beginning contain some breaking changes on every update (will update wiki also when needed).
I use builder classes instead of what he uses. It make more sens to me use that over his method with setters.
How does the bukkit version naming scheme work? ex. org.bukkit.craftbukkit.v1_18_R2
If I understand correctly:
- v1_18_R2 => 1.18.2 Release
- v1_18_R1 => 1.18.1 Release
Right?
What about1.18.2-R0.1-SNAPSHOT?
1_m_Rn isn't necessarily 1.m.n, see 1.8 for example
How does the bukkit version naming scheme work?
Depends on what md5 had for breakfast
But like unironically
๐คฃ
