#help-development

1 messages Β· Page 120 of 1

eternal night
#

cannot wait for that to no longer be the case πŸ™

echo basalt
#

stares in mirror

eternal night
#

or well

#

I think they still keep object as the root ?

#

and then have sub classes for Q and L types ?

lost matrix
#
  @EventHandler
  public void onDeath(EntityDeathEvent event) {
    if(event.getEntity() instanceof Player deceased) {
      // Reset kills of deceased
    }
    Player killer = event.getEntity().getKiller();
    if(killer == null) {
      return;
    }
    // Killer killed a mob
  }
echo basalt
#

deceased holy shit you're specific

#

I'd just name it victim or something

eternal night
#

mukdukVictim

echo basalt
#

if there's one thing I'd like to see a bit more

#

just for fun

#

is people asking for help with very horrible variable names

#

ever decompiled a plugin and all variables were named in chinese?

lost matrix
#

Would be interesting to build a maven plugin which just puts your variable names through
google translate in 3 different languages and back.

echo basalt
#

ahhhh childhood memories

#

I'd like to update this plugin to <insert version here
budget: 5$

then you look, and it's nms with chinese naming

#

and comments that break google translate

eternal night
#

average premium spigot plugin

lost matrix
#

PS: If you want a trivial approach then you can store the kills in the pdc of the player.
I personally would use the pdc only for persistence but you should be fine.

lost matrix
echo basalt
#

I only use PDC when I don't feel like caching stuff

torn shuttle
#

well idk what's wrong with my sonatype setup

echo basalt
#

was messing around with changing skins yesterday

eternal night
#

I mean, especially player PDC is pretty damn cheap

echo basalt
#

used PDC to store the original player skin

eternal night
#

some would say, not too far away from the hashmap solution

#

you skip the hashmap lookup for the uuid

torn shuttle
#

it's fun because it says it works on the publish task, except it doesn't

lost matrix
#

pdc doesnt have a great performance.
I rather use an actual data structure and only persist the
data when the session is terminated.

echo basalt
#

where's the fun in that

eternal night
#

has anyone actually ran benchmarks for a Map<UUID, Integer> vs a pre supplied PDC ?

echo basalt
#

one thing I gotta start doing less is abusing ConcurrentHashMap

eternal night
#

I wonder how much slower that is

#

You box in both cases

odd wedge
#

Imagine not saving the data on another computer and then getting that data whenever it’s needed

eternal night
#

your one map lookup is uuid vs the internal PDC data type lookup

echo basalt
#

average database moment

lost matrix
odd wedge
echo basalt
#

ah okay

eternal night
#

and then the additional method call for "convert" a plain Integer to an Integer

echo basalt
#

just a very long sata cable

odd wedge
#

Just as a raw file

torn shuttle
echo basalt
#

I mean

#

buckets?

torn shuttle
#

with snapshot on it it works just fine in uploading it to snapshots, without it it says it works but doesn't

#

and I am sending it to the right url as far as I can tell, I know there's two different ones

wet breach
echo basalt
#

yo magma when you streaming again btw?

torn shuttle
#

lol

echo basalt
#

I might stream tomorrow

  • 8 days ago
lost matrix
torn shuttle
#

look there's only so many times I can stream for 14h in a day before sort of not wanting to do that

#

and I probably shouldn't be streaming my sonatype access tokens anyway

echo basalt
#

why not

#

🀨

eternal night
#

but in the integer case

#

the hashmap approach should not be chosen based on performance

#

the diff is too small to care

#

especially on a death event

#

doesn't mean that it isn't better, as good as PDC here πŸ˜…

echo basalt
#

mfs obsessing over those extra 3 clock cycles yet they doing yml operations in the main thread πŸ™„

eternal night
#

could be mining crypto in those 3 clock cycles

wet breach
lost matrix
#

Need those ShibaFroggyElonMoonCoins

echo basalt
#

had a yml databse with 250k entries

torn shuttle
#

eh

wet breach
echo basalt
#

shit took 5 minutes to load

torn shuttle
#

I give up, people can just use the snapshots for now

wet breach
#

so you should load them in the beginning anyways

odd wedge
eternal night
#

people like pain

finite violet
#

Hello guys I am going to start a smp what plugins do I really need I want a special smp

echo basalt
#

reverse uuid cache seemed like

#

I rewrote it to a proprietary file

lost matrix
echo basalt
#

loaded within 1ms

eternal night
#

sqlite is sobbing

echo basalt
#

do you really think I can make sql queries at 4am

odd wedge
#

Yes

echo basalt
#

I think I'm better writing regex than sql honestly

torn shuttle
#

api is probably not fully stable anyway so it's not like it being a snapshot is bad

eternal night
#

no

#

I mean I hope your shit isn't regex based xD

#

that seems pretty not fast

lost matrix
eternal night
#

for 250k entries

echo basalt
#

I only use regex like once a year

torn shuttle
echo basalt
#

but it feels satisfying when the pattern works

near crypt
#

what is the easiest way to make the targeted block a green block but when the block changes it becomes the block it was before so only the block that is looked on turns green

odd wedge
ivory sleet
#

Ive never gotten jitpack to work

wet breach
ivory sleet
#

Tho it does look good apart from that

lost matrix
torn shuttle
#

eh it's already set up

odd wedge
wet breach
#

if you really want jitpack to work, provide releases on your repo on github

torn shuttle
#

it's fine I'm just moving on, I've been stuck on this stupid garbage for a week

#

this and automatically updating translation files

wet breach
#

this way jitpack won't spend time compiling and just offers up the release you provided

