#💻︱programming
1 messages · Page 22 of 1
Ok, im back
😂
Hi 🍔
Java is not that hard but it's not easy
What question?
Ofc no
It's a mark-up language
That's like saying JSON or XML are coding languages
:(
what is the best way to make a plugin for bedrock edition?
@hearty bloom How else do you think we run one of the biggest Bedrock networks in the world
I am a Redstone Engineer which means I work with command blocks in singleplayer, I don't make plugins so can't help you with this sorry 
i am working on some amazing stuff tho
F
then how do servers operate?

i will single handedly push bedrock to a whole new era
so do bedrock servers not use plugins at all and instead use command blocks?
I just said you can make plugins
It's gonna be the worst era of cube tho
shush
do so
it's LAMAO
say lmayo again and we'll never play again
Never, cause u used that smiley

CRINGE
@agile cloud your emoji SUCKS
let's move to #💬︱english・general
It is a GREAT quality smiley!!! Don't you dare insult :smil:!!!
Nop :(
L
Is there an public api?
Nope
Not really, in CubeCraft's case, the development team has probably developed a proxy to handle bedrock players with regular Java servers, and this is custom and closed source, this is why there are so many things fixed regarding bedrock in #📰︱changelog. However, there are quite some open-source projects that allow Bedrock players to join Java servers like DragonProxy(abandoned), Geyser(their page clearly says "Geyser is an open collaboration project by CubeCraft Games.", so maybe they use this here? who knows) and so on. This may have not answered your question, but** I'm not really into Bedrock, so I'm not sure if there's a specific plugin system/software developed for Bedrock only**, I only know proxies, but this is probably how most of the servers do it.
geyser is a fork of what cube uses
its the open source fork
🍴
It's kinda reverse
Cube probably forks geyser
But sends the bedrock players to different servers for some reason
nop
Huh
theres a thread abt it on the forums
gimme a sec
actually i cant look it up since the forums hate me
its called "behind the cube #2"
It's Behind the Cube #1 - https://www.cubecraft.net/threads/behind-the-cube-1-feelin-lucky.264600/
#1 then
imagine playing on mobile/xbox/etc. against someone who is playing on PC
seems fair
xD
thats why input based matchmaking exists
But on stuff like Skyblock
And also they have a good internet connection
Either 1gbps or 10gbps per dedicated machine
Each dedicated machine holds 25+ minigame instances
To clear up some of what was mentioned/asked above - we do not run Geyser on CubeCraft. As explained in more detail in the post Stuart linked, we run a software known as Translator which functions very similarly to how Geyser or any Bedrock -> Java proxy would work in general. Both softwares are their own, and neither are a forked from one another - Geyser was something I started before I joined CubeCraft, and the Translator software CubeCraft uses predates Geyser 😄
cant they just throw a bunch of laptops in the room connected to an ethernet switch
thats what our school uses
Most likely, your school's ethernet switch is connected to a Core Switch, which is connected to a physical firewall, connected to a Router, which is connected to the Internet
Enterprise-wise, a router and a WAP (Wireless Access Point) are very different components
But in the consumer market they're combined
Cubecraft's dedicated machines use something similar, where each server is connected via gigabit (1gbps) or ten-gigabit (10gbps) to a switch, which is connected to a core switch...
The firewall isn't present I think
But apart from that, everything's the same
no, its just like 200 laptops connected via usb
and vga
usb drive via vga port
yeah but with a little more display port
Why
Younisco trying to get ideas lol
SkyBlock by the looks of it unless you have us bamboozelled by the class names 👀
I has to be. several file names are also for skyblock
is cubecraft a java server optimized for bedrock?
The Cubecraft Bedrock server is a Java server, so kinda
so is there crossplay between java and bedrock?
No on Cubecraft itself
But you can use geyser (I think that's how you spell it) to play Java through Bedrock
You need a Java acc for it tho
only if the minecraft server is on online mode
you can
Why do they keep changing stuff that's a bad idea
It is indeed Skyblock
It's only ~50% done so far
Will most likely spend the entirety of today adding multi-proxy and proxy support
Already wrote ~80% of the proxy side, just need to actually implement the command that calls the requester
Then for the spigot side I gotta do some plugin messaging to send the island ids to the proxy when requested
And that's mostly it
Yesterday I went mad and coded for like 8h straight
went to bed at 2am
This is fun
Agreed
nice
I moved everything into CompletableFuture and called whenComplete for the SQL process
Why aren't you working ree
it works
The SQL issue that I've been having for the past 16 hours got fixed by
I changed my entire plugin structure to use CompletableFuture and actually work good
and the fault was this
Don’t worry we all make dumb errors
I had an error for a while until I realized I had a capital instead of lowercase
||Some more than others||

had a class with an init() method. I was so angry why everything was null, I've never called init() ....

I had trouble with all database drivers. I've made a lib that can handle a lot of database types for your plugin, no need for SQL etc., so your users can just change a setting, what db they would like to use. Still not ready not much databases are implemented mostly the more widely used SQL databases and MongoDB.
that took some time
does not require abstraction
my first code, that I needed to comment every single line because it's quiet complex
xD
especially the SQL builder
Well
My project is a big Skyblock core made for servers like cubecraft
With multi-proxy support and everything
To allow a smaller server to use my plugin, without extensive setup, I added SQLite as it's a similar setup
Turns out that the syntax is different on some parts
And also it can give me issues on certain occasions
So yeah
I underestimated SQLite as a MySQL clone that saves everything to a file
same syntax
But no, different stuff
lib is 2MB (with some DB drivers included, they'll need to be excluded if you don't want to use them)
wait
yeah
a lot of code
not gonna send it
it's like 7k+ lines of code just for a library
yeah
SQLite can be different
it also has some unique SQL keywords etc
this is just because I'm fed up with writing almost the same things over and over again, and searching for solutions, so I make it into one library
so I can use it later with an other project
also
SQLite driver is insanely huge
xD
SQLite is already bundled with spigot / bungee
Same for MySQL
Gson, apache...
If I need a lib shaded I'll most likely put that into a plugin and publish it on spigot
then just use my altered auto updater to download it automatically
HTML the best
@quasi oasis ^
since that guy's pfp is gray it looked like tothtomi was talking to himself
Aw man, do I have to use a GPU for Pytorch or whatever?
no
you can install the cpu only version
but gpu is recommended because it is loads faster
I just want to make dame da ne memes 
I need to go to class I'll figure this out later.
Me not having NVIDIA GPU is a dame da ne moment.
use compute stick
best pc
as good as tower defense instances
After horde starts
Anyone know about javafx? I can't install the constroles into the .fxml
You need to import it in the fxml
http://tutorials.jenkov.com/javafx/fxml.html#importing-classes-in-fxml
I'd suggest using Scene Builder because its an interactive UI builder and does all the imports for you
Wrote a basic communication protocol using Jedis
Allows multiple proxies to communicate while minimizing the number of internal updates
Class structure looking a bit bigger than yesterday
Jedi
whta lnaguage do you guys code in?
Python, C# or C
Java and Python, but once i get some free time, C++
c# and python
Java, PHP, JavaScript (+scss,html), Python and bit of C#
Java and C++. I don't consider HTML & CSS a "programming language" but I'll count those too
I mean, once you know a low-mid level language, it becomes easier to adapt to higher level ones. Just minor syntax differences and other stuff
yes
scss is a programming language tho 👀 but yea, didn't really count them xDD
Java and swift
What shake
Suck an egg @patent vortex
Meant to quote this one
World and island load when you join
Then the world contents get deleted and the world gets unloaded when you leave
And when you join back, your island is back there
Works across servers and across proxies
When your island teammate joins, though any proxy, he'll be forced to join your server and teleport to the island you've loaded
Uses Redis for the multi-proxy part
And plugin messaging for proxy <-> server
If it's just a single instance, you don't need a MySQL / MariaDB database
It's a smol project
You can check it here -> https://github.com/IllusionTheDev/SkyblockCore
That’s pretty cool!
{
List<Integer> daysToRet = new ArrayList<>();
Integer daysInMonth = DateUtils.daysInMonth(monthAndYear);
for (Integer i = 1; i <= daysInMonth; i++)
{
daysToRet.add(i);
}
Set<Integer> dedupeCustomers = new LinkedHashSet<>(daysToRet);
daysToRet.clear();
daysToRet.addAll(dedupeCustomers);
Collections.sort(daysToRet);
return daysToRet;
}```
Not our code, but it makes you think.
It did indeed make me think

1 - Unecessary boxing - use primitives
2 - How would a loop going from 1 -> daysInMonth create duplicates? Only duplicates I can see is if daysInMonth = 1, which would never happen
private List<Integer> createListofDays(String monthAndYear) {
int dayCount = DateUtils.daysInMonth(monthAndYear);
if(dayCount == 0)
return Collections.emptyList();
List<Integer> result = new ArrayList<>();
for(int day = 0; day < dayCount; day++)
result.add(day + 1);
return result;
}
This is a more efficient method that does the same thing
ree
Modders be like
lmao
no, he just has IRL particle effects
I love floating point arithmetic.
php or html
nice
More in HTML
Has anyone here used GraphQL before?
I'd highly recommend it over making your typical HTTP Rest API. It's so nice and simple and even works really well with React.
I might look at that
Never bothered with web development much more than like premade sites
Hey honey, i'm a depressed girl and i want some company, if you want to play with me my discord is ALEGECY#0001
and verrrrry good at programming
So does anyone here know how to use the Bukkit api to summon a marker armor stand that is riding a player, but not appearing at the head location of the player. I basically want it to show up as a title above the playername ingame. Currently my best attempt is letting a small armorstand ride the player, to then let marker armor stand ride that small one to let the nametag of the marker one appear below the small one's nametag. That way, I can get it working pretty well, but I don't want that small armorstand to be there.
GraphQL is more than just web development.
reactJS
reactOS
Mac = Apple
Java is to JavaScript the same way car is to carpet
that was exactly how I felt 😂
private String host = Main.plugin.getConfig().getString("database.host");
private int port = Main.plugin.getConfig().getInt("database.port");
public String database = Main.plugin.getConfig().getString("database.db");
private String username = Main.plugin.getConfig().getString("database.username");
private String password = Main.plugin.getConfig().getString("database.password");
private Connection connection;
public boolean isConnected() {
return (connection == null ? false : true);
}
public void connect() throws ClassNotFoundException, SQLException {
if (!isConnected()) {
connection = DriverManager.getConnection(
"jdbc:mysql://" + host + ":" + port + "/" + database + "?useSSL=false", username, password);
}
}
public void disconnect() {
if (isConnected()) {
try {
connection.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
public Connection getConnection() {
return connection;
}
}
This was my first ever code and I was wondering why the entire server died when players joined
mongo > mysql
I only read English not whatever that is
Are you guys tryna backdoor the server
No lol it’s their server code
XD
My server doesn't die even tho I'm using that🤡
Lol
0 spikes at 100 players consistent
jij wel tijger
Our FFA server with 125 players fighting in a 50x50 area transmitting 600k pps only uses ~100% CPU usage
Only using 1.5G ram btw
javascript is the best
java is old
and weird
you are on a website made with javascript
right now
*** * * Someone typing ...**
Imagine supporting a language that HAS to be used with something else to make it useful 
But in seriousness, im fluent in both, but as someone who prefers software development to web dev, java is more useful to me
depends on what you’re wanting to use it for tbh
Java has very different use cases to JavaScript
@spring zinc Please don't post that
If Java and JavaScript are completely different, then why are their names so similar? 🤔
checkmate
If car and carpet are completely different, then why are their names so similar? 🤔
checkmate
ratioed
Ohh I actually know this answer. Java already had a big name for itself when JavaScript came out/updated so for marketing purposes they put the word Java in the name.
I never thought knowing that information would come in handy.
It used to be called LiveScript
That's also just a "rumor" because of legality but it's the reasoning most people think.
Java and Javascript have two very different purposes in the world of programming. Sure, they can do some of the same things - Rest APIs, making games, etc. but they also aren't in the same realm to be compared.
you can run javascript in node.js
JavaScript is just.. weird IMO
it is not weird
I don't think this is a good mentality to have because just like the Java and Javascript comparison they both have two different purposes. They both store data but how they do so is vastly different. It's way more important to know how your data should be structured before picking SQL over NoSQL or vice versa. I do agree that working with MongoDB in Java is simpler but it's not always the better choice.
I come from a Java background which is probably why
Compared to what I’m used to it’s just totally different and I find it very strange
i prefer the HTML programming language to JSscript and Java
HTML isn't a programming language 😦
I prefer lolcode
yes it is
HyperText Programming Language
Hyper Text Markup Language ahaha
no
HTPL
dont bully HTML it can be who it wants
Initial caching for 15k profiles is 2ms and checking alts through 20k profiles takes 1ms
I'm using mongo reactivestreams and I'm using it for all my plugins
do you guys know firebase?
yes but i dont think anyone ever used it in any mid to large sized plugin
I've used it before
I love the idea of the whole Firebase ecosystem
I'm pretty sure it can get very expensive though in comparison with other choices.
sad violin
Does anyone here edit for fun?
cars have carpets in them
checkmate
This is 2021. You can't discriminate a language just because it's only a static text.
HTML5 🥴
Is sand called sand because it's between land and sea?

yes
Yes
Any HTML without CSS and js is static
Lik
relatable?
Figuring out a stupid bug is just stupid
Took me 30 mins to figure out why my regions had the wrong name
was using doubles instead of ints
So r0.0.0.0 instead of r0.0
I had an error for like 10 minutes until I realized I had never called the class and that’s why it didn’t work :D
I don't know why I keep reading all the messages posted in here even though I don't understand a single word of it
in python3 how do I check for duplicates in a list without changing the order of the elements? If I turn it into a set everything changes index so I guess I have to create a new list with the items that already appeared and check with that?
Loop through the list, adding items to the set
When there is a duplicate, afaik python raises an error, so you can catch it and process the duplicate
Easiest method is to use the count method of a list and if the count of something is greater than 1 then you have a duplicate
nvm just realised I can do [::-1]index
Kdue coding wow
for ntry in range(int(k)): for letter in range(int(k)): editingListLetters.pop(ntry) editedPassphrases.append(editingListLetters) editingListLetters = listLetters
why if I do this
I can not reset editingListLetters to listLetters
I'm confusion
both lists are changing even tho I'm touching only 1
🤨
👀
That doesn't say much
Probably because you're trying to place blocks where an entity is at, making the server reject the placement
I nominate you for the Turing Award.
The most exciting part about fixing your workspace is the amount of dependency resolving..
- report bugs here: https://cbecrft.net/bedrockreports
- probably wont happen
- there are sales sometimes
- you can suggest stuff here: https://cbecrft.net/suggestions
- they are hiring mods, if you want to apply check this: https://cbecrft.net/helper
- you need video proof
- wont happen
ikr
I don't even know what that is but I'll take it
I tryed to get a hacked client on my switch
But it is all exe and windows stuff so rip client for switch
Hey!
I was wondering if they are some cool courses to learn Java for Minecraft specifically 🤔
learn java first, and after start practicing on Bukkit/Forge
if you know Java and OOP basics it would be easy. There's no super good courses targetted to minecraft development.
oki ty
I recommend Bukkit btw. Forge requires you to have a deep understanding of how the game is built 😅
It's not the same, but you said Minecraft and that can be a lot of things xD
but how can i learn bukkit?
To talk about programming topics xD
after finishing java, is there a specific site or smth to learn bukkit or to deal with
Read Javadocs and official docs from wiki
like practice
alright ty all ❤️
I agree
https://youtube.com/playlist?list=PL65-DKRLvp3Yn7iglPfxKoc7bl0N80XgG quick YouTube search
@tawny spade
Thanksss! ❤️
https://youtu.be/pjwTh-daA_M here is a chat coding video I made when I was 14
First video of my Speed Coding series.
Better description coming soon!
@quasi oasis how to create costum plugins bedrock
There isn’t really a Spigot equivalent for Bedrock. There are many softwares that can be used but nothing with the community level of Spigot. I’ll send you a link to one of our partners
Damn! and how old are you now?
ok
thx
I feel like a little kid again trying to run a huge game on a horrible PC, when trying to compile intellij idea.
Makes me ponder ramdisks and upgrading my CPU to something extremely overkill.
Its been 7 minutes, and it's still compiling, not even half way.
wow, you should have such a big project
Inb4 ur drives died and are actually the reason u cant compile
dw, it only took half a minute to start each test.
Finally narrowed all my problems to this line: https://github.com/JetBrains/intellij-community/blob/40d1bb6262cd6d7ad9e69dc9f6a1f6c15a5a6e0e/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewNodeVisitor.java#L52
They are visiting all a tree's nodes, but don't have a case for ModuleGroup. So this line declares that there's nothing to be found at this tree node, so it ignores all the modules in that group.
Because ModuleGroup doesn't implement PsiElement, and Modules don't implement PsiElement. So obviously, there's no element. /s
I can already tell my bug report is going to be back burnered or something, because it's not a simple fix. And no one is talking about it.
the music is my favourite part
what a bop
On the negative side, I've just been told i suck at coding interviews, on the plus side however they liked me so much they're giving me a second chance and giving me a take home coding test to do 
Just make a program where it calculates and gives out an accurate strategy to take over the world. If they deny it, use it yourself against them. Izi
:V
Thank you
Hey guys I have a question, isn't of programming
Is possible to attack (ddos) or bot's attack, a server without using numeric ip? Using alphanumeric ip?
Im need to know this, because Im going to protect my ip's server
I like how the devs get super excited and talk in this channel 🥺. Hello devs! Nice to see you guys on CCG platforms ❤️
Go leak some SG update smh
he return 👀
Go leak ur hw smh
I didn’t know this channel exists hahaha
let me know if you have any questions, I would be happy to help with any question
How did you get into code, and what would you recommend somebody wanting to get into code who doesn’t know where to start. 🙂
Just had to give a good question
karnaugh maps
invent with python books by Al Sweigart
I started when I was very young, I wanted to create a plugin because I was so amazed by only a /spawn command, since for a regular vanilla player back then it was a huge deal. I've watched several videos regarding this topic, copied the code and tried to understand it, meanwhile I started learning Java as well. Then I got to a decent level and the time has come to learn MC Protocol, NMS, AIs, Path finding etc. For me I usually learn better if I sit down and try to find how we got from this input to that output, just like how a neural network works. If you decide to code something, start with the smaller things, don't go from: I don't know anything... let's make my own MC Server! Start slowly, be patient with yourself and you'll get there 🙂
datapacking is better though 😆
🥺
C++ vs java vs javascript
I would say C++ is dumb but tbh the dumb part is how im taught in uni. For the final exam they banned the use of strings :s
if you ask how I got around that, I made my own string manager
I started learning when was 13 with my very limited English.
I didn't have any background from school obviously since I was very young.
I would suggest to let them think about what they want to make and then choose their programming language.
Then they can find many courses online, even on YouTube.
java
I started with Java and at the same time learning how to make server plugins with the Spigot/Bukkit API. I ended up making a fully functional UHC plugin with statistics tracking, a unique way of voting for options that could change the way the game is played, using trigonometry I could scale the world size and time as of when and how quick the world border should come in and also that it would use random seeds but for the sake of making the game playable, whenever certain biomes were being generated I would switch them with other biomes.
After that I went a bit outside of MC, learning JavaFX (a library for desktop applications) and eventually also how to make Android apps whereas currently I only made 1 but at the same time I learned how to use Google's APIs and it currently has over 500 downloads and will probably reach 1k sometime next month.
I've now come back to MC but instead of making server plugins I'm currently in the works of making my own MC client (which hopefully by the uniqueness of it it will attract many people).
For the future I'd like to get into and understand the workings of OpenGL (both via Java and C++).
At the start I was learning by searching YouTube videos but as time went by and my understanding went up I started to use written documentation a lot more 😄
Thanks for coming to my Ted Talk
Lol :3
Give me 1 hour to read that
So you got taught it but you weren't allowed to use its full functions?
anyone knows how to add support for Unicode 12 (Emoji 12) characters on windows 10?
cool name
umm
oh no hes probably dead
ok it works
HUH
screenshots
kinda sus... it's an .exe
aaaaah, hacked clients in this chat
its a installer

Microsoft Word best IDE.
Change my mind.
I think I am gonna
Can someone help me, with coding a vanity , plugin?
our coding teacher writes arrays like int pole[] = new int[] {1,2,3};....
int[] pole = {1,2,3}; is just 20x nicer and easier
liikkkeee whyyyy
?
for minecraft plugin
Got a problem with your java imports? Just do import java.*; 
@torpid crypt how can i code a vanity plugin in minecraft
code factor be like: -F
do you have a code
lol
ooo ive been looking for a new ide
might have to use it for the meme one day
of course it exists
the language has 4 instructions. How do a write a spigot plugin in it
lol
@paper rain I think html is better because php has ramks
well, finally PHP did something correctly https://www.php.net/releases/8.0/en.php
In this video i show you how to code and create the dream manhunt compass from the popular series minecraft manhunt, dream makes with his friends georgenotfound, sapnap, badboyhalo and anfrost
This is a simple guide explaining how YOU can play Dream's minecraft manhunt for free using command blocks! I explain this in Under a minute. This is a ...
ew why the -> notation instead of . like a sensible programming language
arnold schwarzenegger language
it's 2x the effort 😩
this is why I don't use php
ew
I only know html ;-;
And I also speak fluently java, PHP, js and python
Cool! I only know html that’s all.
Wait I also took Swift classes too, but idk if it is useful for CubeCraft
I'd suggest starting with python tbh
Ok ty!
Even though I don't use it much nowadays, it's really nice to learn basics
i use c# the most
Always gotta start somewhere :)
I know LuaU
Roblox's programming thing
Im intermediate with it
I wanna learn java
I can make like simple calculators in java and thats about it lol
I've tried Lua in the past. Never got too deep into it
Yeah xd
Ooo nice 👀
I tried making a microgame collection once
cool
Got somewhat far before picking up another project 
Creating a server plugin may be a better introduction to java
Ill watch a tutorial brb
As they're somewhat
Yeah
Mods have a few more things to think about so, while you can start by working on one, it's going to be hard to get far
Thanks

you'd want to learn java before making a minecraft plugin
hello?
anyone there
If, yes i really need help with my domain name for my server.I watched a tut and followed it on name.com (#nosponsor) but it now says in cmd that the port is already used by another server. pls help
Does someone wanna play minecraft bedrock
bruh
yeah but you can learn java whilst making a plugin
like sure you would have to start with the very basic hello world program beforehand but generally you can pick stuff up as you go
watching a tutorial or something
Can you help with programming here?
Describe what you need help with
depends whats your problem
sure
what exactly do you need @sinful pollen?
I can help you if you want..
How i can make bot changes the nickname of member If he pressed a reaction
@hearty bloom انا عربي بتقدر تفهمني مابعرف انجليزي كثير
Sorry I don't speak Arabic...
Ok . Did you understand my words above?
Thet
Yes, just didn't really had time to look at it. You use Discord.js right? Or want to do it with pure JS and Ajax requests?
const dumb = require('brain')
dumb.on('messageRead', () => {
message.channel.send('lol u just read this for bs')
)}
lmao
Let’s please do not swear
True. It is literally going against the rules of the discord rules
👍
lol
I'm taking a tech class in high school
well it's done rn but next semester
once I'm done these classes I might try to make a discord bot
if yall got any ideas let me know
The best ideas I can give for a discord bot, is something you find useful
like a game bot is more what I'm thinking
it will be like 2 yo 3 years tho till I'm done high school
Starting small is always good. My biggest projects started off very tiny and not much features
Like making a minecraft server, you don't focus on making cubecraft first. You focus on making a game then expand that game.
I remember there once being a bot which did a murder-mystery like game pretty well
Think they closed the server it was part of but a games bot sounds fun
I know how to make a health bar!
var health = 10
func getHit() {
health = health - 1
}
for gettingHit in 1...100 {
if (health == 0) {
break
} else {
getHit()
}
}
//now i do not know what else

I just use
Bukkit.broadcastMessage("Your health is " + random.nextDouble());```
Cool!

The godly commands on the whole of Earth
/gamemode c
/deop @a[name=!"Jocky Jazz"]
/kill @a
i assume you ignore warnings when coding?
There's warnings?
For those developers who dont have pretty WSL terminals, this is a helpful guide: https://blog.nillsf.com/index.php/2020/02/17/setting-up-wsl2-windows-terminal-and-oh-my-zsh/
wouldnt that be faulty though
How many of you guys know coding? How good are you at it from 1 to 10? What language is it? Can you show us some code that you know (Make a health bar)?
- Me
- 5ish
- Java, Swift and Python
Cool!
I do
I would say 6
HTML, Swift, KeyScript
every time I commit on IntelliJ, it says stuff
What's a good plugin without a log full of warnings eh?
If there isn't any code there isn't any errors ¯_(ツ)_/¯

//no code would mean that there is no errors, but you would see nothing unless there are sprites
——————
run code*
——————
Ohh, I mean, if you make me a Dev, I can guarantee that there will be no errors 
@hearty bloom I hear that they are giving away free promotions to Player rank.
The more I read the more I cringe
ooh, that's the code for the.
End?
best language is Datapacking
time.sleep can legit destroy a minecraft server if run on the main thread
let's just say everyone gets kicked out
hello
yoyo
o/
;^-)
woah whats this
cursed_python
Just spent entirely too long trying to figure out why I could no longer change log4j2 level's programatically.
Turns out LoggerManager.getContext(false) no longer works, and instead I gotta use ((Logger) log).getContext()
Still don't know why it broke
me who just uses a public constant in Main class 
Yeah but this is for a stand alone program, that's 120mb at my last count. And only 5mb or so is my own code
Too much APIs being used everywhere, it's a mess
The only thing I can code are minecraft hacked clients lmao
One time i tested it on cube but even with my hacks I can’t win
😂
@slender nest Opinions on the CompletableFuture class?
I personally use it to switch between sync <-> async following order of operation
Well
I use CompleteableFuture yeah, though generally it depends on my usecase.
Sometimes its better to just write your own implemention
One of my projects requires obtaining some world data from the database, replace some files and load the world
Not own implemention of Future, but a similar type of class
Like pushing to a list when a thread is done and so on
Hm
I did it by having my database get calls return a CompletableFuture<Object>
Which I then go back to sync to switch and load
Then I can go back to async
Completeable future is pretty much an easier wrapper than implementing your own thread safe "is complete"
I had an issue once
that calling CompletableFuture#whenComplete removed all my exceptions from being printed
CompleteableFuture is good yeah, just sometimes its not what I want
So I had methods that stopped working halfway
and no issues on the console
Took me 3 hours to notice
I was going insane
Oh, welcome to my program
Where my logging is messed up enough that sometimes errors won't print
I had 0 errors printing
And the only time I ever notice the issues, is because something doesn't behave like I expect
legit none
The worst is when the part that accesses web apis, fails
Well
BTW I'm making a SkyblockCore similar to your skyblock gamemode
What storage methods do you recommend I add?
Because then I only notice if I expect to find a book, but the book isn't in there
I can't really recommend anything
Esp since I don't really want to design your backend 😛
I already got a backend done
Have a few hundred classes
Just tell me a database type / name
I use mysql, because sqlite seems a bit nooby to me, and I don't know how to use mongodb and its too late to migrate to it easily
Mongo is fun
same xD
SQLite is just so that people without a MySQL database can still use it
I know what lite is
Without the server going boom
Yeah, I should redesign my file structure in Libs Disguises to use a database. Currently its using flatfile
¯_(ツ)_/¯
But no real reason for me to do so, since flatfile is working well enough. And I don't really care about bungee support
I have an interface with all the base methods for a database storage
Time to make a LibsDisguise addon that adds bungee support and sell for 5$
Yeah, which is what I'd be implementing. Would take a few days to convert over and I'm already behind on several projects
You could make a Libs Disguises addon with inventories, and probably sell that
I use MySQL because I’m lazy and it seemed ez to set up
It's one of the most asked for features
lol
What do you mean by inventories?
GUIs
Libs Disguises is all chat based
One GUI I saw in another server was pretty nice, you could customize every mob in it with each mob having its own items
Well
Yep, the problem is that I absolutely hate half-doing stuff
I'd only release a gui plugin if it was fully fleshed out
I mean 40 not 15
And prem
So although extending on Libs Disguises for identifying stuff is easy enough. I'd then have to give each flag a name, a description, then order it in the guis in a reasonable manner instead of just throwing them in.
I’ll just skid libsdisguises as TechnoDisguises and add the feature and sell it as my own for $10000
I made a mob exploder
custom zombie that spawns TNT at every mob in a 200 block range
selling for 15$ a copy
That sounds
I used to get negative reviews about Libs Disguises being premium, back when the other disguise plugins stopped updating. That was fun
That’s so weird
Predictable
Everyones used to it by now though
So most of the reviews are "IM DUMB HERES A BUG BY MY DUMB ACTIONS"
I've seen more staff coding than regular members and I'm confused
The only thing I’ve made that I think is even money worthy is my ac tbh, the rest I just think I’d be scamming people tbh
The last 2 bugs off the top of my head, are from an old version of my plugin, and an old version of ProtocolLib
or just store it in binary
The funny part is, my plugin is super spammy with ProtocolLib being old. To the extent its cancer
And this guy still reported it
Imagine using text files, use json in a use case it really ain't designed for
You're using clientside mobs or using ProtocolLib to hide the player?
Just like update 
I once had a really weird bug with ProtocolLib and libsdisguises
where scrolling my mouse would make my inv bug
I do love some client side mobs
I loved libsdisguises on mine hut was very fun
Libs Disguises + Creative Mode, doesn't really like each other.
It was survival
I think I ignore it by default
Was it a bug where your held items disappeared?
That's normal behavior I think
Not sure if I turned it off
I think I did
Everything's a feature if you actively avoid bug reports
There's a public bot that was written in C#, I took that and converted it to java, then pretty much rewrote a lot of its code
Just so I can do this
That's pretty much the same thing that Citizens has
Yep, its their bot originally.
they ban people if they're using cracked servers
Yeah, I should remove the online/offline and so on stuff since we stopped caring about that.
same for uuid version
that's kinda ew 😂
jkjk, looks cool
but you can use description and footer too ;)
I think I can leak some of my stuff
Ayo lib, what did you work on the server?
When I noticed you developed for this server, first thing I thought about was Tower Defense
As you know clientside mobs and packets
But so does everyone here
Funny enough, I have made client sided mobs and packets. But that's all in internal stuff that we don't show you.
Perhaps I'll get to see it in the future
I also heavily suspect that TD runs multiple games in the same server/arena
The four projects I'm mostly known for are
- Relic Hunting & Lobby Fishing
- Colony Control, I did the NPCs and some building code
- Among Slimes, I didn't do much for the original release apart from the admin map. But I did a large rework of the game after initial release
as Y levels are inconsistent and I can sometimes see invisible armor stands under the arena
oooo
Relic hunting ain't that hard honestly
apart from the blocks actually breaking
sending fake blocks is easy
making real fake blocks is not that easy
Yeah, I think the hardest part of it was coming up with the game, then the logic for distance
Check point 1
ik 😂
Well
Fishing game hardest part was probably figuring out what's going on with the rod
Do y'all run the skyblock lobbies on a custom server impl?
I can't say
Java
What version MC?
1.12.2
How is it funky?
tbh, it's probably due to our protocol stuff
Yeah
Since its only skyblock where you can really build and break
Only happens on the lobbies
Huh
no
lmao
That's probably why
lol
Let's get all lobbies restarted to add 1 line of code
Weird, the code is still there for when I did an emergency bugfix
😐
So it sounds like my bugfix introduced the problem perhaps eh
I've had this for a few months actually
nice bugfix ;)
It was there when skyblock launched iirc
Ah, my bugfix was on Christmas
Yeah I can see it's a custom impl
Do y'all store islands as .schematic, .mca or custom format? (.slime example)
Bet you can't say
I mean
.mca or .slime (SlimeWorldManager) seem ideal
preferably .slime
As it's optimized
.schematic has weird issues
Anyways, just checked and I don't think we have a bug report for invisible skyblock hub blocks
never heard of slime before. Looking into that now ^^
Also, @toxic saddle your name is easily ignored. I know I definitely didn't notice you talk more than a few times. Personally I'd like it if you could use a profile picture.
But I'd ask for a bug report on the site
What if I have a fancy rank ;)
I remember him because of this pfp 😂
yea, ik
@toxic saddle theres a spelling mistake in ur status, its supposed to be "owo what's this" rather than "oh wow what's this"
no
oh true
mine looks a bit different
so it's not that big of a deal for me
hm
What if I send an invis message
Once did that with an invis name aswell
ehh my JRE is bugged on something, games ain't rendering
lol
lol ok
nvm my 1.16.5 jar opened
1.12 not workin
nvm that block breaking issue got fixed
cause I'm on adventure mode
Used to be survival
pog
uh @slender nest I think you messed up lol
It’s fine if anyone does /version
It’s not like it’s very secret or anything
Like congratulations, you now know the base jar (main server version), here’s a medal 🎖
I mean, at most its embarrassing to be called out on running 1.9 😦
Shouldn’t be an issue
.<
Yeah its not something to hide, but its also reflects better on the server if they hide it
rallies at the office
Every server has its preference
so why is it even running 1.9.2 xd
Because of how many versions it supports
Because there’s nothing wrong about it?
To bully on 1.8
You can still play cube on 1.8
The only real reason to upgrade to latest versions of MC, is for the new blocks/entities/features

