#💻︱programming
1 messages · Page 39 of 1
Ye it's nothing big or serious more like a fun project xd but thanks, I'll check the GitHub app
sa
e
Most Minecraft plugins I've seen use different modules, main/ has the core and vX_X_RX/ version-specific files
https://github.com/CitizensDev/Citizens2
The build tool would then build a different jar for each module, no idea if that works for you
Hi
+emoji 
Me too
Which programming language is that
Py or java? I think your using the wrong syntax
mut users := json.decode([]User, s) or {
eprintln('Failed to parse json')
return
}
Oh yeah your a V. Bot dev too
👀
Soo is that java??
It's V
go has some annoying principles
and lacks a lot of stuff
it doesn't rely on a gc for the vast majority of operations
the entire err != nil is dumb
if you're trying to update the x variable to equal 4+3 (or 7), and i'm presuming this is javascript (but the code should work for other languages), reverse the 4+3 and x, making let x = 4 + 3. :)
and then i just realized that that message was probably a joke; i'm so dumb lol
hmm but verified bot dev badge doesn't matter
it's only an identity verification and not a bot's feature testing, they even verified bots with very minimum and poorly made features :/
Damn this channel should be archived. Nobody's here
I mean the last message was three days ago, not really a reason to archive it 😛
mitty
This w3schools is getting hard
I got deeper into Javascript I can't really understand anything in html
Should I stop and start with python?
You should learn html if you wanna do web development with javascript
I am already learning it
But as I said
I'm having a hard time learning the Javascript in it
who would invest in bitcoin smh
@minor roost Eva told me you needed help with a bot or something?
O
It’s not a bad investment albeit a bit too volatile
/passport 245358
You do that in game ;-;
lol get his passport
wait noo
that means his forums account is on our name#
that would backfire hard lmao

I’m 95% sure it wouldn’t work, you can’t steal someone’s account by typing that in game chat
I mean he got the passport
So if someone else typed it
lol
Would've been kinda anxious
guys I have a question, I'm making an index page for my website but after making the nav bar, I cant add text under it but it's coming in the navbar, how to fix that?
look
Can you show code
Aye guys
Anybody that knows packet sniffing?
I am new to this field, and I get a thing / two / three but I still need help with some stuff
Also recommended someone that understands in wireshark
here
its in vscode
nvm i got the error,i put it in the same div as the main container thats why
Yeah that’s what I thought
Damn
?
My brain fried looking at that code
in a good way or a bad way?
also any1 has good tips on what to add in an index page?
this is what i got so far
Bro that navbar reminds me of the khan academy dashboard LOL
Well first u have to decide what u want on ur index page
Prob a bit about ur website
And also I’d recommend going with a more conventional color theme if u want it to look professional
Like black and white or something more creative, but imo light blue text on a pink purple gradient background doesn’t look too professional
I’m not tryna offend, just giving my true thoughts :)
Augum br
.
.
.
!ip
i got banned can someone read my appeal plz 🙂
#💌︱staff・help Ask on that channel, the staff answer faster :))
thanks for the feedback im still a novice so im really not sure of what to do so thisi is rly helpful @minor roost @versed jungle
Yeah anytime
hellllllllllllloooooo
Hiiii
One message removed from a suspended account.
wa-?
Yeah a little bit
I've learned about this in the networking classes
Index page
Isn't it the main or home page of the website👀
First the page whats it all about?
On this page
in the header, the logo doesn't feel right to me the 1. top & bottom margin or padding
2. That blue border and also the main content background looks 🤐 to me actually
3. Add something in the main content get skme projects actually
4. The layout, you should get some inspiration from other websites have a look at these websites(land-book, onepagelove) you'll find so many
Yeah def get inspiration from other websites
I’m actually making a website rn too for a project
But at this point I’m pretty much just copying the layout from another one of my websites lol bc the school will never know 👀
.
lol
yea i reworked the entire thing and also i had no clue what to put for a logo so i just plopped a random img in there

😄
Ohh
How exactly are we supposed to help?
Write a program to hack someone’s Amazon account to make them buy a new computer for this poor fellow so he doesn’t lag
Lol I was gonna say
That’s the Tesla logo
I’m interested to see the final website tho if u don’t mind showing me once ur done :)
😂
sudo heck Masterjoona's amazon account

pls rich
where dollar sign

$sudo heck alfrostbite0100
$sudo heck Mr. Anderson#8888

😅i forgot
$sudo heck memory
No denied
**$sudo heck Wangsheng**
$sudo heck @languid flame
A beginner should start with Js or ?
Lol
Js is good u can learn in conjunction with html css
If ur into web dev
Or else python is also an easy one
Once u know one all the rest are easy
Bc they’re mostly the same just only syntax differences
@languid flame so corns don't appear in this

