#💻︱programming
1 messages · Page 25 of 1
settings
Yes
you there?
Ye
There is no system option
uhhh wha
Unless Im blind?
16gb ddr3, the os uses like 650mb
Main system has 32gb ddr4 with the os using like 1.5gb cuz gnome is fairly heavy
tbh i kinda want to switch to linux but im too lazy to do so
and then run windows in like a vm
for games
the only games you cant get to work with wine are those who have a weirdass anticheat which wont work in a vm iether
for vm passthrough of a gpu you'd need a 2nd gpu too fyi, in case you werent aware
not talkin abt wine
yah ik
also a reason why i wont switch in the near future
using wine is way easier than vm'd windows if most of your games are on steam anyway
I want to learn where everything is in linux more but I also have all my creature comforts on windows soooo :>
yeah
windows for me
I like the peace of mind and it works better for my field of work anyway
fair
if tesla.going.to.hit then dont end
Ahahehemmm I will tell you what some wise pc players tell me when I’m on xbox
“Just buy a new pc” 😎
When you got a $20k apple
A $3k Windows
And another $3k linux build 😎
😎
What if I can even buy a pc 
!rank
weird flex but ok
k
what distro u using?

kekw
is it just me or does the dimmed dark mode on github look way better than the undimmed one
I like default dark more 
its a little too dark for me
im used to the discord shade of grey(lol)
and the dimmed mode resembles it more
Palenight theme masterrace
How can I block using commands by console in my Java plugin for Minecraft?
I’m starting with Java programming.
This is error when I try to use command where I have “player.sendMessage”
If (sender instanceof Player) {
//your fancy code if the sender is a player
}
why would you block console commands
thats like
the most stupid thing you can do
also, because it probably isnt even possible
look at the error, he means how to block the console from using his command.
polish or czech? 👀
it's definitely polish
If (!(sender instanceof player)) {
//no
Return true;
}
//cast and run code
yeah that's a better way to do it
plz your caps 😂
if (!(sender instanceof Player)) {
//no
return true;
}
final Player senderPlayer = (Player) sender;
//run code
I’m on my phone 
XD
Polish
👀 cool
I will try this, Can u tell me why is "return true" rather than "return false"?
no idea haha, I don't do minecraft coding much. @dense zinc
or how does the whole method this is located in look?
Return true because you completed the function successfully
I think returning false makes the game send the command usage to the player in red
I just return true anyway and send my own error message
I’m using “return false”. Messages and events works
In 30 minutes I will try this
ok was typing too much in english
XD
It’s personal preference either works
I prefer return true tho
How do I get a server's default @ everyone role using discord py?
@plush walrus
wait
hello
await ctx.send(@everyone)
think they changed it at somepoint
also, I'm trying to get my bot to change channel permissions for the @ everyone role
I got it to work
guild = ctx.guild
create_perms = {
guild.default_role: discord.PermissionOverwrite(read_messages=False),
guild.me: discord.PermissionOverwrite(read_messages=True),
}
channel= await guild.create_text_channel(f"ticket-{user.name}", overwrites=create_perms)```
creates channel only for you
await client.get_channel(channel).set_permissions(message.guild.default_role, send_messages=None)```
where channel is int
oh no
wait
btw if you are overwriting permissions like that for 1 channel and awaiting it multiple times for same channel, it spams Audit Log and is very slow because of API rate limits
you gotta use the overwrites=perms to do it in 1 edit
@plush walrus also, no special way for bot to detect pings? The only way to do it is to scan every message and see if it contains the bots ID?
ye, I don't think there is an event for mention
just gotta compare every on_message
The translators taking over
😎
._.
well ye, it is not really efficient
If you want your bot to respond to mentions to run commands, you should definitely be using the discord.py commands framework
well ye
but you can't use commands without prefix
that would have to be
!@botname
but not
@botname
client = commands.Bot(command_prefix=commands.when_mentioned_or("!"))
you can get rid of the _or so it only responds to mentions
yes
damn I should visit this channel more often, learn every day
😄
:)
@ancient fractal ok so basically web development is a mix of CSS, HTML, and Js
and there are other languages you can use but those three are the basic ones
yup
yeah, it is
you have experience in web dev?
yup
mostly my own, but i made one for my parents and various other projects
lol
i mean, i learnt basic web dev in school but i learnt it more formally a year or so ago cause i wanted my own website
yeah my dad has a project for translation and am planning to take the web developement path
dang you had web dev classes?
but its not my main thing, im more into software development
definitely
yeah I thought so xD
then again, who actually knows how to use css
a lot of people xD
witches
bro there are prob more languages than there are people in this world
exaggerating ofc
I'm telling my dad you called him a witch
Epic 
HAHAH
Every time I pick up CSS, it works for a bit and then I break it all 😂
css is alot easier if you learn html first and then combine
what java projects are you working on?
Currently I'm recreating Jenga for Minecraft bedrock 
when you finally get jetbrain students pack
I still need to move my plugins over to ultimate
They do all have really nice icons tbh 
me and intelij do not have a good relationship atm
it messed up my files so in protest im using eclipse to do my coursework lmao

