#help-development

1 messages · Page 21 of 1

noble lantern
#

so its fully on extensive as hell

echo basalt
#

that goofy ahh audio at the back

modest tartan
noble lantern
#

i have youtube on auto play

modest tartan
#

My dudes we're back!

#

lol

noble lantern
modest tartan
#

nothing

#

I made that hashmap private like you said

#

I've been looking around

#

I'll look more but if you want any code lmk

#

Cuz I'm lost and new to this, still trying

echo basalt
#

I'll reuse it across projects so I don't care to share

#

I could later use FastUtil and change a bunch of stuff to Short2ObjectMap

noble lantern
#

i wonder if im able to make use of this

echo basalt
#

You can mess around with it

noble lantern
#

Plugin im making basically allows NPC's to live around in the world and act as players and such

Not sure if fake blocks can incorporate in somehow hm

noble lantern
echo basalt
#
FakeBlockTracker tracker = new FakeBlockTracker(myPlugin); // make sure to only have 1 instance and share it around

FakeBlock block = tracker.getOrCreate(location);
block.setType(player, Material.BEDROCK);
block.updateIndividually(player);
#

you can use it for doors and whatever

noble lantern
#

oo

#

theres gonna be relashions with tribes so maybe

#

if a player has a bad relashion ill render doors on the houses

echo basalt
#

render barrier doors

#

so they can't join

noble lantern
#

yeah barriers seem nicer

echo basalt
#

maybe put a red particle on the middle of the barrier block too

noble lantern
#

or just old runscape style

#

where you just watch someone walk through a wall you cant go through xD

echo basalt
#

I mean

#

that will probably happen lol

noble lantern
#

but barriers sound nicer as i dont rly like that

#

plus.. chances of player making to said door with bad relashion is low

#

just need the movement and interaction for npc all layed out and i can actually start doing fun stuff

echo basalt
#

my stupid ass would probably just use citizen npcs

#

and hide the npcs from players

#

instead of reinventing the wheel but clientside

#

as the npcs already tick and all

#

they just won't happen to exist for certain people

noble lantern
#

but

#

they make players move with velocity....

#

however i did talk to fullwall about adding packet based npcs yesterday

echo basalt
#

I don't care how they work

#

as long as they work

noble lantern
#

it fucks up pathfinding

#

and performance

#

ill need likely over 100+ npcs running around independently in the world

echo basalt
#

I'm still waiting for the day where we make minecraft-server specific hardware to tackle these problems

noble lantern
#

ikr

#

give me 200 core machines

modest garnet
#

ive just had someone message me from mc market asking me to develop a MCC Tourney plugin

what would you guys charge for all of it

echo basalt
#

imagine if hypixel partnered up with AMD or something

#

and made hardware-optimized scoreboards and chunks

echo basalt
#

because minigames are a pain to write

quaint mantle
#

How can i detect if a player slot if empty/has x item

noble lantern
#

Player#getInventory#getSlot(int)

#

illusion

#

ive always wondered

modest garnet
noble lantern
#

what the point of # in method referances for docs 🤔

echo basalt
#

. indicates it's a static method

noble lantern
#

ah

noble lantern
echo basalt
#

idfk how I learned it, just happened to click eventually

#

I mean for work I usually just make an hour estimate of each part

#

and multiply that by like 20-35 depending on how shitty I'm feeling

#

and add like another 10% on top for unexpected stuff and that's my quote

noble lantern
#

respectable ngl

echo basalt
#

then I eventually get a reply saying "That's a little much, can you do 3$/hr?"

noble lantern
#

LOL

echo basalt
#

I've applied for noxcrew like 4 times

#

no response

eternal oxide
#

Professionally, 20 years back I charged £70 an hour. These days for plugins 30 sounds reasonable.

noble lantern
#

i mean

#

he did make one of the first permission managers

#

GroupManager

#

i think

echo basalt
#

I wasn't even an thought 20 years ago

eternal oxide
#

It was Y2K back then so Big bucks to rewrite Cobol programs.

noble lantern
#

they legit deadass reached out to you on mc market?

echo basalt
#

no some fanboy did

noble lantern
#

Yeah i dont think nox would randomly dm mcm people

#

unless you made like a thread saying your offering services maybe

modest garnet
#

someone looking for the plugin

#

like that

noble lantern
#

OHHHH

#

well i mean, its multiple plugins there

echo basalt
#

I'd charge like 400$ for dodgebolt

noble lantern
#

same for hole in wall

#

maybe a little more

#

wait

#

nah 100 ill use ur fake block lib

echo basalt
#

but then again I have like 5-6 years of experience and can probably make it in a weekend

noble lantern
echo basalt
#

client-sided arena where you stand on fake blocks

noble lantern
#

most of those can be made rly quickly but if theyre just a one time use thing in a controlled environment

echo basalt
#

then hide players and entities from eachother

#

like I'm doing with zombies

noble lantern
#

but if theyre gonna be public plugins oof

echo basalt
#

and then I won't have to worry about world management

noble lantern
echo basalt
#

👍

#

you can run like 25 games at once on a 1gb hdd

#

and it won't really lag at all because there's little to no disk usage

noble lantern
#