torn shuttle
#

it's been haunting my nightmares

ivory sleet
echo basalt
#

sometimes I wonder if mfs just being like "how do I make <insert commission they got hired for>"

lost matrix
odd wedge
#

Pretty much everyone

torn shuttle
wet breach
odd wedge
near crypt
# echo basalt huh?

you get the tageted block and it turns green thats easy but its just green as long a you look on it if it changes the block becomes normal again (the block it was before)

ivory sleet
#

Fair

echo basalt
#

raytrace, send fake block

#

on raytrace block change, revert to original block by resending the original data

torn shuttle
#

oh yeah bout fake block data

#

I need to do that this afternoon

echo basalt
#

pretty sure I gave you code for that

torn shuttle
#

you did

#

ironically a different project now needs that

echo basalt
#

what you working on

#

πŸ‘€

torn shuttle
#

at least I think it's different, idk I keep switching them

echo basalt
#

if it's a commission I'll only ask for like 95% royalties

torn shuttle
#

did you send it for the td one?

near crypt
echo basalt
#

ye

torn shuttle
#

nah I don't do commissions

#

yeah same project then, using WE schematics to do fake block towers

echo basalt
#

you're probably like a friend of mine

#

stocking fruit by day

#

plugin by night

torn shuttle
#

me?

echo basalt
#

ye

torn shuttle
#

I do this full time

echo basalt
#

didn't know that our country had tech jobs

near crypt
echo basalt
#

so in theory yes

#

in practice, realistically, yes

torn shuttle
#

when do fake blocks clear client-side, I assume that if a player's client stops rendering them (client view distance or world switch) it goes away, or is it more persistent than that?

echo basalt
#

but here right now, no

lost matrix
#

Just ray trace and send the player a fake block

echo basalt
#

just resend for new chunks

torn shuttle
#

hm

near crypt
echo basalt
#

onChunkLoad -> get blocks at chunk (my system caches it per chunk) -> send that

odd wedge
torn shuttle
#

yeah problem is these chunks don't unload

echo basalt
#

uhh

odd wedge
echo basalt
#

chunk packet send (to player)

torn shuttle
#

do I just keep throwing these packets at my dudes until they're gone or smth?

near crypt
torn shuttle
#

also wouldn't sending packets on chunk load cause issues if the server view distance is 10 but the player view distance is like 2?

odd wedge
lost matrix
#

If you keep track of the block then you can check each tick and see if the block changed since last tick

odd wedge
#

?jd-s

undone axleBOT
torn shuttle
#

problem isn't the block changing on my end, I just want to make sure players with 2 view distance don't suddenly wonder where everything went every time they move around

odd wedge
#

They told you how

echo basalt
#

only for new chunks within the view distance

odd wedge
#

Look at the docs for more information

echo basalt
#

pretty sure you get view distance info

lost matrix
near crypt
near crypt
odd wedge
near crypt
echo basalt
#

mans confused

odd wedge
#

Ray trace the blocks and then send a packet to the client

torn shuttle
odd wedge
#

Developing isn’t about writing code but solving problems

#

If you can’t even do that it’s not for you

fluid river
#

so true

ebon ether
#

How to make a custom sheep? With its own name that displays over its head, health, etc.

fluid river
#

@ebon ether where are my homing arrows

ebon ether
#

Like how do I manipulate entities

echo basalt
#

entity.setWhatever

