#dev-general

1 messages · Page 15 of 1

obtuse gale
#

hence why i came here

remote goblet
#

so ```yaml
click_commands:

  • "[player] warp koth"
obtuse gale
#

ty that works i see what i did wrong i put ' not " whoopies

#

ty again

#

and do u know anything about conditions and custom place holders?

remote goblet
#

no HatDab

brittle leaf
#

its like the deluxemenus wiki doesnt exist or smth

supple adder
#

does nms allow us to put custom model for items?

agile galleon
supple adder
#

how do I do it

#

anyway be it

agile galleon
#

So you want to set the custom model data?

supple adder
#

yuh

#

I just wanna change how the item looks

#

anyway, what is the name of the nms class for stick item?

#

I can't find it

brittle leaf
supple adder
#

Thanks

hallow briar
#

Hey pls help me

#

I can not import placeholder

compact perchBOT
#
📋 Your paste: max0189
https://paste.helpch.at/ivibogumov

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

hallow briar
#

?

#

Help me?

wind patio
#

HELP

#

?

agile galleon
#

@leaden crag how much ram / cpu does the plugin suck up on the 8gb server?

sweet cipher
#

Is there an event for when a Structure Block is used?

boreal needle
#

is storing player plugin data with pdc a bad idea? i've only just found out it's possible

brittle leaf
boreal needle
#

pretty much yeah

#

it's not a lot of data, literally one string

brittle leaf
#

personally id still save it in its own player data file

obtuse gale
#

it depends™️

sweet cipher
#

Oops sorry meant to turn off ping

obtuse gale
#

i mean pdc is good and simple if the data is needed only when the player is online, but that's because you can't get it from an OfflinePlayer

#

if it's to be attached to the player itself

#

stuff like armor stands "owned" by a player that is perfectly reasonable to e.g. put the player UUID in the armor stand's PDC

wind patio
potent nest
distant sun
potent nest
#

Your top languages are not exactly calculated in a scientific way but are estimated according to the following formula:

The list of repositories that you contributed to are fetched. A ranking is assigned to the top 3 languages (top language = 3 points, second = 2 points, third = 1 point) and they are multiplied by the contribution count and the amount of lines of that language in that repository.

distant sun
#

what even is glsl

potent nest
#

glsl is some shader stuff afaik

distant sun
#

I dont think I have a single glsl file in any of my repos kek

potent nest
#

you just need to contribute to a repository that has glsl files :p

wind patio
#

GLSL 💀

#

had my fair share of shader programming

#

never again

distant sun
#

is there any way to find this? im curious tbh

wind patio
#

clone and debug code fingerguns

distant sun
#

no I mean, what repo had glsl files

potent nest
distant sun
#

ahhh probably

ionic gust
half harness
#

dark reader 🙃 🙃

ionic gust
#

sorry

half harness
#

B.A.A.S - Too many caps!
No need to shout.
Barry's Anti Abuse System | v1.4.7

ionic gust
ionic gust
#

love how batchfile is my 3rd top language

half harness
#

eh

#

i dont mind it

#

this is mine

half harness
#

🥲

ionic gust
half harness
#

oh you mean the video itself

#

lol

ionic gust
half harness
#

do you mean the website or the video

ionic gust
#

how would i dark reader an mp4 on discord

#

silly little dkim

half harness
#

😌

ruby dew
half harness
#

I don't think I've ever committed CSS

#

🥲

#

i wonder what repo its from

ionic gust
#

WHAT?!?!?

half harness
#

I don't open many issues 🥲

#

also the majority of these likely aren't "real"

ionic gust
half harness
#

nono

#

like for example

#

the bright green spots are probably when like a new version of kotlin came out

ionic gust
#

im telling thomas dohmke

half harness
#

or new version of gradle

#

I've setup renovatebot to make a PR and assign it to me when a new version comes out

ionic gust
#

wow fake fake fake

half harness
#

although

#

it automerges a lot of it

#

so

#

I'm not creating too many fake ones

ionic gust
#

:(

half harness
#

i just looked at it lol

#

🥲

#

I am walking back

ionic gust
#

from where...?

#

thomas dohmke's office?

#

cause u got in trouble?

half harness
#

!

ionic gust
#

mhm

half harness
#

look at me go

#

79 contributions in 1 day!!!!!!!

#

Publishing apis as jar files 🤢

ionic gust
half harness
#

using shadow plugin in APIs 🤢

ionic gust
half harness
#

😭

ionic gust
#

lmao

half harness
#

I thought you said you wanted to relocate

#

= shadow

#

relocating in APIs

#

🤢

ionic gust
#

i asked what relocating would do

#

and i dont think it'd be in the api

#

i think it'd be in the plugins using the api

half harness
#

java-library plugin and api/compileOnlyApi 😌

ionic gust
ionic gust
half harness
#

Ok

#

🙊

ionic gust
#

imagine making 79 contributions to plugins no one will ever use 🙊

half harness
#

😖

#

hey to be fair

#

I use them

remote goblet
hard granite
#

Hello

#
var server = BukkitServer;
var plug = server.getPluginManager().getPlugin("VehiclePlusPro");
function getSpeed() {
    var vehicle = plug.getPlayerVehicle(BukkitPlayer);
    var speed = vehicle.getCurrentSpeed();
    return speed;
}
getSpeed();
#

I want to get the speed of the player when he is driving a car. What's wrong with my script? Can you tell me please

#
[15:41:34 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'parsesymbols
javax.script.ScriptException: TypeError: null has no such function "getPlayerVehicle" in <eval> at line number 6
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) ~[PlaceholderAPI-2.11.2.jar:?]
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:447) ~[PlaceholderAPI-2.11.2.jar:?]
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:399) ~[PlaceholderAPI-2.11.2.jar:?]
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:395) ~[PlaceholderAPI-2.11.2.jar:?]
        at org.openjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:151) ~[PlaceholderAPI-2.11.2.jar:?]
        at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264) ~[java.scripting:?]
     ```