hdd nullgrossedout

echo basalt
#

everything is ram and multithreaded cpu

#

best thing about fakeblocks is that you can make them async

#

just make each game run on a separate thread

noble lantern
#

im making each npc run on a new thread

#

i meant

#

npc***

echo basalt
#

8-cpu machine for 8 separate games

noble lantern
#

joking btw

#

i hope your still alive over there

noble lantern
#

has like 24 cores i think

#

but low speeds :ccc

echo basalt
#

server I'm running zombies on is weaker than my pc

#

still running 20tps flawless

quaint mantle
#

How may I use Jitpack?

noble lantern
#

yeah same mines is on a contabo vps

echo basalt
#

and given everything is async I got 0.05mspt

noble lantern
echo basalt
#

only thing that's sync is gun raytracing

#

but the particles are async

noble lantern
#

with 100 npcs runing an async astar

#

the server still ran 20 tps 🤔

echo basalt
#

I mean

#

yeah

noble lantern
#

even tho citizens was like 80% of the tick

echo basalt
#

I ran a gta server on a contabo vps

quaint mantle
#

I cannot use them

echo basalt
#

thing is

quaint mantle
#

How do i chec if an slot is empty

noble lantern
echo basalt
#

the server only started dying around 16-18k entities (citizen npcs doing wandering)

noble lantern
#

click the red file button

echo basalt
#

100 is little

quaint mantle
#

I did, but it's Jitack's fault since I'm compiling fine on my IDE

noble lantern
echo basalt
#

yes

noble lantern
#

at 100 npcs the cpu was reaching 600%

#

which is 100% of my 6 core system

#

while pathfinding ofc

#

after it was fine

#

i need a i7 or i9

#

to test this on

echo basalt
#

I got a ryzen 5 5600x

#

paid like 230€ for it a couple months ago

noble lantern
#

my contabo vps is like amd epyc

echo basalt
#

epyc has lower clocks yeah

noble lantern
#

my laptop is i7 but its a laptop i7

echo basalt
#

but you can multithread the shit out of it

quaint mantle
#

Can someone help me 🥺

echo basalt
noble lantern
echo basalt
#

I did like 3 years of development on a 4th gen laptop i3

quaint mantle
noble lantern
#

Player#getInventory#getSlot(int) returns an ItemStack

echo basalt
#

5w peak power

quaint mantle
#

Ohhh k

#

Btw whats #?

noble lantern
#

method instances

#

so essentially

quaint mantle
compact haven
#

it’s a Javadoc symbol

quaint mantle
#

No getSlot

echo basalt
#

wtf 👀

noble lantern
#

oh uh

#

getItem(int)

#

sorry

noble lantern
echo basalt
#

burchard

noble lantern
#

oh the spacing

quaint mantle
#

K ty

noble lantern
#

ahahaha

echo basalt
#

you know what would be very cursed

compact haven
noble lantern
echo basalt
#

change leroy

#

to use modelengine

#

and have a crazy frog model just zooming at high speeds

noble lantern
#

that sounds so hard

echo basalt
#

nope

#

just make modelengine disguise your npc as a model

#

api is so shitty it actually takes an entity as the base

#

and spawns entities around it

#

but you can't spawn a regular modelled entity

#

you can only disguise existing ones

quaint mantle
noble lantern
#

i juts want someone to spoondfeed me a packet based npc lib so i can do what i do kek

noble lantern
#

The red file

#

click it

#

its a log

echo basalt
noble lantern
#

Jitpack needs certain configurations to run

echo basalt
#

this maxed out at 1.16 :/

noble lantern
#

should just be renaming methods for 1.19 right?

quaint mantle
#

I don't get what the issue is...

eternal oxide
#

1.16 to 1.17 was a bit of a change

noble lantern
echo basalt
#

I remember one that had pathfinding included

quaint mantle
noble lantern
eternal oxide
#

I can see a lot of plugins not getting upto 1.19

noble lantern
quaint mantle
#

No

noble lantern
# quaint mantle No

⚠️ ERROR: No build artifacts found
Expected artifacts in: $HOME/.m2/repository/us/mytheria/BlobLib/1.0-SNAPSHOT

Are you suuuure?

quaint mantle
#

I have no systemPath dependencies

#

I don't get what you mean prolly

noble lantern
#

Can you send your pom.xml

noble lantern
dusk flicker
#

fatal mistake

quaint mantle
dusk flicker
#

thinking something in programming would be easy

echo basalt
#

this one is a bit better

noble lantern
#

18 -> 19

noble lantern
#

illusion how tf you find these

#

i looked all over and just found hakans

echo basalt
noble lantern
#

bruh

#

i legit dont get any of those lol

#

oh now it says them

#

ofc

#

i think i was googling async npc lib

#

or some shit

quaint mantle
golden turret
#

brooo i was looking in the obfuscated code and wondering why it was obfuscated 😭

echo basalt
#

burch

#

this mf made one with pathfinding

#

one class too

#

lol

modest tartan
#

Issues with Gson

echo basalt
#

quite short at 5k lines

#

but it has like 25 inner classes so you can split it up

noble lantern
#

his api is all one class

#

if so i hate him but i love him

