#help-development

1 messages · Page 913 of 1

flat olive
#

the issue is database space

#

thats why I asked if I had to fr store EACH user

ivory sleet
#

Y2k might be unalived when I say this however all he is saying is just use luckperms

quaint mantle
#

Ok

#

So I am not sure to pr

river oracle
quaint mantle
#

I wanted to expose a #clone method in BlockState

drowsy helm
quaint mantle
drowsy helm
#

wtf do you plan on storing? their whole life or smth

ivory sleet
#

@flat olive

#

Its only a problem w mysql

#

Postgresql etc

#

W mongodb u can scale horizontally

#

So dw about that

quaint mantle
#

It says something about using JUnit 5

#

How do I write a test for a minecraft server?

#

lol

flat olive
#

ah I see

drowsy helm
#

theres a dummy test server lib

flat olive
#

so mongodb is suitable

ivory sleet
#

I mean yeah

flat olive
#

okay I plan on remaking luckperms thanks

ivory sleet
#

Good luck

river oracle
# quaint mantle Yeah, months ago I was accepted

Alr then fork CB and clone CB. Then fork Bukkit and clone Bukkit add your api method in Bukkit run mvn install. Now you need to apply patches run build tools. Redirect applyPatches to decompile latest idk the windows command so you're on your own. Once you are done with that get adding.

flat olive
#

LOL

#

I mean to be honest

drowsy helm
#

I have given up trying to compete with lucko on any plugin genre he makes

#

dude is too talented

river oracle
spare mason
#

What new things Will we be able to do with the nbt changes?

river oracle
ivory sleet
#

I mean there are new tags

river oracle
flat olive
#

making a basic luckperms wouldnt be hard right? its just concept of ranks and storing users and permissions within the ranks, along with a web application using react w nodejs linking up the database allowing you to edit every user in a web app, and making a gui in game to grant and remove ranks

#

my goal is to make a fully custom server, fully custom everything..

river oracle
ivory sleet
#

@spare mason the big thing is that loading them and validating them is done eagerly

spare mason
ivory sleet
#

instead of lazily

drowsy helm
kind hatch
drowsy helm
#

theres many many many layers to that

ivory sleet
#

so its somewhat faster

#

But yes

#

They have their own tags, I believe enchantment glint was added also

spare mason
#

What is glint?

ivory sleet
#

Amongst many other “from now on” built in tags

river oracle
kind hatch
#

Ayo, if you find out how to get a webserver ran through a plugin, please let me know.

spare mason
flat olive
#

alright, whats complicated about luckperms that would be hard to replicate, throw it all at me and ill challenge myself into writing it up with mongodb

river oracle
ivory sleet
flat olive
#

Alrighty, haven't used luck perms in years, my goal is to make a server fully custom coded

#

using a single plugin

ivory sleet
#

Good luck

#

Again

flat olive
#

doing pretty good so far

drowsy helm
flat olive
drowsy helm
#

no

river oracle
drowsy helm
#

one thing breaks, whole server breaks

kind hatch
drowsy helm
#

not to mention maintainability

flat olive
#

dang you're right

kind hatch
#

It's better to separate systems.

flat olive
#

💀

ivory sleet
#

if you were experienced u’d concern urself over many things, and it would take way too much time custom coding everything to ur likings as a subsequence

flat olive
#

I'm more advanced in web development, moving to java from js (spigot) is kinda challenging trying to figure out how things work with minecraft

river oracle
drowsy helm
#

sounds like you're reinventring the wheel aswell

ivory sleet
#

and by inexperience I mean things like, how to design your code, how to maintain it in the long run, how to make it safe from bugs etc

#

Java is harder than JavaScript

#

well, it can be

#

in the case of fully coding a custom plugin

drowsy helm
#

I did the same thing with my first big server. Then realised my code was horrible and refactored 20k lines of code.

ivory sleet
#

It prob is, at least when u start using concurrent classes from java, and other intricate mechanisms

river oracle
# ivory sleet Java is harder than JavaScript

Hard disagree have you seen how many frameworks there are. Not to mention language flavors it's taken them what 10 years to make the language usable. I'd argue java is easier you don't have 200 competing standards for 1 task 🥲

spare mason
#

If its a private server it isnt a bad idea, if the plugin is public is a terrible idea

flat olive
#

JavaScript is pretty hard

drowsy helm
#

eh

#

once you learn the intricacies it's easy

flat olive
#

took me a good 4 months to learn everything but getting into frameworks such as angular and react was a whole new level

spare mason
ivory sleet
#

but like

drowsy helm
#

JS is just inconsistent

ivory sleet
#

The language itself at core

spare mason
#

Is bukkit a framework?

drowsy helm
#

I wouldn't call that hard, just annoying

river oracle
drowsy helm
ivory sleet
#

Node js is a deep swamp to never touch

drowsy helm
#

JS front end is amazing, JS backend is hell on earth

ivory sleet
#

React compiler hits different, doesnt it?

kind hatch
#

npm can go fuck itself.

drowsy helm
#

can easily say JS is the best front-end framework lang to work with

flat olive
#

so anyways what you're saying is, I should try and make all of my plugins separated that way if something breaks then not everything breaks?

river oracle
drowsy helm
ivory sleet
#

Yea

kind hatch
spare mason
drowsy helm
#

the more plugins and features you make, the more refactoring and upkeep you have to do

ivory sleet
#

If its only pure custom for the sake of custom

river oracle
ivory sleet
#

Then it doesnt matter if u split ur jars up or not

flat olive
#

my end goal is to fully develop the server with my own custom code, I dont mind refactoring and updating for bugs and everything I plan on having my server bug tested

drowsy helm
#

to put it simply

ivory sleet
flat olive
#

Hypixel is fully custom isnt it?

drowsy helm
flat olive
river oracle
drowsy helm
#