inner umbra
hard granite
#

Are there any JavaScript examples on the web that use the API of another plugin? I just started to understand JavaScript and don't know all the nuances

#

Except for Community Scripts. There is nothing useful there for me

inner umbra
#

IDK about javascript but isn't it suppose to be Bukkit.getPluginManager()?

ocean quartz
#

Bukkit.getPluginManager just calls server.getPluginManager

hard granite
#

😕

ocean quartz
#

Though var server = BukkitServer; what is this?

inner umbra
ocean quartz
#

Huh?

distant sun
#

You need to cast the result of getPlugin to your plugin class, which you cant

obtuse gale
#

gaby what

distant sun
#

@ocean quartz papi passes Bukkit#getServer as BukkitServer to js placeholders

ocean quartz
#

Oh that's js lol

hard granite
ocean quartz
#

I'm out

distant sun
obtuse gale
#

why would that make a difference in a dynamic language?

#

the issue is that getPlugin is returning null

distant sun
#

Well, what im saying is they need a way to access the main class, but thats not possible because js has no dependencies system or anything like that

obtuse gale
#

you don't access the main class

distant sun
#

Or maybe you are right thumbsupbro

obtuse gale
#

it just calls the method on the object regardless of "type" (which is not a thing in js), if it exists it'll invoke it, if not it'll explode

distant sun
#

Okay, makes sense, ups

hard granite
#

it's sad

wind patio
#

PDC is basically a map, so it's O(1), right

obtuse gale
#

hashmap, best and average cases "yes"

wind patio
#

I'm a bit new on the topic of PDC
in what terms is it persitent?
if I save a key/value on something, if I retrieve it after the server restart, will it still exist?

ocean quartz
#

Yes

wind patio
#

interesting

#

any drawbacks?

half harness
hallow briar
#

Jemmand deutsch hier

obtuse gale
#

bro no wtf

wind patio
#

No what

cosmic vapor
#

there is not 1.19.3 completly compatibility yet right?

ocean quartz
#

For?

cosmic vapor
#

i have problems whit some placeholders

#

forgettit i just redownload the extensions and all is good now

long dagger
#

I have a chat dialogue system, and I have text components that I need the user to click. I want them to run functions/methods and there will be a ton of different options. From my current knowledge, you can only run commands to directly interact with the plugin. How can I have the player click the text and run a function rather than a command? I know I could set up a system where it tracks who is currently in a dialogue and has them run a command with what option they chose, but I feel like there is a easier way. Does anyone have any ideas?

distant sun
#

You can not, you can only make them execute a command

wind patio
#

well, you can make them run a command in the console which would run your method/function in the command execution logic.

solemn laurel
#

^ you could even have a hashmap that maps command arguments (string) to function reference and calls it. just make sure you have good input validation

wind patio
#
Certificate for <yahoo.bintray.com> doesn't match any of the subject alternative names: [*.jfrog.io, jfrog.io]

any idea why?

#

build.gradle wasn't changed, yesterday worked fine

long dagger
ionic gust
static zealot
#

really?

#

I didn't know

#

@wind patio slide into my DMs to claim your prize btw.

wind patio
#

Well noones asking for any specific 'how do I code x' stuff, just general questions about something (imo)

half harness
#

I mean technically #development is the right channel for this stuff but

ionic gust
#

idk why it wouldnt be

oak peak
#

Why does it say
[DeluxeMenus] Menu title for menu: staff is not present!

size: 45
menu_title: '&lStaff Resource Board'
register_command: true
items:
  'ban':
    material: blaze_rod
    slot: 0
    display_name: "&#e2cc18&l&lBan a player"
    lore:
      - "&7 Perm ban"
    click_commands:
      - "[sound] BLOCK_WOODEN_BUTTON_CLICK_ON 0.5 1.2"
      - "[player] ban <-p Who to ban?>"
