#dev-general

1 messages · Page 39 of 1

potent nest
#

yes

slate elk
#

i might go to germany soon if u would like to hangout 👉 👈

#

also i think to get a german citizenship

#

also SirY i heard guys you gonna deport all the refugees soon

#

when???

#

like in gemany the right wing became way stronger in the last couple of years

potent nest
#

deporting all refugees would violate many laws, and it would be extremely stupid, even the right wing people wouldn't do that

slate elk
#

but the crime rate became higher in it hurt the german people

#

i hope they will change the laws so the germany will be german people place

potent nest
#

lmao

slate elk
#

deporting is possible and legal also important to mention

#

look in france be french dont bring your 1500s culture m@rder and r@pe and ste@l from the locals and expect not to be deported

#

pretty simple

#

frankfurt became hell on earth due all of those

#

also result

#

weird they same to be identical

#

why carrott makes problems

potent nest
#

I'm not sure where you get all that stuff from

slate elk
#

oh from my german friends

#

not exactly friends

#

but some people i know online

#

i asked them where the best place to visit in germany

#

and insteadly they told me dont go frankfurt its full of some religion fanatics im pretty sure u know what i mean and refugees

#

basically africa exprience in germany

potent nest
#

that's just bullshit

#

it's just like every other city where people get into trouble on a social level

slate elk
#

do u think i also should come to germany to live?

slate elk
#

or i just meet some bad people dunno

slate elk
#

crazy times

potent nest
#

yes germany has a social system, just like every other sane country

slate elk
#

nah nah poland doesnt have any refugees at all

#

not a single terror attack

#

crime rate is still same as before

#

u cant just let everyone come to live with u at ur house eat your food because their homeland is in war

#

it doesnt work like tha

potent nest
#

poland has a lot of refugees from ukraine atm

slate elk
#

not from syria and etc

#

and also they ge kicked if they don work

#

guys u got refugees

#

from every corner of the world

#

imma go rewrite carrot class

potent nest
potent nest
slate elk
#

problematic

#

for the gov

#

also u r leading in accepting those

#

u know why they choose u

#

because u pay them

#

i honestly think we should also not accept ukranian refugees

#

when i think about it deeply

potent nest
#

the payment argument has been disproven multiple times already

#

you can't really live a proper live with that money

#

you can probably earn more money by collecting returnable bottles

slate elk
#

u can make alot of money actually from those bottles tbh

#

i never tried

#

but if u get them by groups and etc profits ^^

#

nah its still dogshit

#

i guess u r right

#

we had some ukranian refugees in my country too

#

they got deported

#

after some of them complaiined that hotels arent good enough

#

they wanted money instead

#

for example

#

why syrian refugees

#

choose u

#

and not turkey

#

which is islamic state

#

also all their arab neighboor countries

slate elk
#

even if all those refugees were dead instead

#

world was the same

#

and europe was europe

#

because like that slowly they will get into dogshit too

#

due the refugees

#

which those are the problem

#

troublemakers

potent nest
#

bruh none of that makes any sense

slate elk
#

so why Syria or lebanon in crsis

#

why both of those of huge militant terror groups

#

civilians support it

#

its likee you see someone getting murdered

#

and u dont report

#

u r also part of the crime

potent nest
#

also turkey is basically bombing syria

slate elk
#

and they dont take the refugees?

potent nest
slate elk
#

nah im not brain washed

#

by who

#

its western propoganda

#

im aint western lol

#

gonna hit that thng

#

but obv iim not gentlemen guys

#

have to admit

potent nest
slate elk
#

i own a big server

#

some german guys told me that

#

when i told them that i want to go to germany

slate elk
#

because my grandpa is german

potent nest
#

yeah so they brainwashed you, basically

slate elk
#

eh

#

SirYwell why i write no sense sometimes

#

like i read my shit

#

and i think like whats wrong with me

potent nest
slate elk
#

im lost

#

idk why carrot tdont work

#
        net.minecraft.server.v1_5_R1.ItemStack nmsitem = CraftItemStack.asNMSCopy(item);
        if(nmsitem == null){
            CLog.ConsoleErrorMessage("IM-INN " + ID);
        }
#

why nmsitem is null for carrot

slate elk
#

carrot doesnt

#

wtf

#

is that even

slate elk
#

idk

#

fucking shit spigo

#

no logic

#

it passes everything

#

wheres null

jagged frigate
#

What this 2 yapping mumbling about?

slate elk
#

Cringe

#

Stay away from dev chat

#

Go to off topic

brittle leaf
#

the bukkit itemstack you passed to the nms method

ocean quartz
#

1.5 monkaS

brittle leaf
#

ikr

distant sun
#

???

crude cloud
#

what is this chat lol

slate elk
#

That’s the thing

#

I pass by same way an apple and it works

#

And some others

#

But the carrot

#

🐰🐰🐰🐰

#

💀gg

ocean quartz
wintry plinth
#

Holy shit these new macs are beast

#

From 9s for a gradle build to 4s, ik only short but thats prob gonna be half for a lot of things

inner umbra
half harness
flint crow
#

question! for the dependencies in gradle. Do i change the compileOnly 'me.clip:placeholderapi:2.11.3' to compileOnly 'me.clip:placeholderapi:2.11.5' and its all that needed to update a dependency?

cinder flare
#

yep

flint crow
#

OKK wow it seemed to easy to be true

#

also is there a solution on why my plugin breaks on /papi reload?

inner umbra
flint crow
#