ebon ether
#
public void onShoot(EntityShootBowEvent event) {
        Player player = (Player) event.getEntity();
        if (event.getEntity() instanceof Player) {
            if (event.getProjectile() instanceof Arrow) {
                Arrow arrow = (Arrow) event.getProjectile();
                if (event.getProjectile() instanceof Arrow) {
                    BlockIterator i = new BlockIterator(player, 200);
                    Location l = player.getEyeLocation();
                    while(i.hasNext()) {
                        l = i.next().getLocation();
                        for (Entity w : l.getChunk().getEntities()) {
                            if (w.getLocation().equals(l)) {

                            }
                        }
                }
            }
        }
    }``` this is as far as i got
fluid river
echo basalt
#

OH HELL NAW

fluid river
#

s.setWhatever();

ebon ether
#

idk how

#

idek if it works

fluid river
#

test lol

ebon ether
#

and u got me fucked up if im loading up mc on this laptop

echo basalt
#

that code is curvier than me like wtf man

ebon ether
#

ya its discord not me

echo basalt
#

hm yes indentation

ebon ether
#

or wtv its called

#

oh

#

sheep is an import

#

nvm bro

fluid river
#
public void onShoot(EntityShootBowEvent event) {
    if (!(event.getEntity() instanceof Player player)) return;
    Arrow arrow = (Arrow) event.getProjectile();
    Location eye = player.getEyeLocation();
}
ebon ether
#

HOW

fluid river
#

wow

echo basalt
#

still yucky

fluid river
#

Cringe

echo basalt
#

still yucky

#

single letter variable

#

ew

ebon ether
#
if (args.length == 2) {
            if (args[0].equalsIgnoreCase("start")) {
                Bukkit.broadcastMessage(ChatColor.GREEN + "Kill the Sheep has started!");
                Sheep s = Bukkit.getWorld("world").spawn(Bukkit.getWorld("world").getSpawnLocation(), Sheep.class);
                s.setCustomName(ChatColor.RED + "Kill me!");
                s.setCustomNameVisible(true);
#

heres my sheep mf

lost matrix
#

You spawn the sheep on the spawn location of the world

echo basalt
#

why do I hate this so much

#

like

#

everything is wrong

ebon ether
#

😐

fluid river
#

Discord formatting

#
  • shitcode
ebon ether
#

nah codes great

#

ik this shit works

#

my sheep is goated

echo basalt
#

lol ok

#

I'll just rewrite that lightly

#

using my utils so you can't copypaste it

ebon ether
#

i made my shepe pink

#

btw

#

so add that

#

πŸ™

#

-1 health = infinity?

lost matrix
#

no. -1 health = dead

ebon ether
#

😭

#

ok

#

ill j spam 9's

#

that works to

#

oh

#

or

#

I can cancel the event

#

when they hit my sheep

#

that works

#

ill do that cause thne it wont take knockback

#

got it

echo basalt
#
public class SpawnSheepCommand implements SimpleCommand {

  private static final Location SPAWN_LOC = new Location(Bukkit.getWorld("spawn"), 0, 128, 0);
  @Override
  public String getIdentifier() {
    return "whatever.start.*.*";
  }

  @Override
  public void onCommand(CommandSender sender, String[] args) {
    String arg1 = args[0];
    String arg2 = args[1];

    // idk what to do with the args
    World world = SPAWN_LOC.getWorld();
    Sheep sheep = world.spawn(SPAWN_LOC, Sheep.class);

    sheep.setCustomName("I am a sheep!");
    sheep.setCustomNameVisible(true);
  }
}
#

idk

#

no need to nest

ebon ether
#

so basically your saying its right, but like make it more organized?

echo basalt
#

yeh

ebon ether
#

ok

lost matrix
#

This static looks problematic

echo basalt
#

could be yeah

#

if I init the command before the world loads

#

just pass it to the constructor

#

this is just an example, I'm not gonna init a new location every time

#

could make a singleton type deal

#

that runs whenever the command runs

#

bit better

ebon ether
#

whys it better to do that than just put it inside if statement?

#

Genuin question

echo basalt
#

intentation

#

flat code

#

your eyes go up&down when reading code

#

I also like adding a ton of empty lines

#

makes it a bit more readable imo

#

I even do it when writing essays n stuff

odd wedge
kindred valley
#

Anyone?

lost matrix
# near crypt ok

I made an alternative to changing the block.
It uses invisible shulker packets with a glow effect.

near crypt
lost matrix
#

Well i dont actually spawn it. I just let the player think that the server spawned it.

tardy delta
#

its just packets

#

the stuff isnt there, you just tell the client that its there

hybrid spoke
#

hallucination

tardy delta
#

drugs

near crypt
#

then i find it out myself

lost matrix
kindred valley
#

i can not find the posting screen on spigot

#

can someone post

quiet ice
#

?howtopostathread

undone axleBOT
hybrid spoke
quiet ice
#

That is all that they get

lost matrix
#

I made essentials in skript and want post

quiet ice
#

To be honest I very much expect such responses considering that at some point I blocked them

pulsar parcel
#

Hi, I'm trying to make a plugin that would spawn a villager, add it to a colored team, and then show the number of villagers in that team. So far I have a ready scoreboard (https://pastebin.com/NCSSkLzC) and now I'm thinking about how to spawn the villagers. I know that it can be done using spawnEntity, but I don't know how to put the entity in the team. Does anyone have any ideas?

hybrid spoke
#

leave a like if i could help you

heady spruce
#

hi, im trying to do something like a kit that every time you get 5 kills your things get upgraded, but I dont know how to know if a player gets 5 kills more. anybody has an idea

lost matrix
hybrid spoke
iron glade
# hybrid spoke leave a like if i could help you

This reminds me of this one guy on the forums adding this "Please leave a like if I could help you" to every single one of his posts, which were just copied from some good answer before him lmao

tardy delta
zealous osprey
#

hmm

tardy delta
#

ofc i forgot how all of my stuff works lol

zealous osprey
#

._.

#

Imagine writing code to be "useful" and then forgetting how to use it... couldn't be me

tardy delta
#

hmm fun syntax too

tender shard
tardy delta
#

wondering if node.token will be takes first and then node = node.next will be executed πŸ‘€

echo basalt
#

I got more likes from reviewing a time tracker, than my packet tutorials

tender shard
#

it's the same as node = node.next; node.token

tardy delta
#

ah

echo basalt
#

I don't know how else you'd see it

tardy delta
#

why does all this code hates me

echo basalt
#

code is like my family

#

hates me and refuses to cooperate

tardy delta
#

i invented some weird algorithm and ofc i forgot it

echo basalt
#

I used to be better at math when I was a kid honestly

#

was able to do decimal exponents out of my head on like 8th grade

#

now I need a calculator to do 100-5

pulsar parcel
#

Why can't I add effect bad omen with p.addPotionEffect(PotionType.BAD_OMEN) ?

tender shard
#

because a PotionType is not a PotionEffect

drowsy helm
#

Needs a strength and duration

tender shard
#

a PotionEffect is a PotionType + duration + amplifier + more (optional)

pulsar parcel
#

oh thx

tardy delta
#

because your damn ide will screw at you lol?

tender shard
tardy delta
#

do people even read ide warnings

odd wedge
#

not ususlly

echo basalt
#

I mostly learned java just from the IDE yellin at me

#

sure I had some basic C# experience from when I was like 6

#

but the IDE is a great teacher and is generally better than you

tardy delta
#

c# experience at six yo 🀑

#

i could only dream of that3

echo basalt
#

I made bots for flash games

#

because I had no friends

#

I still barely have any

tender shard
#

ah yes, bots for flash games

echo basalt
#

yessir

tender shard
#

I had soooo much money in club pengiun

echo basalt
#

played a sandbox game that was basically a 2d canvas where you placed blocks n shit

tardy delta
#

i dont know any of that stuff

echo basalt
#

made a bot that generated mazes

#

that would close in on you

tender shard
#

but it's hard to explain what it was

echo basalt
#

pass the maze and you get some coins you could use at a shop

#

sabotage friends n all

tender shard
#

my igloo looked something like this lol

echo basalt
#

fancy ahh mf

#

I never played club penguin

tardy delta
#

damn

echo basalt
#

we should make club penguin in minecraft

#

what if I made a flash renderer with my imageboard system

#

I can render like 20fps smooth

#

that's about as much as flash did

tender shard
#

damn there's a club penguin remake

#

gotta try this out now

boreal seal
#

hey why spigot removed my resources?

#

from what a reason

#

i dont even get notified about it

#

where can i see a reason for removing my resources on spigot?

worldly ingot
echo basalt
#

I was workin on something like that

#

like years ago

worldly ingot
#

I'll check

echo basalt
#

.

#

nvm linked wrong chat

zealous osprey
tardy delta
#

i love friendly bytebufs

boreal seal
#

its still exists

#

but

echo basalt
worldly ingot
echo basalt
boreal seal
#

oh man do you want to see my git resp?

worldly ingot
#

You mean to tell me it's open source but you still obfuscated it? lol

hasty prawn
boreal seal
#

if u read the description a person asked for it

#

so it was part of the deal

echo basalt
#

choco if you really want to

boreal seal
#

i dont see any problem this is deobsf

echo basalt
#

and this is something I might regret later

#

we could maybe work together on a clientside entity api

boreal seal
#

and you clearly can see its not an harmful code

echo basalt
#

clientside entities are something I've done countless times

worldly ingot
#

I downloaded the latest version

echo basalt
#

yet still keep writing from scratch

worldly ingot
#

It crashed my decompiler

#

It's obfuscated

eternal night
#

pls don't pull a half packet API into the api kekw

echo basalt
#

hardcode protocollib into spigot

eternal night
#

clientside entities are so much better done by a library out there

lost matrix
eternal night
#

that one already goes brrr

echo basalt
visual tide
echo basalt
#

still gotta work on an official API for making fake blocks persist

worldly ingot
#

That's the point of Bukkit. To abstract away packets. If you can send a client-sided entity via API, you should be able to do that

#

We want you to use API every step of the way wherever possible

echo basalt
#

choco

#

quick question

#

can we please

#

optimize image rendering

#

in itemframes

worldly ingot
#

On... the client...?

echo basalt
#

pasting it with bukkit and rendering is so slow

eternal night
#

A client side entity would need a basically entirely new entity API, none of the existing classes are remotely close to support "virtual entities"

echo basalt
#

takes like 40ms to set all the pixels and render

#

per frame

lost matrix
worldly ingot
echo basalt
#

pretty sure the current map api just sets each pixel manually

boreal seal
echo basalt
#

and I literally mean calls setPixel(x, y, color) manually for each pixel

boreal seal
#

and this is what he asked for

echo basalt
#

and recalculates cursors for each pixel

eternal night
#

entity expects to be in the world. Which would not be the case

echo basalt
#

it's god awful

boreal seal
#

so i did upload it the way he wanted

#

and the description says the same

hasty prawn
#

Sounds like you have a PR to do Illusion PepeLaugh

eternal night
#

half of its methods depend on the fact that it is linked to a world. What does getLocation do ? How is its state tracked

worldly ingot
#

Whether or not you uploaded it to their specification isn't relevant πŸ˜… Their specification is against our rules on obfuscation

eternal night
#

its grounded nowhere outside of the client

boreal seal
#

sec ill take alook into the rules

echo basalt
worldly ingot
#

In NMS, Entity instances can exist without being in the world

boreal seal
#

what

#

its not against the rules

#

Choco bring it bakc now

worldly ingot
#

They have to be explicitly added via world#addEntity() (or whatever it's called)

worldly ingot
#

My guy

echo basalt
#

crashing decompilers is against the rules I think

lost matrix
boreal seal
boreal seal
#

Read it

worldly ingot
#

You read it

eternal night
#

Like, wtf is Entity#setVelocity gonna do on a client side entity ?

echo basalt
worldly ingot
#

I'm a moderator of like 3 years. And was a resource staff member for a year. I'm familiar with the rules

eternal night
#

will the server tick a virtual entity ?

#

will it just not work

worldly ingot
#

Probably nothing

#

That's why I said "very primitive"

boreal seal
#

its in that list

eternal night
#

Yea but "very primitive" feels like "just leave to the community"

boreal seal
#

and there no string obfuscation

echo basalt
#

just enough to spawn entities and maybe make em look places

eternal night
#

same with like permission implementation

echo basalt
#

client sided entities aren't meant to persist or be ticked by the server

#

just ease of use for the api

eternal night
#

Yea but that is not defined in the API contract of existing entities

worldly ingot
#

Allatori is allowed, but crashing decompilers is not

boreal seal
#

mine doesnt crash

eternal night
#

if you get a Zombie instance from spawning a client side entity

boreal seal
#

My decompiler works just fine

echo basalt
#

who says we need to use the existing api

#

we can make a FakeEntity interface with half the methods

eternal night
boreal seal
#

if your decompiler is setup not correctly

worldly ingot
#

It actually says "You may not use string encryption on free resources"

eternal night
#

mirroring API sounds great

echo basalt
#

yessir

worldly ingot
#

I see string encryption

lost matrix
odd wedge
#

?paste

undone axleBOT
echo basalt
#

evan your code probably isn't even that good to be worth safekeeping

boreal seal
#

there no free

#

string resources

eternal night
#

realistically, spigot at one point just has to make a clear diff between a spawned and not spawned entity

boreal seal
#

arent included in demo version

eternal night
#

after that "split" exists

boreal seal
#

he just tries to proof he is correct

#

when the mod is wrong

#

and they took down my Art for no reason

eternal night
#

you could easily create a not spawned entity as a client side entity

echo basalt
#

Art

worldly ingot
#

Dude I'm so ready to kick you'

#

Remove or loosen your obfuscation

#

It's not coming back otherwise

echo basalt
#

obfuscation most often only makes code slower

#

denuvo games that got cracked got much better performance after the crack

eternal night
odd wedge
boreal seal
echo basalt
#

your plugin isn't the newest call of duty title, obfuscating a free plugin only brings crappy performance and nothing else

worldly ingot
#

Have fun on BBB

tardy delta
#

streams slower

echo basalt
#

Have fun on MCBBS

boreal seal
worldly ingot
tardy delta
#

i wanted to say smth but i will not kekw

boreal seal
#

ill go backwards to bukkit

eternal night
#

yOu sHouLd cHeCk oUt hAnGaR fOr yOuR oBfuScaTed pLugIn kappa

echo basalt
#

Hey, I saw this very interesting plugin and I'd like to ask if I can re-upload it to MC-BBS (https://www.mc-bbs.net/), I'll give all credit to you, as the original author.

Thank you!

odd wedge
boreal seal
#

oh

#

ik it

eternal night
#

readability

boreal seal
#

its that chinese website

#

lmao

wet breach
odd wedge
lost matrix
eternal night
#

not on that level no

echo basalt
#

mister choco is considered a meme on this community but mans still got common sense

boreal seal
#

his outdated

#

why do he even go against it its demo version

eternal night
boreal seal
#

it doesnt have string obsf

#

DEMO

worldly ingot
boreal seal
#

doesnt have string methods

odd wedge
#

Imagine obsf anyways

wet breach
# boreal seal his obstufactor

Arguing with the staff regardless isn't going to do much and is against the rules to do. Its either you play ball or not at all.

eternal night
#

kinda cringe to obf smh

odd wedge
#

No real reason to do it

echo basalt
#

I think I've only used streams on a context where it's actually better to do so, once.

boreal seal
#

haters reported my shit

eternal night
#

hmmm but if minecraft plugins are cringe

#

and you obf them

odd wedge
#

lol

#

I meant to obf them

eternal night
#

ah xD

#

yea true that

odd wedge
#

If someone wants to get access to your src they will

#

Just a waste of time

echo basalt
#

mans obfuscating his own code to hide how awfully it's written

odd wedge
#

Now that's a smart move

echo basalt
#

I've rebuilt obfuscated world generators, even updated the nms

odd wedge
#

I would do the same ngl

echo basalt
#

took me like 4 hours for a huge project

wet breach
# boreal seal haters reported my shit

Anyone is free to report resources free or otherwise. We do have some people that review basically all the resources that get submitted for nefarious things. But you can choose its because people hate it or something lol

odd wedge
#

But plugins

eternal night
#

I mean, even minecraft source these days

#

pls shared source 😭

#

wen

echo basalt
#

should I make clash of clans with imageboards

odd wedge
#

It's not that hard to reverse engineer it

echo basalt
#

I'm actually considering it

boreal seal
#

so thats kinda bullshit

odd wedge
#

Just takes time

eternal night
#

it isn't but like, I want proper variable namings in methods

#

and I don't wanna use loom parameter names

echo basalt
#

paperweight gives mostly nice names

odd wedge
#

You don't like p_w143 etc?

eternal night
#

perfection

wet breach
odd wedge
eternal night
boreal seal
#

i can find you few year old plugins that are obsfacted

odd wedge
#

It's not hard to understand the variables

boreal seal
#

way more and staff just keep eye away

#

so its funny.

odd wedge
#

But it's a headache

echo basalt
#

mister choco is such a hater

#

πŸ™„

boreal seal
#

nah its not choco

wet breach
boreal seal
#

i bet frostalf

echo basalt
boreal seal
#

where they get their salary

#

from my donation?

echo basalt
#

It's funny seeing a minigame plugin with 5k lines on the main class

boreal seal
#

kinda messed up donated spigot any money at all

wet breach
#

all staff are volunteers

crisp steeple
#

why use an obfuscator to make decompiled code unreadable when you can just use kotlin

eternal night
#

salary is the tears of people that obfuscate

echo basalt
#

I give a 4/5 for code quality and they start flaming me on my profile

odd wedge
#

Do people still have licenses for premium plugin

odd wedge
wet breach
#

Java was never designed to protect code

odd wedge
#

Hence why it's easy to reverse engineer it

echo basalt
#

why crash decompilers when you can crash people's minds

wet breach
#

originally Java was marketed to the Enterprises where stealing comes with steeper penalties then it does for an individual and easier to check/verify of such things πŸ˜‰

worldly ingot
#

Dude you're dying on a hill that doesn't make any sense. You've obfuscated a free plugin that would have ended up being 7kb. Relax.

boreal seal
#

why people would decomplie my plugin in first place

icy beacon
#

is there a cafebabe command to list all embeds here?

odd wedge
echo basalt
#

pull a Rollercoaster Tycoon move and write 99% of the code in assembly

odd wedge
#

To crack them

boreal seal
#

the resources i made was for the community that were suggest by people

wet breach
boreal seal
#

in the community

crisp steeple
odd wedge
#

Fuck it i'm rewriting a minecraft server in c++

boreal seal
#

frostalf go check that code

#

take a half min look

#

and realize

lost matrix
#

Just write native methods and provide dlls written in C

boreal seal
#

theren othing

#

harmful

worldly ingot
#

"How could Spigot do this to me"

lost matrix
#

XD

wet breach
icy beacon
#

is there a cafebabe command to list all embeds here?

boreal seal
#

you will volounteer as well

#

πŸ’€

wet breach
boreal seal
#

go try hard here

crisp steeple
echo basalt
#

too young for that :(

eternal night
#

😭

lost matrix
icy beacon
wet breach
#

been waiting to at least apply for that XD

crisp steeple
eternal night
#

conclure shall remain best discord helper

boreal seal
#

for real

#

7slime7 is the real hero

odd wedge
lost matrix
#

They where only open once when they where introduced. And that was during my exams.

eternal night
hasty prawn
#

7smile and frostalf for discord helper or we riot RIOTERS

odd wedge
eternal night
#

hmm

#

friendly fire

odd wedge
#

Shit country πŸ€·β€β™‚οΈ

icy beacon
#

xD

wet breach
worn tundra
odd wedge
eternal night
#

LOL

odd wedge
#

Especially when it comes to csgo

worn tundra
odd wedge
#

Ya'll are just a worse version of sweden

wet breach
odd wedge
#

finland

lost matrix
worn tundra
#

Look at the ikea kΓΆttbuller talking

wet breach
echo basalt
#

I should apply for discord mod

#

I'm already a neckbeard

hasty prawn
#

Minimum

odd wedge
#

It's a proven fact that you need to have them

hasty prawn
#

Absolutely

wet breach
lost matrix
#

Ah yes. And my little pony or some cringe anime pfp

odd wedge
wet breach
#

it is a weird coincidence

echo basalt
#

my beard refuses to grow outside my neck

#

I got ukraine president beard

odd wedge
wet breach
odd wedge
#

I've always been able to buy tobacco and alcohol products

iron glade
#

Same hahah

wet breach
#

now you are not counting as having a beard when its like strands of hair right?

echo basalt
#

cashiers look at me weird when I pull the paypal card out of my wallet

wet breach
#

ok, I had a friend who had a full grown one at that age

odd wedge
iron glade
#

hit the gym > beard growth goes boom

wet breach
odd wedge
echo basalt
#

only gains I got from the gym, were stretch marks

wet breach
odd wedge
#

I know

iron glade
odd wedge
#

My dad looks like he is 50 and 30 at the same time because of it

odd wedge
#

Some hair sure

#

But not too much

wet breach
iron glade
#

shouldn't just be some forrest imo

#

removing it entirely always irritates my skin like hell

wet breach
#

the reason to not have hair on your chest is because for one it will make you sweat more and second because it makes you sweat more it means you will stink more easily

odd wedge
odd wedge
odd wedge
iron glade
#

fast growth*

wet breach
#

which is not good

iron glade
#

^

odd wedge
#

Could be good

iron glade
#

been to the gym a couple years and I barely have any besides gaining like 20kg

odd wedge
#

My whole back is full of stretch marks since I grew from 5'7 to 6'3 in a summer

#

They aren't that visible anymore though

wet breach
odd wedge
#

You can only see em if you try

wet breach
#

hair also absorbs liquids therefore it will make you stink more easily.

iron glade
#

shower once a day

wet breach
wet breach
#

not sure I know anyone who showers without soap

odd wedge
#

Shower gel etc

iron glade
#

mostly when having sweat like hell I just do a short cold shower without soap and stuff

echo basalt
#

Don't talk to me about no sweat

odd wedge
iron glade
tardy delta
#

hot shower yes

odd wedge
tardy delta
#

😭

echo basalt
#

I've tried clinical deodorants n shit

tardy delta
#

i like hot showers even in damn summer

echo basalt
#

nothing worky on me

iron glade
tardy delta
#

😈

wet breach
echo basalt
#

taking a shower after sweating is a bit ehhhhhhhhhhhh

#

I'd be aquaman

wet breach
#

Since most people don't do that, this is why some people break out more with acne from taking a shower

molten hearth
#

Better than being sweatman

tardy delta
#

dirtman

echo basalt
tardy delta
#

sweatman hehehe

wet breach
echo basalt
#

paid 10$ for some tiny ass roll-on deodorant that makes my hands hella chalky for 5 minutes

echo basalt
iron glade
#

there's one where you can't sweat iirc which can be quite dangerous as the body can't regulate its temperature properly

wet breach
#

they pay good money for people to try on deodorant and let someone smell them

tardy delta
#

hmm smelling sweaty people

iron glade
#

dream job

tardy delta
#

best job ever

wet breach
odd wedge
#

I got paid to do medical drugs

echo basalt
#

the 2 extremes

#

in my case, childhood was traumatic as people hated socially interacting with mister sweatyhands

echo basalt
#

on the other extreme, mf is so hot he can't even cool down

odd wedge
#

I once got paid to try mdma at a medical research

wet breach
# iron glade oh damn :(

its actually not too bad though. He can be outside and what not, but if we are sweating then that means he is hot and needs to be somewhere where it is cooler

#

but like, he isn't going to over heat immediately though

odd wedge
iron glade
wet breach
# iron glade oh damn :(

just a note on the regulating body temperature thing, while although most people notice or are more aware about the part of over heating. The other side effect that comes with it, is they can't properly heat themselves either.

#

so, just because he can't stay cool on his own, doesn't mean he can also stay warm lol

wet breach
iron glade
#

So winter isn't like better than summer for them

echo basalt
#

I can't tell if the worst part of constantly sweating is winters

#

ever had to sanitize your hands in the cold ass winter?

#

yeah it's like that but always

wet breach
#

so its common, while he is indoors, that he has a blanket on too lol

#

otherwise his arms and legs get too cold XD

iron glade
#

lol :c

wet breach
#

it is actually an odd thing to think about, that you can actually get hypothermia in the summer time

iron glade
#

Doesn't modern medicine offer something to help with that?

wet breach
#

nope, because that condition stems from the cerebrum

#

which isn't really an area that doctors can control or really do anything with lol

iron glade
#

damn

wet breach
#

he also has cerebral palsy

echo basalt
#

neuralink

wet breach
#

well he has a list of other things too but like its too much to type here lol

#

he gets 6 different kinds of seizures, has optic dysplasia etc

echo basalt
#

geez

iron glade
#

Considering myself lucky only having a house dust allergy at that point

echo basalt
#

considering myself lucky for having no allergies

wet breach
#

it is just a matter of being more sensitive to it or not

iron glade
#

Sadly I'm sensitive af to it

wet breach
#

For example, I am more sensitive to mosquito bites. I could say I am allergic but everyone is lol. If I scratch the bites, that small bump becomes the size of a baseball XD

iron glade
#

at some point it was so bad that I woke up with sratched up arms and stuff

wet breach
cobalt thorn
#

Hi im trying to make a zombie with Redstone particle with color and im using a method for convert image to particle vector https://sourceb.in/EYvvDxdKBf but the image doesn't show on the Zombie

echo basalt
#

we're here

#

lol

#

this is not general

cobalt thorn
wet breach
#

sorry

#

thought it was general

cobalt thorn
iron glade
wet breach
#

just because your don't break out in hives, doesn't mean your body still doesn't release the chemicals that causes hives

#

just means your skin became used to it

#

Benadryl generally helps with such things though

iron glade
#

yes I bet, should test for it again soon, my last test at how sensitive I am to it was like ~ 2 years ago

#

the scala went from 0 - 100 iirc and it just said "> 100" lmao

wet breach
#

lol

iron glade
#

the previous test was at around 80

hasty prawn
iron glade
wet breach
iron glade
#

ikr

wet breach
#

Yeah and you shouldn't need to take a whole lot of it either if you do try it

iron glade
#

it got noticeably better when I got one of those Dyson air cleaners too tbh

wet breach
#

if you are going to use the liquid, shouldn't need anymore then 5-10ml's

#

if going for the tablets, then 1-2 tablets. Regardless of which, both take approximately 30 minutes to work

wet breach
cobalt thorn
hasty prawn
#

Ah lol

wet breach
#

Most people that I know of, forget they even have air filters for their HVAC

echo basalt
#

should I post an imageboard api on spigot πŸ€”

iron glade
wet breach
#

but it could also just be because I have been taking care of my special needs brother for so long lmao

echo basalt
odd wedge
wet breach
echo basalt
odd wedge
near crypt
#

how can i stop a shulker from teleporting when he gets damage

wet breach
odd wedge
#

There should be a command that tells people to always:

  1. Check the Javadocs
  2. Google your problem
  3. Ask about your problem here
echo basalt
#

this

pulsar parcel
#

can I use team.addEntry to add mob to team?

odd wedge
#

I don’t mind people asking but if your problem can be solved by looking at the docs or googling then it’s eh

agile anvil
iron glade
#

Is there a way to "lower" my plugin's command priority? There's another plugin having the same command and in that case I want the users to be able to use that other plugin's command before mine. For mine they'd need to do /<plugin name>:<command>

pulsar parcel
agile anvil
tawdry python
#

How can I disable slf4j-log4j12 logs?

agile anvil
#

To convert to string: String.valueOf

agile anvil
tawdry python
near crypt
#

how can I hide a entity completely without the particles?

agile anvil
agile anvil
near crypt
#

wdym? is it an event? @agile anvil

tawdry python
agile anvil
undone axleBOT
agile anvil
tawdry python
#

How can I copy the console? there's no way

#

Console localhost

agile anvil
#

Or just dm me a screenshot

tawdry python
#

My bad

near crypt
agile anvil
#

Well if you don't want Player a to see Entity e, just a.hideEntity(pluginInstance, e)

#

so for all players, just loop over players

near crypt
#

ok

tawdry python
agile anvil
tawdry python
#

yes

sage patio
tardy delta
#

what console lol

near crypt
#

Why is the Shulker not glowing in game?

wet breach
agile anvil
zealous osprey
worn tundra
near crypt
tawdry python
#

this plugin slf4j-log4j12

worn tundra
near crypt
#

yes

worn tundra
#

And the shulker spawns, right?

wet breach
#

are you using /reload ?

tawdry python
#

slf4j-log4j12

near crypt
#

after that this is comming

#

it teleports the shulker where the player is looking

#

so to the target block

#

its a runtasktimer

worn tundra
#

Does everything else work?

#

Does changing its display name work?

near crypt
#

it looks like this

agile anvil
near crypt
#

in game

#

so its spawning but everything else wont work i think

worn tundra
#

Does it work with another entity type?

agile anvil
near crypt
#

ok

tawdry python
agile anvil
undone axleBOT
tawdry python
#

I use a lot

#

but ok

rare flicker
#

is there a way to retrieve minecraft's default potion names?

getVanillaPotionName(PotionType.NIGHT_VISION) => returns "Potion of Night Vision"

worn tundra
#

Unfortunately there isn't

near crypt
#

XDD

worn tundra
#

Just like for materials

agile anvil
tawdry python
#

I paste

rare flicker
agile anvil
rare flicker
#

then, is there a way to override a potions DEFAULT effect?

#

for eg if i create a potion with the potionData of a night vision potions, it will always have the default 3:00 effect

near crypt
#

@agile anvil a custom name is working

#

wtf lol

rare flicker
#

(for thoses wondering, i'm trying to balance out potions so i need to be able to recreate them almost exactly)

iron glade
#

so that mine becomes lower priority -> I'd have to use /<plugin name>:<command> ?

wet breach
#

if your plugin loaded after. but really its about whichever registers the command first

rare flicker
#

like awkward potion, instant health etc

agile anvil
#

good luck

rare flicker
#

not too bad actually

iron glade
twilit roost
#

Why when I do this: pic 1
This happens: pic 2

sterile token
#

?paste

undone axleBOT
sterile token
#

Donde send picture

#

Because its imposible to help

twilit roost
#

ye sorry

iron glade
#

?stacktrace

sterile token
#

Thanks sir

#

Nines

iron glade
#

there should be a command like that linking to some thread explaining on how to read stacktraces

sterile token
#

Do you have domain ezperienc?

twilit roost
iron glade
#
        at java.util.Objects.requireNonNull(Objects.java:208) ~[?:?]
        at java.util.ImmutableCollections$List12.<init>(ImmutableCollections.java:564) ~[?:?]
        at java.util.List.of(List.java:829) ~[?:?]
        at me.tomkodev.nightwatch.gameplay.NWGame.<clinit>(NWGame.java:374) ~[NightWatch-1.0-shaded.jar:?]
        at me.tomkodev.nightwatch.worldgen.WorldPreper.setupGame(WorldPreper.java:111) ~[NightWatch-1.0-shaded.jar:?]
        at me.tomkodev.nightwatch.worldgen.WorldPreper.setupWorld(WorldPreper.java:100) ~[NightWatch-1.0-shaded.jar:?]
        at me.tomkodev.nightwatch.worldgen.WorldPreper.prepareNewGame(WorldPreper.java:58) ~[NightWatch-1.0-shaded.jar:?]
        at me.tomkodev.nightwatch.commands.JoinGame.onCommand(JoinGame.java:37) ~[NightWatch-1.0-shaded.jar:?]```
sterile token
twilit roost
twilit roost
iron glade
#

where do you initialize that list?

sterile token
#

JoinGame line 37

twilit roost
sterile token
#

Also if you are using paper they have their own discord for support

#

πŸ’ͺ

iron glade
#

can you show the snippet of that?

twilit roost
twilit roost
sterile token
#

Also please static getters 🀒

iron glade
#

what does prepareNewGame() do?

twilit roost
sterile token
#

I would straightlly recommend learning and using DI. Dependency injection

iron glade
#

^

twilit roost
tardy delta
#

?di

undone axleBOT
iron glade
#

well you'd have to change something for it to not work anymore

hazy parrot
#

Why is it bad to use getInstance?

iron glade
#

don't think code decides on its own "aight, i don't get paid enough"

hazy parrot
#

Class that extends JavaPlugin is singleton anyway

rare flicker
# agile anvil good luck

ended up rather simple :

public static String getVanillaPotionName(PotionType potionType) {
            switch (potionType) {
            case WATER: return "Water Bottle";
            case MUNDANE: return "Mundane Potion";
            case THICK: return "Thick Potion";
            case AWKWARD: return "Awkward Potion";
            case INSTANT_HEAL: return "Potion of Instant Health";
            case JUMP: return "Potion of Leaping";
            case REGEN: return "Potion of Regeneration";
            case TURTLE_MASTER: return "Potion of the Turtle Master";
            default:
                break;
            }
            String name = "Potion of ";
            for(String word : potionType.toString().toLowerCase().split("_")) name += word.replaceFirst(word.toCharArray()[0] + "", (word.toCharArray()[0] + "").toUpperCase());
            return name;
        }
twilit roost
#

well yesterday it was screaming for me, for not having initialized my main class
so I tried fixing it

sterile token
hazy parrot
#

What

#

There is nothing bad with using singleton pattern imo, I would like to hear your reasoning

near crypt
#

how can i set the color of a glow?

quiet ice
sterile token
#

I mean I havent seen profesional java devs using Singleton. Singleton its mostly used and recommend for libraries

hazy parrot
#

Doubt that

sterile token
#

Its something that people tells you but we dont really know why

quiet ice
hazy parrot
#

Also there is JavaPlugin method for getting instance of main class

sterile token
hazy parrot
quiet ice
agile anvil
quiet ice
#

Which I mean either way it will be

agile anvil
#

there is really no problem with it

quiet ice
agile anvil
#

People usually tell people to use di because they abuse of static methods, but it's something very different

sterile token
#

I mean I dont like static getters I think they cost more resources than just passing an instance thru a constructor

sterile token
#

And rolyn you are total ly right

#

Rolyn I was going to dm you but i think you blocked me

#

πŸ˜‚

rare flicker
#

not sure if theres another way than theses two

quiet ice
#

believe it or not invokestatic + getstatic is less resource intensive than getfield I believe

agile anvil
odd wedge
quiet ice
sterile token
#

I just want to know

near crypt