###############################################################
  'back':
    material: ARROW
    slot: 36
    display_name: "&7&lBack"
    click_commands:
      - "[sound] BLOCK_WOODEN_BUTTON_CLICK_ON 0.5 1.2"
      - "[openguimenu] main"
  'close':
    material: BARRIER
    slot: 44
    display_name: "&#e22418&lClose"
    click_commands:
      - "[sound] BLOCK_WOODEN_BUTTON_CLICK_ON 0.5 1.2"
      - "[sound] BLOCK_CHEST_CLOSE" 
      - "[close]"
###############################################################```
agile galleon
#

Does anybody have a jitpack mirror here?

agile galleon
#

im searching for one as the shitty pack is down right now

obtuse gale
#

just build the other project locally and add maven local

agile galleon
#

and some stupid devs put their apis on shitpack so

agile galleon
obtuse gale
#

you can put stuff on jitpack that's not on github?

agile galleon
#

right...

#

lemme see

#

oh no

#

the issue is its trying to pull other dependencies FROM jitpack

#

so ill remove it and replace it with maven local

#

thx

obtuse gale
distant sun
#

F

static zealot
#

wait what? what's going on?

obtuse gale
#

jitpack has been down the whole day

static zealot
#

oh. I thought they were completely closing it or something

agile galleon
static zealot
#

why?

#

It's pretty nice. Not having to use local

obtuse gale
#

bro jitpack is dog shit

#

clearly unreliable

static zealot
#

haha

solemn laurel
quiet depot
#

not support

#

development topics

solemn laurel
#

ok

#

thanks

ionic gust
obtuse gale
#

NOT configuration help

half harness
#

What if I ask for configuration help

solemn laurel
#

xD

obtuse gale
#

I will ban you from my server

half harness
#

NO

#

Ok ok I won't ask for configuration help

obtuse gale
#

yeah thought so

ionic gust
#

i assume its just referring to like deluxemenus and other helpchat plugins

#

im surprised u and dkim dont have helpful role

half harness
#

which is the main purpose of this server

#

and other reasons likely

#

im surprised blitz doesn't have helpful

#

but bm does

agile galleon
#

hi, im currently having issues with converting legacy color codes -> minimessage -> component.

    public static final MiniMessage MINI_MESSAGE = MiniMessage.builder().tags(StandardTags.defaults()).build();
    public static final LegacyComponentSerializer LEGACY_SERIALIZER = LegacyComponentSerializer.builder().character('&').hexCharacter('#').hexColors().useUnusualXRepeatedCharacterHexFormat().build();

public static String legacyToMiniMessage(String legacy) {
        return MINI_MESSAGE.serialize(LEGACY_SERIALIZER.deserialize(legacy));
}

public static Component parseComponent(CommandSender sender, String message, TagResolver... placeholders) {
    String string = legacyToMiniMessage(message);
    return Component.text().decoration(TextDecoration.ITALIC, false).append(MINI_MESSAGE.deserialize(replacePlaceholders(sender, string),         placeholders)).build();
}
#

this happens

#

the stuff just doesnt get parsed

#

if i dont use legacyToMiniMessage, it works perfectly fine

half harness
agile galleon
#

so what i want to do here is

half harness
#

oh wait

#

lol

#

yeah ill let u explain first

agile galleon
#

take a string with either mm or legacy, if mm -> deserialize to component, if legacy -> make legacy into component and component into mm to then component that again

half harness
#

yeah that's not going to work since minimessage iirc escapes itself

agile galleon
#

it does?

half harness
#

1 sec lemme read the code

#

but with the latest version it shouldn't work

agile galleon
#

is there a way to not make it escape itself?

half harness
#

I wish
maybe some way with its builder but I don't know
I remember people asking this in kyori discord so I'll see

half harness
agile galleon
#

okay ill do something illegal

#

ill just catch the exception

half harness
#

and catch the exception there

#

i think there's an exception there?

agile galleon
#

what

half harness
#

or wait no it's just a console warning

#

iirc

inner umbra
#

Whats "Mini message"?

agile galleon
#

this is the exception ill be catching

half harness
inner umbra
#

Looking at his message.... I prefer the color code xD

distant sun
#

MM is net superior wdym

half harness
distant sun
#

You prefer the legacy format only because you have used it for years, but for a new person, <green> makes more sense than &a

#

Plus, hf working with hex colors kekW

inner umbra
agile galleon
#

with legacy color codes

obtuse gale
#

silence says it all

half harness
#

or even easy-to-read gradients

#

🙃

lucid tangle
#

Hello everyone

#

How to compile a file from github (src) to a jar file?

#

I'm using Intellij, following tutorials but never succeed...

#

I am on the Project structure part but don't find the Main

half harness
lucid tangle
#

Gradle

half harness
#

usually gradlew build or gradlew shadowJar