i ve made my own one OKK with a help of a friend

#

i wanted it as an expansion tbh but it works so i dont mind

surreal garnet
#

Cool. Is it just papi stuff or is it all things in relation?

flint crow
#

OKK yuh just papi stuff

surreal garnet
#

I face a similar issue on my server but it only affects our scoreboard.

flint crow
#

2 papi placeholders

surreal garnet
#

But I just reboot to fix.

jagged frigate
inner umbra
#

"yapping"

jagged frigate
#

Lmao, didn't see that coming

oblique heath
#

what has the world come to

#

where yappery cant even make a joke about yapping

inner umbra
#

what has the world come to
Almost 8b

jagged frigate
#

People start to yapping and mumbling around that's it.

#

What is 8b?

inner umbra
#

people

jagged frigate
#

what?

#

people what?

potent nest
#

population

inner umbra
#

^^

jagged frigate
#

Jess you said people not population

#

Didn't expect out pop still 8b, I tho 8t

inner umbra
#

... About 8 billion... people... is what the world has come to (so far ;))

cinder flare
#
    @Override
    public boolean persist() {
        return true; // This is required or else PlaceholderAPI will unregister the Expansion on reload
    }```
#

this one

flint crow
#

yeah i found that from an old msg of cj

#

but i m trying to find where to insert that :/

#

oh nvm

#

this one looks different

#

i was looking at that one

public class SomeExpansion extends PlaceholderExpansion {
    private final SomePlugin plugin; // The instance is created in the constructor and won't be modified, so it can be final
    
    public SomeExpansion(SomePlugin plugin) {
        this.plugin = plugin;
    }
}
cinder flare
#

this is what it should look like

flint crow
#

ohh i see

#

thanks star pepe_love

cinder flare
#

yer

half harness
flint crow
#

i did that but now the placeholders doesnt work at allOKK

flint crow
#

oh gg

#

i changed it from a plugin to an expansion

#

and now everything is great dab

pastel imp
potent nest
#

on the same project?

wintry plinth
pastel imp
#

ah paper compiled in 8s

wind patio
#

oh noes

#

4 extra seconds

#

going to buy a mac straight away!!

half harness
#

hold on are you guys doing clean build

#

since a clean build in 5s is pretty fast

wintry plinth
prisma wave
#

yall are literally just benchmarking cache reads lmao, theres no way clean build takes 4 seconds

#

actual clean build (maybe a couple libraries were in gradle cache) took 1m6s for me, then 2s for reruns

then ./gradlew createReobfBundlerJar --refresh-dependencies --no-build-cache takes about 10s on average

#

but i think that also depends on network performance to a degree

half harness
#

Since that's just dependent on network

#

I think

#

Idk

#

¯_(ツ)_/¯

prisma meteor
#

It's a bungee code server.

Spigot Server 1
Spigot Server 2

Is guild information shared?

potent nest
#

?

prisma meteor
potent nest
#

what are you asking about?

distant sun
#

Glare's guilds plugin IG

wintry plinth
wintry plinth
heavy dragon
#

Anyone know how to solve this issue, I am getting an empty space between two font images

wintry plinth
#

Seems my MC plugin takes half the time on the new machine

surreal garnet
#

Sheesh.

crude cloud
#

i forgot

#

i'm doing alright, got a little gig temporarily which is nice

gleaming merlin
#

Since I fully switched to CMI now I was wondering what plugins you think are not needed anymore, I will of course look if that's really the case, but I'm wondering what can go and what I need to keep.

Advanced Enchantments-9.4.12.jar
AuctionHouse - v2.103.1.jar
BlueSlimeCore.jar
BuycraftX.jar
CenterText.jar
CMI-9.6aujar
CMIElnjector1.C2.3.jar
CMILib1.4.3.O.jar
CombatLogX.jar
CoreProtect-22.2.jar
CrazyCrates- 1.15.jar
DeluxeMenus-1.14.o-DEV-167.jar
FastAsyncWorldEdit-Bukkit-2A3-SNAPSHOT-606.jar
GUIPlus-2.89.jar
GuiRedeemMCMMO v2.O.2-BETA.jar
HeadDB.jar
Lands-6.35.5.jar
LuckPerms-Bukkit-5.4.102.jar
mcMMO.jar
McmmoGui-1.1 .O-BETA (l).jar
multiverse-core-4.3.10.jar
NexEngine.jar
nuvotifier.jar
PlaceholderAPl -2.11.5.jar
PlayerVaultsX.jar
ProtocolLib (2).jar
Quests-3.14.2-3345d07.jar
Rankup-3.142.jar
ShopGUlPlus-1.92.1.jar
ShopGUlPlus-SellGUl-1.1.7-all.jar
SkBee-2.18.4.jar
Skellett-2.09.jar
Skript (2).jar
skript-placeholders-l .5.2.jar
skript-reflect-2.4-dev1.jar
Spartanjar
SuperbVote-O.5.5.jar
TAB v4.o.7.jar
TerraformGenerator-11.1.1_1.16.5-1.20.2.jar
Vault.jar
ViaBackwards-4.8.1 .jar
ViaVersion-4.8.1 .jar
worldguard-bukkit-7.O.9-dist (l).jar
wintry plinth
slate elk
#

and its wrong chat

wind patio
remote goblet
#

it is

#

anti packet mods go crazy

surreal garnet
#

True

brittle leaf
#

so non

silver parcel
#

hi

orchid axle
#

how can i reset playtime kills and deaths?

slate elk
#

wrong cha

#

hmm

#

what shape looks like a smoke?

#

im working on flare rn and looking to make a nice smoke effect

#

maybe upwards and a bit of rolling

#

Helix ?

quasi minnow
#

Heya! Looking for a developer, already established discord community trying to build a minecraft server for it! Please msg me

slate elk
#

Maybe particles isn’t the right thing

#

Fireworks ?

#

It’s also particles eh

jagged frigate
#

Most plugins in your list, I can do it easily in Skripts but its your choice man

distant sun
slate elk
#

skript belongs to general plugins

#

so please dont remind iti heere

slate elk
#

yo Modi good morning pal

#

how r u

wind patio
#

not good

slate elk
#

u feel to share?

wind patio
#

was sick yesterday

slate elk
#

oh my man get well!!

wind patio
#

and kinda sick today too, but not as bad

slate elk
#

i also feel like shit tbh i dont know if itts due the ciggaerets or the sleep schedule that ii flip every coupl of days

#

i feel like overdose

#

air doesnt feel fresh anymore

#

anyway yesterday i was working on an airdrop flare

#

i was thinking about making iit sexy and announcing GUYS HERE AIRDROP so i made a

#

helix via particles

#

not gonna lie

#

it look like shit in game

#

and not like my imigination

#

and also ton of packets

#

now i was wondering

#

is firework

#

is like good enough?

#

instead makiing fiireworks show

#

alsoo modi

#

i found an very hot chick

#

online

#

and she left wrong info

#

so i tracked her down

#

should i go to her place and wait till she go out and be like hey pretty girl wanna hangoutt

#

obv ill take my M3 to impress the bitch with the akropovich

#

so cutiee haha

#

❤️ ❤️ ❤️

#

i think ill go

#

and ill put a remote monitor for me

#

no way im gonna stand for so long at same position got to go to work later

#

ill just review the footage from the cloud

#

i already did a big research i know her biography + -

#

well according to data i have read haha

#

so now only need find out when she goes out to work and backwards

#

and magic

#

but pretty sure last time i told a female the way we meet wasnt accident it she were really scared ;/

#

so i think this

#

should be secret to grave

#

modii me and you waaah

#

so good

#

🐰

jagged frigate
jagged frigate
#

And wtf happening in this channel?

slate elk
#

its the dev-general

jagged frigate
#

Yeah I can read mister developer

slate elk
#

why are you here explain please

#

i think i know why

#

sometimes u r allowed to watch and smell but not to touch

#

you cannot drive a car without license u know

jagged frigate
#

Am I not allowed here? Am I banned from this channel?

slate elk
#

no ur not banned

jagged frigate
#

Just wandering around and communicating.

slate elk
#

sounds fair

jagged frigate
slate elk
#

what problem

jagged frigate
#

Hbu? You good?

slate elk
#

no iim not good

#

anyway im gonna leave the chat

#

but i think if u already here

#

ii wantt to make u part of us

jagged frigate
#

Thanks Tony Stark :D

slate elk
#

and some math

#

those are fasted courses

#

if u prefer theres a book called teaching the ape java its around 800 pages but also explains about other concepts of cs beside how to write code in java

#

also that tutorial give you the minimum knoweldge not about how to optimiize things and etc

#

but once u have basics

#

u r in a better place

ornate nimbus
#

It's Tony bro

drifting aspen
jagged frigate
slate elk
#

M0dii is a supreme court member

#

fr his java skills are above average senior dev

pastel imp
pastel imp
#

Skript users are so delusional lmao

wind patio
#

afonso fuming or what

brittle echo
#

in my defense, i only use it cause java syntax gives me nightmares

#

then again i get daymares with pythons syntax lol

slate elk
brittle echo
#

the amount of Skript programmer for 5 years professional comms open no dms in forums which lack the slightest knowledge of real coding is stupid

slate elk
pastel imp
drifting aspen
#

skript has similar syntax to python imo

slate elk
#

U can’t really take those guys serious

#

They are like on a different league

distant sun
brittle echo
brittle echo
slate elk
#

U r lying to ur self

brittle echo
#

whar

slate elk
#

Please open a book 30min a day in 3 months u have Java basics

distant sun
drifting aspen
#
  • both are made for dummies
slate elk
#

Yes

brittle echo
brittle echo
slate elk
#

Legit over rated by dummies

#

Only

brittle echo
#

ofc yeah

distant sun
#

You can not compare a real language that (sadly) has a lot of use with a scripting "language" made for MC

drifting aspen
brittle echo
#

trueee

pastel imp
drifting aspen
slate elk
#

I have tried to teach Java

#

To some people

#

Most r now a days brain dead

#

Or rusty on another level

#

In computer science 80% don’t finish

#

And out of the 20% maybe around 2% r only good

#

Rest are plants barely able@to code

cinder flare
brittle echo
#

also i use skript not because I like it
its because I dont have time/mental capacity to learn it rn
i have to still learn kotlin and dart for projects and i just cant man

cinder flare
#

it's like java but a little nicer and you can compile it at runtime

drifting aspen
#

isn't groovy like dead

cinder flare
#

it would be 1000x better than all these plugins that use insane amounts of yaml files to configure everything

cinder flare
slate elk
#

I can make mc plug-ins with kotlin

#

Same shit as Java

cinder flare
#

it's not super actively updated, but it still works and everything really nice

drifting aspen
brittle echo
#

just wanted to make clear that im not a skript skid 💀

cinder flare
#

i mean it's used as a scripting language for the JVM platform mostly lol

#

you wouldn't really like use it for other stuff, mostly small DSLs kinda thing

drifting aspen
cinder flare
#

cause Kotlin scripting is way less documented

drifting aspen
#

fair

cinder flare
#

basically the only use that Kotlin scripting has is in gradle lol

ocean quartz
#

Not really, Kotlin scripting is used in other places too

cinder flare
#

oh I haven't really seen it

#

and I couldn't find any good documentation on setting it up myself

drifting aspen
cinder flare
#

whereas the GroovyScriptEngine is just part of the Groovy stdlib and you can just run files from it super easy

drifting aspen
#

I think it could be even useful for minecraft

#

(For example defining an NPC)

cinder flare
#

yeah idk, I did some gmod stuff a bit ago and was inspired by their usage of Lua for defining a ton of stuff

ocean quartz
#

For configuration?

drifting aspen
ocean quartz
#

How? Why?

pastel imp
#

gradle kotlin dsl is the only acceptable place to use kotlin

drifting aspen
cinder flare
#

shush lol

ocean quartz
drifting aspen
#

defo is

cinder flare
#

my main draw is that it would be a lot more type safe and nicer to, for instance, define new items with an actual programming language rather than a super weird yaml DSL that links to other yaml files but like you won't know until runtime if it worked or anything

ocean quartz
#

Hocon configs > all

drifting aspen
cinder flare
#

configs in a programming language are fucking awesome dude

drifting aspen
#

I just wish lightbend parser did not sort everything alphabetically

cinder flare
#

it's one of my favorite parts of Django and Laravel

#

and certainly not an insignificant reason why I am avoiding Spring lol

ocean quartz
#

Hocon + kotlinx.serialization is so good

drifting aspen
#

I'll probably explore it

cinder flare
#

honestly if I can get some docs on how to actually like easily compile Kotlin scripts, I would be so down

#

groovy is pretty mid, but I was just amazed with the ease of use

drifting aspen
#

I've only used groovy in gradle. It was nice until I learned about kotlin dsl

distant sun
#

Imagine having tab suggestions for configs 😋

cinder flare
ocean quartz
#

Not sure about that

drifting aspen
#

Probably, the real question is whether it's documented

surreal garnet
#

^

cinder flare
#

cause like GroovyScriptEngine does hot reloading, caches the files, and does dependent files and stuff

surreal garnet
#

Yeah

#

Groovy is fun to work with, especially with MC

#

Until you have a 2k+ line file you can't reload 😭

cinder flare
#

jesus christ lol

surreal garnet
#

Yeah

distant sun
#

Thats too specific

surreal garnet
#

Yeah.... sadly

#

Otherwise it's lovely to work with

cinder flare
#

idk i just dream of a world where we had more dynamicism in Minecraft, like imagine if Paper naturally supported Groovy for everything, so you could just have a Groovy file as your config, instead of a shitty yaml file

surreal garnet
#

Lmao

#

Yep

distant sun
#

Well, hocon would be fine too, unless tou can get tab completions for groovy (:

cinder flare
#

I mean Groovy is an actual programming language

#

you can get tab completions, you get imports, you get type safety, everything

#

you could have it like fetch from a url the config or something, and you wouldn't even need to change the plugin at all

surreal garnet
#

Yep

distant sun
#

But... teaching kids to use a programming language to config smth would be a pain LOL

cinder flare
#

idk not really lol

#

if you want to be super basic, you can just return a map of like key to value and it would be very similar to yaml

ocean quartz
#

For the general public definitely would be, some can't even understand yaml
But for for personal projects / team I can see that being nice

surreal garnet
#

Depends on how you structure it, but when the dev of the project I work on, he made it even so Plugins load through it so we can work with those configs in the workspace instead of going directly to the servers.

#

Yea

#

Again, depends on how you structure it.

cinder flare
#

yeah idk you always have to have some tradeoff, yaml has a learning curve too, so telling people to do like a little bit more i feel wouldn't be a big stretch

#

but it would be so much more powerful

distant sun
#

I think I will use hocon for my next plugin you_think_about_that

surreal garnet
#

Yeah

cinder flare
#

moral of the story, catch me rewriting MMOItems and MythicMobs with Groovy as the definition language instead of 10 million untyped yaml files

ocean quartz
#

Tbh when it comes to things like multiple items and stuff like that, just create a code template and throw everything into a csv file and keep it much more organized

cinder flare
#

see that's the thing

#

it's not just metadata

#

the reason MMOItems is so good is that you can have skills attached to various things

surreal garnet
cinder flare
#

so you can basically have code run whenever you left click or right click with an item

#

but annoyingly, the way you do that is by making a separate YAML file in MythicMobs usually with a list of strings that happen to correspond to various actions

surreal garnet
#

Yea fair

cinder flare
#

so there's a huge abstraction layer that's a pain in the ass, and you're extremely limited in what you can do, and it just makes everything extremely unsafe

#

as you don't know if your thing works or not until it runs, and if you have some weird edge case, like doing placeholder math with a division by zero, you won't find out until it happens on the actual server

ocean quartz
#

Very useful

#

We use it for a lot of stuff to keep it organized

distant sun
#

I guess, I never thought about using it shrug

ocean quartz
#

You can link sheets together so if you update one value it updates on others as well, so it stays consistent

cinder flare
ocean quartz
#

A quick example, if I remove a statistic in the statistics sheet, then the quests sheet errors because it no longer has values

cinder flare
#

I do think there's a lot of room for improvement, it just kinda sucks to do it on my own yk lol

#

that just sounds like a database but like worse lol

distant sun
ocean quartz
#

Using excel functions

#

Not worse at all

distant sun
#

No, it is worse lol

potent nest
cinder flare
#

i mean people do weird stuff anyways

ocean quartz
#

How is it worse?

cinder flare
distant sun
#

It sounds like a database, but it is a csv shrug

cinder flare
#

at what point is it like protecting the people from themselves vs giving them the freedom to do anything

potent nest
#

yeah but there's a reason why you give people a config instead of telling them to just change the code

#

and Groovy is just terribly slow

cinder flare
#

yeah exactly and you can just give them a Groovy file that exports a map and that's literally it

#

same as a config

#

I don't really think Groovy is that slow, especially once you have already compiled it

potent nest
#

it is terribly slow

#

it's full of reflections

cinder flare
#

you got benchmarks?

#

i mean yeah it has to be

ocean quartz
potent nest
#

they don't even use dynalink or something else that isn't 20 years old

cinder flare
cinder flare
distant sun
#

IJ lets you edit cells and then commit the changes

cinder flare
#

or like in git with CI?

potent nest
distant sun
#

Anyways, don't get me wrong, I bet it is very useful

cinder flare
#

basically what the code already does, but instead of parsing a yaml file, it is just actual code

ocean quartz
#

You edit, export, and upload to your config repo, you don't sync directly to prod, that'd be a nightmare lol

cinder flare
#

yeah that's kind of what I was thinking lol

potent nest
cinder flare
#

I don't want a REPL lol

#

I want a scripting language

potent nest
#

jshell is more than a REPL

#

the REPL is basically just an example usage

cinder flare
#

the JEP is literally called "The Java Shell (Read-Eval-Print Loop)"

#

and again, I doubt it has like nice hot reloading and caching and stuff

potent nest
#

what do you mean?

cinder flare
#

can I just point it at a File and it'll hot reload when the file changes?

potent nest
#

I don't see how it is less suitable than a terrible language

#

if you build something that works this way, why not

cinder flare
#

because in Groovy I don't have to build something that works that way

#

you make a GroovyScriptEngine and point it at a file and it just works

#

you just get a method handle or whatever back and can run it

cinder flare
#

huh, that looks pretty interesting actually Matt

ocean quartz
#

It's veeery useful

#

And much simpler and less error prone than having to edit a bunch of configs or a giant one

cinder flare
#

yeah looks to be

#

idk I'm just spoiled by dynamic languages and having configuration as code

#

it's just so damn cool to have a config file that returns a map, and you can just do anything, you can fetch from a network, get an environment variable, etc.

potent nest
#

I mean that's cool for power users

#

but for everyone else, it's just pain

cinder flare
#

okay well I'm not making this for everyone else

#

the upsides heavily outweigh the downsides in a lot of complicated plugins like MMOItems and MythicMobs

potent nest
#

depends

cinder flare
#

and obviously they work pretty well in like every game that uses Lua

#

Gmod, Roblox, FiveM, etc.

potent nest
#

e.g. it basically makes it impossible to change the config format and automatically update configs

cinder flare
#

I mean you can just add a line to the exported map

#

it wouldn't really be that hard

#

and just changing the type, it could automatically throw an error when it's out of date and you could just add that option yourself

#

most plugins I use don't automatically update the configs anyways, since it's a pain, loses all your comments, and we have a multi server shared config thing going so I have to update it manually anyways

potent nest
#

but as long as you allow the configuration to be turing complete, you'll first have to solve the halting problem if you want to do proper automatic migration

cinder flare
#

lmao okay

#

i think we have bigger problems if your config file has an infinite loop in it

potent nest
#

you don't need infinite loops for that

cinder flare
#

let me rephrase, if your config file doesn't halt in a few seconds, you have bigger problems

#

and again, i already said that i manually do config updates anyways

#

so having it be type safe and nice to work with would be a massive upgrade

potent nest
#

it's not about how long it takes

#

it's about whether you can keep semantics

potent nest
#

and, what's the upside over a proper API then?

cinder flare
#

huh?

potent nest
#

(because you basically have an API then, and a plugin system lol)

cinder flare
#

what?

potent nest
#

I'm still trying to figure out an upside

cinder flare
#

to having configuration as code?

potent nest
#

yes

cinder flare
#

dynamicism, type safety, and being able to define things as code instead of stringly typed yaml DSL

potent nest
#

well groovy doesn't give you type safety

cinder flare
#

yes it does lol

#

it can have static typing, it can just also have dynamic typing

potent nest
#

yeah the static typing is bugged KEKW

cinder flare
#

not in my experience

#

I had type checking and everything in my IDE typed correctly

potent nest
#

well the last time I used it, I found a bug in the groovy compiler

cinder flare
#

good for you?

potent nest
#

no, that's not good

cinder flare
#

okay well

#

i don't see any other JVM scripting languages so

#

I will still dream of what it would be like to code with actual code rather than a shit ton of yaml

potent nest
#

🌟 API 🌟

cinder flare
#

?

potent nest
#
groovy:000> List l = new HashMap()
ERROR org.codehaus.groovy.runtime.typehandling.GroovyCastException:
Cannot cast object '{}' with class 'java.util.HashMap' to class 'java.util.List' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.util.List(HashMap)
groovy:000> ArrayList l = new HashMap()
===> []

me when groovy type system

drifting aspen
#

Could not find matching constructor for: java.util.List(HashMap)
This sounds very cursed

cinder flare
#

I mean yeah I'm not too attached to Groovy itself, just the concept

#

it just happens that Groovy is the easiest to easily embed and execute files

#

kts looks nice, I just don't have the knowledge to set up a whole thing for it i don't think

prisma wave
#

Dhall fixes this

#

Read it and learn and you will never have such a dispute again

ocean quartz
#

Very true

prisma wave
#

Configuration as code with all of the benefits and none of the issues

cinder flare
#

the reason I want a scripting language is to write actual scripts

half harness
#

:))

prisma wave
#

But don’t worry bro elara scripts will fix this

#

Coming 2028

distant sun
#

Early or late 2028?

cinder flare
silver parcel
#

Inadvertently, I've changed something in my Minecraft server configuration. I'm not sure if it's spigot.yml, paper, or which exact file, but I've altered a file, and now arrows no longer have gravity; they fly straight without falling. Which property have I modified, and from which file?

half harness
#

and what server software? paper?

silver parcel
#

plugins?

half harness
#

do you have anything in your plugins folder?

silver parcel
#

yes

#

there

half harness
#

you'll have to copy the plugins and server config files (ex spigot.yml and stuff) and test yourself
Remove all plugins, see if it works and go from there

silver parcel
#

but i guess its from a yaml

#

like world

#

just a propertie

final scroll
#

wrong chat lol

distant sun
#

A bit late, but if anyone is running a version of git older than 2.40.0, don't forget to update it 🙂
I just got an email from work because they found 2.38.x on my laptop, installed through IJ - I thought it is smth new, but looks like it was fixed in april 🤣
https://github.blog/2023-04-25-git-security-vulnerabilities-announced-4/

A new set of Git releases were published to address a variety of security vulnerabilities. All users are encouraged to upgrade. Take a look at GitHub’s view of the latest round of releases.

steel heart
#

+⭐

#

Bru

flint crow
#

is there a way to parse placeholders in my expansion? for example the %location_distance_20% will return the correct result but for the %location_distance_{player_health}% it seems that it doesnt parse the {} placeholder

wind patio
#

what

flint crow
#

:/ idk how to explain it in dev language

wind patio
#
String full = "%location_distance_{player_health}%";

String inner = // do some magic to parse out the {player_health} inside the 'full';

String innerParsed = PlaceholderAPI.setPlaceholders(...); // parse for inner

// etc.
distant sun
#

Do a setBracketPlaceholders on the input before splitting it and do your things

slate elk
#

dear java gamers

#

whatsup

#

now its a basic question but i want to ask how does it work

crude cloud
#

"it"

slate elk
#

ok

#
   public void addToDropTable(Drop item, int chancefrom0to100toappear) {
        if (droptable.containsKey(item)){
            item.addToDropTable(item.getRandomDropItem(),1);
        }
        droptable.put(item,chancefrom0to100toappear);
    }
#

so i can just

#
   public void addToDropTable(Drop item, int chancefrom0to100toappear) {
        if (droptable.containsKey(item)){
            item.addToDropTable(item.getRandomDropItem(),1);
        }
        droptable.put(item,chancefrom0to100toappear);
    }
#

but it seem like

#

it doesnt change address of object

#

so it does not allow the duplication

#

fuck

#

i was thinking im the 200iq

inner umbra
slate elk
#

i already did new objec instead

#

everytime

#

because even if i modify

#

it wont work

#

well the goal wasnt to duplicate just to clown them

#

but im so brain dead sometimes

drifting aspen
#

Do you guys know any gradle plugin that would automatically push plugin updates to modrinth, hangar, polymart and spigot?

#

And ideally github too

distant sun
#

I doubt you will find anything for spigot. Hangar probably has an api for that and idk ab polymart, they probably do too

drifting aspen
fresh pasture
#

Hi, will HelpChat be doing the annual December giveaways this year? If so, who can I contact to offer some items that could be given away? Sorry in advance if this is the wrong channel (please ping when replying)

crude cloud
#

@ funnycube

pastel imp
#

random question, does DM not have a dev api?

pastel imp
fresh pasture
#

I was able to talk to funnycube via DMs, thanks

obtuse gale
#

I'm trying to get in touch with funnycube about contributing too, but my DM isn't getting delivered to him.

pallid gale
#

My dms are open, so check your privacy settings <o/

obtuse gale
pastel imp
slate elk
#

I feel so good

#

Eh

#

Ocean heals babe

slate elk
#

discord bot without the whole dependecy

#

headache or nah?

#

via mc plugn

potent nest
#

what

slate elk
#

ill write a skeleton and heart beat bot

#

idk whats inside the big dependecny from discord

potent nest
#

you're the big dependency

#

I'm not sure what you're talking about

half harness
#

Which acts like a central discord bot for a mc server

#

But depending on your use case it might be better to include discord api yourself

slate elk
#

i started writing by my self

#

just the skeleton so i dont have to use their big package

#

concept

#
HttpRequest request = HttpRequest.newBuilder().uri(URI.create("https://discord.com/api/v6/channels/" + Long.toUnsignedString(channel.id) + "/messages")).headers("Authorization", "Bot " + DiscordToken , "User-Agent", "SexyFury777", "Content-Type", "application/json").POST(BodyPublishers.ofString(gson.toJson(msg))).build();
                client.sendAsync(request, BodyHandlers.ofString());
#

hm wonderring

#

via that shit

#

can i send pictures

#

nah?

#

right

potent nest
#

just use a library

#

the people who maintain the library know what they're doing, far better than what you'll build

slate elk
#

im like the minimessege guy

#

nah thas not really the reason

#

its just due size of file

#

wont let me uplaod

#

to couple of places

#

i made a skeleton

#

and heartbeat

#

that check for updates on thee cha

#

t

#

gonna test t now

potent nest
#

bruh

#

that's just terrible

#

if file size is a problem, use the spigot library loader feature

slate elk
#

seems like my shit doesnt work

slate elk
potent nest
slate elk
#

lol

#

sec

potent nest
slate elk
#

hm ill see if my shit works first

#

because i just wrote 1000 lines

#

dont want to waste it like that now

wind patio
#

why are you using java for that

slate elk
#

its for my mc server

#

i go for vacation

#

i want to log everything and control remotelly

#

also i want to be let users upload map via command

wind patio
#

JDA fingerguns

slate elk
#

JDA is :O?

#

thiis shit is heavy

#

lol

wind patio
#

exclude opus

slate elk
#

but i dont want make it heavier with libraries

potent nest
wind patio
#

rust = jda

slate elk
#

what he says might be rright

#

ngl ngl

pastel imp
#

exclude opus, lavaplayer might also be included, minimize and you get around 12mb

#

or just use spigot libraries

#

OR even better, user paper plugin loaders

slate elk
#

it worked

#

30kb only

#

on discord

#

;p

#

fully functional bot

half harness
#

or are you using something else

slate elk
#

i coded only skeleton

#

for a discord bot

half harness
#

note that you want to be careful with ratelimits and stuff

#

JDA has ratelimit protection built-in

slate elk
#

ratelimit???

#

for what

half harness
#

discord

#

bots have stricter ratelimits for some stuff

slate elk
#

eh i get updates on bulk via heartbeat

#

task

#

on theard

half harness
#

nono i mean like post requests and that stuff

slate elk
#

its not p2p o something like tha

#

im not really worried about those issues

#

the bot isnt a public bot or sometthing

#

also i used imgbb api

#

to upload pictures

#

from mc to discord

#

via command

inner umbra
#

Been wanting to code my own honestly. Make it modular since JDA is too large.

slate elk
#

yeah size is unreal

#

and sometimes u dont need really all the shit JDA offers

#

i can trim my shit even to 25kb i thinik

#

thinik

wind patio
#

one would argue

slate elk
#

idk i dont need much i get the input and i can retun output what else i need?

#

and pictures i use imgbb api

#

which is really simple

pastel imp
#

reinventing the wheel be like

cerulean ibex
#

D4j >>>

distant sun
slate elk
#

nothing special ngl

slate elk
#

i cant find a clear answer

#

now lets say we have ```java
method(Object . . . name);