Occasionally, a few projects require me nuking the .idea folder to fix them
Only been a decent issue too sooo- mmm
i mean, i go through periods of it tbh, sometimes im like intelij is amazing wow and other times im like 'im this close to doing java in vscode instead'
¯\_(ツ)_/¯
cool channel 😮
It works! Thanks a lot!
Very weird request, but if anyone is familiar with Nexmo, please DM me.
You should take GitHub’s student pack, their pack is so good
oh wow its so big
Applied for it 2 months ago, still nothing. Jetbrains took 5min
F
@harsh cargoxTheNG should know
Stupid discord
@shy spoke
O he left the server
@hot pine use this texture pack
https://mcpedl.com/pause-screen-fixer-pack/
OMG
WHY
I forgot to delete the old guys disc before clicking send 🥲
Lol
What is better for discord bot: python, java or c#?
Most people will say Python but imo Java
Ok than java or c#?
Why ☕java? C# is good for clients and bots are automated users
Integrations + easier to code C# is complicated
Discord bots aren’t really as automated users
So what are discord bots

Also c# is good for clients cuz hytale used c# for the client
bots are just a pile of logic tbh
I prefer JDA
you can use events to build it
so like, listening for a message event could be passed into a system for handling commands
Discord Bots are more like a bunch of listening for events then running predetermined actions
Than a bot that is using AI
although you could make a cleverbot
True
Imagine a bot with AI
Time to make a bot that speedruns discord
how does one speedrun discord

time to add some end portal frame emojis
my status
pog
yes
theres dsharpplus and discord.net
i have never used discord.net and idek if its still updated
mm yes programming
This has to be a joke right
Theres no way you can be serious with this reasoning
Theres libs for nearly every remotely relevant language
Even nim has a lib, dont ask me what nim is cuz idk
My friend bade one xP
3 years in over 2,000 servers 🥵
Hey, I dunno exactly what happened but every time I ssh into my server, the script that is suppose to be ran on startup using crontab, runs anyways which is an issue, any idea on how to fix that?
what do you mean with "runs anyways"
like it runs when you ssh into the server or what
well like it is suppose to run on reboot but runs even when I just connect with shh which is not suppose to happen
what does your crontab -e look like
well I think the issue is that it is not caused by crontab, I tried commenting it out in the crontab -e file and rebooted but the script still runs. I was kinda messing with that a couple of days ago so I will just find the scripts and delete them and do it again
it might be in the root crontab file
so like log in as root or would sudo do it?
It sounds like you have your script inside ~/.bashrc which runs every time you login
oki, I will check it and remove it if it is there
the file is suppose to be in /etc/.bashrc right? Cuz I can't find it on Debian 10
ok I fixed it, the file was in /etc/profile.d so it ran on user login, thanks everyone <3

