#dev-general

1 messages ยท Page 5 of 1

pastel imp
#

your logs are spammed of them

urban sleet
#

Fun fact that (I think) a lot of people don't know, if you click Shift + . while looking at a Github Repository, it'll open a web version of VSCode to edit things in

obtuse gale
#

hi when a user clicks are option how do i force him to change menus?

rotund egret
#

Close inventory and open a new one

cinder flare
#

I've used three frameworks primarily, those being Bootstrap, Bulma, and Tailwind. I find it's nice to start out in web dev using batteries-included frameworks like Bootstrap/Bulma because it teaches you what you should be doing, then at some point, you learn the magical power of the columns and column class is just like a flexbox with a percentage width lol

#

generally someone has to end up doing lots of media queries, frameworks just do it for you, and with the help of CSS preprocessors like SASS and LESS, you can generally avoid writing a crap ton of media queries

silk kite
#

Yea I looked into a few frameworks like tailwind but imo it just makes the codebase messier while achieving exactly the same as writing your own css.
and thats usually what my solution is: basically just flexbox virtually everything and add a few media queries here and there to finish things up :kek:

cinder flare
pastel imp
#

Tailwind is an utility framework, it's meant to give the same control of traditional css but just faster to write.

cinder flare
#

tbf I have used it far less than the other options, but it is 100% faster and more condensed and more directly in line with the markup it affects than raw CSS

pastel imp
#

with bootstrap and basically almost all other frameworks you are limited by them, while with tailwind you have the same control you would with normal css while writing it faster and having things a lot simpler.

#

If it looks a mess for you, you can just create a class and use @apply.

#

Still faster than writing vanilla css.

cinder flare
#

I mean I don't know how limited you are, nobody is forcing you to use their shit lol, you can just end up writing your own CSS or making your own classes if you want em

rotund egret
#

I only write in html

pastel imp
cinder flare
#

because it provides sane defaults for 99% of stuff you want to do, and you can make your own like 5 classes when you need em

oblique heath
#

i only inline raw css in my html pages

pastel imp
#

eh well, all websites with bootstrap, even with custom css, etc feel the same.

#

Which removes uniqueness from you.

cinder flare
#

I mean that's the point

pastel imp
#

Sure, if you want to just do something quick and don't care about feeling repetitive or the same as other websites, go ahead.

cinder flare
#

the fact that it enforces consistency between lots of people is the best part of it for anything more than a single-person project

pastel imp
#

Tailwind just gives you a ton more control.

cinder flare
#

I use bootstrap at my work with a team of about 15 people, and it is amazing that everything feels stylistically similar and consistent no matter who wrote the page

pastel imp
#

Cause they just do some global classes using @apply and the rest is done by themselves

cinder flare
#

sure, for people who are designers lol

pastel imp
#

nono front-end devs.

cinder flare
#

for a team of mostly backend people who just so happen to have to make frontend shit, it is a godsend to not have to worry much about how things look

pastel imp
cinder flare
#

that's what most of my team is

pastel imp
#

pain

cinder flare
#

i mean i don't really think so lol

#

things look fine enough, and i don't get paid to spend 15 hours making a perfect tailwind setup

pastel imp
#

I mean, sure, but it depends really on the job.

cinder flare
#

tailwind also has a very long startup time where you are figuring out what you want things to look like and are constructing the classes you'll end up using the whole time

#

with Bulma or Bootstrap, I can get in and start doing things basically instantly

pastel imp
#

As said, it comes to preference and if you want unique stuff or not.

cinder flare
#

I definitely think Tailwind is good and cool, but it is far from the only option, and it is in fact pretty damn hard to stay visually consistent and stuff if you're a beginner

pastel imp
#

If you just want it done, no issues using bulma or bootstrap.

cinder flare
#

or if you don't want to spend dozens of hours reinventing the wheel when you could just use a premade component library

#

even Tailwind UI exists lol

pastel imp
#

ye true. Tailwind UI exists

#

Flowbite too

cinder flare
#

the truth of the matter is that most people don't want to completely reinvent the wheel every time lol

pastel imp
#

yes. I can totally understand that.

#

That's why I said it depends on the needs and focus.

#

my life could've been easier if I didn't use tailwind maybe, yes, but I am too perfectionist to not use it :-:

frail glade
#

Flowbite looks interesting.

#

I'm just trying to get away from BootstrapVue at this point.

pastel imp
#

Svelte ยป ALL

cinder flare
#

so true

#

i am still wrapping my head around how it all works, especially the compilation aspect and like how I can integrate it with existing projects, but it just has such low amount of boilerplate

cinder flare
#

native dark theme ๐Ÿ˜Œ

pastel imp
cinder flare
#

i mean it doesn't seem very hard, since it compiles everything ahead of time, you can just export it to a static directory and serve it straight up

pastel imp
#

I mean, I tried doing it since I went from scss and normal html to svelte and I just decided to fully redo it with tailwind...

pastel imp
#

Svelte is good.

#

lets not talk about SvelteKit

cinder flare
#

yeah im looking to spice up a Django project I have and am not keen on completely rewriting right now lol

pastel imp
#

that's another level of good

cinder flare
#

yeah especially since the big load rework happened like yesterday

pastel imp
#

ye

#

still didn't update mine xD

#

probably should

#

I don't even know how to update to the latest sveltekit version lmao

#

never did it :-:

frail glade
pastel imp
#

But think it like this, it's for the better

#

sacrifices gotta be made.

cinder flare
#

I was originally going to do Nuxt, but that whole system is kind of a mess right now with the whole Nuxt 3 migration and everything, plus Vue is pretty damn complicated compared to Svelte lol

cinder flare
#

oh no lmao

#

chazza likes it, it must be bad

rotund egret
#

5 fingers

frail glade
cinder flare
#

yeah Svelte has a ton of clientside hydration

#

you get the best of both worlds: SSG for easy stuff, and then clientside hydration/routing after initial page load

#

well, that's for Sveltekit, but the same hydration stuff applies to normal Svelte

frail glade
#

Was looking at using AstroJS with Svelte possibly.

ocean quartz
#

I've been using Next and I can recommend, it's quite nice

frail glade
cinder flare
#

Sveltekit is much closer to Next/Nuxt than Astro tbh

frail glade
#

So SvelteKit is a replacement for Astro / Nuxt?

cinder flare
#

SvelteKit is the Svelte version of Next/Nuxt

#

Astro is like a CMS-based framework that's kind of a separate thing