lucid tangle
#

I look stupid, but where do I enter the command?

#

In the Intellij terminal? Cmd?

#

Do I need to do cd <repository> then enter gradlew build?

distant sun
#

Do you have java?

lucid tangle
#

I guess I downloaded the wrong one

#

in the past

#

So yeah I'm downloading java 8 rn

#

I just installed JDK 8 but that doesn't work

#

It is still not detected @half harness

static zealot
# lucid tangle

If you type java --version in CMD does it show you the correct version or anything at all?

lucid tangle
#

🤔

#

I have 3 java installed

static zealot
#

what about echo %JAVA_HOME%?

static zealot
lucid tangle
#

I tried, but even by doing that it didn't worked

#

in environment variable, right?

static zealot
#

in the window search or whatever it is called, search for this

static zealot
lucid tangle
#

oh is that %JAVA_HOME% or JAVA_HOME

static zealot
# lucid tangle

it should be JAVA_HOME in there. you also have to edit your Path however

lucid tangle
#

I tried both, I'm still getting the same thing

static zealot
#

then in there press new

#

and add the path to your java folder + \bin

lucid tangle
#

that's correct?

static zealot
#

Umm. Don't delete everything else from Path. just edit the already available one

lucid tangle
#

oo

#

yay

static zealot
#

now try

lucid tangle
#

it's like not detected

#

I tried a clean reinstall

static zealot
#

did you open a new CMD instance? If not, do that

lucid tangle
#

It still happens...

static zealot
#

does echo %JAVA_HOME% work btw?

lucid tangle
#

ouch

#

Java home doesn't work

#

but version is detected

static zealot
#

can you show me the directory in which you've installed java? a screenshot that includes the path

lucid tangle
#

Sure

static zealot
#

and also a screenshot of your variables

lucid tangle
#

Bruh path has been overwritten

#

Ok I added this one

static zealot
#

Umm. You might've removed stuff from path. you are supposed to add to Path not overwrite it

lucid tangle
#

ah

static zealot
#

Here is an example of how my Path looks like. I just have to add a New path.

lucid tangle
#

Ok, oh

#

you double click in the path

#

then put a new one

static zealot
#

Yeah. Or you click once and then you click the edit button

lucid tangle
#

🤔

static zealot
#

Yeah. After saving that, do java --version and echo %JAVA_HOME% work?

lucid tangle
#

--version doesn't work

#

-version does

#

echo %JAVA_HOME% doesn't work too

static zealot
#

are you running CMD as admin or as normal user?

lucid tangle
#

normal but I will run it as admin

#

and this has to be moved with the bin path?

lucid tangle
static zealot
#

no.

lucid tangle
#

okok

static zealot
#

the bin only needs to be added to Path.

lucid tangle
#

yay

#

Worked with admin rights

#

Thank you Blitz 🤗

#

yay 🦀

static zealot
#

Did you add the JAVA_HOME variable under System variables or User variables?

lucid tangle
#

user variable

#

I have only one user

#

I suppose it's the same...

static zealot
#

hmm. I thought that would allow you to use them without needing admin perms. Maybe it is the other way around and I am misremembering

static zealot
#

try running gradlew shadowJar instead

lucid tangle
#

Same error

#

as admin*

static zealot
#

Mind sending the text of the error?

lucid tangle
#

Sure

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

lucid tangle
#

ty

#

let me check the file

static zealot
lucid tangle
static zealot
#

I'm confused. grgit is declared under plugins. I'm not quite sure why it is not properly applying it.

static zealot
lucid tangle
#

it failed again

#

Well, it is okay thank for your help Blitz

#

no worries

agile galleon
#

buy the plugin instead of trying to compile it xD

static zealot
#

I mean, if the author didn't want people to compile it, they wouldn't have made it freemium.

agile galleon
#

is it working?

lucid tangle
#

Nope

agile galleon
#

exactly

lucid tangle
#

I heard someone else did

#

and it worked

static zealot
agile galleon
#

its not hard with developing experience

lucid tangle
#

Of course, but I have 0 experience in development

agile galleon
#

exactly

half harness
#

plotsquared v6 is paid only

lucid tangle
#

I'm trying to learn, with pratice it will be good

static zealot
lucid tangle
#

Yeah on github

agile galleon
static zealot
#

I'm assuming it's the same case as VoteParty where you pay to get the plugin compiled and for support.

lucid tangle
agile galleon
#

and probably the last

lucid tangle
#

or not

#

🤷‍♂️

agile galleon
#

yeah or not value the time developers spent xD

lucid tangle
#

I mean, they could just not post it on github

#

If that doesn't value the time

agile galleon
#

i have some freemium plugins and they are mainly for people that want to contribute, learn from the plugins source code, post issues, and if the main dev goes stale, support development by others

lucid tangle
#

Sure, I know that

#

I'm not sharing the plugin with anyone else or something

half harness
#

it's so that people can contribute