but there is another issue 
I am just getting syntax errors while running the script using crontab.
the python scripts were working just fine before
never got these errors before
do python --version
because the invalid syntax one sounds like its running the script with python 2 and not 3
does python --version say you're running python 3?
no, it says 2.7
mit why arent you on the infrastructure team
but I even have a directory called Python-3.9.2
if i can take down discord with my bot you know what will happen to the network
lmao
try calling python3 --version
taking down the network is our job
well that gives me python 3.7.3
yep so in your script you need to run python3 and not python
oki, I will do that
this is the scrip I use to run the python files but now, I get error that some external modules are not found but I activate the venv in which they are installed
you might need to reinstall the modules for that environment.
or, check if you have a python3.9 command if you're sure you installed 3.9, and try running that instead.
typing python and then pressing tab will bring up all the commands which should show you if you have python3.9
I will execute it with 3.9
well when I run the scrip manually, it all works.
but using the crontab it does not
just watch some tutorials online :)
Yeah, i already did... But school is kinda
Eehhh
Getting into my way
ow
@plush walrus you need to use the full path to the location of python in crontab I believe
I think you can do which python3.9
ohh oki
it should be /etc/python3.9/ if im not wrong
well it depends where it is installed
if its in /home/kristn/Python-3.9.2 then use that
yeah, so /home/kristn/Python-3.9.2/python3.9 /home/kristn/python_stuff/gfxbot/main.py
is the python3.9 actually in that folder? you'll need to check
looks like the folder is just called Python
now when I did it I got Permission Denied so I added sudo to that line and now I would have to enter sudo password in every screen session. any ideas?
@plush walrus for a crontab you have yo specify the path of the binary
so /usr/bin/python3 or smth
Also, for your use case, systemd would make more sense
wdym?
in a crontab you cant just say python3 script.py
gotta specify full path to the binary
ye I get that, but is there python in /bin?
use locate python3
never run programs with sudo btw
why nah?
cuz its insecure
thats windows level of insecure
running everything as root/admin
okay
If anyone has any Java questions just ask, id be more than happy to help you out!
I got a java question
How come the garbage collection in java doesnt collect java itself?


I mean sure, but youd have to say goodbye to the Java edition of MC
¯_(ツ)_/¯
a small price to pay
I am already doing the systemd anyways
no its not
hmh good to know alright thx for the
i guess that idea is scrapped hehe
You're not allowed mods that auto-swap tools and armour
hmh ill have to remove that feature then
is blocking use of a tool allowed?
Also a mod that tells you players on your island just sounds like wall hacks or minimaps with players to me
wdum?
You said "Island info - players on your island"
as in like tab but always visible
and in a dif location
i think ill scrap the idea then considering im not sure
can anyone teach me how to make mods for bedrock?
you cant
i know that you can most are called add-ons
those arent mods
thanks
depends on what bedrock mods you want to make
Open-source knowledge-sharing Bedrock Wiki, containing documentation, beginner Guide, tutorials, and general how-to information. Maintained by SirLich#1658.
this is a more helpful site
thanks it looks a bit easyer to understand
ok, like, let's just say that I have indepth knowledge on web developement
how do I put my skills to the test
Online tests?
backend or frontend?
hello makajasia
I think they mean, "what should I code to push my limits"/"do you have any ideas for projects what I could do"
hallo quarazarat
online tests generally have you program an intermediate/advanced program in hours/days for a specified brief. they're done in interviews quite often, so lots of online places to practice them 😛
ohh, I thought you were asking if they meant online tests, not suggesting them to try them out. mb
In mcbe on loot tables how do weight works? How can I change the chances with it? Anyone could help me?
A higher weight means an entries has a higher chance of being picked (but this also depends on the weights of other entries)
I always describe it as a bag of different coloured marbles
if you have red, green, and blue marbles, and the "weight" of red marbles is 60, and the "weight" of green marbles is 5, and the "weight" of blue marbles is 30, then you are more likely to get red marbles.
So some example values:
Dirt: weight = 3
Cobblestone: weight = 2
Cobweb: weight = 5
Out of that, the dirt would have a 3/10 chance of being picked as it's weight of 3 would be out of the pool's total weight of 10 (3 + 2 + 5)
i thought this chat would be understandable... no it's not
I like marbles too
How do I use pi in quantum physics to understand each unit of the times table in association to every US president?
yes
foo(bar)
I wished I know how to code
f
then learn 
Is it possible to increase the AOE range of a splash potion?
how are you looking to do it? With a spigot plugin?
If you ever need the code for it though, I can write you a snippet xd
Never too late to learn
I want to be a computer technician
Than download com vmware and memz virus vm ware lol @dense zinc
wow ur so funny
say you assign pi to the first president, then add a bolean to convert a for loop into a else statement by using sprites, dont forget to use camel case, otherwise your whole code will be broken, oh, you could also use an if statement...
I have no idea what im talking about
Thanks
np :)
Do u even know what vm ware is??
no tell me pls
Yes, it is possible 🙂
nicee
anyone with some experience in Google Blockly (preferably in react)?
Umm I will ping u in Medea for this
Hello
Hey!
mmm programs
-play