frail glade
#

My new site is running on some tailwind boilerplate example of Astro that I found. I really like it.

#

So what stack am I looking at here? SvelteKit I guess goes hand-in-hang with Svelte? And then what UI framework?

cinder flare
#

whatever you want, Tailwind in your case works

pastel imp
#

Svelte = Frontend
SvelteKit = Backend (and has Svelte integrated, so also frontend)

#

easy way to see it

frail glade
#

Gotcha. So many options haha. Not sure what I want to choose yet. I mean it runs fine as-in right now, but I feel like so much of it could be cleaned up.

#

All the components are very similar to each other for the different platforms it's generating banners for.

pastel imp
#

if ya want I can send you my test website for my current project

#

doesn't have much but it's in svelte

frail glade
#

So SvelteKit has something for like mixins and a store and middleware?

cinder flare
#

yes

frail glade
#

Interesting.

cinder flare
#

it's a backend meta-framework lol, just like Next and Nuxt

#

filesystem based routing, middleware, stores, etc.

frail glade
#

Oh cool.

cinder flare
#

and because Svelte doesn't have a virtual DOM, basically any JS library that works with vanilla JS will just work with Svelte

#

so you can pretty much just use the entire ecosystem, no need for svelte-specific stuff

pastel imp
#

https://tcn.pages.dev/
^^ Test website, only pages available are Home and About. (it has a little transation too xD)

frail glade
#

Yeah that's one thing I saw that was cool about Astro is it only will render the JS on demand.

#

Oh that looks pretty cool.

pastel imp
#

also, files looking like this in my project, for reference:

#

(well, I also added prettier and eslint...)

#

Oh did someone already mention that SvelteKit comes with Vite integration built in?

#

๐Ÿ‘€

frail glade
#

What's the + for?

cinder flare
#

filesystem routing

pastel imp
#

it's a prefix

cinder flare
#

pages with a plus in front are public routes

pastel imp
#

it's new on the latest version ^^

cinder flare
#

that way you can easily colocate components and other stuff like backend code

pastel imp
#

well, they call them "magic files"

frail glade
#

Hmm

pastel imp
#

it's quite cool to do stuff in the backend and use it in the frontend

#

I can give you this example, 1s.

#
export async function load() {
    const response = await fetch("https://games.roblox.com/v1/games?universeIds=290384992");
    const responseData = await response.json();
    let playing = nFormatter(responseData.data[0].playing, 1);
    let visits = nFormatter(responseData.data[0].visits, 1);
    return { playing, visits };
}``` 
This is in my `+page.server.ts`

Then in my `+page.svelte`, I can just use this:
```JS
<script>
    export let data; 
    let visits = data.visits;
    let playing = data.playing;