although I bet that only like 1% of people that clone it are actually looking to contribute

agile galleon
#

yeap

#

you can still compile it, but that other people are helping is in my opinion not really ethical

static zealot
#

Skyslycer, have you donated to every single open source project you use? OBS for example? Most likely not.

agile galleon
#

why would I?

half harness
#

@agile galleon didn't compile OBS

lucid tangle
#

Well, I just need to learn some java then I can totally help in projects

agile galleon
#

start with that

#

then youll be able to compile it too

half harness
agile galleon
#

just to clarify, i dont have anything against people compiling such plugins, just the people that help which clearly have technical experience

lucid tangle
#

What's wrong with that

#

There's no support with the plugin itself

half harness
#

🤔

lucid tangle
#

I just needed help with compiling a plugin, it can be useful for any, even the ones that are already free

half harness
#

there's a discord server

#

IntellectualSites iirc

agile galleon
lucid tangle
#

Yeah, but I mean it is only for people that paid...

agile galleon
#

exactly

obtuse gale
lucid tangle
#

It doesn't have anything with the plugin itself

agile galleon
#

it does?

obtuse gale
#

it's support for the plugin itself

agile galleon
#

youre literally trying to compile it

#

what doesnt that have to do with the plugin

lucid tangle
#

Not sure you got it

obtuse gale
#

you pay for support, the server is for support

agile galleon
lucid tangle
#

You take more time judging people than helping them actually

#

woah

agile galleon
#

i like helping people

#

just not you

lucid tangle
#

Doesn't seem to...

#

Ok dude

obtuse gale
#

yes we are humans and we live in civilisation, thus we judge

lucid tangle
#

then don't talk to me

agile galleon
#

i just want to understand why there are people so desperate of not valuing others time, which they clearly value

lucid tangle
#

Because it is hard for me financially

#

I won't go further

static zealot
#

Because maybe their only option is, get it for free (in a legit manner) or not get it at all.

lucid tangle
#

I would like to buy it in the future, of course

#

Developers took their time for it

#

But I can't right now...

agile galleon
#

i see

lucid tangle
#

So yeah, I asked some help nicely. I never really understood how those things works

ocean quartz
#

And the error doesn't seem to be related to version

agile galleon
#

yeah do it in the root

lucid tangle
#

I'm not trying to crack, or do anything illegal

agile galleon
#

no you arent

#

yeah, i might be in the wrong here

static zealot
#

ohhh

#

I just realised. they're building in the core directory

lucid tangle
#

It's okay 👍

static zealot
#

thanks matt

agile galleon
lucid tangle
#

Alright, cd path

static zealot
#

.. will move you 1 level behind

agile galleon
#

yeap

static zealot
#

or whatever the terminology is

agile galleon
#

move you to the parent directory afaik

lucid tangle
#

Oh you mean I need to move to the core directory

agile galleon
#

no

static zealot
#

move to the root directory

#

the one called PlotSquared**VERSION**

#

(replace version with whatever version it is)

#

xD

lucid tangle
#

yeah

static zealot
#

yeah

lucid tangle
#

It should be only Documents?

static zealot
#

no. that's correct

static zealot
lucid tangle
#

I have this since the start

#

x)

static zealot
#

run gradlew clean build

static zealot
lucid tangle
#

uh?

static zealot
#

oh what?

agile galleon
#

interesting

lucid tangle
#

That's why I am stuck

agile galleon
#

yea

#

trying it too right now

lucid tangle
#

🤔

agile galleon
#

are you french by any chance?

lucid tangle
#

Yeah 👍

agile galleon
#

lmao cool

lucid tangle
#

Germany

agile galleon
#

yeah so it worked for me

lucid tangle
#

lol

#

Damn 🤔

agile galleon
#

try this

#

just do the windows parts only

#

and run gradle build instead of gradlew then

lucid tangle
#

Thank you, ok checking

#

yeah

#

Ok so I extracted the file

#

Oh yeah path configuration

agile galleon
#

just like you did with java

#

C:\Gradle\gradle-7.6\bin put this in your path

lucid tangle
#

Command not recognized

#

yeah

agile galleon
#

the whole thing

lucid tangle
#

yeah

#

I suppose so

agile galleon
#

alr

#

now close / apply both windows

#

and close cmd

lucid tangle
#

I opened as admin

agile galleon
#

just click on ok in these windows

lucid tangle
#

bruh

agile galleon
#

what the

#

okay new plan

#

delete that folder

lucid tangle
#

then download it again?

agile galleon
#

the plotsqaured one

lucid tangle
#

yeah

agile galleon
#

and download the zip and put it in there

lucid tangle
#

yep

inner umbra
obtuse gale
#

bro what

agile galleon
#

bro what

obtuse gale
#

do you even know what a hover text is?

#

you literally cannot do that with legacy

inner umbra
agile galleon
#

i dont think the click event triggers when clicking text?

