#dev-general

1 messages · Page 75 of 1

jovial warren
#

The facts basing the opinion can be wrong but the opinion itself cant be
^^^^^^^

prisma wave
#

And the justification in this case is very strange

remote goblet
#

As i said, Bardy probably should of just stopped typing instead of forming the list

topaz bay
#

My opinion is that I am the richest person in the world

frigid badge
#

the justification is indeed strange, besides the points about his preference

prisma wave
#

thinking Java is better is fine

topaz bay
#

The evidence is bullshit

obtuse gale
#

sx the facts basing that are wrong tho

topaz bay
#

I am not the richest person

#

My opinion is wrong

distant sun
#

My opinion is that I am the richest person in the world
@topaz bay the grumpiest

jovial warren
#

@topaz bay your opinion still isn't wrong though

prisma wave
#

but this justification is inherently wrong

topaz bay
#

Youre fucking dumb.

jovial warren
#

you're just delusional

#

in that case

prisma wave
#

or at the very least it doesn't make sense

obtuse gale
#

you can believe your the richest

frigid badge
#

lmfao

prisma wave
#

ok let's not get toxic

obtuse gale
#

doesnt make you the richest

topaz bay
#

YEAH

#

BECAUSE MY OPINION IS WRONG

jovial warren
#

but your opinion still isn't wrong

hot hull
#

My opinion is that I am the richest person in the world
@topaz bay
Hit me up with 2k, ktnx

obtuse gale
#

because the facts basing it are wrong

frigid badge
#

calm doen with your caps my dude

#

down*

jovial warren
#

as I said, facts can be wrong, opinions can't

remote goblet
#

In certain situations, you have to learn how to stfu :)

ocean quartz
#

He's the richest and you ask for 2k? Go for 2m at least xD

prisma wave
#

Ok this has gone too far

jovial warren
#

if you think you're the richest man in the world and you aren't, you're just delusional, doesn't mean your opinion is wrong

topaz bay
#

@ocean quartz JEEZ

hot hull
#

Matt, I only need 2k, so..

remote goblet
#

I only need $500

obtuse gale
#

ill take a tesla please

#

thanks in advance

frigid badge
#

nobody only needs x

#

you can always use more money

#

unless you have a lot of money

remote goblet
#

In some situations you do need money

obtuse gale
#

thats whats known as the economic problem i think

hot hull
#

We'll I do, but I'm not that scummy to ask for more than I need atm

remote goblet
#

to ya know, to eat and shit

hot hull
#

Ori, shitting is free

#

:c

frigid badge
#

well you don’t ‘need’ more

obtuse gale
#

Humands wants are unlimited but the resources are limited

remote goblet
#

Have you ever been to atrain station ?

frigid badge
#

since you have everything paid for you to live

hot hull
#

Ori, here train station toilets are free :))

remote goblet
#