noble lantern
#

cause its just copy paste into my project :))

echo basalt
#

he's not showing the nms

#

but like

#

it uses inner classes

#

so you can split it up

noble lantern
#

didnt seem like it could allow npcs to walk or it was done with packets

echo basalt
#

it's literally what I just sent you

noble lantern
#

the github??

echo basalt
#

yeah

noble lantern
#

this one??

slate delta
#

i dont know how fix this error

noble lantern
slate delta
noble lantern
#

so you want to modify a list in a loop i see

echo basalt
#

nvm

noble lantern
#

One must see the Iterator class in java young padawan

echo basalt
#

he implements the bukkit entity

#

and writes all methods

#

still good

#

but he has a personal npc

#

system

noble lantern
echo basalt
#

sure it's not async astar but you can make it walk somewhere

noble lantern
#

or packet based

#

No i can fork and add my own algo

#

not an issue

#

the lib just needs to support walking one block

echo basalt
#

it like

noble lantern
#

i just so desperatly suck at math lol

echo basalt
#

the entity exists

#

but it only exists because packet constructors need an entity?

noble lantern
#

Thats how i do mine

#

A class extending ServerPlayer and pass this to packets

#

so entity doesnt ever exist, but it has certain method available still you might need

echo basalt
#

then yeah use this

noble lantern
#

sorry we linked like 4 of them lol

slate delta
echo basalt
#

ye

noble lantern
#

when using List in java

#

you cant remove from it in a loop

#

you need to use Iterator, and remove it that way

slate delta
#

ohh okay

echo basalt
#

you cant really copypaste his code as he has nms stuff that's not on git

slate delta
#

i can read, but no remove

noble lantern
#

Youll have to google a tutorial on Iterators, but theyre really simple

slate delta
noble lantern
#

readings fine

slate delta
#

thanks !

noble lantern
#

just no remove, add fine

noble lantern
slate delta
#

but remove, is auto cleaned when plugin all disabled

#

i dont need to remove

noble lantern
#

ohhh illusion

#

its just empty classes

#

you need his plugin running on the server

quaint mantle
noble lantern
#

wait, or not

echo basalt
#

I mean not really

slate delta
echo basalt
#

you just gotta shade the jar itself and not the git code

#

it uses reflections internally

#

I hate jd-gui not having a dark theme by default

noble lantern
echo basalt
#

like the code is minimally decent

noble lantern
#

i need to look into his main class

#

need to see how he initializes it cause im not having it as a dependency xD

echo basalt
#

it just does update checking

#

and initializes a new NPCLib instance

#

which registers some bukkit listeners?

#

kinda funky

noble lantern
#

yeah that part seems funky

#

i cant shade it in

echo basalt
#

only thing I don't trust are those HashMap<Player

noble lantern
#

it must be a provided scope

echo basalt
#

you can just rewrite that part

#

and shade the rest

noble lantern
#

i cant, cause his jar isnt open source

#

unless

echo basalt
#

by decompiling it and adding classes

noble lantern
#

i feel bad doing that

echo basalt
#

add a disclaimer at the top

#

Like I did with my skyblock code

golden turret
#

OMG

echo basalt
#

my version was just his code but like 90% stripped of its content lmao

golden turret
#

FINALLY I DID IT

echo basalt
#

ayy he did it

noble lantern
#

yeah im likely donnt strip most of it too

echo basalt
#

he got bitches

noble lantern
#

like scoreboard shit i dont need

#

holograms etc, i can all do it myself

echo basalt
#

I should get nitro

#

instead of nitro classic

golden turret
echo basalt
#

just to boost this server and get emotes

noble lantern
#

classic doesnt get free boosts

echo basalt
#

yeah

#

I have classic

#

:/

#

5$/mo

noble lantern
#

well

#

you get discounted boosts

#

like 2$? i think

hasty prawn
#

You get 2 free ones too

echo basalt
#

sure yeah but is it really worth to pay 3$ less for half the benefits

golden turret
#

for me the classic is 1$/mo

noble lantern
golden turret
#

5$ the full

hasty prawn
#

Yeah that's what he was talking about wasn't it

echo basalt
#

my ass

noble lantern
#

he has the classic

#

eg 5$

quaint mantle
#

Why not working?

golden turret
hasty prawn
#

Yeah exactly so pay extra $5/mo for 2 free boosts

noble lantern
echo basalt
#

imagine speaking portuguese smh couldn't be me

noble lantern
#

scam

golden turret
echo basalt
#

250 BRL is like 50$

noble lantern
#

bruhhh

golden turret
noble lantern
#

they gettin scammed

quaint mantle
#

In my country its 4$ for discord nitro boost LMFAO

echo basalt
#

an uber ride there is as low as like 80 cents

noble lantern
#

i wanna go to

echo basalt
#

no

noble lantern
#

uhh

echo basalt
#

you do not

#

you do not want to go to brazil

hasty prawn
noble lantern
#

Purto Rico

echo basalt
#

I've been on reddit like twice

golden turret
#

that is what I would pay

noble lantern
#

puerto rico 100$ buys you whole bar

echo basalt
#

I live in portugal, 100$ here gets you some mad bitches