</script>
``` and voila.
#

then you just put {visits} and {playing} wherever you need it.

frail glade
#

So how did you pass that data from the back to the front?

pastel imp
#

just like I showed xD

cinder flare
#

so that's some magical filesystem routing stuff

pastel imp
#

export let data;

cinder flare
#

basically, similarly named <thing>.svelte and <thing>.server.ts are automatically loaded together

pastel imp
#

^^

cinder flare
#

the .svelte being the frontend component, and the .server.ts being the backend serverside endpoint

pastel imp
#

let's take an example, I create a /about/ folder, inside it I have +page.svelte which acts as the page and +page.server.ts which acts as the "backend"

#

they communicate in-between them. (or well, you export the data returned from the backend in the frontend)

cinder flare
#

though actually, yeah, every one of those files will be called page.svelte and page.server.ts, as they become the route of the folder they're in

#

all this new routing literally came out yesterday, so it's a little new to us lol

pastel imp
frail glade
#

Oh okay that's what I was wondering.

pastel imp
#

SvelteKit isn't released yet. So they are doing all the big changes now before releasing 1.0

obtuse gale
pastel imp
obtuse gale
#

here let me get you an example

frail glade
#

So what happens if you don't add a + to them?

obtuse gale
#

it'll make you loads with adsense

cinder flare
pastel imp
#

^^

obtuse gale
#

i'll dm you the idea in dms

cinder flare
#

so you can have like +page.svelte and then navbar.svelte and navbar won't be accessible

pastel imp
#

for example:

#

they can be components

cinder flare
#

but you can use it in your own templates and stuff

pastel imp
#

you can see it as

#

+ = public method in java
nothing = private method in java lol

#

well, private ish

frail glade
#

There wouldn't be any point to make a component public, right? Cause you want to use it in a page which then the page is public.

pastel imp
#

when I say private, it means it's not accessible to the public, but can be used anywhere in your project.

#

not restricted to one folder, or whatevr

frail glade
#

So if SvelteKit isn't released yet, is it still worth trying to migrate this decently sized web client over?

frail glade
#

Gotcha

cinder flare
#

but then that meant that you couldn't colocate components in the same folder, as they would then become pages

pastel imp
#

and you can easily migrate most of the time.

#

Lots of people are using SvelteKit in production.

frail glade
#

Wouldn't bother waiting to migrate you mean?

cinder flare
cinder flare
frail glade
#

Interesting. I'll have to see how client side hydration and stores and middleware work then. I wonder if it's also time to learn TS more.

pastel imp
cinder flare
#

You don't have to use TS, it's just fully supported and everything

pastel imp
#

ye ^

cinder flare
#

you can just do like +page.server.js instead

pastel imp
#

I mean, I do use TS in the files but I don't actually do anything IN ts lol

#

just enabled it in case one day I decide to use it

#

lol

frail glade
#

Yeah if you look at the repo everything is JS

pastel imp
#

have fun Glare ^^

#

it's a playground xD

#

(PS: This is svelte examples, not SvelteKit, but just Svelte is already awesome lol)

frail glade
#

Might just go without TS for now.

pastel imp
#

you can just use TS

#

and not use it lol

#

that's what I did

frail glade
#

Ahh nice.

cinder flare
#

yeah it doesn't actually enforce anything

#

but the type annotations are much better

frail glade
#

So JS with jsdoc or typescript fully?

pastel imp
#

ts fully

cinder flare
#

typescript

frail glade
#

Do I want playwright?

cinder flare
#

if you want to do tests

frail glade
#

Idk about tests

cinder flare
#

then no lol

frail glade
#

idc*

#

Boutta wack this out in an hour

#

Jk. This will be a couple weeks.

cinder flare
#

hell yeah brother

#

i mean, how big is your site? lol

#

should be p quick

frail glade
pastel imp
#

oh McBanners...

#

ye... good luck

frail glade
#

Bahahahaha

cinder flare
#

doesn't really look too bad lol

#

and you could make the awkward module dropdown look prettier too, could be good!

frail glade
#

It's not too bad but I want to make the whole site look nicer

cinder flare
#

(dark theme please)

frail glade
#

I don't do design so I am just going to do the skeleton

#

I'll do dark theme, just give me framework that I can just say "dark" and it'll make it for me

#

Pls and ty

cinder flare
#

flowbite does

#

I've also been liking Halfmoon, if you want something a little lighter and less JS-based

frail glade
#

Too many options oml

cinder flare
#

welcome to frontend land lmao

#

you could spend years trying to pick the perfect stack

frail glade
#

BootstrapVue was nice because it had so many components already existing that I could just put stuff in

cinder flare
#

i mean you can just use bootstrap lmao

frail glade
#

I don't want to. It's too chunky.

#

And ugly

cinder flare
frail glade
#

@compact perch flip a coin

compact perchBOT
cinder flare
#

nice

frail glade
#

Ooo so SvelteStrap is bootstrap for svelte basically with less chunky ness

cinder flare
#

just premade Svelte components lol

frail glade
#

Interesting. Flowbite looks nice tho

pastel imp
#

me be like:
my brain: Use a component framework?
what I do: Uses TailwindCSS

cinder flare
#

it's based on Tailwind, so you gotta be okay with Tailwind lol

pastel imp
#

^^ ye

frail glade
#

Yeah that's the thing, I haven't used tailwind before

pastel imp
cinder flare
#

if you know how to use CSS, it's p sweet

#

just basically utility classes for common CSS stuff

pastel imp
#

If you know vanilla css, you will get used to tailwind quite quickly

frail glade
#

Yeah I don't do design. I can do the skeleton for a page

#

I can give it a show

#

Flowbite it is.

pastel imp
#

I might actually also use Flowbite, might make things go faster on my project

#

although I will still probably use A TON of custom stuff cause my perfectionism

frail glade
#

Lmk when you want to add the css to mcb

pastel imp
#

lul

#

I mean, if ya want, I could try to redesign McBanners ๐Ÿ‘€

#

although I have no idea how I would design it lol

cinder flare
#

well I would move everything except Servers off of the navbar and into a little button array

#

and move Resource/Author Banner out of a really wide dropdown

pastel imp
#

ye that's probably one thing

#

I could try some stuff on Figma tomorrow

cinder flare
#

is there even a backend for this website lol

pastel imp
#

I am kinda a night guy lol

cinder flare
#

looks like it could all be clientside

pastel imp
#

so it needs backend I assume

#

but I would presume not for much

cinder flare
#

what backend?

#

you're just configuring CSS in the frontend

pastel imp
#

yes but it needs to update, everywhere it's displayed no?

#

also, fetch requests probably would have to be done in the backend.

cinder flare
#

update what? you just design a little banner for your own download

cinder flare
pastel imp
#

kinda depends on CORS settings

frail glade
#

Okay I think I have flowbite setup.

pastel imp
cinder flare
#

why would you need a backend server for that?

pastel imp
#

Also, is it really required to have all this separated into several tabs?

cinder flare
frail glade
#

Wdym?

#

I'm open to any suggestions.

pastel imp
#

couldn't you just put all settings into one page?

frail glade
#

The whole point of the rewrite is to clean it up

cinder flare
#

wait is this an embeddable thing that updates, hosted on mcbanners.com?

#

I thought it was just a little image to download

frail glade
#

All banners auto update

#

The website is a web-client to create your banners.

cinder flare
#

oh shit

pastel imp
#

ye...

#

hence why I was speaking about updating xd

cinder flare
#

ah well, you could still do a full clientside app for the builder part

frail glade
#

I mean the settings could all go in 1 I guess idk

#

I don't do design

#

Hence why I built the backend

cinder flare
frail glade
#

My web guy got busy with IRL ๐Ÿ˜ฆ

pastel imp
# pastel imp couldn't you just put all settings into one page?

idk, it seems to be a waste of "time" (for the user) and a waste of space... like, for example Background only has one setting, and to change the rest you gotta go and change tab first, idk. Might just be talking shit lol. I have no idea., it's almost 5am .-.

cinder flare
#

makes it easier to navigate through

cinder flare
frail glade
#

I'm open to examples

#

Preferrably in PRs

cinder flare
#

haha

pastel imp
frail glade
#

Let me start with the navbar

cinder flare
#

I mean that's the same thing as a tab but you just have to close them

#

I see no reason to have multiple open at once, just click on the one you want to change and change it there

pastel imp
#

eh

#

fair

#

ye

pastel imp
#

idk, my brain is starting to die .-.

#

4:41am

#

xD

frail glade
#

Where's the doc that talks about how project organization should be setup?

#

Like where my components go and stuff

pastel imp
#

Glare, did you create a new git repo for the svelte version?

cinder flare
#

wherever you want

pastel imp
#

or are you going to update the current repo?

cinder flare
#

in the components folder if you want them separate, or in the routes folder with the stuff they're part of

frail glade
#

I'll probably create a new repo and then merge it over.

cinder flare
#

the boys rewriting a site in sveltekit lmao

frail glade
#

Ez

cinder flare
#

wait that might be out of date

pastel imp
#

true...

#

IT IS

#

lol

cinder flare
#

i don't remember if they renamed static to something else

frail glade
#

I guess lib is components?

pastel imp
frail glade
#

I'm learning

pastel imp
#

xD

#

ah just take an example out of this

cinder flare
#

yeah lib is more for library code

pastel imp
#

Oh also glare, in case you don't know about it, npm run dev

#

will make wonders for you

cinder flare
#

hot module reloading ๐Ÿคค

frail glade
#

Yeah I know. I did Nuxt ๐Ÿ˜›

pastel imp
#

With the help of Vite :3

frail glade
#

I know the basics of NPM and everything I just don't do design.

cinder flare
#

yeah god Vite is so good

frail glade
#

A lot of my projects are in JS / TS

pastel imp
#

Change my mind.

cinder flare
#

Snowpack sounds so cute but it's just nothing in comparison to Vite

pastel imp
#

xD

#

wait wut

#

didn't know that Vite could process imported assets

#

that's like a game changer in terms of performance lol

cinder flare
#

yeah lol

pastel imp
#

and I wasn't using :/

#

YO WHAT

#

I lost my 100 score

#

that's sus

cinder flare
#

oh my god have you seen svimg

#

so cool

frail glade
#

Error: Cannot find module 'src/components/Nav.svelte' imported from

#

Off to a great start

pastel imp
#

that old error

#

god I hate them

#

one way I solved was, you go to vite.config.js and add aliases

#

like this

#

then you just use $components/whatever.svelte

cinder flare
#

yeah, aliases are sweet

#

there's also a build in $lib alias for libraries and shit

frail glade
#

So if you alias components then what does an import look like

pastel imp
#

same as it used to be

#

but instead of using the full path

#

you just use "$components/whatever.svelte"

cinder flare
#

^

pastel imp
#

ALSO, in case you have stuff that is used everywhere, you can create a file in routes called +layout.svelte and put everything there. You just can't forget to add <slot></slot>.

cinder flare
#

mcbanners edge deployment when?!?!? lmao

pastel imp
#

example I use in mine.

pastel imp
frail glade
#

Okay it works but VSC does not like it

pastel imp
#

oh ye

#

typical

#

do you have the svelte extensions etc?

cinder flare
#

^

frail glade
#

Pretty sure yeah

pastel imp
#

uh you can also just use // @ts-nocheck

frail glade
#

That'll do for now

cinder flare
#

okay I have just looked at the docs, $lib is exactly for this purpose, so maybe TS won't be mad at you if you move it there?

frail glade
#

For the dark mode, would you suggest a toggle button or just force it dark?

pastel imp
cinder flare
pastel imp
#

but ye force it dark, but you can easily give the option to disable dark

cinder flare
#

who the hell wants to look at a light mode web page in 2022

frail glade
#

My chrome doesn't want to go dark mode, nice.

pastel imp
#

you just remove the dark class from the html element and it becomes light xd

#

but for that you gotta switch how darkmode works in the tailwind config

#

in tailwind.config.js:

module.exports = {
  darkMode: 'class',
  // ...
}```
frail glade
#