like 90% but they still use some popular plugins

ivory sleet
#

Independent redeployment

spare mason
kind hatch
ivory sleet
#

Well jars themselves dont rly provide that

#

i mean u have the java module platform system

#

but like

drowsy helm
river oracle
#

The second you look at what hypixel does as a benchmark for yourself is the second you've failed your pornwct :P

ivory sleet
#

Its more just being able to at runtime deploy

drowsy helm
#

whereas apache commons is a lbirary

spare mason
#

Hypixel probably even has a custom server.jar

analog mantle
#

what does this do in the placeholder expansion?

drowsy helm
river oracle
drowsy helm
#

most servers with >1k players have a custom jar

river oracle
#

They're still on a modified 1.7.10

ivory sleet
river oracle
kind hatch
flat olive
#

So.. what do you prefer I do if I wanted to make everything fully custom, my own development

drowsy helm
#

If you are going to do it, brush up on your code structure, test driven development and SOLID principles

#

make sure your code base is solid before growing it

flat olive
#

Okay okay

river oracle
drowsy helm
#

If your foundations aren't good, you're gonna end up rewriting the whole thing

flat olive
#

🤣 I'm sure ill cry

#

I have 3 months deadline till summer

spare mason
river oracle
drowsy helm
river oracle
#

They run a modified fork of spigot

worthy yarrow
spare mason
flat olive
#

Should I purchase a custom jar from builtbybit to keep the server lag-free?

river oracle
#

So no not paper

#

Spigot

spare mason
#

Oh hypixel?

#

Ofc

analog mantle
#

Can someone send the exact tutorial for placeholder api just to make a thing that returns a value based on the identifier

drowsy helm
#

hypixel server jar is probably so far deviated from spigot

wet breach
spare mason
#

They may even have a custom compiler

drowsy helm
#

I imagine they are going to really benefit from this new update with the transfer packets

#

their proxies are the biggest bottleneck

spare mason
drowsy helm
#

but moving all those systems over are another story

flat olive
#

welp this is a whole new world for me but im sure I'll be able to do it 🤣

analog mantle
ivory sleet
drowsy helm
#

effecitvely making bungeecord useless

#

no proxy required

wet breach
spare mason
drowsy helm
#

well no proxy will be needed, so yes

flat olive
#

@ivory sleet will purchasing a custom server jar like from builtbybit or something be good for making the server lag free since all the memory will be going into one singular plugin?

drowsy helm
#

proxies are a major bottleneck network bandwidth wise

wet breach
spare mason
river oracle
river oracle
#

If you're working with 1.8 there are specialized 1.8 forks that may be worth it

drowsy helm
#

custom jars are only useful when you have a big playerbase and each bit of efficiency matters

#

with <1k players it's essentially useless

ivory sleet
#

Ur vision doesnt really match up with ur skillset

#

Balance

#

Without being rude

river oracle
spare mason
flat olive
#

Folia?

wet breach
#

If performance is what you are looking for then you need a completely custom jar built from the ground up. That means removing bukkit and mojangs code and redoing many things and removing anything that you dont need

spare mason
river oracle
# flat olive Folia?

Basically this mad man rewrote large parts of mc to be completely Multithreaded

spare mason
#

Pufferfish or something like that?

river oracle
#

That's about it

river oracle
#

Pufferfish is a paper fork iirc

analog mantle
#