mm yes the beep boops and the boop bops
Mmmmmmmmm
-p the lazy song
wdym?
btw command.add(new CommandBan()); would make more sense
Field
nah
you could see it very suttle
the command is italic
that indicates the "command" is static
and that is causing the issue after reloading

Ah, I have everything both static and non static italic. Is there a reason to make it static btw?
yes
at least temporarly
I need to change up that class completly to fix it
but I plan oon making this into a utils after this project
so that will get beter
Did you guys knew that you can get admin rank on cubecraft?
Just add System.exit(0); into your minecraft mod initialization method
hmmm
I think you’d have to share a lot more code with a question like that.
Oh, seems you already fixed the issue. Congratulations.
hello?
Hello
No clue
@sweet barn do you think it’s possible to change the chunk cache stuff and entity loading chunks by player?
Because like, if a player could select a “performance” mode or something would be hot. Or be able to use a scroll to drag it from like 2-10 chunks loading distance
Because xbox is just horrible. The frame drops are so common and hard to pvp on
cant you just turn down ur render distance
No
rip
Lowest render does nothing. Literally the only thing that doesn’t affect lag on xbox is the chunks
Figured is share this here, but a few months back I was doing some tests and was able to make a program that read the old region files from the beta days and recreated them in unity. Had some red fillers for blocks I didn't bother to texture
Thanks 😊
That’s actually a pretty good idea, feel free to open a thread on the forums 😄
So what your saying is
It is possible?
because I didn’t want to make a useless suggestion that wouldn’t work 😝
Yes it’s possible 🙂
Is there forum update posts on the chunk caching and entities? Or only in #📰︱changelog
I believe we did one back when the system was introduced, but that’s about it
@torn bison
yay another egg
Wrong, its a variable
Are you sure?
Yea
Pretty sure purple is field and italic purple is a static "field"
Also what is a variable? Field, local variable, ...?
Its a container for storing data values that can change compared to a constant which is a container for storing data values that can't change.
Purple is field in IntelliJ, static field is italic purple, constant is purple, italic and bold
so variable is:
- non final field
- non final static field
- non final local variable
so basically anything that is not final
and all those examples have different styles
so how can you say that it's a variable 
Look up what a field is you'll understand its just a stupid name for a variable/constant at class level
So in the end its a variable or a constant
but this is just wrong
Technically even finals are variables, you just cant change them