:((

hot hull
#

Well, most of them

remote goblet
#

rich countries

frigid badge
#

70 cents here but on the train itself it’s free

hot hull
#

wdym rich countries

remote goblet
#

idk

#

Oh my god

#

you're still speaking?

obtuse gale
#

wiKiPeDiA isNt RelIaBle

remote goblet
#

shut up bardy

prisma wave
#

Ok let's settle it

#

Your justification is inherently wrong

#

Your opinion is not

frigid badge
#

@remote goblet don’t be toxic

prisma wave
#

End of story

hot hull
#

Y'all gotta just zip it kek

frigid badge
#

for real it’s just an discussion no need to be rude like that

jovial warren
#

about time someone got some sense around here, thank you @prisma wave

distant sun
#

Stop.

prisma wave
#

my pleasure

#

But the circlejerk must go on!1!1!

frigid badge
#

and yeah I agree with Brister’s statement.

jovial warren
#

let's move on shall we

frigid badge
#

fuck

prisma wave
#

Yep

frigid badge
#

could you not send that message a second later

prisma wave
#

Let's leave it here

remote goblet
#

I think it's time to return to this

frigid badge
#

now I look like a weirdo

remote goblet
#

;)

topaz bay
#

Im not clicking that

#

I already know what it is

remote goblet
#

click it

prisma wave
#

I fixed it lenmo

remote goblet
#

do it

#

you wont

topaz bay
#

NO

prisma wave
#

lemmo*

remote goblet
#

no balls

frigid badge
#

lmao thanks

topaz bay
#

You right

jovial warren
#

what is this @remote goblet ?

hot hull
#

@remote goblet

Jesus christ get yourself together

ocean quartz
#

Ori make things final

remote goblet
#

the best thing ive ever done

prisma wave
#

is it the Island class

#

it is isn't it

remote goblet
#

Yes

hot hull
#

Yes

prisma wave
#

oh no

frigid badge
#

lmao

jovial warren
#

yeah try to make things that don't need updating final

remote goblet
#

I already fixed it

#

like a month or two ago

jovial warren
#

also I wouldn't suggest your variable names be things like getX

#

alright

topaz bay
#

I KNEW IT

jovial warren
#

you knew what?

prisma wave
#

lenmo lmao

topaz bay
#

Not talking to you.

prisma wave
#

mature

frigid badge
#

🤣

remote goblet
#

I want icecream

topaz bay
#

same

remote goblet
#

we have vanilla and raspberry ripple :o

frigid badge
#

I should organise a clash of code here one time

ocean quartz
#

Hmm Ori, an Island object accepting an Island object on the constructor doesn't make much sense >.<

frigid badge
#

just for fun

topaz bay
#

ew wtf

prisma wave
#

nothing in that class makes sense

remote goblet
#

that entire class doesn't make sense

topaz bay
#

who tf eats raspberry icecream

#

You swine

remote goblet
#

:(

prisma wave
#

@frigid badge that would be cool

hot hull
#

Sx wow

remote goblet
#

You see

distant sun
#

Raspberry Pie

remote goblet
#

I want the volcano ice cream :o

hot hull
#

volcano icecream?

topaz bay
#

mmmmm

#

Nothing like a volcano of cream

frail glade
#

Stop.

remote goblet
#

no i mean uk volcano ice cream

#

the most disgusting thing ever

prisma wave
#

What is that

hot hull
#

Waffle Boi

#

LEAVE

remote goblet
hot hull
#

How dare you even post that image

prisma wave
#

omg

remote goblet
#

the ones that are just covered in sherbert

prisma wave
#

the volcano ice creams are godlike

remote goblet
#

they seriously are

prisma wave
#

ice cream vans come back 😭

remote goblet
#

😢

hot hull
#

@solemn monolith Now, add unlimited messages (if you want an example of what I mean, run =pl frozen join in #bot-commands)

remote goblet
#

My dad really enjoys oyster ice cream :o

hot hull
#

Where are you from Ori?

remote goblet
#

UK

hot hull
#

Y'all people are mad

obtuse gale
#

I love oyster 😂

#

It's our traditional food

remote goblet
prisma wave
#

Normal oysters suck

remote goblet
#

Rocket and Mr Magic :oooooo

prisma wave
#

Ice cream oysters good

solemn monolith
#

@hot hull I'll have a look 🙂

obtuse gale
#

Btw yes, I usually fry the oyster to eat

distant sun
#

I have never understood why your first shit plugin, probably join messages, MUST be posted on spigot

#

Just .. why?

obtuse gale
#

Lol

prisma wave
#

It's tradition

obtuse gale
#

lol

hot hull
#

Gaby, why are you rude..

solemn monolith
#

😢

remote goblet
#

each plugin must have join messages

hot hull
#

Your shit plugin (gui helper) is also posted on spigot, and here we are

#

<o/

obtuse gale
#

oo

hot hull
#

||jk <3||

obtuse gale
#

its not a joke if its true

#

Btw one question

#

Does anyone like fried field-mice?

#

I do 👀

#

mice?

hot hull
#

What doodoo land are you from?

obtuse gale
#

Yes

remote goblet
hot hull
#

What's next? roasted human?

remote goblet
#

@topaz bay

obtuse gale
#

No ._.

#

But roasted dog....

hot hull
#

oh god

obtuse gale
#

wait

#

whats in dim sims then

#

i thought it was a typo at first

#

and you meant rice

hot hull
obtuse gale
#

Do you share your roast mice with cats?

distant sun
#

Gaby, why are you rude..
@hot hull im not

ocean quartz
#

Lies

hot hull
#

Read my next response nerd

distant sun
#

Shut up matt xd

ocean quartz
#

See rude!

hot hull
#

Your shit plugin (gui helper) is also posted on spigot, and here we are
@hot hull

distant sun
#

Your shit plugin (gui helper) is also posted on spigot, and here we are
@hot hull you wish :)

hot hull
#

r3kt

distant sun
#

Im not against join plugins but for real

#

You cant make a plugin without posting it on spigot?

hot hull
#

I get what you mean but still no need to demolish the guy :p

#

If only showcase was actually for showcasing purpouses :c

#

And not straight up advertisment

distant sun
#

Thats not what I intend but FOR REAL

#

Kinda stupid imo but mkay

pale shell
#

that's the fucking second time I hit ctrl + alt + shift + k by accident 😐

hot hull
#

Just disable it lmao

pale shell
#

cba

#

I know i'm gonna hit it one day by accident and brister and sx will find it funny

hot hull
#

Then stop complaining lmao

pale shell
#

i'm not

remote goblet
#

that is exactly what i said to myself frosty

pale shell
#

i'm just saying it's too easy to press

remote goblet
#

what does it do

hot hull
#

What the fock are you doing that you're holding down ctrl, alt, shift and K

pale shell
#

convert the project to kotlin

#

@hot hull you've never worked with excel then

hot hull
#

What's excel got to do with IJ lmao?

pale shell
#

i'm just saying because excel has long keybinds

hot hull
#

Still doesn't explain what you're doing to be pressing all that shit..

obtuse gale
#

wait waht does cntrl alt shigt k do

prisma wave
#

converts java to kotlin

obtuse gale
#

So guys

#

o

#

I want to make it so when player has invincible it also hiddes the armour, anyone know a way? I have also protocollib as depency if that helps

remote goblet
#

I'd assume it might use the #canSee method or using packets

prisma wave
#

canSee would probably do

remote goblet
hot hull
#

first method is easier

#

:p

remote goblet
#

;p

prisma wave
#

second is better though

remote goblet
#

im still not too sure how some people

#

fail to use google

ocean quartz
#

It's a "hard" skill

pale shell
#

Light mode...?

obtuse gale
#

How to google should be tought in school

#

None of this Ask a teacher bs

#

Just Ask google

pale shell
ocean quartz
hot hull
#

yup

#

Just so I can shorten the code a bit :p

ocean quartz
#

There you go, it's pushed for 1.2.8

jovial warren
#

anyone know how I can get a javadocs page on my site?

distant sun
#

spigot javadocs? buildtools

jovial warren
#

no custom javadocs

#

so I can put my own javadocs on there

#

do I just generate javadoc files and upload them?

lunar cypress
#

Yes

prisma wave
#

bonus points if you use CI

jovial warren
#

I want to use CI

prisma wave
#

good idea

#

CI is cool

jovial warren
#

I just wanna know how I can automatically get documentation uploaded to the folder that houses the javadocs

prisma wave
#

what CI provider are you going to use?

jovial warren
#

probably Jenkins

#

about the only one I really know about

prisma wave
#

Jenkins is cool

jovial warren
#

even then I don't know much about what it is or how it works

#

no idea how CI server's even work

prisma wave
#

I don't know many other self hosted options

jovial warren
#

also I'm assuming I can customise my javadocs page with a good old bit of CSS

prisma wave
#

you can

jovial warren
#

I get free Travis CI with GitHub Student Developer Pack

#

from what I read

#

but that's a paid service

#

Jenkins is free

prisma wave
#

Travis is free?

jovial warren
#

is it?

prisma wave
#

Pretty sure it is

#

Not sure if they do self hosted options

jovial warren
#

idk about that

prisma wave
#

But normal Travis is free afaik

jovial warren
#

but still, Jenkins is completely free and open-source

#

and works self-hosted

prisma wave
#

Indeed

#

As for your javadocs I would script it

jovial warren
#

what kinda script?

#

JavaScript?

hot hull
#

@ocean quartz Did you add that to the util thingy, or the gui one as well?

#

Cause I'm only using mfgui for this plugin, and "my own" command thingy

ocean quartz
#

That is just in the itembuilder so only the gui one

hot hull
#

Yea just noticed :p

dry coral
#

@foggy pond

#

Does your karma plugin have an API?

#

I see it

#

Nevermind, how can I use it to access one's karma?

hot hull
#

switch to maven

#

or gradle

dry coral
#

what

#

i have the plugin in my maven

#

just need to figure out how to actually access karma data

#

Do I make a new instance of KarmaManager or

#

I also don't see a getKarma or getPlayerKarma method in the api

obtuse gale
#

@remote goblet can you send me that link

remote goblet
#

what

#

oh

obtuse gale
#

can someone help me with that issue?

remote goblet
#

Use 1.13+

#

problem solved

steel heart
#

Why

#

1.8.8 would work fine?

jovial warren
#

hey @pallid gale I thought I'd let you know if you didn't already that https://helpch.at/faq doesn't take you anywhere

errant geyser
#

So uh, I just bought a domain. Any ideas on how I could host a Maven repo at repo.mysite.com ?

#

If I don't reply within like 3 mins please ping me

prisma wave
#

@errant geyser vps + sonatype nexus is the way to go

errant geyser
#

How about a raspberry pi 2B?

jovial warren
#

yeah you need a hosting provider

prisma wave
#

You could probably run it off a raspberry pi

jovial warren
#

I wouldn't suggest using something on your local network

prisma wave
#

as long as it had ~1gb of ram

jovial warren
#

since that requires port-forwarding

prisma wave
#

But yeah

#

hosting is better

jovial warren
#

^^^^

errant geyser
#

I'm doing it on my network for now. The pi 2b has 2? I think GB of RAM

prisma wave
#

Hm ok

#

Just bear in mind that could effectively end up ddossing your home network if it gets enough traffic

errant geyser
#

I'm aware

#

Is there some sort of quick start guide for a sonatype repo? I was following a tutorial that showed to use Tomcat and archiva

foggy pond
#

@dry coral It does but in the current version it is kinda under-developed

#

The next update will have a much better API

prisma wave
#

Nexus is pretty simple

#

There's an installation guide on the website

#

and then you can setup a simple nginx config to proxy a subdomain if you want

#

As by default it runs on hostname:8081

jovial warren
#

that one should be it right

prisma wave
#

Yeah that's it

jovial warren
#

the free one

#

I should probably get that on my server

prisma wave
#

Go for it

#

It's ridiculously simple

jovial warren
#

can I push to jenkins and nexus directly from IntelliJ IDEA? I'm curious

prisma wave
#

Assuming you have a bit of sysadmin knowledge

#

I'm not entirely sure

#

I think Jenkins can support GitHub webhooks

jovial warren
#

oh I have plenty of sysadmin knowledge

prisma wave
#

And you could then script deployment to the repo

#

Nice

jovial warren
#

most of system administration is just following instructions anyway

prisma wave
#

true lol

#

copy and pasting commands

jovial warren
#

knowing what commands to not copy and paste

prisma wave
#

That's slightly harder

jovial warren
#

cough curl | bash cough

errant geyser
#

So, what would that nginx config look like and how could I like, make it work. I'm following that guide tomorrow

prisma wave
#

gimme a second and I'll send the config I use

#

it's insanely simple

jovial warren
#

am I the only one here who uses caddy lol

#

most people use Apache, and some use nginx

#

I use caddy due to it's simplicity and the fact that the person who helped me set it up when I didn't know what I was doing uses it

#

also hold on a second

#

is nexus oss not on a centos repository?

#

that's like rule #2 for linux: don't install things from tar

#

the first being don't install things from curl | bash

prisma wave
#

I never even thought of a repository

#

it seems to be on AUR

jovial warren
#

it's on AUR

prisma wave
#

never heard of caddy

jovial warren
#

yeah I'm not installing nexus from a tar file screw that

prisma wave
#

what's wrong with a tar file

jovial warren
#

it needs manual updating

prisma wave
#

oh yeah true

jovial warren
#

the whole point of a package manager is that it auto-updates software for you

prisma wave
#
  proxy_send_timeout 120;
  proxy_read_timeout 300;
  proxy_buffering off;
  keepalive_timeout 5 5;
  

  server {
    listen 443;
    server_name repo.bristermitten.me;
    
    client_max_body_size 1G;
    
    ssl on;
    ssl_certificate /etc/letsencrypt/live/repo.bristermitten.me/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/repo.bristermitten.me/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/repo.bristermitten.me/chain.pem;

    location / {
      proxy_pass http://127.0.0.1:8081/;
      proxy_set_header Host $host;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-Forwarded-Proto "https";
    }
  }``` @errant geyser this is by no means elegant and I'm not an expert but it does the job
#

proxy to the subdomain + SSL

jovial warren
#

that in caddy is literally:

repo.bristermitten.me {
    root (repo root)
}
#

caddy automatically handles ssl certificates

prisma wave
#

what about the proxy?

jovial warren
#

if you have certbot and certificates available

ocean quartz
#

BM do you know anything about docker?

prisma wave
#

a little bit

#

not much

jovial warren
#

oh wait isn't it available using docker?

prisma wave
#

I think so

jovial warren
#

that's another option for automatic updates

ocean quartz
#

Trying to figure how to update Java version on ptero but know nothing about it xD

errant geyser
#

Thanks BM, I'll modify that to what I need tomorrow. Or attempt to.

jovial warren
#

ptero?

#

what pterodactyl panel?

ocean quartz
#

pterodactyl panel

jovial warren
#

oh that's a pain

prisma wave
#

i'm not overly familiar with how docker works

jovial warren
#

neither am I to be honest

prisma wave
#

I know the basic concepts and commands but nothing like that lol

jovial warren
#

I just need something that I can use for auto updates

#

I'm not installing from a tar file

ocean quartz
#

I wish they'd use a more recent Java by default

prisma wave
#

that would be nice

#

I guess you could go into the container's filesystem and just change the files yourself

#

but that's probably an awful idea

jovial warren
#

actually since it's latest-unix.tar.gz I could probably create my own thingy

#

let's see this

prisma wave
#

fancy

distant sun
#

lemmo does @ocean quartz

ocean quartz
#

Ooh I should message him then

jovial warren
#

yeah according to my mate there actually isn't a way to have nexus auto update with yum

distant sun
#

Ooh I should message him then
@ocean quartz ye

topaz bay
#

tupppllleeessss

#

And it supports nested tuples

#

Which is probably a terrible idea, but we're rolling with it for now

topaz bay
#

that type is NUTTY

real ether
obtuse gale
#

what?

#

wdym add

real ether
#

Sorry forgot to add the link

obtuse gale
real ether
#

The link is working for me fine

obtuse gale
#

probably just me

real ether
#

Do you want me to upload it to some where else?

obtuse gale
#

na internet explorer worked

#

What I would do for that

#

use player.teleport instead

real ether
#

oh okay I'll try it

#

Which one should I choose? The second right?

obtuse gale
#

it doesnt matter

#

Well

#

The second one, you want to pass a location to it

hot hull
#

@ocean quartz with the ItemBuilder, if something doesn't exist (ie. a specific path - in this case lore (isn't set)), will that throw an npe, or does it handel it properly?

steel heart
#

Why would it throw NPE?

#

An ItemStack only needs a Material to make a new instance of it.

hot hull
#

config path throws an npe if not present

steel heart
#

In his fw?

hot hull
#

Not sure, hence my question

steel heart
#

Okay but I mean are we talking item lores?

#

I might have misunderstood the case

hot hull
#

ye we are

steel heart
#

Is the method like setLore(String... lores) ?

#

Or similar?

hot hull
#

It's an item builder

steel heart
#

I only see a method and a static method

#

But when I think of an ItemBuilder I thought you meant something which takes different args in methods and return itself so you can just keep using the methods and then a method to make a it an ItemStack. If we skip generics with something like a supplier. We would make a list null and then redeclare it on #setLore then on #toItemStack we first check if it’s not null then set the lore. That shouldn’t give NPE idk how Matt did it but I don’t think it should give NPE.

heady birch
#

@hot hull IColor.colorize 🤨

hot hull
#

wut

#

Naming it just Color is annoying cause IJ sometimes suggests ChatColor as the first line

heady birch
#

Icolor tells me its an interface

hot hull
errant geyser
#

Looks like i'm going to have to use a VM for the sonatype repo

#

My raspberry pi has 1GB of RAM lol

#

@prisma wave what variant of Linux would you say is best for this?

prisma wave
#

Ubuntu is always a good option

#

I've never tried CentOS but some people seem to prefer it for website things

errant geyser
#

VirtualBox doesn't have an option for CentOS

#

Can't decide on Debian vs Ubuntu, any thoughts?

quiet depot
#

ubuntu is user friendly debian

#

anyway

#

1gb won't be enough for nexus

#

it's hungry boy

errant geyser
#

Im aware. Its needs 2.7GB min, thats why I'm setting up a VM for it

quiet depot
#

oh right

#

just use ubuntu

errant geyser
#

alright

quiet depot
#

also

#

virtualblox shouldn't need an "option for centos"

#

doesn't it accept the image?

errant geyser
#

Yeah, you have to pass it an iso

#

Now the question is CentOS vs Ubuntu

quiet depot
#

ubuntu

errant geyser
#

ok

quiet depot
#

my nexus is using 300mb

#

not quite 2.7gb

errant geyser
#

When I went to start it, it said it required 2.7GB, and obviously since the Pi 2B has 1GB, it couldn't allocate it

quiet depot
#

ah, ic

errant geyser
#

I could've altered it, but eh

proper patio
#

Java or C++?

heady birch
#

Depends on the application and requirements?

distant sun
#

Skript ftw

hot hull
#

@distant sun leave

distant sun
#

=ban @hot hull

pallid gale
#

wew

pliant badger
#

how often should a database data be updated? what interval is too much?

errant geyser
#

On player logout?

jovial warren
#

feels like by offering a free service I'm undercutting other's business

distant sun
#

then dont lol

jovial warren
#

don't what? undercut other's business?

distant sun
#

ye

jovial warren
#

I really want to have something to do though lol

#

test works @pallid gale

pallid gale
#

smh

jovial warren
#

didn't seem like it did anything though

pallid gale
#

just ignore it

jovial warren
#

xD

ocean quartz
#

@hot hull Well if you're getting from the config null then Spigot will throw NPE, but if you set the lore to null it shouldn't

hot hull
pale shell
#

Anyone friends with PCPSells...?

signal tinsel
#

Do yall answer private calls or not?

hot hull
#

ew no

obtuse gale
#

hi guys

#

when i change slots on my server from 100 to 80 will it impact performance?

#

i heard about something like ram for 1 player

prisma wave
#

very unlikely

#

unless all the slots are filled I doubt it will make any difference

frail glade
#

I mean unless you can fill the slots, you can set it to anything.

obtuse gale
#

oh so it was a myth

#

thanks

frail glade
#

Damn Brister sniping me.

obtuse gale
#

yikes

prisma wave
#

sorry lol

gilded breach
#

Is PaperMC always the goto for plugin development?

prisma wave
#

A lot of the world is still on Spigot

#

Paper is best though

frail glade
#

55% is on Paper now

prisma wave
#

We have hope

frail glade
#

Since I have to support spigot tho I just compile against that

prisma wave
#

yeah the paper api isn't that much different

gilded breach
#

So would it be advantageous to develop plugins to run with paper instead of spigot?

frail glade
#

It's a lot easier if you run your own server on paper cause then you only have to worry about your server

#

Well it depends if you're developing publically or for single server

gilded breach
#

Ah yeah that makes sense

prisma wave
#

basically - if you want to appeal to the mass market (public plugins), compile against spigot. If you are making a private plugin compile against paper

frail glade
#

Paper includes a lot of optimized events / logistics such as async teleporting, async chunk loading, custom GameProfile stuff

gilded breach
#

if I built it for spigot would it automatically have compatibility with paper servers?

frail glade
#

But if you have someone on spigot, it won't work.

#

Ya

gilded breach
#

Alright that's great, thank you

frail glade
#

Yup!

pale shell
#

Paper is best though
@prisma wave how much of my code would i have to change to run paper

prisma wave
#

like

#

none

#

in theory literally nothing

pale shell
#

Fr?

prisma wave
#

paper isn't vastly different in terms of its api

pale shell
#

Interesting, might have to put it on the dedi

prisma wave
#

there's absolutely no reason not to use it

pale shell
#

Didn't know if I had to change stuff that's all

prisma wave
#

some methods are deprecated

#

but only because they should've been in spigot

pale shell
#

Btw i did a big oopsie today

limpid sun
#

anyone here know how to update what plugins you got?

pale shell
#

I accidently deprecated all my api and it errors up 24/7

#

What you mean...?

limpid sun
#

I purchased something ages ago before linking and I purchased more plugins since and I need extra roles on this discord

prisma wave
#

deprecation doesn't cause errors

#

it makes warnings

#

you just have to wait for spigot + the db to be updated @limpid sun

pale shell
#

All the same thing

limpid sun
#

does it do it automatically?

prisma wave
#

iirc they have to do it manually because spigot api sucks

pale shell
#

Wait

prisma wave
#

or rather cloudflare does

#

an error is inherently different to a warning

pale shell
#

Isn't there =check or =checkroles?

limpid sun
#

=check

#

xD

prisma wave
#

I think so

limpid sun
#

=checkroles

frail glade
#

It's =spigot check in #bot-commands

limpid sun
#

:P

#

oh

prisma wave
#

but as far as I've seen it still takes time to update

obtuse gale
#

Guys, I need to connect a second currency independent of the currency essentials to my server, do you have a proven plugin?

#

I apologize for my English

#

😄

prisma wave
#

are you looking for a plugin?

#

or do you want to make one

obtuse gale
#

I'm looking for a plugin

pale shell
#

@prisma wave up to 12hrs iirc

obtuse gale
#

I do not trust the developers, because they can write something bad in the code

pale shell
#

Who?

obtuse gale
#

but I can’t verify the code myself

pale shell
#

I do not trust the developers, because they can write something bad in the code
What developers

obtuse gale
#

which make custom plugins

pale shell
#

Why not..?

#

Not everyone makes scumbag code. If they do they'd be called out by everyone..

prisma wave
#

if you want a reputable developer then go for someone with lots of previous experience and vouches

pale shell
#

I mean, this is a development subject...?

obtuse gale
#

and find a ready-made plugin is not an option?
just because of the exchange rate the price will not be very good for me

prisma wave
obtuse gale
#

well thank you very much, sorry if I wrote the wrong way, I'm new here)

prisma wave
#

no problem

sullen mesa
#

If I update PAPI, will I have to redownload the ecloud expansions?

#

@prisma wave

prisma wave
#

I have absolutely no idea but I doubt it

wheat cedar
#

No you dont

obtuse gale
dry sage
#

https://github.com/latham7/HelloWorld

Hello! Dev student who is practicing java plugins. I made (followed tutorial) this hello world plugin but does not work. It does not show up in /pl on the server

#

any help would be great!

hot hull
#

If it doesn't show up on the plugin list at all, are you sure it's on the servers plugin folder? Also make sure you compiled it properly

dry sage
#

Im pretty sure it is. Im using eclipse

#

and yes it is in the plugins folder

#

Also not sure if this is the correct chat channel. Since im looking for help and it says "relaxed area"

hot hull
#

Switch to IJ :))

errant geyser
#

^ though you can still work with Eclipse, it's just like, harder. And no visible option to use Maven/Gradle

#

There should be an error in console about your plugin, what is it?

dry sage
#

I have no errors

#

what is IJ?

#

Nevermind, lol I used to use PyCharm so I like the look of this IDE

#

actually there in an error

compact perchBOT
#
📋 Your paste, Vegetable
https://paste.helpch.at/aquhibevuz

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

dry sage
#

sorry ill remember that for next time ^^^

obtuse gale
#

Indentation is wrong in plugin.yml

#

And get help from the spigot website or official discord, people on this server will only say to use IntelliJDEA

dry sage
#

I just downloaded it lol

frail glade
#

I mean he can still get help but people do tend to prefer IJ

dry sage
#

how do i export to jar from IJ

frail glade
#

If you do use IJ, check out a plugin called MinecraftDev

obtuse gale
#

Doesnt matter which one he likes, the plugin.yml was the issue

frail glade
#

I'm aware.

dry sage
#

yes thank you for that

obtuse gale
#

Should be 2 spaces under command if you know what Im saying

dry sage
#

no..? should i ?

obtuse gale
#

commands:
Hi:
usage:
description:

dry sage
#

ohhh yes yes I know sorry. Like I said, Im new and learning so sorry about my silly confusion

obtuse gale
#

Its good, just this is wrong place to get help

hot hull
#

It's not tho..

obtuse gale
#

Try this place instead

dry sage
#

Okay well I can try the Spigot channel if I need some more help. Thank you for your help tonight

#

🙂

obtuse gale
#

The people on the spigot discord are generally more knowledgable

hot hull
#

Debatable kek

obtuse gale
#

Yep, It is an opinion, but I can back up my point

pallid gale
#

Zuhko, you really are starting to annoy me.

obtuse gale
#

Litteraly whenever someone asks for help, they get an arrogant response or get told to use intelijdea, even if its a simple plugin.yml error

pallid gale
#

They don't, but there's no point arguing that here.

obtuse gale
#

They just did just scroll up and read the responses

dry sage
#

But if IJ can help me work a little bit more productively then its moreso helping than someone trying to push a software onto me

dry sage
#

lol

wheat cedar
#

Its true

obtuse gale
#

And IDE should be a tool, a choice of whags easiest for you

hot hull
#

Agreed, however IJ offers easier usage imo

obtuse gale
#

If you work the best with notepad than use it, but my point is all people say on this server is use ij

hot hull
#

Although, I wish IJ had the project tree as eclipse does (for ease of looking at other projects code)

obtuse gale
#

And generally speaking, people in the spigot discord are more experienced in the industry

hot hull
#

Again, debatable, but not trynna start an argument, so let's just say you're right GWcmeisterPeepoShrug

obtuse gale
#

They are, Choco is super smart and he responds alot

#

MiniDigger

#

Md_5

pallid gale
#

Then go hang out there?

obtuse gale
#

Bob71

#

All super smart and talented people always helping beginners

dry sage
#

things are not importing

#

like eclipse

hot hull
#

hit reimport if it doesn't do it auto

dry sage
#

where is that

hot hull
#

Maven tab right side, the two circle arrows

dry sage
#

im sorry, im tryiing to use IJ but what the fucc am i doing

#

how the fucc do you get to the maven tab

#

i googled it and no help either

hot hull
dry sage
#

I have ANT

#

i cant upload pictures

hot hull
#

You need to register the project as a maven one

#

?imgur

compact perchBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

dry sage
hot hull
#

You still gotta enable maven for the project

#

Is that a new project, or from existing source?

dry sage
#

i just made a new project with maven.

#

now its there

#

but cant make classes or packages

#

oh do you need to do it inside of the java folder?

hot hull
#

ye

dry coral
#

hurr durr intellij

prisma wave
#

intellij good eclipse bad !1!!?!

lunar cypress
#

dae??

hot hull
#

?ij

compact perchBOT
#
FAQ Answer:

?width=365&height=640

obtuse gale
#

you know like when you dont expect something to work

#

But then it does work

hot hull
#

Yup

obtuse gale
#

thats what happening rn

#

Cos I used to like compile my code every time i like added anything and test it... and now i make like massive changes and then test

hot hull
#

The best feeling is when you spend like 8 hours coding without testing, and it works

remote goblet
#

^

#

the best feeling is spending 10 hours coding without testing and then it doesn't even compile, it won't load it just completely breaks and with no way of fixing ;)

wheat cedar
#

mh i f I have a code session of 8hrs and it works it makes me suspicous

#

finding at least one thing makes me have a better feeling xd

distant sun
#

When did that happen to anyone lol

wheat cedar
#

the rare occasion that it happens

hot hull
#

Happened to me the other day

#

I mean it worked, but the code was ew

#

(also when I say 8 hours coding session, I mean while slacking and doing other things in the meantime as well)

wheat cedar
#

ah yes good old yt notifications kicking in with useless videos

hot hull
#

yup kek

distant sun
#

Haha

obtuse gale
#

does the method name matter with matts command framework?

#

Or just as long as it has the annotation and commandSender param?

distant sun
#

no, it doesn't

obtuse gale
#

Anyone experienced in luckperms api?

#

i am trying to make like a boolean for isStaff via a track, so example getting the groups and then checking if user has the track staff

#

on the old api i now it was

.getAllNodes().stream()
                .filter(Node::isGroupNode).anyMatch(node -> luckPermsApi.getTrackManager().getTrack(node.getGroupName()).getName().equalsIgnoreCase("donator"));``` but now i can't seem to find it how it worked.
prisma wave
#

Got bored, designing a language. Thoughts? ```
factorial = num::BigInt -> BigInt {
if(num <= 0, throw[IllegalArgException("Factorial of 0 or lower")])
if(num == 1, yield[1])
yield(num * factorial(num - 1))
}

5Factorial = lazy(factorial[5])


If anyone's interested the full spec so far is here https://docs.google.com/document/d/1MsqGZ-_5KCx9Fd9FSQSzqa8vrIkx5UK6G4i2lAhI9Tc/edit?usp=drivesdk
topaz bay
#

@prisma wave idea thief

#

;(

prisma wave
#

Yes

#

I even stole the name >:)

topaz bay
#

I see

#

Its spelled wrong though isnt it?

prisma wave
#

Idk might be 2 gs

topaz bay
#

it is

#

lol

pale shell
#

time to go through my whole project and remove all NPE catches 😄

prisma wave
#

Oh well

#

1 looks better

#

Yes

pale shell
#

Alex, you're making a language too..?

prisma wave
#

Mhm

pale shell
#

fuck

prisma wave
#

Got bored at 2 am yesterday

pale shell
#

I am really dumb 😦

lunar cypress
#

what problem is the language trying to solve

heady birch
#

@topaz bay @prisma wave How are you guys even making languages? Are you just designing them at the moment?

prisma wave
#

Nothing really

#

Just out of interest

#

yeah at the moment it's just a specification

heady birch
#

NiallLang™️ 🔜

prisma wave
#

I've not got any form of lexer or parser yet

pale shell
#

I wouldn't know how to start on making a language......

prisma wave
#

Start by thinking what the language wants to achieve

heady birch
#

FULL CAPS SYNTAX

pale shell
#

you ok there niall? lol

topaz bay
#

@heady birch mine sort of works

prisma wave
#

In my case it's for personal interest and to make a simple FP language that's statically typed

topaz bay
#

Nothing advanced yet

#

just properties and referencing them

#

Im working on the parsing of traits atm

heady birch
#

FUNCTION NiallCoolFunction ARGUMENTS a AS INT32 VIA REF, b AS BOOL VIA VAL RETURNING Result AS BOOL

prisma wave
#

that's hideous

heady birch
#

Now that is nice

#

😥

prisma wave
#

genuinely the worst thing I've ever seen

topaz bay
#

Do you ever just...

#

be sad.

prisma wave
#

cry

#

dead language

#

Friga > Odin

topaz bay
#

That is objectively untrue

prisma wave
#

how so

pale shell
#

Odin = best >:)

topaz bay
#

Because Odin is the all father

prisma wave
#

no

topaz bay
#

:D

#

bow to your dad kid

ocean quartz
#

Odin is literally the God

topaz bay
#

The god of the gods

pale shell
#

yes, i'm the god of coding too

prisma wave
#

Friga keeps him in check though

#

She is also goddess of magic which is cool

pale shell
#

ugh, why did i catch so many fucking NPES

#

i have to fix so much of my own bad code 😠

heady birch
#

Niall lang

prisma wave
#

just rewrite @pale shell

pale shell
#

rewrite.

#

the whole fucking plugin?!

prisma wave
#

yes

pale shell
#

hell no

prisma wave
#

Friga also invented Friday

#

Odin doesn't have a day

pale shell
#

it does

#

everyday >:)

prisma wave
#

No

heady birch
#

I will build Nialllang spec

prisma wave
#

please make it not ugly

pale shell
#

I'm actually terrified to find a NullPointerException catch now

#

i "might" have removed them all but idk

heady birch
#

NPE's are 10x better than something just not working and you dont know what

prisma wave
#

And null in the type system is 100x better

topaz bay
#

^

pale shell
#

@heady birch you must not have seen how i was using it then..

topaz bay
#

odin doesnt have null

#

:)

heady birch
#

Odin?

prisma wave
#

neither does Friga

heady birch
#

Is that your language?

pale shell
#

Sx, did you see how bad i was using NullPointerException?

#

idk why Sx made the language odin lol

topaz bay
#

traits

#

yummy

heady birch
#

traits are actually really cool

prisma wave
#

gonna have to steal that

heady birch
#

They are like interfaces, but implemented?

pale shell
#

I'm scared to look

prisma wave
#

quite a nice set of guidelines actually

topaz bay
#

traits are like a combination of abstract class and interfaces

heady birch
#

I wish java had that

topaz bay
#

Sort of like how interfaces behave in Kotlin

pale shell
#

no i mean i'm scared to see how bad i've been doing it

prisma wave
#

it says exactly why you shouldn't catch NPE

#

with examples

#

that entire website is actually very handy

pale shell
#

😠

#

i thought i removed them all

prisma wave
#

remove it

#

now

pale shell
#

relax alex

hot hull
#

oof

pale shell
#

It's gone

hot hull
#

Atleast you named it ex

pale shell
#

oh no

prisma wave
#

there are so many things wrong with that

pale shell
#

I KNOW

#

I'm not proud of it

heady birch
#

Lol

prisma wave
#

too bad you're not using Friga

#

no concept of null

pale shell
#

alex alex

#

guess what

prisma wave
#

what

pale shell
#

found another

prisma wave
#

just purge it all

pale shell
#

you guys seem to love seeing my npe catches 🙂

prisma wave
#

on the contrary

obtuse gale
#

just catch Exception

#

thats all your problems solved

prisma wave
#

that had better be a joke

pale shell
#

cant

#

thats bad

hot hull
#

Start catching pokemon

obtuse gale
#

gotta catch em all

prisma wave
#

catch Throwable

#

then you can handle OutOfMemoryError 😎

hot hull
#

catch Throwables*

#

=pl throwables

compact perchBOT
#

vv1.0.0 by Frcsty
A fully customisable throwables plugin

Downloads:

16

Likes:

0

Reviews:

1

hot hull
#

😎

pale shell
#

wtf

#

@hot hull I thought that did something else.

hot hull
#

What? Like catch pokemon?

pale shell
#

no

#

catch throwable errors or something

prisma wave
#

why would you need a plugin to catch exceptions

hot hull
#

Why tho kek

#

That'd be dumb

pale shell
#

there's plugins out there what do it

prisma wave
#

like what

pale shell
#

give me a sec i'll try and remember it

prisma wave
#

I find it extremely unlikely a plugin exists entirely to catch Throwable

hot hull
#

ew

pale shell
#

=pl Console Spam Fix

compact perchBOT
#

v1.8.2 by brunyman
[1.7.10 - 1.15.2] Hide configured messages or errors from server console and logs.

Downloads:

23,599

Likes:

67

Reviews:

91

pale shell
#

thats it

hot hull
#

I mean that just removes everything tho..

obtuse gale
#

almost fnished my 2fa plugin

hot hull
#

Doesn't really catch it, just prevents you from seeing it

pale shell
#

i mean... why would you even make that tho

prisma wave
#

oh ffs

#

"just suppress the exceptions! What could go wrong?"

obtuse gale
#

I mean for non-devs i can see a purpose for it

pale shell
#

was that to me alex or?

prisma wave
#

if there is an error it should be fixed

#

not just ignored

#

that plugin represents everything I dislike about spigot development

obtuse gale
#

but some plugins that have shitty authors dont do that lol

pale shell
#

Ah the plugin not me phew.

prisma wave
#

then don't use the buggy plugin

pale shell
#

Alex, you able to give a real quick opinion on something

prisma wave
#

yes

pale shell
#

i sent you a link via dm is that a good way to do it?

heady birch
#

then you can handle OutOfMemoryError 😎
@prisma wave 😮

zinc warren
#

Any1 here good with getting so hoppers move items faster and can pickup items faster?

remote goblet
#

Hoppers pick up items instantly

#

if you want them to transfer items faster

#

spigot.yml

zinc warren
#

Yeh, but i use wildstacker and the stacks are like x5000

remote goblet
prisma wave
zinc warren
#

Any1 mobhoppers plugin for skyblock? for 1.12.2?

prisma wave
lunar cypress
#

@prisma wave is there more spec for that language of yours

prisma wave
#

Only what's on the doc at the moment

#

It's in infancy, I just had an idea at 2am yesterday lol

lunar cypress
#

So more of a draft and a broad idea of the aesthetics

prisma wave
#

yeah pretty much. I've not even defined specific tokens yet

#

I was just planning out what it might look like

topaz bay
#

I hate the keywords

#

Make them prettier

prisma wave
#

like what

lunar cypress
#

Ah. Because the more interesting question imo are the features in general and how you work with the language. Syntax and aesthetics aren't really important to begin with

prisma wave
#

Yeah I agree

#

I think the "everything is a function" idea is actually pretty interesting. pretty sure I stole it from another language though

lunar cypress
#

What would be the benefits of that?

prisma wave
#

I'm not sure yet frankly

#

it could be a gimmick

#

but I suppose it would mean you could pass direct values to functions that took a Provider for example

lunar cypress
#

I.e. laziness

prisma wave
#

indeed lol

#

there are probably some other benefits but I've not thought what they could be yet

lunar cypress
#

I'm curious, btw: that factorial example, how would you make that lazy?

#

Whatever that means in this context

prisma wave
#

5Factorial = lazy(factorial[5]) this bit?

lunar cypress
#

Yeah

prisma wave
#

the square brackets resolve the function call as a function itself. So it's like the equivalent of () -> factorial(5) instead of the direct value

#

or did you mean internally how would the lazy function be handled?

lunar cypress
#

What would lazy do there?

prisma wave
#

it's like the kotlin lazy block. It lazily initializes and stores the value returned from the function

lunar cypress
#

Hmm I see

#

I thought this was something like clojure's trampoline

prisma wave
#

hmm

#

that could be implemented I imagine

lunar cypress
#

Which in many cases allows you to remove recursion from recursive algorithms, even if you don't have tail recursion

prisma wave
#

yeah that could be an interesting addition

lunar cypress
#

Something like that could be interesting as a first class feature

prisma wave
#

Lemme plan out what it would look like

#

I guess this is why everything being a function is useful. () -> Int could be just 5
I've not tested this for obvious reasons but I think this should be roughly the same ```
factorialFun = num::BigInt -> (() -> BigInt) {
if(num == 0, yield[_])
if(num == 1, yield[1])
yield(yield[num * factorialFun(num - 1)])
}

10Factorial = trampoline(factorialFun(10))

topaz bay
#

@prisma wave replace the word nothing with an underscore, and youve got my support

prisma wave
#

deal

#

it can be both

topaz bay
#

Except I dont understand the double yield

prisma wave
#

I've just about got my head around it

#

it yields an anonymous function

topaz bay
#

I also dont understand the semantics of the parentheses and brackets

prisma wave
#

it's the same as yield({ yield(num * factorialFun(num - 1)) })

#

how so?

topaz bay
#

why is trampoline called with parens

#

but factorialfun is called with brackets?

prisma wave
#

I think they should both be () actually

#

quite difficult as I'm making up the rules as I go along lol

lunar cypress
#

I guess if everything is a function anyway that distinction doesn't need to be made

prisma wave
#

not exactly no

topaz bay
#

but it doesnt make sense?

#

How could it not need to be made

prisma wave
#

Like I said the [] is for resolving the function call as a function itself

topaz bay
#

Why does the final yield have parens, but the other ones use brackets

prisma wave
#

you're right they should all be parens in this case

#

I think

#

factorialFun returns a () -> Int. Which can be resolved to just an Int, so factorialFun[num - 1] would return a () -> (() -> Int))

#

so yeah just ()

lunar cypress
#

How could it not need to be made
@topaz bay I mean if everything is evaluated upon access you don't need to distinguish between values and functions in that sense

prisma wave
#

values are functions

lunar cypress
#

What you do need of course is some syntax for an anonymous function

prisma wave
#

I suppose technically factorialFun could just return an Int

#
paramName::Type -> ReturnType {
  
}```
#

it's just this for any function right now

lunar cypress
#

I suppose technically factorialFun could just return an Int
@prisma wave yeah that's what I meant by trampoline behaviour in the language space

prisma wave
#

mm

#

this is confusing stuff

topaz bay
#

...

prisma wave
#

wat

#
fun factorialFun(num: Int): (() -> Int)
{
    require(num != 0)
    if (num == 1) return { 1 }
    return {
        num * factorialFun(num - 1)()
    }
}

factorialFun(3)()
``` I think this is the closest equivalent of what is happening but that seems to defeat the point of trampoline as 1 function call calls all of them. Probably impossible to properly resolve in Kotlin
obtuse gale
#

What is better than NMS development in terms of Packets detection?
Like Anticheat detection

lunar cypress
#

It should be possible

#

wait no

#

@prisma wave I just realised trampoline doesn't work with that implementation anyway

prisma wave
#

oh how come?

lunar cypress
#

at least not in the user space

#

because you have to call the function in order to multiply it with the number

prisma wave
#

Oh yeah

lunar cypress
#

so in this example you'd have to make it tail recursive

prisma wave
#

hmm

#

I wonder if I could make Int * () -> Int resolve to () -> Int

#

then it would work

#

I think

lunar cypress
#

the benefit of trampoline emerges when multiple functions are involved that depend on each other

#

but yeah I guess if you have really good analysis you might be able to optimise such things

prisma wave
#

honestly not sure it's worth it or not

lunar cypress
#

yeah probably not

#

also hard af to get right

prisma wave
#

yeah I expect so

#

cool idea though

#

In theory it could happen if every direct type was fully interchangable with a supplier of itself. Which I guess they already are

#

my plan is for a literal to resolve to a () -> Type anyway

#

hmm

#

yield(num * factorialFun[num - 1])

#

factorialFun[num - 1] would resolve to () -> Int, so that could establish that the multiplication should become a function rather than the result of a function call

#

this is getting very hectic

ornate mantle
#

Hi, is there an autosell bee wiki? I can't set a multiplier for a user.

pale shell
#

@ornate mantle What you mean by that? docs for autosell..?

heady birch
#

They can't handle Niall Lang```vb
FUNCTION IsEqual [Var1 BYVAL AS Int32, Var2 BYVAL Val AS Int32]
END WITH True IF Var1 = Var2
END WITH False

#

This example shows the default return value

prisma wave
#

ew

#

how did you get syntax highlighting

heady birch
#

Hehe

#

Haters say its like VB

prisma wave
#

VB sucks

heady birch
#
INFERRED PROCEDURE DoSomething