Okay my PC is in dark color mode but chrome doesn't like it

#

F

cinder flare
#

forced dark it is!

pastel imp
#

forced dark is always the best option..

#

you can always give those light mode nerds the option to switch over

#

but give them a taste of dark first

#

xD

#

I am actually happy people are starting to use Svelte xD

#

isn't there a filter that deletes messages that don't contain an image in that channel?

cinder flare
#

probably should be lol

pastel imp
#

no, like, I am pretty sure there is...

#

ok nop

#

lol

#

I swear I thought it had one

#

anyways

#

might be time for me to go sleep

#

or wait, let me wait 2 mins rq

#

pog got it

#

okay now me go sleep, adios.

cinder flare
#

lmao gn

half harness
#

quite the sleep schedule ๐Ÿ’€

pastel imp
#

ikr

#

cya guys in like 12 hours

#

cause I am probably going to sleep that

#

lmao

frail glade
#

Making progress.

cinder flare
#

Home | About | About | About

frail glade
#

See the problem here I'm currently trying to analyze if I can just do this in the backend.

cinder flare
#

the way it's looking is that you could just have the builder for all the parts, then you just send one POST to a backend endpoint that actually creates the banner and returns the URL

#

how are you doing it now?

frail glade
#

In prod? Yeah that's how it works.

#

I'm saying for the nav. I have this all hardcoded. I should just make a script for this.

#

Is it just Nav.ts or does it need to be the Nav.server.ts

cinder flare
#

oh I mean, did you see what I said earlier lol

cinder flare
cinder flare
frail glade
#

Not all are same

#

Some platforms have stars, some have likes, some don't have reviews, etc.

cinder flare
#

okay, so load those when you go to page 2

#

like, they all do the same thing yk

#

you put in an ID or whatever to a plugin/mod/whatever and then go to page 2 and configure it, having it be a little button group makes more sense as it is an option in the builder, rather than separate pages as is implied with a navbar

frail glade
#

Oh I see what you're saying.

#

I need one of those Heroes or whatever it is from bootstrap

#

jumbotron

vivid cape
#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @vivid cape!

vivid cape
#

hello

#

my server does not have forums

#

for some reason

half harness
#

It seems like only large servers have it

last nacelle
#

Looking to remove blocks of an explosion if its in a claim the player isnt allowed in. This is what I have so far, but stuck on the end crystal now, any way to get the person who exploded the crystal? https://prnt.sc/kGvdcazpsTjn

#

Maybe theres a way to do it from PlayerInteractEntityEvent? kinda lost..

vivid cape
#

and dont have it

half harness
#

It's also a new feature

vivid cape
#

another server which has 400 members has it

half harness
#

and new features usually take a bit to roll out to everyone

vivid cape
#

ok

half harness
#

Is your server a community server?

#

could also be why

frail glade
#

@cinder flare I'll give it another shot tomorrow. It's not seeing flowbite now for some reason and it's not loading it's JS so dropdowns don't work.

cinder flare
#

ah lol

frail glade
#

Java is my style. I'm about to write an entire VoteParty DSRV hook in 10 minutes.

vivid cape
cobalt marlin
ruby dew
#

UnsupportedClassVersionError @compact perch

compact perchBOT
ruby dew
#

thankyou

#

cyke

#

you didnt tell any useful information

#

how to download java 60

distant sun
#

you need java 17

ruby dew
#

yeah but is it jdk or se

distant sun
#

jdk

ruby dew
#

oh alr

#

thx bro

distant sun
#

you can even use the jdks downloaded by IJ

ruby dew
distant sun
#

np

dense dew
prisma wave
#

hello

#

i dont like this

#

ha

#

at least some of these are actually accurate

#

the copies one is just completely wrong

vast halo
#

Hello, where can I ask a question about DeluxeMenus?

obtuse gale
last nacelle
forest pecan
#

Cheap good Host mc โค๏ธ ???

inner umbra
#

Thought ?host was a command...

distant sun
#

?list

compact perchBOT
#
FAQ Answer:

Free:

