#💻︱programming
1 messages · Page 28 of 1
ok
Anyone interested in Python?
yes :>
Yes
No
I would personally go for java(script) in stead of python
js too good
hi in the iss, im quartz
Ich bin in der iss
lol
i dont think u can say that since typescript is a fork of javascript
also; typescript is easier
if u learn it in the good way
@sweet barn The bug in skywars happens for how many players are in the game when starting
It's dropping the players 1 by 1 in order of cage number or something
?
In skywars
it counts down to go
and says "go" and resets the chest 12-16 times depnding on map size
and you get kit after last person falls from cage it's p hot
If this just started happening like 10-20 minutes ago we’re aware and it’s being fixed rn 🙂
yes yes, just saying how it be happening if you didn't know
Also
Snowball and egg throwable fix is hot
I can actually throw them consistently over 1egg 1egg 0 egg 0egg 2 egg
It should be fixed now :D

hey can somebody help me progam a server i am doing on bedrock pese
Best to know JavaScript first as TypeScript is just a superset of JavaScript
WATCH THIS VIDEO AND LIKE AND SUBSCRIBE. BEST SONG EVER!!! https://www.youtube.com/watch?v=j9V78UbdzWI
TO JOIN THE GIVEAWAY (3 iPhone 12 Pro and 2 iPad 2020 Pro)
READ THE PINNED COMMENTS
Follow my Instagram : https://www.instagram.com/matthewordrick/
Stay at home please, Our funeral service is only available if everyone behaves to the rules of the pandemic.
#Staysafe #StayatHome
I do not own the music and videos, neither ads or monetization.
...
Just learn neither!
You're welcome problem solved
Be like me and waste 2 years learning swift and then never use it
I've been so busy with life
But after next week it should be good to maybe write a line of code or two
but only one or two.
♾
scratch is the best block game
No offense to scratch coders but
It’s not uh good
Sure it’s good to learn concepts and get started with coding
Especially for younger kids
But I know people still using it

oof
yeah I can never make something good with it
need at least a little amount of OOP elements
xD
I never used scratch
I didn't understand it either it was weird
lOl
I should probably get into creating Minecraft content
it sounds kinda fun
but I have like 0 experience with java
ecks dee
let alone code for Minecraft o_o

oh no
you have the show password option on i think
wack
it doeswhen logging oin
i was creating an account tho
Ehh I have experience in other languages, making a simple plugin could be a way familiarize myself with java and Minecraft code particularly I guess
It's just that I haven't done much with it so far so I wouldn't be very quick at making something lolol
But thanks for the tip :)
i also feel like im not good enough in python and when i wanna write for example 10 lines of code i need at least 3 google searches -.- should i start a course ? can you suggest me any ?
Oh well xd
me and java aren't buddies either yet
Yes
If you need that many look-ups for 10 lines you should definitely do some kind of course
Codecademy might have something for python not sure
And I'd suggest watching some yt videos about types and stuff maybe, also to get to know the pythonic way of programming better
To prevent writing explicit for loops and studf when you can write something like (var in somelist)
Yea ik, but scratch is for like 9year olds in school so they gotta make it easy to read for them LOL
But then their is grifpatch who is mega sweaty
Coding is how Minecraft works
Wut is the best version to make plugins?
I mostly play 1.12.2, But I wanna create a server setup thing.. But I just need to know what version the best is to code the plugins etc
Ahh and the easiest version? Or is everything the same
Ahh alright xD tyty^
Alright thanks.
id start with the latest version since its
well the latest
ye but you can do more in 1.16 than in 1.12 for example
ye
1.12 should be fine
i wouldnt choose a really old version like 1.8 tho
unless you explicitly want to make something on that
i mean ye but i still wouldnt start on a 7 year old version
no i need to rank up my message counter
ok so where did we stop
we were discussing if 1.8 is a good version to start coding
so imo its not
xd
@dark elk All versions have mostly backwards version compatibility. If you want to be able to do the most then going for the latest version is probably your best bet. With spigot plugins, there isn't a version that's harder than another to learn since the code for a 1.8 plugin will look mostly the same for a 1.16 version of it, except you can't always make a 1.16 plugin that'll also work for 1.8
worded poorly, I'm on phone and tried to explain while stuffing pizza in my face
I love programing
like so much
actually
sad momenyt
well
bye pro
gamers
sorry gramers
ah yes

