#💻︱programming

1 messages · Page 22 of 1

lusty pagoda
#

Yes

#

He said it's extremely difficult

#

But he's studying it

hearty bloom
#

Ok, im back

lusty pagoda
#

😂

hearty bloom
#

Hi 🍔

lusty pagoda
#

Lol

#

👀

#

:shut:

hearty bloom
#

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

lusty pagoda
#

Yes

#

Hm

#

Ima go sad

#

Now

hearty bloom
#

:(

lusty pagoda
#

Cuz
I thought myself I'm learning coding

#

:(

low sonnet
#

what is the best way to make a plugin for bedrock edition?

lusty pagoda
#

Then I discovered it's a ✖

#

Visual Studio Code

#

?

hearty bloom
#

You can make plugins for bedrock?

#

Lol

small hare
#

What?

#

Yes, of course you can make plugins for Bedrock...?

small hare
#

@hearty bloom How else do you think we run one of the biggest Bedrock networks in the world

hearty bloom
#

I was - joking :(

#

Bedrock noob

small hare
#

i am working on some amazing stuff tho

low sonnet
hearty bloom
small hare
#

i will single handedly push bedrock to a whole new era

low sonnet
#

so do bedrock servers not use plugins at all and instead use command blocks?

small hare
#

I just said you can make plugins

hearty bloom
small hare
#

shush

hearty bloom
#

<33

#

Yes lol

small hare
#

it's LAMAO

#

say lmayo again and we'll never play again

#

Never, cause u used that smiley

#

CRINGE

#

@agile cloud your emoji SUCKS

agile cloud
#

Nop :(

small hare
#

L

grizzled raven
#

Is there an public api?

minor roost
#

Nope

north hinge
# low sonnet so do bedrock servers not use plugins at all and instead use command blocks?

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.

gaunt berry
#

its the open source fork

languid flame
#

🍴

toxic saddle
#

It's kinda reverse

#

Cube probably forks geyser

#

But sends the bedrock players to different servers for some reason

gaunt berry
toxic saddle
#

Huh

gaunt berry
#

theres a thread abt it on the forums

#

gimme a sec

#

its called "behind the cube #2"

elder void
gaunt berry
#

#1 then

north hinge
#

seems fair

#

xD

gaunt berry
#

thats why input based matchmaking exists

toxic saddle
#

But on stuff like Skyblock

low sonnet
#

ok so

#

how does cubecraft have such a low ping

toxic saddle
#

And also they have a good internet connection

#

Either 1gbps or 10gbps per dedicated machine

#

Each dedicated machine holds 25+ minigame instances

sweet barn
#

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 😄

minor roost
#

cant they just throw a bunch of laptops in the room connected to an ethernet switch

gaunt berry
#

thats what our school uses

toxic saddle
# gaunt berry 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

gaunt berry
#

and vga

toxic saddle
#

usb drive via vga port

gaunt berry
wheat relic
#

Why

toxic saddle
#

oh god

toxic saddle
#

And it doesn't work

#

great

honest heath
#

oofers

#

Am interested to see what all that looks like tho 👀

junior jasper
#

Younisco trying to get ideas lol

torpid crypt
#

SkyBlock by the looks of it unless you have us bamboozelled by the class names 👀

junior jasper
low sonnet
#

is cubecraft a java server optimized for bedrock?

quiet arrow
low sonnet
quiet arrow
#

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

gaunt berry
quiet arrow
#

Well, yes

#

Except if the server enables you to join with a Bedrock acc

gaunt berry
#

most servers do

#

atleast pvp servers

quiet arrow
#

Then don't join Java

#

If you join cube like that, you can't join any games

gaunt berry
#

you can

quiet arrow
#

Why do they keep changing stuff that's a bad idea

toxic saddle
toxic saddle
#

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

#

This is fun

quiet arrow
#

Agreed

toxic saddle
#

I moved everything into CompletableFuture and called whenComplete for the SQL process

#

Why aren't you working ree

#

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

dense zinc
#

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

somber slate
#

||Some more than others||

dense zinc
north hinge
toxic saddle
#

Hm

#

My issue was mostly caused because SQLite

north hinge
# toxic saddle My issue was mostly caused because SQLite

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

toxic saddle
#

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

north hinge
#

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

toxic saddle
#

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

paper rain
#

HTML the best

languid flame
#

@quasi oasis ^

hazy escarp
#

since that guy's pfp is gray it looked like tothtomi was talking to himself

wild shadow
#

Aw man, do I have to use a GPU for Pytorch or whatever?

spring tiger
#

no

#

you can install the cpu only version

#

but gpu is recommended because it is loads faster

wild shadow
#

I just want to make dame da ne memes sadcat

#

I need to go to class I'll figure this out later.

torpid crypt
#

daheck is Pytorch

#

a lib?

#

for py?

spring tiger
#

python machine learning library

#

tensorflow and pytorch are among the most popular

wild shadow
#

Me not having NVIDIA GPU is a dame da ne moment.

toxic saddle
#

use compute stick

#

best pc

#

as good as tower defense instances

#

After horde starts

jade atlas
#

Anyone know about javafx? I can't install the constroles into the .fxml

spring tiger
#

I'd suggest using Scene Builder because its an interactive UI builder and does all the imports for you

toxic saddle
#

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

wild shadow
#

Jedi

cerulean crescent
#

whta lnaguage do you guys code in?

toxic saddle
#

Java

#

Python sometimes

cerulean crescent
#

I like web development

#

javascript and html

minor roost
#

Python, C# or C

ancient fractal
#

Java and Python, but once i get some free time, C++

gaunt berry
#

c# and python

hearty bloom
#

Java, PHP, JavaScript (+scss,html), Python and bit of C#

minor roost
#

python, js, c++

#

im learning java

torpid crypt
#

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

hearty bloom
dense zinc
#

Java and swift

patent vortex
#

What shake

wheat relic
#

Suck an egg @patent vortex

rancid trail
#

C++, C#
Python, JavaScript
HTML, CSS, PHP

#

(SQL)

#

bash

toxic saddle
toxic saddle
#

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

dense zinc
#

That’s pretty cool!

slender nest
#
    {
        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.
dense zinc
#

It did indeed make me think

ancient fractal
toxic saddle
#

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

toxic saddle
north hinge
cerulean crescent
#

does anyone know web development?

#

DM me if you do

slender nest
gaunt berry
#

lmao

cerulean crescent
#

LOL

#

It is a green screen

meager glade
#

no, he just has IRL particle effects

wild shadow
#

I love floating point arithmetic.

dense monolith
cerulean crescent
#

@dense monolith

dense monolith
#

PM

#

🙂

cerulean crescent
#

so do you know HTML?

#

or PHP?

dense monolith
#

Yeau

#

Both

cerulean crescent
#

nice

dense monolith
#

More in HTML

quasi oasis
#

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.

dense zinc
#

I might look at that

#

Never bothered with web development much more than like premade sites

minor roost
#

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

shut estuary
#

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.

quasi oasis
wild shadow
#

reactJS

gaunt berry
slender nest
ancient fractal
toxic saddle
#

Java is to JavaScript the same way car is to carpet

junior jasper
gleaming zenith
#

Print „hello world“

#

Why he doesn’t it work

minor spindle
#

    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

gleaming zenith
#

I only read English not whatever that is

lucid igloo
#

Are you guys tryna backdoor the server

dense zinc
minor roost
shut estuary
minor spindle
#

LOL

misty kestrel
#

Lol

shut estuary
#

0 spikes at 100 players consistent

minor spindle
#

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

rancid trail
#

600k pps

#

Me very mature

cerulean crescent
#

java is old

#

and weird

#

you are on a website made with javascript

#

right now

#

*** * * Someone typing ...**

ancient fractal
#

Imagine supporting a language that HAS to be used with something else to make it useful ShrekOoooh

#

But in seriousness, im fluent in both, but as someone who prefers software development to web dev, java is more useful to me

dense zinc
#

Java is miles better

#

Much more useful in my case

sweet barn
#

depends on what you’re wanting to use it for tbh

elder void
#

Java has very different use cases to JavaScript

spring tiger
#

@spring zinc Please don't post that

wild shadow
dense zinc
#

:O

#

WOW

toxic saddle
#

If car and carpet are completely different, then why are their names so similar? 🤔

wild shadow
#

checkmate

coral quail
#

ratioed

quasi oasis
#

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.

quasi oasis
# cerulean crescent javascript is the best

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.

cerulean crescent
sweet barn
#

JavaScript is just.. weird IMO

cerulean crescent
#

it is not weird

quasi oasis
# minor spindle mongo > mysql

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.

sweet barn
#

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

minor roost
#

i prefer the HTML programming language to JSscript and Java

quasi oasis
#

HTML isn't a programming language 😦

sweet barn
#

I prefer lolcode

minor roost
#

HyperText Programming Language

quasi oasis
#

Hyper Text Markup Language ahaha

minor roost
#

no

quasi oasis
#

HTPL

minor roost
#

dont bully HTML it can be who it wants

minor spindle
#

I'm using mongo reactivestreams and I'm using it for all my plugins

cerulean crescent
#

do you guys know firebase?

minor spindle
#

yes but i dont think anyone ever used it in any mid to large sized plugin

quasi oasis
#

I love the idea of the whole Firebase ecosystem

#

I'm pretty sure it can get very expensive though in comparison with other choices.

wild shadow
lime flint
#

Does anyone here edit for fun?

wild shadow
hearty bloom
wheat relic
#

HTML5 🥴

tawny trout
toxic saddle
#

yes

hearty bloom
#

Yes

hearty bloom
wheat relic
#

Lik

wild shadow
toxic saddle
#

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

dense zinc
#

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

marble estuary
#

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

hazy escarp
#

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?

spring tiger
#

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

hazy escarp
#

oh ok, I'll do that

#

thanks

hazy escarp
#

Should I get the index and use pop?

hazy escarp
#

nvm just realised I can do [::-1]index

junior jasper
hazy escarp
#

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

hazy escarp
#

🤨

hearty bloom
agile cloud
toxic saddle
#

Press tab then

#

You mean placing blocks and seeing them for 1 tick or what?

minor spindle
#

i just shut it down O_O

#

there

#

they were all connecting thru my ip

toxic saddle
#

That doesn't say much

#

Probably because you're trying to place blocks where an entity is at, making the server reject the placement

wild shadow
slender nest
#

The most exciting part about fixing your workspace is the amount of dependency resolving..

vernal ether
#

uh

#

um

#

can someone make me logo?

gaunt berry
gaunt berry
#

ikr

quasi oasis
livid igloo
#

I tryed to get a hacked client on my switch

#

But it is all exe and windows stuff so rip client for switch

tawny spade
#

Hey!
I was wondering if they are some cool courses to learn Java for Minecraft specifically 🤔

static barn
#

if you know Java and OOP basics it would be easy. There's no super good courses targetted to minecraft development.

tawny spade
#

oki ty

torpid crypt
#

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

tawny spade
#

but how can i learn bukkit?

torpid crypt
#

Did you try Google? 😉

#

You'll have to start with Java though

tawny spade
#

what is the benefit of this channel then 😂

#

alright

torpid crypt
#

To talk about programming topics xD

tawny spade
#

after finishing java, is there a specific site or smth to learn bukkit or to deal with

static barn
#

Read Javadocs and official docs from wiki

tawny spade
#

like practice

static barn
#

Do what you want 😀

#

even if you dont know some things you will learn them in process

tawny spade
#

alright ty all ❤️

bright mirage
quasi oasis
#

@tawny spade

tawny spade
#

Thanksss! ❤️

quasi oasis
hardy compass
#

@quasi oasis how to create costum plugins bedrock

quasi oasis
#

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

tawny spade
quasi oasis
hardy compass
slender nest
#

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.

static barn
#

wow, you should have such a big project

torpid crypt
slender nest
#

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.

untold grail
#

what a bop

ancient fractal
#

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 confusedcat

torpid crypt
#

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

gentle patio
#

:V

quasi oasis
marble moth
#

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

gaunt berry
#

ddos'es dont work on ipv6 afaik

#

if thats what u mean

plucky shell
#

I like how the devs get super excited and talk in this channel 🥺. Hello devs! Nice to see you guys on CCG platforms ❤️

spark talon
#

he return 👀

dense zinc
twin meteor
#

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

junior jasper
#

Just had to give a good question

wild shadow
#

karnaugh maps

wild shadow
north hinge
# junior jasper How did you get into code, and what would you recommend somebody wanting to get ...

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 🙂

brisk badge
#

datapacking is better though 😆

undone flume
#

C++ vs java vs javascript

torpid crypt
#

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

twin meteor
gaunt berry
torpid crypt
# junior jasper How did you get into code, and what would you recommend somebody wanting to get ...

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

somber slate
#

Lol :3

junior jasper
#

Give me 1 hour to read that

languid flame
hearty bloom
#

anyone knows how to add support for Unicode 12 (Emoji 12) characters on windows 10?

rich sandal
#

cool name

junior jasper
#

umm

rich sandal
#

ill try it out

#

for so far its ok

#

just istalling

versed echo
#

oh no hes probably dead

rich sandal
#

ok it works

versed echo
#

HUH

rich sandal
#

its decent

#

not the best

versed echo
#

screenshots

rich sandal
#

ok let me boot up minecraft again i quitet it

#

here

#

it works

#

@versed echo

wary oak
#

kinda sus... it's an .exe

daring sphinx
#

aaaaah, hacked clients in this chat

rich sandal
#

its a installer

wary oak
#

¯_(ツ)_/¯

#

ah okay

#

yea was confused lol

#

well done tho

rich sandal
#

free

#

buts its a long que

sinful pollen
#

How. I can make the username appear when someone asks for the name command

minor roost
wild shadow
#

Microsoft Word best IDE.

Change my mind.

plush walrus
#

I think I am gonna

minor roost
#

Can someone help me, with coding a vanity , plugin?

hearty bloom
#

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

minor roost
#

for minecraft plugin

north hinge
torpid crypt
#

Got a problem with your java imports? Just do import java.*; kappa

minor roost
#

@torpid crypt how can i code a vanity plugin in minecraft

minor roost
#

do you have a code

arctic depot
#

ooo ive been looking for a new ide

spice plaza
#

might have to use it for the meme one day

spice plaza
#

of course it exists

#

the language has 4 instructions. How do a write a spigot plugin in it

paper rain
#

i changed my mind

#

HTML is second best PHP is better

hearty bloom
#

lol

minor roost
#

@paper rain I think html is better because php has ramks

hearty bloom
#

well, finally PHP did something correctly https://www.php.net/releases/8.0/en.php

PHP 8.0 is a major update of the PHP language. It contains many new features and optimizations including named arguments, union types, attributes, constructor property promotion, match expression, nullsafe operator, JIT, and improvements in the type system, error handling, and consistency.

verbal violet
wild shadow
#

ew why the -> notation instead of . like a sensible programming language

wild shadow
spice plaza
#

this is why I don't use php

#

ew

minor roost
#

I only know html ;-;

hearty bloom
#

I also know JSON and XML

#

since that's pretty much the same thing as HTML

#

Jkjk

minor roost
#

Oh, well Minecraft uses JSON files for example this one

hearty bloom
#

And I also speak fluently java, PHP, js and python

minor roost
#

Cool! I only know html that’s all.

#

Wait I also took Swift classes too, but idk if it is useful for CubeCraft

hearty bloom
#

I'd suggest starting with python tbh

minor roost
hearty bloom
#

Even though I don't use it much nowadays, it's really nice to learn basics

gaunt berry
#

i use c# the most

minor roost
#

why

spice plaza
minor roost
#

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

spice plaza
#

I've tried Lua in the past. Never got too deep into it

minor roost
#

its extremely easy

#

it took me about a few hours to grasp on to it

spice plaza
#

Yeah xd

minor roost
#

ive been doing roblox programming for about a year now

#

i make money off of it tho

spice plaza
#

Ooo nice 👀

minor roost
#

people will pay me to make em stuff

#

like guns or what ever

spice plaza
#

I tried making a microgame collection once

minor roost
#

cool

spice plaza
#

Got somewhat far before picking up another project thisisfine

minor roost
#

I wanna make a minecraft mod

#

But idk how

spice plaza
#

Creating a server plugin may be a better introduction to java

minor roost
#

Ill watch a tutorial brb

spice plaza
#

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

minor roost
spice plaza
plain raft
toxic fern
#

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

edgy rapids
#

Does someone wanna play minecraft bedrock

toxic fern
#

bruh

minor roost
#

am i allowed to send a link in here for a poll?

#

u know?

spice plaza
#

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

sinful pollen
#

Can you help with programming here?

vivid willow
#

Describe what you need help with

hearty bloom
sinful pollen
#

JavaScript bot programming

#

Can you help with this?

hearty bloom
#

what exactly do you need @sinful pollen?

minor roost
sinful pollen
#

How i can make bot changes the nickname of member If he pressed a reaction

#

@hearty bloom انا عربي بتقدر تفهمني مابعرف انجليزي كثير

sinful pollen
hearty bloom
#

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?

minor roost
#
const dumb = require('brain')
dumb.on('messageRead', () => {
message.channel.send('lol u just read this for bs')
)}
#

lmao

ivory flume
#

Let’s please do not swear

minor roost
humble blade
#

👍

slender nest
proud sky
#

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

slender nest
#

The best ideas I can give for a discord bot, is something you find useful

proud sky
#

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

slender nest
#

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.

spice plaza
#

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

minor roost
#

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

spice plaza
slender nest
#

I just use

Bukkit.broadcastMessage("Your health is " + random.nextDouble());```
minor roost
#

Cool!

faint knoll
#

The godly commands on the whole of Earth
/gamemode c
/deop @a[name=!"Jocky Jazz"]
/kill @a

wild shadow
slender nest
clever sluice
ivory flume
#

Please do not advertise

#

It is against our rules

minor roost
#

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)?

minor roost
#

I do
I would say 6
HTML, Swift, KeyScript

wild shadow
spice plaza
#

What's a good plugin without a log full of warnings eh?

clever sluice
spice plaza
minor roost
#

//no code would mean that there is no errors, but you would see nothing unless there are sprites
——————
run code*
——————

hearty bloom
clever sluice
#

@hearty bloom I hear that they are giving away free promotions to Player rank.

toxic saddle
wild shadow
meager glade
#

ooh, that's the code for the.

violet rivet
brisk badge
#

best language is Datapacking

toxic saddle
# wild shadow

time.sleep can legit destroy a minecraft server if run on the main thread

#

let's just say everyone gets kicked out

jolly ridge
#

hello

fleet cairn
#

yoyo

spice plaza
#

o/

fleet cairn
#

;^-)

austere phoenix
wild shadow
slender nest
#

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

hearty bloom
slender nest
#

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

livid igloo
#

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

toxic saddle
#

@slender nest Opinions on the CompletableFuture class?

#

I personally use it to switch between sync <-> async following order of operation

hearty bloom
#

I mean, CompletableFuture is cool

#

I use it for async API requests

#

I think

toxic saddle
#

Well

slender nest
#

I use CompleteableFuture yeah, though generally it depends on my usecase.
Sometimes its better to just write your own implemention

toxic saddle
#

One of my projects requires obtaining some world data from the database, replace some files and load the world

slender nest
#

Not own implemention of Future, but a similar type of class

#

Like pushing to a list when a thread is done and so on

toxic saddle
#

Hm

hearty bloom
toxic saddle
#

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

slender nest
#

Completeable future is pretty much an easier wrapper than implementing your own thread safe "is complete"

toxic saddle
#

I had an issue once

#

that calling CompletableFuture#whenComplete removed all my exceptions from being printed

slender nest
#

CompleteableFuture is good yeah, just sometimes its not what I want

toxic saddle
#

So I had methods that stopped working halfway

#

and no issues on the console

#

Took me 3 hours to notice

#

I was going insane

slender nest
#

Oh, welcome to my program

#

Where my logging is messed up enough that sometimes errors won't print

toxic saddle
#

I had 0 errors printing

slender nest
#

And the only time I ever notice the issues, is because something doesn't behave like I expect

toxic saddle
#

legit none

slender nest
#

The worst is when the part that accesses web apis, fails

toxic saddle
#

Well

#

BTW I'm making a SkyblockCore similar to your skyblock gamemode

#

What storage methods do you recommend I add?

slender nest
#

Because then I only notice if I expect to find a book, but the book isn't in there

toxic saddle
#

I got MongoDB, SQLite, MySQL

#

With some multi-proxy features using Redis

slender nest
#

I can't really recommend anything

#

Esp since I don't really want to design your backend 😛

toxic saddle
#

I already got a backend done

#

Have a few hundred classes

#

Just tell me a database type / name

slender nest
#

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

toxic saddle
#

Mongo is fun

toxic saddle
#

SQLite is just so that people without a MySQL database can still use it

slender nest
#

I know what lite is

toxic saddle
#

Without the server going boom

slender nest
#

Yeah, I should redesign my file structure in Libs Disguises to use a database. Currently its using flatfile

toxic saddle
#

¯_(ツ)_/¯

slender nest
#

But no real reason for me to do so, since flatfile is working well enough. And I don't really care about bungee support

toxic saddle
#

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$

slender nest
#

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

dense zinc
#

I use MySQL because I’m lazy and it seemed ez to set up

slender nest
#

It's one of the most asked for features

hearty bloom
#

lol

toxic saddle
#

What do you mean by inventories?

slender nest
#

GUIs

toxic saddle
#

each mob has a different inventory?

#

Ah

slender nest
#

Libs Disguises is all chat based

toxic saddle
#

Yeah that shouldn't be hard

#

Probably takes 1 week max

slender nest
#

One GUI I saw in another server was pretty nice, you could customize every mob in it with each mob having its own items

toxic saddle
#

Well

slender nest
#

Yep, the problem is that I absolutely hate half-doing stuff

toxic saddle
#

time to be like vk2pgz

#

15 addons for his own plugin

slender nest
#

I'd only release a gui plugin if it was fully fleshed out

toxic saddle
#

I mean 40 not 15

slender nest
#

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.

dense zinc
#

I’ll just skid libsdisguises as TechnoDisguises and add the feature and sell it as my own for $10000

toxic saddle
#

I made a mob exploder

#

custom zombie that spawns TNT at every mob in a 200 block range

#

selling for 15$ a copy

dense zinc
#

That sounds

slender nest
#

I used to get negative reviews about Libs Disguises being premium, back when the other disguise plugins stopped updating. That was fun

toxic saddle
#

Predictable

slender nest
#

Everyones used to it by now though

#

So most of the reviews are "IM DUMB HERES A BUG BY MY DUMB ACTIONS"

toxic saddle
#

I've seen more staff coding than regular members and I'm confused

gaunt berry
#

imagine using mysql

#

just use txt files

dense zinc
#

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

toxic saddle
#

Just store your data as a .nbt file

#

easy to edit

slender nest
#

The last 2 bugs off the top of my head, are from an old version of my plugin, and an old version of ProtocolLib

toxic saddle
#

or just store it in binary

slender nest
#

The funny part is, my plugin is super spammy with ProtocolLib being old. To the extent its cancer

#

And this guy still reported it

spice plaza
toxic saddle
#

You're using clientside mobs or using ProtocolLib to hide the player?

slender nest
#

Which is exactly why I made it so spammy

#

Client side mobs

dense zinc
#

Just like update banter

toxic saddle
#

I once had a really weird bug with ProtocolLib and libsdisguises

#

where scrolling my mouse would make my inv bug

spice plaza
#

I do love some client side mobs

dense zinc
#

I loved libsdisguises on mine hut was very fun

slender nest
#

Libs Disguises + Creative Mode, doesn't really like each other.

toxic saddle
#

It was survival

slender nest
#

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

toxic saddle
#

visual bug

#

they just duplicated and such

spice plaza
#

Everything's a feature if you actively avoid bug reports

slender nest
#

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

toxic saddle
#

That's pretty much the same thing that Citizens has

slender nest
#

Yep, its their bot originally.

toxic saddle
#

they ban people if they're using cracked servers

slender nest
#

Yeah, I should remove the online/offline and so on stuff since we stopped caring about that.

toxic saddle
#

same for uuid version

hearty bloom
#

jkjk, looks cool

#

but you can use description and footer too ;)

slender nest
#

It's only really handy for quick and common problems

#

Esp outdated stuff

hearty bloom
#

I think I can leak some of my stuff

toxic saddle
#

Ayo lib, what did you work on the server?

hearty bloom
toxic saddle
#

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

slender nest
#

Funny enough, I have made client sided mobs and packets. But that's all in internal stuff that we don't show you.

toxic saddle
#

Perhaps I'll get to see it in the future

hearty bloom
toxic saddle
#

I also heavily suspect that TD runs multiple games in the same server/arena

slender nest
#

The four projects I'm mostly known for are

  1. Relic Hunting & Lobby Fishing
  2. Colony Control, I did the NPCs and some building code
  3. 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
toxic saddle
#

as Y levels are inconsistent and I can sometimes see invisible armor stands under the arena

hearty bloom
#

oooo

toxic saddle
#

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

hearty bloom
#

sends 3 points

slender nest
#

Yeah, I think the hardest part of it was coming up with the game, then the logic for distance

#

Check point 1

hearty bloom
#

ik 😂

toxic saddle
#

Well

slender nest
#

Fishing game hardest part was probably figuring out what's going on with the rod

toxic saddle
#

Do y'all run the skyblock lobbies on a custom server impl?

slender nest
#

I can't say

toxic saddle
#

Well block breaking is funky

#

so I assume

slender nest
#

I don't work on Skyblock

#

Bedrock?

toxic saddle
#

Java

slender nest
#

What version MC?

toxic saddle
#

1.12.2

slender nest
#

How is it funky?

toxic saddle
#

The blocks turn invisible

#

But they're there

slender nest
#

tbh, it's probably due to our protocol stuff

toxic saddle
#

Yeah

slender nest
#

Since its only skyblock where you can really build and break

toxic saddle
#

Only happens on the lobbies

minor roost
#

Huh

slender nest
#

Oh the lobbies

#

😐

#

Don't you get forced into adventure mode on them

toxic saddle
#

no

spice plaza
#

lmao

toxic saddle
#

That's probably why

hearty bloom
#

lol

toxic saddle
#

Let's get all lobbies restarted to add 1 line of code

slender nest
#

Weird, the code is still there for when I did an emergency bugfix

#

😐

#

So it sounds like my bugfix introduced the problem perhaps eh

toxic saddle
#

I've had this for a few months actually

hearty bloom
#

nice bugfix ;)

toxic saddle
#

It was there when skyblock launched iirc

slender nest
#

Ah, my bugfix was on Christmas

toxic saddle
#

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

slender nest
#

Yea, but I'm pretty sure using a normal format isn't optimal

#

Esp their usecases

spice plaza
#

think of all the wasted space on air @-@;

#

so it's a good thing if it ain't used

toxic saddle
#

I mean

#

.mca or .slime (SlimeWorldManager) seem ideal

#

preferably .slime

#

As it's optimized

#

.schematic has weird issues

slender nest
#

Anyways, just checked and I don't think we have a bug report for invisible skyblock hub blocks

toxic saddle
#

my game's bugged smh

#

can't open

spice plaza
#

never heard of slime before. Looking into that now ^^

slender nest
#

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.

toxic saddle
#

Uhh

#

I haven't had a pfp for the past 4 years

slender nest
#

But I'd ask for a bug report on the site

toxic saddle
#

What if I have a fancy rank ;)

hearty bloom
slender nest
hearty bloom
#

yea, ik

gaunt berry
#

@toxic saddle theres a spelling mistake in ur status, its supposed to be "owo what's this" rather than "oh wow what's this"

toxic saddle
#

no

hearty bloom
#

mine looks a bit different

#

so it's not that big of a deal for me

toxic saddle
#

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

hearty bloom
#

lol

toxic saddle
#

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

spice plaza
#

pog

toxic saddle
vivid willow
#

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 🎖

slender nest
#

I mean, at most its embarrassing to be called out on running 1.9 😦

toxic saddle
#

/version gives a no permission

#

/icanhasbukkit doesn't

vivid willow
#

Shouldn’t be an issue

slender nest
#

.<

vivid willow
#

Version isn’t something to hide

#

Like I said lol

toxic saddle
#

Legit snitching

#

What if cubecraft ran regular craftbukkit

slender nest
#

Yeah its not something to hide, but its also reflects better on the server if they hide it

toxic saddle
#

rallies at the office

vivid willow
#

Every server has its preference

spice plaza
#

so why is it even running 1.9.2 xd

slender nest
#

Because of how many versions it supports

vivid willow
#

Because there’s nothing wrong about it?

toxic saddle
#

To bully on 1.8

spice plaza
#

Like, surely it's just 1.8 vs latest

#

k fair

vivid willow
#

You can still play cube on 1.8

toxic saddle
#

Just be like the top network

#

running 1.7.10

#

emulating 1.8 versions with packets

vivid willow
#

1.7.10 servers are just practice servers or HCF

#

Not really worth it at all

slender nest
#

The only real reason to upgrade to latest versions of MC, is for the new blocks/entities/features

spice plaza
#

But how many people use versions between 1.8 and 1.12.2

#

true

toxic saddle
#

And spigot API changes 😉

#

Such as

toxic saddle
#

Breaking Inventory#getTitle

#

Gets lots of noobs

#

And other amazing features

dense zinc
slender nest
#

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

vivid willow
toxic saddle
#

I'd be happy if spigot actually provided easy methods to move entities

slender nest
#

Yeah, stuff after 1.12 sucks 😦

toxic saddle
#

Other than using nms

gaunt berry
toxic saddle
#

Like make entities go somewhere

vivid willow
#

Oh god

slender nest
#

I'm on 1.16 and it takes twice as long to load I think

spice plaza
#

1.14 was the real ew with performance

#

oh oof

vivid willow
#

1.16 performance is worse

gaunt berry
#

and 1.13

toxic saddle
#

Rather than casting the CraftEntity to EntityInsentient, obtaining the navigation and calling a(double, double, double, float)

gaunt berry
#

its gotten better tho

slender nest
#

fps performance, I think is the same

vivid willow
#

Let’s hope 1.17 would be promising

slender nest
#

But its the load times that's ew

gaunt berry
#

comparing 1.13 to 1.16

spice plaza
#

welp lets hope they dedicate a whole update to server performance. That's totally realistic

toxic saddle
#

true load speeds

#

still slow

gaunt berry
dense zinc
#

1.16 FPS is like 10 lower for me but it doesn’t matter too much now as I have a better computer

toxic saddle
#

smh I have more RAM than usable ssd space

dense zinc
#

Before I got like 30 FPS regular so 1.16 was annoying

hearty bloom
gaunt berry
toxic saddle
spice plaza
hearty bloom
slender nest
#

Oh, 1.16 takes 3-4x longer to load than 1.12

gaunt berry
#

optifine > sodium

spice plaza
#

yee I usually use optifine

dense zinc
slender nest
#

Adding forge into the equation makes it even worse

spice plaza
#

just an option

slender nest
#

But I want to have bigger chat scrolling

gaunt berry
#

fabric is the way to go

dense zinc
#

Now I get like 350 FPS warz warz

spice plaza
#

forge is ew

gaunt berry
#

on 1.12+

dense zinc
toxic saddle
#

I got my 90$ gpu from china

gaunt berry
#

doubt

toxic saddle
dense zinc
#

Cause I’m lazy and don’t wanna try fabric

gaunt berry
#

fabric is better and has ~~more ~~ better mods

spice plaza
#

Would much rather get into fabric modding than get better at forge modding, despite forge having more tools.

toxic saddle
#

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

dense zinc
#

I’m gonna fork bungee and make my own

toxic saddle
#

just open a socket

#

send some bad bytes

#

make the game crash

#

profit

dense zinc
#

Except I won’t banter cause I’m lazy

spice plaza
#

just make it spawn you in a void world with no behaviours other than chat messages :')

spice plaza
#

IRC but it's a block game

dense zinc
#

I have a new Anticheat strategy I need some help on

toxic saddle
#

I asked for help with the chunk packet online

dense zinc
#

Just kick everyone that joins = no cheaters

toxic saddle
#

guy gave me code in php

vivid willow
dense zinc
#

Genius

spice plaza
#

literally every bedrock server with maps

dense zinc
#

If I ever take code from someone I always give credit tho

spice plaza
#

yee

#

even stackoverflow?

#

👀

gaunt berry