noble lantern
#

seee

#

you get it

hasty prawn
echo basalt
#

I once brought 20$ per school and the counselor yelled at me for carrying that much

quaint mantle
noble lantern
echo basalt
#

I was gonna buy a new keyboard after school :/

noble lantern
#

you need NMS

#

unless

#

it depends on what your trying to check?

#

What are you trying to check

echo basalt
#

xyproblem

quaint mantle
#

Im trying to find a specific item with specific nbt or anything

noble lantern
#

So if it just has any type of data at all attatched to it? no matter what?

quaint mantle
#

Its a nether star, just want to know THAT specific nether star, not any

hasty prawn
#

PDC HYPERS

quaint mantle
#

Wym

hasty prawn
#

?pdc

quaint mantle
#

This is what im lf

noble lantern
#

anyone hear from 7smile7 lately

noble lantern
hasty prawn
echo basalt
#

he's the only developer I look up to honestly

hasty prawn
#

There's a lot of smart ass people in here it's wild

quaint mantle
#

Is it good to work with datapacks and plugins at the same time?

noble lantern
hasty prawn
#

I mean why would you

quaint mantle
noble lantern
hasty prawn
noble lantern
#

i bet he would of know the issue to my packet bs the other day

hasty prawn
#

It's better to stick to one of them honestly

echo basalt
#

I'm like 60% there

#

but the guy is a lot older than me as well so like

#

maybe it comes with age?

hasty prawn
#

Experience more than age

noble lantern
#

I just need a good math teacher

#

and im bitchin

echo basalt
#

I feel like we've been coding for a similar time

#

I first touched code like 12 years ago, been making plugins for like 5 years

noble lantern
#

isnt smile like

#

30ish?

echo basalt
#

smile is 28ish

#

So 10-11 years older than me

vocal cloud
#

It's all that bratwurst getting to him

quaint mantle
#

so i met this random who did state sells R$ 1000 (Roblox currency) for $2.7 USD

#

it's a trap, don't ever trust robux resellers

noble lantern
#

i-

quaint mantle
#

LOL?

#

U got no proof, also this is not a channel for this (a server for this neither) and u were the one trying to scam

hasty prawn
noble lantern
#

wait

quaint mantle
hasty prawn
noble lantern
#

ayo

drowsy helm
#

yeah i did

noble lantern
#

maaaan

drowsy helm
#

I hve also found something AWESOME

noble lantern
#

took to late guys gone now

#

oh?

noble lantern
drowsy helm
#

what guy?

noble lantern
#

someone was having issues getting double layered skins working

#

did you get blinking seamless yet?

#

i assume you did since you said you had something awesome

drowsy helm
#

no i ahvent i went off on a tangent

noble lantern
#

oh

drowsy helm
#

let me get some screenshots

#

and ill show

noble lantern
#

kk

drowsy helm
#

Okay,
So with resourcepacks there is something you can use called "builtin/entity". Essentially it fetches the player's skin (or any skin for a mob but il using a player) and maps it to an item. They use it for player heads but i remodelled it for a flat 2D head.
Since the signature holding the player's head contains the ENTIRE 64x64 skin technically it's possible to show the ENTIRE skin. So pretty much i am rendering a 64x64 skin.
If i can figure out how to generate a texture base64 encode I can render any 64x64 image onto a texture

#

and in turn, can render textures without having to load them into a resourcepack!!!!

noble lantern
#

your just loading base64 directly right

#

remember servers have mojang api limits

drowsy helm
#

nah im not using api at all

noble lantern
#

damn then thats bitchin

drowsy helm
#

im just trying to figure out how to generate the base64 now

#

ik this has nothing to do with npcs but i wanted to share lol

noble lantern
#

no thats actually rly cool tho

#

if you get it working that can be game changing

drowsy helm
#

yeah hopefully it works seamlessly

eternal oxide
#

what issue are you having encoding?

echo basalt
#

pre-1.14 custom models?

#

👀

#

I made a paper fork to add custom models while keeping the 1.12 world format

drowsy helm
eternal oxide
#

ah ok

quaint mantle
#

Any way to identify a item by certain nbt or unique thing (so i can diference X custom item from any other same item but default from minecraft) if possible w/youtube explain

drowsy helm
quaint mantle
#

Is there any pdc video?

dusk flicker
#

?pdc

noble lantern
#

i should do a spigot plugin dev yt series

echo basalt
#

I could do one

#

with my thicc mf voice

quaint mantle
#

Fr do one

#

I will defo sub

echo basalt
#

"hello welcome to my youtube tutorial where we use colorful language against bad practices"

drowsy helm
echo basalt
#

"So, on our first tutorial, we'll talk about how to add a listener, and maybe custom mob AI via nms on 1.7.5"

echo basalt
#

then the video just suddenly ends midway

noble lantern
#

do ppl even watch plugin dev videos

echo basalt
#

I hope not

#

we should do a udemy course

#

like 2 devs together doing a single course

#

but one is very shitty and the other is top tier

noble lantern
echo basalt
#

yeah

drowsy helm
#

they definitely do

noble lantern
#

like just live stream it

echo basalt
#

just a 2 hour video slowly scrolling by every message