Paid:

  • OVH: https://www.ovh.com/us/vps/
    Full VPS starting at $3.49USD/month, choice of OS, high reliability.
  • Digital Ocean: https://m.do.co/
    Starting at $5/month (USD), you can have your own server with 20GB SSD Disk, and 512MB Memory.
  • Linode: https://www.linode.com/
    Starting at $5/month (USD), you can have a server with 20GB SSD Disk, and 1GB memory
  • Vultr: https://www.vultr.com/
    Starting at $2.5/month (USD), you can have a server with 20GB SSD Disk, and 512MB Memory
  • Amazon(AWS) Lightsail: https://amazonlightsail.com/
    Starting at $5/month (USD) (first month free), you can have your own server with 20GB SSD Disk, and 512MB Memory.
  • Time4VPS: https://www.time4vps.eu/
    Starting at โ‚ฌ0.66/month, get 20GB Storage, 512MB Memory, 0.5TB Bandwidth, and Daily/Weekly backups.
    Various Linux OS distributions, IP addons and instant cPanel/WHM licenses.
  • VIRMACH: http://virmach.com/
    Full Windows and Linux Desktop VPS starting at $7USD/month and $10USD/month respectively.
  • Sloppy: https://sloppy.io/
    Starting at 5$/month (USD) You can have 500MB Memory, 1TB Transfer per month and 16GB of storage. Extra
    storage and ram can be bought.
  • Bithost: https://bithost.io/
    Just a forwarder to DO, but here you can pay with crypto currencies like bitcoin, dogecoin, etc
  • Galaxygate https://www.galaxygate.net/
    Starting at 3$/month (USD), get 15GB of storage, 1GB of ram, and unmetered bandwidth.
inner umbra
#

Thats it! lol Barry wouldn't even display /help general

forest pecan
#

Host for Mc?

sly sonnet
#

sloppy host thonking

prisma wave
#

sloppy host ๐Ÿ’€ ๐Ÿ’€ ๐Ÿ’€

#

yeah bro i use sloppy host

inner umbra
#

I use "TheCrappiestHosting" ๐Ÿ˜‰

#

How come oracle isn't listed?

distant sun
#

๐Ÿ’ฉ

half harness
ocean quartz
#

Cheap and pretty meh

half harness
#

well I mean its $1/gb so ๐Ÿคท

#

I haven't used it in ages so I don't remember how laggy it was

dense dew
#

anyone have idea why there isnt mongo 6 in official mongo dockerhub repo even when its major release and its out kinda long time ๐Ÿ˜ณ

obtuse gale
#

mongodatabase

dense dew
#

yes

last nacelle
#

How ab hosting in China

#

A lot of made in China things. Surely they have some good host for cheap price

dense dew
#

i think mzungu hosting is ideal choice for mc servers

last nacelle
#

50x host servers for 0.99 bulk alibaba deal

oblique heath
#

china is prolly cheap but the latency is probably not ideal if you target a us crowd

obtuse gale
#

target an Eastern Asian crowd :))

last nacelle
#

Simple: move my computer to China, run a wire to U.S

pastel imp
#

Oracle Cloud lul

#

say wut. Time to learn electron lmao

frail glade
#

Wowie

pastel imp
frail glade
#

It's not

cinder flare
#

๐Ÿ˜”

frail glade
#

I gave it another shot this morning

#

The more time I spent on it the more I realized the site isn't so bad currently

#

I do like your builder suggestion though

#

I just don't know how I'll do that

last nacelle
#

do you guys know of a way to access a Player who hit an ender crystal from EntityExplodeEvent?

pastel imp
frail glade
#

More so I am working on like 10 projects daily so I don't need another

#

But yes that too

frail glade
#

Also moving on Friday so

#

Don't have time for really anything

distant sun
#

new icons/colors, nice

lime kayak
pastel imp
inner umbra
lime kayak
inner umbra
remote bay
#

Hey, I'm looking for a plugin for "merchant mode" players, i.e. the player organizes his store and when he disconnects an npc from his skin sells his store. Any ideas ?

cinder salmon
#

Does anyone know C# well ?

pastel imp
#

?help

compact perchBOT
#
FAQ Answer:
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait

Source

obtuse gale
#

Why the hell my discord can't update yall

prisma wave
#

dunno

obtuse gale
#

yeah me neither

#

Cto

#

Chi

#

Cho

#

Tf

#

He'll

rotund egret
#

Ok

obtuse gale
#

might want to get some sleep there champ

#

Might get you a dad

prisma wave
#

cto chi cho tf he'll

obtuse gale
#

Who

#

Asked

prisma wave
#

what do you mean?

obtuse gale
#

Who

#

Asked

#

meant that @prisma wave

prisma wave
#

i dont get it

obtuse gale
#

oh they left

#

or were bananed

prisma wave
#

just left

#

how boring

obtuse gale
#

@pallid gale

pallid gale
floral sapphire
#

is guild still maintained or is it abandoned?

half harness
#