what does the method public String onRequest(OfflinePlayer player, String params) { do? what is params and what is player?

drowsy helm
#

Notchian server is pure shit

spare mason
wet breach
river oracle
#

Folia is still not production ready iirc

flat olive
#

So I don't even need to spend money on a custom jar, I don't even need to remake it.. somebody already made folia.. right where can I purchase a server?

drowsy helm
spare mason
wet breach
#

Mojang is not in the business to give you enterprise level software for free neither is spigot

river oracle
#

And implement the protocol

wet breach
spare mason
#

Ohhh networking, wasnt that like the Vietnam for coders?

river oracle
wet breach
flat olive
#

Rewriting Mojangs code to make a server faster would be incredibly hard..

river oracle
wet breach
drowsy helm
#

Minestom

spare mason
flat olive
#

to be honest the only thing I really wanted to buy a custom jar for was the /tps plugin (because it looks really nice and feels nice) and lag free tnt explosions 🤣

ivory sleet
#

I think its pretty hard to

#

Because you need to consider a lot of design

drowsy helm
#

Correct me if im wrong but we have 0 mojang documentation for packets

river oracle
# wet breach This

I mean for me it'd be hard as I don't have an inate grasp on voxek rendering and networking etc but I'd wager it's probably not too crazy once yoj look into that stuff

wet breach
flat olive
#

is there anything thats not a scam?

wet breach
#

However it is not cheap to have someone make you a custom server

flat olive
#

oh yeah for sure

#

willing to pay $300 or more

ivory sleet
spare mason
ivory sleet
#

These known brands

echo basalt
#

custom is like 15k

#

speaking from experience

flat olive
#

theres no way

spare mason
flat olive
#

thats more than my truck

spare mason
#

People making those are making bank

analog mantle
#

ok wait is this all you need for a placeholder expansion?

echo basalt
#

I know manacube paid anywhere from 20-40k I don't remember the exact figure

#

p much

flat olive
#

would folia be better than a custom jar or nah

ivory sleet
spare mason
wet breach
echo basalt
#

I'm making a minigame network for a spanish studio and I've made like 2.5k last couple weeks

spare mason
wet breach
#

Depends. But at minimum 3 months the one i did took 6 months because it involved automated vms

echo basalt
#

ah automated vms my favorite

#

I'd prob charge 5k for that alone

flat olive
#

automated vms?

spare mason
#

I dont know what it is but It sounds scary

echo basalt
#

basically on demand load balancing type deal

#

if you need more servers it gives you more servers

wet breach
echo basalt
#

It's also nice for deploying updates n shi

flat olive
#

vms in a custom jar???

wet breach
#

No

flat olive
#

bro 💀

echo basalt
#

for example at work we just run a game per world

#

And always have 5 games for each template in the "joinable" state at any given time

#

But at some point the servers are gonna get overloaded

spare mason
#

You guys could even make a branch with all that knowledge

echo basalt
#

I make a living out of this

wet breach
#

Probably but some of us dont have that interest

flat olive
#

What do you guys do for a living though?

echo basalt
#

minecraft poogin

flat olive
#

how many racks yall making a year

river oracle
#

College Sadge

echo basalt
#

uH

wet breach
#

I am a tire technician and i mount and dismount semi tires on trucks and trailers

echo basalt
#

idk how much I made last year but my goal for this year is 50k

spare mason
#

How many years of experience do you guys even have?

echo basalt
#

8

worthy yarrow
wet breach
#

From my work i make anywhere from 60k to 80k a year

spare mason
#

Wtf

river oracle
wet breach
#

From my investments if i pulled them all. Mil plus

echo basalt
#

avg usa job

#

yet I'm still the one buying ppl nitro

spare mason
#

At least in my country that is being a rich man

echo basalt
#

mf

#

yeah ppl in my country make like 10k a year

wet breach
worthy yarrow
river oracle
#

A mil is a good amount in the US too

echo basalt
flat olive
#

my goal was to be like my brother, hes been in web development for a few years and hes making 200,000/year but now im starting to wonder, do I even like web development? I sort of want to branch off into a new experience instead of me having 6 years of web development experience all bc he got me started

river oracle
wet breach
river oracle
spare mason
#

Do you guys think that Minecraft Will be still a good market in the Next years?

river oracle
#

Yes

worthy yarrow
#

odd

echo basalt
#

eh

#

5-10 years sure

#

100? no

worthy yarrow
#

Never knew loans for school got denied

spare mason
#

I want to try to make a living out of this

worthy yarrow
#

Oh wait you can't even apply for one

river oracle
wet breach
river oracle
echo basalt
#

as long as you live in a poor country you'll be fine but the thing is

#

the people making livings out of minecraft are already established devs

wet breach
#

However you can still learn it though. I started from web development

flat olive
#

I wanted to do cybersecurity, but im unsure of what I still want to do

worthy yarrow
spare mason
wet breach
river oracle
#

Good money and different from my hobby

flat olive
#

I'm actually 18 about to go into college. Lost at words for what to do in my life, I find java development crappy (too many errors every second but easily refactorable and fixable) but its fun when you make something out of it and I wonder if I can make a living off of this within this community and as a java developer alone

echo basalt
#

I'm 18 too ¯_(ツ)_/¯

wet breach
#

However know this, if you just want a business you dont need to know anything. You can hire people to take care of that

echo basalt
#

when this industry eventually dies down I'll probably get a network / basic IT job and just chill for a while

worthy yarrow
spare mason
echo basalt
#

programming since 6*

echo basalt
#

the 8 years are professional experience

wet breach
#

I been programming since i was 10

ivory sleet
#

I mean if u find it fun, continue Balance

river oracle
worthy yarrow
#

I started block coding at like 11

echo basalt
#

I couldn't consider 6yo dirt eater code experience

worthy yarrow
#

then java at 13

wet breach
#

When i was 6 there was only them machintoshes lmao

river oracle
#

I never used it before

flat olive
#

@wet breach I swear i've talked to you before somewhere

worthy yarrow
#

I was block coding cuz I didn't even know an ide was a thing

echo basalt
#

I started by making shitty c# bots for a flash game

spare mason
#

Is Minecraft better for solo devs or groups of devs?

echo basalt
#

it depends

spare mason
#

A lot of groups of devs are Rising in the spanish community

echo basalt
#

I find having a team with experience in multiple niches more beneficial than a solo titan dev

river oracle
wet breach
spare mason
#

One made an event where even dream participated

worthy yarrow
river oracle
echo basalt
#

I work for a spanish studio, I don't need to be spanish to work there

flat olive
wet breach
echo basalt
#

Yeah

#

For example my homie's more of a code monkey

#

I kinda despise making menus n shit

#

and custom items

#

I've been enjoying making like

#

highly customizable minigames & infrastructure lately

spare mason
echo basalt
worthy yarrow
echo basalt
#

no im independent for now

flat olive
#

soy hablo espanol, solo un poco.. 🤷‍♂️

rough ibex
#

when do you update your minigame guide thingy

worthy yarrow
#

Haha just saying that cuz of choco

echo basalt
#

when I have the time

flat olive
#

still learning

rough ibex
#

wheres the original anyway

echo basalt
#

github

#

but the original is obsolete by now

#

I've built A LOT of code since then

spare mason
#

Are streamers our Friends or our enemies?

rough ibex
#

I see

echo basalt
#

And the current pace at work is like

#

releasing 2 games a week

#

and a major system in between game releases

#

So for example

#

Game, Party system, Game, Friends system, Game, Guilds system, Game, Pets?

#

idfk

flat olive
worthy yarrow
#

How many team members?

wet breach
# flat olive soy hablo espanol, solo un poco.. 🤷‍♂️

Since you dont know what to do yet. I highly suggest taking some finance courses. Jobs especially like mine are not going to make you rich if that is your goal. But learning finance related things and how to invest in stuff or what you can or should invest into will benefit you now because 2 decades from now it will make you money. And not just talking stocks best to stay away from stocks lol.

echo basalt
wet breach
#

Also learn business too

worthy yarrow
#

Jeez you're single dev with all that work load?

echo basalt
#

Yeah

spare mason
echo basalt
#

I've been doing it for nearly 3 weeks

worthy yarrow
#

Mental deuteriation at all?

#

eh

echo basalt
#

sleeping every other day

worthy yarrow
#

not the correct autocorrect

#

close enough I guess?

echo basalt
#

But we already have like 2 games, cosmetics n shi

#

sunday's update involves releasing a new game, party & friends menus (rn it's really scuffed with commands), localizing the whole network and redoing all VFX and sounds