drowsy helm
#

i watch them sometimes on random shit

noble lantern
#

in a udemy course

echo basalt
#

actually

#

what if

noble lantern
#

i only watch videos if im desperate

echo basalt
#

we made a common issues forum type thing

#

where we just have a bunch of sections

#

and if you have a problem

#

you just go down through it

#

Think of a google drive folder

#

with like subfolders for players, entities, blocks, world, nms

#

and within each, we'd have like

#

nms/clientside/block

#

and a .txt file saying "blocks-disappear-when-right-click"

#

you click on it, and it shows the problem and the solution

#

we map all beginner mistakes

#

put it all on a platform

#

and charge 10$/mo

#

basically a text version of a udemy course

#

but folder-organized by type

noble lantern
#

would be better as like a pay to access archive site

echo basalt
#

it's basically spigotmc but without duplicate questions

noble lantern
#

and no freedom to ask questions

#

only asnwer questions

echo basalt
#

and hand-picked responses instead of guys just saying "nvm I figured it out lol"

echo basalt
#

if it's a duplicated question, we just link you the answer within 2 business days

#

and if it's a non-duplicated question, we ask on spigot lol

noble lantern
echo basalt
#

and then we handpick the answer

echo basalt
#

send txid

noble lantern
#

32864832193

#

plshelp

#

average customer in online support

echo basalt
#

Try Material#name(), so Material.APPLE returns "APPLE"

EXAMPLE

ItemStack item = player.getItemInHand();
Material itemType = item.getType();

String itemTypeName = itemType.name();
player.sendMessage("You are holding a(n) " + itemTypeName);

If you want to get a friendly name, you need to apply some formatting to the returned name ("APPLE" -> "Apple")
You can look into formatting text over here (point to tutorial explaining text formatting)

noble lantern
#
@Listener
public boolean onEvent(PlayerPickupItemEvent event) {
    System.out.println("You joined the server with " - Material.name().formatted(" ") - "!");
}
#

no work??

#

tf?

#

refund

dusk flicker
#

@Listener?

noble lantern
#

yes an my class extends EventListener

#

*average help question in this channel be like *

echo basalt
noble lantern
#

WAIT

#

LIVE CHAT SPIGOT DEV SUPPORT

echo basalt
#

5$

#

I actually do that with a friend or two

noble lantern
#

per 10 mins

echo basalt
#

there's always that 1mf that's like

#

"yo how do I do this"

#

then you answer

#

then they just say "do it for me pls"

#

so I charge them

noble lantern
#

lol i have friends dming me all the time like that xD

#

i get a fair trade off with one

#

he writes my sql statements

echo basalt
#

check dms

noble lantern
#

i write his futures

compact haven
#

I have a brilliant idea

#

instead of a subscription model for live spigot dev support

#

you charge per question

echo basalt
#

500$ per question

#

but others get the answers too

compact haven
#

it'll encourage them to spend a minute on Google

echo basalt
#

who's gonna be the robin hood mf

compact haven
#

which'll easily solve their problem

#

instead of bothering us!

echo basalt
compact haven
#

exactly

echo basalt
#

easy way to save 70$

#

all we need to do is spend 200 hours of our life making a website

noble lantern
#

hey if this becomes a thing we might get some actual good questions in here one day

echo basalt
#

we just link them to the site

#

and threaten their families if they don't pay

noble lantern
#

200 hours isnt bad

ivory sleet
#

Lol

noble lantern
#

i could ez do a backend

echo basalt
#

how about that

#

conclure taking notes at the back

noble lantern
#

on god

#

invis mode and all too

echo basalt
#

what if

#

we do some cheeky stuff

compact haven
#

3 months later
"Live Spigot Support by Conclure"

echo basalt
#

and make the customers

#

link their paypal accounst

#

so we can take money directly from them

#

instead of making them pay manually each time

compact haven
#

legally tho

noble lantern
#

chill out facebook

compact haven
#

put it in the ToS

ivory sleet
#

Lmao I wish I had the guts to

compact haven
#

"we have the right to charge you for any questions asked on our live support platform"

echo basalt
#

like how uber does payments

#

you just link the account

#

and any time you ask a question

#

you automatically get billed

#

and any time you don't ask a question

noble lantern
echo basalt
#

you get billed as well

echo basalt
#

you need an 8k monitor to see them

#

but

#

they're there

noble lantern
#

exactly

#

therefore legal

echo basalt
#

why are sleep deprived ideas so good lmao

noble lantern
#

i love how this turned to a legitimate cool community idea to help people

#

and then turn to a total pyramid scheme

#

in the matter of 5 mins

echo basalt
#

like

#

it'd be good tho

#

we make the idea

noble lantern
#

it would

echo basalt
#

what if

#

we made like

#

a 10$ access pass

#

for nms

noble lantern
#

nukes in minecraft

#

oh

echo basalt
#

so everything is free

#

but if you have nms questions

#

you pay 10$ once

noble lantern
#

how about

echo basalt
#

the catch is

compact haven
#

people would genuinely pay for knowledgeable developers in live support

echo basalt
#

we make all the tutorials rely on nms

noble lantern
#

4$ for NMS, 4$ for packets 4$ for external ibs