Because the performance is doodoo after 1.12
I mean, at this point I wouldn't be surprised if there was a new fork of spigot that adds new features without changing apis
Especially 1.15+ 
I'd be happy if spigot actually provided easy methods to move entities
Yeah, stuff after 1.12 sucks 😦
Other than using nms
its not that bad on 1.16
Like make entities go somewhere
Oh god
I'm on 1.16 and it takes twice as long to load I think
1.16 performance is worse
and 1.13
Rather than casting the CraftEntity to EntityInsentient, obtaining the navigation and calling a(double, double, double, float)
its gotten better tho
fps performance, I think is the same
Let’s hope 1.17 would be promising
But its the load times that's ew
comparing 1.13 to 1.16
welp lets hope they dedicate a whole update to server performance. That's totally realistic
Put minecraft on a RamDisk
true load speeds
still slow
^
1.16 FPS is like 10 lower for me but it doesn’t matter too much now as I have a better computer
smh I have more RAM than usable ssd space
Before I got like 30 FPS regular so 1.16 was annoying
same xD
use optifine tm
legit
or Sodium on fabric
I have 300fps with fancy graphics
Oh, 1.16 takes 3-4x longer to load than 1.12
optifine > sodium
yee I usually use optifine
I did lmao
Adding forge into the equation makes it even worse
just an option
But I want to have bigger chat scrolling
forge is trash
fabric is the way to go
Now I get like 350 FPS

forge is ew
on 1.12+
Forge is better
I got my 90$ gpu from china
doubt
fancy graphics
Cause I’m lazy and don’t wanna try fabric
fabric is better and has ~~more ~~ better mods
Would much rather get into fabric modding than get better at forge modding, despite forge having more tools.
Why make plugins when you can code the entire server impl yourself
instead of running on spigot
haha ram savings go brr
Except chunk packet is annoying
I’m gonna fork bungee and make my own
Except I won’t
cause I’m lazy
just make it spawn you in a void world with no behaviours other than chat messages :')
me irl
IRC but it's a block game
I have a new Anticheat strategy I need some help on
I asked for help with the chunk packet online
Just kick everyone that joins = no cheaters
guy gave me code in php
Be like every other “devs”, fork a forked bungee cord and rename it and say it’s yours🤝🤝🤝🤝
Genius
literally every bedrock server with maps
If I ever take code from someone I always give credit tho
you kinda lose money by doing so tho, id recommend doing this:
onPlayerJoin()
{
if(player.usingCheats)
{
player.kick("please dont use hacks and watch this instead: https://www.youtube.com/watch?v=dQw4w9WgXcQ");
}
}```