inner umbra
obtuse gale
#

no it doesn't

#

it's a component thing

inner umbra
#

I made a query plugin for a friend

agile galleon
lucid tangle
#

This time Gradle is detected

agile galleon
#

yea

lucid tangle
#

god im lost

#

how tf it is not working

inner umbra
obtuse gale
#

TextComponent

lucid tangle
#

line 53 & 54 🤔

agile galleon
lucid tangle
#

lmao why tf

#

did that failed in the past

agile galleon
#

is it working?

lucid tangle
#

yes

#

._.

agile galleon
#

well there you go then

lucid tangle
#

Thank you bro lmao

#

I mean, it is not finished but it seem to work

agile galleon
#

yeah that takes some time on first build

lucid tangle
#

okok

inner umbra
#

And "hover text" has been a thing for quite awhile.

Chat games, player stats etc... type plugins make use of it.

agile galleon
#

so you have to write your own parser in order for players to add their own stuff to messages

inner umbra
#

That's literally what they added to make "mini message" is it not?

agile galleon
#

mm is for user configuration, yes

#

there is also the adventure component system which is the equivalent to bungee stuff, but a little bit more curated

inner umbra
#

Idk maybe others find it useful. I thought it was something other then what was already in the game.

lucid tangle
agile galleon
#

nope, just easier for plugin authors

obtuse gale
#

the point is for configuration, you cannot do hover/click etc with legacy in a config

agile galleon
lucid tangle
#

Where is da file

#

🤔

agile galleon
#

in build/libs/

lucid tangle
#

oh

inner umbra
lucid tangle
#

yayy thank you 😄

agile galleon
#

use it responsibly and buy the plugin when you can, no problem though

lucid tangle
#

Sure

brittle leaf
#

1kb sounds off

agile galleon
#

yes it does

#

lmao

#

my bad

#

try running gradle shadowJar

#

nono

brittle leaf
#

all i did was ./gradlew clean build and copied the plotsquared bukkit jar

agile galleon
#

its in Bukkit/build/libs/ @lucid tangle

#

and just take the biggest one

lucid tangle
#

oh

#

yes

#

that was suspicious 1kb

inner umbra
#

When you realize plotsquared has a maven repo so you can just download the jars directly 😮

lucid tangle
#

ty

brittle leaf
#

i downloaded a nulled build and compared and it seems like other builds include both core and bukkit but it never compiled both modules into one, you just got bukkit or core

agile galleon
inner umbra
brittle leaf
#

i wouldnt have any idea how to get it to compile core and bukkit together as i used maven regularly instead of gradle

potent nest
#

It doesn't contain most transitive dependencies

half harness
#

true

#

I forgot how maven worked

brittle leaf
#

plotsquared is the only project ive had issues compiling

#

very irritating

half harness
#

you could've also removed the lines of code that were erroring out

agile galleon
half harness
#

ye its missing dependencies

agile galleon
#

yeah

agile galleon
#

read this chat

agile galleon
half harness
agile galleon
#

although i dont understand why ps doesnt have an api module

#

which they will publish

half harness
#

it does have other modules though so ig it wouldn't be too hard to add an extra api module

#

¯_(ツ)_/¯

potent nest
# lucid tangle

this means the zip was downloaded instead of properly cloning the repository

agile galleon
#

yup

half harness
#

ah makes sense

#

grgit

agile galleon
#

thats why grgit not available

#

yea

brittle leaf
# potent nest how?

the regular plotsquared jar is supposed to be over 3mb, when compiling from the repo it produces a core and bukkit jar seperate and no combined jar is produced

potent nest
brittle leaf
#

obviously something is going wrong but i have no idea how to even debug it

potent nest
#

also there is bukkit-specific api on top

agile galleon
half harness
#

that's just what i was assuming

#

i don't use PS

potent nest
#

nope

half harness
#

ic

potent nest
#

a lot of that code is still ~8 years old

half harness
#

EIGHT?

brittle leaf
# agile galleon ?

if your wondering where i got this arbitrary number from i downloaded a nulled build from one of those dodgy plugin websites to compare sizes and contents

agile galleon
#

it builds a combined file

potent nest
potent nest
half harness
#

oh so it might in the future

brittle leaf
ocean quartz
ocean quartz
#

You didn't use shadowjar

half harness
#

wow matt and emily has entered the chat at the same time

#

lol

obtuse gale
ocean quartz
#

We've been here, just observing

potent nest
brittle leaf
#

whats the point in a core directory existing if thats not used at all in bukkit?

half harness
obtuse gale
agile galleon
#

its just combined into the bukkit one, duh

#

it wouldnt work without core

obtuse gale
#

bukkit depends on core lol

brittle leaf
#

what the

#

it didnt have that before

#

what the hell

agile galleon
#

maybe 3 years ago?

brittle leaf
#

am i braindead or something cus it only included the bukkit portion before

