#dev-general

1 messages · Page 605 of 1

sick belfry
#

but for being safe I would despawn them

#

just takes a for loop and voila

safe lily
#

Since they only appear if you send the packets every time you join. If you leave and rejoin, they are gone, as long as you resend those certain packets

#

But then I’d need to reference both armorstand and NPC entity in that hash

sick belfry
#

yeah?

safe lily
safe lily
# sick belfry yeah?

Well, how? I can’t just save an Array of Entities as the value, and having another hash for the npc entity doesn’t make sense either

sick belfry
#

you lost me lmao

safe lily
#

I need to properly access both armorstand and npc entity separately though, in case I want to change the displayed armorstand name

#

lmao

sick belfry
#

I'm still learning java

safe lily
#

I thought your name was indicating you being on a higher level

sick belfry
safe lily
#

big rip

sick belfry
#

thats message xp

#

lmao

safe lily
#

you scummed me, a real hacker right there

sick belfry
#

and the party thing is bc I hosted a giveaway

sick belfry
safe lily
#

Oh well

#

I thought an Ascended came down to offer me their blessing for a second

#

But now, just a shady lot of scum

pallid gale
#

hmmm

safe lily
#

pff

#

Oh, it actually worked

sick belfry
#

lmao

safe lily
#

The ascendant, he is here

sick belfry
#

I helped someone?

#

lmao

safe lily
#

may I ask for a blessing, oh almighty?

pallid gale
sick belfry
#

lmfao

safe lily
#

2!

sick belfry
#

I retire

obtuse gale
#

You have been blessed

#

I truly envy you

safe lily
#

Well now I am overwhelmed

pallid gale
#

Unfortunately I'm not the one to ask

obtuse gale
#

@ clip

safe lily
#

He isn’t the one to ask..

half harness
obtuse gale
#

That’s a thing?!

safe lily
half harness
#

yes

pallid gale
safe lily
#

#funny-pings

obtuse gale
#

I see I’m too unfit to view that woeisme

half harness
#

#piggys-pings

obtuse gale
#

#maroons-pings

#

Oh wait there are none here

safe lily
#

._.

#

I am not none

sick belfry
#

seriously

safe lily
#

Already did you sneaky little sausage!

sick belfry
#

you'll find several ascendants

#

then wait

safe lily
#

I take your word on this one, my friend.

sick belfry
#

meanwhile put your brain to work

safe lily
#

It’s time to sleep at 2am

#

Oh well, maybe I wake up to a holy savior

#

Maybe not

#

Who knows

#

Sleep very tight, don’t let the bed bugs bite, y’all!

sick belfry
#

gn!

half harness
#

gn

static zealot
#

So. Im trying mysql(mariadb actually) for the first time and kaliber recommended me this: https://github.com/RainbowDashLabs/BasicSQLPlugin and in the example they create a new data source like this java MariaDbPoolDataSource dataSource = new MariaDbPoolDataSource();. The problem is that using gradle implementation("org.mariadb.jdbc:mariadb-java-client:3.0.2-rc") the pooldatasource only has one constructor that takes in an url. and there's no setServerName, setPortNumber, etc. methods

#

anyone can help me understand? what's the url supposed to be

#

ah. is it this thing? if so can I generate that myself from user input? seems easy enough. lol

half harness
#

I think jdbc:mariadb://localhost:3306/DB?user=root&password=myPassword

#

idk

#

first thing i found off google

#

🥲

static zealot
#

Ic. yeah. wasn't sure if that was the url

half harness
#

oh

#

im 99% sure it is

onyx loom
#

that would make sense

static zealot
#

will try. maybe one day I'll get to actually have this thing run and won't be able to tell why it isn't working. kek

onyx loom
#

weird that it doesn't have the setters tho. I believe when I was messing with it in mysql the setters were there

static zealot
#

well Its probably bcz I'm using a newer version of the mariadb client

ocean quartz
#

Smh use HikariCP

frail glade
#

^^

static zealot
#

IC

#

oh Ic. I've read the first part earlier yesterday and I kinda forgot they did mention that

#

kek

quiet depot
#

@static zealot

static zealot
#

@me

quiet depot
#

piss easy lib

static zealot
#

ok. so now. I have 3 options

#

lol

quiet depot
#

no

#

you've got 2 eh options

#

and 1 great option

static zealot
#

🥲

#

ok. hopefully there will be another 2 better options by the time I Switch back to this.

#

well not back

ocean quartz
#

Well aikar's lib uses HikariCP

static zealot
#

ah.

quiet depot
#

look at that

#

super simple

static zealot
#

cool cool cool

#

wait. but it reccommends hikari 2.4.1. Hikari is at version 5.0.0 or something rn

frail glade
#

It still works

static zealot
#

well. not saying it doesn't. but like. updated is better and all (:

quiet depot
#

try using 5.0.0 with it

#

might work

frail glade
#

Fork it and update it?

static zealot
#

ok. sure.

#

will do

#

rn

frail glade
#

I'm switching away from it once I find the motivation and time

quiet depot
#

why

frail glade
#

But it's still good

#

Because I'm switching to a flyway / jdbi setup

#

Kinda like what Carbon has

quiet depot
#

ic

ocean quartz
#

Really liked using Exposed by JetBrains, but don't think i would use it on plugins, too thicc
@obtuse gale knows a similar one, which is really nice too

quiet depot
#

what's with the new name

#

matt

static zealot
#

there is a story behind it

ocean quartz
#

Yeah that

ocean quartz
#

Yeah this one looks really nice ^