yeah
slep
@sweet barn PLEASE
HELLO EVERYONE! I am back! Just got my PC this Wednesday, I will not be stream sniping(see below) But I STILL want to be active with you guys during chat and playing with you! Around every 20minutes I will party disband and get a new duo/squad.
Why No Stream Sniping?
*I've seen some toxicity that I don't like when allowing stream sniping, I do ...
fix
FOUR DAYS WHY
the emssage was deleting in #📰︱changelog saying you fixed it too
🙄 this is not a 'ask cube devs to fix bugs' channel
Why #💻︱programming?
It happened somany times and has had patches for only a few days
they program to fix bugs sooo
Uhh ever heard of bug reports?
mhm
but this was meant to be fixed on the 29th of april 2021
and?
Report it again...
This is the programming channel, not a bug report channel @wheat relic
I know
but this was sent on 4/29/2021 in #📰︱changelog and the message has been deleted
Yes, likely because the fix did not work correctly. This is not the usage of this channel, please move this elsewhere.
But- Why do you use Bluestacks for spotify 
Because I don’t get adds on there
oh wow that's kinda smart ngl 😂
Yes, this is a very true statement.
I was scared that this would kind of turn into that and I have seen more and more people reporting bug related things in this channel. Make sure to keep that out of this channel. Thank you. 😃
this channel is kinda hot :)
no u 😏
If you do have an issue with bugs please look into #🐜︱report-a-bug instead.
Moin kurze Frage ist wer Gut in Discords Bauen (Bots Kanäle Verifizieren usw) Wenn ja schreib mich mal bitte per pn an Danke
you could just use an adblocker
JS too hot🥵 🥵 🥵
Trying to learn a bit of JS so I can have live updating graphs from my raspberry pi sensors
Have to say I am finding it hard :(
JS has a lot of quirks that can be difficult to wrap your head around
use asp.net™️
oooo, btw if you don't want to care about types in JS (which is really annoying), I would advise to use TypeScript
and if you need any help with anything, feel free to message me :)
TL?
Teelöffel
So, I have tried to restrict Nginx access by IP and it did not really work,
this is how my /etc/nginx/sites-enabled/default looks like
server {
listen 81 default_server;
listen [::]:81 default_server;
allow MY:PUBLIC:UP;
allow 192.168.0.104;
allow 192.168.0.145;
deny all;```*the port 81 is intentional*
192.168.0.104 - my computer local IP
192.168.0.145 - my server local IP
And now the issue is that I can access the web server using the server local IP (`192.168.0.145`) but when I use my public IP, I get 403 Forbidden.
Any ideas on how to fix this?
||IP leaked?||
🤦
uhh, no?
ip leaked
Guys DDOS me: 127.0.0.1 (this totally isn’t local host)
My IP is the numerical version of the alphabet
shouldnt it be default.conf?
and did you restart the service?
yup, I did
and no, it is just a file
(default generated by nginx)
if you replace deny all with allow all
and restart
what happens?
I can access it using both public & private IP
it sounds like you've put the wrong public ip if you're able to only connect with the private one
hmm, well then how can I check what is my Public IP?
did you buy one?
ye, I have one from my provider
which is the one I used
and is the ip linked to the decide you are using correctly?
afaik you have to login on your router and see what wan/public ip address you have
that's how I got my Pi working
oh turns out there is some 2nd public IP that I am actually using so I just added it and it works

:shut:
And actually, I have 1 more issue :)
When I run Nginx on my Pi, everything works fine etc. (website running)
But when I point my domain DNS at it and try to access it (using the domain), I get ERR_TOO_MANY_REDIRECTS.
I have had this issue before and could not fix it and I only have 2 things that might cause this.
-
I use Cloudflare for my DNS so maybe some Cloudflare issue
-
Port-forwarding is done the way that every traffic to my public IP is forwarded to my Pi on local network, but on my
PUBLIC.IP:80there is router visual interface running so that's why I used port81. But when I usePUBLIC.IP:81I can access everything but when I do example.com:81 I get the redirect error
I am currently trying to set and use the DNS settings provided by the domain operator but their admin site is down atm so I just wanted to see if anyone else has had this issue and knows a solution.
I know how to fix it!
👀
Sike I didn’t even read it 😎
:(
well yes but no
Do you have open ports on your wifi network ?
ye, all the ports are open, they are closed on my Pi but 81 is open
go to your terminal of ur pi
mhm
Raspberry Pi os (Debian 10)
yup
I know, I allowed 81
But have you enabled the rest of the ports?
ye
ig ERR_TOO_MANY_REDIRECTS is what are you asking for
clear the cookies
already did that, other websites work fine, when I switch it to another host, everything works fine
browser cache?
is it a browser error or nginx error
browser error
Trying to set up Apache2.
I would like to have it redirect:
/api/* to /var/www/api
and the rest to /var/www/web
anyone knows if it is possible to do it directly inside the sites-enabled/?.conf file?
I think I already fixed it 😎
nvm made it work
Bit of a different programming project
Over the weekend I made a plant monitoring system. Its a bit basic for now but I'm excited to work on it in my free time after exams
damn that looks so cool!
:O
amazing!
omggg, this looks super cool. python, right?
Python for the sensor and Web server and java script for the gauges and live updating
ooo. this was the main reason why I started learning python 4 years ago 😂
then I discovered Java 2 months later and forgot about python... :(
still need to learn this xd this is too good
I've been doing so much Java I have started to forget my python syntax so I definitely need to keep up
same haha, especially lists, dictionaries, ... 😂
humid shade
We're just waiting for @spring tiger to join the dev team
😳
python java c++ code html ();
Python is kinda hell
especially if you got used to putting semicolons and curly brackets
Yea
!play black and wight
Aha
hmmm knowledge

Rust crazy
Hai can someone help me? If I make this simple gamemode message then he sends me the old gamemode. But I wanna send the new gamemode.. But getNewGamemode() doesn't work :v
import org.bukkit.ChatColor;
import org.bukkit.Sound;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerGameModeChangeEvent;
public class Gamemode implements Listener {
@EventHandler
public void OnChangeCommand(PlayerGameModeChangeEvent e) {
Player player = e.getPlayer();
player.playSound(player.getLocation(), Sound.ENTITY_VILLAGER_YES, 2F, 1F);
player.sendMessage(ChatColor.GRAY + "You have succesfully changed your gamemode to " + ChatColor.GREEN + player.getGameMode());
}
}
I haven't done bukkit but I have done fabric, and it looks like you never actually set the player's gamemode
This sends the player's gamemode player.getGameMode()
But that sends the old gamemode, But I wanna create a kinda gamemode cmd.. So I need to know how to get the new gamemode 😛
quick look at the documentation, you want to do
e.getNewGameMode() and not player.getNewGameMode()
@dark elk
Oh bruh sec I'm gonna try that xd
Pff I feel really dumb right now.. I couldn't find that 😂 But thanks Mit. 
np :)
Im not that good at json but it throws me error here, could someone help me? :D
it says on line 1093
json is just a way to store data, nothing we can help with
Hey, how do i change my gamemode to creative on cubecraft?
the last "item" cannot have a , at the end - you have a comma on the line 1092, which is incorrect and the IDE expects another item following it
U can't
and next time it would be better to send it as text and not screenshot ;)

So how to fix?
I only know json basics tho :v
Hey, do you know about the levers in the blockwars lobby? what is their actual purpose ?
remove the comma on line 1092. or send the screenshot as a text so I can make check if it works :)
ok
#💌︱staff・help or #💬︱english・general plz. this is for coding discussion
helper when?
umm.. okay, sorry for disturbence 😐
"profile_card_screen@common.base_screen": {
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "button.menu_exit",
"mapping_type": "global"
}
],
"$screen_content": "profile_card.profile_card_screen_content",
"$screen_bg_content": "Lounge_bar.dmodbg",
},
"profile_card_screen_content": {
"type": "panel",
"controls": [
{ "main_panel@profile_card.main_panel": { "layer": 1 } }
]
}
}
"profile_card_screen@common.base_screen": {
"button_mappings": [
{
"from_button_id": "button.menu_cancel",
"to_button_id": "button.menu_exit",
"mapping_type": "global"
}
],
"$screen_content": "profile_card.profile_card_screen_content",
"$screen_bg_content": "Lounge_bar.dmodbg"
},
"profile_card_screen_content": {
"type": "panel",
"controls": [
{ "main_panel@profile_card.main_panel": { "layer": 1 } }
]
}
}
ty
np :)
oh you removed the , from Lounger_bar.dmodbg?
yes, because it's the last item :)
oh I remember now
There is more errors but I think I will be annoying if I ask alot 
in other files lol
Ima try solve them myself with my json skills
try to solve it and if you are lost, feel free to yeet the json here :)
Or shove it in a JSON validator
C
D
D
E?
Sharp
F
G
I’ve just started using unity and started a great course having much fun can’t wait till I can start to make some cool ahead
Games*
I also wanted to create some unity games but my knowledge of programming is small
I only know C but only the basics
Unity has some great tutorials, you generally do not need to know C to begin with it.
Hii! Anyone here who knows how to code .net core? I need some help with my website (I'm willing to pay you for it😝)
It’s also important to note that Unity is primarily C#. C and C# are two different languages
Yee
lol
C# is closer to java in style, ain't it?
"call your mom"
"mom();"
HAHAHAHA
lol
Hey, I'm planning to learn another coding language, any recommendations?
Which languages do you know already?
I'd suggest Java or Python in general, or Java script/node.js
depends what you already know but:
if you want to start with website backed development PHP is the way to go
if you want to start with website frontend development JS (TS) is the way to go
if you want to start with me Minecraft development or pretty much anything, learn Java. but i would suggest learning Java only after you know another language
if you want to start with coding without knowing much, learn python
what about c++... xD
what about c#
ew Microsoft
but ig for desktop applications /shrug
I already know Python and Javascript
OK thx
Probably Java
¯\_(ツ)_/¯
then I would start learning Java
isnt ts made by microsoft
Ye
C# is basically Microsoft’s Java
I’m a fan of Javascript and Electron because it allows for the easiest development route for website and desktop applications. Slack, Discord, Notion, and many more
Yes
it was orginally called microsoft java even
(atleast thats what i heard pls dont murder me if im wrong)
yes i am :)
i have always used electron for that, but wasn't sure what other would be C++/C# good for
Hi, how do I print hello world in Java. Print doesn’t work. Is it system method
Also I’m using .Net so maybe that’s why it doesn’t work
System.out.println("Hello world!")
I can assure you that you aren’t using .net with Java
@lean tulip You might want to read these. https://dotnet.microsoft.com/learn/dotnet/what-is-dotnet https://java.com/en/download/help/whatis_java.html
Oh well then you’ve completely lost me
@hearty bloom a little late to the game of electron vs c++/c# but in my personal experience, they are more useful in terms of calling system code which hasn't been ported to electron. It is also significantly more performant since it isn't running your application inside of chromium 😛
For example, the only reason you are able to manage the system clipboard from electron, is because electron made a C++ module that can be used from within JavaScript. Here is the module in C++ https://github.com/electron/electron/blob/da8c35e3b256b4f9ad0c16edfbc2b56748b3a740/shell/common/api/electron_api_clipboard.cc and here is the interface which calls it in JS https://github.com/electron/electron/blob/da8c35e3b256b4f9ad0c16edfbc2b56748b3a740/spec/api-clipboard-spec.js (it's a little more complicated than this, but it's a good example)
electron.net exists
does anyone here have knowledge of java swing?
Nope, I never heard that before!
So I just wanted to ask if it is safe to leave your MySQL query like this:
insert_query = f"INSERT INTO messages (id, msg_link) VALUES ({int(msg_id)}, '{msg_link}');"
``` because if the variables are customizable, someone can put in like `;` which may cause issues.
If if it not safe then how can you make it safe?
*I am using Python btw*
i don’t know Python but I bet if you look up ‘python SQL injection’ that you will find your answers
doubt it is safe

It's probably not safe, example of how to do it safely:
pretty sure if someone set msg_link to '); DROP TABLE messages; ...' it would work
cursor.execute("""
SELECT
admin
FROM
users
WHERE
username = %(username)s
""", {
'username': username
})
thx
I will actually try that rn
you need to replace ... with something
too lazy to thing what I should put there
@plush walrus btw https://realpython.com/prevent-python-sql-injection/#using-query-parameters-in-sql
thx, I will check that out too
'); DROP TABLE messages; #
try this xd
Still not super safe
You want to look into PreparedStatements afaik
ok, will do
IIRC this is the same way to create a prepared statement
Yeah you're right
I remember there being classes for PreparedStatement that can sanitize your inputs
I must be getting python and java mixed up
It's been a long day
I have exams tomorrow
AaaaaaaaAaa
gl :)
GL
Gl
GL! :)
good luck!
A fractal using turtle graphics in python.
Teacher, don't ask me to make something in turtle graphics in my next class. I will show you up!
i love recursion
👍
i didn't make it with recursion though XD
not really at least, it's more looping
if you want the code, it's here
i just wanted to see if i could do it at all
idk who will need this but im sending a code
if u save this code as .bat its a not working troll ddos tool
its turkish
wait I will edit
k edited version
uhh maybe send in codeblock
what is codeblock lol
yey I make
as a batch file
and as exe
note: its not working and using working ones are illegal
Someone to help me with PMMP? 
Hello! Does anyone have any recommendation videos for beginners in Java?
why?
because it just is
because it is
use nukkitx
no?
or run a java server with geyser
but I want to make plugins for bedrock
use nukkitx then
pocketmine no?
pocketmine is garbage
ou, why?
because it is
if you want to use pmmp so badly, go for it
i wouldnt recommend it tho
(unless you specifically want to use php to make plugins ofc but thats up to you)
yes
java or bedrock?
oh okay
and java sometimes but mostly c#
as i said, if you want to use php to code plugins, go with pmmp
yes, i learned php for that reason
aight
Now, do you know where I can get someone to help me with pmmp?
read their documentation
sure
I will try to read it and understand it
Uhh probably really dumb issue but I have an error in my SQL syntax
check_query = "SELECT reason from users where user_id = (?)", int(user_id)
cursor.execute(*check_query)``````ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right
syntax to use near '?' at line 1```
just use microsoft word files 
get the same error basically
ProgrammingError: 1064 (42000): ... syntax to use near '?' at line 1
mope
the id needs to go in the execute?
well it has to be used in the query
check_query = "SELECT reason FROM users WHERE user_id =?"
cursor.execute(check_query, (int(user_id),))
Have you tried that?
Ensure that the value you are giving in for user_id is indeed an integer
Oh replace the ? with %s
yup, that works, thanks ❤️
🧠
No worries :)
this me:👨🦲<-- 🧠
congrats on bald
I just used thsi first man emoji I could find >:c


¯_(ツ)_/¯
I challenge you to know this code 😏
<html>
<body>
</body>
</html>
public class Main {
public static void main(String[] args) {
do {
System.out.println("CubeCraft On Top");
}
while (true);
}
}
It's a normal html format which I understand because I had to ctrl+c ctrl+v that for a year or so when undertaking computer science at my local school a few years back
@prisma cypress This isn't the place to report hackers 🙂
0.0
Hehe
grats
I did this in computer science, not sure what I was meant to be doing but it looks cool and it crashed the PC bc they are bad
(Pls tell me I did good idk how to code)
@languid flame you did good
you don't need the first 0 in both for loops
its CUTE
you know youre doing good when you crash the pc
What's a loop?
that section of code inside for i in range
that repeats itself a certain amount of times
anyone knows what is IntelliJ's problem here?
name cannot be applied to java.lang.string
thats whats happening
also, your method call is ambiguous
nope :(
I can see that 😂
but it has never been a problem
this is (or was) the correct syntax
apparently you just need to reload gradle and also maybe reload your ide
maybe cut it out and paste it back in
ah, will try that. ty :)
adding colons fixed one error xd
well, kinda 😂
now it throws errors on runtime
yeah you can't use colon
I thought so too at first, but it looked like it fixed it haha
Hiii majska
I won't keep distracting you 😂 go study :)
hii :)
Hii mitty
conea?
?
Yeah I did that trick.... Ppl thought I'm Conea
What
Masjka thought me you
Thicc
Ah ty
lol
Why
Mm
any
any that supports websockets if you are ok with making a wrapper library by yourself
there are wrappers for literally any language
but most common ones are java, js and python
if you need help feel free to ask here
you should know at least some Pythons basics since discord.py is not the easiest library
ye well I think you should know how functions work and maybe classes
SoloLearn is hot
I don't really know but I think all of them are kinda the same
Yeah it teaches well
Mimo for example is a pay to learn tho ;-;
Not all are the exact same..
Btw how did y'all learn coding? School?
uhh I learned it myself from some tutorials etc.
alr
W^3 schools and SoloLearn are perhaps your best bet at free python stuff
https://www.w3schools.com/python/python_intro.asp
SoloLearn is good because it quizzes you
W^3 is good because it has an interactive examples and lets you mess around with their examples
I agree, I check W^3 schools for help sometimes :)
eyyy thanks mitty tysm, gl with studying
ty :)
I think there is an unofficial one
Yay my pc supports python ;-;
It's been more than 5 mins trying to open it
Maj
Anything should I learn before starting with python?
A good start right
:3
w3schools is amazing, i agree XD it's the best
i never actually knew it was w^3 and not w3
always been calling in it double-u three schools 😂

W3 stands for world wide web, w cubed doesn’t make any sense 
mitgobla lied to us
Speaking of 🇼 ,
😆
Anyone know assembly?
import Relistico demo
print= (f.ture)
S = RTX SHADERS
Print = blocks name.txt
w = Block 218x218
Insert (''BlocksPht.img'')
close ('''')
01001000 01100101 01101100 01101100 01101111 00100001
ascii
is there anyone who can make a minecraft skin for me for free
hmmm... yes, programming chat 🤔 let's ask in there because that makes sense...

Is Java 16 going to affect cubecraft?
Nope, but you may need to install it if you don’t have it already to launch the latest snapshot and likely 1.17 as well
@chilly sonnet couldnt find the song "join"
@chilly sonnet command "join" not found
@chilly sonnet couldnt find the song "hello"
@abstract scroll I think the bot is broken again. please fix 🙂

The game bundles it apparently
If you use the default Java version that the launcher provides, then it'll handle it all for you. It's only if you use a custom Java version that you'll need to make sure you're up to date :)
┬─┬ ノ( ゜-゜ノ)
can enzone speak
has anything actually been removed between java 8 and java 16?
@wild shadow what are you trying to do?
like I noticed some parts of reflection have been deprecated but nothing actually had been removed
anyone knows how to fix?
You're doing something with shading in dependencies? You need to specify to exclude the LICENSE file
it broke because I updated to gradle 7.0, but this seemed to fix it :)
and nope, not doing anything with shading
Gradle makes me cry
the basics
<o/
like 6502, x86, some arm version or something?
i would start by doing research into how assembly serve components in electronics. like what things need assembly and where do i put it.
ping pong
gradle is literally hell
:(
that wouldnt work
Here @gaunt berry
yes i just wanted to tell if you didnt know
mood
Same
gradle is cool
2 is a social construct
Bruh i was joking tho
do look like a kid?
to let you know i learned html/css/java script/java/python
and i'm active member in python server
what
coherent sentence please
i learned like 5+ deffrent programming language
good for you, do you have certificates for them?
well done
and i got google certificates too
nice
the official one?
Ya
i do'nt have roles there but ya i always talk with ppls therea dn help them


windows 7?
i'm on pc lol taht's my 2nd device
oh
it's not a normal win 7 🙂
want to see?
i mean sure
which distro
wait because this week on Saturday at 4 p.m. I got banned and they didn't unlock me and they didn't unlock me
holaa
Idk talk to staff @minor roost
hola
english here tho
si?
espanol si
lol im joking
.
i speak english
funny moment
@brisk trout are you a anti cheat developers
No I'm not
@brisk trout can you tell me who are sentinel developers
@sudden saddle wants to help
Ok thanks
@steady marsh @hard bay @fluid pivot and me
But youre going to have to make an appeal for me to help you with your Sentinel ban
is it possible to host Bedrock Edition sever on Debian distros?
try it out
there are also 3rd party server softwares but the ubuntu should be fine
Oh lord long time ago since I did this O.o
can you send link to some 3rd party in dms?
Unlike the official Minecraft: Java Edition server software, the unofficial Bedrock Edition server software usually lack many things that are present in Bedrock Edition vanilla server that are built into the Bedrock Edition's client.
The servers, excluding the official Bedrock Server Software, are also free of Mojang source code. In many cases, ...
OH THANKS!
its probably better to use a third party server since mojangs version is quite resource hungry
ye, ik
what programming language do you guys use?
Omg ur alive
What? No I'm not 👀 @torpid crypt
@sudden saddle I appealed already gamertag - TIvSPOT
@hard bay can you rewiew my appeal it's about sentinal gamertag-TIvSPOT
@fluid pivot can you rewiew my appeal it's about sentinal gamertag-TIvSPOT
@steady marsh Please refrain from tagging multiple staff members. As we have said your appeal will be looked at once a sentinel dev is free. Tagging them won't speed it up
well hulk he have the normal pfp in discord
kkkkkk
@steady marsh also this channel is for coding discussions. not about sentinel appeals :)
lol
does anyone know the rust library rocket and diesel?
im trying figure out how their migration schema works.
sorry, their modeling system.
woops
Alr so I wanted to ask what is the best way to store a list in 1 MySQL column like this
+-------+------------------+
| id | list |
+-------+------------------+
| 12345 | val1, val2, val3 |
+-------+------------------+
```I am not really sure about how to store more values in 1 column and if it is a good way to go
try foreign keys, you don't really wanna save more values inside one cell, but you can reference them from another table
or just go JSON ig
hmm, I guess that works
or just use excel files
oki
even if that would work, how is that helpful?
it doesn't even solve his problem
it a joke
I know,but it doesn't even make sense
thats the joke
lmao
@plush walrus use google drive

