#dev-general

1 messages · Page 625 of 1

plain sleet
#

Hello, I would like to create a game and I would like to detect different states of the game (waiting for players, starting the game...). The problem being that I don't have only one game. Is it possible to manage these states for each world? (with enums or something else)

inner umbra
#

Game -> [Gamestate, Arena, Players]

plain sleet
#

? i don't understand

inner umbra
#

Create your own object

public class GameOBJ {
    private GameState state;
    private String arena;
    private List<UUID> players;
}
``` etc....
rotund egret
#

Object oriented programming moment

hot hull
#

and I oop

prisma wave
#

object oriented poo

sly sonnet
#

What could be the best way to count items that player added to a chest?

distant sun
#

ItemStack#getAmount 😬

sly sonnet
#

Count items on InventoryCloseEvent.

distant sun
#

Inventory#getContent and then sum the amount of all items?

#

Arrays.stream(inventory.getContent()).filter(Objects::isNotNull).map(ItemStack::getAmount).sum() this should do it I guess

inner umbra
#

Gotta cache from another event to check what items were added.
Example cache contents on inventory open and on inventory close check for the new items.

brittle leaf
keen harness
#

Where can i find spigot 1.7 jar?

sly sonnet
#

doesn't exist

keen harness
#

hmm

obtuse gale
#

not legally at least

hot hull
#

So in theory, let's say I want to make an app, which displays program shortcuts entered into it, and it always being displayed on the desktop. How doable would that be

static zealot
#

Very much doable

obtuse gale
#

You just reinvented the start menu

hot hull
#

Well yesn't

obtuse gale
#

lol

static zealot
#

If its windows u can't. You'd need widgets for that and in windows you can only place them in the start menu

#

I don't even know if you can make your own for Windows

hot hull
#

Can you actually customize the start menu to your liking?

#

I'm leaning towards no, but not sure

static zealot
#

Idk

#

Never tried

#

U can change its color :))

#

At least in 10

hot hull
#

oh you can customize it to some degree, that's nice

#

put r6 on my ssd, and this fcker opens instantly now lmao

static zealot
#

nice

forest pecan
#

Somebody know a verify discord in game plugin for spigot?

#

1.18/1.18.2

rotund egret
#

I do not

static zealot
brazen ether
hot hull
plain dragon
hot hull
#

Invalid token, just an fyi, so you don't waste time

static zealot
#

lol

plain dragon
#

ik lol discord scans gh for them

#

and automatically invalidates them

hot hull
#

mhm

manic vector
#

Yo guys

#

Any help?

sly sonnet
#

Somewhere in the world survival there are too many mobs in one place

#

i suggest adding some mob stacking plugin

hot hull
#

No

remote goblet
#

well if you want a stacker plugin

#

rosestacker supremacy ASevilFast

inner umbra
#

or wildstacker

rotund egret
#

OutbackStackhouse

manic vector
#

Yo guys

#

Any idea on how to disable creation of nether and end portal in a certain world?^

rotund egret
#

Those specifically, or all multi-worlds?

manic vector
#

just one of them all

manic vector
willow yew
manic vector
willow yew
#

PortalEvent

#

PortalCreateEvent or some shit maybe I’m wrong

manic vector
#

oh damn this is the dev chat

#

i know zero about coding

#

mb

#

sorry

willow yew
#

Oh rip you then

sick belfry
#

Should I learn kotlin?

#

I mean

#

it looks cool

rotund egret
#

Its pretty cool

cinder flare
#

try Scala ;)

humble silo
cinder flare
#

funnycube actually made my current snowy background

#

he is a very good artist lol

humble silo
hot hull
#

Getting this fuckery with IJ, cause something crashed when uploading, however I can't for the life of me find the git lock file

plain dragon
#

just cd into .git and rm -r *.lock

hot hull
#

Yea that actually worked, why doesn't it list the file at all smh

plain dragon
#

did u ls -a?

cinder flare
#

things that start with . are hidden unless you do -a

hot hull
#

It shows all the other hidden folders, just not this one

plain dragon
#

lol

cinder flare
#

weird lol

hot hull
#

Hence my confusion

plain dragon
#

but you can be sure any git repo has a .git folder anyway

potent nest
#

afaik hidden folders don't depend on the name on windows

#

it's just an extra attribute

cinder flare
#

oh yeah on Windows

#

it's all ACL-based

plain dragon
#

ohh Windows

pastel imp
#

how can I deal with the lack of datatypes SQLite has?

#

I wanted to use the exact same statements for both MySQL and SQLite although unsure if that's possible at all

old wyvern
#

stick to the minimal one, i.e. SQLite

pastel imp
#

Makes sense, but like, I got told SQLite and MySQL have some differences in the query, is that true? Cause if so I couldnt use the same query for both?

ocean quartz
#

Only when you get to more complex queries

pastel imp
#

Could you provide an example of a "complex" query?

ocean quartz
elfin basalt
#

upserts are also slightly different

#

if you're using something where you don't need to write raw sql like ebean or exposed, it'll translate it into whatever sql dialect for you

oblique heath
#

including sqrt

tight dune
#

anyone know a way to speed up cobblestone generation?

half harness
toxic umbra
#

Hello I have a small problem with deluxemenus The head does not want to appear While I did exactly the same thing as in the doc

#
    material: head (head-%player_name%)
    color: 255, 135, 0 #rgb
    slot: 4
    display_name: ' &8&l>>&a&l%player_name%&8&l<<'
    lore:
    - '&8Grades: %luckperms_prefix%'
    - '&8Money:  &e%vault_eco_balance%$' 
    - '&8Credits: &e%guiredeemmcmmo_credits% &6Gcoins'
    priority: 1```
obtuse gale
toxic umbra
#

okay sorry

obtuse gale
#

im trying to start my own server but dont know how o use plugins like world edit, if you can help please dm me. Thank you!

rose junco
#

does anyone know any discord server that actively helps with minecraft fabric modding

obtuse gale
#

yeah uh the fabric discord?

orchid stream
#

are there public libraries for inventory menus, scoreboard and tablist apis, for 1.18? im most used to developing for 1.8.8 so my libraries arent updated to 1.18

#

if so where can i find them, or a list containing similar

brittle leaf
#

non vanilla nbt data is wiped from everything but itemstacks on restart right?

potent nest
#

no

#

metadata is wiped

brittle leaf
#

so nbt data?

#

isnt metadata just nbt tags?

obtuse gale
#

no

#

metadata is basically just a Map in the server that is not saved

#

an item is essentially just NBT, and all of it is saved

brittle leaf
#

so custom nbt data for entities and tile entities is saved?

obtuse gale
#

yes

brittle leaf
#

was this always the case?

obtuse gale
#

well, I don't know about entities and tile entities

#

But for items yes

brittle leaf
#

items i know is yes

obtuse gale
#

Entities themselves don't really "have" NBT, that's only the serialized form of an entity and every relevant field is saved "manually", after all that's what the persistent data API in bukkit solves for custom tags

#

it's funny because the /data modify command serializes the entity, removes it and respawns it with the modified data

rose junco
obtuse gale
#