obtuse gale
#

very fluent very cool

quiet depot
#

o

#

what does fluent mean

#

is it some buzzword

static zealot
#

smooth

#

like my brain

quiet depot
#

ah

#

thanks for the comparison

#

wasn't sure what level of smoothness we were talking about till that

obtuse gale
#

🤣

static zealot
#

what? is it not common knowledge that my brain is the smoothest thing that has ever been discovered? even at atom levels it is very very smooth

quiet depot
#

smoother than smooth

static zealot
#

yeah. they even made a new word for it

#

its called fluent

quiet depot
#

right

obtuse gale
#

it's like working with streams, builders, etc

#

you don't stop at each step to assign variables or call methods that return void etc

#

that's sorta what fluent means

quiet depot
#

i hate these buzz words

#

just say "we use builders and streams and shit so u can code easier"

obtuse gale
#

i mean it's neither a builder nor a stream

#

optional, completablefuture, etc

#

it's a style

#

called fluent

#

err, someone would beg to differ it's monadic design

#

whatever that means

quiet depot
#

just meaningless words

static zealot
#

man. ya'll made me lose my mind rn (the little I still had). I'm giving up. bye

obtuse gale
#

gn

static zealot
#

not going to sleep. lol

#

or u going to sleep? then good night

obtuse gale
#

no i'm not

#

man, Minecraft calls inventories "menus" internally

#

such a headache

static zealot
#

DeluxeMenus. you should've known

obtuse gale
#

?mf

compact perchBOT
obtuse gale
#

menus

ocean quartz
#

Idk who made that and called it menus

#

But yeah it's pretty dumb

obtuse gale
#

I mean it makes sense

#

I guess

obtuse gale
#

and "menu" is any kind of "inventory-like" GUI menu

#

anvils, chests, etc...

#

anvil is the "default" inventory type if a custom one isn't found wutcat

#

what a strange decision

onyx loom
#

anvil gui >

#

u are yet to see its greatness

ocean quartz
#

But now the important question, do you say G.U.I or Gooey?

humble silo
#

Gooey, obviously...

ocean quartz
#

Yikes

cinder flare
#

yikes

humble silo
#

There is one difference between people on this planet, the ones that pronounce GUI right, and the ones that pronounce it wrong... you know who you are

ocean quartz
#

Ofc i do, i am right

#

It's G.U.I

humble silo
#

no.

#

its not

obtuse gale
#

gui

quiet depot
#

devs irl I've met have always said gooey

cinder flare
#

yeah but you live in australia

humble silo
#

exactly

cinder flare
#

that's not a good sample size

ocean quartz
#

Prolly same freaks that say Sequel for SQL

humble silo
#

my god

cinder flare
#

I only say sequel in Microsoft SQL Server

humble silo
#

do you not???

cinder flare
#

since it just rolls off the tongue

quiet depot
#

have met one person that calls it sequel

#

not irl

cinder flare
#

yeah it's chestly lol

#

what a joker

humble silo
#

very funny

#

thank you star

cinder flare
#

yw, now stop saying things wrong

quiet depot
#

pretty sure it's officially wrong to call it sequel

cinder flare
#

yuh

humble silo
#

but do you really want to have to pronounce every single letter separately in there?? I can say sequel like 5 times faster than sql

cinder flare
#

i mean so

#

it's not about brevity, it's about accuracy

humble silo
#

lol thats funny

cinder flare
#

that's why we all use java amirite

humble silo
#

I feel like c would fit that more

#

but ok

cinder flare
#

nah C you can do some funky stuff

quiet depot
#

anyone that has ever heard me pronounce "gta" knows that I can mash syllables like potatoes, so syllables aren't an issue for me

cinder flare
#

Java is extremely explicit

cinder flare
#

public static void main(String[] args)

obtuse gale
#

apparently it was originally named "SEQUEL"

#

lol

humble silo
#

omg

#

see

#

im right

#

take that star

obtuse gale
#

and SQL's daddy pronounces it "sequel" as well

quiet depot
#

well fuck

cinder flare
#

the guy who made gifs pronounces it wrong

humble silo
#

i can agree with that

obtuse gale
#

sql used to be named SEQUEL

#

so it's sequel

#
  • it's one syllable shorter
cinder flare
obtuse gale
ocean quartz
#

My teachers said to not trust wikipedia

obtuse gale
#

you don't cite wikipedia

#

you cite the sources wikipedia cites and your teachers will never know

cinder flare
#

well yeah so it started as SEQUEL because it stood for Structured English Query Language

#

then they changed it to SQL

#

so it's obviously not pronounced the same

obtuse gale
#

except that it is

quiet depot
cinder flare
#

I mean obviously not

obtuse gale
#

historically it remains

cinder flare
#

so they dropped the vowels

humble silo
#

but...

cinder flare
#

hence you don't pronounce vowels that aren't there anymore

humble silo
#

thats hurts my soul

obtuse gale
#

so what? previously you used to say "S.E.Q.U.E.L."?

#

no

cinder flare
#

well no because previously SEQUEL was a pronounceable word lmao

#

SQL is not

obtuse gale
#

so why SEQUEL is sequel and GUI is G.U.I.?

#

what determines how you pronounce it?

cinder flare
#

acronym

obtuse gale
#

if whether you name each letter or the thing as a whole?

ocean quartz
#

Why is C.I.A and not cia

obtuse gale
cinder flare
#

yeah and I pronounce both as individual letters

static zealot
cinder flare
#

S.Q.L

#

G.U.I

#

