#💻︱programming
1 messages · Page 7 of 1
You can actually manuplate the NBT wtih breaking certaing blocks in adventure mod
still basic tag
it is indeed
But you can do it without the tag
Such as
/give @a diamond_axe 1 0 {"minecraft:can_destroy":{"blocks":["Planks"]}}
you can have a minecart act as an ender dragon with nbts, but commands just don't allow that level of complexity
You mean make minecarts fly?
no, I am talking about a minecart that is the ender dragon.
So you mean make minecart to ender dragon
yeah
Easiest set up for you is /tp @e[type=minecart] @e[type=ender_dragon]
and make the ender dragon invisible with /effect @e[type=ender_dragon] invisibility 100000 1 true
goofy
I am being smart not hard working
XD
plus you aren't actually editing nbt data😭
yeah you cannot edit this nbt with minecart acts like a ender dragon
XD
It contains plugin and sort of stuff like that
I could make it even more complex
execute as @e[type=ender_dragon] at @e[type=ender_dragon] positioned as @e[type=ender_dragon] run tp @e[type=minecart] ^ ^ ^
effect @e[type=ender_dragon] invisibility 100000 1 true
Now it is rotateable
but have you actually ever heard of the /data command?
@swegg wanna be my friends?
Btw I was talking 'bout bedrock edition.
it does not have data command
yes but but we were talking abt JE ;)
sure!
not on bedrock💀
yes
I am a command block engineer.
💀
I gotchu bro
Ill make Baritone for you with scoreboards!
look it up icba
what i hate about bedrock is how glitchy the API is though, being able to use NBT data on realm worlds and small servers would be amazing, but sadly due to glitches found inside the bedrock API, regular players can forcefully create items with NBT data which means you’d need an anticheat that completely removed NBT data from being used in the first place, JE is definitely better for any sort of server or worlds where you would need to use NBT data
Yep
sure, sure
how y'all doing
Is there a possibility, that "/stats username" would be developed? Or "/profile username" (on the mc server)
If there is, I beg, please make it when have time 🥺
I'm guessing so you can scrape the UI for the data 😂
Hi I want a real help here I want an TPA addon like you can add homes to TP to them later please if any one can give it to me it well mean a lot
Note(it's for multiplear so each player have its own)
⬆️⬆️
landing page
With what planes can I land on it?
an-225
step one: implement this ^
step two: scrape data 💀
I want a command that the NPC button can be pressed only for one time for each player
Ill help you out bro!💀
Make the button run a function, that checks if the player does not have a certain tag, i.e @p[tag=!pressed] to run what you want
then give them the tag pressed
are you trying to recreate mcs💀
You can say my own MCs 😃
Well thank you
Yw

make a command that will check if the player has a specific tag (ex. clicked), then if player has it, skipped then teleport him somewhere. it would be very hard for the NPC to check the exact player since it is random, the nearest player will get it
Ok thanks
You can check for every player within a certain radius (probably around 4 blocks) if they are looking at the NPC, to make it more reliable.
execute as @a[r=4] at @s positioned ^ ^ ^-1 facing entity <npc_entity> eyes positioned ^ ^ ^1 run tag @s[r=X] add looking_at_npc
You will need to finetune the value X (the smaller, the more precise, but maybe TOO precise)
@ripe latch ^^
Hi
After that, if there are still multiple players that meet all conditions (being in radius, looking at npc, and not having the "seen" tag), just pick the closest player
But I think that that is unlikely
i will cause a lag if ever there is a bunch of them
Not really. Remember that this is only ran when someone interacted with the npc.
- it's only 1 execute command and there are probably not that many players
It will randomly check all the players in that radius randomly, so still not reliable
No, but it will choose randomly between all players that are within the radius AND are looking at npc AND do not have the seen tag already
So a lot more reliable than without this cheap check
Lol
Hello im looking for a programmer that will code me a minecraft addon. I cant pay sorry..
can you be less specific?
remove bedrock for better anticheat and less hackers @rigid nebula @ember sandal
@jolly briar
Bedrock isn't going to get removed @left surge
How is that supposed to work
You are 2 months late mate
pings one staff and two random people 😭
In an addon?
The anticheat won't be better since u literally delete it lol
Didnt know there is such thing, thanks broa
from discord.ext import commands
TOKEN = 'YOUR_TOKEN_HERE'
GUILD_ID = 'YOUR_GUILD_ID_HERE'
ROLE_ID = 'YOUR_ROLE_ID_HERE'
intents = discord.Intents.default()
intents.members = True
intents.presences = True
bot = commands.Bot(command_prefix='~', intents=intents)
@bot.event
async def on_message(message):
# Get the attachment data if a video is uploaded
if message.attachments and isinstance(message.attachments[-1], discord.File):
# Send a ping to the specified role
role = await message.guild.get_role(ROLE_ID)
await role.send("New video uploaded to YouTube channel!")
bot that pings a role when you upload a yt vid
yes its python
I wouldn't want to be known if that was the code...
How i can edit server form to change gui desing(ui)?? ( Minecraft bedrock )
Pmmp ?
Cute Craft
Most ppl aren’t gonna put the effort in to create something for someone else for no known return
A branded pen?
Hi

I have to pay someone $15 an hour to make a plugin 💀
which isn't much BUT I only make $20 an hour myself
☠️
bro code blocks exist
``` code ```
they need to add magic mayhem back many players loved it and it was unique. That is why me and my friends started playing cube craft and I agree if it stays it won’t keep its uniqueness but cube craft is dry and needs something to bring in the players like magic mayhem
I suggest making a suggestion on the forums, altough I think alot of people already did that before you
?ip
play.cubecraft.net
Are there any apps on the iPad or android phone i could start looking into programming with? Doesnt need to be able to make games, something i could maybe make a mc server plugin with would be PERFECT (and if its free). If there is a app where i could look into programming it would be lovely to get a private massage with the app name and maybe, not necessarily, something where i could learn from (YouTube link or something like that).
Fesa bot confirmed with the prefix ¨?¨ ?!?!?!
Isnt it mco.cubecraft.net for bedrock 😶🌫️✌️

Sololearn is good for learning programming, I personally use it
For running code you could use replit in your browser
If u need something for simply writing code and not running it, you could use vscode in your browser
u got tossed
I think u gotta w-tap next time
Notes
Im going to do /hub if i see TimedParty on cubecraft
Hi guys, one question, do you know if I can access the database for the Lucky blocks Leaderboard?
You won’t be able to do it directly no. You’ll have to “scrape” it ingame
Hello, can anyone help me, I was banned from cube craft unfairly 😭
invest in a vpn.
use the appeal tool or make a ticket
what is your ingame name
I don't need to, bro, I already fixed it, but thank you very much for those who cared about me 👉👈
Incompatible mod set!
net.fabricmc.loader.impl.FormattedException: Mod resolution encountered an incompatible mod set!
A potential solution has been determined:
- Replace mod 'Fabric API' (fabric-api) 0.83.0+1.20 with version 0.75.1 or later that is compatible with:
- minecraft 1.19.4
Unmet dependency listing:
- Mod 'Fabric API' (fabric-api) 0.83.0+1.20 requires any version between 1.20- (inclusive) and 1.20.1- (exclusive) of 'Minecraft' (minecraft), but only the wrong version is present: 1.19.4!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51)
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:192)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Anyone knows how to fix this? What i read is that i got an too new version but im not sure
it says get 0.75 or later but 0.75 aint a thing on the official fabric web
i found a 0.75 versioon on curseforge, trying it now
You're correct. You have 0.83.0+1.20 while you should have 0.83.0+1.19.4
Or just use Minecraft 1.20 instead :p
I'd be carefull downloading from curseforge for a bit
Kya
It doesn't need to be active
If the channel isn't active it could be removed. 💀
#💻︱programming my favorite channel ong😭
your address and the numbers behind your moms credit card
He he
?serverstats
?serverstats
Haven't got an ETA, but we're currently working on finding a solution to this issue.
Dis also a channel for programming discussion, not a channel to tag the programmers 😆
How inviting to play on such a server
He gave it his best shot
Could you explain why?
You can use this website as a guide for protocol implementation and stuff. https://wiki.vg/How_to_Write_a_Server
It is a hard and long term project. I think Glowstone is still being developed on Github which is open source and doesn't contain copyright code from Mojang that you may be able to use for reference
Its a bit inactive actually but it is a good place to look for reference still. https://github.com/GlowstoneMC/Glowstone
I think you only want to make a launcher right
I assume by saying "put the server in" you mean making the server appear in the server list?
this is the programming channel. can you take this conversation to dms please
I'm controller and not an auto so I don't know what an auto is I'm just phone 😭 And now she is reporting on me, Ben is not her cat, so please ban her because she is reporting a person and not her cat
if you're not cheating then you have nothing to worry about
I'm not worried about anything I just made a video just because there are problems she just wears me down
Thanks for your time and I'm sorry for annoying ❤️
Hi?
Hi 👋
Check dm
Check what ?
Yes
I don't know
his account is brand new 💀
Kk
What do you think those tags will do on discord?
What did he think which tags would do on discord?
Are you allowed to post major sentinel breaking exploits in here?
please do!
I would love to see it.
Use c08 to place blocks inside of urself on update 👍
c08?
c08packetplayerblockplacement
oh, no idea what that is😭
is it an actual packet you would send to the server thru a modified client?
they'll never get it patched💀
My friend could patch it in 5 seconds
are you a client dev by any chance?
No but i know alot of cubecraft client devs
im thinking learning java trough out the summer :D
ah
do u know Wormy?
na no idea who he is😩
I hate java tbh, it makes me realize how dumb I am
ic
cc java is a mess
I see u cheat on bedrock
I still don't get why they couldn't have hosted it on a bds.
absolutely not!
Check our mutual servers
isnt bedrock written in c++?
yuh, the better language compared to java!
Yeah much more powerful
i was shocked when i saw bedrock for the first time on pc
40+ render distance 0 lag
in 1.20 they finally fixed the lag so i can use 30+ chunks now
lmao, java edition was so much of a mess they had to re-write the game to make it work on other platforms😭
🗿
Redned decided to remove NCP
java is even more dead now.
Which i can say was a VERY stupid decision
they should just pull the plug
yeah they should
NCP?
No Cheat Plus
ah
the anticheat they have been using for about 3 years
No clue if looneyrules used it tho
its any good?
Latest updated ncp is pretty good tbh
gotta be better than sentinel😩
i struggle to make something major
Anything is better than sentinel
Even verus
you can use killaura without it even flagging💀
You can fly without it flagging
Or well it will flag if u dont have an anticheat disabler
and get sentinel banned after a bit
but i can easily make a bypassing fly
sure
check dms
alr bet
bcz if i promote cheating vids ill get banned i think
In which version did cubecraft java officially release
999999 (;
whats the issue
He is hack
You can read about reporting players here: https://discord.com/channels/174837853778345984/1088893265299910747
Reach
Is there any where to get auto sprint on mobile?! My brother is really desperate
macros🙂
Oh
Is it not in the options?
Like apart of the new control system?
No its not
@tranquil ice Did you fix the problem of missing players ??? 1.20 in FFA (bedrock)
@keen snow Did cubecraft fixed the problem of missing players ??? 1.20 in FFA (bedrock)
@fallow canyon did cubecraft fixed problems 1.20 ? in FFA (bedrock)
Specifically what are you referring to and I can ask if its an issue globally, if its FFA specifc ill have to fix it myself on Monday.
But use staff help, this is the programming channel for programming help
You don't know what the problem is???
If you do not know?? what the problem is, I will have to make a video and copy the link and give it to you, then you can see what the problem is
@fallow canyon so you don't know what is the problem?
Im assigned to mutliple projects and i dont directly handle tickets, issues get reported by QA then I fix them. Its the weekend so either I havent seen the new issue, it was assigned to someone else so i could focus on a different project, or the QA will make a new issue for it on Monday for me to fix when they are working again. Mostly likely other devs know of the issues. We arent all working on the same thing 🙂
My bro. the problem, I did not report it because I do not know, this is the only way I can communicate with you and give you and tell you what the problem is, I will I give you a link to see it https://youtu.be/Dw8l3zwgC9c I hope that this problem will be fixed as soon as possible, and thank you for taking your time
@fallow canyon
Thank you so much for a private video and mentioning multiple people, it'll surely speed up the process! I'm sure he'll take his time on a weekend to fix an insignificant bug
Np I know he will fix it soon and you play FFA?
yooo so is anyone here good with texturepacks, editing mincraft bedrock files, etc?
I need help with renaming items
i wanna rename a few items
like
the diamond sword
to diamond dagger
and beef
to cow meat
etc
and I can't find a way to do this for bedrock
but it seems so ez for java so i was wondering if it was possible for bedrock as well
You can create a folder in your resource pack called texts. You can use this (https://solveddev.github.io/AnyLanguage/) tool to generate language files for all supported languages.
To rename your diamond sword, write item.minecraft:diamond_sword.name in the left box, and Diamond Swagger in the right box. Use a new line for each item (or entity!) you add.
To get them into your texture pack, press download, extract that .zip, and copy that into the texts folder.
@forest tide ^
tysm
sry to bother you again but how would i organize the folders in my texturepack?
bc its not working
i did everything you said
No worries!
Create the folder texts in your main texturepack folder. Paste the files you downloaded from the site into that folder. Make sure that your resource pack is being turned on.
kk
i did that and its still not working
here is the pack i made
nvm
can't uploa
d
is there a place i can upload
Can you just upload the texts folder?
kk
Is the rest of your texturepack working, btw?
the texturepack is only for changing text files
i don't have anything else in it
Oh
@fallow yacht there is too much problems in cubecraft FFA (bedrock) please fix that!!!
@fallow yacht
@velvet crescent This isn't a channel to report bugs or players
Look, I reported a lot about these problems, but no one fixes the problems, and secondly, there are many people who left cubecraft
because of these problems !! @spring tiger
Please help
The bugs will be logged and developers will look into them. Pinging them here won't get it fixed any faster 🙂
I apologize for the inconvenience, but I'm just telling you because not everyone sees my reports about problems, but no one fixes them. Secondly, I know if I sent you messages here, don't fix it quickly. I know, but I report and no one fixes this, There are over 35 people left FFA (bedrock) even me Even a lot of people get banned because of these problems!
@spring tiger
They have been seen, but the developers are busy people!
hopefully fix this as soon as possible, because there are a large number of people who have been banned because of these problems
@spring tiger
crazy solution, play a better server!
There are over 35 people left FFA
😮 proof
THTAT GHOST PEOPLE GLITCH?
Shh 🤫
There is proof if u wanna hhh
Least insane bedrock player:
Shh 🤫
Your video is still private
I've just deployed some changes that should resolve this. Let me know if you're still seeing the invisible player bug.
I will see then I will tell you thank you for the time you lost fixing all these problems and I will see if you really fixed it 
Sorry but There is still a problem please fix that!!! 
Deployed another fix 🙂
Thank you for taking your time 
Does anyone here know quantum mechanics?
I have a question
I know it's not programming (sorry)
Ask it! You might be lucky
ok alright
My question is, if I do the matrix vector multiplication H|psi>, does the orientation of the vector change? Or does the Hamiltonian only scale the state vector?
Got the answer
If psi is an eigenvector then it doesn't change
Which makes sense xd
Wat´s the ip of this server?
yeah I really understood that
Beep boop keyboard things
a
e
Mmmm...
Seems like something for #🎨︱creations rather
Have just made a love calc!
Nice!
Wonder why you're using enumerate if you're not using the index 
Can just do
for letter in 'true':
# Whatever
@quiet arrow stop bullying
Omg I didn't know you could do if a < x < b in py
That is amazing
Finally found a good thing about the language
Can even do this, if you really want for some reason
Could be useful if you want to check if multiple variables are smaller than a constant
The variables should be ordered then if I understand you correctly, you could do this I suppose
yeah but you can check 2 like this if var1 < 10 > var2 instead of if (var1 < 10 && var2 < 10) which is pretty convenient
hi
Heya!
const { SlashCommandBuilder } = require('discord.js')
module.exports = {
data: new SlashCommandBuilder()
.setName('privated-noob')
.setDescription('Proves that privated is NOOB')
async execute (interaction) {
const privID = client.user.id
await interaction.reply(`<@${privID}> is such a noob and don't deserve yt rank`)
}
}```
@urban depot
I will code custom bot for you
ew js
I've never used Kotlin ✋
How can I get youtuber rank p
js is literally the best scripting language
Uh yes
Greetings CubeCraft programmers, I am slowly creating an API plus plugin combo that will allow server's to have their own cosmetic unlock type system. This is not a donation store plugin, this is a system for handling cosmetic unlocks through an API that any server can use (JavaScript REST API) and then a plugin will come later that will then display these unlockables in menus that can be customized and different options will be available for different types of cosmetics (like follow API for pets). The design of the software is very early days but I'll put a link here so people can star and watch if they want. https://github.com/ethsmith/cosmetics-api
In the future the README file will have example usages and what not.
I need help
I am trying to make CustomCommands but is not working can someone help me
It is telling failed to load the pack
Do you have some more context? Java, Bedrock? Is it with fabric, paper, behaviour pack (the bedrock thing)?
I’m sure someone would be very happy to help!
Damn
Cool
Finally CubeCraft public API
Haha
i only know minecraft commands lol
ip
Yep /kill @s
I know python lol
i know nothing
Do /kill @e then see ✨
Evolution on earth has worked for billions of years and you want to destroy all living organisms in one button click?
Ues command block add always do /kill @e.. but one man can survive that it's Steve how he was in creative XD
Steve is a god.
ඩාඩාඩාඩාඩා
I only progam on statistic software rip
you have too double tap to run on mobile?
Ya
you play on mobil with controller? (weird question you dont need toggle spirnt on controller)
Sometimes but I play with keyboard and mouse but not pogphe
keyboard and mouse on phone??
oh for pc their onix client
Ye ye but what about me brother
I can't leave a fallen brothern
He's poker edition and is HOPEless against a person with auti sprint
@fallow canyon Do you also have knowledge about pocketmine?
I don't personally like PMP
You are more from Java, right?
My main language is Java but I wouldn't mind a software written in other languages, its just the fact that PMP is made with PHP is really bad
i think in the new mobil control you can already togle sprint
its called "sprint on movement" or something
here wat bing AI tell me to do sadly i dont have mcpe
the tutorial linked is on java not sure if it work
👍👍👍
.
Ooo a programming channel
Here I can discuss with all my fellow nerds about which is better, discord.py or .js
why discord.py?
You really can't say which one is better considering the different languages
You should ask if which of discord.py/pycord/hikari is better and which of discord.js/eris is better
How could you forget the superior interactions.py
Lol, i already put 3 libs there and i thought it would look goofy with more
lol
.py but it’s hard to compare cuz diff languages altogether
Fair
.js better by far
What is the best language to develop on bedrock?
I hate js 
what are you developing💀
You can report players here -> https://www.cubecraft.net/categories/player-reports.150/
Thx
npnp
i’m learning python
yall i need help
i have a superflat world on playstation
i converted from legacy console to bedrock
how do i move that world to pc
when i try via usb it uses a bin file which is unsupported
when i try via uploading to realms it breaks the generation and loads new chunks without superflat
idk how sorry
Java + Geyser
The event of Ramadan
Hello, I made a web application that allows you to view your joined Minecraft Java and Bedrock Realms and manage them online. You can find more info here: https://github.com/MrSterdy/RealmHelper
There are some basic screenshots of a Bedrock Realm that I don't own:
i dont really understand all but if you try to opeen a unknow file look for it on google
and there also some world converter on the internet
that switch from bedrock and java
idk for the old playstation 3 minecraft
Looks really cool!
then immediately after put py or the coding language as said earlier
`g
Then write your code on the next line (however much you want) then do another three `
No three of them
On ok
js meow
nooo
I dont know what are talki g
`
H
meow
print("this is example code that WORKS")
`` h
If you want it to just be a different color, but don't know how to program/the language there's a way you can do that
Idk how to though
lol
np
module.exports
new SlashCommandBuilder()
.setName("hi")
.setDescription("yeah")
:O
Thank you for show me that imminent
lol np
sound = new Sound()
if sound = meow {
print("yay")
}else{
print("shush")
}
What mean "np"
its been a long time since i've done some coding actually
/hi
error :(
I'mma go learn some more JS now
const { SlashCommandBuilder, CommandInteraction, PermissionFlagsBits } = require('discord.js');
module.exports
new SlashCommandBuilder()
.setName("hi")
.setDescription("yeah")
.setDefaultMemberPermissions(PermissionFlagsBits.ViewChannel),
execute(interaction) {
interaction.reply({content: "hi"})
}
}
and I have news
that should work ig
yep
me when
from discord import app_commands, Interaction
# SNIP - we're in a Cog
@app_command()
@app_commands.default_permissions(view_channel=true)
async def hi(self, interaction: Interaction) -> None:
"""yeah"""
await interaction.response.send_message("hi")
# SNIP
oooo
Wait is that java
Istg if it isn't java I'll explode
only the first line is like java
Ohh alr
bc i forgor abt python variables
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.interactions.commands.build.CommandData;
import net.dv8tion.jda.api.interactions.commands.build.OptionData;
import net.dv8tion.jda.api.interactions.commands.CommandHook;
import net.dv8tion.jda.api.interactions.commands.CommandInteraction;
public class SlashCommand {
public static CommandData getCommandData() {
return new CommandData("hi", "yeah")
.setDefaultEnabled(true)
.setDefaultPermission(true);
}
public static void execute(CommandInteraction interaction) {
interaction.reply("hi").queue();
}
public static void main(String[] args) {
// Register the slash command with your Discord bot
// JDA example:
// jda.upsertCommand(getCommandData()).queue();
// Add your bot's event listener or command handler to handle the interaction
}
}
Java moments
god the amount of boilerplate is unreal
You forgot about a whole lot more Python 🤣
Only thing being right in that snippet is the print function
Thanks 🙂
why is the bedrock side of Cubecraft geyser?
Because it allows the usage of mature projects like paper, and the entire community and plugins associated with it. We're also running a Java server, so this allows us to develop for both network more easily
I did indeed yes
And i see it now yes
{
"localization_name": "BBB",
"geometry": "geometry.ChineseMythology.MoonSpiritJadeRabbit",
"texture": "coskin2.png",
"cape": "c1-2-9-11.png",
"type": "free"
},
{
"localization_name": "CCC",
"geometry": "geometry.ChineseMythology.MoonSpiritJadeRabbit",
"texture": "coskin3.png",
"cape": "c3-4-5-7-10-12-13-14-16-20-6.png",
"type": "free"
},
Pov conea
Does this imply there are other servers that aren't Minecraft
Anyways go to the forums for that dummy
hello who knows very good about command blocks in minecraft? i need some help
What is your question?
i dont need help anymore
ok i need help does nobody know java?
bro is literally the example in the website 💀
Never even asked
Processing Js, yes.
CommandInteraction?
const { SlashCommandBuilder } = require('discord.js')
module.exports = {
data : new SlashCommandBuilder ()
.setName('hi')
.setDescription('yes'),
async exports (interaction) {
await interaction.reply({content : `owo`})
}
}```
i forgor the data💀
How did you miss the most important thing
Without const {SlashCommandBuilder} = require('discord.js') code won't work
It will say SlashCommandBuilder is not defined
ur wrong
gonna learn this one later 😂
Idk
And this was ur HUGE project?
well its cool'
eh
im getting payed
eh
so its pretty cool
how much xd
idk how you gonna cope if you are forgetting to add const {SlashCommandBuilder} from now
💀
i quickly wrote that
i could say the same thing with your forgeting permissions
PermissionsFlagBits
yeah
fair
I am sure you are adding if(member!= PermissionsFlagBits.Administrator) return; or smth like that
cuz staff commands are visibel in your bot
yeah you could do that
i got locks
nah
Its simple
.setDefaultMemberPermissions(PermissionFlagsBits.BanMembers)```
Thats all
experience
yeah
(dont forget to define PermissionFlagsBits)
omg im not stupid istg
ok
Anyone that has experience with sitemaps and google search engine, I get the ¨couldn't fetch¨ error even though everything is correct from what I know -> I have full control over the website, I don't use builders like wix and I already got my Search Console account with the DNS to verify my ownership
Hi
hi is there any mods online today
I'm very fun
Close enough
W
Can I get a side of googling with that
Depends
I think you can but it's limited
I asked about it in Coding Lounge server and they said no
impossible
weird
What do you want to do?
Like get a xbox username using discord connections
I thought its simple but nvm
it will probably be possible but really hard to do
const xboxAccount = interaction.user.connections.find(connection => connection.type === 'xbox');```
dang
what does this code then xd
You can't get user connections through discord api
Pls tell how to do it 😭
NOOOOOOO
scraping
:c
Well if that was the case nobody would see anyone's connections
I think you know what I mean
You can't get it through bots. You have to use the Oauth scope and have users accept to share their connections through your application
weird that you could get presence and not linked accounts tbh
Oh
I think you know you should have said that instead
How to make 626 people accept bot scopes 💀
How about you mention it instead of just telling people to google? This channel is for all discussion about programming, no need to be nasty to others who are trying to learn
.
Which library are you using? JS, python?
js
Learning to google problems is a skill a developer needs
bot isn't public though
Cool. Not everyone is at the same level as you.
Have a look at https://discordjs.guide/oauth2/#authorization-code-grant-flow
It gives a small example on setting up a web server so that people can authenticate themselves with your service
I am just starter at this and it looks worse than Mendeleyev's chemical table, I try to understand though 😂
Thanks for help :>
WTF IS THAT
there are also several npm libraries for discord oauth2
Is this code supposed to send a random message?
const wlcmMsgs = ['Hey ! Welcome to the server, how are you today?', 'Hey ! Welcome to the server, what are you doing right now?', 'Hey ! Welcome to the server, I hope you have a great day!'];
const wM = Math.floor(Math.random() * wlcmMsgs.length);
@tacit shore_unfun
cool website in bio
thanks! its a bit outdated
still
so many skills omg
try it and see
lazy
na bro I think it wipes your C drive.
Cuz nothing in laptop
no bit coin miner involved
2023 WORKING 100%
index wlcmMsgs with the random index
how to make list like this :c
I really hope you make an api for CubeCraft 🙂
i concur
Yes yes mr yes yes mr yes mr yes yes
var s="";
for (var i=1;i<100;i++){
s += i;
};
console.log(s);```
unexpectedly your device will gone to Mars 🙂😂
😂🤣🤣🤣
for (var i=0;1=1;i++){
console.log(i);
};```
What about this @near shore
01234567891011121314
and so on
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
var s="";
for (var i=0;i<101;i++){
s += i+" ";
};
console.log(s);```
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
ye i knew xD
@near shore @modern grove bruh!!!!!!!!!!!!!!!!!!!!!!!!!!! Hhhhhhh are you right friends One is in Thailand and the second is drawn by a server
of course bro 🫡
There is unoficial one :0
https://www.cubecraft.net/threads/bedrock-online-leaderboards-and-api-unofficial.344404/
I love you like my brother Qasem Because you are the one who helped me the most 👽🤍
u'r always wlcm 😍🤍
i need a helper
Feel free to create a ticket it #💌︱team・help
I loved Tower Defense so i'm creating one in Unity, if you're interested I'll keep you updated
I haven't found any tower defense game as good as cubecraft one
Yesss loooks awesome keep it going!
Thank you!
You should declare the package at the top of your class file:
package helloworld;
The compiler cannot find the class otherwise
If you hit the little green triangle to the left of your main method, it will fill out the correct class path in the run configuration for you.
You should consider updating your windows / switch to linux since win 7 is eol and applications might stop supporting it (see chrome)
I did
Wait that's the run button it didn't correct it
Did you press the first item in the drop down that appeared when clicking the green triangle? Should say Run 'ClassName.main()'
java moment
I did
🤧it even happened on Vs code
I don't know I followed the steps
And everything
BUT NOO IT HAD TO SAY COULDN'T FIND MAIN METHOD
Does your PC not support IntelliJ? I found it a lot nicer to work with for Java
@plush spruce
ok
ok
Github should be allowed
it will be sourcebin
Ah
Hi guys, I have a question: What language is used to make mods for mc bedrock?
In bedrock it's called addon and you can find more information here:
here is a post, in which they talk about how typescript can be used to program scripts; https://wiki.bedrock.dev/scripting/typescript.html
Question:when someone makes 100, or 1000wins at any gamemode can they have special player name, like blue or green or whatever color...?
Yes at one morbillion wins you will get rainbow in game name
(spoilers, you do not, this is not the right channel to ask such questions)
G
hello
good what about u?
I am very very good
want to ask about something idk if there some one about it here
I am happy beceausе have minecraft
u are new at minecraft?
No
I am player from version
1.7,5
ohh
I mean I've been playing since 1.7.5
pvp player
No i am noob player
me 2 lol
I playing for fun
yup same
Can I ask if you are studying something like programming ethical hacking for example
🙂
hmm
i am but not that good
I'm asking because of your profile picture, do you do such things? 🙂
Good luck man
nah my accpunt is old
You will succeed, I believe in you
that why my profile like thes
ty
Ahaaaaa I understand
what about you
Then I apologize for asking you, I was just curious because I really like this kind of ethical hacking and programming stuff
I'm learning programming and I'm learning English, I'm a beginner right 🙂
u are not english?
And from time to time I use the translator
No I'm from Bulgaria
And I'm learning English so I can become a programmer and then do ethical hacking as well
🙂
what programming language u are starting with
And I learned new words in English
Python
This luengue is very very simple
And easy this is for beginner
not all hackers programmers
i gess
Of course and
what kind of hack u want to be?
But most of the hacking tools come from there and that's why I want to learn about Python as much as possible
Gray hat
hmm
u are good hack?
nah
No i am bad hacker very very bad
no i mean good kind
I didn't understand your question
I am new in english
I am A1 level
This is level for beginners
why you want to be a hack
Because I like it and I want to become a hacker because I want to prove to myself that it doesn't matter if you are a disabled child or not you can still become what you want to become
To prove myself to the world
but why gray why not black hat or something like that
I think no one believes that I can become what I want to become
So that they think I'm some kind of white hacker
I'm going to be both a black hacker and a white hacker at the same time
white hack is boring
This is what being a gray hacker is all about
Yes yes
Well, I learned two new words in English
On my own and heat
And more
lol
me 2
What this is me 2 ?
but what systems u use
i am also a beginner
Good luck man
ty u also
What for hacking programing ?
yup
okay
I use Visual Studio Code for programming
yup i think all use it
Of course
Playing with me eggwars in cubecraft 🙂
nah i was working on something but i come here to ask
No talk because i am in talking for english no god
For python 🙂
no
Ah okey
python not what i need
what kind of hacking u will start in like web,devices,sever
Kali linux
Предполагам, че за това беше май
I guess that's what May was for
no no i mean what u want to hack
ААА
Idk
Okay man good night from me
🙂
clash of clans accounts
Gotta get those gems 🔥
Go ahead!
Anyone got any ideas on how to store letters using something other than strings in Java?
char arrays ;)
char ArrayList's
You can store them as shorts or ints too, if you really want
xDD
i want to ask in website vulnerabilities
Me, personally, have an enum for the alphabet
is it possible to let the output appear exactly like this?
Is this LaTeX or what?
If you want minecoin text me except for @digital raft and @potent zinc
@ocean canyon can we report this
I don't think they want you to exactly output the tables like that. Just print the two tables any way
@brisk badge @quiet arrow sorry didn't include much info. It's a java program and I'm only a beginner
hi
Not really possible in standard output. You could display it like this:
1 - 2.2
3 - 6.6
...
Pounds - kg
20 - 9.09
... ```
Even using \t?
Tabs do not align in the console (at least not in the ide's I use). It would look very messy
If you really want it like that, you could keep track of how many characters each digit is and fill the rest with white spaces
nah that's gonna give me headaches
Im keeping it simple
Then do it like this haha
I am
Try the \t to be sure
You could output to a text file; tabs do line up there
Your ide is having a skill issue then
seems like a trend among the ranks that to basically say no and after propose the answer
Not the right channel 🙏🙏🙏🙏🙏🙏
Do Strings not have a left align method in Java? Surely there is some build in way to align strings
no /stats command, how to revert :lol
hi is anyone’s party glitching where it’s not letting you have the full seven people and only three
Read my previous message here
Hi guys, today I found hackers in FFA and reported it but nothing happened, just a message saying that the report expired, we have to improve the anti-cheat
Hello 👋
Hi.
/sr doesn’t work
Hi
Not in the console
I assumed (correctly) that the answer would be far out of his scope. If outputting takes ten times more effort than calculating the output, it should not be done that way. This was certainly the case in this algorithm.
\t far out of his scope 💀
Heya
As I said, I thought \t didn't work, since I did not in my experience. You should read the conversation first.
You should find out why it didnt work
I love silly answers "not really possible in standard output", why does \t (and its mates \n, \b, ...) then exist
For every other use of strings?? Lol
So you're saying you haven't never used \n in a print statement?
We are not talking about \n.
What is the point of this discussion?
You're saying that \t characters isn't possible in standard output
Which means \n wouldn't be possible either
which font uesd in cubcraft?
Font type
Why can’t I party in bedrock Cubecraft?
No. It is possible and has an effect, but, experience, it is the same as a few white spaces. Tabs on individual lines do not align.
I am going to end this pointless discussion here.
Hello World in 10 programming languages:
print('Hello World!')```
puts("Hello World!")```
<?php
echo 'Hello World!';
?>```
console.log('Hello World!');```
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}```
#include <stdio.h>
int main() {
printf("Hello World!");
return 0;
}```
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!" << endl;
return 0;
}```
namespace HelloWorld
{
class Program {
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
package main
import "fmt"
func main() {
fmt.Println("Hello World!");
}
import <Foundation/Foundation.h>
int main(int argc, char **argv, chat **envp) {
@autoreleasepool {
NSLog(@""Hello World!);
}
return 0;
}
Ahww, I thought you were going to do 20
WHERES KOTLIN?
package hello
fun main(args: Array<String>) {
println("Hello World!")
}```
additionaly, Hello World in Swift:
print("Hello World!")
ty
🙂
Now that’s fun 
That's the way every program should do that
I would say that BF has the most intuitive way of printing hello world
>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<++.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-]<+.
<p>Hello World!</p>
Getting there slowly but nice
some of the assets are mine but others are downloaded
I think they combine well
@mint pollen
thanks!
Keep the updates going i lovee it
okeey thanks!
every unit has also 5 levels like in TD
minotaurs are like the creepers but actually balanced
now i'll add golems that will be the slimes and medieval doctors that will be like the witches
TOWER DEFENCE??
roblox?
tought it was minecraft
That was easy
It's not roblox, i'm doing it in unity
yes there are a lot of td, but the cubecraft one was the best and i'm recreating it
fr
You didn't mention me so I didn't notice this sorry
No I am not allowed to use methods and other things. I asked my professor and he said it's something consol-related that we didn't learn about it yet
if u want in heading here
<h1> Hello World! </h1>
and <h2> Hello World! </h2>
and so on until <h6></h6>
h1 is the largest while h6 is the smallest
I'm creating a whole new game using Unity
I don't have a name yet, but it has to include Tower Defense hahah
doing games individually is a long task
maybe I can get a pre-alpha by the end of this summer
Stinky
Not targeted at yall have fun
maps de eggwars
added the Doctor (Witch) and Golem (Slime) Cards!
Haha u need to make this a multiplayer game tho
Would be so much fun