10$ access pass for all

echo basalt
#

"want to spawn an entity? use nms"

echo basalt
#

or

#

a 5$ monthly subscription

noble lantern
#

20$ for luckperms specifically

#

and world edit

#

and world guard

#

and essentialsx

echo basalt
#

20$ for luckperms, 20$ for worldedit, 30$ for fawe

compact haven
#

tf

#

essentialsx who the hell

#

depending on their api

#

it's shit

echo basalt
#

we charge extra

noble lantern
#

^^

#

ohoh

#

and every version under 1.19

#

major and minor

#

+5$

echo basalt
#

100$ for a basic tutorial on how to read obfuscated code (nms)

drowsy helm
#

I am being haunted

noble lantern
#

thats not it fam

compact haven
#

honestly that sounds like a you problem

noble lantern
#

too creepy

drowsy helm
#

lmao

compact haven
#

you're interrupting our planning

noble lantern
#

my first time i messed with packets

compact haven
#

with nonsense

echo basalt
#

we're just scheming the next bitcoin here

noble lantern
#

i accidentally spawned an allay

#

instead of a player

drowsy helm
#

apologies, continue

echo basalt
#

first time I messed with clientside entities I crashed my client for 9 hours straight

#

then managed to spawn an item that would float up by itself

noble lantern
#

im so proud

#

ive only crashed my client once this week

echo basalt
#

then wasted another 2 hours to figure out I had to sent a 0,0,0 velocity packet

noble lantern
#

💀

#

dont send it dingus

echo basalt
noble lantern
#

LOL

echo basalt
#

because nms didn't follow wiki.vg and decided to hold its entitytype inside the packet but serialize the type id

#

and I thought protocollib relied exclusively on wiki.vg and not nms

noble lantern
#

ngl why tf isnt the mc client try catching

compact haven
#

I think it's the other way around

echo basalt
#

so I was like

#

writeInt(1, typeId)

noble lantern
echo basalt
#

instead of writeEntityType(0, EntityType.ITEM)

noble lantern
#

mc should do what rust does

#

and shot packet errors in top left

compact haven
#

wiki.vg isn't guaranteed to be accurate

#

it's community sourced sadly

noble lantern
#

wiki vg is innacurate asf most times

#

its just to give you a decent idea

#

anyone play with the new chat packet shit yet

#

to block reporting

#

(other than u kacper)

drowsy helm
noble lantern
#

supposubly theres a boolean in a packet you can send

compact haven
#

signed & preview

noble lantern
#

and it totally disables the chat reporting

#

like secureChatEnabled or some shit

compact haven
#

yes, but the client shows a warning next to every message

noble lantern
#

oh

#

didnt know that

#

uhm just Bukkit.broadcastMessage() each message

#

ez

compact haven
#

ehm

#

that'll also show the warning xd

quaint mantle
#

Can someone send me the thing to put colors?

#

Like the &3

noble lantern
quaint mantle
#

But not the & the other

noble lantern
#

cant report players message if they didnt send the message now can they

quaint mantle
compact haven
#

ah yes

noble lantern
#

i may have scuffed that method name

#

auto complete will finish it for u

quaint mantle
#

Im using it for meta.setDisplayName()

noble lantern
#

yes

quaint mantle
#

Not chat

noble lantern
#

that method will color your string with &

drowsy helm
#

doesnt need to be for chat

#

it works with anything

noble lantern
#

^^

upper vale
#

*ColorCodes

#

not ChatCodes iirc

quaint mantle
#

So why i dont do ChatColors.RED + "string" and nothing

noble lantern
drowsy helm
#

no its ChatColor

noble lantern
#

yeh i did put CHatColors, but same thing

upper vale
#

I was referring to the method

#

translateAlternateColorCodes

noble lantern
#

OHH

drowsy helm
#

you can if you want

quaint mantle
noble lantern
#

idk the exact name its such a long name for a method lol

#

why can it just be translate()

quaint mantle
#

Ye but idk cuz its short string

dusk flicker
#

I always use a util method for translate color codes. dont have to type all of that plus the extra argument for &

drowsy helm
#

Util.color(String)

drowsy helm
#

ez

#

and static import

dusk flicker
#

CC.translate for me

drowsy helm
#

so all you have to do is color(String)

echo basalt
dusk flicker
#

CC does a lot more tbh lol

noble lantern
#

i do textOf as a wrapper

#

or just of()

quaint mantle
#

NamespacedKey key = new NamespacedKey(pluginInstance, "our-custom-key"); whats the custom key?

dusk flicker
#

anything you want

quaint mantle
#

K, it needs to be unique right?

dusk flicker
#

should be

#

doesnt need to be insane, but shouldn't repeat

#

ex minecraft:dirt and minecraft:grass

quaint mantle
#

And whats pluginInstance?

dusk flicker
#

your plugin instance

#

aka your main class

quaint mantle
#

tf is plugin instance?

#

Oh

#

Even if i am not running it from my main class?

dusk flicker
#

yep

#

you will use a singleton or DI to get access to it

quaint mantle
#

So...

dusk flicker
#

?di

undone axleBOT
quaint mantle
#