C.I.A

obtuse gale
#

S.E.Q.U.E.L.

#

right

cinder flare
#

that's not what it is Emily

obtuse gale
#

it's an acronym

#

G.I.F.

cinder flare
#

it's not actually

#

it's an amalgamation

#

each letter doesn't stand for something

obtuse gale
static zealot
#

get owned Emily!

cinder flare
#

QUE are all from the beginning of Query

obtuse gale
#

J.S.O.N.

cinder flare
#

it depends

obtuse gale
#

on?

cinder flare
#

whatever i feel is right

obtuse gale
#

well so I feel sequel is right for sql

cinder flare
#

well you're wrong

#

so, good talk

obtuse gale
#

well you are wrong

#

good talk

static zealot
#

damn

cinder flare
#

great

ocean quartz
#

HUD and GIF i pronounce them but most others are just letter by letter

static zealot
#

the truth is I will probably never give a fuck what the correct way to pronounce them is. to me the correct way will always be the one I Use

#

the same goes for data

obtuse gale
#

barry fuck off

static zealot
#

ke

#

llll

compact perchBOT
#

hurtful!

obtuse gale
#

i do not care

static zealot
#

damn

#

wait

#

what's going on

#

admins

#

all watching us

static zealot
#

@hot hull mind giving me full perms to the FrozenJoin repo? Idk if you know but star moved the spigot plugin to my account as well and I want to update it but also make a github release

#

BlitzOffline is my github name

#

or maybe transfer the repo

#

or I guess I can just doing all the work on my fork. that's fine as well

hot hull
#

Yea sure

#

When I get on pc I'll give you full access

hot hull
#

@static zealothttps://github.com/Frcsty/FrozenJoin/invitations

prisma wave
#

Fluent doesn't necessarily mean monadic, a builder is technically fluent I think

bleak canyon
#

How can i get support from Discord?

static zealot
bleak canyon
#

If my account was banned, i can get it back?

ocean quartz
#

Idk, probably not

static zealot
#

sometimes. depends why it was banned. best is to just ask

fickle drum
#

Hey guys, just to ask is this a place where I can ask questions regarding developing minecraft java plugins?

bleak canyon
#

I added nsfw content to my server and i get banned because "it was 18-", but it was a video from ****Hub

fickle drum
bleak canyon
#

Im so depresed

static zealot
fickle drum
#

Also is this specifically for minecraft plugin development?

fickle drum
static zealot
#

this server you mean?

fickle drum
ocean quartz
#

Plugin's support, development support, anything no need to be mc, and minecraft in general

static zealot
obtuse gale
static zealot
#

@obtuse gale does luckperms have a command to add permissions to everyone? like per user. From what I can see /lp bulkupdate is only used to change already existent permissions right?

#

oh wait. I'm in their discord. will ask there. sorry for the unnecesary ping kek

#

ah. terfs already asked. :)))

forest pecan
#

Does anyone know where the hell I can get a freebsd gcc toolchain that i can use to compile for freebsd lol (amd64)

prisma wave
#

freebsd 😵‍💫

forest pecan
#

its so ass

#

and also like nobody precompiles gcc on it

#

but people still use it

gusty fulcrum
#

what's the best version to run a server on now? latest versions still ass performance?

half harness
#

new versions would probably be a tiny bit laggier, but if you're not hosting anything heavily pvp related (that would require 1.8), i'd recommend 1.18.1 since it's the easiest version to create plugins on and most, if not all plugins would support it (as long as it's not like 5 years old)

#

¯_(ツ)_/¯

gusty fulcrum
half harness
#

np

half harness
distant sun
#

Mojang released some file to patch the server by yourself

obtuse gale
half harness
#