well, ig yea
I know, but this does not change anything
Then its a constant
the sentence does not change anything
have you even seen the question?
they asked what command is
saying it's a variable does not help
They asked what the purple thing was
well yes 😂
It’s an obsidian rank 
how to do CubeBot for you'r rank on disc
i got dia on cube and a mod send me a link where they say that u need to do CubeBot or something and srry for my eng
can u help me?
https://cbecrft.net/passporthelp
https://cbecrft.net/dclink @graceful jay
Go to the forums at www.cubecraft.net
ty
That egginatosh developer is really doin a lot of fixes damn
bc he is pro
Anyone have any questions on Java or spigot development? I'd be more than happy to help you out
well, I was bored so I decided to learn some spigot development (already experienced in Java btw) and did few easy commands like DM or a channel that only some people can see and it all still makes sense. I wanted to ask if you have any idea for a project I could try to do, that would help me learn more + improve :)
Well that depends, what do you like to make? Chat based, or game play, or something bigger?
basically trying to explore what is possible in spigot
and my imagination is like none lol
it doesn't really matter what it is, just if you have any task that would help me learn spigot
it can be something crazy
as long as it's possible
it's a weird/hard question, sorry 😂
have you tried making something like a minigame?
Make a minigame! It doesn't have to be special
oh lol
Hey @signal drum stop reading my mind!
A minigame is good because it has a variety of components
I'll give you a hint. You'll need a game timer and a way to check different stages of the game play (something like an enum is good)
oke :)
If you get stuck, @ me and I'll help you out
Hahaha
thank you ❤️
or stackoverflow if it's there :>
Haha
I started it too.. spend two hours trying to fix smt and then realised I forgot to import something lmao
lol
Btw you know when translator apps are open again
Cuz someone told me you still need Someone German xD
yes, we do :D
haha
One of the first things I tried doing in spigot was creating a cosmetics plugin
As I learned the api I made things like gadgets and stuff out of it and in general, cosmetics can encompass a good chunk of the api
Made like a forcefield gadget, gravity gun, pig launcher, all sorts of fun things 😂
oooohm gonna do that too :)
maybe can merge the two project together :>
thanks
also @floral sundial, a question. how do you do permissions? do you just use another plugin like PermissionsEx? because I saw there is a player#hasPermission method
now that I am writing it I guess there also is player#setPermission(String, boolean) method
or allow and deny or smth
the pig launcher sounds fun
You can use PermissionsEx, or you can use your own, its up to you. However PermEX is widely used so its good to use.
I mean you could use OP while you're making the fun stuff but I'm pretty sure hasPermission() works with most permission apis
I meant for the future to learn permissions ;)
¯_(ツ)_/¯
For your own permissions - commands can be defined using permissions in the plugin.yml file
And yes, hasPermission should work with most all permission plugins
I saw that, but how do I assign permissions to players? (sorry for the confusion haha)
Using a permissions plugin is probably your best bet
Maybe Luck Perms is also kinda cool
You can do it through the api but I’d recommend using a perms plugin
ye, luckperms is probably one of the best out there atm
luckperms and it's web editor <3_<3
Ye but the in-game commands are faster once you learn them
Depends if you want to give players permissions automatically
I personally use the commands when I have a need to use the plugin
I used to use the web editor but just got used to the commands after a while
Same
haha
I'm still yet to properly pick up forge xd
learning forge just gave me the nono vibes
fabric seems nice at least
so I decided I never want to do anything nearly connected to minecraft
NMS stuff ain't that bad too
I love spigot, working with it for nearly 7 years has been fun
oooo
I've used it on and off for the past 4 years
7 years ago, I've been coding in JS lol
Nukkit is pretty pog too for bedrock stuff
ew bedrock 😂
Is cloudburst at a point where it's ready to use though?
It’s had some decent progress lately but not quite
Though some people are using it kinda as a sandbox for other more complicated projects
im just joking xd I actually dont mind it
i just feel like it's minecraft for people who cant bridge
:>
There’s a group of people working on reverse engineering Minecraft Earth and they use cloudburst for a wide variety of things
oh? o.o
Yeah, you can apparently import and export build plates and stuff from cloudburst
Really neat
honestly it would be really nice to see a successful community revival
sad they couldn't put earth on hold until covid is done with
Earth is closing in June or July and the goal of this project is to keep Earth somewhat going with their tech
Sadly MC Earth released before anyone really saw covid coming
Bad timing
mhmm
but no way to stop it
a real :pepehands: moment