ocean quartz
#

s h a d o w

obtuse gale
#

:')

brittle leaf
#

before and just now

agile galleon
#

maybe it relocated

brittle leaf
#

they are named the exact same aswell

#

maybe it never cleaned the jar from when it failed to compile due to some javadoc bs

potent nest
#

oh is sh*tpack still down

half harness
#

unfortunate

#

my plugin can't build 🥲

#

I've also got a new dependency so I can't use offline mode either

#

or wait

#

what if i remove jitpack

#

and then add dependency

#

then offline mode

#

🧠

brittle leaf
#

it now compiles just fine

#

😠

#

no idea why it didnt last week when i attempted

half harness
#

i dont see why people hate on jitpack so much
it's better to use maven repos on how it's supposed to be used but jitpack is helpful when you don't want to have like a libs folder and put the jar in there when it's OS

obtuse gale
#

it would be nice if it was reliable

half harness
#

and imo maven local is even worse than having a libs folder since now people don't know where you got the dependency from

brittle leaf
#

i love to play the game mi

half harness
lucid tangle
#

oops sorry wrong person to ping

potent nest
#

what have you done

half harness
#

what have you done

lucid tangle
#

Well, @agile galleon told me to remove few lines in the file

#

And the compilation worked perfectly

potent nest
#

add them back lol

lucid tangle
#

If I add it back, it will totally fail

obtuse gale
#

it's not working now either

lucid tangle
#

It does but make error

#

this part is the problem

potent nest
#

because you didn't clone the repository

lucid tangle
#

I mean, I downloaded it

potent nest
#

you downloaded the zip

lucid tangle
#

yeah

potent nest
#

which is missing relevant files

lucid tangle
#

oh

#

To clone, what command do I need to do in cmd

#

oh git clone

agile galleon
lucid tangle
#

okay I'm doing that right now

#

Ok it seem to work for now, thanks 🤗

#

doesnt

agile galleon
#

nono

#

nono

#

delete the directory

#

then do git clone https://somegithublink.git

lucid tangle
#

thats what I did

#

:x

#

I entered it in cmd as admin

#

it generated the file in question

#

then I did gradle buildShadow

agile galleon
#

the directory you get isnt called PlotsQaured-6 though

#

its called just PlotSquared

lucid tangle
#

Because I moved files through plotsquared-6

#

yeah I got that file

agile galleon
#

yeah dont

lucid tangle
#

ahh

half harness
#

theres a hidden .git folder

agile galleon
#

thats where you gotta build it

half harness
#

iirc

lucid tangle
#

damn

#

ok let me try

#

Okay so it is loading

#

that seem to work for now

#

oh shit

agile galleon
#

thats cprrect

#

dont worry

lucid tangle
#

ok

#

Thought that was error while it ran

agile galleon
#

wrong jar again

lucid tangle
#

oh shit yes

#

thats right

mental summit
#

are we explaining someone how to build plotsquared so they don't have to pay for it

#

or what

lucid tangle
#

Looks like.

mental summit
#

wild

#

could've just bought the plugin with the time spent trying to build it

lucid tangle
#

Yeah it clearly made an empty file

lucid tangle
#

to get the answer

#

Maybe you could understand

wind patio
agile galleon
#

yeah i already complained

#

but some people just dont have the money

agile galleon
lucid tangle
#

If I had it, I would buy all the plugins I needed

agile galleon
#

you gotta get the one thats 3mb big

lucid tangle
#

yes this one

mental summit
#

i would but there's like 3 hours and 1000 messages to dig through

lucid tangle
# lucid tangle

the problem is...that's exactly the file that generated error firstly

mental summit
half harness
lucid tangle
#

Wait, really?

#

What a genius

mental summit
#

wild

lucid tangle
mental summit
#

already wasted 2 hours of your time

lucid tangle
#

So yeah it doesn't seem to have a plugin.yml there

lucid tangle
agile galleon
#

wrong jar still

#

read my messages

#

thank you

mental summit
#

could've earned the 15 EUR required to buy the plugin in that time

#

and then support the developers

lucid tangle
#

I can just spend 2 seconds asking you sneaky_simon

mental summit
#

clearly not you've been here for 2 hours

half harness
#

💀

lucid tangle
#

Well, that will be 2h and 2 seconds

agile galleon
#

and you are in?

lucid tangle
#

oh

#

I just confused myself, sorry for the disturbing

inner umbra
#

This the right file?

agile galleon
#

yes

ionic gust
ionic gust
#

mobarena has a discord server where u can ask. if u need invite i can send in dms

#

sent

inner umbra
# inner umbra This the right file?

Eclipse;
Import -> Git -> Projects from git (with smart import)
If doesn't automatically switch to gradle nature (Right click -> Configure -> Add gradle nature)
Run configurations -> Gradle Task -> New Configuration

Tasks -> compileJava + shadowJar

Compiled jar located in project folder -> Bukkit -> build -> libs