worthy yarrow
#

vfx sounds like a bitch

echo basalt
#

yeah issa bitch

wet breach
#

However while i could technically retire i suppose right now, you need a job where you have a steady stream of income to make all the other investments work. I have the job i do because its easy and i am guaranteed 40 hours a week and i dont always work 40 hours lol.

spare mason
#

Do you guys think that players should download stuff?

worthy yarrow
#

ms paint? :p

echo basalt
#

sure buddy

flat olive
# wet breach Since you dont know what to do yet. I highly suggest taking some finance courses...

Dave Ramsey speech 🤣 No but you are right man, I'm going to take a business major in college soon and take computer science as a second, to be honest id love to own a business without wanting to get full depth into a programming job because a business typically can scale and earn way more than a salary for a developer. However, it's also just as hard as businesses fail, code fails but you can always reinovate just as you can a business. My thought process so far is that, technology is the future, so I find it best to focus my efforts near online businesses, or even programming..

worthy yarrow
# echo basalt sure buddy

Only reason I said that is because there is a show I really like on yt called "the big lez show" and it was all animated on ms paint

rough ibex
worthy yarrow
#

s3 really really made me question if it was ms paint or not

spare mason
rough ibex
#

sure if it's needed

#

resource packs can really make a game stand out

#

you can do a lot with them if you know how to wrestle with them.

worthy yarrow
#

^

#

txp are a bitch with all the pathings

echo basalt
#

resourcepacks my beloved

#

fuckin pain in the ass

spare mason
#

But why

echo basalt
#

had to make a blocks.json file to let it know to read folders

rough ibex
#

atlas likely

echo basalt
#

yuh

rough ibex
#

sort of a necessary evil

spare mason
#

We already can even make models out of block displays

rough ibex
#

helps a ton with loading times

wet breach
#

I have an easy job with an employer that cares about its employees and have all kinds benefits and i have money when i need it

#

I am basically set. But it took me like 10 years to accomplish all this

flat olive
#

man...

#

thats the life I want to live

wet breach
#

You have that ability just got to learn to do it

worthy yarrow
# flat olive Dave Ramsey speech 🤣 No but you are right man, I'm going to take a business maj...

I'll put my 2 cents in but my father has worked in finance for the past 25 years and every job he has held except for a stock broker, he has absolutely hated. I assume it's better when you're not at a manager level but when it comes to dealing with these people alot of them genuinely need their hand held through the whole process. It becomes a pain after a long time of dealing with it I've heard :p.

flat olive
#

True, I bet

wet breach
#

And despite hating finance i am sure they recommend still learning it

worthy yarrow
#

Even when you're not needing to manage people, the workload that comes down for departments in most banks is abysmal...

worthy yarrow
#

It's a needed knowledge base for sure

wet breach
#

Finance and debt is what makes the world work

spare mason
#

When do i learn that on high school ._.

worthy yarrow
#

And the better you know it, the better you can exploit it

wet breach
#

Why exclude yourself from the world you know?

wet breach
#

There is all kind of potential and free money out that

worthy yarrow
wet breach
#

So that property i have in cali. I convinced the state the give me a grant to remove trees

#

It cost me nothing to beutify the property

#

The state paid for it

flat olive
#

Oh yeah, im learning finance in money skills in 12th rn

#

have been the whole year

#

an entire course of dave ramsey

worthy yarrow
#

property value + 15-30k - nothing because frost is cool

flat olive
#

its very... not too too helpful

#

if im going to be honest

#

"get into stocks" " save $500 emergency funds"

#

"invest into stocks now!!"

wet breach
worthy yarrow
#

oh wait

#

cali

wet breach
#

23acres

worthy yarrow
#

oh

#

and that

#

Damn let me build an a frame on an acre

wet breach
#

We bought the propert for like 380k

#

Right now property value from the adjuster is now at like 600k and some odd change

flat olive
#

wow

rough ibex
#

380k for 23 acres?

wet breach
#

We have had the property for like 5 years now

rough ibex
#

am I reading that right

flat olive
#

investing into reselling land might make you rich in years 😮

wet breach
worthy yarrow
#

Sounds like that property was bought 40 years ago

flat olive
#

the only real way of a shortcut in life ive found is "arbitrage"

wet breach
#

The funny part is we own the mineral rights and part of getting that grant we had to test the soil quality

#

The quality is 100/100 in cali

#

I could literally sell dirt

rough ibex
#

sitting on a gold dirt mine

worthy yarrow
#

How is it only estimated at 600k?

flat olive
#

a way to make a lot of money is buy land that has oil deep within it and start farming the oil and selling it to gas stations

wet breach
#

So the more things i do to make the area look good, paving the road we own etc

eternal oxide
worthy yarrow
rough ibex
#

or only to some depth

wet breach
#

Increases its value. However the adjuster has limits on high each year to adjust value

#

So the doubling of value took 5 years to happen

#

It didnt happen in a single year

rough ibex
#

still that's an insane return rate

#

once you consider it

#

(I think anyway.)

wet breach
worthy yarrow
#

That's extremely good profit

wet breach
#

Baren land gives you more freedom

#

And you start from a lower value

#

From the governments perspective

#

So if the value is low and the seller sells low

#

You can make money in 5-10years

#

Now the other problem of the equation though is location and who would want to buy it

worthy yarrow
#

Maybe if you put a good house on it lol

wet breach
#

Cant just buy property in the middle of no where with little to no services nearby and expect someone wanting to buy that property for a high value lol

analog mantle
#

I'm 2/3 the way done with my plugin