#

i cant really find an clear answer

#

ill be glad to get any 😄

cerulean ibex
#

thats varargs

#

basically an array

drifting aspen
#

If you mean method(Object... name), that's what Sparky said

wind patio
#

real

#

(note foo(Object ... args) is also valid)

cerulean ibex
#

valid but looks funky

slate elk
#

thanks

#

ik syntax is not valid

#

but thanks

#

if ts basically an array ill use an array as replacement

wind patio
#

either way if you'll want to use the values you'll have to loop through it

#

the difference is just in method usage

#
foo(1, 2, 3);          
    
bar(new int[]{4, 5, 6}); 

void foo(int... numbers) {
    for (int num : numbers) {
        System.out.print(num + " ");
    }
}

void bar(int[] numbers) {
    for (int num : numbers) {
        System.out.print(num + " ");
    }
}
crude cloud
#

you can also do foo(new int[] {1, 2, 3}) ;0

potent nest
#

yep that's what it compiles to basically, that's why some Java APIs have overloads for specific numbers of elements because performance might suck otherwise

crude cloud
#

overload dn

cerulean ibex
#

and most of the time its for the collection factories which are usually only instantiated once

slate elk
#

k ill use array

cerulean ibex
slate elk
#

i use in an method the foo thing

#

now in othe i was using map