i need a dev for a box server dm me for more info!

remote bay
#

I wanted to know if there is a deluxechat alternative for 1.18.2

static zealot
#

Carbon Chat

remote bay
static zealot
quick adder
#

@here
@everyone

hellow guys have good time

i have a question , i have a minecraft server with a bungeecord server with 5 spigot servers.

that now i want set network-compression-thereload=

for my bungeecord and spigot servers

i have 50mbps dl/up speed network

What number do you think I should choose?

brittle leaf
obtuse gale
#

@here
@everyone

hellow guys have good time

i have a question , i have a minecraft server with a bungeecord server with 5 spigot servers.

that now i want set network-compression-thereload=

for my bungeecord and spigot servers

i have 50mbps dl/up speed network

What number do you think I should choose?

prisma wave
#

@here
@everyone

hellow guys have good time

i have a question , i have a minecraft server with a bungeecord server with 5 spigot servers.

that now i want set network-compression-thereload=

for my bungeecord and spigot servers

i have 50mbps dl/up speed network

What number do you think I should choose?

#

but yeah wrong channel mate

remote bay
obtuse gale
#

it can definitely do that

sly sonnet
#

@here
@everyone

hellow guys have good time

i have a question , i have a minecraft server with a bungeecord server with 5 spigot servers.

that now i want set network-compression-thereload=

for my bungeecord and spigot servers

i have 50mbps dl/up speed network

What number do you think I should choose?

forest pecan
#

man tries to ping here and everyone as if it does anything 💀

prisma wave
#

well it certainly got our attention

#

maybe that was the point

forest pecan
#

💀 yeah

zinc vapor
#

So is the idea about a vps is that you actually use it as a minigame server or do you split it into smaller separate servers

#

Because the cheapest ones I can find are like 32gb of ram and that makes no sense IMO to host something like a bedwars match

cinder flare
#

wtf lol

#

what VPSs are you looking at

#

sounds like a dedicated server to me

#

but yeah the best is getting powerful dedicated servers then running multiple servers on them

static zealot
hasty needle
#

yo luck perms sucks ass

hot hull
#

Not exactly, but sure

static zealot
#

This gut :)))

tough steppe
#

Good morning, I am new to this help services

ashen saffron
tough steppe
#

I want to talk with someone from support etc regarding some concerns in one of my servers can someone point me directions? Ty

ashen saffron
quiet depot
quiet depot
ashen saffron
#

ok

forest pecan
#

Somebody knows a plugin that gives extra loot in structures?

zenith fog
#

ive requested developer role 3 months ago and i still got no reply

#

im not asking to check but did something go wrong

prisma wave
#

No we're just lazy

zenith fog
#

oh..

ocean quartz
#

Mostly lack of time to review tbh

urban sleet
forest pecan
#

does it exist?

humble silo
#

Ok.... How do i submit a freaking bug report do minecraft, I dont have a Jira account, and all the sites that the OFFICIAL MINECRAFT BUG REPORT DOC links to create an account just bring me to the log in page... I cant join their discord for whatever reason and this is really starting to annoy me

obtuse gale
#

uh no idea honestly, I don't even remember how I got my account tbh, so long ago

obtuse gale
#

hey i need help anyone here

#

Is anyone hereeeee????

obtuse gale
#

@chilly zenith

#

@chilly zenith

inner umbra
compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

woeful zodiac
#

anyone here tried aegis (bungee fork) before?

static zealot
woeful zodiac
#

would if it had a larger library of plugins

static zealot
#

pretty sure you can install one plugin and all bungeecord plugins will just work

#

the Snap! plugin or whatever its called

woeful zodiac
#