worthy yarrow
analog mantle
#

after only 2 days with absolutely zilch prior plugin experience. Is that good time?

wet breach
#

Yeah but you can take loans on the property to build a house yourself

#

So better to look for some empty lot

#

Closer to civilization lmao

worthy yarrow
#

You have 23 acres to do so

wet breach
#

My property ironically is in the mountains

analog mantle
#

Hey, sorry to be that guy, but do you mind moving to a different channel?

wet breach
#

Its elevation is 3,500ft

worthy yarrow
#

well I think on that note I'll just go to bed

wet breach
#

Lol

worthy yarrow
#

Anyways good discussion frost haha

ornate heart
flat olive
eternal oxide
#

I have yet to see a "Good" Spigot fork.

analog mantle
flat olive
rough ibex
#

is spigot not enough for you

eternal oxide
#

Why do you want a fork?

rough ibex
#

fork doesn't automatically mean good...

analog mantle
# ornate heart What kind of plugin is it. What does it do

You get (configurable) 2 base danger, when you kill a player you get (configurable) 50% of their danger, if you kill a player with less then (configurable) 25% of your danger, you get punished and receive (configurable) negative effects. Every (configurable) 300 seconds, the top (configurable) 3 players with the highest danger coordinates get sent in chat.

flat olive
#

I want almost pure lagless server

#

with 1,000+ concurrent users on it

#

thats why

eternal oxide
#

Its also not a good idea asking for a recomended fork IN the Spigot discord.

analog mantle
#

All of the players who join the server's danger is saved to a json file containing their UUID and their danger level.

#

this is what the classpath looks like

rough ibex
#

I see that UnusedCode

analog mantle
#

ok

#

guys I got exposed

wet breach
# worthy yarrow Anyways good discussion frost haha

Certainly. I am all for encouraging people to learn and make money. Everyone has the ability. You just just have to want it and willing to put work in for it. There is no such thing as easy money. Its taken me 15 years to build what i have and going. I been working since i was 11.

spare mason
wet breach
spare mason
wet breach
#

The problem is not learning or lack of people to teach

wet breach
spare mason
eternal oxide
#

If you live in a low income country your cost of living is also proportional. You are at an advantage when it comes to e-eCommerce.

spare mason
#

That is what most people here gain

wet breach
#

Sure but my salary was nothing at the time when i was in cali

spare mason
#

Food here isnt cheap

eternal oxide
#

Of course you are. It costs you less to live (day to day), where you can still charge teh same as everyone around the world for your services.

spare mason
#

Meat mostly is expensive

wet breach
#

You dont need meat everyday

#

Not even every month

spare mason
#

I know

wet breach
#

You need to learn what meals you can make that last

#

And i do know whats it like to not have food. My diet was top ramen and potatoes

#

For quite a bit of time

eternal oxide
#

My diet (at 21) was stolen milk, bread and eggs.

wet breach
#

I started from being poor and having nothing. And elgar is right. Having nothing is an advantage

#

You are not tied to a place or anything

#

Also you cant go lower then having nothing lol can only go up from there

#

What you have to learn is how to effectively manage and stretch the money you earn. It will take time

eternal oxide
#

NO fast food. No going out with friends. Money on essentials only. First few years will pay off.

wet breach
#

Exactly

#

Does it suck? Absolutely

rough ibex
#

Well, you can go lower

#

but not as much

#

the stakes aren't as high as you have less to lose

wet breach
#

But as long as you work hard to getting better pay or moving to a new area. It is only temporary for the suck

eternal oxide
#

Work hard. Save every penny, and don;t go for get rich quick schemes.

spare mason
#

Does the nbt tag change allows to directly modify damage from weapons?

eternal oxide
#

weapon damage is not in NBT, only bonuses/multipliers

wet breach
#

From the api i believe have to modify attributes. If using nms yeah can just directly modify nbt

#

Or is there an attribute thing in nms?

spare mason
#

Then what is the way to do a weapon with custom damage?

wet breach
#

As i said. From the api you use atteibutes

quaint mantle
#

I added the method to BlockState

quaint mantle
#

Both in Bukkit and CraftBukkit

#

How can I test it myself if it works?

#

How do I compile this CraftBukkit?

wet breach
#

Hit compile?

quaint mantle
#

Package?

eternal oxide
#

There is a walk though of how to build it

#

?contributing

#

?contribute

wet breach
#

Well you dont need to make patches until its ready

eternal oxide
#

Second link

wet breach
#

But you can compile what you have for youself

#

The patches are needed because that is what is used to officially distribute changes

quaint mantle
#

I mean

wet breach
#

For everyone else and submitting prs

quaint mantle
#

I cannot do maven package

#

It cannot find some stuff in CraftBukkit

quaint mantle
wet breach
#

Yeah build bukkit, then cb

quaint mantle
#

ok

wet breach
#

You need to use install goal for bukkit

quaint mantle
#

When you mean build, it's maven package right?

quaint mantle
wet breach
#

Cb you can use package

quaint mantle
#

Yeah

#

I did it in the same order

#

It just cannot find some methods

wet breach
#

If its erroring probably need to refresh or clear caches

#

I typically dont have this problem on netbeans lol

#

Except on rare occasion refreshing maven on a super large project

quaint mantle
#

there's no generation attribute in EntityVillager

#

I used BuildTools

wet breach
#

It might be inherited from somewhere? Not sure what it is you are doing lol

#

Or you might need to include a class from the minecraft jar

quaint mantle
#

I just changed the CraftBlockState class

#

Nothing else

wet breach
#

Have you tried restarting ide? Lol make sure to save first

quaint mantle
#

I downloaded Bukkit, then CraftBukkit

wet breach
#

Then idk. As i said i dont typically have the problem you do right now

quaint mantle
#

Then I downloaded latest 1.20.4 build in a separate folder

#