#

of object , object

potent nest
slate elk
#

instead i combaine object into one

#

and use array

#

now

#

i think

#

more comfortable

#

sex

#

all i have to say about the foo featuer

crude cloud
cerulean ibex
#

im not disagreeing with the design decision i just think that saying "performance might suck" is a bit of an overstatement

crude cloud
#

well, it does, but it doesn't

#

It Depends™️

#

can't wait for lazy

#

or I'll just fork the compiler for that peperla

cerulean ibex
#

i mean performance is relative, but i'd say, generally it isn't "suck" bad

potent nest
#

I chose might because it might suck

cerulean ibex
#

fair enough ig

exotic musk
#

Hi. Am looking for best sounds usable for close a gui

#

EXPERIENCE PICK UP still the best one ?

slate elk
#

gonna have big project minecraft camera

#

basically using the sight

#

building picture

#

of what he sees

#

sucks that api didnt provide me even with block colors

#

the draw it

potent nest
#

What

wind patio
#

bro is making minecraft outside minecraft

drifting aspen
slate elk
#

no no

#

i want to use vectors

#

and recreate incode a 3D world

#

to make a blufferd image

#

hell yeah

#

so far i made the sattelite

#
Location location1 = (new Location(player.getWorld(), 1024, 0, 1024));
                Location location2 = (new Location(player.getWorld(), -1024, 0, -1024));
                int minX = Math.min(location1.getBlockX(), location2.getBlockX());
                int maxX = Math.max(location1.getBlockX(), location2.getBlockX());
                int minZ = Math.min(location1.getBlockZ(), location2.getBlockZ());
                int maxZ = Math.max(location1.getBlockZ(), location2.getBlockZ());
                int width = 2048;
                int height = 2048;
                BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
                for (int x = minX; x < maxX; x++) {
                    for (int z = minZ; z < maxZ; z++) {
                        Block block = location1.getWorld().getHighestBlockAt(x, z);
                        Color color = BlockColorUtil.getColorForMaterial(block.getType());
                        image.setRGB(x, z, color.getRGB());
                    }
                }