"com.yosoykute.plugin.kadete.kadete"? @dusk flicker

dusk flicker
#

no idea if we have a singleton example

#

no

#

upload your main class into a paste

#

?paste

undone axleBOT
dusk flicker
#

it'll be something like MainClass.getInstance() if its a singleton

quaint mantle
#

My main class u mean the class where i have like onEnable()?

dusk flicker
#

yes

quaint mantle
dusk flicker
#

do we seriously not have a wiki article on singletons?

echo basalt
#

singletons suck so obviously not

dusk flicker
#

oh well

#

read this @quaint mantle

#

?di

undone axleBOT
noble lantern
#

man fuck npcs

#

are drug plugins allowed on spigot

dusk flicker
#

Its a good guide into it by Conclure/LMBishop/imajin and myself

dusk flicker
#

?premium

undone axleBOT
noble lantern
#

Wouldnt be premium

#

MIT + free

dusk flicker
#

yeah not premium, I think free is fine

#

good question for optic

noble lantern
#

i wonder if the new chat rules tho

#

are against it

#

hm

dusk flicker
#

¯_(ツ)_/¯

#

probably

noble lantern
#

maaayne

#

i need a good plugin idea

river oracle
#

Just package a chat report disabled with it

noble lantern
#

Yes but Im not sure if like

#

the server could be reported

#

then blacklisted from clients

dusk flicker
#

paper 1.19.1 out

noble lantern
#

like i assume servers arent immune to the new chat rules

river oracle
#

I'd think they are

noble lantern
#

pog

river oracle
#

But who knows

noble lantern
#

new enchant plugin?

quaint mantle
#

This should be done?

echo basalt
subtle folio
#

best way of keeping the normal chat format but removing signing and all that bungus

echo basalt
#

got no sales in the past like month

dusk flicker
#

oo new chunk system interesting
I cant tell if Paper wants this chat reporting system or not, saying that they might not allow people talking about disabling it in their discord

echo basalt
#

but at the same time my stupid ass forgot to link the paypal email

#

and there has been no buy button

noble lantern
#

paper hates freedom

#

if you say paper is bad in there i bet you get banned

#

meanwhile in here

dusk flicker
#

oh guarantee I would

echo basalt
#

spigot 🤡

noble lantern
#

chad spigot

quaint mantle
noble lantern
#

chad helpchat

noble lantern
dusk flicker
#

needs to be a plugin instance

#

not a string

noble lantern
#

^

quaint mantle
#

IK

#

But idk how to do it

noble lantern
#

and needs to insert into container then update item meta

quaint mantle
#

Im bad af at reading docs

dusk flicker
#

read the wiki

echo basalt
#

something I wonder about

noble lantern
#

imma go through premium resources and just make it better for free i think thats a fun idea

echo basalt
#

what if we had a convention where minecraft devs met up

#

like minecon exists

#

but it went digital

#

🤔

#

like we'd have a 7smile shrine obviously

drowsy helm
#

fuck you mojang

quaint mantle
#

Better?

drowsy helm
noble lantern
#

LMFAO

quaint mantle
noble lantern
#

i love how people have this shit just ready

quaint mantle
#

In the container?

noble lantern
#

in mere minutes

drowsy helm
#

for the id

#

not a double

dusk flicker
#

Kacper got it done lol

quaint mantle
#

Idk, the docs has that example

drowsy helm
#

yeah you can change it

#

you dont ahve to copy it 1:1

echo basalt
#

I'll make a version that uses ProtocolLib

quaint mantle
#

Ik but anyways why using an string?

echo basalt
#

So that we don't have to shade packetevents and have a whole 2mb

noble lantern
#

he was talking in here telling us about the new packet

drowsy helm
echo basalt
#

I just need someone to make the thread design

quaint mantle
#

Cuz there was too many items for the ids?

drowsy helm
#

no it sucks

#

who wants to remember millions of numbers

quaint mantle
#

I do remember all till they changed

compact haven
#

lmao it tells Mojang it uses secure chat, but then goes ahead and removes the signatures from each message

dusk flicker
#

Kacper is talking to retrooper to have packet events not shade adventure which will basically cut it inhalf

echo basalt
#

that's still a lot

quaint mantle
#

Like this better?

echo basalt
#

thing is it's a 1.19+ thing

dusk flicker
#

but yeah I still agree

noble lantern
#

could literally use remapped 1.19.1

#

i thought he was using that ngl

drowsy helm
#

yes 🙂

#

good naming convention?

echo basalt
#

Yes

#

looks solid

#

maybe remove a word

#

Chat

drowsy helm
#

StupidPopupPacketListener?

#

yeah

worldly ingot
# noble lantern paper hates freedom

(1) Nothing to do with freedom
(2) Spigot chat messages are signed now too? 1.19.0 didn't because API was uncertain, but .1 messages are signed and reportable as far as I can tell

quaint mantle
noble lantern
#

it was the talks about disabling it

#

that i was mentioning

#

someone mentioned paper wasnt allowing the talk about it in theyre discord

worldly ingot
#

And we're going to strongly discourage it as much as we do with offline servers

#

We don't ban for it, but we're going to tell you to knock it off

compact haven
#