Then I added BlockState#copy in Bukkit

#

Then the implementation in CraftBlockState in CraftBukkit

#

That's all I did

#

Nothing less or more

wet breach
#

Yeah i get that, just it seems its your ide that is the problem. The source you get from BT is compilable

#

I manually compile all the time

analog mantle
#

How can I add an NBT tag to an itemstack?

quaint mantle
#

Is not it something because of remapped mojang?

#

Or decompiling stuff?

#

I am really lost on this

wet breach
#

Dont think remapped would be the issue but i guess worth looking into

#

Cause that could be possible

quaint mantle
#

?contribute

analog mantle
#

will ItemMeta ever be null on an item?

eternal oxide
#

Air

ornate heart
#

is it possible to replicate the villager trading menu

#

nvm i found a resource

quaint mantle
#

How can I get my PR Id?

remote swallow
#

Create the pr and update it after

analog mantle
#

How can I make the player drop an item in their inventory?

zealous osprey
inner mulch
#

Instead of having 4 lines he uses 1

umbral ridge
#

hey

#

whats the uh color symbol that gets changed from & to ...? I don't know how to type it

eternal night
#

§

umbral ridge
#

thanks

drowsy helm
#

is paypal the only wya to pay for a premium plugin?

summer gale
#

I just started using github in intellij idea and i created a repository using the VCS function but when i select push this appears. Also when i am creating the repository it isnt appearing in the github website
Image

wet breach
#

in case you need to search for it again, it is also 0021 for alt code on windows

drowsy helm
#

sweet

wet breach
#

well I guess not, as you could technically work something out with the author

#

and the author manually add you after that

drowsy helm
#

that makes my life a million times easier

wet breach
#

but you wouldn't have the same protections though

drowsy helm
#

Yeah, I'm not selling, want to make a verification system

umbral ridge
valid burrow
#

frosted elf 🧊 🧝

halcyon hemlock
#

it created a local repo

pallid oxide
summer gale
#

Thanks

quaint mantle
#

?contribute

drowsy helm
#

Is there any way to discriminate a server through some sort of footprint? I want an ID of some sort which cannot be editted by the server owner and is unique to each machine

#

Ig i could use mac?

old cloud
#

MAC can be changed

ivory sleet
#

Like mac spoofing?

drowsy helm
#

I think it's my only option at making some sort of footprint for a server

tender shard
#

spigot used to have a server id in the api but it's gone

old cloud
tender shard
ivory sleet
#

oo

#

thats scary

tender shard
#

it was deprecated in 1.13 and removed in 1.14

drowsy helm
#

ah man why

#

that would be perfect

ivory sleet
#

But yea

tender shard
#

tbf it was just a string in server.properties

#

so to recreate that, just throw UUID.randomUuid() into a file if not exists, or read the existing file, and you have the same effect

ivory sleet
#

Ah

#

thats goofy

drowsy helm
#

im gonna do a server ID + public ip

#

so machine locked

wet breach
old cloud
wet breach
#

it depends

#

hardware is able to identify when a mac is spoofed

#

but, macs are not important though

#

they are only necessary to communicate to the next device and nothing more

old cloud
#

Yeah

eternal night
#

not that that matters much, your point of failure here isn't going to be someone spoofing their mac addresss kekwhyper they just decompile the plugin and fuck around in there

drowsy helm
#

If they're going to spoof the mac, they can decompile the plugin atp

#

they've earned it

ivory sleet
#

not sure how susceptible we’re to mac spoofing, like to what degree software and hardware implements mac filtering

old cloud
#

Yeah, as Long as you can change the software you cant really do a solid verification

wet breach
#

well macs are not used for verification anyways

ivory sleet
#

Yup true

#

i mean they shouldn’t be in most cases

drowsy helm
#

is it a bad idea?

#

not really sure of any other approaches i could use

wet breach
# drowsy helm why's that the case?

because first off there is no guarantee any two hardwares have unique macs, thus there is backup of spoofing the hardware mac in such instances. Mac address are for the purpose of identifying network devices on the network before they have been assigned an address

#

otherwise how else would you communicate with such things

#

once a packet moves beyond one device, the previous device is forgotten about including the mac

#

its not preserved

old cloud
drowsy helm
#

Just trying out a proof of concept, making an api to keep track of whether a server has a valid premium plugin license

#

I will host a validation server which holds all copies of licenses, and whether a server has the valid license to run the plugin

old cloud
#

Maybe You could use asymmetric keys Like its used for ssh verification

old cloud
drowsy helm
#

I want the client side to be opensource so can't have any keys

#

yeah, atp my philosphy is if they are decompiling the plugin or spoofing mac, they are gonna get verification either way

#

this is just to stop things like random people sharing plugin jars

#

not so much people with more knowledge

#

My idea is send the plugin's token + server footprint/id to the verification server, which then matches to db and returns accordingly

#

then on my api server side the plugin user and keep track of their licenses, add and remove servers. and plugin devs can add their plugins, set max amount of servers it can be used on, etc etc

old cloud
#

Pretty sure Asymmetric keys would do the thing

drowsy helm
#

Funny enough i learnt about that in my bach last year, and have completely forgot how they work

#

time to do some homework again

wet breach
#

and check for integrity

old cloud
drowsy helm
#

I want this to be a public api

wet breach
#

ironically, the JDK alerts users when a signed jar was tampered with

drowsy helm
#

jar signing works, but each dev has to implement it on their own accord

wet breach
#

if its an api I don't see the issue you are having

drowsy helm
#

My approach uses like 3 lines on the plugin side, and everything will be trackable through the ui for devs

#

my issue is trying to make a footprint for each unique server that can't be tampered with

#

right now it looks like mac addr is my only way

#

or possibly asym keys

tender shard
#

signing .jars also wouldnt work with paid plugins on spigotmc

old cloud
#