agile galleon
#

what the heck

ionic gust
#

do they even have eclipse?? what heck that

agile galleon
#

git clone https://github.com/IntellectualSites/PlotSquared.git
cd PlotSquared
gradle build
Now get the biggest file located in Bukkit/build/libs/

#

3 commands rather than installing a shitty IDE and doing shitty stuff in a shitty IDE

ionic gust
#

yea u can definitely do this without the need of installing an IDE...

inner umbra
potent nest
ionic gust
inner umbra
#

Does he even have gradle installed?

ocean quartz
#

You don't need to install gradle

potent nest
#

^

ocean quartz
#

It has a wrapper

inner umbra
#

👍 I don't use gradle and the only thing that came up was saying you need it installed xD

potent nest
agile galleon
#

even though i have toolbox

half harness
ionic gust
half harness
#

jetbrains toolbox extension or smth

agile galleon
#

jesus

glossy relic
#

Basically the only reason for installing gradle (iirc) is converting maven projects to gradle ones and creating new gradle projects from the cmd line

inner umbra
agile galleon
#

some work gotta be here

ionic gust
potent nest
#

yeah but I think it interacts with the toolbox app

ocean quartz
#

You all just spent 2 hours to do git clone, cd PlotSquared, gradlew shadowJar

ionic gust
#

LOL

half harness
#

💀

half harness
#

no

#

it's shadowJar

agile galleon
#

no its not

#

build dependsOn shadowJar

#

its bad design to not have that

#

build has some cleaning tasks and preparations

half harness
#

maybe, but even yapperyapps got it working on shadowJar ¯_(ツ)_/¯

ionic gust
half harness
#

sooo

ocean quartz
#

It doesn't matter lol

agile galleon
ionic gust
#

oh wait what when

half harness
#

he kinda just left

ionic gust
#

yeah...

agile galleon
#

no he got it

#

im pretty sure

half harness
#

him leaving assumes this ^

#

either that or he gave up

#

lol

agile galleon
#

i know it works

ionic gust
#

ok well guys what is this new jetbrains fleet ide

half harness
#

a text editor that takes 10 seconds to launch vs sublime's 1 second

#

🙃

agile galleon
#

yup

ionic gust
#

ok so its better than sublime hmmmm

half harness
#

i gotta reinstall windows sometime

#

i did something and now it's running 💩

agile galleon
#

tried public beta and its useless

ionic gust
half harness
#

🤨

ionic gust
half harness
#

I've also got an SSH key that I use for a couple stuff on here

#

is it bad to back up an ssh key

ionic gust
#

i do it...

half harness
#

hi Glare

#

do you back up your ssh key

frail glade
#

Just did a fresh install a couple days ago, like new.

ocean quartz
#

Same

half harness
#

my main reason for a possible fresh install is to eliminate whatever is lagging my computer

#

it was fine iirc at first

frail glade
#

Too many npm packages clogging my hard drive

half harness
#

unless i destroyed the hardware

#

i tend to break technology sometimes

frail glade
#

And gradle cache indexes

agile galleon
#

ive wanted to do one actually

ocean quartz
#

Just don't do like me, go to upgrade mb and cpu but buy a ddr5 mb instead so now you have to spend on new expensive ram for absolutely no reason

agile galleon
#

but ill loose all my files

ionic gust
half harness
#

matt what are your thoughts on backing up an ssh key

#

matt is smart

ionic gust
agile galleon
#

and thats why im scared to do it, because i may miss something

leaden sparrow
#

Quick question, how often do you guys rotate your ssh keys? thinkies

half harness
#

☹️

frail glade
#

I did something similar but I did a new case and I had to do a new MB and RAM and cooler 😦

ionic gust
inner umbra
#

Memory is probs the only thing i can upgrade without bottle necking lol (Capacity not speed.)

mental summit
#

@ocean quartz

ocean quartz
#

@mental summit koriLove

half harness
#

☹️

half harness
#

🙃

mental summit
frail glade
#

I'm doing a new PC sometime in 2023

ionic gust
leaden sparrow
ionic gust
half harness
#

now it's probably overpriced

frail glade
half harness
ionic gust
half harness
half harness
inner umbra
#

Bro has everyones SSH keys on a single drive xD

half harness
#

i meant backing up all my data

ionic gust
half harness
#

you can't tell anyone

leaden sparrow
#

@ocean quartz hbu?

ionic gust
ocean quartz
#

Rotating ssh keys? Never heard of it

ionic gust
#

i just used one of my mc servers lmao

inner umbra
#

If you want cheap external, buy a cheap internal drive and a cheap USB drive dock

leaden sparrow
half harness
ionic gust
#

sounds like a lot of work

half harness
#

i use oracle vps which only has 200gb of storage for free

inner umbra
#

I have 2 external USB-C drive docks xD

ocean quartz
half harness
#

🙃

#

free ftw