i dont think they announced it tho :((

snow vale
#

Hey i have a question, im using a scoreboard and i want to display my current rank in the scoreboard. For the ranks i use Luckperms and im trying to get the API for the prefix so i can put it in my scoreboard. I already installed PlaceholderAPI and the Luckperms extension. Anybody who can guide me in this?

brittle leaf
snow vale
#

Configure

#

Im not so handy with coding

brittle leaf
#

dev general is not the place for configuring help

obtuse gale
#

NOT configuration help

viral grove
#

Can adventure api translate colour codes? I couldn't find a way to do that

obtuse gale
#

ew legacy

#

there's the LegacyComponentSerializer for that

#

but ew

wind patio
#

kinda new to bunege and sh

#

if the proxy server goes down, do all players get kicked out of other servers?

#

or does it depend on the configuration

frail glade
#

Any player connected to a backend server through that proxy will be disconnected.

wind patio
#

ah, so if they connect to the server directly, they stay on there

frail glade
#

If they connect to the server directly, you have a major security issue 😛

wind patio
#

why is that

frail glade
#

Backend servers should not be exposed if you're using bungee because they will be in offline mode.

wind patio
#

ah

#

true

frail glade
#

Meaning someone could login as a staff member and cause damage.

wind patio
#

also, odd question, why is the server icon not showing up

#

I have it in the same directory as bungee (using waterfall) as server-icon.png (64x64) (same as non-bungee)

frail glade
#

No idea. I typically use a proxy plugin for that

#

I think MiniMOTD supports bungee.

wind patio
#

I suppose there is no real way to restart the proxy server (to load new plugins) without disconnecting players on other nodes?

sly sonnet
#

but the players wont be able to do anything

#

iirc

#

and when the proxy is back, it will just renew their connection

versed vortex
#

is it possible to have multiple concurrent bedwars games on the same map?

#

like do everything thru packets

#

and make block placements client sided

hot hull
#

Seems like a very iffy idea, but yea probably

versed vortex
#

wouldnm't it save some resources?

hot hull
#

There's better ways in saving resources than that I'd imagine

versed vortex
#

but hypothetically

#

u wouldn't have to load maps and unload them

#

for every game

#

u can have 10 maps and have 100 games playing on them

#

and it would also get rid of dissapearing blocks?

potent nest
#

well it's most likely possible, but not worth the time you'd need to invest in such a system

hot hull
#

I mean if you were to actually have thousands of games playing, it would probably be worth the hassle in making such a system

versed vortex
#

cool

#

just curious

#

if hypixel isn't already doing that

#

would be a cool idea tho

#

have 10 games to the same map

distant sun
#

from my knowledge, they have separated mini servers for each arena

versed vortex
#

yeah

distant sun
#

if you pay attention to the chat, it says Connecting you to mini-#####

versed vortex
#

but this way you could run a lot more games on each mini box

potent nest
#

you'd also use minestom or an own server implementation rather than trying to get that done on top of paper or spigot

versed vortex
#

true

#

but it wouldn't be too difficult with spigot

#

just recieve block place packets

#

and other things like tnt explode etc.

#

and broadcast to all players in that game

#

no more map resets needed

#

since the blocks are all client side

#

when u dc and reconnect they dissapear

wind patio
#

a player has stuck in a loop like this

#

wtf

#

(bungee)

deft harbor
#

I've have a number I've used it for a discord account now the email of that account is deleted. I want to use that number to my discord account. But when I add it to my discord account it's showing "Already used".

Pls anyone help me

quiet depot
#

you talking about your discriminator?

deft harbor
#

Is it helping chat server

quiet depot
#

minecraft support

deft harbor
sly sonnet
wind patio
#

uh, another, likely a dumb question about bungee
if the bungee server is 1.18, and I have 1.16 servers, will players be able to connect?

violet creek
#

Anyone knows what Ad-Hoc search means? My syllabus isn't in my native language and I can't seem to find anything useful online for some reason. Something to do with searching through a database.

distant sun
violet creek
#

Fuck me, my bad. Thanks
Sorry for wasting your time

distant sun
#

shut up jumbo

violet creek
#

aww

sly sonnet
distant sun
#

dont you need via-backwards or a similar plugin? ViaVersion allows newer clients to join older version servers

sly sonnet
#

yeah but you need viaversion on 1.16 sub-servers so you could join from 1.18 proxy

distant sun
#

I've read that wrong, mb

half harness
static zealot
half harness
#

I remember seeing

We are looking for developers who are willing to work with us on new things like minigames, gui menus, plugin animations.
from him before tho

#

🤷

wintry plinth
#

ye i thought the same lol

half harness
#

just deleting them

wintry plinth
#

Helpchat eh, lol

half harness
#

also im surprised that the server can't find any devs since its owned by a yt 👀

#

🥲

#

well

static zealot
#

I might be blind

half harness
#

what abt logs?

static zealot
#

when I say history I mean logs

half harness
#

hm

obtuse gale
#

Bridger land 😂😂

wintry plinth
#

Today we'll do: <blockgame> is a network with an average of 100-300 players online.
Tomorrow we'll do: <blockgame> is a network with an average of 99-299 players online.
Then we'll do: <blockgame> is a network with an average of 101-301 players online.

half harness
#

lol

#

barry doesn't have any anti-bumping in those though afaik so he might not even change the message

wintry plinth
#

wait really lmao

half harness
#

well

#

i remember before

#

this happened

#

someone deleted their request and just bumped it

#

for a while

wintry plinth
#

I wish we had a website for stuff similar to #915480940925562920, like not a forum or anything, they'd just submit what they want with their budget (its hidden) and then the person submits how much they want to charge, and if its within range it pairs them up

distant sun
#

it doesn't auto delete them

static zealot
#

yeah. no auto delete but he does detect most of them

half harness
#

wdym?

#

does it send it to a #check-these-requests-they-might-be-bumping channel?

static zealot
#

maybe

distant sun
#

how did you know?

static zealot
half harness
#

🙃

onyx loom
#

😵‍💫

wintry plinth
#

it depends on the person, if they're in the whitelist it goes to #pretend-we-didnt-see-this-bump

half harness
#

ah

static zealot
#

correct. damn you guys got insider information

wintry plinth
#

ofc ofc

distant sun
#

pretty much, yes

distant sun
#

I want to replace this message with another message and IIJ is suddenly having a stroke wtf

potent nest
#

Kotlin?

distant sun
#

yeah, looks like it just wanted to add a run after the if for a second

static zealot
#

damn. ij bad

#

jetbrains badd

#

kotlin baddd

onyx loom
#

true

frail glade
#

Yeah but Fleet tho

static zealot
#

ok. fleet is an exception

half harness
#

Fleet?

#

oh

#

reminds me of vsc

static zealot
#

ok

#

maybe bcz its a better alternative to vsc

half harness
#

oh

#

oh its in preview

static zealot
#

yes. 😦

wintry plinth
#

I’ve been waiting for fleet too looks super cool

hot hull
#

Whens it coming out?

brittle leaf
#

i now have 4 enchantments implemented into my custom enchantments plugin. Experience, Smelting Touch, Rainbow and Telekinesis.

#

i actually have enchantments instead of just a gui that makes me burn out

wintry plinth
#

i do wonder if it'll be free or paid

sly sonnet
#

vsc 🤮

forest pecan
#

Hi guys, im looking for a really good Faction plugin something stable.

ocean quartz
static zealot
#

holy shit I want to die

obtuse gale
#

same

#

but for the wrong reasons

static zealot
#

a few weeks ago I've had problems sftp-ing into a ptero server and then I somehow fixed it (forgot how) but I forgot that I fixed it. And then I spent a few days trying to ssh into the server instead of sftp-ing and I believed its still broken

#

bcz you can't actually ssh into a ptero server. just sftp.

sly sonnet
barren storm
#

you know java i assume, wxip?

sly sonnet
#

yeah

#

i guess xd

barren storm
#

whatd u first do to learn

#

ive never touched code in my life

sly sonnet
#

i don't know everything but yeah

barren storm
#

where do i start

sly sonnet
#

uhh

#

let me think

#

so basically i started learning java just by doing random code

#

like just created a main class and made some small programs

#

and tried to figure it out by myself

#

but yeah that's dumb

#

ah wait

#

recently i found some guy that makes java tutorials on youtube

#

he's some senior developer or something idk

#

Java lesson for absolute beginners! Even if you've never programmed at all before, you'll have your first program running in minutes.

JDK download: https://www.oracle.com/java/technologies/javase-jdk16-downloads.html
Eclipse download: https://www.eclipse.org/downloads/

Complete Java course: https://codingwithjohn.thinkific.com/courses/java-for...

▶ Play video
#

try this

barren storm
#

kk tysm

sly sonnet
#

no problem

static zealot
#

what plugin should I use in sublime text if I want highlighting for .conf files?

#

I can only find Splunk. Will try it and see if its any good

#

if you know any better ones please recommend

#

not quite there tho. 😦

#

a lot of this is not formatted

barren storm
#

John uses eclipse

#

:O

#

LET'S GO!

#

just wrote my first java program ever

half harness
#

🥲

static zealot
#

LMAO

static zealot
#

ugh. So I'm using this https://wiki.gnome.org/Apps/Files as my file manager and I'm using their remote connect thing. I usually just set up a .ssh/config thing to just automaticall sftp using just 1 word but the problem I saved the connections permanently and now if I change the name of a connection in.ssh/config I can't use it anymore. I get This

#

I also tried CLI and I get this

#

tried googling and wasn't really helpful

#

where could I maybe find the saved options and clear them

#

oh. just noticed its happening when I try to ssh as well now

#

well fuck. turns out I had a typo. But still. It connects me to the old server.

#

so still need to find a way to clear the cache or whatever

#

I want to die 💀. I found where they're stored. its called Passwords and Keys

#

🥲

barren storm
#

math with java!

#

fun :D

brittle leaf
#

otherwise know as how to group as many related methods together at once

remote goblet
#

that looks like my sleeep paralysis demon

brittle leaf
#

the majority of the methods are quite short, compaired to updateItemWithEnchantLore() which is a behemoth

#

its so large because of the loops for updating the enchantments based on their counter parts

remote goblet
#

all of it is nightmare fuel

#

i'll be fully honest

brittle leaf
#

its just a class full of methods

remote goblet
#

i can see that

#

doesn't take away that its nightmare fuel

brittle leaf
#

its the only part of my code that i actually hate

remote goblet
#

i mean there's tiny stuffi n here that are just

#

why

#

no reason for a variable in there

#

small stuff that personally just bothers me lmao

brittle leaf
#

just removed them

#

both of them

#

atleast my method names are pretty good cause they describe for the most part what each one does

obtuse gale
#
        if (enchantments.contains(enchantment)) {
            enchantments.remove(enchantment);
        }```
#

that can just be remove

obtuse gale
#

removeCustomEnchantNBT

brittle leaf
#

done.

#

ive never done something so large so not really sure how to make my code better

#

if it wasnt for enchanted books i wouldnt have this issue

obtuse gale
#

id just try to minimize duplication and use smaller function names

#

so it doesent get as cluttered

brittle leaf
#

i have tried to minimize duplicated tasks

obtuse gale
#

itll get better over time

brittle leaf
#

itll get better probably as i continue developing my plugin

#

and develope my skills

sick belfry
#

I'm feeling

#

well

#

a bit nuts

#

have you seen those videos where they use CGI/VFX and motion tracking for adding realistic stuff like water into mc?

#

why not make a mod that lags your ass off mc but it adds those physics?

#

would be cool

distant sun
#

Do you guys know of any way to get analytics from a plugin, similar to bStats? I would use bStats but all data is public, I don't want to have a page with 30 charts 🤣

potent nest
#

You shouldn’t collect data secretly, most People don’t like that

distant sun
#

alright then, bstats will do it

wintry plinth
wintry plinth
#

Also Gaby, what charts are you looking to use?

hot hull
potent nest
#

you'll enjoy Meta then! :p

hot hull
#

Won't be playing meta, too poor for vr shit

distant sun
wintry plinth
distant sun
#

wdym?

wintry plinth
# distant sun wdym?

I thought you already had an idea of what analytics you wanted to track, because you said with all the charts etc

rain magnet
#

hello discord. is there any admin that can solve and help me wtih my problem?

pallid gale
#

minecraft help not discord 😉

rain magnet
#

where should I go to get some help about discord problems?

static zealot
rain magnet
#

tnx

half harness
#

over 43,242 commands
43,243 commands? :))

#

it's a very specific number

#

lol

weak geyser
#

any eta on when ezrankspro and autosell will update on the database so I can get access to channels?

pallid gale
#

I can do them now

#

give me a sec

weak geyser
#

thanks!

tender crest
static zealot
#

I mean you have a specific example there

#

just copy paste it and change the index value

tender crest
#

yeah i dont even know what that means ;w;

#

ok nvm i fixed it

#

i just put a { somwhere and it works now

fast minnow
#

Hi

#

I have a string and i want to put a variable in this string how i can do that?

brittle leaf
fast minnow
#

but

#

public static void onPlayerDeath(PlayerDeathEvent event) { event.setDeathMessage(ChatColor.RED + "player Ha muerto a causa"); } }

#

in player i Want to put the name of the player

brittle leaf
#

event.getplayer?

#

ohhh

fast minnow
#

Im new :'v

brittle leaf
#

so you want to replace player with the player name?

fast minnow
#

public static void onPlayerDeath(PlayerDeathEvent event) { event.setDeathMessage(ChatColor.RED + "event.getPlayer Ha muerto a causa"); }

brittle leaf
#

event.setDeathMessage(ChatColor.RED + event.getEntity().getName() +" Ha muerto a causa");

#

i believe thats right

fast minnow
#

yes

#

getEntity is not the mob?

hybrid mural
#

no

fast minnow
#

Ah

brittle leaf
#

PlayerDeathEvent, it says Player in the name.

#

if it was EntityDeathEvent then yes it would be whatever mob that died

fast minnow
#

I want to put the player dies from a mob how can i put the name of the mob

#

What variable i need to put

#

public static void onPlayerDeath(PlayerDeathEvent event) { event.setDeathMessage(ChatColor.RED + event.getEntity().getName() + " Ha muerto a causa" + event.getEntityType()); } }
Like this?

brittle leaf
#

e.getEntity().getLastDamageCause().getEntity().getName()

fast minnow
#

This in the position of where i want to put the cause?

brittle leaf
#

you should check if the lastdamagecause is a mob or not otherwise you will get NPE

fast minnow
#

How i can do that?

brittle leaf
#

using an if statement

fast minnow
#

ok

brittle leaf
#

i think its if ( e.getEntity().getLastDamageCause() instanceof LivingEntity) { //yourcodehere}

fast minnow
#

public static void onPlayerDeath(PlayerDeathEvent event) { if ( event.getEntity().getLastDamageCause() instanceof LivingEntity) { event.setDeathMessage(ChatColor.RED + event.getEntity().getName() + " Ha muerto a causa" + event.getEntity().getLastDamageCause().getEntity().getName()); }

#

Like this?

brittle leaf
#

something like that yeah

fast minnow
#

Thx

#

Im going to test

brittle leaf
#

also its public void

#

you dont need static on it

eternal mica
#

lmaoooo

#

i think its gonna eat up more :)

sly sonnet
#

is 5gb too large for ur pc?

eternal mica
#

no

#

obviously not

#

but i just think its funny

#

i've given it 10gb of ram

#

the icon is gone since the new intellij update

coarse ravine
#

can you code minecraft plugin with python because java is just WAY TOO hard

lavish notch
#

It ain't that hard.

humble silo
#

god, why would anyone ever want to touch python 🥲

coarse ravine
#

people say its more easier

#

idk

hallow crane
#

you could probably make a python minecraft plugin compiler in java

#

that’s actually not a bad idea

viral grove
#

Kotlin 👀

onyx loom
#

no that is an awful idea

#

lets not make a python compiler in java

prisma wave
#

Jython

eternal compass
#

to java

#

that way it's not interpreted /s

onyx loom
#

skull

eternal compass
#

compiled skript

#

it's where it's at

viral grove
#

*compiled scratch

eternal compass
#

I'm actually working on something kinda like that

#

Block Coding for spigot plugins

viral grove
#

Don't we have VisualBukkit?

eternal compass
#

yes, but I'm not a big fan of VB for a few reasons

#

and anyway, it has a very different focus

viral grove
distant sun
onyx loom
#

kill me now

static zealot
#

Kaliber

#

finally got the receipts

#

for the tomb raider games

onyx loom
#

lol

static zealot
#

xD

onyx loom
#

i claimed them today

static zealot
#

took them a while to process

#

I claimed them yesterday

eternal compass
static zealot
#

idk. I barely even was able to log in yesterday

#

I just gave up. thought I wouldn't get them at all

#

but turns out they did go thru

#

but took a while to process

eternal compass
#

are so many people claiming it?

#

that their servers are having queues?

static zealot
#

probably

dapper parrot
#

Happy New Years!!!!🥳🎉💖✨

rancid gazelle
#

Hey @Fredthedoggy#9887

#

I cant post anything this month, but I havent posted anything

pallid gale
#

tiny window you managed to hit

rancid gazelle
#

Ok ty

blissful wave
#

Hey, can someone give me some plugin ideas to rebuild my portfolio from scratch? I have moderate-advanced knowledge.

obtuse gale
#

Guess not

royal python
#

@pallid gale I m facing some issue via dicord login

#

Help me

blissful wave
#

:/

obtuse gale
#

Ever made a json parser?

blissful wave
#

Yes

#

Was a project for uni

obtuse gale
#

Oh I know

#

Implement MENACE in Minecraft

blissful wave
#

What's that?

obtuse gale
#

Basically a ML-powered AI to play tic tac toe

#

It's p fun all the optimizations one can do

blissful wave
#

That's a fun idea!

distant sun
#

Wow

gusty fulcrum
#

hi all, I'm looking in to creating custom enchants for 1.17.1, do I still need to manually add to the lore as the enchant api never use to do the name if I remember correctly?

distant sun
#

Ye, thats a client limitation

gusty fulcrum
#

Okay thank you

sly sonnet
#

what actual the fuck

distant sun
#

🤣

wintry plinth
distant sun
prisma wave
#

who tf is alan

wintry plinth
#

Alan Key

distant sun
#

The CEO

#

You logged 875 hours on WakaTime in  2021!
Weak

static zealot
#
  1. but I didn't really give a shit. didn't add it to rider or sublime I believe
half harness
static zealot
#

less than me dkim?

half harness
#

o

static zealot
#

I can't believe that

#

I'm playing bedwars all day... you're in IJ all day

#

and. how the fuck does this avverage work?

half harness
#

wait a minute

#

that

static zealot
#

your average is broken

#

af

half harness
#

does not

static zealot
#

:)))

half harness
static zealot
#

697/365

#

is 1.9 or something

half harness
#

maybe it uses some different thing

#

like it only calculates days u logged

static zealot
#

maybe?

static zealot
#

actually. I don't see why not

#

bcz if it counts sublime, then I did open sublime a lot since its my default editor

#

lol

half harness
#

i didn't know wakatime is also in sublime

static zealot
#

well it has a plugin for it. yeah

#

but looking at it, doesn't seem like it does count it

#

lol

half harness
static zealot
#

actually. that might be what 50 hours in Unknwon Project is

#

lol

half harness
#

what about the ide section?

static zealot
#

oh yeah. lol. it even counts my browser?

#

ohhhh. yeah. I remember. I Disabled that

half harness
#

wa

#

t

static zealot
#

yeah. I disabled it bcz I would reach my max stats for the free plan too fast or something like that

#

and yeah. I disabled sublime as well

#

used to have it at the start of the year

half harness
#

o

#

r u using linux rn

static zealot
half harness
#

12 hours-

static zealot
#

only used windows to play rocket league and csgo

#

but haven't done that in over a month now

#

lol

#

actually. might be a bit less

#

wtf happened Sept 13?

#

can't even check bcz no premium

#

fuck

#

I ain't paying 9$/mo for that

distant sun
#

120h damn blitz

static zealot
#

120 in?

distant sun
static zealot
#

oh. yeah. I spent way to much for that

#

and its still a mess

jade gust
#

How can I deactivate the autoblocks message since every time it tells me a message about that from autoblocks in the chat

#

Plugin : AutoSell

onyx loom
sly sonnet
#

with what

forest pecan
#

Somebody knows how to add potions in

#

Shopgui+

sly sonnet
wind patio
sly sonnet
gusty fulcrum
#

anyone here done custom enchants before? Unsure how to handle the custom enchant name with existing vanilla enchants

#

Is it best to use hide enchants and just create a new lore with vanilla enchants and the custom enchants combined?

distant sun
#

Only if the game allowed new enchantments that easy 🥲

gusty fulcrum
#

I've done the custom enchant its just making it display its name on the item thonking1

obtuse gale
#

if anything some spigot shit

floral sedge
#

And if itemstack have your enchantment

#

Execute an function

#

And you can user levels

gusty fulcrum
#

Thanks for the advice

floral sedge
#

Pls changue this

#

And register in the bukkit

#

Like eco enchants

gusty fulcrum
#

🤦‍♂️

floral sedge
#

I suggest

#

Is better

#

And add more function

gusty fulcrum
#

Thanks man!

humble silo
#

Is the naming on this bad? I feel like this makes sense but idk

// This
public val ClassNameRefiner: ExtensionTransformer = ExtensionTransformer { ref ->
    ExtensionReference(ref.mapKeys {
        if (it.key.endsWith(".class")) it.key.replace('/', '.').removeSuffix(".class") else it.key
    })
}


// Instead of this
public class ClassNameRefiner : ExtensionTransformer {
    override fun process(toProcess: ExtensionReference): ExtensionReference = ExtensionReference(toProcess.mapKeys {
        if (it.key.endsWith(".class")) it.key.replace('/', '.').removeSuffix(".class") else it.key
    }
forest pecan
#

I need a good Faction Plugin somebody knows a good one?

gusty fulcrum
#

Anyone know how to fix my issue with compiling with gradle? Only ever use maven till now

neon apex
#

i'd recommend sticking with maven :/

gusty fulcrum
#

my bad I wasn't building correctly 🤦‍♂️ all sorted

hallow crane
#

@turbid onyx wrong channel but here

turbid onyx
#

Ok

rancid gazelle
#

@kindred hatch you posted a request at #926704035015307344 but disabled DMs. How is one supposed to help you shrekstare

rancid gazelle
#

Oh p-p

wintry plinth
#

Oof

forest pecan
#

somebody knows how to put mob damage on falls?

hot hull
#

elaborate

forest pecan
#

??

hot hull
#

Explain what exactly you mean by taht

#

that*

forest pecan
#

😛

#

I just dont want mobs cant hurt players

hot hull
#

There's probably a paper setting for that

forest pecan
#

cant find it somewhere

#

maybe you know something?

sly sonnet
#

there is also a event for that

jovial warren
#

hello

hot hull
#

oh no it's bardy

grand hedge
#

hey, to everyone using eclipse and having access to the github copilot extension

#

I'm working on a little something,

#

And I'm currently reverse engineering the intelliJ implementation

#

And slowly replacing all the IDEA components to be Eclipse components

#

And fixing decompilation artifacts

#

Is anyone here able to help, or know anyone who could help?

sly sonnet
#

catdead eclipse

#

🤮

wintry plinth
grand hedge
#

I see, thank you anyways 🥰

wintry plinth
#

If it works for your use case, go for it 😊 I don’t think many others will help port it, as usually people transition from eclipse to idea

obtuse gale
hot hull
#

Who cares about eclipse, IJ is superior

obtuse gale
#

I mean who cares about ide

hot hull
#

Notepad ftw you right

obtuse gale
#

You have people using vim

#

Out coding majority of people by 20x

hot hull
#

Any updates on when fleet is releasing?

obtuse gale
#

Jetbrains is nice obv. It’s just cringe to rag on somebody for using a diff ide

#

When they could be much more capable than you

hot hull
#

Most likely are, but still, doesn't hurt having a well organized ide

wintry plinth
obtuse gale
#

Agreed

wintry plinth
#

Once you master the keyboard it’s super fast

wintry plinth
obtuse gale
#

I recently was forced to for some Linux networking with wsl cause I couldn’t get my clion to deploy to wsl. It can be nice if you customize it to your liking

#

I do now have it deploying to wsl so fuck vim

wintry plinth
obtuse gale
#

You need to do it for a fat min to learn quickly. And set your own key ones

#

Keybinds that help you be quicker

hot hull
wintry plinth
#

Ye, I’ve wanted to dive in, it’s like there’s a jetbrains plugin that tells you when you could shortcut it with a keybind, my only issue with jetbrains stuff is it’s clunky

#

That’s where fleet will change ig

#

_hopefully _

#

Once all the plugin stuff comes in

static zealot
#

let's go boys

frail glade
#

👀

wintry plinth
#

wooooo

forest pecan
#

Sombody can help me with finding a symbol

#

Dm me plz

#

Copy and Paste Symbol *

wintry plinth
#

symbol time

quiet depot
static zealot
#

Yessir

hot hull
#

Mine still hasn't :(

dense dew
#

i need fleet 😔

#

asap

wintry plinth
#

Ditto

hot hull
ruby dew
#

where is md_5 bungee api in 1.18 spigot???

wintry plinth
#

He is too busy hashing

ruby dew
# wintry plinth He is too busy hashing

just found it,they are literally separating everything with boostrap
trying to make their api in a single jar which makes it like they are a separate module from minecraft jar
which is stupid af

#

every damn update spigot does something that is beyond necessary and just complicate things up

wintry plinth
#

Yeah of course, they have to

ruby dew
#

thanks for making everyone's work more annoying

ruby dew
wintry plinth
#

That’s md5 for ya

#

😂😂

ruby dew
#

true

wintry plinth
#

Like not applying any form of performance patch to spigot

#

Requiring forks to do that…

ruby dew
#

havent seen any performance improvements since 1.13 i think

#

anyway they even remove the itemstack constructor,making it protected,this is ridiculous

dense dew
potent nest
#

also, just don't use that stuff

cinder flare
wintry plinth
ruby dew
potent nest
#

No

#

It‘s just bad for those with broken setups

ruby dew
potent nest
#

None that uses the bungee chat api

ruby dew
#

bruh

oblique heath
#

does spigot's saveResource() work on directories?

#

apparently it does not

wintry plinth
#

Why would you save a directory?

oblique heath
#

because i have subdirectories in my plugin directory?

static zealot
#

run mkdirs before running saveResource

oblique heath
#

i have been, the issue is it seems that saveResource() doesn't support acting on directories in general

static zealot
#

ah

oblique heath
#

i cri

wintry plinth
#

I mean you can’t save a directory

static zealot
#

yeah. the problem is that even if he makes the directories he can't use saveResource on the file. bcz it only works in the plugin directory

#

so for example if I wanted to save a file called data.yml to plugins/MyPlugin/SomeDirectory/data.yml I can't with saveResource

oblique heath
#

wait

#

i dont think thats true

#

i just managed to call saveResource on some files in a subdirectory and have them save properly

static zealot
#

welp

#

xD

oblique heath
#

xd

#

still don't think there's a way to copy entire directories over though

wintry plinth
#

Just recursive get folders from your plugin, for each folder create the folder if it doesn’t exist and save the resource to that folder

oblique heath
#

see i was hoping there would be a way that didnt involve that 🥲

wintry plinth
#

Yeah I know what you mean, though sometimes I prefer solutions like this, makes it easier for maintainability in future

oblique heath
#

i suppose you're right

tribal violet
potent nest
#

why do you only share a screenshot of a part of the error message then?

tribal violet
#

They say it's a paper mistake and pass it off

dense dew
#

this dont say anything

forest pecan
#

Somebody knows how to put Faction name in placeholder %...% FactionsUUID plugin

dense dew
#

wrong channel btw

forest pecan
#

ive try to look there can;t find it

forest pecan
forest pecan
#

i know its there cant find it

#

got it nvm

ocean quartz
#

It's the available space for text to expand into

brittle leaf
#

it works, my own anvil interface finally works as intended

#

it supports my custom enchantments but not custom items yet

forest pecan
#

Somebody knows a good

#

Nametag plugin?

#

So i can see [Grou][Name] on minecraft and tab

obtuse gale
#

TAB?

forest pecan
#

can u maybe send me the plugin?

sly sonnet
obtuse gale
#

literally named TAB

onyx loom
#

eeeee no https://

obtuse gale
#

fix it

#

"support"

onyx loom
#

no u

obtuse gale
#

fuck no

onyx loom
#

ok

obtuse gale
#

thank you

onyx loom
#

NO PROBLEM