I mean if you share the key its still possible to copy right

drowsy helm
#

thats why i want a unique id for each server

#

that can't be changed

#

if I use a key, there a posibility of copying it, if it's a footprint, that inherently cant be shared

old cloud
#

Who says you cant share the id

drowsy helm
#

well It's not stored anywhere if it's a footprint

#

I wanna stress the word footprint and not id

old cloud
#

Yeah but you can still modify Everything to bypass

drowsy helm
#

if it's a combination of things like mac, pub ip and some other shit then they surely can't have the same between two machines

drowsy helm
drowsy helm
#

so I feel theres no point trying to avoid that

old cloud
drowsy helm
#

the average server owner doesn't know how to do that

rare pike
#
        boolean hasMending = inventory.getItemInMainHand().containsEnchantment(Enchantment.MENDING);
player.giveExp(event.getExpToDrop(), hasMending);

Is the code wrong? When an item has a mending enchantment, its durability does not increase

old cloud
#

Then they dont know how to use google

tender shard
#

don't underestimate the stupidity of the average server owner. there's a reason why all my plugins show this screen when double clicking the .jar

drowsy helm
old cloud
#

Right

drowsy helm
#

scroll through #help-server for a minute and my point is proven LOL

drowsy helm
#

Anways, I've already thought of a genius name for this product

#

Paemi

orchid hinge
#

nice what you making?

orchid hinge
#

nice, making it for public use?

drowsy helm
#

If it doesn't prove to be logistically stupid, sure

old cloud
#

How you wanna whitelist a id consisting of MAC and IP for your API btw ? @drowsy helm

drowsy helm
#

It's more of a portfolio project to fuck around with my server

orchid hinge
drowsy helm
#

was just usin the noggin so far

tender shard
#

I just randomly found this while looking through oshi

#

(which is included in spigot btw)

drowsy helm
#

Can i kiss u alex

orchid hinge
#

couldnt you just: get the server ip, throw it through a scramble algorithm thingy, store it in a database and use that?

tender shard
# drowsy helm Can i kiss u alex

ofc this "ComputerID" class is not included, but all the things it uses to generate the ID should be part of spigot's included version of oshi

drowsy helm
#

oh they just use sysinfo

#

ezpz

tender shard
old cloud
#

I still dont get how you wanna verify something of which you dont know that it exists

#

Or do you ask the server owner to send you their server id so you can add it to your api Server

drowsy helm
#

and boom

#

verified

#

then next load server asks api server if its verified, if it is, do not disabled plugin

vocal cloud
#

What happens if they have a dev server and a live server? The issue with this kinda thing is in theory it's sound but when put into practice there is just too many edge cases

old cloud
drowsy helm
#

plugin dev can chose how many servers can be used per license

vocal cloud
drowsy helm
#

hmm

eternal oxide
#

Servers stealing the plugin will just redirect your DNS or hack the jar

vocal cloud
#

Which means each dev will have their digital footprint documented? I don't know but that's a privacy policy nightmare imo

orchid hinge
#

so many edge cases xD

#

have fun lol

drowsy helm
#

I thought this up while eating my dinner at work, cut some slack LOL

orchid hinge
#

thats how i get most my ideas, while eating

drowsy helm
#

still gonna give it a crack for fun

orchid hinge
#

thats hwo you learn

tender shard
#

with "dinner", do you mean the spider you killed earlier?

eternal oxide
#

be sure you are not just sending some OK response to their authentication

drowsy helm
orchid hinge
#

lol

tender shard
#

fancy :3

vocal cloud
#

imo it'd be better to hand out license keys and then just detect if multiple servers with > 30 players are using it.

drowsy helm
vocal cloud
eternal oxide
#

If you give the same response they just host a fake web server and respond

drowsy helm
vocal cloud
#

Not to mention that everyone who uses the API would also have to do the same

wet breach
drowsy helm
#

i don't think theres any measures you can realistically do with a spigot plugin to fully prevent it

wet breach
#

if in the US, you don't need a privacy policy unless you collect PII

drowsy helm
#

I want to try and make it as easy as possible for all parties involved

wet breach
#

digital footprint does not count as PII

#

unless it contains stuff that is considered such things of course

drowsy helm
#

All i would have is server ip's, and probs spigot 2FA

eternal oxide
#

IP's in teh EU are classed as personal info 😦

drowsy helm
#

oh really?

#

dang

wet breach
#

but not in the US

#

in fact, no other country except the EU classifies it as such

orchid hinge
drowsy helm
#

Would a disclaimer saying that I'm storing ip's wave that? not really sure how it works legally

wet breach
#

weirdly even though IP's can be reassigned at will

eternal oxide
drowsy helm
orchid hinge
#

then use those

wet breach
river oracle
#

IPs are classed as personal info wtf???

#

what is the EU on

orchid hinge
#

crack

eternal oxide
#

I just know there were some stupid judgements classing IP as personal (but not identifying) info.

orchid hinge
drowsy helm
#

this is what I was thinking

tender shard
#

IPs are not "personal info" but "personally identifiable information"

eternal oxide
#

EU needs putting down.

drowsy helm
#

they go to the link, verify server then never have to think about it again

wet breach
orchid hinge
#

thats true

wet breach
#

unless everyone is using static ip's

#

which they are not

tender shard
wet breach
#

even then

#

still couldn't identify someone with an ip

#

how would you know that one ip belongs to someone and that it didn't get reassigned to someone else?

river oracle
#

The only way you can identify a person with an IP is if you asked the ISP in which they won't hand that out to non law enforcement agencies I'd assume

tender shard
#

well you also can't identify someone with their physical address. still it's obviously related to identifying a person

wet breach
river oracle
#

atleast in the US its pretty damn easy too

orchid hinge
tender shard
wet breach
#

the only way an ISP can know who had a particular IP at a given time is you have to be specific in your request for day and time