Anyone here have experience with browser push notifications via service workers? I have them working for desktop, but they don't seem to arrive on mobile devices
How do I name an item from an ItemStack? (Bukkit / Spigot)
i made my own Minecraft lol
(for some reason the new chunk unloader causes a memory leak... but it works and i can't use the old version of it because it doesn't work with the block placement system)
but the new version breaks the experimental threaded mesh generator....
which doesn't work with the current texture system...
the whole project is a mess
90% of which is unused code
and it has a bunch of circular dependencies - a dependands on b which depends on c which depends on a
breaking or updating just one component breaks everything else in the cycle
nice loading screen
ah yes, the nether water
0010111 0101 100100 100100 1010101 100110 10001 01110 101011101 100101 10101 101 10 10 1 11101 110 100101 10 10110 10101
ye
s
?
You failed jesus.
Lmao
Jesus is dissapointed
You get the ItemMeta from ItemStack#getItemMeta and from there you have access to methods like ItemMeta#setDisplayName. Once you're finished doing your changes remember to set the ItemMeta to the ItemStack
oohhh
tysm <3
why water is purple
old mcpe versions (0.14) have this purple water texture
idk why, afaik it was never used
you realize how difficult it is to patch most kill auras?
Not that hard...
Does require an entity tho
Only 1
No...
yes it is
Its not
theres legit thousands of videos of clients with antibots
When you make the entity behave differently it cant detect it
bots always get bypassed
Ive tried 4 hack clients so far non have bypassed
config issue
Antibot belike
^^
Anyone know how to use spigot?
Depends entirely on what you want to do with it
Gamemodes, custom mechanics and pvp
I have this really cool idea but I don't have enough coding time with java lol
I could prob do t but I don't want my head to explode in the process
Well do you know anything about programming?
mhm
I have made 2 plugins so far
not that interesting tho, just a command that sends a message back and custom drops
Well a plugin like that'd take a lot of time and effort
Exactly
And it's certainly.. ambitious to try something like that without moderate experience
Mine took about 15minutes, but I am slow and spent 2hours setting up IntelliJ correctly
I could do it with command blocks on bedrock, not with code tho
Me the exact reverse xD
but even with command blocks there is a lot of limitations. I can't really tell if someone wins unless there is a limited amount of players
I guess Java is plain simpler and easier to read and write than command blocks
yes, and if you write a plugin it will run with the server rather than running off the server
I stopped following command block stuff when they updated the commands, 1.13 I believe
I don't know what you mean by that
I was stuck with commandblocks cause bedrock edition and I was on xbox
It's all run in Java in the end by the server
Command blocks you have to set ticking areas and you have to have it within that area or they won't load. A plugin is just better cause no ticking area
Right
Well a plugin also has a lovely 100-line stack trace to tell you where sth went wrong
That's not what that is
and when I was writing it in notepad (don't ask) I would spend like an hour trying to figure out what happened. not fun
If you forget a ; or otherwise write sth wrong it's a compilation error, the jar won't even build
yea
You get a stack trace when an exception is thrown, while the app is running
Still, you can always try and learn from mistakes
yea.
I just find java more complicated cause I don;t know what half the command lines mean. I am sure I can understand them after I use it after a while but thats like months of work. And working 40+hour weeks doesn't help 😂
You can always try and learn from mistakes
Most of the code you write won't work the first time you run it
And that's fine
I did that. idk how but I first ran my custom command plugin. I couldn't find the cause so I just rewrote it lol
wait whats a plugin?
Wild guess - the command wasn't registered xD
is it smth u write with a coding language or smth with a command block
no
¯_(ツ)_/¯
I was using shockbyte and not hosting the server off my PC like I should be
A plugin is written in a language that a JVM can understand, most of the time Java
oh i see
OH NO I remember
I prefer a vps since you can run anything you need and not just mc servers
Didn't even know that's an illegal character there
not on the file name but in the yml
I know
I guess it's just a safety thing
Since if you d want to use it in a command a space would make the name a second argumeng
My phone can't type
mhm
Look at my very cool custom plugin I made that is very complicated and 100% not only like 8 lines of code.
It's for the gamemode I want to make, to gather food you can loot chests or break leaves
leaves = 2 apples 100%
goodbye I guess. very nice I will go try to find myself a gamer
very op
java or bedrock?
Oh alright, cool
sorry it takes me so much time to reply lmao
Haven't checked this chat for a long time
Anyways, I am trying to practice a little bit packet sniffing and stuff
Like, steal data and passwords etc by connecting my phone to the hotspot I opened on my PC
You know any way I can practice this? Because I know I can't decrypt the HTTPS encryption... There is a way I think to decrypt HTTP but 1) I don't know any websites that use this protocol and 2) also how do I do it
unrelated to what I have written above!
Anyone knows good free cloud database services and also cloud computing services?
Free forever
I have used the AWS services until I realized it was free for only 12 months
I don't think you can decrypt https
ofc you can decrypt it
you just need the session key that was used to encrypt it xd
and HTTP is not encrypted at all, it's plain text
root@:~# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
Connection closed by foreign host.```
you may think you're connecting to http but in reality it's redirecting you to https
If you want a website to test it, you're gonna have to run something on your own PC, since pretty much everyone is gonna use HTTPS thanks to LetsEncrypt
I see.... well, thanks
How long have you been coding
I would get more familiar with it first
Anticheats are difficult
I know people that are super smart and just can’t get it right
And bedrock is especially hard
Cause it’s not “open source” in the way Java is
But above you said bedrock 😭😭😭
Ik, I’m saying more that make sure you have a deep understanding as you will need to use packets and have a good understanding of how the client works. There are some good tutorials online if you don’t wanna take my advice tho
That’s a hard one but def possible. Some good ghost clients click so similar to humans but there are patterns that can be detected
gg
LOL
cube really added bot check in cubecraft store, and u cant even screen scrape it for ranks anymore :(
kinnda mean if u wanna block it than i at least expect some api
Why would you want to screen scrape our store?
Easy answer! I would like to have ranks of players
And what do you need them for?
Well some server give people roles based on their rank
So it could be used to verify/automate it
I am staff at one of cubecraft community servers(400 members) and like KristN we use that info to automate rank roles giving
since theres no api had to use brutal methods xD
Btw you can still use web scraping to some extent on the forums and the store too
not really they added some weird check when u acces store
This worked for me
generally as a rule of thumb we recommend against scraping our sites
I understand but somehow u still have a community! That needs api, oldest posts on forums about it i found were from 2015, 6 years passed and no signs of api
what are we supposed to do
Plz tell me
You can link your account here https://cbecrft.net/passporthelp for future questions, please ask in #💌︱staff・help
Go to the forums at www.cubecraft.net
Hi this is not "unban me pls" channel if u are not sure how to appeal ask in #💌︱staff・help
#include <stdio.h>
int main()
{
int i;
int array[4];
for (i = 0; i <= 4; i++) {
array[3-i] = 0;
printf("%d\n", i);
}
return 0;
}
How to play minecraft bedrock with a wireless CONTROLLER in Server cubecraft
this is programming only chat 🧠
Magic numbers 😔
i was just thinking about this exact thing!
#include <stdio.h>
#define N 4;
int main()
{
int i;
int array[N];
for (i = 0; i <= N; i++) {
array[N-1-i] = 0;
printf("%d\n", i);
}
return 0;
}
better?
is there?
Administrator: Command Prompt
C:\WINDOWS\system32>assoc
.386=vxdfile
.3g2-WMP11. AssocFile.3G2
.3gp=WMP11. AssocFile.3GP
.3gp2=WMP11.AssocFile.3G2
.3gpp-WMP11. AssocFile.3GP
.5vw=wireshark-capture-file .aac-WMP11. AssocFile.ADTS
.accda-Access. ACCDAExtension. 16
.accdb-Access.Application.16
.accdc-Access.ACCDCFile.16
.accde-Access.ACCDEFile.16
.accdr-Access.ACCDRFile.16
.accdt-Access. ACCDTFile.16
.accdu-Access.WizardUserDataFile.16
.accdw-Access.WebApplication Reference.16
.accft-Access.ACCFTFile.16
.accountpicture-ms-accountpicture file
.acl=ACLFile
.acp-wireshark-capture-file
.ade-Access. ADEFile.16
.adn=Access.BlankProjectTemplate.16
.adp-Access. Project.16
Hello, someone who understands programming could tell me what it is A.privacy.AnubisTrojanBanking

@sweet barn Is there a way to detect if there is someone conencted to a java server with Geyser?
without the plugin or whatever installed like they join from geyserconnect on bedrock
You can check the client brand but that is able to be spoofed
How do you code?
import code from 'magic'
code()
print ('hello world')
well..
thats nice
:(
@minor roost
there are prolly websites and videos that can teach you how to code
Why do I need to code?
you can use code to make websites and games and stuff like that but you dont like "need" to code
Oh ok
You can learn to code bcs you thought it will help automating something just to realise u spent 2 months automating something that could be done without coding in 2 days
a
true
console.log(`Hack the planet`);
Just wondering, this is kinda unrelated to cubecraft, but is html considered programming lol?
🥺
HTML is a language used to describe the structure of pages, programming languages can do logic, e.g. if(x + 1 > y) { do this } else { do that }, HTML can't do that
Yes it is
What is this
Nothing, he is just hacking the planet
Javascript🤑
Hacking the web
lol
its a trojan ig?
It's a virus, be careful. Targeting Android users, Anubis is malicious software classified as a banking Trojan. This malware attempts to steal banking information and can lead to victims' experiencing financial loss, privacy issues and other serious problems. Anubis has been observed being proliferated via deceptive/scam websites, which incorporate the Coronavirus/COVID-19 pandemic in some manner.
🤔
No not programming
Ok cool, cause I was having this idea, I could technically make a Java server that allows both Bedrock and java players to join. So games like Survival Games and duels and things are fully crossplay but something like Skywars isn't

Cubecraft developers have u made a new lobby or something am getting bored of the lunar stuff
Just saying
Ah yes. They can just click on the "add new lobby" button and boom! A new lobby will be formed
I did not asked u
And also do u think they are just not working ? They are probably working on it
Just imagine if it was real
No
Whenever anyone asks them to form a new lobby
It's as real as herobrine
100% real
Not clickbait
If its real as herobrine that means its fake
No cap sherlock
wha

also Hyperlands IP is play.cubecraft.net
include<iostream> using namespace std; int main () { int f1,f2,f3; f3=f1+f2; cout<<"enter two numbers"<<endl; cin>>f1; cin>>f2; cout<<"for Multiplication write (M),Subtraction (S), Addition (A), division (D)"<<endl; int m=1 , s=2 , a=3 , d=4; cin>>m; cout<<f1 * f2; cin>>s; cout<<f1-f2; cin>>a; cout<<f1+f2; cin>>d; cout<<f1 / f2; return 0; }
After 4 days learning C++
Good?
Good what?
That's is a very dangerous link
Sent with malicious intent
It will bring you to a land of kb criticisms
?info
what info
info
Someone in Discord linked to this tweet and I figured I'd take a stab at singing it in my totally not awful fake accent: https://twitter.com/bhilburn/status/971019559095427075/photo/1
Download:
WAV: https://kaslai.com/files/program_in_c.wav
MP3: https://kaslai.com/files/program_in_c.mp3
So true
Yep
tfw someone says it sarcastically and no one gets it
It is real
They have a button
That says create new lobby
And u can add a theme
Like winter
And boom
New lobby
$sudo heeck
My man it was a joke
The guy whom I replied too just said "Cubecraft, add a new lobby" so casually as if they can just click on a button to automatically make one
That was my joke lol
[sudo] password for 'Agent Obama':
Косово – это Сербия
$sudo Beluga password
@lofty aspen
$sudo reverse
try reloading and trying again
ok thax
$sudo heck obama 
$sudo echo ObamasLastName
Enough with the among us.
No one will ever know
Personally I think it’s “Care”
sudo heck Cube raft
$sudo heck Spuuuni
$ sudo heck=user.system>usage:destroy1074,delete>
enough with the sudo meme please
heh
care
x)
Its actully Barack Hussein Obama
who?

$sudo echo ObamasLastName
So I don't really understand the structure of html embeds for discord but basically, I have this rn
And I want the embed to look like this:
basically make the image not just a preview
I am using these meta tags with flask
<meta content="{{ filename }}" property="og:title"/>
<meta content="{{ url }}" property="og:url"/>
<meta content="{{ img_url }}" property="og:image"/>
<meta content=" " property="og:description"/>
<meta content="#fd4c4c" data-react-helmet="true" name="theme-color"/>```
Working on Arabic language for Minecraft bedrock :P
U can translate it if u can't understand Arabic don't worry
It's ok but how is this a green Bed?
The third image
The camera man hide it by mistake 😂
Thank u 🙏
You can't have opengraph for raw files, discord will just take whatever name it can and show the image's (or whatever) preview
The gyazo link is a regular html page with the opengraph tags and og:image set to the raw location of the screenshot
Yea that's what I want
Bur I don't understand the tags
Is there some api reference for it or documentation?
Google "OpenGraph"
Thanks
anyone able to explain me why i cant type § in minecraft?
im just curious, is it some special character or something?
@scenic sierra is bald
If you're doing it with Alt+2+1 on Numpad it's not gonna work
you can however paste it
ye ik but if i paste it in i get kicked
well you shouldn't get kicked
i get kicked for illegal characters
Oh well if you send it and the server kicks you then it's just programmed that way
yea ik, im wondering why xD
thanks
but u can access them with &
& is just convention, Minecraft doesn't use that as a color char
it's replaced to § with plugins
aah alright
🙄
I used literally the same meta tags as Gyazo, but it's still different
<meta property="og:url" content="https://gyazo.com/a304f0d7dfcb0dafac89210cbef9f3d8/">
<meta property="og:type" content="website">
<meta property="og:title" content="Gyazo">
<meta property="og:description" content=" ">
<meta property="og:image" content="https://i.gyazo.com/thumb/1200/a304f0d7dfcb0dafac89210cbef9f3d8-png.jpg">```
it's still not a full-size image
rather a small preview
idk try setting image:width or sth like that
see its name exactly at https://ogp.me
yea that just change the image size in the preview
yea but I am using the same meta tags as Gyazo
so I don't understand why is it different
discord may have its own implementation for certain services
ohhhh
right
that might be it
then I'll have to make the image in some other way
pinche pendejo pon a tu mama a dar vueltas pero en mi pitoy haz tomarte cosas blancas aca joto hijo de puta
https://sessionserver.mojang.com/session/minecraft/profile/<uuid> <-- instead of uuid, is there an endpoint where i can search by name?
i want to integrate a minecraft command into my discord bot where u can search for your name, and get your skin, capes, and all that good stuff
its not user friendly to have them enter their uuid
have you added the username at the end?
yeah, lemme send what i put in the url, one sec
oops, nvm, i was entering the name wrong LOL
thanks!!!
yeah thats what i was looking through for a while but i couldnt find the exact thing i was looking for
Anyone knowd html 5?
theres one thing i cant find in here though, its the player's skin.
https://sessionserver.mojang.com/session/minecraft/profile/c18da79f55cb4ff9b26c90eb4612c6a6 <-- is the link to my profile, but it doesnt return the url of the image.
{
"timestamp": <java time in ms>,
"profileId": "<profile uuid>",
"profileName": "<player name>",
"signatureRequired": true, // Only present if ?unsigned=false is appended to url
"textures": {
"SKIN": {
"url": "<player skin URL>"
},
"CAPE": {
"url": "<player cape URL>"
}
}
}
is what it's supposed to return,
{
"id" : "c18da79f55cb4ff9b26c90eb4612c6a6",
"name" : "Jet_Starglaze",
"properties" : [ {
"name" : "textures",
"value" : "ewogICJ0aW1lc3RhbXAiIDogMTY0NTI4MjkxOTcwNywKICAicHJvZmlsZUlkIiA6ICJjMThkYTc5ZjU1Y2I0ZmY5YjI2YzkwZWI0NjEyYzZhNiIsCiAgInByb2ZpbGVOYW1lIiA6ICJKZXRfU3RhcmdsYXplIiwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2E2Y2ViNzZiYTFiNjU2NGUzZDBjZjdjNjg0Yzg1NjY0NGU1NWE2YzIwYWYxNjFlZmY3NTgwODlhMjk5MjZiMzYiCiAgICB9CiAgfQp9"
} ]
}
is what it actually returns, i cant find the url of the skin in there.
the value is in base64, decode that and youll get the urls
{
"timestamp" : 1645282919707,
"profileId" : "c18da79f55cb4ff9b26c90eb4612c6a6",
"profileName" : "Jet_Starglaze",
"textures" : {
"SKIN" : {
"url" : "http://textures.minecraft.net/texture/a6ceb76ba1b6564e3d0cf7c684c856644e55a6c20af161eff758089a29926b36"
}
}
}
This is the value field
oh
Yeah what @hard roost said
i found a work around where i can just use another api url to get the skin. thanks though!
okiii
Joke's on you when your examiner understands your code better than yourself
||Totally hasn't happened to me||
go code some anti cheat program
Okk
a
One message removed from a suspended account.
Have you considered that maybe he got more hits than you? Or maybe you forgot to buy armor? Or maybe you lagged and took a lot of damage at once without noticing? Because you must surely notice that you're the only one with this issue and it never happened to you before
or maybe they forgot to put it in changelogs
Владимир Путин
It's cube lol
The Title is obviously a joke, and I am mocking the cubecraft Dev team and the amount of bugs on the server. If you also want these bugs to be fixed please spread it around!
CubeCraft, Eggwars, Montage, Combos, Combotage, Cubecraft Montage, Minecraft, MInecraft bugs, Cubecraft bugs. wii, wii music
My Discord -] https://discord.gg/XcDJafG [- Di...
there is the evidence
We both have saturation, he consistently does 1 heart of damage (no crits) and I only do 0-0.5 damage with a better sword
My sword rarity is
Luke's saber (wood, green)
high republic saber (yellow/gold, wood)
Windu's saber (stone, green)
Anakin's saber (iron, blue)
Dark saber (diamond, black)
Ahsoka's Purified saber shoto (netherite, white)
Minecraft
Yur
?userinfo
no dyno here xD
I’ve had this same issue
Only in the last round tho
I’ll defeat everyone else only to be die from this guy in a wooden sword
Who has tons of golden apples and just never takes knockback
@wheat relic
???
Nm
@wheat relic
The happiness I'm feeling atm. I'm creating my own serialization library (much like Jackson, but lightweight and smaller), and I had many issues but finally works
and the benchmark speaks for itself, it's actually pretty fast
🥳
CONGRATULATIONS
Sweet!
technoblade!
What's a serialization library
a library that can convert data to a format that can be stored or transferred
ahh
big brain time
Oof
Yes
that explains a lot
can somebody please tell my why cubecraft players were noobs at 2021 and litteral pros in 2022 and my bow aim sucks lol
can u please make a better map than this map lol
like one
and add water buckets lol
and make the bow better lol
You can share your suggestions here https://cbecrft.net/suggestions and please keep in mind this channel is a programming channel ^-^
lolololo

Nono, he needs belp, not help
#staff-belp
I do a programming class and somebody next to me uses light mode and use while loops for counters.
Like bruh revise on for loops and start using dark mode 😆
little meme:
or not
p.s build is failing beacuse of unit tests, and they fail because JUnit doesn't like the automatic dependency download system and an agent is not loaded in when testing --> exception --> fail
I have no idea how to fix it: bruh....
i got no time lol
this is a programing channel
not post a vid and report a bug channel 😐
guys this is sort of a stupid question but at least on 1.16 onRightClick events also work when i left click
how can i limit it to only occur on right click?
this is the event
@lime latch use #getAction() and you can filter it with that, some useful links:
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/block/Action.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/player/PlayerInteractEvent.html#getAction()
declaration: package: org.bukkit.event.block, enum: Action
declaration: package: org.bukkit.event.player, class: PlayerInteractEvent
also just a tip, you've used event.getPlayer() many times, bring the Player player = event.getPlayer(); to the top of the method and use it instead of calling event.getPlayer() all the time
I'll try it, thanks
also u can use == instead of .equals() in case of enums, afaik it's much more preferred, also maybe faster (maybe wrong on this though, never compared)
alr thanks though equals is just a personal prefrence
ah I see/understand
if I add a different event for left clicking will it cancel the right clicking one when I left click or will it just activate both?
I have some personal prefrences as well, like I always write the annotations in a descending length like
@IDonTWantToPingAnyone
@IDonTWantToPingAnyoneAnyone
public void [...]
I kinda don't get it, sorry I'm kinda tired
alright thanks for your time
np 🙂
I'm pretty sure it's to do with the order of your tests, since some of them run Icicle.loadIcicle() which installs the Byte buddy agent before the UnsatisfiedDependencyTest test runs. I was able to get it to succeed only when the tests ran in a specific order. Also, this project is horrible to get setup properly inside Intellij :D
I opened a PR that fixes this, probably not the best solution in the greater scheme of things, but it makes the tests pass and will mean you get a nice green tick on your repo :D
what’s popping ?
I am a c++ programmer btw
I kinda know some pythons
I have a certificate here
How’s it going guys?
Guys ,_,?
lll
lol
what the it’s a certificate
My friend made a programming language that compiles into a .mcfunction file, which can be used in game! Was wondering if anyone would like to check it out
Dm me for the link
hello Ali
LOL
👀
U
Guys why I cant run C# file in VS code?(yes the extension is installed and 6.0 .net sdk is installed)
Thanks, I really didnt want to open intellij so I "fixed" it without checking whether it's right, but ye after I fixed the classloader issue the order of tests was the other cause, but I'm quite busy so havent got to fix it, but I guess I don't need to now 😄 . Also surprised you have founs it, we have some interesting stuff planned, even a crazy moduel whoch will allow you tu run code on GPU for ex. for pathfinding.
Oh god I hate mobile keybkarda
hi
Is the new awful bedrock shop in eggwars considered a bug or not? It's super laggy and awkward to use, have died many times now due to it taking forever to close after you press esc....
Before you say anything, I do think this is related to the topic of the channel
As it seems packets are not handled correctly and I'm asking if thers any technical reason for this
Nothing to do with packets, we're looking for feedback on the UI either via forums or in the #🎮︱bedrock but I suppose here is fine too 🙂
What device are you using that has the lag on it?
Very nice
lemme make one myself
i did great
if u ask me
Congrats PAM
❤️
How'd y'all pronounce https://en.wikipedia.org/wiki/Trie ?
In computer science, a trie, also called digital tree or prefix tree, is a type of k-ary search tree, a tree data structure used for locating specific keys from within a set. These keys are most often strings, with links between nodes defined not by the entire key, but by individual characters. In order to access a key (to recover its value, cha...
Lol. I have a bad experience with binary heaps. I was trying to optimalise it, but compeletly broke it. I got indexes of -52718647 for an arra that was a size of 50. The amount of time I've spent to pinpoint the issue, which was that I messed up a bitwise operator and order of operations many times... But eventually it took my pathfinder from 500ms down to 0-2ms
Ehh what language
Java
Spanish
1.)23+-{21}1212|;"2 imagine this being ur discord password
🤮
Oof
@north hinge what did you do?
When calculating neighbor indexes I have messed up the >> and >>> if I remember it correctly
i am learning python
Thats nice
In trying to learn c++
im trying to learn binary code
you dont need to show us a certificate lol
i am coding in C ++ arduino since 2 years
its difficult
but i want to learn to code a mc serveur
Lmfao
What does this mean
Well thats quite the goal, if u meant coding an mc server from scratch. But you will learn a lot about MC protocol etc.
i want to learn with java
Lmk if you want links to some good resources :)
Learn bedrock its better
Nahh
Its hard
??
Huh
Huh??
Huh?????????
huh????????????????????????????
Ok im done with this “huh”
U win
Lmao
i do
Does cubecraft use a self made bedrock server version? or sth like nukkit?
One cubecraft server do they uses plagins? I'm just curious about it
I don't know maybe
Agree
xD
What does that mean? Which programming language do I need to make bedrock plugins and what server version should I use?
it means we’re engaged
When i spend an hour debugging my labels just to find that they work correctly and the reason it wasn't working was because the characters I was comparing were different cases
Painful
Afaik cube runs on regular Java servers with java plugins, but there's a proxy server which translates the bedrock protocol to the java one. It's called GeyserMC
We don’t use a translator 😄
Geyser is made by staff that is currently working for CubeCraft as well, but we’re not using it (:
do servers have the ability to get ur ip
It won't let me play cuz when I go onto it it say my Internet was blocked
does it start with a c?
Yes
"The duration of these IP blocks can vary between minutes and months."
How much months
idk thats all it says
But it's not permanent
no ban is rlly permanent
you can always get an unban/ur blocked connection can be manually removed
How
you can ask if it can be manually removed in #💌︱staff・help
Nobody will reply
they will, sometimes they just take their time 😳😂
What do I tell them
how long has it been since you were unbanned?
ur ban isnt over?
No
mhm i thought blocked connections come after bans
if your ban isnt over you should appeal it
ofc they do lol
heya any of you programming geniuses have a Leveling calculator?
im trying to figure out how long its going to take to get to level 100 from where I am rn
i'm level 50 rn
?
ghost ping
Search in Google for something like that: "level calculator game java", if you use another language just change java to the language you are searching for example, there are some topics about that question that it seems a lot helpful for what you asking for. One of them that I think it's interesting to read about:
Depends if they have banned alts as well
Or if the ip block just did smth weird
Yee boy, come at me (ofc same input, same output)
run it multiple times on average our serialization lib is 2x faster than jackson, also not that overcomplicated/abstracted --> much smaller only ~10 class
test has been done on an object which targets many different java types: lists, arrays, maps, integer, etc.
maybe it was worth it after all, ok IK it's much simpler than Jackson, and atm supports only JSON, but still
Ok, but are bedrock servers and java servers comparable with plugins or do bedrock server use these behavior packs as "plugins"?
No behaviour packs are used. They don't have the functionality to replicate plugins either @cosmic kettle 😛
Now I understand bedrock a little bit better. Because I'm coming from java and there are a lot more differences than I expected... xD
@quiet arrow
?
Oh sorry didn’t mean to leave ping on
He has one, I assume he’ll invite you to the serve cause I forget which it was
Ok lol
ty
noobgramming
And what kind of proxy software do you use?
This answer by Redned might help
We also have a behind the cube about it here It's Behind the Cube #1 - https://www.cubecraft.net/threads/behind-the-cube-1-feelin-lucky.264600/
I think you’re missing a semi colon
Yo bro was just wondering is it possible to cross platform java and bedrock
Yes there is a way to play with both Java and bedrock on one server, check out geysermc, staff here actually are involved with the project!
It’s pretty stable too, and there’s way to differentiate between platforms to if needed
How do you properly script in bedrock? With the experimental feature?
e.g. a game like skywars
You can make a Skywars game without requiring experimental. We created a Marketplace piece with mostly commands/function files 🙂
So I have a question
I saw a friend on a realm do something, and I'd like to do it as well.
He somehow made tnt explode and deal damage but not destroy blocks
He used no external tools or packs in doing so.
He claims he forgot how he did it.
Can somebody explain how to do this?
in server settings you can toggle settings such as fire spread, world greifing ( tnt explosions/ creepers and such), keep inventory etc
No, turning off tnt explodes simply causes tnt to not explodes. What happened is that the tnt exploded but did not destroy blocks.
should be a different option, i know theres a setting in there for any explosion to not damage the mc world
sorry, theres probably someone who can look at realm settings but currently i cannot access it
On bedrock there is a gamerule gamerule tntexplodes true/false
Mojang Authentication servers are down @drowsy osprey
Oh so when it will come back
There's no set time, just have to wait until they fix it
lots of players got this
Well that’s an adorable profile
Ty!
I’m a poorly rendered cat
Why I can’t going to the skywars it isn’t working for Java plzz tell me plzz ?
So the anticheat works owo
never meant to ping
Guys i need help. I want to set up C# debugger. but it always failed. I googled like 4 hours , the most i can get is "replace the value with your current filename". but i want the debugger to work globally without depending on file name since i have tons of c# directories
What is the fail message you get when you build @copper ice
Directory invalid or smth
I know to configure the json file
Just want to make the dotnet 6 debuggers to be more organised
Does /bin/Debug/<target-framework>/<project-name.dll> exist?
Just note with build configurations variables are defined with ${} and not <> afaik
Hey it's been 3days mine friends can play now but i can't they also got affected
How much time it will take
@spring tiger can u pls help me out
Does anyone know how can I fix it, its not keep dowloading froze in here I cant enter minecraft
Restrat you pc or phone
so I have been trying to make an aim trainer with javascript p5, but when I try to load in an image as an randomly shootable target it doesnt seem to work. I dont really understand why since I am new to coding. also the clicking on the normal ellipse doesnt work. but right now thats not what I am worrying about.
https://stackoverflow.com/q/71538883/15079020
I couldnt find anything but maybe I am just searching wrong.
would really appreciate if someone were to help me
Do you get any sort of error in your console when testing?
the only thing I got was that image isnt a function
image(img2,x, y);
this is how I load in the image
with a preload
rn it doesnt even do so anymore didnt even change something
ip
Do u guys like rust or c++
rust
python
c#
C#
That wasn’t an option

Do u like Mod or QA?
How to know if someone logs on the skyblock world on discord
I have a cubecraft skyblock discord server and i want to get a discord bot to tell me when someone logs on of logs off on the skyblock bedrock server
you could start by using the logs of the server you have and put it on a bot such mc status. then add that to a discord server, you then would have to filter out the logs so it only shows filtered phrases such as "___ joined the server"
but yeah theres already discord bots made for that, a quick google will give you answers
does it work on cubecraft skyblock?
oh sorry thought this was for a personal minecraft server. i apologize
oh
yeah that would probably take another method, i could look into possible solutions, disregard that other message
ok thank you
rust or fortran ?
i think u would need an account to be on the server 24/7
what would be quite hard tbh but skyblock kicks u every 2 hours
It wouldn’t be possible
I mean it would be with some software that detects kicking
Unless I'm pretty sure that going to skyblock hub resets that timer
Do just simple macro that types the command
And system that checks logs files for join messages
Sounds doable but is it worth it
Is it acceptable to ask for json help in here for a minecraft resource pack?
ok
Ill try to explain it best I can
I'm having trouble replacing the "dead_horn_coral.json" file in the models/blocks section of my resource pack. I made a new model with blockbench and exported it with the name "dead_horn_coral.json" (following a relatively old tutorial) and put it in the models/blocks section. I'm not sure if this method is deprecated or not. And I didn't think I would have to specify an override because it doesn't use any model data because its a block.
What’s the best lang for you?
I think if anyone is going to start programming, trying to learn c or c++ is a must have skill
You monster 
i mean you probably wont enjoy it but it looks good on a resume and teaches you fundementals
but there is no one language does all, are you interested in back end front end?
databases?
I mean at least you went with c++ and not plain old C
id start with c to not get overloaded but once you understand a bit switch to ++
What next? Start with assembly not to get overloaded?
because sadly c is kinda outdated
wdym c++ is used in alot of places still
just because it has its roots in the ground doesnt make it bad
its a good starting language that can go along way, thats why i choose it
Oh totally, C++ is something I will get to learning once I get "serious" about it
sure learning a language like that is good but I definitely would not suggest it as a first time language 😂
don't want to traumatise someone
👏
x86 assembly is more minimal! must be better to learn that ey?
my thoughts are, throw them in the deepend and stress them out, so other things come easier
Very much a factual statement, Currently kind of language-hopping honestly, I know it's bad practice, but I pick up info better when I do something actually useful (mc plugin for a friend etc), lets me do research without getting bored :p
its like if i tried to design a website, id rather learn javascript then use one of those web builders, sure the builder gets the job done but id rather gain the skills to make it mine
language hopping isn't bad, full stack engineers exist for a reason 😛
fullstack is on the main window for me, honestly i should be a analyst, they get paid more
Maybe should learn one language properly first 😳
I wanted a winforms app so I made very very basic stuff with c#.net, then hopped to c++ learned the very basics, and got distracted making a minecraft plugin now in java, all of that while learning javascript in school, and python last year
sounds pretty fun
Next year proper computer science classes so
, I guess I'll mess around until then to get a headstart
when i was in school i remember having a class about keyboard shortcuts and honestly, it was a joke at the time but im glad i took it
put it this way you'll never learn a language "properly" since there's so much you can do across massive spectrums of problems with languages always expanding
if jumping from one language to another to learn how to solve a problem is the way you enjoy doing it, that's fine
emphasis on always expanding, my school taught us stuff but it felt like the classes hadnt been updated in 10 years, and because of that i felt like i didnt learn everything i should have. its super important to keep up with programming and make it a hobby because theres always stuff to learn or talk about in forums
it's odd right because my school was teaching me python 3.2 and using outdated gui libraries and what not. but afterwards I realised how much that was useful to me to use older libraries/versions as it sparked my interest into researching newer libraries and how to use them
my school didnt know about visual code so we used studio 2015
hah yeah we were using IDLE and not vscode
but then there's elegancy in simplicity I guess, not needing to learn a "complicated" IDE when a simple tool already exists
it amazes me how many people (i even see it here) think you need to start from scratch but thats not really what programming is about, theres tools made so newer prgrammers can leech off and use these libraries, making their lives easier
sadly these are widely known about
i remember being introduced to for loops with the turtle module on python to make it spin around in circles lol
I remember back years ago when I was still learning java one time where I used trigononetry in a minigame and for around 6 hours I still couldn't figure out why my on-hand calculator would give me different results than with Java. Turns out Java works with radians and I've been working with degrees. fun times
That moment when you learn what a float vs double is
In shorter words how would I make a custom modeled block with a resource pack.
Is this a java or bedrock pack @jolly lava
Yeah understanding floatong point context can be a mess when u first meet them
Well that's good to know, all sin, cos etc. methods?
U probably saved me some time, as I never used them as much, and for what I used them it worked perfectly
Yup!
An angle in radians 🙂
Bruh, lets pretend that did not happen 😅
This is java
Anyone here experienced with making plugins with Spigot?
Been doing it since 2015. Got any issues? xP
have you ever made a gamemode?
Yeah, a good amount
what kinds?
UHC, SkyWars, EggWars, Factions 1 hour challenge, SkyBlock, Spleef, from what I can remember
You know Galaxite?
And the Gamemode "Chronos"
Never heard of it
It's like a battle royale, where your have limited respawns depending on how much time you have left
and you can go to shops around the map to buy gear, but it costs time to buy it. But you can also loot crates to get loot. ANd killing people gives you extra time
Im confused as of where this is going xD
Is it possible
To make a similar gamemode on java, but besides time your lives are determined on player level.
And you spawn in at level 4, but if you fall below a power level of 2 you die.
And every time you die your power level gets cut in half
It's a bit of a mix of Chronos and Forza's "Eliminator" battle royale
Pretty much anything is possible when it comes down to programming
well yea.
It would be for sure possible, sounds interesting too!
🥐
Dumb Alex? Why would anything use degrees by default while the superior radians exists
Smh
:3
no
degrees are far more superior
No no they're not
Degrees: Easier readability and easy to understand. Most software will use this by default, especially 3D/graphics software
Radians: Mathematically universal.
ez
Degrees are horrible
Why tho? It's also very easy to convert to radians so any usage that radians have, degrees also has it
and vise-versa
No, degrees behave terrible under integration/...
Degrees are an arbitrary choice that feels nice because we learn it first. But they behave terrible
*Behave terrible in a mathematical context. In many everyday life contexts, working with degrees is much simpler and efficient