anyone know an open source gradle plugin (for kts) that can do simple things such as: ```kt
dependencies {
addPAPI()
}

static zealot
sly sonnet
static zealot
#

its just that glare is very busy

half harness
#

papi just being an example

#

I remember seeing a plugin for this but I forgot what it was

sly sonnet
#

matt probably has one

half harness
#

probably

sly sonnet
#

he has a plugin for everything

half harness
#

ill take a look at the TriumphTeam org ๐Ÿฅฒ

ocean quartz
#

Use the version catalog

half harness
#

version catalog?

ocean quartz
#

Then access them directly

static zealot
#

still gotta manually update version

#

but

#

nicer

half harness
sly sonnet
ocean quartz
#

In latest gradle version yes

ocean quartz
half harness
#

ohh lets goo

half harness
ocean quartz
#

No idea tbh

half harness
#

since the issue is that my build.gradle.kts get really long

#

and so I want to shorten it up and make it easier to create new projects without always copying and pasting the build.gradle.kts
or maybe I could create a little program ๐Ÿคท

ocean quartz
#

Time for you to learn about convention plugins then ;p

half harness
#

maybe

#

maybe I could make a program (since idk how to make scripts) and a gradle plugin

half harness
#

:))))))

ocean quartz
#

Divide your logic into separate plugins

half harness
#

O

ocean quartz
#

Then add them only when needed

half harness
#

:o
so you just copy and paste all of those files and then apply whichever?

ocean quartz
#

Yeah

half harness
#

Interesting

#

unless thats a gradle module

ocean quartz
half harness
#

A

ocean quartz
#

You should look at video 3 and 9

half harness
#

alr

sly sonnet
#

Has anyone ever build SupriorSkyblock2? How did you make so all nms sub-projects compile at root project build task?

#

the api sub-project gets relocated insite final jar, but nms is not

#

and their build.gradle is no different from api's one

distant sun
#

what do you get after running build?

sly sonnet
#

it compiles just fine, just the nms packages are not included

#

to have them included i have to re-build them every time

#

and it's annoying

distant sun
#

looks like everything is built to a folder named archive and then that's implemented in the plugin

#

implementation fileTree("archive")

sly sonnet
#

yeah, but then how api subproject gets included, but nms ones are not?

#

their build.gradle is almost the same...

distant sun
#

yup no idea, try to ask on their discord

floral sapphire
#

does guilds supports any pvp plugin like pvp manager or deluxecombat

brittle leaf
digital shuttle
#

can someone help me

#

world edit schems aren't saving

#

idk wht im doin wrong

#

somoeone hlep

#
[00:48:28 INFO]: [AsyncWorldEdit] ***********************************
[00:48:28 INFO]: [AsyncWorldEdit] Error while processing async operation save
[00:48:28 INFO]: [AsyncWorldEdit] ***********************************
[00:48:28 INFO]: [AsyncWorldEdit] *
[00:48:28 INFO]: [AsyncWorldEdit] * Exception: com.sk89q.worldedit.EmptyClipboardException
[00:48:28 INFO]: [AsyncWorldEdit] * Error message: null
[00:48:28 INFO]: [AsyncWorldEdit] * Stack: 
[00:48:28 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.12.jar//com.sk89q.worldedit.LocalSession.getClipboard(LocalSession.java:445)
[00:48:28 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.WrappedLocalSession.getClipboard(WrappedLocalSession.java:309)
[00:48:28 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.12.jar//com.sk89q.worldedit.command.SchematicCommands.__a8217a27623443dcaa3d06759fc900f9__save(SchematicCommands.java:196)
[00:48:28 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.12.jar//com.sk89q.worldedit.command.SchematicCommands___a8217a27623443dcaa3d06759fc900f9___InnerForMethod_save.execute(Unknown Source)
[00:48:28 INFO]: [AsyncWorldEdit] * AsyncWorldEdit-3.9.4.jar//org.primesoft.asyncworldedit.injector.core.visitors.Helpers$1.execute(Helpers.java:121)
[00:48:28 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.asyncinjector.async.AsyncJobProcessor$1.doRun(AsyncJobProcessor.java:164)
[00:48:28 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.BaseTask.run(BaseTask.java:161)
[00:48:28 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101)
[00:48:28 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[00:48:28 INFO]: [AsyncWorldEdit] * com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[00:48:28 INFO]: [AsyncWorldEdit] * java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[00:48:28 INFO]: [AsyncWorldEdit] * java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[00:48:28 INFO]: [AsyncWorldEdit] * java.base/java.lang.Thread.run(Thread.java:833)
[00:48:28 INFO]: [AsyncWorldEdit] ***********************************```
last nacelle
#

Maybe try FAWE? Not sure if thereโ€™s a difference or not between the one your using, but never had any issues with it

west ether
inner beacon
#

I need help, Im trying to make something that only lets villagers pickup items and other mobs cant

    public void onEnable() {
        // Plugin startup logic

    }
    @EventHandler
    public void onEntityPickupItemEvent(EntityPickupItemEvent e) {
        if (!e.getEntityType().equals(EntityType.VILLAGER))
            e.setCancelled(true);
        }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}`

But it does not work I am new to this

hot hull
#

nvm, your formatting just wack

static zealot
still pulsar
#

ayo i just moved to linux from windows os
so after i installed intelij idea on linux i realized that the keybindings are f***ed up.
any idea how should i return them to the default ones that the windows edition had?
Im using intelij idea community edition btw

static zealot
still pulsar
static zealot
#

and you should be able to select the keymap at the top

still pulsar
#

i tried but uh

#

some of the keybindings were still the same ones

static zealot
#

also that's weird. I've had the same keybinds on both windows and linux without changing them ever. but maybe that's bcz of their sync feature?

static zealot
#

are you sure the keybinds that didn't change weren't customized by you on windows as well?

still pulsar
#

nah i didnt know how to do that before i install linux

#

also its weird to see that pasting is now middle click's job isnt it?

static zealot
#

welp idk. my knowledge is very limited I'm afraid. someone else might tho. don't lose hope. :))

still pulsar
#

why cant i paste an image here

compact perchBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

still pulsar
#

uhh

static zealot
#

Also I don't suppose, before moving to linux you exported the settings from IntelliJ?

#

bcz you can export settings like keymaps

#

that's how I still have my keybinds. I did that. I remember now

still pulsar
#

could you export one from windows?

#

for me*

static zealot
#

I can export my keymaps and send it here if you want I just can't guarantee it's the same.

still pulsar
#

yeah please

static zealot
#

so I Can try

still pulsar
#

its better than now

#

since middle click is pasting from clipboard

static zealot
static zealot
#

and I can't disable it even with gnome tweaks

#

I'm using Pop!_OS

#

I use middle click to close tabs and stuff, but I am also very bad at aiming so a lot of the times I end up pasting stuff in the code and also closing the tab after since I spam middle click and its so annoying

inner beacon
still pulsar
#

it used to be for viewing super methods and lines that used that line

static zealot
still pulsar
#

at least for me i guess

static zealot
inner beacon
#

Im getting this error when trying to build

#

Failed to delete C:\Users\alexa\Desktop\Plugins\NoPickup\target

static zealot
#

how are you building your project? are you using mvn package?

inner beacon
#

Ok I had a file open in that directory in winrar

static zealot
still pulsar
static zealot
#

its not just intellij. its bcz of gnome

still pulsar
#

even tho idk how but middle click is not pasting from clipboard in other apps anymore

static zealot
#

its a "feature" in gnome that has no toggle. at least no official one. there's one in the Gnome Tweaks app but it doesn't work

still pulsar
#

so thats a good news

still pulsar
#

ahhh i cant select a line with Shift + Arrow

#

is it normal?

#

thats happening for me after installing intelij linux

static zealot
#

shift arrows works for me. it doesn't select the line I'm on but different arrows select different things

static zealot
#

shift up or shift down, selects everything from where I am until the above or under line at the same column

static zealot
still pulsar
#

like other apps as i know

#

left arrow

#

right arrow

inner beacon
#

Zombies still pickup armour and tools

Not sure what is wrong

import org.bukkit.entity.Mob;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityPickupItemEvent;
import org.bukkit.plugin.java.JavaPlugin;

public final class disablepickup extends JavaPlugin implements Listener {

    @Override
    public void onEnable() {
        // Plugin startup logic

    }
    @EventHandler
    public void onEntityPickupItemEvent(EntityPickupItemEvent e) {
        if (!e.getEntityType().equals(EntityType.VILLAGER))
            e.setCancelled(true);
        }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}
static zealot
#

just making it implement Listener is not enough

inner beacon
#

ah ok

still pulsar
inner beacon
#

do I just put this plugin.getServer().getPluginManager().registerEvents(this, plugin);

#

oh

static zealot
still pulsar
#

plugin.getServer().getPluginManager().registerEvents(this, this);

inner beacon
#

Something like this

#
import org.bukkit.entity.Mob;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityPickupItemEvent;
import org.bukkit.plugin.java.JavaPlugin;

public final class disablepickup extends JavaPlugin implements Listener {

    @Override
    public void onEnable() {
        getServer().getPluginManager().registerListener().registerEvents(this, this)
        // Plugin startup logic

    }
    @EventHandler
    public void onEntityPickupItemEvent(EntityPickupItemEvent e) {
        if (!e.getEntityType().equals(EntityType.VILLAGER))
            e.setCancelled(true);
        }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}
static zealot
#

yes

#

also. might want to follow naming conventions

#

disablepickup is not how you name a class

#

in java

#

you should be using UpperCaseCammel or whatever its called

inner beacon
#

ah

still pulsar
#

when i use CTRL + Shift + Left / Right Arrow it selects the left / right word but it also toggles the insert mode

#

and i have no idea why these are happening

#

whats wrong with this ide

inner beacon
#

The .registerListner is red

still pulsar
inner beacon
#

I tried to retype it but it only shows .registerEvent

still pulsar
#

getServer().getPluginManager().registerEvents(this, this)

inner beacon
#

ohh

#

ok ok

#

It worked

#

also im trying to make a plugin that fire and lightning does not destroy items, but lava still does

#
public final class fire extends JavaPlugin implements Listener {

    @Override
    public void onEnable() {
        getServer().getPluginManager().registerEvents(this, this);
        // Plugin startup logic

    }

    @EventHandler
    public void onBlockIgnite(BlockIgniteEvent event) {
        if (event.getCause() == BlockIgniteEvent.IgniteCause.LIGHTNING) {
            event.setCancelled(true);
        }
    }
    @EventHandler
    public void onEntityCombustEvent(EntityCombustEvent event) {
        event.setCancelled(true);
    }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}```