They also got earth mobs in cloudburst too which is pretty epic
anyone notice the glow squid 👀
looming shadows
Also I think I see the moobloom in there too
and a skeleton with no head XD
I think i might remake some of my older plugins just because, see what i can do with them
ill remake my bag of holding first
remaking old plugins is great xd
fixing every little issue you noticed with the old one, mmm yes good
In my case I gotta rewrite it, I lost all my projects haha
My old hard drive died when I tried to transfer to my new PC, so I lost all my stuff
I want to do one of those live coding things I was talking about the other day with the community
Minigame ideas?
Absolutely
I have an idea
And a anti-anti-cheat for the non cheaters so that sentinel can ban everyone and you never have to deal with false positives again 
I know a lot of people want a PVE minigame. I had some ideas like a 1 - 5 man group have to defend something (one idea I had was a cubecraft cube) and you have waves of custom mobs coming at you. I had some other ideas like tiered waves, and eventually you get nether mobs like piglins but with special abilities like being able to build turrets or towers that you have to take out. I have more but that's just to give you an idea.
I was going to get round to writing this minigame myself after finishing my minigame api rewrite but:
- There's a giant slime food critic in the main area of the map
- You have to gather ingredients for and prepare food dishes to feed to the slime
- The slime reviews each dish publically so you can earn more points by appealing to it's tastes (as hinted to in it's reviews)
I like both of those ideas

If you want more in depth ideas for the PVE minigame I can absolutely give them to you, I have a whole list of stuff I was thinking about for it
fortnite building
wow haha

all just for a stupid discord bot lol
For a discord bot???
Tea irl*
tru
lol
it's pretty complex XD
with forms and stuff
-180 files btw, that's the actual bot
@sweet barn lol
oo that's a nice user background
Join the programming voice channel 👀
We're making blockband 2.0
@honest heath will be showing us how to code
palombo is upset and he wanted to do some coding
I'm very upset
THE lead game developer at cubecraft games network
i thought he is chick 🐣?????
If you get that set up Palombo, I will for sure participate, that will be fun to do a community coded minigame
Sounds good
😮 I found one of my plugins i had apparently uploaded to my google drive
Here you go. Open source. Note to anyone who might be decompiling and reading the code: I did not leave notes! Main reason was this was just an experiment for the most part and didn't expect to share it with anyone else. (Also because i wasnt sharing it I didnt bother to make it professional or efficient!) If you choose to run it on your own test servers, feel free. Im fairly certain its bug free so you should be able to have at it.
(Im reading through the code again and am generally upset with myself over a lot of it)
How ?
Lol, I know that feeling way too well
Lol same
It can always be worse code 👀
I remember trying to get healthbars above entities working by downing negatively sized slimes on top of the player and putting an armour stand on that
Really wasn't the way to do it and now the code looks disgusting
new vc :o
:O
😮
Just make sure you don't share any private info (like access tokens, ...) While you are streaming 😜
i feel you
Hate to say it but people are gonna abuse the ability to stream in the vc. But on the other hand, it is kinda useful to stream your code for example
¯_(ツ)_/¯
stream there games & minecraft for example
I think it'll be fine as long as we aren't loud about it
i think the main concern is people broadcasting inappropriate content
well that may happen too
maybe restrict the stream only for people with connected dc to forums?
that's a good shout tbh
because most of the people who spam/post inappropriate content don't have their dc connected
Yes it is a good shout
ban them from both servers as punishment \o/
plus the idea of punishment on all platforms might be enough of a deterrent 👀
Cool, you have to have your account linked now. Nice idea
cool!
my nefarious plan worked! now i can do nothing but stream division 2 in the vc 
and then switch to intelliij when spooky users join \o/
no no microsoft word of course, the best IDE
even better, publisher
Yay cool streaming code will be fun
finding bugs can be 1% quicker!!1!