#

simple conceptt

#

player can request a sattelite view

wind patio
#

cool

#

reinventing the wheel again

slate elk
#

i later redraw it on the map

#

and player can see whats nearby

#

for now i focus on map ceenter

#

i need to add player location towards it

#

and wallah magic

#

anywhere

#

sattelite

slate elk
#

gonna sell it for money now

#

all block colors

slim prairie
#

hello

#

guys how can i add custommodel items in deluxmenu?

wind patio
slim prairie
#

i try this method but item is just paper

slate elk
#

nah i searched surpeme leader

#

no one has ever done it

#

people instead used texturepack

#

and got colors directly from texturepack

#

i did it the hard way

#

Satyrs we dont know deluxo menu i think #general-plugins is the real devolopers chat

#

here we math monkeys and holy people

#

for example im math monkey

#

modii is holy person supreme leader

slim prairie
#

okay

slate elk
#

also this is general chat not support

wind patio
slate elk
#

something like that

#

but i used Rgb

#

not colors

#

so limited

#

but not if if if

#

disgusing

#

map baby

#

quick accses

wind patio
#

one thousand if statements lets go

#

use switch tho

slate elk
#

no if

#

map

#

block is a key

#

material*

#

i always use switches

#

its comfy

#

and u have escape plan all time default

