#💻︱programming
1 messages · Page 27 of 1
i added a listener every time, so there were multiple listeners on the button :)
stupid m,e
oh lmao
anyone here has experience with Apache Ant?
he have to do some stuff in it for school
and I am dying in pain because of how weird it is
school
I have no idea
I've been using gradle for everything when "we" did not know any package manager
now he decided to teach us one
and chose ant
he has CI set up which is running ant
but I already managed to get it working
so it's fine :)
just make it run gradle
its that simple
That awkward moment when you realize all your collision issues were cause you were using a 1.12 api for 1.16


noob git gud kid
????????//
@slender nest can't you just do this? \w{3,16}
nope, because that does not match 0-9 and _
works on my end
which regex are you using?
regex, yikes 
Meh
@plush walrus #💬︱english・general message 
@spring swift well, then let's take /tellraw for example. it uses a static JSON structure to print out to the user. HTML is also a static structure that is printed out to the user.
gurl im not this smart, I just know minecraft doesnt use json to display messages but just to store data for messages aswell
^
json and html, in the case you're describing it, are doing the same thing
just being interpreted by different things
thank you
all I am trying to say that if you consider HTLM a programming language, you can also consider JSON and XML a programming language
never said I consider HTML a programming language
They are considered markup languages if we want to be technical. However JSON is really neither a programming nor a markup language.
Heyy, so I need to check if time 1 (now) is not more than 3 minutes apart from time 2 (time_forcheck)
This is the code I currently have but does not work 
now = datetime.now() - timedelta(minutes=3)
with open(logs_fullpath,'r') as f:
logs = list(open(logs_fullpath))
line = logs[len(logs) - 1]
time_split = line.split(" ")[0]
time_final = time_split[1:][:-1]
time_forcheck = datetime.strptime(time_final, "%H:%M:%S")
if now < time_forcheck:
print("true")
i think you need to do now - time_forcheck < something but not entirely sure other than that sorry
you're basically getting the difference between your now and future time, and checking if its less than 3 minutes
this line should be doing that
now = datetime.now() - timedelta(minutes=3)
just bad variable naming 
oh and also
@plush walrus means now is more than 3 mins
i'd suggest this stack overflow answer to help
https://stackoverflow.com/questions/15067710/calculate-the-difference-between-two-times-in-python/15068649
👀
@plush walrus how does it not work? 
oh well it works as it should but not as I want it
I want it to print("true")
if time1 - time2 <= 3:
would that work
just something from the back of my brain
afk_time = datetime.now() - timedelta(minutes=3)
with open(logs_fullpath,'r') as f:
logs = list(open(logs_fullpath))
# Last line
line = logs[len(logs) - 1]
time_split = line.split(" ")[0]
time_final = time_split[1:][:-1]
# Time of users latest action (join server, join game, ...)
last_action_time = datetime.strptime(time_final, "%H:%M:%S")
# If user has been afk for more than 3 minutes
if afk_time >= last_action_time:
print("true")
``` @plush walrus
try this
you had the > wrong way
Do you guys know javascript?
^
ew javascript
hmm
Ohhh, I don't really like js 😂 if something than typescript
But I am more of a Java guy :]
ok
noone likes javascript
lmao
my code before using classes be like:
sameee
so the issue with this code is that it always returns True
I also printed both of the times so I can see it
D:
How can I code in Java a minecraft plugin
So if a player joins give a diamond
And then if he right-click open a menu
I need a code for that
Can someone help me
try spigot
do you know Java @minor roost ?
well
what you need to do is make a Spigot plugin class and a Listener class
you can merge them to keep it simple
Yeah
I can send you the class you need to use
Via dm or?
here
Sure
but you also need to have the other files automatically generated
do you use intellij?
uninstall eclipse
do you have a spigot plugin project?
^^
Yes
so there is the main class, right?
can you send?
or VSCode
Is it okay that I can send it tomorrow
for other than php
I just need the class name and package
advertisements can be made here
package net.kqvindex.GUIPlugin;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.event.Listener;
import org.bukkit.event.EventHandler;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.entity.Player;
public class Main extends JavaPlugin implements Listener {
@Override
public void onEnable() {
Bukkit.getLogger().info("Enabling plugin");
Bukkit.getPluginManager().registerEvents(this, this);
}
@Override
public void onDisable() {
Bukkit.getLogger().info("Disabling plugin");
}
@EventHandler
public void onUserJoin(PlayerJoinEvent event) {
event.getPlayer().getInventory.add(new ItemStack(Material.DIAMOND, 1)); // Give diamond
event.setJoinMessage(null); // Add this line if you don't want the default {user} has joined the server. message
}
@EventHandler
public void onPlayerUse(PlayerInteractEvent event){
final Player p = event.getPlayer();
if(p.getItemInHand() == Material.DIAMOND) {
final Inventory inventory = Bukkit.createInventory(null, 27, "My menu!"); // 27 is the number of item slots. must be a multiple of 9
// Customize the inventory
p.openInventory(inventory);
}
}
}
@minor roost ^
Wow
I hope that should work
Yeah thank.s
I wrote it all in discord xd
I saw xd
so check imports and typos please
Thank you for helping 🙏
nw :)
discord best ide
yes
nah, google slides is where it’s at
LibreOffice Impress
👉 👈
excel
There isn't any bot just so u know
same!
!credit
!bal
!balance
!daily
!credit
!bal
!balance
!daily
You have 0 credits.
You have 0 balance.
You have 0 balance.
You have 0 daily rewards.
rip im poor
!creditadd @gaunt berry 100,000,000
Your credit is 100,000,000 credits
!steal @gaunt berry
o-o
i want your credits!!!
nuuu these are mine 

/give @p cookie 1
!credit give Palombo LEGENDARY 10000000000
bump
last_action_time >= afk_time is probably what you want?
mhm will try
Hey rushmead :)
Hey
but yes, it depends on what afk_time is cause if that's in minutes or seconds then that's not gonna work
oh i see, it's declared at the top.
Do you know if I have to set up CORS for API outside Docker network but on the same VPS? (It's a Java console application contacting the API)
I just wanna make sure
I know it won't work from other website
But it should from java console, right?
"java console", what does that mean?
Gradle application (Discord Bot)
Sorry I'm on phone, just saw you so wanted to ask
Just imagine one Java class that is compiled and contacts the API
In the main method
And then your run it from console
Unless for whatever reason your Java Applications HTTP Client has some kind of CORS implementation, you're fine
And for js frontend inside the docker network?
I am dumb lol 😂
Maybe I could have thought about it myself first before asking haha
Ye, it's on the same port
And website
So it will work
Yes
Yesterday I was trying to fix nginx to realise I had a nginx service running too which was causing the problem....
So the problem with the code is that the datetime.strptime(time_final, "%H:%M:%S") is defaulting to 1900-01-01 because no date is passed into it, meaning that afk_time will always be bigger.
And today this lol
ye I noticed
I can just use the time from the current date
like the year and date
Just compare minutes ig
ye
in which case, just use that
that is what I am doing
[HH:mm:ss]
ye
Just get mm
To integer
Will send the code when I get home
It's cold outside and my fingers hurt
It's not but it's "good enough" and faster imo
afk_time = datetime.now()
current = 0 # get current minutes, not sure how rn. Will take a look from pc
with open(logs_fullpath,'r') as f:
logs = list(open(logs_fullpath))
# Last line
line = logs[len(logs) - 1]
minutes = int(line.split(" ")[0].split(":")[1])
if current < minutes:
current += 60
if current - 5 >= minutes:
print("true")
:o
from datetime import datetime
current = datetime.now().minutes
with open(logs_fullpath,'r') as file:
logs = list(file)
# Last line
line = logs[len(logs) - 1]
minutes = int(line.split(" ")[0].split(":")[1])
if current < minutes:
current += 60
if current - 5 >= minutes:
print("true")
this should do the trick
I think
and is there a space for return False?
just do
return current - 5 >= minutes
alsooo
what I would do, since you already read the docs somewhere
well gotta get the minutes correctly first
oh
it's just minute
works
from datetime import datetime
def parse(logs):
current = datetime.now().minute
line = logs[len(logs) - 1]
minutes = int(line.split(" ")[0].split(":")[1])
if current < minutes:
current += 60
return current - 5 >= minutes
print(parse(["apple", "banana", "[20:08:00] asa ijadwi "]));
print(parse(["apple", "banana", "[20:14:00] asa ijadwi "]));
can you send here the whole program please?
yes
new discord codeblocks be looking smexy
I will send you a bit faster version
oki
sounds like a harddrive killer
yah
yes I should
i found a fatal flaw in your code
mhm?
what if someone uses cubecraft.net as ip
do this: ```py
if "Connecting to" && "cubecraft.net., 25565" in line:
@plush walrus does it work?
imma test it in a min
oki :))
Ah
how much damage does a stone axe do in skywars?
2 possible sollutions:
for cycle but return after first iteration py def afkCheck(logs): current = datetime.now().minute for line in logs: minutes = int(line.split(" ")[0].split(":")[1]) if current < minutes: current += 60 return current - 5 >= minutes or convert to list ```py
def afkCheck(logs):
current = datetime.now().minute
minutes = int(list(logs)[0].split(" ")[0].split(":")[1])
if current < minutes:
current += 60
return current - 5 >= minutes
1.8: 5
1.9: 9
bruh what
How do you make the box look like that
huh
Oh ok ty
```py
def hallo():
blah blah
```
you can also specify the language ^^
Gotta love when your plugin.yml just is like "What main class? No idea what you're talking about you dont have a main class" -.-
I had this once
Fixed it cause it was only exporting my plugin.yml for some odd reason
XD
banAllHackers()
Best code to ban all hackers (: ||jkjk||
I just got notification for it
I’m probably stupid and forgot about it
Cause I’ve seen it jt before
Yes too time consuming
i want to marry .net
its been there forever
@plush walrus does it work?
gonna try it 👀
starts alr now gotta test the afk
after 7 minutes it is still running 
np
-join
On what version of spigot/bukkit
i always use 1.12.2
1.16.5
ew wtf
main class named "Main"
doing everything on your main
wtf
look at that nesting
it's clearly just an example
^^^
LOL
I did not decide to do it this way haha
and yes, it's just an example
get bullied
poor javaman
:(
:(
I am sorry, but I won't be sending 4 different files through discord when this is easier haha
I don't have it
why not compile it as well?
Kevin just asked me how to do this
I dont even have it as intellij project
Unless you're doing nms
make a discord bot which compiles text messages
LOL
imagine
:>
!project compile project1
...
That's a terrible idea lmao
!project class me.illusion.project1.ProjectOnePlugin code https://www.pastebin....
or just
!project project1 class https://www.pastebin...
as it can get the package root from the first line
add all your classes
and let it compile
!project compile project1
class Main {
public static void main(String[] args) {
Discord.getCurrentGuild().getChannels().forEach(channel -> channel.delete().queue());
}
}
ye
!project compile project1
class Main {
public static void main(String[] args) {
Virus.install();
}
}
bro imagine making a plugin
That trains with bots
Like an anticheat
Where bots try different scenarios
!project compile virus
class Main {
public static void main(String[] args) {
Virus.install(args[0]);
}
}
And some bots have values set to legit
Then you let the anticheat train for like a week
With 200 bots
!project run virus free-ranks.exe
lol ok
👀
this should be called a Java channel lol
please no
c#*
ok
plz link I need rank
What could go wrong
you could get an ad
Hello, does anyone know if it is possible to create user gui in 1.16.4 similar to social interaction (When you click key 'p')
similar to social interaction?
ain't the social interaction menu already a thing in 1.16.4? yes it is. What are you looking to do then? 
You can’t
That menu is built into the client, it can’t be opened server side
unless a client mod is used
OK, thanks
Someone asked me once if i want free rank the only thing he needed was my password and mail 😂
LOL
Hello thare noobs
no u
sender.sendmessege("hi all");
What's that for
use POST and not GET
Not a web dev so there's only so much I can do but the website is defo broken there :)
aka a library
Whats post :D
what language is it?
idk :p
HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Although they can also be nouns, these request methods are sometimes referred to as HTTP verbs. Each of them implements a different semantic, but some common features are shared by a group of them: e.g. a request method can be safe, idempot...
Ty
GET is the default (when you open it in a browser)
Where get is requesting data
Ahh I get it thanks for all your help
nw :)
or just go to inline curl
@solemn swallow https://reqbin.com/curl
what is the url?
curl -X POST {url}
Currrrl
Thanks for all your help tho I already fixed it. The website didn't allow me to add images on chrome so I opened mircosoft edge and its working right now.
lol
Yoooo I found my blockstate video I uploaded! I made a plugin that let you change the blockstates of any block you looked at (I know about the stupid stick LOL) https://www.youtube.com/watch?v=f9t54Pynhpc
Guys, what is runtime error 215 and how to fix it?
Send full stacktrace pls
So, i'm trying to make an automatic ball volume counter and ball surface area counter with the radius is the user input and it works, but if i input a number that is more or equal than 294 and is divisible by 7, i get this error. But, if i input a number that is not divisible by 7 and it is less than 65535, it works (i use word integer type so that it saves more space)
(Btw this is Pascal and ignore the obs studio and the jQuery file down there ;p)
Idk pascal sorry :/
That's ok. I mean, the ratio here between the people that knows Pascal and the people that knows c++ probably drastic
@mild condor Quick Google determines it's an arithmetic overflow error - somewhere you are storing a value too large for the memory
But what memory?
Well, you're assigning three variables to be a currency type. That doesn't sound right, as currency probably can only have two decimal places.
But your calculations for doing ballVolume is probably returning more decimal places
(Seeing that you are dividing by three, seven, or 21, it's bound to happen)
But still, currency still store 4 decimal behind the number, and the main number can up to 2^63-1. When i input 294 to count in wolfram alpha, the ballVolume will return 106489152, which is less than 2^63-1, but when i input it in the program, it says "Runtime Error 215" and the unique thing is that, if you input a number that is divisible by 7 and is more or equal to 294, it Will say the same thing
Perhaps changing it to a double.
You definitely are performing some arithmetic (calculation) that's causing it to go outside a variables memory size. That can either mean the number is too large, or has too many decimal places that can't be represented.
Might be worth changing currency to a double, as that should hold more decimal places.
Well, i tried that already, but it still doesn't work
I tried creating different var and also failed
did you put a d after the double
you have to do that in cs
idk pascal but maybe thats why it didnt work
Just out of curiosity since I calculated that first if block where the error occurs,
What does ballSurfaceError:1:4 do in writeln, specifically the :1:4 bit?
@mild condor
Sorry if I doubled pinged my discord is weird on phone
:1':4 means that 1 digit will appear in the left side of the comma (Will be ignored if the number has more main digits) and 4 digit will appear in the right side of the comma
Ma English is bad
its fine
Ah makes sense. I'm not entirely sure if the issue is occurring on those writeln lines since the two lines of calculation above it are not too large or small.
When I calculated it with 294, it had no decimal places. So perhaps you need to get rid of the :1:4 bit
Since writeln is trying to represent the number with 4 decimal places, but it has none.
Weirdly, this one works
Hmm, so that rules that out then.
Also, the :1':4 bit is only for real integer output config
If i don't add it then it Will display like 1.0000000000000E+001
Yeah that makes sense
According to some forums you can check for range and overflow errors by putting this below the program line
{$OVERFLOWCHECKS ON}
{$RANGECHECKS ON}
Also, are you on a 64bit computer
And are you compiling using a 64 bit version of the program?
Yes
What happens when you run with those two checks? @mild condor
It stills the same
No difference
c
So basically what I want to do is create a new text file every time a form is submitted using the variables entered in the form
<form class="form">
<label for="fname">input</label><br>
<input type="text" id="lurl" name="fname"><br>
<input type="submit" value="Submit">
</form>
and here is the php
<?php
$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
$txt = "${FORM_VAR_HERE}";
fwrite($myfile, $txt);
fclose($myfile);
?>
And there are 2 issues:
1 -how to run the php when the form is submitted
2 - how to use the data user entered into the form in the file
Are you using plain PHP only?
well I do not think so but I am not sure haha
What are you using?
yes he is
you need to have some sort of a webserver for that
easiest is running php -S 0.0.0.0:80 -t {path_to_the_folder} and yeet the php and html files inside the folder
and form stuff you get by $_FORM['name']
and don't end php ?>
just forgot to copy the line
index.html
<form class="form" method="post" action="success.php">
<label for="lurl">input</label><br>
<input type="text" id="lurl" name="fname"><br>
<input type="submit" value="Submit">
</form>
(for=".." is paired with id="..")
success.php
<?php
$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
$txt = $_FORM['fname'];
fwrite($myfile, $txt);
fclose($myfile);
echo 'Successfully writen file';
this should do the trick
is this homework
no
@mild condor So I've never used Pascal before, so I tried to find the issue with your code.
I used an online compiler
Program HelloWorld(output);
uses crt;
var
numInput: word;
ballSurfaceArea, ballVolume, phi: currency;
begin
clrscr;
numInput := 294;
if (numInput mod 7 = 0) then
begin
ballSurfaceArea := 4*22*numInput*numInput / 7;
ballVolume := 4*22*numInput*numInput*numInput / 21;
writeln('Surface ', ballSurfaceArea:1:4);
writeln('Volume ', ballVolume:1:4);
end
else
begin
phi := 3.14;
ballSurfaceArea := 4*phi*numInput*numInput;
ballVolume := 4*phi*numInput*numInput*numInput / 3;
writeln('Surface ', ballSurfaceArea:1:4);
writeln('Volume ', ballVolume:1:4);
end;
end.
Using numInput := 294 worked, whereas in yours it does not.
I have no idea why, and I don't think I have any other difference than hard coding the variable and also a different program name (since its using an online simulator)
What is the output?
The difference is:
- the program name is a output only program, not input and output (i think)
- the var you just input is already assigned, while in mine, the input is from user itself
with the input 294 I get output:
Surface 1086624.0000
Volume 106489152.0000
when I use readln and manually input 294 it works too
I was just hardcoding them so I could quickly test
Try 301
I get
Surface 1138984.0000
Volume 114278061.3333
huh
honestly the only thing I can think of from reading online is that you're running a 32-bit version of the program so its limited on how large of a number it can store
Probably...
does the help menu have an about button? might show version in there
@hearty bloom
$txt = $_FORM['fname'];
oh lmaooo
it's $_POST['fname']
ofc
but dont do that
"Win32" rip - its a 32 bit system.
so your variables are limited
Oh. Also thanks btw
no worries, its an interesting language that i've never used before, i like how straight to the core it feels
Also, there is no win64 offline compiler so, gotta hang with that :/ but it's fine
Cries here too 
I'd suggest taking a Java/Python basics course, absolutely tons online. They make a good introduction to programming practices and important functions
I was taking python lessons
Then my brain hit a wall
Like python is math,
print ('Hello hi') and stuff
Does anyone know how do a paste with fawe, I've got my code using world edit, and it works, but I would like to change it to fawe
Or print x = '52' + "32"
pasting a schematic?
Yes
//paste
Using the API. _.
Xd
just write a program that puts //paste in console 

















Is not as easy
I don't understand it, it why I ask
Do you have any recommendations on which sites to get started on
you want to learn just some basics?
Yes for starters
And if I like it might learn more but got to start somewhere right?
I don't know really but I sometimes check out this site when I do not know something and they have some Python for starters also
https://www.w3schools.com/python/python_intro.asp
Code Quests is quite a fun site, basically you learn a language to play and progress through, they have lots of different languages you can do
If you want to start with programming, I would suggest Python over Java to be honest
+1
but for bigger and more advanced projects (where code style is important) I would recommend Java - sorry mit 😂
what why sorry
I use both
as
https
Once i coded a simple game that is pretty pog for me, but that c++ project is abandoned sadly
What server software does Cubecraft bedrock use?
wdym by "software"?
iirc it's custom
I may be using the wrong terminology sorry
Oh I see
Well I was just curious mainly, to see how the featured servers ran things
oh I see
Making a custom API sounds like a fun c++ project
mhm
Do you know what language they use for the Cubecraft API?
honestly no idea :(
XD
Thanks anyways
np
So are you a server owner or something?
no haha
Yeah im just a guy who's trying to learn c++ but still knows pretty much nothing
@grave talon we run a Java server with modded protocol support to allow Bedrock client to join
Wow, that's really cool actually, but doesn't the Java edition server have things bedrock doesn't and vice versa? @zenith hill
you can read more here: https://www.cubecraft.net/threads/behind-the-cube-1-feelin-lucky.264600/
can someone help?
So I made a texurepack for 1.8
But when I send the texurepack via winrar + email to my friend
he can like apply my texurepack and see it
but he cant see the texures etc
like the swords, blocks and all of that
How did you zipped the pack?
?
https://www.laptopmag.com/articles/how-to-zip-files-windows-10 i did this @ocean echo
are you sure you did not make any mistake in the pack.mcmeta?
nw
@solid birch please do not swear

NOOOOOOOOOOOOOOOOOOOOO
Aww mad bc 2 ppl warned me for 1 thing
yess
cute
Probably one of the best Behind the Cubes 😎

There’s 2 
Speaking of Behind the Cube - what are some topics you’re all interested in to learn more about regarding CubeCraft in a more technological way?
👀
More about infrastructure
How you fix a bug
Specifically?
How do you run a bungeecord with many instances, self expanding servers and keep <@&786990632676753468> from killing everyone
That last part is something we don’t have an answer to
+1
What's a database 
cube stores all of their data in microsoft word files
👀
Do guys have your own Servers to host cubecraft?
yes they do
Anyone know if cubecraft used a texture pack for images on scoreboards? I know they used one for changing the minecraft logo to theirs, but is it any different or the same with their scoreboards?
on bedrock, yes
So the same texture pack is used?
ye, server texture pack
most of the icons are added with letter/character texture in font/glyph_E1.png
think they do the main lobby one different though
Why bugs keep showing up days/weeks after there fix
Specifically bedrock
Bruh it’s not like they try to-
when you spend a couple of hours debugging and another bug appears 🥲
Well yea that’s what I want to understand
Why and how
I mean stuff like eating bug and blocks have been reoccurring multiple times since I started nearly 2 years ago
But bugs that mean absolutely nothing like audio or visual bugs are fixed so much faster and never reoccur
well it depends on what kind of bug is it
Well yes because those are easier bugs to fix
Well yea but like the KB it didn't even feel like they tried to fix it :v
Very late in this, but thank you :)
cube bedrock in a nutshell
Is the invisible item glitch already fixed(Skywars)?
#💌︱staff・help, this is for discussions about coding
and a little bit of trolling
trolling?
it's just a question lol
Yeah, but this is not the right channel to ask that kind of questions. Next time, do it on #💌︱staff・help.
y tho, someone already said that
Anyways, I am not good at coding.
Hi not good at coding
I only used to program things with python and I got tired of it.
ahhhh yes i like programming
epic :)
PHP obv
don't you even try 😂
you tried...
sorry
It happens lol
Python and JS are scripting languages 🤡
you misunderstood LOL, i meant this channel
It defines how a webpage should be
ye
It cannot do logic nor arthemetic
but it still is a language, just markup
it's not a programming language
that's what he meant
but not what he said :>
but do you see this
yes
ik it's not what he said, but I just used brain ;)
What is that?
I dunno, but I heard zombies love it
there you go
it's just a txt file renamed to exe so you can't even run it
ohh makes sense
I'm convinced there's a quicker way to do this, but can't quite put my finger on it.
correctOne = "no"
correctTwo = "no"
while correctOne == "no":
passwordOne = input("Enter the password:")
if passwordOne.lower() == "compass":
correctOne = "yes"
print(" nultaOa,'ohmng vseecayet .eio g")
while correctTwo == "no":
passwordTwo = input("Enter the second password:")
if passwordTwo.lower() == "twenty":
correctTwo = "yes"
print("vnl tiiIltdImYeelgosntl e io e t hrpsudwtttp.wga,re'oeo ho ier o.")
print("Until next time.")
else:
print("Try again.")
else:
print("Try again.")
and what are you attempting to do?
please do 😛
.,............,m,.;l;l;;|
firstPassword = "pass1"
secondPassword = "pass2"
while True:
if firstPassword == input("Enter the password:"):
if secondPassword == input("Enter the second password:"):
# Successfully logged in
print("Until next time.")
break
print("Try again.")
MEAN
thx lol
np :)
rule number 1. never thank Maj
:(
no thx lol
jk ly
lol
This is python right? I don't get why you used strings instead of booleans in the first example
+1
+2
+3
I just, agreed
4+
+5
+6
java, php, python, js, ts, c#
python bad

pmw
+7
JS,c++,pascal,
1v1 me in Java u wont
I would :]
js,php,python
cs java
we all probably waiting for a cc stats api
java, c#, and python
Yes indeed
wAiT
ur a mod do something
become a dev and make the api
ez
That’s definitely how it works
that is how I WANT it to work
sad no api noises


Hello
String greetingresponse = "Hello!"
hello
A string means nothing if you never send it ;)
thats mean @dense zinc
i wouldnt say you mean nothing either
you hurt his feelings
aww
Bedrock player in a nutshell:
import time
def complain():
print("Can you finally fix the knockback")
time.sleep(60)
complain()
complain()
no hate btw
public void onCorrectionAsked(CorrectionEvent playerthataskednicely originalreceiver){
new FixedGreeting("Hello!")
.color(ChatColor.GOLD)
.send(playerthataskednicely, originalreceiver);
}
I don't know java
and this is how bucket sends messages
I think
var hello = "hello";
var world = "world";
document.write(hello + " " + world);
theres already an api
Its just not public yet
whyy
they could do what youtube does by giving away "keys/tokens"
this isnt even the hard part
is it?
they want to use passport/keycloak for authentication
and since the api isnt a particularly high priority project, we gotta wait
welp
You have to make sure you set up rate limits, GDPR isn't broken, ...
But I am just guessing - coz I don't have inside on what's happening with that API
ben only said the only thing holding them back is the authentication
Authentication was a prerequisite to beginning work, not release :P
👀
I think I've said this a few times in this channel and others but a) we don't have anyone with time to work on a public API right now and b) we're waiting for some other internal things to be done first
Like Ben said above we don’t have one. It’s important not to spread false information.
Can someone help me?
👀
I am using this API
I want put an image to a button
But when I write the URL
Doesn't appear on the button :(
sorry dude, don't know how to make plugins at all
No problem
what URL are you using? are you referencing an image from a resource pack or an image online?
api.cubecraft.net exists tho
thats enough proof for me to believe theres an api
Of course, you are allowed to believe whatever you want. What I am saying is don't spread false information - we won't allow it.
i genuinely thought there was an api tho, ben talked about it a while ago
i must have misunderstood smth
It is also several years old and does completely the opposite of what you probably think it does 
omg itz ben
When we have something we'll let you know but wild speculation doesn't really help anyone xD
omg yet another ben
api.cubecraft.net pings: 📈
hi bens :)
Eric Andre is hilarious
it wasnt a wild speculation, i genuinely thought it existed

Can i talk to a developer privatly??
You can DM anybody if they have their DMs open. I can't guarantee a reply though.
yo any dev in here for bedrock ccraft please try to disable autoclick
yo can eny one tell tiesonic on beedrock 1 to unmute me
Please stick to programming related messages in this channel. If you need assistance with a mute #💌︱staff・help would be your best bet.
n o
An image online
make sure you've got .png at the end of the URL (Or just add the file extension in general, I think it needs to be a png though)
Looool I'm in an online session about a new uni degree programme I want to do: programming, the professor literally said "Comic Sans no can do"
Comic Sans 🥺
go for it :)
and if you need help, message me :)
ew discord js 🤢
What programming languages can you read/understand/write yourself?
but I agree, Discord bots are really fun to do
write: java, js, php, python, ts
understand: c# and pretty much all normal languages
- html, css+scss but I don't count those
This degree programme focuses on HTML, JavaScript, CSS and also a bit on TypeScript, Python, PHP, Sql, Sas, etc.
How'd u go about learning all those
so mostly web development
sql is fun xd and it's Sass btw
^
sql is very easy as its kinda like a sentence and uses english words
My main concern is just that while it all sounds fun to me, I'm scared that I might not have the skills to understand all those languages. While they are pretty similar in a way where if you understand the basic logic behind them, you'll have an easier time understanding all coding languages in general, I'm just scared that I won't understand the basics lol
I mean, I just learnt JS (JavaScript) for some basic knowledge. then added PHP and Python and at the end learnt Java. Once you know Java and Python, you are pretty much able to understand all normal langauges
y'know entities? its pretty much javascript
but I started learning 8 years ago sooo 😂
I'm interested because with Minecraft I already do commands - I know it's not real coding but it's coding within Minecraft where you also need logical thinking.
and I am self-taught, so you should be faster
if the teacher is good, 2 years is enough
considering you already know how to think logically with command blocks, programming will be an easy jump for you ngl
teachers* obviously multiple teachers, we'd also get courses like business & e-commerce, computer systems, basic front end, advanced front end, internships etc
basic front end, advanced front end
front end can be advanced?😂
Hope so haha, I'm also trying to teach myself more about entities because it would be very beneficial I think to have someone on the Design team who is both a Redstone Engineer as a Behaviour Engineer as it would make certain projects MUCH easier. So I'm just opening random entity files from on-going projects, i try to read and understand the logics behind them
do you mean "can't"
it was more like a "confusion question"
Also another main concern aside from logic thinking that I might not have - math. My mom works in IT and she says she had to learn very complex math while she was studying (30 years ago)
well, i'm always happy to sit in a designer vc and you can watch me do entities lol
nah, math is not needed
i failed math in my gcse's and here i am doing a computer science degree
really aint needed
or like, depends what do you want to focus on
What programming languages are you learning though Dronade
but for web development it doesn't matter
Well, this degree also focuses a bit on back end I think? Python, PHP, Sql, Sass,..
yay when
java is my main one that i use for uni, then i know python, javascript, basic web dev stuff, and SQL
and learning ruby rn and then gonna try C++
im doing entity stuff rn so whenever lol
sure i'm still in the online info session - so will probably be another 30 or so minutes.
sure sure
@small hare you should learn this coding langauge:
++++++++++[>+++++++>++++++++++>+++>+<<<<
-]>++.>+.+++++++..+++.>++.<<++++++++++++
+++.>.+++.------.--------.>+.>.
ew
MY FAVOURITE
there is some weird programming languages lol
tf is that
moo is my favourite, but the one i hate but weirdly admire is whitespace
:(
google it, it should tell you the name of it
that reminds me i gotta update my languages on my website lol
cba to load up bootstrap tho just gonna edit the text on github lol
best language ever xd
big brain
really?
on it
what programming language is in this channel description? @hearty bloom
java
like java minecraft
omg im so smart i'm going to be such a pro programmer
y'all got nothing on me
whats this
github
What is good noob
Ty
👍
👍
He’s insane
Imagine not knowing Swift what a loser
I MADE Java
oh that's why it's so weird
The anti cheat is flawless
#Shorts Curb your false ban on Minecraft. I was streaming on cubecraft bedrock edition and randomly got banned when I dont believe I was doing anything lol. Hopefully it gets lifted
Only the best dev team on this server
U can appeal
Did
Trust me none anticheat on any server will be perfect
We saw a dude fly like they where in creative with 10 block reach play for 3 games with no ban
Then it possible was a client that bypasses Sentinel
So it won't ban...
The bypass will get probably patched, but pretty sure on bedrock its even more harder
Then on Java
Ah yes the legit fly hacker
Again, no anticheat is perfect. Best you can do is report the person cheating so the bypasses can be patched as well as open an appeal with as much info as possible so the false ban can be looked in to 🙂
ok

sentinel doesnt know ur abusing bugs
and abusing bugs is against the rules anyway so like
Ok I'll tell him he isn't allowed to place blocks
jumping on ghostblocks looks like airjump or fly
for other players
and the anticheat
How do I see what is and what isn't q ghost block
ur creating ghostblocks by placing above the build limit
ghostblocks are blocks that got desynced
Again tell me how I can check
and they only exist on your client
right click a block
if it disappears
its a ghostblock
So what ur saying is every block I see I should right click
That's what it sounds like
no dont create ghost blocks in the first place

dont build above the build limit
How do I no do that without show coords
look in chat
I mute chat
and if the block disappears-
Ghost blocks dont
no u dont
@gaunt berry that's not me playing
why u complaining then
Its me friend and when I said that you ignored me
Because the anticheat lost us our winstreaks
tbh u deserved it
Why tho
bugabusers are annoying and its against the rules
Ok that's not my problem
no its ur friends problem
So why did I deserve to loose my streak then?
I lost a game because the anticheat kicked me out of it
The server killed the streak not me
is this even programming related at this point 
no
it is not