use a c# script to send individual keystrokes to a microsoft word file hosted on a server using windows server 2012.
bang
database
@plush walrus store a MySQL database in your MySQL database
henlo I need help. I am designing a hangman game and am trying to write a function that hides the scentence whit "_", but also keeps the spaces
I have this so far but Im so lost idk what to do lol:
hiddenword = ""
for i in (word):
if " " in word:
hiddenword += " "
else:
hiddenword += "_"
return hiddenword```
there
I guess this does the job
def split(word):
return [char for char in word]
def makeHiddenWord(word):
hiddenword = ""
for char in split(word):
if " " in char:
hiddenword += " "
else:
hiddenword += "_"
return hiddenword
print(makeHiddenWord("word"))
@ashen bramble
so what you did is you split the word seperately?
ye, I created a function to split the word
ahh
real related?
Does anybody know a way to alert the user if their browser does not support a certain font type in just html? If not, I can just write Java for it
COVID-19
Ty
@indigo nacelle You should probably have a fallback font rather than not allowing the user to see the website
Anyone knows what permissions /var should have? 👀
no idea
depends what do you need
!rank @viral beacon
Virtual Astronomy Republic
yes
I know it doesn't make sense but yeah.
@spring tiger sorry for disturbing you
I hope you aren't studying, reply later if you're busy
You seem like you code, do you help developers coding of you just design (idk your job)?
I'm not on the development team, they're more experts than I am at coding 😝
I've done some coding as part of my job but I mostly manage behaviour work
What kind of designers are you?
755 for the folder itself, but if you're asking because you've recursively set the permissions of all it's descendants as well then... that's a whole other can of worms
Yeah I did some time ago and had to fix most of it
I mean it does have a fallback font, but I would like to let the user know
He is entity behavior from bedrock and stuff like that
Add daily challenges by every gamemode
Example: Make 200 kills and get 3k exp

why does everyone use pyhton
it's one of the easier languages to read and pick up on, and it's heavily used for prototyping or quick setup
hm i prefer java
java and python are both the current most popular languages so its entirely dependent on what language fits what you want to do and which you prefer anyways
Bean.exe
Except Java needs schools and python is online - free thing for those people like me who lives in countries who teaches programming in in universities
java doesn't need schools, its just as freely available to learn online as python
I prefer languages using braces everywhere so things like Python and Go are basically out
But it still needs a very big brain :/
Btw any tips before I start with Java? Like should I learn any language before starting with Java?
I'd say just basic programming knowledge, I learned Java with Bukkit/Spigot API and Discord bot APIs 😛
I wha
I would disagree
It's just as fundamentally easy to learn as python when starting from scratch.
its just different syntax and coding conventions
https://www.w3schools.com/java/
https://www.w3schools.com/python/
I’m a Java Developer for now 7years haha
0.0
._.
._.
I picked java up with tutorials on how to make different things. Schools are defo not needed if you spend enough time with it :^)
hey
:^)
Take a look at my GitHub acc
A website
smh
To host open-source code

It sounds cooler
printf ("Y'all n00bs\n");
return all;
ye that has to be the real reason
bAn

what's the value of all? 🤔
all has not been declared yet
F
xd
Not an issue in php, just a warning and it'd return 'all'
true
java would not even let you compile the code lol
is printf even a function in java
Idk java lol
just doesnt seem very java-like
System.out.printf
fair enough
adding 2 objects in front of a function will make anything seem like java
How sentinel work
Just wanted to say that making a good anti-cheat is extremely hard
print ('\nuno_reverse')
print ('get rekt')
lol
xd
^
hi
Console:```
uno_reverseget rekt
heyo
espaniol?
nope, Czech
oh I can't speak that sorry
and English ofc XD btw maybe we should go to #💬︱english・general, unless you have something coding related
*I can count to 10 in Spanish btw :))
ok
Hello
Damn, since when looks codeblock hot on phone
daam
🥵
You destroyed my ambitious 😖😭
If your ambitions were printing a string I dont really feel bad about that
My ambitious is becoming a good programmer and instead of showing my mistake you say "cursed"._.
f
hi
What the heck is this chat for?
@hazy pecan Discussion about all things programming
Who asked you?
This dude called batman5158, do you know him?
Don’t be racist to the admins
@cobalt copper
Java-Spigot is easy
Haha
I know I can make it easier with color translate but then idk when it goes wrong haha it take a long time to change the color then
I know
Haha look
On line 35
You mean this
Yea I use now this &
Is PermissionsEx still updated? I thought it's archived and not suppported anymore
luckperms <3
Ye ^
permissionsex pro plugin
I programming in python😱
Apparently PEX is still somewhat maintained, but I’d recommend LuckPerms
Ye, I thought so
luck perms and it's web editor <3_<3
don't use it enough to know the commands so that editor is really useful
luck perms' web editor is great but i prefer the command interface
Pex sucks but I’m making it for a server and I get paid so
Normally I use luckpermsGui
hi
var Game = function(){
this.pipes = [];
this.birds = [];
this.score = 0;
this.canvas = document.querySelector("#flappy");
this.ctx = this.canvas.getContext("2d");
this.width = this.canvas.width;
this.height = this.canvas.height;
this.spawnInterval = 90;
this.interval = 0;
this.gen = [];
this.alives = 0;
this.generation = 0;
this.backgroundSpeed = 0.5;
this.backgroundx = 0;
this.maxScore = 0;
}
Game.prototype.start = function(){
this.interval = 0;
this.score = 0;
this.pipes = [];
this.birds = [];
?!!?!!
why it no work :'(
Hi, how can I send a message AFTER the chat event has happened?
public void chatCheck(AsyncPlayerChatEvent event) {
String m = event.getMessage();
String[] wat = {"wat", "what", "wat?", "what?"};
//Player p = event.getPlayer();
for (String s : wat) {
if (m.equals(s)) {
Bukkit.broadcastMessage("Patat!");
}
}
}
My code right now
The problem right now is that the message gets sent before the player's message since it does these checks before sending the message in chat
from spigot forums:
"send the message the tick after the event gets ran using the BukkitScheduler "
No I've not worked with Bukkit, but it makes sense you have to send it after the event has finished.
seems to be a bunch of examples of scheduling on the wiki
https://bukkit.fandom.com/wiki/Scheduler_Programming
This tutorial will guide you in using the scheduler provided by bukkit. It will allow you to defer the execution of code to a later time. This is not the same as registering a Listener, a block of code which is executed in response to an event in the game. Blocks of code may also be scheduled to be executed repeatedly at a fixed interval, with o...
Aye, thanks
hi
its haunting me
F
Can a Developer review my code of my project dm me pls i want tips 🙂
to improve my skills
do you have the project on github?
I’m not a dev on this project but i might be of some assistance.
Do u have experience with packets en schedulers?
No because its a paid plugin haha
oh lmao
LMAO thats the easy error i ever seen haha
I mean, private github repo?
give my your opinion if it is clean or i can improve some code
its not on github
you can invite users to a repo, yeah
I may have a look in a bit, I'll see if I have time :)
i gonna put it tomorrow on github
i have to work 40 hours next week 😭
haha
normally i have to work 24 but there is a person sick so i have to take her hours ;
node.js
react.js
next.js
js
Index.ja
jajaja
Learn it babe
cubecraft.js
Js is easy haha
What's a js
JavaScript
n o
I alr can :)
babe
It is
Then teach me, I tried it like only once...
I tried, but u disagreed
you can try again 😏
javascript is weird
Bet
all computer languages are weird
🧢
lol