wind patio
slate elk
#

;l

potent nest
#

are you just mapping to the colors shown on a map?

#

or are you doing what e.g. BlueMap is doing for years already?

slate elk
#

wdym nah i mapped all the block,color

#

BlueMap is next gen shit ngl

#

im not good enough to make something like that

#

but i needed simple solution to make sattlelite display

#

and look at results

potent nest
#

not sure what you're trying there with your blufferd image

wind patio
#

he wrote a static map filled with predefined values for block colors

potent nest
#

and, did you consider biomes affecting the color of a block?

wind patio
slate elk
#

nah i forgot

slate elk
wind patio
#

can already compare that to dynmap/bluemap

slate elk
#

nah nah gonna rrelease next update

#

of height

#

difference

#

lkie tree

slate elk
#

dear Modi how r u

wind patio
#

already direct competition to map plugins

slate elk
#

the goal is not really a map plugin

#

i just made it so builders can push map updates

#

towards their group

#

without needing in a special mod

#

the image is later uploaded to imgbb

#

and via discordbot that i made

#

its send to the chatt

#

simple

wind patio
#

or just, you know, set up a map plugin which takes like 5 min if not less

#

im fairly certain that your product will not be able to compete with any of existing ones

slate elk
#

Modi why should we learn other alien technology if we can invent our own