river oracle
#

for a house like mine just go pull some government documents

#

grab the most recent one wallah

#

this can't be done with an IP

tender shard
#

even if there's only 2 people living in that house, you cannot 100% identify who exactly is meant if you only have the address

wet breach
#

never have been and never will be

#

if I want to know who owns a lot two blocks away, I can just look that up

tender shard
#

yeah well but they're here, that's all I'm saying. I didnt make these laws or decisions

drowsy helm
wet breach
#

if I want to know who lives two doors away, I can also look that up too

orchid hinge
drowsy helm
river oracle
#

making a resource page is painful

#

I regret coding a plugin

orchid hinge
#

good thing it was your idea

vocal cloud
#

Of course someone will then figure out a way to break the core logic and then all the plugins with this DRM will be null and void.

lost matrix
orchid hinge
#

holy mother of god how did you manage that that's awesome

drowsy helm
#

Someone stop this man

orchid hinge
lost matrix
worldly ingot
#

Display entities :p

lost matrix
#

^

orchid hinge
#

oh yeah i forgot about those

worthy yarrow
#

Also smile is just good coder

orchid hinge
#

im not

#

my code works of hopes and dreams

worthy yarrow
#

Same

orchid hinge
#

is that minecraft?

#

please tell me it isnt

icy beacon
#

Pretty much yeah

orchid hinge
#

holy

icy beacon
#

This image was in reference to "hopes and dreams"

#

The name of the soundtrack playing when you fight this dude Asriel Dreemurr in Undertale

#

Ofc this isn't minecraft lol

orchid hinge
#

i dont play undertale

icy beacon
#

Kk

undone summit
austere cove
#

Undertale is goated

#

Ive been holding off on deltarune cos i kinda wanna just experience the full game at once and inject it into my veins

#

Dunno if it can live up to undertale's hype tho

rough ibex
#

It doesn't but it's not trying to be

floral field
#

how to make plugins which run all versions??

#

single .jar in all versions

worldly ingot
#

If you're using the API you're probably already accomplishing that for the most part

#

My public plugins don't need updates to support new versions when they're released :p

chrome beacon
#

then depending on what version the server is running you can load other classes and listeners

proper lily
#

I need a Minecraft Plugin Developer. please DM (german if possible)

orchid hinge
#

why german

proper lily
#

bc i am german

icy beacon
#

?services

undone axleBOT
worldly ingot
#

If you need explaining then you're probably already fine :p

#

If any of your imports contain net.minecraft or org.bukkit.craftbukkit, you're using version-dependent code. Otherwise you're in the clear

floral field
#

okay so my plugins can work normally in other versions also right??

river oracle
twin venture
pulsar parcel
#

Is there any packet, that would be able to move player from one position to another smoothly with walk animation played?

shadow night
pulsar parcel
quaint mantle
#

Hi , if i want sell minecraft plugin with paypal , can i withdraw from spigot every time that i want ?

tender shard
#

it directly goes to your paypal

icy beacon
#

the resulting jar has 0 of my classes

quaint mantle
remote swallow
#

what

tender shard
icy beacon
#

i deleted all traces of maven and regenned .idea

#

still does not help

remote swallow
#

remove this

icy beacon
#

i was not using this initially

#

i added this to see if it'd help

tender shard
icy beacon
#

kk i'll try removing ig

#

kotlin

quaint mantle
tender shard
#

you only have the java plugin

#

you need the kotlin plugin

remote swallow
#

the selling is between you and the buyer not spigot and the buyer

tender shard
icy beacon
#

yeah 1 sec i'm compiling with kotlin plugin rn

quaint mantle
tender shard
#

no

quaint mantle
#

like use another website or resource ?

icy beacon
#

alex you have saved me from destroying a monitor

#

i owe you a firstborn 🙏

alpine urchin
#

to mine

#

:)

tender shard
#

you can keep it

icy beacon
#

i thought you were down for this still

alpine urchin
#

im an orphane, its not funny

icy beacon
#

i will steal you

mighty gazelle
#

How can I completly Invisible the players for one player?

dusk oasis
#

Any minecraft programmer in here looking for work let me know!

rough ibex
#

?services

undone axleBOT
orchid hinge
#

?gui

dusk oasis
#

?services

undone axleBOT
analog mantle
#

how can i make the player drop an item in their inventory

worldly ingot
#

Kind of have to fake it. You can

  1. Remove the item in their current slot
  2. Drop the item in the world and give it some velocity in the direction of the player
  3. Play the hand swing animation
analog mantle
#

that seems sketch

#

it may cause duplication bugs

worldly ingot
#

How do you think Minecraft drops items? :p

#

To be certain, if the item doesn't get removed, don't drop the item

analog mantle
#

does player.dropItem(true); do the same thing?

#

(ik it only does main hand)

worldly ingot
#

Does that exist? lol

analog mantle
#

yes but i need to drop their armor

worldly ingot
#

Oh it does exist. TIL

#

Yeah probably. I can check if you'd like

analog mantle
#

please

worldly ingot
#

Looking over NMS's implementation, yes, this is pretty much what it does

#

I see a World#addEntity() call, a swing(main hand) call, and a setItemInHand() call

analog mantle
#

ok sounds good then

#

Man i hate my CS teacher for making us use (Math.random() * 50) + 10 instead of just new Random().nextInt(50);

worldly ingot
#

Well, keep an instance of random somewhere because new Random() isn't necessarily a cheap operation

analog mantle
#

guess what

worldly ingot
#

That works :p

analog mantle
#

that's Math.random()

worldly ingot
#

Yeah, it's just getting you a double each time is all

analog mantle
#

yea

worldly ingot
#

But that random instance is stored

#

It's not re-created

analog mantle
#

our programs are max like 60 lines

tardy delta
#

lazily initialized as the classloader loads that inner class