Well, we know, but it's punishable soooo 😂
¯_(ツ)_/¯
Wa
Hey, so have started to work on this small project and would like to ask if it is possible to somehow retrieve data like user ign from Minecraft client when the user is playing
Wdym? What language + library?
obv Python
Ye :(
:>
I have no idea
I tried searching but all I got was some libraries to control mc server
Oh wait
So you haven't done anything yet?
Are you making like a rich presence or something?
Lol

Welp, the easiest way would be to learn java and make a forge/fabric mod
oooo
No idea how you want to link python with Minecraft
You can try mitgobla once he comes online
tru
@floral sundial maybe if you have any ideas? But I would just tell him to learn java 😂
:)
Me no likey likey Java
If you wanna do anything with Minecraft (or anything more complex and keep it organised) learn Java
well but it would have to be a mod anyways
It's not that hard
which I don't want
Ah
you need to connect to MC somehow
^
ive never used python to connect to MC and frankly idk if its possible
Maybe you can somehow try to read files in Minecraft folder
Not sure if something is there
hmm
I will try the mc folders
:o so launched_profiles.json has the data like accessToken and also displayName
there you go, experiment with that and see what you can do

just use the raspberry pi edition's python api
okay so I managed to get it working but I am really new to working with json and since all the IDs in the file change based on user account, I do not know how to access the dissplaName
You need to find a python library for JSON
Stackoverflow: how to read a JSON file in python
ye
I did that ofc
best I could do was
auth_database = launcher_data['authenticationDatabase']['some_id']['profiles']["some_ther_id"]["displayName"]
but ther IDs change for every client and launcher
ye but when I do
auth_database = launcher_data['authenticationDatabase'][0]['profiles'][0]["displayName"]
I get an error:
auth_database = launcher_data['authenticationDatabase'][0]['profiles'][0]["displayName"] KeyError: 0
From that, I assume that authenticationDatabase is not a list
dunno what that is
Do
👀
database = launcher_data['authenticationDatabase']
profiles = database[list(database.keys())[0]]['profiles']
profile = profiles[list(profiles.keys())[0]]
name = profile["displayName"]
@plush walrus
profiles = database[database.keys()[0]]['profiles'] TypeError: 'dict_keys' object is not subscriptable
lemme try
Nvm
Wrap it in a lisz
*list
Ahh
Not like that
Edit again lol
On phone sry
This
IT
Haven't worked in python in ages lol
WORKED
Ofc :)

Lol
Python sucks lol
In Java you can just do map.get(map.keySet().get(0))
Or turn it into treemap and take first
Or just Map#values#get(0)
That's better
:>