im strictly against these compatibility layer plugins. i dont wanna touch them :(((

#

ill stick to waterfall for now.

#

last time i tried aegis, it broke everything. infinite stack traces. however, i thought it might be worth a shot now.

#

velocity soon™️ (when plugin devs start switching)

obtuse gale
#

many have, what plugins do you even need on the proxy?

cunning portal
regal nimbus
#

so I wanna use a command in a NPC (citizens), but wanna disable it as a usable command - is this possible?

old wyvern
brittle leaf
#

while developing plugins how do i stop loosing motivation?

#

actually, while coding how do i stay motivated

ocean quartz
#

Getting paid is usually a good motivation

obtuse gale
#

yeah

#

can't relate

sick belfry
rotund egret
#

Take a deposit and take rest of payment after work is done

inner umbra
# sick belfry sus

I hate that bs. And there is no configurable option. If I want messages blocked I'll block them.

obtuse gale
#

that's not a message from a blocked person tho

inner umbra
#

You have to click on it to read it.

half harness
#

btw Yugi
what happened to SlimJar?
💀

forest pecan
#

slimjar died 💀

#

revive

half harness
forest pecan
#

💀

half harness
#

although maven local would prob work but for Github Actions/CI...

#

and maven local = less reproducible builds

lavish notch
#

Wants a custom /shop plugin for no valid reason.

rotund egret
#

What's new
Same shit, different end user

lavish notch
ashen saffron
static zealot
#

how is the api bad? I Think its pretty great. And what about the docs sucks more than bungeecord? They have the javadocs + some written documentation.

ashen saffron
#

they gave java docs

static zealot
#

hmm?

obtuse gale
#

huh

ashen saffron
#

they have*

static zealot
#

is that a question? then yes

ashen saffron
#

then my bad

#

i thought they didnt have one

obtuse gale
#

what kind of plugins do people run on proxies?

ashen saffron
#

multiserver alerts, economy

#

ranks, data saving

#

auth

#

ip bans

#

bans in general

obtuse gale
#

ah right banning isn't a thing by default in proxies

ashen saffron
#

no i dont think so

#

not in bungee

mighty finch
potent nest
#

Why would you use 1.16.4

#

Also, it mentions a plugin in all the stacktraces, looks like it’s loading a lot of chunks synchronously

brittle leaf
#

looking at it movecraft doesnt support anything above 1.13 but even then its github says 1.12.2, so you cannot use it on 1.16

#

oh, theres a 8.0.0

#

still, if its lagging your server then just remove it

#

or atleast i assume it is cus this is the developement general, which isnt about minecraft server developement, more the plugin developement part or really coding in general

obtuse gale
#

Anyone know how can I create a custom kick messages?

#

Like

MY NETWORK <<

You're banned - #ID

Appeal here [mylink]

#

I know (I think) with a "|-" I can create a message down and down, like this:

    authentication-servers-down: |-

Testing this, hello!
Custom Message

    connection-throttle: Connection throttled! Please wait before reconnecting.
    flying-player: Flying is not enabled on this server
    flying-vehicle: Flying is not enabled on this server```
Or something like, but I can't remember
distant sun
obtuse gale
pliant dagger
#

Anyone know a decent course on Android app development that includes use of API stuff?

rotund egret
#

The android development website has a pretty good crash course

pliant dagger
raven robin
#

Hey any, Minecraft Developers want to help out with my Minecraft Server, It has over 9000 Members and I need developers to work on my new Update.

If you are interested please contact me by dm me.

rotund egret
#

No pay, only free

agile galleon
#

9000 members and you won't even pay your developers? hahah omg have fun finding some ☠️

#

Wait you're a different person

#

How do you know

raven robin
#

Hey any, Minecraft Developers want to help out with my Minecraft Server, It has over 9000 Members and I need developers to work on my new Update.

If you are interested please contact me by dm me.

Budget : 5 - 10$ US
1 week

agile galleon
#

5-10 per what?

raven robin
#

1 week

agile galleon
#

dude what

#

lets say the devs work 2 hours (thats not much) 5 days a week, which is 10 hours per week, may pay, 10 dollars, 1 dollar per hour

obtuse gale
#

🥴

rotund egret
#

Worth

#

Might be too much ngl

hot hull
#

definitely too much

dawn island
#

Too low of a pay per hour for that amount of hours

#

As unless you are getting kids who are beginners I don’t think you’ll find devs at all at that low of a per hour rate.

hot heron
#

Yeah, that's basically free lol

sly sonnet
little sandal
sly sonnet
#

damn ,i know russian too

little sandal
oblique heath
#

i know russian too)

orchid stream
#

i think you are forgetting the fact his server has 9000 members and he can only afford 5-10$

rotund egret
#

Really only worth $1 if that

#

Who needs money anyway

hot hull
#

What's the best language to use for a discord bot, not talking performance, or simplicity, but overall just what you deem the best language for it to be

prisma wave
#

I think discord.js is the best library

#

Which I guess answers the question

#

But typescript of course

#

JVM is also fine I guess

#

Discord4J > JDA

neat obsidian
#

Jda is my go-to, I now also use the beta triumph command framework with it

#

Which makes it super nice to work with

hot hull
#

jda ass

static zealot
#

explain

prisma wave
#

boring

#

Listener API is annoying

half harness
prisma wave
#

ListenerAdapter is cringe

static zealot
#

true

half harness
#

🤔

#

oh do u like bukkit's version better

static zealot
#

everything in this world is cringe tho

half harness
#

like Bukkit's @EventHandler

#

idk 🤷

static zealot
#

I like WinFrom's version better kek

half harness
#

WinFrom's?

static zealot
#

Windows Forms

prisma wave
#

JDA is just boring

#

Nothing more to say

static zealot
#

boring != ass

prisma wave
#

Discord4J is reactive and interesting

#

Reactive streams my beloved

half harness
#

there's jda-reactor

prisma wave
#

and discord.js is splendid

prisma wave
hot hull
#

discord js is nice enough yea

hot hull
static zealot
#

how much ass is it fucking tho?

hot hull
#

Yours clearly

static zealot
#

I did not ask who's ...

runic pulsar
hot hull
#

turn off advanced tooltips

static zealot
#

this . F3+H.

runic pulsar
#

love you all

#

tyvm

graceful light
#

Is there a way that my program can log whenever a class is used? Im trying to find a problem in like 100 files.

obtuse gale
#

what

#

"whenever a class is used"?

hot heron
#

Just add logging inside that class

rotund egret
#

I assume he means initialized? In which case you should be able to add a log in the constructor of said class.

viral grove
#

Heya, do you all know if a GitHub app's "App ID" should be a secret, or if it can be publicly exposed?

prisma wave
#

Pretty sure it's fine

primal gyro
#

could somepeep tell me how to make an custom gui

#

mine is smhw too small

late bramble
#

Should show up

#

Kody Simpson does a ok job at explaining it

elfin basalt
primal gyro
#

Is that it?

noble gulch
wintry plinth
sly sonnet
ocean quartz
#

https://repo.triumphteam.dev/snapshots/ for snapshots
Releases should all be in central

wintry plinth
#

oh

#

docs show old rip

ocean quartz
#

Which lib you using?

wintry plinth
#

Ayy got it, with mvn central, and the gui one

#

had to change the me.mattstudios too

static zealot
wintry plinth
#

ohhh I see

graceful light
#
    public static String getItemName(ItemStack item) {
        if (item.getItemMeta() != null && item.getItemMeta().hasDisplayName()) {
            return item.getItemMeta().getDisplayName();
        }

        net.minecraft.server.v1_8_R3.ItemStack nmsStack = CraftItemStack.asNMSCopy(item);
        return LOCALE.a(nmsStack.getName()); //NullPointerException here
    }

I get the NullPointerException on the second example below here, any idea why?

        //This does work
        ItemStack item1 = e.getCurrentItem();
        Util.getItemName(item1);


        //This doesn't work
        ItemStack item = new ItemStack(Material.BLAZE_POWDER);
        Util.getItemName(item);
long dagger
#

I got an image and used the unicode replacement system to change the look of this ui, but I am not sure how I can slide the image a few pixels to the right

#

It appears that minecraft has some padding there that I need removed

still portal
#

1.19 added a native system for space glyphs

sly sonnet
obtuse gale
#

how am I supposed to know

potent nest
#

the day spigot just disappears is what I'm dreaming of

glad linden
#

not a fan?

potent nest
#

hell no

glad linden
#

why's that

potent nest
#

it's a mess and md_5 doesn't care much about it

pastel imp
#

Paper > all

glad linden
#

Certainly not a lot of innovation happening from them

pastel imp
#

Idk why people still use the spigot api

#

Ew

glad linden
#

are we talking about their website or their server jar?

potent nest
#

yes

glad linden
#

fair enough

#

does MC-Market have an equally bad rep in your eyes?

potent nest
#

I don't use it, so I can't really say anything about it

pastel imp
glad linden
#

Glad to hear it! What makes it better in your eyes?

pastel imp
#

Depends on your needs, if your objective is to sell products, it’s def. Better in terms of limitations, freedom, support, safety, etc.

glad linden
#

How often does HelpChat host giveaways? I see you've got a role for it

pastel imp
glad linden
#

Oh cool. Might get in touch and see if I can contribute some stuff when that happens

pastel imp
#

Feel free to do so

pastel imp
glad linden
#

Only gotta be Premium to upload paid products, all users can upload free products

#

But that'll likely be changing some time this year

pastel imp
#

Oh okay, my mistake then.

#

To be honest, I am not totally informed, only did some research, but I plan on going into MCMarket once I start selling some plugins.

glad linden
#

Spigot's certainly bigger though, no denying that. We're working on some SEO stuff and have been growing quickly, but it's an ongoing and long-term process to be sure

#

Super glad to hear it, what's your MCM username?

pastel imp
#

Only noticed you were the owner of it now, lol. Uh, it’s MrAfonso, has nothing posted in it.

glad linden
#

oh, sorry, yeah, that's me!

pastel imp
#

Ye, it’s fine, I mean, wouldn’t change my opinion either way

glad linden
#

Hi gamer!

pallid gale
#

Howdy

glad linden
#

How's it going mr cube

pallid gale
#

irl busy

#

But that's always good

glad linden
#

busy is good

#

Upgraded you now @pastel imp, looking forward to see oyur plugins

obtuse gale
#

I've never used MCM but always the "bad things" I've heard about "it" are actually about the reputation of some bad sellers lol

pallid gale
#

Gee, I had to pay for my own upgrade and didn't even upload anything haha

glad linden
#

@pallid gale I'll give you 25 Premium upgrades to give away here to make up for it :^)

pallid gale
#

I was gonna release something, just never got around to it

#

Remind me in November when I open it up

glad linden
glad linden
#

Not keen to do a giveaway before the December one?

#

I'm definitely keen to work out a way for us to partner up/collaborate on something

pallid gale
#

My dms are open to slide into whenever

glad linden
pastel imp
#

Will give it good use.

glad linden
#

🙂

sly sonnet
#

👀

lavish notch
# glad linden 🙂

A little late to the game, but you mentioned about the possibility of free users being able to post paid resources.

Does this mean the Seller API will still remain on the Supreme plan? (ie. for fetching things like buyer lists, etc)

brazen ether
#

you ever just add a fake player to the minecraft player list and then it tried to send packets to said fake player and then your server crashes?

#

it's annoying

prisma wave
#

no

brazen ether
#

i wanna try to make minecraft try to send packets to a cow

#

i feel like that would be funny

prisma wave
#

😵‍💫

rotund egret
#

Just don't and say you did

elder berry
#

Packet Cow

brazen ether
#

is that supposed to be like a test to see if i'm russian or not

rotund egret
#

Yes and you failed

brazen ether
#

well you're wrong because i am, in fact, russian

rotund egret
#

I didn't say you weren't

#

I just said you failed

glad linden
oblique heath
brazen ether
#

damn

arctic wyvern
#

Hey guys @rotund egret @oblique heath @glad linden @brazen ether can you help me out

rotund egret
#

Probably not

arctic wyvern
#

lol for real haha

rotund egret
#

Yeah for real haha

arctic wyvern
#

so I gifted my friend nitro classic but it did not have boosting

#

so I gifted him nitro and he accepted

#

but I think the classic one is still applied

#

so if he cancels that, will the discord nitro come into play ?

#

@rotund egret u there

#

?

rotund egret
#

?not-discord

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

rotund egret
#

There you go 😌

arctic wyvern
#

I want to live chat with someone

#

I cannot find answer to my question in there

rotund egret
#

That sucks brother, good luck

arctic wyvern
#

lmfao

brazen ether
#

why would you ping me

#

just why

#

because i saw that red notification thingy, and i was like "wow! finally someone might be able to help me with my pathfinding issue!" and then i'm here and i realize that i got pinged for no reason for something that shouldn't be in this discord anyway.

sick belfry
#

lmao

obtuse gale
#

lol

obtuse gale
#
void ToString(Character... Characters)
{
        for (Integer CurrentIndex = new Integer(0); CurrentIndex < Characters.length; CurrentIndex += new Integer(1)) {
                System
                    .out
                    .println(Arrays.asList(Characters).get(CurrentIndex));
        }
}
#

Rate the java 🥵

prisma wave
#

go directly to hell and don't come back

obtuse gale
#

😦

#
false=False + 1
def _(
    _
    ,
) ->false :
    if true:
        print (
            false == 0,
            );
    elif 1 :
        print (
            true == 0
            );

class _(
    ):
        0
muted badge
#

uhhh does anyone know how to enable warn command in a server

patent niche
#

scripts make making deluxe menu's so much easierr

#

i just did 1000 lines of code with an 70 line script

sly sonnet
humble silo
#

Anyone know what version minecraft(client) is gonna be on? Looks like its sticking on 17 for now but i cant find much online saying if thats gonna be the case till the next LTS or not

potent nest
#

they'll most likely stay on 17 but there are no official information about that

distant sun
#

Do you guys know a service similar to a paste service that allows to structure a paste/report with custom fields?
For example:

Config

config:
  here: ""

Settings

settings:
  here: ""
half harness
#

Uhhhh wdym custom fields?

dawn island
#

simply just use notepad and replace all? config: -> settings:.

distant sun
#

Let me explain better. I have this debug command that create a paste with various data, and currently everything is separated with just text https://paste.developerden.net/yvedanucub.log, I would like something where Versions, Plugins, Vouchers would be section headers and underneath it will be a text area with my data.

half harness
#

I think pastes.dev (sorta) has that with json/yaml/etc but I'm not 100% sure

#

I doubt any has the custom fields built in tho

distant sun
#

Yeah but, Versions and Plugins are just plain text (although I wouldnt mind some highlight for Plugins with diff to make text red and green) while Vouchers is basically json

dawn island
#

It may be easier to just run your own spinoff version, dedicated to those specific headers.

distant sun
#

yeah

dawn island
#

As I remember Piggy mentioning that the HC's one doesn't use a lot of memory/space, and if it's API only from your plugins then it should fine tbh.

distant sun
#

Space is not a problem since I don't need them to persist over time

wintry plinth
distant sun
#

yeah I will play with it when I get some free time

wintry plinth
#

Also really nice debug log, that’s nicely laid out. Might have a dig myself with log stuff, lots of possibilities you can do with it like markdown support etc

distant sun
#

exactly xD it will be fun

tame bane
#

Anyone know any good logo makers for my Server?

oblique heath
#

is there something in the spigot api to figure out how much time is left in a certain tick

#

a method which returns the miliseconds left before the tick exceeds the limit, or something similar

obtuse gale
#

I know paper has ServerTickStart/End events you could use

#

Spigot.. well, spigot doesn't mmlol

icy quest
#

hi does anyone know of a good recommended way to start learning how to code plugins? i've had people just say "just start" but i dont find that very useful given i don't know how to haha.

hot hull
#

There's a faq, but I forgot what it's called

compact perchBOT
#
FAQ Answer:

Online Courses:
Online courses are also great for learning java. Some websites that offer them are:

  • Coursera - Free unless you want a certificate
  • PluralSight - Great courses from what I've seen. Mostly Paid
  • Udemy - Never used them myself but they seem to all or at least most be paid.
    My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.

Oracle Docs:
Oracle docs can help a lot at learning and understanding java:

  • Start with this,
  • Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
  • Hit this.
    They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
    That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Other services:
Some other cool services that will help you learn java are:

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

distant sun
#

probably this

oblique heath
gusty glen
#

I was trying to build an old plugin of mine, when I realized Matt's repo is down for some reason, does anyone know what happened?

static zealot
#

you might be using the old repo

gusty glen
#

yeah for sure I was using the old repo, thank you so much Blitz

static zealot
#

👍

errant geyser
#

Does anyone know the name of that thing that shows how your project changed over time on like a file tree graph? I can't remember if it was an IJ plugin or not

distant sun
#

like this @errant geyser ?

errant geyser
#

No, it made a shape like this that updated every commit to show how the project grew over time

ocean quartz
#

Gource?

errant geyser
#

Looks similar, I'll have a look at it

dawn island
#

@errant geyser

#

Gaby sent this awhile back

errant geyser
#

Yeah it's not them

dawn island
#

Ah alright, thought I would send it just in case.

potent nest
#

ah yeah Matt already mentioned it lol

errant geyser
#

It's pretty much exactly what I wanted yeah, thanks guys

feral notch
#

Hello there

real minnow
#

Advise plugins/configuration for optimization for rpg survival. 1.18.2 Purpur. Plugins from Mythic Craft are used

real minnow
#

Can u create a nether generation with Iris plugin?

sick belfry
#

better to ask them

tranquil crane
#

why does it have a guitar

potent nest
#

Because it rocks

sick belfry
#

question about gradle

#

if I have paperweight setup in the main project and I want to get it in a module

#

in the same project

#

can it be done without actually setting up pw in the module?

#

like I can just depend on the main project and just voila

ocean quartz
#

It only needs to be applied to the module that will use it

olive fjord
#

Help how I use the tiles-entities

hot hull
#

Quick question, so not sure what's going on, but IJ just sometimes doesn't recognize when I'm typing, like half the keyboard controls don't even work, not sure why that's happening so anyone got any ideas?

distant sun
hot hull
#

Jesus you got it fucking late

distant sun
#

Im surprised I even got it lol

chilly zenith
#

we bout to be in hacktober fest of 22 KEKW

distant sun
#

😛

#

like it is my fault lol

onyx peak
#

Does anyone know how to fix my mobile data on discord? It works perfectly fine on other apps but it will not let me join any calls on discord (no route error)

hot hull
#

shit mobile data, also this ain't a discord support server

onyx peak
#

well it sent me here lmao

hot hull
#

What sent you here

onyx peak
#

'discord support live chat' in google

#

sent me to athis server

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

hot hull
pliant dagger
#

By any chance any of you encoutered this error before

Access to fetch at 'XXX' from origin 'XXX' has been blocked by CORS policy: Request header field key is not allowed by Access-Control-Allow-Headers in preflight response. when trying to make a request to API.

cinder flare
#

google CORS policy

obtuse gale
#

Hell om trying to obfuscate a plugin of mine with proguard and maven but cant get it too work would someone be able to help

hot hull
#

And why do you want to obfuscate it

obtuse gale
#

as its for a custom server and i have a license inside so i dont get scammed

#

otherwise they can just rip the license out and use it without paying me

hot hull
#

Never give out the jar if you haven't received payment

inner umbra
#

Provide proof of functionality though like a video or a test server.

#

Can't help with your obfuscator though. Never used it.

obtuse gale
#

okay thank you for the advice 🙂

frigid badge
distant sun
hot hull
#

Am I just stupid, or the fucks going on with velocity?

[22:54:39] [Netty epoll Worker #3/ERROR]: [connected player] WerradithIsGae (/*): unable to connect to server dev-0
io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: /127.0.0.1:32001
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
    at io.netty.channel.unix.Errors.newConnectException0(Errors.java:155) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.channel.unix.Errors.handleConnectErrno(Errors.java:128) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.channel.unix.Socket.finishConnect(Socket.java:321) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:710) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:687) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:567) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:477) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.1.2-SNAPSHOT (git-74edac96-b153)]
    at java.lang.Thread.run(Thread.java:833) [?:?]
compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

balmy agate
#

I know it may not be related to minecraft but I'm doing some experiments with sockets in java, How can I access a socket object from another class?
I tried this (pass the socket object to a method with args before starting the thread):

#

but it doesn't seem to work

prisma wave
#

in what way does it not work

balmy agate
#

the socket is still equals to null

prisma wave
#

where are you calling pass

balmy agate
prisma wave
#

well that looks ok

#

how do you know it's null?

balmy agate
#

Exception in thread "Thread-1" java.lang.NullPointerException: Cannot invoke "java.net.Socket.getInputStream()" because "this.socket" is null
at me.fozystyle.lightchat.threads.server.run(server.java:25)

#

ok for some reason now it's working

#

idk what is wrong with it

#

now the messages aren't appearing

prisma wave
#

lol

balmy agate
#

the code looks fine, maybe something is wrong with the bf.readline?

#

@Override
public void run(){
try {
InputStreamReader in = new InputStreamReader(s.getInputStream());
BufferedReader bf = new BufferedReader(in);
String line;
while ((line = bf.readLine()) != null) {
System.out.println(line);
}
} catch (IOException e) {
System.out.println("An error occurred");
}
}

#

it looks good to me

#

maybe the pr.println?

#

public void server() {
try {
Console console = System.console();
ss = new ServerSocket(4999);
System.out.println("Waiting for the client...");
socket = ss.accept();
System.out.println("Connection established");
server.pass(socket);
server.start();
PrintWriter pr = new PrintWriter(socket.getOutputStream());
String chat = "";

        while (!Objects.equals(chat, "/close")) {
            chat = console.readLine();
            if (chat != null) {
                pr.println(finalName + ": " + chat);
            }
        }
#

Do you have any idea what is wrong?

hot hull
#

I mean does ss.accept() actually return the proper value?

balmy agate
#

It should

balmy agate
#

I think I know what is the problem

#

thanks anyways

ripe current
#

Any lovely- Java / General Minecraft developers out there who’s looking for a server to help configure?

static zealot
ripe current
#

Thanks 😉

cinder flare
#

firewall issue most likely

#

or the wrong ip/port

hot hull
#

It worked in the past like this, gotta check everything again I guess

cinder flare
#

you doing anything Docker? that tends to complicate networks a lot

hot hull
#

Nope

cinder flare
#

huh, weird then

#

maybe a little ss -plunt could help in seeing what ports are binded, and if you're using ufw, liberal use of the ufw status command helps me

blissful sluice
#

If you're using iptables and a default DROP policy, you should make sure you got the loopback interface on the accept list too

quiet sierra
brazen locust
#

So I am currently trying to add minimessages support for my GUI's only minin messages replies with an Component.
But how would I set that component to my GUI name and button names & lore?

ocean quartz
#

You'd use Paper API

brazen locust
#

So with the spigot api it doesn't work?

#

I would need to paper api for that?

prisma wave
#

alternatively you can just serialize to the legacy character and it should work

#

not gonna be clicking much in a gui title are you

brazen locust
#

True, so I would need to serialize the output of the minimessages thru the legacy one and it will work?

prisma wave
#

evil

ocean quartz
#

It's literally what the adventure patch does on paper

prisma wave
#

yeah but thats implementation

ocean quartz
#

Still, same result, works better than using the dumb spigot legacy shit

brazen locust
#

Another question I have.
So I currently have this hologram setup;
How can I make that hologram giving out a wave effect?

ArmorStand hologram = (ArmorStand) player.getWorld().spawnEntity(player.getLocation(), EntityType.ARMOR_STAND);
hologram.setVisible(false);
hologram.setGravity(false);
hologram.setCustomNameVisible(true);
hologram.setCustomName(GSON.serialize(Common.colorize(Lang.HOLOGRAM_TEST)));```
hot hull
#

by constantly updating the name and changing the pattern

brazen locust
#

oke thank you

brazen locust
#

I want to edit the title and item names with the minimessage api but I have no idea how to go from the component to a colored string for minecraft

ocean quartz
brazen locust
#

Oke thank you

obtuse gale
#

Hello

#

Anyone help

#

why

#

My discord is disabled

#

this is not discord support

#

this is a minecraft help discord server

#

contact discord support at discord support

#

Oof

#

?not-discord

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

obtuse gale
#

read that

#

I just googled discord support on google

#

yes, did you read the description of the search result?

#

no

#

Ur names Emily stfu

#

🥴

#

now go ahead and reach out to the right people because there's literally nothing any of us here can do anything about your discord account

#

POV: Emily puts trans flag in her bio. Global warming is solved

#

ok

#

and?

#

who even claimed that lmao

#

Emily was a nice name 5 years ago now it’s weird idk why 💀

#

Ur eye looks pretty tho

#

thanks

tranquil crane
sick belfry
#

when your first small command api works on the first try:

#

it feels weird

#

nothing is supposed to work in the first try

#

alright now the tabcompleter doesnt work

#

good

uneven vapor
#

I have cleaned it up a bit, but that arrow code bit i think you need glasses (or you not like "else" at all in a code).


Ether way is still work in progress. But should work with no issue (most of it). So this is like deluxe menu but as a api you can build own menu plugin on (and with less work (you can use 1 file for all menus or several menu files inside 1 folder)).

You can also add own custom buttons (some you can filter out and run own code instead of commands)). and yeah you also need sort out what menu have x item/custom button (something this api can´t do because only continue half of the logic for working menu).

https://github.com/broken1arrow/MenuSettingsApi/wiki

hot hull
uneven vapor
# hot hull This could be cleaned so much https://github.com/broken1arrow/MenuSettingsApi/bl...

So that are your complain 🙂 Yeah I can do some clean up, but need ho ever check shift click before check rest of clicks (because right and left click get first in the order before shift get checked). I think on use for loop, but that could add little more delay on clicks an take it directly from a field.

I don´t clean that class yet I prioritize make it work and all functions get added and tested.

uneven vapor
distant sun
#

isLeft/RightClick also checks for shift

uneven vapor
distant sun
#

It already does that by default

uneven vapor
distant sun
#

Alright

uneven vapor
half harness
# uneven vapor Done some cleanup on the class you complain on 🙂 will look on it more if I can ...

Small extra things:

A couple naming stuff - words should be capitalized such as getClickrequirement -> getClickRequirement, menucache -> menuCache, and getMenucache -> getMenuCache

In line 52, you can just do return new HashSet<>(menuCache.getItemSettings().keySet()) and set the return type to Set<Integer>

In line 93, I think you can remove that else statement since above, you return so the else statement will always run if the click handler is null

#

¯_(ツ)_/¯

uneven vapor
# half harness Small extra things: A couple naming stuff - words should be capitalized such as...

thanks some real complains (at least point out the errors/mistakes). yes I agree I have miss that (will fix so they will be capitalized).

That is a option, the problem (or they way I have to design it). it use list as map key, so need collect all keys from the list and after google to find the most clean way to do it (but could use set list so any duplicated slots get merged).

or will your option do that automatic?

half harness
#

Behind the scenes, HashSet uses a HashMap, and the Set is just the keys

#

and maps don't have duplicate keys, so that's how it avoids having duplicates (and as a result, it's also unordered, and these slots don't have to be ordered)

prisma wave
#

HashSet uses a HashMap*

#

Other Set implementations exist 🤓

obtuse gale
#

No they don't

prisma wave
#

source?

obtuse gale
distant sun
#

so a Set is just a Map ??

potent nest
#

"Trees" have nothing to do with computers

prisma wave
#

All I see is you being wrong

obtuse gale
#

take off your rose-colored glasses

#

then you'll see how it is

prisma wave
#

my glasses are coloured normally

rotund egret
#

Mans wearing them contacts

queen saffron
#

@prisma wave I'm reading your messages in the tf2 voice and it's only making it funnier.

prisma wave
#

that's a good idea

#

Maggot

obtuse gale
#

🪞

prisma wave
#

what's that supposed to mean

#

haven't you got global warming to be solving?

obtuse gale
#

no, actually I don't

prisma wave
#

pretty sure you do

obtuse gale
#

I know my responsibilities

prisma wave
#

your responsibilities include solving global warming

obtuse gale
#

No, they don't

hot hull
#

Both of you go solve global warming

#

Goddamn nerds

obtuse gale
#

No, I won't

prisma wave
#

No it's Emily's job

#

Not mine

obtuse gale
#

I don't have a job

#

checkmate

prisma wave
#

I've got more important things to be doing

prisma wave
obtuse gale
#

I don't

#

🥲

prisma wave
#

I literally just said you do

#

Maybe your job is being stupid

obtuse gale
#

wow

#

ok

hot hull
#

You're both stupid

obtuse gale
#

Frosty no one cares

prisma wave
#

I'm not

#

I am the definition of not stupid

uneven vapor
#

I think you have LinkedHashSet() as option if you want to keep the order

prisma wave
#

yeah

#

How did your get method work lol

#

Just an iterator?

uneven vapor
# prisma wave How did your get method work lol

reverse engine the map 😉 yeah iterator, you don´t have index as array have so you can get right object directly. Don´t know if is other methods other an convert the key to some type of list (I try that also, but think only wast of memory also have list some get updated beside the map) 🙂

half harness
#

edited to say HashSet though

prisma wave
#

yeah fair enough

#

correcting you made me feel really clever though so

half harness
#

🥲

#

is this the level I have become now

#

😌

half harness
prisma wave
#

consistency i guess

#

there's very little downside to using LHM instead of HM

half harness
#

true

prisma wave
#

and it saves having a bunch of other functions

hot hull
#

removes the need to have linkedMapOf

prisma wave
#

exactly

half harness
#

still exists iirc tho 🥴 ig for people that don't know that mapOf is a linkedhashmap

prisma wave
#

¯_(ツ)_/¯

#

kotlin bad

#

nothing more to say

half harness
#

🙊

uneven vapor
# prisma wave there's very little *downside* to using LHM instead of HM

Can will be a bit slower with LHM an HM because the order in HM is random so if you are lucky do you hit right on the first try. But in LHM you need to go thru in order.

about HM , i made confusing mistake. In this case it needed be in order when put it inside a map, but approximately middle of the map it cut of the order (I not remember way it needed be in order). But when I finally find the error was it really confusing when I print the key´s from the map (and after like 10 minutes I understand why it did not work as it should).

cinder flare
#

the only downside is slight memory usage due to the references being held

prisma wave
#

i mean

#

2 algorithms can both be O(1) and perform differently

#

but yeah the overhead for LHM is pretty minor

rotund egret
prisma wave
#

yep

rotund egret
#

Thanks Based BM

#

You're an overwatch god and guild tyrant

prisma wave
#

yeah

#

youre welcome

rotund egret
#

Are you open for commissions?

prisma wave
#

maybe

cinder flare
#

and O(1) is pretty fucking amazing generally

prisma wave
#

well

#

O(1000000000000000000000) would be worse than O(n^2)

#

😋

cinder flare
#

eventually it wouldn't be lol

prisma wave
#

asymptotically yeah

#

but practically no

#

Big O only matters when you have substantially large inputs

cinder flare
#

still, the difference between a hashmap and searching through a list for a key can add up

#

and besides that, I'm quite sure that LHM and HM are indexed nearly identically

#

cause like, that's the whole point

prisma wave
#

yes indeed

#

but

#

big O isnt everything

rotund egret
#

BM, all the women I've been with would disagree.

prisma wave
#

then you need to date smarter women

rotund egret
#

Damn, that's deep

fervent tinsel
#

Does jetbrains exposed have something like foreign keys?

prisma wave
#

yes

fervent tinsel
#

can't find in docs smth related with this

rotund egret
#

Many-to-many reference covers it I think

prisma wave
#

yeah

#

by

fervent tinsel
#

ah, tysm

fervent tinsel
#

Does exposed have smth like cache syncing? (Via messaging, or underling api which helps with pre/post-loading data)

warped hamlet
#

when using runTaskTimer how do i insert the parameter Plugin plugin, it works in the main class, but not other classes, for instance in main I can just use "this"

inner umbra
warped hamlet
inner umbra
#

@prisma wave what's with the reaction?

rotund egret
#

I'd react too if I could

warped hamlet
#

Is it bad to create an instance of your main within another class to use the runTaskTimer

#

i mean i could find a different way if thats the reaction lol

steel heart
#

Pretty sure it would explode

rotund egret
#

There should be only 1 instance of your main class, and you should pass around that instance as needed.

warped hamlet
#

Thats what I wound up doing

fringe bolt
agile galleon
#

@cursive jolt how da rectangle worldborder

#

very interested

rotund egret
warped hamlet
#

When making a gui, I have players unable to take items or modify the gui, but that extends over to their own inventory, is there a way to differentiate between the two?

#

So that I could allow them to alter their own inv but not the gui

sick belfry
#

in the event where you handle that check if the item that is being interacted with is in the inventory that matches the inventory it should be in

#

that should be enough

warped hamlet
#

for some reason blanket setting the top inventory to event.setCancelled being true extend over

#

that fixed it right up

sick belfry
#

alright?

warped hamlet
#

should have worded better, your fix worked, what i did messed it up with what i said above

sick belfry
#

oh alright

#

good

obtuse gale
#

i have always hated nulled jars so im looking to create something similar like this https://www.spigotmc.org/threads/pronerium-plugin-anti-piracy.285564/
but much less invasive and in a whole different way

idk why this whole idea receives so much hate when its entirely possible that this can become a new spigot standard
and the resource staff member just denied my proposasl about my new project similar to this
what do yall think

hot hull
#

Nha

#

nah

obtuse gale
#

why not?

#

even if it doesnt take a bootstrap and runtime environment and stuffs but just a simple hooker to the spigot jar which deals the obfuscated plugin jar directly to the memory and using cryptographic approaches?

hot hull
#

I'm a supporter of OS projects no matter what kind, if someone cares enough they can figure out a way to bypass it

obtuse gale
#

I dont think so
If the code is obfuscated to the point where only primitive types and bit instructions are present with no boolean logic or any logic at all, something like pseudorandom code
then will people bypass it if they care about it enough?

#

Also if people care that much, then no premium resources in spigot should exist
because if the situation is really as in bold claims like this, then no premium resources should exist because when such a sophisticated approach can exist, then nulled jar will be everywhere for every premium resource ever

#

Its more like the spigot staff members and the community members are not receptive to out of the world proposals

hot hull
#

You do realize 90% of people who would purchase your let's say premium plugin, would do so gladly as it's a way for them to support the developer, the very few who were realistically never your potential customers, are going to go through the hustle of either finding a cracked jar, or cracking it themselves in a way

#

What I'm saying is a lot of work/spent time for something that impacts let's say 5% of your overall purchases

obtuse gale
#

hmm
if a plugin is as popular as that (the purchase in the form of support takes 95% of the total purchase), then its natural to assume that even more people use the plugin right?

because if the supporter base is this large, then its natural to assume that the actual users are much more right?

#

then the theoretical purchases should be much more than the purchases for now, if everyone who uses it has to buy the plugin instead of getting a nulled jar

hot hull
#

"has to" if the person was not intending to spend money on a plugin in the first place, not being able to download a cracked jar, won't make them change the fact, they will mostlikely just find another plugin which does the same/something similar, or just scrap their idea and not use that

#

Also, having a obfuscated jar severely impacts the issue fixing if/when one is presented, so it just hurts the plugin overall

#

Which leads me to another point, instead of having a paywall for a plugin, how about we try moving in a "freemium" direction, which 90% of people will still be fine with

obtuse gale
#

this is why theres a free version and premium version for plugins like mythicmob
the free version is for experience

obtuse gale
#

The only reason I see why this not implemented is because this is too much work and too much changes for all users and spigot staff members

hot hull
#

this can, alternatively, motivate rich users to buy it instead of finding nulled jars
Not really, it's normally the "skids" that will download cracked jars, most servers/users will purchase the plugin as it allows them to get support, which is the only thing that should be charged with a plugin. So getting rid of those few pirated users doesn't help you all that much in the general sense

obtuse gale
#

or even more actually

#

and for smaller premium plugins pretty sure everyone will go for nulled jars

hot hull
#

Again, just because it has that many downloads, doesn't mean most of those people would actually purchase the premium plugin, so it doesn't benefit all the work you'd put into this for such a minimal return, while making things harder for the developer

obtuse gale
#

well but cant ignore the possibility that they are very desperate for premium functions
premium resources are with better quality and functionalities
and this is what separates free and premium resources
if they are not downloading for the "premium resource" title which makes the plugin more glaring but for the actual functions, then im pretty some of them will,at least, feel compelled to pay for it

hot hull
#

You'd be surprised

obtuse gale
#

what
so you are saying they are downloading just because they are labelled premium resource?

wintry plinth
#

Just make your plugin open source that requires your paid web api to work, piracy solved

hot hull
#

What's the dogs name Charlie

obtuse gale
#

considering that most of the function implementations are in-game, there are a very few things you can do with web api
unless if the implementation is so difficult that you need assist from web api for generating templates of implementations

wintry plinth
obtuse gale
#

nice dog, but i hope the nulled jars crackers cannot null your dog and release one on blackdogs.com

wintry plinth
#

And hahahah

hot hull
wintry plinth
#

yes I know dev general don’t kill me

queen saffron
#

Uhhh

hot hull
#

Cute mfs

queen saffron
#

That yes

hot hull
#

Imagine not having gif embeds, noob

queen saffron
#

Stupid discord

#

@hot hull then gimme em- noob

hot hull
#

Nah you don't have perms cause you too low of a level

queen saffron
#

Take tsk

#

*tsk

wintry plinth
#

What’s dropping in 29 days Nova

queen saffron
#

Server revamp.

wintry plinth
#

Oh hype :o

queen saffron
#

If I get to finish it xD

hot hull
#

No clue what that is

wintry plinth
queen saffron
#

Basically about a month ago my network went 💀 so then I decided to remake it- and I mean remake literally everything.

hot hull
#

You should get FrozenJoin

queen saffron
#

What's that

hot hull
#

An amazing plugin you absolutely need on your server

queen saffron
#

Send link

hot hull
#

google it

queen saffron
#

Cannot be bothered

compact perchBOT
#

v2.3.0 by BlitzGamer88
FrozenJoin offers incredible customization of join/quit messages alongside JSON-formatted messages.

Downloads:

258

Rating:

5.0★

Reviews:

4

hot hull
#

That's the shit

queen saffron
#

Oh that-

#

We sorted

wintry plinth
hot hull
#

How dare you not have it

queen saffron
#

:)

#

I dare

wintry plinth
#

I’ve got a little survival SMP 😂

queen saffron
#

@hot hull thing is right, although it's not bad, we more or less only use custom built plugins

hot hull
#

Nah you're wrong, it's absolute dogshit lol

wintry plinth
#

Open the jar with zip, open plugin.yml, change “FrozenJoin” to “NovaJoin”

#

Bam

#

Bam it’s now custom

hot hull
#

Literally 90% of custom plugins on random servers

wintry plinth
#

LOL yes

hot hull
#

Boutta fucking shoot someone in the kneecaps

wintry plinth
#

Ay finally

hot hull
#

dude still using snapchat

wintry plinth
#

Ofc 😂

#

The only social media I do have

#

Aside from twitter

queen saffron
#

Ew

wintry plinth
#

I stay off the grid, I hate social media with a passion

queen saffron
#

So do i

#

But Snapchat is literally the opposite of- Off the grid.

wintry plinth
#

Eh I only have a small number of people

#

Mainly those I know

ocean quartz
queen saffron
obtuse gale
ocean quartz
#

They seem pretty reasonable to me

obtuse gale
#

those are pretty rough claims and predictions

#

also if they are being this strict, then 99% of enterprise licensed software would not have existed

#

while they could go full on critical, they could have just said that this is too much effort for minimal return or sth instead of pulling off excuses

hot hull
#

Shouldn't really compare other software to mc plugins imo

obtuse gale
#

yeah that just made no sense
they clearly just wanted to stop it at all cost like its the end of the world
could have been such a wonderful project

ocean quartz
#

No, they pointed out clear reasons why it's a bad idea and would never be used on places like spigot

obtuse gale
#

with hollow claims like comparing softwares and hackers from all over the world to mc plugins

ocean quartz
#

"Staff can't verify if the plugins are malicious or not" sounds like a pretty good claim to me
And that's only one of them
But anyways you can't talk about their comparisons when you just did the same right above by comparing spigot with an enterprise level software

hot hull
#

All and every spigot plugin should be OS.

obtuse gale
obtuse gale
sly sonnet
#

open source

obtuse gale
#

bruh

#

well i guess i will have to just host a whole different site to carry out similar projects lol
screw spigot

#

quite fun as a sideproject regardless

hot hull
#

And after you're done with that, you'll realize it was all for nothing

ocean quartz
#

Let's say they go crazy and allow said custom JVM to be in the website
Would the dev keep it up to date? Would they provide support for things that will inevitably break?
Will they re-write the system when it inevitably gets cracked?
Do you see how this would quickly fail?

potent nest
#

We need a malware hosting website

obtuse gale
obtuse gale
obtuse gale
wintry plinth
#

I had a plugin that injected, issue is the jar always exists somewhere

ocean quartz
#

They are not similar at all, you're talking about a whole different level of complexity

obtuse gale
#

depends on how you view the issue
the implementation can be a lot less complex with existing cryptographic obfuscation approaches
and it can be super complex if you aim to build it from scratch
After all, its just about software design and a bit of software security if it is to reach enterprise standard

obtuse gale
ocean quartz
#

It has nothing to do with cryptography, I'm talking about the custom compiler and interpreter

obtuse gale
#

cryptography obfuscation

#

in the compiler and interpreter

#

like transforming the original source code into another source code full of pseudo random functions

#

its not in the original post but i intend to try implementing it for my project

#

and yes, the compiler and interpreter thing is unnecessarily complex
After all, you still have to inject bytecode into jvm

ocean quartz
#

And I wish you good luck

obtuse gale
#

lol thx
i will still be happy no matter the outcome

#

cuz shits can get super lit

uneven vapor
prisma wave
inner umbra
prisma wave
#

no it is not

#

What you were describing was new MainClass() which will very much not work

ocean quartz
prisma wave
#

indeed

inner umbra
#

He got what he needed so 🤷

#

Also...```java
// Spigot plugin
private static <Main> instance;
public void onEnable() { instance = this; }
public static <Main> get() { return instance; }

// Normal jar
private static <Main> instance;
public void main(String args[]) { instance = new <Main>(); }
public static <Main> get() { return instance; }

ocean quartz
#

It doesn't create an instance

#

You're simply assigning the existing instance to the field

#

It's not creating

quiet depot
#

shouldn't ever do that in a normal jar

inner umbra
quiet depot
#

yes because my original statement could've been interpreted as a personal choice, when it's an objective design choice

obtuse gale
inner umbra
#

I can even see in some of your repos where you do that xD

obtuse gale
quiet depot
#

where I do your "normal jar" method?

potent nest
#

no need to do that if all code is inside the main method

inner umbra
quiet depot
#

I was more referring to the singleton

inner umbra
ocean quartz
#

That i still not the same as what you sent lol

inner umbra
#

But its cached.

potent nest
#

???

ocean quartz
#

That is literally the point he is making lol

#

Cached??

inner umbra
#

The instance is "saved"/"cached"

ocean quartz
#

Do you understand the concept of static?

inner umbra
ocean quartz
#

Then you should know that those are not the same thing at all

inner umbra
#

Runtime -> Class created -> Main method -> new instance of main created

ocean quartz
#

Yapper, new Blah() is creating an instance instance = this isn't

#

It's not that hard concept

potent nest
#

it's about statically exposing a reference that shouldn't be exposed to everything

inner umbra
#

Matt... I feel like you aren't reading my messages LMFAO

steel heart
#

Yapperyapps actually trolling

obtuse gale
#

no i think this whole chat is trolling

inner umbra
ocean quartz
#

You aren't reading your own messages lol

inner umbra
quiet depot
#

yapps my point was that you shouldn't need an instance of your main class anywhere else

#

there's no reason to access the main instance anywhere apart from the main class

inner umbra
obtuse gale
#

oh shet mate you are admin now piggy

quiet depot
#

It is not preference

inner umbra
obtuse gale
#

i remember back when you had a green name like me

quiet depot
#

no you don't

obtuse gale
#

I joined in around 2016

#

this my alt

#

remember wanderingpalace?

quiet depot
#

I was an admin when the level system was made

obtuse gale
#

pretty sure you werent

#

at least not the cooler bot

#

from the primitive level bot or sth

quiet depot
#

we've always used barry for levels

obtuse gale
#

back when barry bots werent made

quiet depot
#

gary didn't have levels

obtuse gale
#

idk man forgot

#

but great to see you are promoted

steel heart
# inner umbra

Problem is that this isn’t particularly unit testable, of course if you use weird shit like powermocks you might still be able to, but like meh

quiet depot
#

in a standalone program you do not have to code to spigot's flaws, it is not acceptable