#

thats a joke

#

clearly

#

how ever yeah i dont look a point on forking someone else plugin

#

to function the way i need it

#

maybe my display is worse how ever

#

its a bad sattelite quality

#

made in china

#

not by nasa

wind patio
#

considering the alternatives are free, people are more likely going to go with nasa over made in china quality

slate elk
#

It’s personal project once again

#

To push map updates

#

I always reinvent the wheel

wind patio
#

certified tonyfalk classic

slate elk
#

yes yes

#

i come to germany now

#

in 2 weeks

#

aftter poland and cze

#

looking for best opening line for german chicks

#

any suggestions

agile galleon
#

Certified yapper classic

agile galleon
inner umbra
agile galleon
inner umbra
#

Not really reinventing a wheel... More of recreating one in your own vision.

slate elk
#

i already booked a porcshe to lore them

oblique heath
#

which lore

#

WoW or 40k

slate elk
#

like magnet those german chicks

#

Porsche 718 Cayman GT4

#

good looking car

#

for a week not much too

#

but shit hella expensive when u r under minimum age

#

had to pay 2x more then original price due tha

wind patio
#

$ grep -R -i "askers" / | wc -l

subtle totem
#

gt3rs ftw

slate elk
#

guys guys

#

is there

#

CodeTogether via android?

#

towards pc hosting

wind patio
#

what

ornate nimbus
#

tony is even more silly than @steel heart

slate elk
slate elk
# wind patio what

I was wondering if there is a app on android that allows to connect to my IDE

ornate nimbus
slate elk
#

u dont do any

#

so please stay away from our chat

ornate nimbus
slate elk
#

skripter

#

pah

oblique heath
#

pah

oblique heath
#

wow that's crazy

ornate nimbus
#

Sounds incredibly real

slate elk
#

It’s insane

ornate nimbus
steel heart
ornate nimbus
eager zinc
#

Who can help me i have 20 usd payment

subtle totem
#

yes

nocturne narwhal
#

Yes

wind patio
#

yes

ornate nimbus
#

No

steel heart
obtuse gale
ornate nimbus
steel heart
#

u still owe me that free sub on ur of

ornate nimbus