@floral sundial don't comment on this 
how dare you
XD
I did not use brain ok lol
(I used the way how python works)
I believe there is no way in python to turn values of dictionary into a list
Oop, well @plush walrus this would work better:
database = launcher_data['authenticationDatabase']
profiles = list(database.values())[0]['profiles']
profile = list(profiles.values())[0]
name = profile["displayName"]
Both Python and Java are great
both have massive advantages over one another sure but are great in their own applications
Thanks, python is nice, but I always forget how to do stuff in it lol
Agree
I still prefer Java's syntax for complex projects more tho
Makes it more organized imo
I'll do it tmrw since I already went to bed, thanks for help y'all 😊 and expect more questions in the future :)
:)
But on the other hand, for smaller projects where I prefer efficiency over code style, I would choose python
Ye well this is nothing massive ofc
Java is nice for large projects but python has so many shortcuts <3_<3
Yes :)
Does someone know how they used deadmau5’s model with the bunny texture?
they probably used his UUID for the boss and changed his texture using a base64 string value with the bunny texture (I'm not certain if this would work, but it's my best guess)
This channel is still alive
👀
This channel shall never die
NEVER!
looks cool ngl
do you just apply a random velocity to every block?
cause it looks cool but it might make a bit more sense if they were pushed away from the skeleton
So here I go with another question :)
I know how to pack python file into and .exe but there are 2 issues:
- Does the user need python installed to run it
- if the file requires some additional pip packages, do they need to be installed too?
I don't think so
It should be bundled into a "primary" executable that doesn't require anything
But mit will be more helpful
Wow that’s really cool! I should really learn how to do effects
- no
- you need to make a setup script that includes the names of the modules that are from pip, so the compiler grabs them
^
well how can it install pip when there is no python 
Try sololearn python course packaging
though, you might want to use pyinstaller its even easier, and can do all that script stuff for you
the script bundles the modules (and compiles them) into your exe
ohhh
yeah pretty much
okay, I will try it :)
ok guys - i need a challenge. Give me one of the most difficult but really cool things you can think of for me to program. It will be open source so ill post the git here when im done. Can be anything!
yeah java spigot
make a cube knockoff 
I always wanted to be able to play football in Minecraft. Will ball bounces, slide tackles, ...
Is that hard enough?
Id rather not be sued 
When you say football - American or European
European - soccer
i had a feeling XD
of course 😉
:peepoSus:
will accept other suggestions too
Difficulty as in coding difficulty or difficulty in advanced concepts outside of coding as well?
Also how hard is it to add physics? (Bounces, when you throw something it slows down and falls, ...)
Throw anything you have at me
Such as making a particle plugin largely using trigonometric functions and whatnot
Bring it
invert binary tree 😎
:>
Lol
you wot m8
Lol
Hmm let’s see, was thinking of utilizing some particle stuff, but what about doing something similar to WorldEdit but with complex shapes like 2D and 3D helixes and such
make Minecraft 2 😎
LOL
I'l be waiting :>
make minecraft in minecraft
@floral sundial make computer in Minecraft
I could easily do that. I actually made a cloning tool a few months back that let you clone and save
that concept has been beat into the ground D:
as in its been overdone
LOL
Yea, ik :(
Ill just make minecraft run terraria that can then run minecraft
Ooo
So far i have futball, a worldedit+, and a convoluted minecraft/terraria combo
anything else?
I dunno, don't really have any ideas
^^ maybe you can take a look at some mods for inspiration?
anyone having some experience in making plugins yourself?
DM me
btw I uploaded my first bigger project I am planning to work on now to GitHub, feel free to check it out and I would appreciate some feedback too :)
send the link ;)
nvm worldedit already has math equation to creation -.-
@plush walrus cuebcraft
oh gosh
lol
One project i made was one that let you modify block data - so for stairs for example changing them to a specific direction - all with a command. It was nice because I spent so long getting the command auto-complete finished (it changed for every block that could be modified)
/give @s debug_stick
I actually didnt even know about the debug stick until after i made the plugin, but i still liked mine better
haha
Hey @sweet barn are your DMs open? I have something to discuss if you have a minute
@floral sundial I have an idea, make a custom boss that is made completely with armor stands
Oooh I like that one
Doubt they are, and I think he also has closed friend requests
Ah well I tried 🤷♂️
with a custom ai like the bosses in hysb
No they’re not - feel free to put your message here 🙂
I know you guys don't have an API but there's a fair number of people who want it. Is it mainly you guys just don't have the time to do it because of other projects going on?
yes pls make cube api public
i'd test but mac :(
Mac's run python?
where's the modding aaapppiiii 🎵
I ask because I want to offer something but I might need to talk to Palom about it when they get a minute
Tbh I wouldn’t know on the specifics there. I think it was mentioned that passport was a prerequisite but beyond that I don’t know anything else
Fair enough. I'll ask Palom when he has the time to join me in a call about it
Sounds interesting 👀 Mind if I join? (Please tell me if you prefer just you 2, I don't mind)
Not .exe
Yes it does
It just doesn’t let you run software without a certified developer
You need to approve it in settings
I don't mind 👀
Magic
people after doing
print("Hello world)```
There was this cool video
Lemme find
Similar to this https://youtu.be/r7dZKOL5rcg
The expectations vs the reality of the life of a programmer.
Funny little skit video on how non-coders see us developers. Yes all of these are very exaggerated but hey it might not be too far fetched to say that a lot of people see us like total geeks. Hope you guys like this video!
Learn to CODE in just a FEW months here:
Treehouse Discount ...
I saw that one lol