#

I have this but it dont work

still pulsar
inner beacon
#

Also

#

I need players to be able to pickup items too

#

How do I add them aswell

#

@EventHandler
public void onEntityPickupItemEvent(EntityPickupItemEvent e) {
if (!e.getEntityType().equals(EntityType.VILLAGER))
e.setCancelled(true);

#

I tried to add multiple people like this

static zealot
inner beacon
#

!e.getEntityType().equals(EntityType.VILLAGER.PLAYER ))

#

?

static zealot
#
        if (!e.getEntityType().equals(EntityType.VILLAGER) && !e.getEntityType().uequals(EntityType.PLAYER))
            e.setCancelled(true);```
inner beacon
#

Ah ok ok, Thank you so much btw, I am like very new to this without you guys it would be inpossible

static zealot
#

yeah. I Do recommend you start by learning some java and playing around with it before you start using APIs like spigot

#

tho

#

it would be so much easier

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!

static zealot
#

you can find some great resources here this

inner beacon
#

Thank you!

foggy axle
#

@ocean quartz hurry up

ocean quartz
#

DONE

pastel imp
#

this is sus

#

wtf @ocean quartz my level of both confusion and "How???" is at an all time peak with that video....

#

but great work, looks poggers

static zealot
#

resource packs

pastel imp
static zealot
#

do you?

pastel imp
static zealot
#

you can replace characters with images

foggy axle
#

magic

static zealot
#

and they just update the action bar with those characters

ocean quartz
#

Only the best magic

static zealot
#

each frame is a different character

foggy axle
#

lol no

pastel imp
#

well, animating them? Are the resource packs itself animated?

foggy axle
#

I mean kinda but itโ€™s wayyyy more complicated than that

pastel imp
ocean quartz
#

Yeah

#

You can simplify it to that but yeah a lot more going on

static zealot
#

๐Ÿ‘

pastel imp
#

You might aswell just have X character that is the animation and once the animation finishes, you replace it with Y character that is static?

#

no idea lmao

ocean quartz
#

What?

pastel imp
#

your resource packs can be animated no?

#

just like you do with blocks, they can be animated

static zealot
#

no afonso

#

there's no animation going on

#

you can't have gifs

ocean quartz
#

Some things can other can't

static zealot
#

as far as I know

#

every frame is literally a different character. at least I think so

#

idk maybe

pastel imp
#

:-: oh hell, whatever, not going to have to deal with it either way soooo

#

I am safe

#

either way, gj lol

foggy axle
#

so yes it is different glyphs but thereโ€™s many at play at a given time

#

not sure I can go deeper than thatClueless

obtuse gale
#

then shut up

#

thanks

ocean quartz
#

Wow rude Emily

foggy axle
#

why the fuck do u have my colour

obtuse gale
#

I love you x

foggy axle
static zealot
prisma wave
#

BomBardyGamer

#

i like this image

static zealot
#

...

hot hull
#

It's a saturday, go sleep instead of arguing

prisma wave
#

im not arguing

#

it's just funny

static zealot
#

how do I escape an xml tag in javadocs? doesn't seem to be . its not even a valid javadoc xml tag. its just something that happens to look like one: <test>

#

oh. found @literal

#

and also < and >

obtuse gale
#

yeah the &; things

obtuse gale
#

why is int the most used variable to hold a number if long can hold larger numbers?

#

just for convenience of sparing one letter?

prisma wave
#

saves memory

onyx loom
#

sometimes u just don't need that big of numbers

prisma wave
#

yea

half harness
prisma wave
#

no need to use 64 bits when 32 will do

obtuse gale
#

hmm

#

so you wont be using int for lets say... making a variable that holds the number 10?

#

in this case you'd use byte?

half harness
#

I'd use int

#

for programs where memory management is very important, I'd use byte

#

but all of mine I'd just use int

obtuse gale
#

doesn't really make a difference at the end

#

depending on what you're making

half harness
#

well

onyx loom
#

yeah, just depends on balance and where u draw the line for optimisations and if u really wanna spare that one letter in ur code

prisma wave
#

the types shorter than int arent really worth it most of the time

#

they're just unnecessary hassle

obtuse gale
#

types shorter than int are annoying to use on Java

prisma wave
#

you're annoying anywhere

obtuse gale
#

...

static zealot
#

am I misremembering or is there a language where if you want to add a short with an int you have to cast the short to int or something like that for it to work?

prisma wave
#

?

#

probably r*st

#

because "waa waa overflow is bad we need our blazingly fast"

#

baby language

static zealot
#

hmm. maybe. but I think its a language I've tried before and rust is not one of them

prisma wave
#

good for you

static zealot
obtuse gale
#

Java has a couple of quirks like that and it's hella annoying

#

Which is why nobody really bothers using anything shorter than int

#

They get promoted to ints by the jvm anyway

static zealot
#

yup. its why I Don't at least.

prisma wave
#

yeah the casting sucks

distant sun
prisma wave
#

thats not really what i was talking about lol

cinder flare
#

low precedence casting moment

#

hey how come it's so low precedence

#

oh I guess cause you would want to cast the result of a method chain more often than an initial part of the method chain

distant sun
obtuse gale
potent rover
#

Please tell me how to DeluxeMenus use a gradient?

obtuse gale
#
foo.bar()
  .baz()
  .asInstanceOf[Qux]
  .qux()

It's quite a mouthful but it keeps the flow lol

obtuse gale
#

2 is cringe

potent rover
#

Thanks

obtuse gale
distant sun
#

Not so bad I guess

cinder flare
#

similar to what Rust does with like Into traits

prisma wave
#

please censor r*st

cinder flare
#

i'll censor you

#

coffee-drinking br*t

prisma wave
#

how unkind

sweet cipher
#

Does anyone have a link to possible fields on a default google account? I can't find info about it besides printing my own, but I have different fields on different accounts.

#

Please ping me if you do

obtuse gale
ocean quartz
#
foo.bar()
  .baz()
  .filterIsInstance<Qux>()
  .qux()

Probably the same

obtuse gale
#

that sounds like something that would be in an iterable-/stream-like data structure

#

not an object itself lol

ocean quartz
#

Oh yeah

#

I wonder if there's something for that

onyx loom
#

there is Any.unsafeCast()

obtuse gale
#

"just use an extension function" copium

onyx loom
obtuse gale
#

joe

onyx loom
#

k

obtuse gale
#

bro that's for JAVASCRIPT

onyx loom
#

oh

obtuse gale
#

cringe

half harness
#

thought there was one but ig not

ocean quartz
#

Though that's a very easy extension to make

obtuse gale
#

fun Any.cast kekw

#

still cringe

ocean quartz
half harness
#

๐Ÿ˜Œ

#

:D

ocean quartz
#

Js and jvm

half harness
obtuse gale
#

the function only has the yellow dot

ocean quartz
#

Oh really? On mobile it has both

#

Stupid mobile

half harness
#

๐Ÿ’€

obtuse gale
#

I'm on mobile and it shows one lmao

onyx loom
#

bad phone

half harness
ocean quartz
#

Well stupid my mobile

obtuse gale
#

now why is it under /jvm...

prisma wave
#

stupid kotlin website*

rotund egret
#

Skill issue

inner osprey
#

Yo, anyone know how to get a "click gui item = copy to clipboard" ?

#

I found this online if it helps:

import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;

public class CopyStringToClipboard {

    public static void main(String[] args) {

        String str = "Replace this with whatever you need to.";

        Toolkit toolkit = Toolkit.getDefaultToolkit();
        Clipboard clipboard = toolkit.getSystemClipboard();
        StringSelection strSel = new StringSelection(str);
        clipboard.setContents(strSel, null);

    }
}
static zealot
#

not client side

#

and the minecraft client only lets you copy stuff by clicking text in either chat or books

#

and even then with the pop up

inner osprey
#

ah

static zealot
inner osprey
#

;-;

obtuse gale
#

Unknown FAQ:
I couldn't find anything for: notdiscord
Did you mean not-discord?
Requested by: BlitzOffline

obtuse gale
#

yes?

half harness
#

yes

obtuse gale
#

:)

inner osprey
static zealot
#

but you have to send the message in chat

inner osprey
static zealot
#

or open a confirmation book or something like that

inner osprey
#

I tried MyCmd, and it "works" but only with actual links

#

I mean they have - '$OPEN_URL$ &8ยป &eโ˜… http://www.google.com/ โ˜…;&eClick to Visit!;http://www.google.com'

static zealot
static zealot
inner osprey
#

;-;

#

%parseother_{playerprofile_viewer}_{discordsrv_user_name}%

#

Thats the placeholder

static zealot
#

you can't copy any text

inner osprey
#

;-;

#

sadge

static zealot
#

the client limits it to urls

inner osprey
#

dam

static zealot
#

that start with http or https I believe

inner osprey
#

okay no worries

#

just thought it would be cool is players can copy discord tags

inner osprey
inner osprey
#

so %discordsrv_user_name% displays their discord tag

#

but it displays nothing if not linked

#

any papi api scripts or somethin?

distant sun
inner osprey
#

If false = "Account not linked"
If true = "%discordsrv_user_name%"

inner osprey
distant sun
inner osprey
distant sun
#

Yeah

#

-papi changeoutput

#

thanks @regal galleon

inner osprey
#

/ is it one?

jovial siren
distant sun
#

No, thats not a plugin, both links I sent are libraries

inner osprey
#

so how do I use it?

distant sun
#

Well it was mostly for blitz

inner osprey
#

@static zealot how to use

static zealot
#

if so shade in adventure

obtuse gale
#

or use paper :)

static zealot
#

and then create a component with a clickAction that is copy to clipboard

jovial siren
#

hi emily what a coincidence

quiet sierra
#

yo @distant sun quick question

#

how can I retaliate

obtuse gale
#

publicly taunt them on twitter

quiet sierra
#

do I really want to ruin their reputation over 10$

obtuse gale
#

that's up to you to decide :)

#

but uh on a serious note

#

run </report:947290718299357205> providing all the details about it

inner osprey
obtuse gale
#

hehe

quiet sierra
#

it works fine

obtuse gale
#

idk

#

idc

jovial siren
#

where's the /emily command

obtuse gale
#

where it belongs

static zealot
#

@quiet sierra dm @eager fern

distant sun
#

Damn, this gotta be new (the /report highlight)