the option to disable it is given by Mojang

full cargo
#

is there a particle spawn event? working on an ozone layer damage thing

compact haven
#

I mean so is offline mode, but like it's clearly intended to be allowed given they've coded a popup and everything

echo basalt
#

I mean

#

there are already mods like Gaslight

compact haven
#

I wonder if the popup & warning is removable by enforcing a resource pack

echo basalt
#

or a plugin on the server

compact haven
#

well that's been done already

#

anyways, we'll see how Mojang takes care of this reporting system

worldly ingot
compact haven
#

it'll probably be severely backed up or ban people for absolute nonsense

#

or both

full cargo
#

nvm i gotta use protocollib

worldly ingot
#

Severely backed up: You make it seem like Mojang isn't aware they have millions of daily active users
Bans for nothing: They stated they're only banning in extreme cases and until proven (keyword, proven) otherwise, this point holds no merit

echo basalt
#

That's literally the point

dusk flicker
#

Just because they say something doesn't mean its gonna happen exactly like they say it will

worldly ingot
#

Just because you say something doesn't mean it's going to happen either

dusk flicker
#

I would be very surprised if there aren't a vast amount of false bans

worldly ingot
#

You cannot prove a fucking negative

compact haven
echo basalt
#

mojang said there'd be no changes with account migration yet the EULA changed tons

quaint mantle
echo basalt
#

most of the recent changes are kid-oriented

#

because mojang doesn't realize that their playerbase is aging

worldly ingot
#

right because children aren't ever born and introduced to the game

echo basalt
#

They are

compact haven
#

and once again choco:
"anyways, we'll see how Mojang takes care of this reporting system"
"it'll probably be severely backed up or ban people for absolute nonsense"

echo basalt
#

System seems to already be live, we'll see how it goes from here

compact haven
#

so as in to your extremely defensive comment, I'm not trying to make a proven statement

echo basalt
#

The choice to make your server mojang-proof is always there

compact haven
#

my messages clearly hinted that I'm only guessing what might happen (with background being other games with reporting systems)

quaint mantle
#

"we're not gonna change anything about the minecraft you know 🤓" laughts in microsoft adding the report system

compact haven
#

plus, chat messages don't show the whole story

worldly ingot
#

I've been reading and responding to some of the most brain-dead comments over the last couple weeks and it's exhausting informing person after person that they won't be banned for saying "night", that adding a toggle for this completely defeats the purpose of it, that you won't get banned for swearing, and that you're going to literally be perfectly fine if you just play the game like you have been for the last 10+ years

compact haven
#

nor is an employee looking at reports going to spend ages trying to understand context (especially if they don't have the whole story)

worldly ingot
#

Until you have verifiable proof that this system is not working, raise your concerns, but don't propagate misinformation

compact haven
#

they'll just make a decision, ban or not, which won't affect them at all

worldly ingot
#

and if they can't determine context, they will not act

#

Again... this is for extreme cases

sleek turret
echo basalt
#

I honestly don't care if it's for saying "night" or extremely bad stuff

compact haven
echo basalt
#

Minecraft is a sandbox game and sandboxes are often associated with freedom

worldly ingot
echo basalt
#

The community doesn't like being restricted to certain rules

#

as relaxed as they may be

worldly ingot
#

When the rules are "Don't be racist, don't be a bigot, and don't prey on kids", that's not a restriction. That's being a decent human being

echo basalt
#

There are servers like 2b2t that will absolutely be shaken by the system

noble lantern
worldly ingot
#

Good

#

They fester

worldly ingot
#

It has no player to attribute to. You can't ban a server

compact haven
#

sure you can, they have before

dusk flicker
#

I mean, they could

#

they have

compact haven
#

there's a hash list of blacklisted server ips

noble lantern
#

But say a server had a plugin like so, that had excplicit content like so

Would they add it to the server to the client blacklist ?

echo basalt
#

Also there's another thing

worldly ingot
echo basalt
#

minecraft uses SHA1 hashes

#

which aren't that secure anymore

worldly ingot
echo basalt
#

unless reports specifically use SHA256 or something similar

worldly ingot
#

If the CUG or EULA has something that says "no drugs", you have that plugin installed, and someone reports your server, it'll probably get blacklisted. But again, unrelated system

#

That's been the case since the introduction of the CUG

noble lantern
#

But, it wouldn't be improbable that servers are susceptible to being banned for chat-related issues?

No rules against those specific things are in EULA that i remember

#

drug based servers been around a while large ones too

worldly ingot
#

Then the theoretical server should be fine

dusk flicker
#

Obviously for the major stuff, sure I get but the biggest problem I see with this is context and what people mean by shit. Theres such a small line (in certain cases) between messing with a friend with some toxicity to bullying, which is something they mention in their post about the report system. Context / emotion is everything that is horrible to show in messages, and I doubt they will take the time to sift through and figure everything out

noble lantern
#

And how could one handle players discussing items in the plugin? I assume having to use referances

#

like W or C or some other word

#

like sugar or cactus dye or some shiz

worldly ingot
compact haven
#

I've had a friend go up to an administrator of the school and report someone because they were mad at something else they did, so that is definitely not the case

quaint mantle