#dev-general

1 messages ยท Page 585 of 1

prisma wave
#

crystal!

ocean quartz
prisma wave
#

that's a good language

#

statically typed ruby

#

need to try that properly at some point

obtuse gale
#

oh no

obtuse gale
ocean quartz
#

For real though, who knows, it's always changing

ocean quartz
dense dew
#

haskell

obtuse gale
#

Scala is used more than kotlin kekw

ocean quartz
#

Yeah

dense dew
#

what are nono languages to learn in 2021

obtuse gale
#

javascript

#

you're welcome

ocean quartz
#

PHP, JS (cuz TS)

obtuse gale
#

and kotlin

dense dew
#

then how can you do TS if you cant do JS

obtuse gale
#

it's not that you "can't"

#

it's that there is no reason to

ocean quartz
#

TS is just improved JS, there is 0 point in using JS

obtuse gale
#

mhm

#

aNYWAY

#

SCALA good

#

and growing

prisma wave
#

So true

ocean quartz
#

Kotlin Haskell Clojure

prisma wave
#

๐Ÿ’€

dense dew
#

yeh but you need to do JS first
all TS tutorials i v seen just shows TS things and dont learn you JS or

ocean quartz
#

Not at all, I don't know JS couldn't care to use it, and I am making an entire wiki in TS lol

hot hull
#

So, whos repo can I contribute to

quiet depot
hot hull
#

Can you unfuck my papi commit?

quiet depot
#

wym

hot hull
#

How do I pr the expansions itself, cause iirc it didn't include it when I pushed papi

quiet depot
#

do u have gitkraken?

hot hull
#

yessir

quiet depot
#

k open it

#

then go to papi project

#

right click the commit before the commit you did, reset ____ to this commit -> soft

#

then push

hot hull
#

gonna PR but yes

quiet depot
#

wait

#

idek if u need to do that actually

hot hull
#

does it count just pushing?

quiet depot
#

no

#

fork the server expansion

#

put code in 3.0.0 branch

#

push

#

not push

#

pr

hot hull
#

I can't fork server expansion cause gh doesn't like that it ends with .0

quiet depot
#

wat

hot hull
#

sec

quiet depot
hot hull
#

look at this man making small ass Prs smhg

quiet depot
#

well

#

idk what to do

#

next pr is another action

hot hull
#

oh wait

#

Am I stupid again

quiet depot
#

yes

hot hull
#

smh too early

hot hull
quiet depot
#

btw

#

on the config file u committed

#

the external path doesn't need PlaceholderAPI/ infront of it

#

that's automatically appended

hot hull
#

smh

#

Still ways from being finished so just write it down somewhere :3

quiet depot
#

k

hot hull
#

Took them long enough

hot hull
quiet depot
#

and also add it to the builder (in the same package)

#

which should be as simple as adding it here

hot hull
#

Okay yea nah, sounds like big brain stuff

quiet depot
#

k

wintry plinth
#

Hey buddy, appreciate it but already got a partner for it - thanks a ton though :)

quiet depot
hot hull
#

look at this man

#

Do you have some reasonably simple projects I can PR to?

quartz flax
#

ehh

quiet depot
#

erm

#

not really frosty

hot hull
#

Anyone else got anything?

#

How long is it supposed to take to show up in my profile btw?

quiet depot
#

think andre said it refreshes every 5 minutes

hot hull
#

Site takes ages to load smh

wintry plinth
#

@hot hull I thought the same, so slow

old wyvern
#

๐Ÿ˜ฎ

hot hull
wintry plinth
#

Where it kicks me out

#

And tells me to sign in again

hot hull
#

Pretty annoying ngl

wintry plinth
#

@hot hull yeah :( means all the merch is taken

hot hull
#

nah

hot hull
#

Can I just PR to my org and accept my own PR?

distant sun
#

Yes

wintry plinth
#

I didnโ€™t know that lmao, wow

#

Also hiiii @distant sun long time no speak

distant sun
#

๐Ÿ‘‹

hot hull
#

@wintry plinth clear site cache and relog, it'll work after that

wintry plinth
hot hull
wintry plinth
#

Omg worked

#

you're a star!

#

Tysm

#

this right?

hot hull
#

The project needs hacktoberfest in the topic, and then you just need to accept the PR

wintry plinth
#

oh you cant only do the label?

#

I don't have perms to add tags to a repo

hot hull
#

Should also work I think

wintry plinth
#

Had the t shirt every year so far

#

I'd like to keep the trend ๐Ÿ˜‚

hot hull
#

I only started last year so sadge

wintry plinth
#

o xd

hot hull
#

Should also qualify for swag pack this year I believe

wintry plinth
#

Hype

hot hull
#

@distant sun Why you push regular branch to 3.0 on player expansion reeeeeee

#

wait no, github just went fucking nuts

#

What is this bullshit

distant sun
#

?

hot hull
#

Forget about it, gh tarded

wintry plinth
#

Done my Hacktoberfest, small and easy stuff, but they're good PRs nevertheless

hot hull
#

Same, now we pray we fast enough

wintry plinth
#

Yeah hahah

static zealot
hot hull
#

kek

static zealot
#

where do I find the information I need for the student packs for jetbrains and github?

hot hull
static zealot
#

ohhhhhh. damn. ty frosty. ||fuck you||

static zealot
hot hull
#

I did..

#

oh new one

static zealot
#

yes.

#

I need 4 PRs right?

distant sun
#

yes

hot hull
#

yup

static zealot
#

@hot hull ๐Ÿฅฒ found why the delay and chance is not working.

#

You're using Regex#matchEntire

#

Also. the regex is a bit broken. it checks for [DELAY=NUMBERSLETTER] so just 1 letter. but you made the time parser to check for s, sec, secs, second, seconds

#

etc.

#

you forgot a +

hot hull
#

smh, fix it

static zealot
#

am doing

#

rn

static zealot
#

well. delay works. still need to fix the fact that you didn't even remove the entire regex just the value.

#

same for chance

hot hull
#

It used to work fine

static zealot
#

idk mate. you were matching the entire input

#

so if the action was not [deleay=1s] it would've not worked

#

at all

round forge
#

Can you ask for commissions In here ?

static zealot
#

yes

static zealot
#

btw. jetbrains student pack comes with the github pack?

#

because it is listed under all packs but not sure if it actually comes with it or it is just other available packs

round forge
#

Thanks blitz posted

static zealot
#

oh Ic @hot hull if you put the delay and chance before the action it removes it. but not if you put it in or after the action.

#

well not remove it

#

but takes just the action

#

welp. fixing that and PRing again. lol

hot hull
#

pr or shutup

static zealot
#

I like farming xp

#

@hot hull get god kid

hot hull
#

you trynna get slapped

static zealot
dense dew
#

nvm im going for Go its looking sexy I hope its good choice ๐Ÿ˜…

static zealot
#

alr frosty. 4th pr opened. will look into the static handlers method next.

hot hull
#

@static zealotDo you have perms on player expansion by any chance?

static zealot
#

yes. I believe so

hot hull
#

merge my pr, thanks

#

it's for 3.0 so no need to check anything

static zealot
#

yeah noticed. checked it out anyways lol

#

merged btw

hot hull
#

ty

wintry plinth
static zealot
#

@hot hull turns out you could've just merged that guy's pr

#

lol

#

I think

#

lol

hot hull
#

meh

obtuse gale
#

@cinder flare

# ยป LuckPerms Permissions
# If you are using LuckPerms and want the plugin to perform inheritance
# permission checks, enable this feature. It is disabled by default to
# prevent unnecessary checks when a player joins.
# NOTE: Inheritance permission check is slow due to the fact it directly
# scans the database for the users permissions, this only occurs on the first
# join as the permissions are not yet cached.
settings:
  luckperms-permissions: false

I can't think of a single thing in here that is true lmao

#

Frosty is to blame actually kekw

static zealot
#

tell that to frosty

#

yeah lol

#

but they wouldn't do anything about it

#

their moto is PR or shut up

obtuse gale
#

Star is the maintainer so

static zealot
#

yeah

#

about that lol

#

that's just on paper lol

obtuse gale
#

right

#

"the maintainer"

static zealot
#

his so called "1.17 only support" was setting api-version to 1.17

#

it still had the 1.8 checks

#

reflection

#

nms

#

shit that you wouldn't need

obtuse gale
#

lmao

static zealot
#

at all

#

also. hex and stuff

#

was only working on 1.16

#

bcz they checked if version is 1.16

#

not equal or higher

#

well. actually. they had like 2 color methods. and one was checking > one was checking ==

obtuse gale
#

For all that matters he could 100% drop the dependency on LP though

#

Not sure why it's there in the first place, it doesn't do anything special

static zealot
old wyvern
#

Player#hasPermission doesnt check with Vault permissions right?

static zealot
#

they check the effective permissions

#

which means that permissions from OP or other ranks / inherited

#

don't count

obtuse gale
#

It does

static zealot
#

idk why

obtuse gale
#

At least when LP is installed, it does

#

Which completely defeats the purpose of using it as a dependency in the first place

#

It would be very rarded if you did hasPermission and LP didn't check for inheritances

static zealot
#

idk why they use effective permissions tho. does Player#hasPermission really do that much damage on performance?

obtuse gale
#

They use effective permissions if the LP setting is disabled

#

But hasPermission looks in the map anyway lol

#

By default, not in LP

hot hull
#

What am I to blame you wenches

obtuse gale
#

The completely useless dependency on LP in FJ

static zealot
#

lol

hot hull
#

Hey someone was annoying me that it wasn't working with LP, and after I added that it apparently was so shrug

#

Also from what I researched it, it was true so

#

Suck on my left nut

obtuse gale
#

It's not lol

hot hull
#

You were born naked, you don't know

#

Anyhow, PR or shutup

static zealot
#

lol

#

xD

obtuse gale
#

lmao

static zealot
#
private fun Player.hasEffectivePermission(permission: String, provider: LuckPerms?): Boolean {
    if (Settings.USE_LUCK_PERMS) {
        if (Settings.LUCK_PERMS != null && Settings.LUCK_PERMS.isEnabled) {
            return this.luckPermsCheck(permission, provider)
        }
    }

    return effectivePermissions.any { it.permission.equals(permission, true) }
}```
#

this is the permission check in fj

old wyvern
#

๐Ÿฅฒ

static zealot
#

I mean couldn't that be just player#hasPermission? that is what I do not understand

old wyvern
static zealot
#

:kek:

old wyvern
#

I dont remember the exact issue

#

it had something to do with inheritance

obtuse gale
#

It very much does

static zealot
#

well I don't know. that's why I'm asking. don't have a clue

old wyvern
#

๐Ÿคท

hot hull
#

If you don't like it, fix it

static zealot
#

yeah. so hasPermission checks for inheritance but effective permissions does not?

#

I am just trying to understand lol.

#

idk what's going on

obtuse gale
#

Both do, LP overrides the map as well and it puts inherited perms too

#

I mean there are few dozens of thousands of people using the plugin daily and hasPermission works fine so lmao

static zealot
#

yeah. idk

#

I won't bother switching it lol

obtuse gale
#

I wonder how many servers actually run the plugin

#

LP I mean

old wyvern
#

Someone just leaked there full access github token

static zealot
#

do they not have bstats?

old wyvern
#

๐ŸŒž

obtuse gale
#

๐Ÿฅฒ

obtuse gale
static zealot
#

what token?

#

who leaked what?

old wyvern
#

They leaked it while screensharing

#

Not anyone here

#

lol

#

I may or may not have taken a ss

obtuse gale
#

~250,000 monthly active users
wow

#

that is indeed a few dozens of thousands lmao

static zealot
#

do they have their own trackers? or how do you know

#

man. I'm waiting for my uni to make me an account on their website so I can get that github pro license. the license from yugi expires in 2 weeks ๐Ÿ˜ฆ

old wyvern
#

๐Ÿ’€

#

I had an extra license earlier

obtuse gale
static zealot
#

the problem was that some people didn't give them an email and also some had older emails since they went to this uni before so we need for everyone to update them and then they make the accounts

static zealot
#

github?

old wyvern
#

Jetbrains

#

I had a 1 year token

static zealot
#

oh. I mean I'll have 3 years (hopefully) lol

obtuse gale
#

Oh, now that I think about it he might also track how many instances use the translation endpoint

#

Since it happens passively on server startup once a day I think

#

That would be more accurate

static zealot
#

dk what that is. but alr

obtuse gale
#

http endpoints LP uses to fetch translations

static zealot
#

alr

#

well. that wouldn't really help if it is just on startup. at least not for player tracking would it?

#

I mean I really don't care lmao. it is just weird that they don't use bstats.

obtuse gale
sweet cipher
#

Bstats can steal your soul

static zealot
#

ohhhhh

#

holly shit. 250k?

#

damn

obtuse gale
#

yeah

#

Across all platforms, bukkit bungee velocity etc

static zealot
#

damn

#

I mean it does make sense

#

but still

#

DAMN

sweet cipher
#

Still second to Pex

static zealot
#

nah

#

group manager

#

is the best

#

man. I've used group manager so much

#

more than LP

wintry plinth
#

Kotlin

old wyvern
#

I love PermissionSex

#

๐Ÿฅถ

remote goblet
#

PermissionSex slpyGasm

dense dew
#

hi, how to change URL in JetBrains IDE's to be just ip:port/index.html?

ocean quartz
#

Ooooo sharing the ip! Get ready to get DDOSed!

dense dew
#

pls dont

wintry plinth
dense dew
dapper raft
#

anyone here got windows 11 yet?

hot hull
#

got windows 12

static zealot
#

I got something even better. windows 98

#

ya'll got to wait another 76 years for it.

dense dew
#

everytime i run "go run Main.go" command in terminal, firewall window pop up, how to avoid it? (because different path)

static zealot
#

you ||serverworldfiles||

dense dew
#

i can see only add exception to file but not directory ๐Ÿ˜” and i cant find where to change build directory (goland)

#

okay nvm i just changed http.ListenAndServe(":8081" to http.ListenAndServe("127.0.0.1:8081" and its fine
ty anyways

near fern
#

Can we leave a vouch for a dev on this discord?

steel heart
#

who?

near fern
# steel heart who?

@lime gate This guy. He made custom plugin for me and did a very good job.

obtuse gale
#

yo

#

very cool

#

+1

near fern
#

It's also a good thing that devs are doing a good job so yeah i respect the devs!

#

I only html / php / css

#

and abit of node.js

prisma wave
#

My condolences

dense dew
#

mr mitten what do you think about Go

dense dew
#

php = pain

forest pecan
#

Fast too

#

Also allows cross compilation

#

very convienant

dense dew
#

yeh i fell in love with it

#

but sometimes im very lost because 95 % of programming what i did was in java

forest pecan
#

Go is neither functional or object oriented

#

maybe its cause the OOP part is messing you up

#

Python programmers trying to learn C++

dense dew
#

im so glad i didnt teach more of node js because i wouldnt go for Go anymore

prisma wave
#

For an imperative language

#

Although not without its flaws

forest pecan
#

konichiwa

#

i pasted ascii art and it just gave me that

#

lmfao

#

i didnt know intellij supported other langs

obtuse gale
#

what is BanList banlist; in java [what does it do]

public class InternalListener implements Listener {
    
    @EventHandler
    public void onPunish(PunishmentEvent e) {
        BanList banlist;
        if (e.getPunishment().getType().equals(PunishmentType.BAN) || e.getPunishment().getType().equals(PunishmentType.TEMP_BAN)) {
            banlist = Bukkit.getBanList(BanList.Type.NAME);
            banlist.addBan(e.getPunishment().getName(), e.getPunishment().getReason(), new Date(e.getPunishment().getEnd()), e.getPunishment().getOperator());
        } else if (e.getPunishment().getType().equals(PunishmentType.IP_BAN) || e.getPunishment().getType().equals(PunishmentType.TEMP_IP_BAN)) {
            banlist = Bukkit.getBanList(BanList.Type.IP);
            banlist.addBan(e.getPunishment().getName(), e.getPunishment().getReason(), new Date(e.getPunishment().getEnd()), e.getPunishment().getOperator());
        }
    }
}

what does BanList banlist do?
also what does the e in (PunishmentEvent e) do?

#

public void onPunish(PunishmentEvent e) {
BanList banlist;

sweet cipher
#

Do you know any Java?

obtuse gale
#

well whatever I need to take advantage of the multiplier too

BanList banlist;
This is declaring a variable of type BanList named banlist

void onPunish(PunishmentEvent e)
Method/function signature, void is the return type (void in particular means it doesn't return anything); onPunish is the name of the function, anything inside the parentheses are the parameters the function takes, kind of like a variable but it is being provided from elsewhere into the function; PunishmentEvent e same as BanList banlist, it's a variable (in this case a function parameter) of type PunishmentEvent named e

sweet cipher
#

Lol

obtuse gale
#

a custom variable?

#

BanList is the type of the variable named banlist

obtuse gale
#

lol????

#

1 = 1?

#

what.. ?

#

WHAT?

#

???

#

lol???

#

what are you asking

#

wdym?

#

what do you mean

#

why is banlist = banlist?

#

there isn't?

#

?????????

#

nowhere in that codeblock you shared is a single line that shows that you just sent

#

BanList is the type of the variable named banlist
BanList is banlist, why not just use BanList?

#

BanList is a type, banlist is just a name a person gave it, it couldยดve been BanList peopleIDontLike

obtuse gale
#

BanList is the type, peopleIDontLike is the name of the variable typed BanList

#

ok global multiplier expired bye

#

where did BanList come from?

#

Bukkit

#

it's a class Bukkit provides

#

to represent, well, ban list instances

#

lmao

#

!learnjava

#

?learn-java

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!

obtuse gale
#

there we go

#

coursera has pretty good courses

#

that is like class 1 of java what you're asking

bright acorn
#

anyone can help? i need a deluxechat permission /msg, i need msg permission

#

pls

#

๐Ÿ—ฟ

ocean quartz
bright acorn
#

bro @ocean quartz, how to fix repeat /msg

rotund egret
#

So what I would do

bright acorn
#

ok

static zealot
#

Frcsty. Can confirm

#

the converter works

hot hull
#

So I can close that issue?

static zealot
#

yeah.

#

do I add it?

#

or do we close

hot hull
#

you can add it, but it has to be purely optional

static zealot
#

yeah yeah

static zealot
hot hull
#

use time format

static zealot
#

why the fuck is COnfigurationSection#getString(path, def) nullable? like if I give it a default value...

#

@hot hull should the delay be considered when executed using the motd command?

hot hull
#

yes

#

or perhaps add a config option

static zealot
#

would it be per motd? or global?

hot hull
#

per motd

static zealot
#

name it delay-on-command? would that be alr?

#

welp. it works. need to add that option and it is done

hot hull
#

that's fine yea

static zealot
#

welp. it works.

static zealot
# hot hull that's fine yea

hmm. one more thing. Is there a reason why in the set and remove command the command takes in a string (player name) instead of directly a player?

#

also. the last argument is an array of strings that you then join to string using spaces

#

which is exactly how the array is made from a string split by spaces

#

so what even is the point? just make it a string.

hot hull
#

It's potato code, so I can't exactly tell you why

static zealot
hot hull
#

I wouldn't mind no

static zealot
#

also. you're registering the incorrect message as &8[&bFrozenJoin&8] &8ยป &7Incorrect usage! &b{usage} but afaik matt's lib doesn't have placeholders right? so the message is just sent as exactly that back to players. Do I just remove {usage} from the default message? and maybe tell them to execute /fjoin help for help?

hot hull
#

or you know, yell at Matt to add it

static zealot
#

also. will improve the help command to actually show the options

#

I mean he is working on a rewrite. hopefully he has something for it. but like. it would probably be pretty hard to make it as well

hot hull
#

Well could just use the method params for it

remote goblet
#

spot the issue

#

what in that method almost crashed my pc

#

here's the answer

hot hull
#

big brain plays if you ask me

remote goblet
#

facts

static zealot
#

@ocean quartz just to confirm. if I were to add an argument in a command that is an array of strings it would just take the string and split it by spaces right?

prisma wave
#

tryitandsee

static zealot
distant sun
#

What do you expect Blitz lol

static zealot
#

everything and nothing

hot hull
static zealot
#

cool

hot hull
static zealot
#

well. close enough lol

hot hull
#

closest you'll get

static zealot
#

you've sent this before I believe. I remember it

hot hull
#

I have yes

static zealot
#

frcsty u can merge the pr when u got some time. that's all I'll do for now. I am thinking maybe we should get Star to make an update first on spigot where he'll announce everyone about the moving to a new action library so people can be prepared for the next update.

#

also. that spigot page really really needs updating @cinder flare

#

Now also featuring different format types:

  • NORMAL & RANDOM. (More explained in the config!)
    this needs to list the VANISH one as well,
    LuckPerms is no longer a dependency (at all)
    A lot of the actions are either missing or wrong
    the available commands list is also not complete and has commands that don't exist
    the default config needs updating and also maybe put the generated default config not the one that still has the @version@ token in it lol
hot hull
#

merged

static zealot
hot hull
#

It needs some refactoring yes

static zealot
#

Star gimme password to your account. Promise won't do anything bad lol

hot hull
#

I mean we could just strip the spigot page, and have a readme, so everyone can update it

static zealot
#

I mean having a better README wouldn't hurt but I Think we should still have the spigot page there.

hot hull
#

You can have updating images on a spigot page right?

static zealot
#

hmm. I'm not sure actually.

#

never heard anything about those

distant sun
#

Updating images as in?

wintry plinth
#

Need to have a tool that auto screenshots the readme

#

And have it on the spigot page

#

๐Ÿ˜Ž

hot hull
#

^

wintry plinth
#

Tbf or every time a commit is made to the GitHub, it executes a workflow to take a screenshot

#

That would work, then reference image on the spigot page

hot hull
#

mhm

wintry plinth
static zealot
#

if you know how to make it, be my guest lol.

wintry plinth
#

Haha

#

I feel ngl would be a cool project, Iโ€™d love to use it for Changelog stuff

static zealot
#

damn. FJ has only 1 issue left. xD

remote goblet
#

some people really need to learn how to take attractive photos

hot hull
#

More attractive than yours

remote goblet
static zealot
hot hull
#

Why would I bite you

static zealot
#

why not is the right question

ocean quartz
static zealot
#

๐Ÿ‘

forest pecan
#

Spookmins

onyx loom
#

spooky

quiet depot
hot hull
#

ew

quiet depot
#

at least this one can't be done by commands

#

or is there a command to set health/hunger

hot hull
#

There isn't

quiet depot
#

awesome

hot hull
#

merged

quiet depot
#

yay

#

hacktoberfest done

steel heart
#

Does docdex have slash commands as of now?

quiet depot
#

no

#

frankly i don't like slash commands

#

not sure i'm gonna add them

steel heart
#

oh why no like

quiet depot
#

just not as easy to use imo

#

maybe that's just cuz ihaven't used slash commands much

#

idk

steel heart
#

Hmm alright, thought of pring it for a moment

quiet depot
#

there's issues open

#

i feel like slash commands would be a lot harder to implement than some of the currently open issues

steel heart
#

hmm yeah probably, using jda right?

quiet depot
#

yes

distant sun
#

Slash commands would be perfect for commands on page 3, smh underscore for commands

sweet cipher
#

Would it be possible to add custom keybinds to a plugin? I would need to make a mod right?

sweet cipher
#

How complicated would it be?

forest pecan
#

not super complicated

sweet cipher
#

Would I use fabric for it?

forest pecan
#

Sure

sweet cipher
#

Okay

#

Thanks

obtuse gale
sweet cipher
#

Okay thanks

#

It's from 2012 lol

obtuse gale
#

Custom payload // plugin messaging

#

Basically a packet for arbitrary custom data

#

That isn't any other vanilla packet*, that's the whole point of it and yes it was introduced by Mojang lol

sweet cipher
#

Okay thanks

obtuse gale
sweet cipher
#

Okay cool, thank you

wooden atlas
#

Hey can someone help me with adding hex colors to scoreboard plugin please?

wintry plinth
wooden atlas
static zealot
#

wtf

#

lmao

wooden atlas
#

Can someone help me? My scoreboard plugin isn't showing hex colors, it just hides - '#<00A0B0>Test' from scoreboard and there is another line showing up

dense dew
#

what scorfeboard plugin

wooden atlas
dense dew
#

oh yeah ๐Ÿคฆโ€โ™‚๏ธ i thought we r in plugins channel

#

i think sending src would be fine

wooden atlas
half harness
half harness
remote goblet
#

you can get a free anticheat

#

but it'll suck donkey dick

wintry plinth
#

I can do it free, every movement I'll send a DM to the owner, or a webhook to discord, bam, prevent cheaters before they get a chance

main cypress
#

Does anyone use eclipse to make the plugins?

remote goblet
remote goblet
main cypress
#

whats that?

#

can u gime the link? im trying to learn developing and such xD

onyx loom
sly sonnet
#

there ir NO reason to not use ij idea

main cypress
quiet sierra
obtuse gale
#

bob

eternal compass
#

well some of that is backwards... so uh someone had too much fun

obtuse gale
#

lol

eternal compass
#
class M){System.out.print(new char[]a[]gnirtS)niam diov citats cilbup}
{โ€˜Hโ€™,โ€™eโ€™,โ€™lโ€™,โ€™lโ€™,โ€™oโ€™,โ€™ โ€˜,โ€™Wโ€™,โ€™oโ€™,โ€™rโ€™,โ€™lโ€™,โ€™dโ€™,โ€™!โ€™});}}

no need to delete it, I save stuff finger_guns

#

(they asked why that code existed)

forest pecan
#

If my plugin downloads an executable from the internet and tries to run it in Linux, some hosts just won't simply allow you to run it because it requires execution permissions. However, I remember that if you copy the file and paste it to a new location, you now have privileges to execute it for some reason. Do you think this is possible within the scope of Java? Or does it have to be always the user who does that.

forest pecan
#

i coded it and I want to see if it works

#

I tested it on server.pro (and they use linux) and it seems to work there

#

just not sure if server.pro is an exception or smthing, better to test on multiple platforms

sweet cipher
#

Oh

static zealot
#

lmao. best class ever

frigid badge
#

WoW ๐Ÿคฉ

static zealot
#

visual studio doesn't have a linux version does it?

#

nvm. will just use rider

lost forge
static zealot
#

we're doing C Sharp. I believe I Can use RIder for that?

frigid badge
#

yes

mighty finch
#

So I'm kinda new to this Discord. I was wondering if anyone here has ever worked with the Movecraft plugin before and if this is the correct place to ask regarding development requests. I need extensions made that are compatible for it (and it's a really advanced plugin) and I wanted to know if anyone here is competent and experienced enough in Minecraft plugins before I head over to #893353492075413524 or #893353492570312704.

static zealot
#

just make your requests. usually people provide a portoflio as well like a github page or something

mighty finch
#

Finding a dev for Movecraft is hard because it's a 7+ year old plugin with thousands of lines and it's changed hands several times.

static zealot
#

welp. asking in here will not find you one I can assure you

mighty finch
#

Alright

sly sonnet
#

why do all the paid requests come when i'm not home ๐Ÿฅฒ

dense dew
#

same xd

static zealot
#

I want to die. it has been stuck here for over 16 minutes ๐Ÿฅฒ

forest pecan
#

tacobell has an official discord

frigid badge
#

cloudflare r2 ๐Ÿ˜ฎ

frail glade
#

Hmm?

frigid badge
#

an amazon s3 competitor

frail glade
#

Did you see they are doing an email thing too?

frigid badge
#

yeah pretty neat too

#

and also ipfs and web3 support

#

pretty cool

frail glade
#

Wasn't it their birthday week last week? They announced a lot of stuff.

frigid badge
#

yeah

sick belfry
#

so just found out that Origin Realms added emissives without optifine, how in earth is that posible?

cinder flare
#

And Visual Studio is Microsoft's proprietary editor for windows lol

forest pecan
sick belfry
#

it wasnt posible without optifine

sweet cipher
#

Maybe itโ€™s possible with the new update adding things like glow squid

sick belfry
#

ye

#

I found a pack that uses a .fsh shader

dense dew
#

svelte vs angular vs react vs vue ๐Ÿค”

ocean quartz
#

All good, maybe except angular

dense dew
#

why?

#

i was almost decided for anguular

prisma wave
#

Too object oriented

dense dew
#

then vue vs react vs svelte

#

most liked is svelte ๐Ÿค”

#

Svelte - 71,5 %
React - 69,3 %
Vue 64,5 % ๐Ÿค”

ocean quartz
#

I've never used it but from what I heard Angular is harder than the others

sweet cipher
#

the problem

dense dew
#

html + tailwind + go + mongo + svelte/angular/vue/react = power

prisma wave
#

elm + tailwind + haskell + datomic

dense dew
#

wat

rotund egret
#

html + css

prisma wave
dense dew
#

i see haskell i dont read message anymore

prisma wave
#

L

rotund egret
#

Mans literally missed one word

eternal compass
#

and styled components

#

but besides that yes

#

wait HTML?

ocean quartz
#

Anyone want to help me come up with a syntax for markdown tabs? ๐Ÿ˜ฉ
Gitbook's syntax is really ugly

{% tabs %} 
  {% tab title="Tab" %}
    // content here
  {% endtab %}
  {% tab title="Tab Tab" %} 
    // content here
  {% endtab %}
{% endtabs %}
#

Got almost everything done, just need to figure tabs and stylize tables ๐Ÿ˜ฉ

sweet cipher
#

Wdym by syntax?

ocean quartz
#

Like, create a syntax for parsing tabs
Like let's say [Tab Name][Tab content!]
And it would parse into something like

sweet cipher
#

Oh

#

So something like ~~Tab name="test" content="Content"~~?

ocean quartz
#

~~ is for strikethrough though

sweet cipher
#

Just like in general that's what you want?

#

Or a specific symbol for tab?

ocean quartz
#

Kinda, i'd prefer to not need to parse things inside quotation marks and deal with equals and stuff like that

sweet cipher
#

So like [] would only be for tab?

ocean quartz
#

Well [] is used for table and links xD

sweet cipher
#

Lol

#

Would you need to specify that it's a tab by having the word tab inside the syntax?

ocean quartz
#

Not necessarily

#

I thought about

---
  ---Tab Name
  // Tab content
  ---
  ---Second Tab
  // Second tab content
  ---
---

But first --- is used for line divider, and having the same block opener inside itself would be really annoying ๐Ÿ˜ฉ

#

This is so hard ๐Ÿ˜ฉ

sweet cipher
#

hmm

#
--- 
  -= Tab Name =-
  -+ Tab content +-
---
#

Fancy

onyx loom
#

u seem to be running out of characters on the keyboard

ocean quartz
#

basically

ocean quartz
sweet cipher
#

Oh

#
---
  ["Tab Name",
  "Tab Content"]
  ---
  ["Tab Name",
  "Tab Content"]
---

What about that?

#

Could also make the []
Like this:

[
"Tab Name",
"Tab Content"
]
#

Idk

ocean quartz
sweet cipher
#

How did you do list or table? Just so I can see what you want it to be like?

ocean quartz
#

Same as github
Table:

| Title | Title |
| :--- | :--- |
| Content | Content |

List:

* This is a list
  - with sublists
* Or not
sweet cipher
#

Oh

ocean quartz
#

Yeah, it's tough
Well anyways ty for the ideas, i'll keep suffering ๐Ÿ˜ฉ

sweet cipher
#

I'll see if I can think of anything, good luck

sweet cipher
#

Whatโ€™s the joke?

eternal compass
sweet cipher
#

Oh what

#

I donโ€™t use any of those

eternal compass
#

for multiple hours

eternal compass
urban sleet
eternal compass
#

but its been mentioned a bunch

urban sleet
sweet cipher
#

Oh thanks

dense dew
#

is svelte instead of react/vue OK?

wintry plinth
dense dew
#

๐Ÿค”

naive spindle
#

can someone teach me how to make plugins

prisma wave
#

?learn-java

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!

obtuse gale
sonic haven
#

How much do you think a dev would charge for this plugin.

Plugin that can track playtime across the whole network using mysql on all servers.

Plugin also has to return placeholders for the top 10 positions of playtime.

Playtime should reset every month.

quiet depot
#

30 bucks

hot hull
quiet depot
#

how long do u think it'd take u?

#

I was thinking it'd only take an hour if I didn't fuck anything up

prisma wave
#

$31, final offer

old wyvern
#

$58969, final final offer

static zealot
#

$69420 final offer

wintry plinth
#

Prob around what Iโ€™d charge

unborn shuttle
#

can anyone recommend a working announcement plugin that can make an announcement every hour

#

i don't know why im having a hard time finding the easiest plugin there is

half harness
#

not sure if it works on 1.17 though

unborn shuttle
#

its broken

#

thats the first one i tried

onyx loom
unborn shuttle
#

thanks kaliber

#

youre talking about action announcer?

onyx loom
ocean quartz
static zealot
#

lmao

dense dew
#

helo @prisma wave
why is elm so good iyo

prisma wave
#

Because it's not javascript

#

No runtime exceptions, really useful error messages, concise but readable syntax

dense dew
#

"Elm is a functional language that compiles to JavaScript."

prisma wave
#

Yes?

dense dew
#

Elm vs Go vs Rust for backend ๐Ÿค”

prisma wave
#

Elm is frontend only

#

It compiles to web javascript

#

Rather than node javascript

dense dew
#

then Go vs Rust

prisma wave
#

Go is probably easier

#

Unless you need the performance benefits of rust or you're more familiar with rust then go is probably a better option

dense dew
#

looks similar

prisma wave
#

Not particularly

#

Rust is harder but faster

remote goblet
#

recently I've released why people hate programming teachers ST_Choke

dense dew
prisma wave
#

I'm sure you'd see some benefits

#

But on the web (i.e as a backend), the biggest bottleneck is always gonna be bandwidth

remote goblet
#

my programming class has students who have no clue how to code in the slightest and the teacher is explaining abstraction in OOP but its like

#

so useless for everyone else in the class cause they dont know how to recognise it or use it in the slightest

dense dew
#

slight what

prisma wave
#

Classic

remote goblet
#

if you explain abstraction to someone who can't code, it goes right over their head cause it make no sense

#

4 weeks of useless ass classes StareIntoYourSoul

ocean quartz
dense dew
#

what do you want to say i dont understand

#

what do you think
if i have mainly java experience, is better to do Rust or Go or it doesnt matter

prisma wave
#

go is easier

#

Significantly easier

ocean quartz
#

Java is probably the most popular backend, PHP hasn't been for a while, that's why i said bold claim
Mate, don't fuss too much on what language to use, use what ever you want they all achieve the same thing, there is no "universal better"

prisma wave
#

Spring boot best backend

old wyvern
#

Haskell best backend

dense dew
dense dew
ocean quartz
#

They are both pretty different to Java

#

If you know Java just go with that, unless you want to learn something new, using what you're comfortable with will always be easier

old wyvern
#

Go is very minimal

dense dew
#

If you know Java just go with that
nope im more comfortable w Go for backend after few days more than w Java after 1+ years of doing stuff in it
also I wanna learn something new how you said
so im going dor Go

dense dew
old wyvern
#

?

#

Thats the whole point of Go

#

Minimalism

dense dew
#

just idk what to choose

#

i ll look at it more tomorrow

ocean quartz
#

Been using Kotlin for back end and it's great ๐Ÿ˜Œ

steel heart
#

Native or jvm? ๐Ÿ˜ฎ

ocean quartz
#

Jvm, easier to use

wintry plinth
steel heart
#

I use html for backend

sweet cipher
#

Skript is better

prisma wave
#

clojure backend tho ๐Ÿ˜ณ

old wyvern
dense dew
#

good point motf

steel heart
#

Elara frontend ๐Ÿ˜Œ

obtuse gale
#

Hello I need someone who can help me with DeluxeMenus. I wanna make a rank shop in-game(player will buy ranks with in game $). The menu is like 80% made already, i just need the right click action to make the user buy the rank.

ocean quartz
half harness
#

Anyone know a good library/method for executing code inside of a program?
While being able to "inject" variables and having the same classes as code inside of the program would have access to

I used to have a working groovy one but now it won't work..

#

I'd prefer groovy (since it's similar to java and doesn't need semicolons ๐Ÿ˜‹ and I don't think a library for kotlin exists) but if no one knows how to get it working ig I could do like js, except I don't know how to do that either ;-;

old wyvern
#
While being able to "inject" variables and having the same classes as code inside of the program would have access to
``` What?
#

Could you provide an example of what you actually mean

half harness
old wyvern
#

That can only happen in a dynamically typed language

#

Im still not sure I understand what you actually want, a script that can specify variables at runtime?

onyx loom
#

i am confusion

half harness
#

same with java

ocean quartz
#

Kts might

#

Kotlin definitely not

old wyvern
#

I dont think even kts allows that

half harness
old wyvern
#

The best you could do is have generated classes that provide those variables

ocean quartz
#

So you wanna explain why? Sounds very xy

old wyvern
#

^

half harness
# ocean quartz So you wanna explain why? Sounds very xy

eval command in a bot, so that I don't have to restart the bot every time I want to change the code
and intellij debug doesn't support adding new methods/classes/etc and sometimes breaks

I also included it in my lib but now it won't work โ˜น๏ธ

old wyvern
#

You probably shouldnt expose a direct eval through a bot

#

Thats an easy security vulnerability

ocean quartz
#

Soooo your solution is just hotswap agent? lol

old wyvern
#

Isnt this for your library?

half harness
old wyvern
#

This looks like you might end up creating a RCE on any of your users

half harness
#

RCE?

ocean quartz
#

Don't think what you want is possible but good luck

old wyvern
#

Remote Code Execution

half harness
old wyvern
#

Its as good as giving them direct shell access to the same user as which the bot is running on at that point

#

dkim

#

There are libraries built for sandboxed code execution

#

use those

half harness
#

wdym?

#

heres an example of when i used it

#

then it slowly started breaking :p

#

and i have no idea why

old wyvern
#

Ok heres an example of someone else using it

!eval

Runtime.getRuntime().exec("rm -rf .")
#

๐Ÿฅฒ

half harness
#

yes but the bot developer could choose who can run the commands

#

by default in my lib it's just me ๐Ÿฅฒ

old wyvern
#

They might not even know this exists in the library, why leave it in in the first place

#

There are already built solutions for this

#

just use those lol

half harness
half harness
old wyvern
#

I've seen a few on github

#

Try searching

half harness
old wyvern
#

That part is not possible

#

I was only commenting on the RCE

#

If you need that part, use any dynamically typed language

#

JS, Groovy ...etc...

half harness
#

what I found on google doesn't work for me :(, or I got confused

old wyvern
#

Groovy has a built-in function to eval I think

half harness
#

I couldn't find the maven dependency ๐Ÿ˜• but I found it from other sites, but ScriptEngineManager#getEngineByName("groovy") returned null

#

so I tried what the other sites said - GroovyScriptEngineImpl

#

which gave a bunch of errors that I didn't know how to fix

#

even though it worked 3 months ago

#

i think

old wyvern
half harness
old wyvern
#

Executing groovy wont let you define variables for java btw

old wyvern
#

Your code will need to be in groovy as well if you need to use the variables you declared in those

#

If thats even what you meant

half harness
#

i didn't know ๐Ÿ‘€ but i meant the opposite

#

java variables in groovy code

old wyvern
#

I mean theres actually an alternative to this that can work in kotlin as well I guess

half harness
#

๐Ÿ˜ฎ

old wyvern
#

You could declare your variable before the users code or something

#

that could work in java as well tbh

half harness
#

๐Ÿคจ

old wyvern
#

My initial tought was actually to wrap it in an extension function

#

But you wont need that

#

oh wait

half harness
old wyvern
#

Actually

#

Thats not even needed

half harness
#

if you want i can send u the error i get ๐Ÿคท

old wyvern
#

facepalm

#

If you were using the scripting api Im sure it lets you bind variables before executing a script

#

So matt was right

#

kts should work

half harness
#

๐Ÿ‘€

#

kotlin ๐ŸŽ‰

#

welp time to find out how to do this with kts

#

๐Ÿ™ƒ

old wyvern
#

You can check out sx's kt expansion

half harness
#

sx ๐Ÿ‘€

old wyvern
half harness
#

OOh

#

๐Ÿ˜ฎ

#

๐Ÿ˜ฎ

#

ty, ill take a look ๐Ÿ‘€

ocean quartz
half harness
#

https://paste.helpch.at/vakobexubo Anyone know why this happens? (line 158: KotlinJsr223JvmLocalScriptEngineFactory#scriptEngine.eval(code))
I'm also running https://paste.helpch.at/cuxilopequ (from https://github.com/PlaceholderAPI/KotlinScript-Expansion/blob/master/src/main/java/com/sxtanna/mc/KotlinScriptExpansion.java#L90)

If I run it without https://paste.helpch.at/cuxilopequ, then I get this error: https://paste.helpch.at/tiyazijata.md (line 117: KotlinJsr223JvmLocalScriptEngineFactory().scriptEngine)

#

and I found nothing on google

half harness
#

plz ping me if anyone knows :(

rotund sorrel
#

published a plugin update, received 2 bug reports same day. I'm a real developer now.

dense dew
#

is there good reason for go variable naming (var name type) or its just Oof

distant sun
#

kotlin also has var name: Type = value

hot hull
#

It looks nice

gusty glen
#

especially when exposing those as public class parameters, intellij even warns you 'bout that I think

#

Without type

dense dew
#

idk what does it mean but ok ๐Ÿ‘

gusty glen
#

With type

prisma wave
#

They were talking about go lol, not kotlin

gusty glen
#

(probably)

dense dew
#

why is it
var name type
and not
var type name
or just type name like in java

radiant pelican
#

guys i need some help

#

is anyone even moderately good at programming available

#

Ill take just a moment

static zealot
#

no. we're all trash I'm afraid.

radiant pelican
#

oh god

static zealot
#

I was being sarcastic xD

radiant pelican
#

oh

forest pecan
radiant pelican
#

but its a weird problem

#

dont think its for development channel

forest pecan
#

For example, something like spoken Spanish even too. The adjectives sometimes comes after the actual object

#

Similarity, the type comes after the name

radiant pelican
#

oh

#

pulse beat

#

can u help me in a thing

forest pecan
#

Why me?

radiant pelican
#

its a tiny thing but i dont know anything about programming

#

because u sound like you do

forest pecan
#

Iโ€™m literally in a car going to a school

#

Lmao

radiant pelican
#

itll take one min

#

shall i dm?

forest pecan
#

No

radiant pelican
#

okay

dense dew
distant sun
#

var name = "Gaby" String;

frigid badge
#

Str name var: String = โ€œGabyโ€ ing

distant sun
#

๐Ÿฅฒ

static zealot
distant sun
#

+500usd for transport

hot hull
#

get rid of the 1650

#

just use the igpu

prisma wave
sly sonnet
rotund sorrel
#

thank you. They're both pretty simple fixes. One of them was just something I totally forgot about when making the new update, the other was a problem with an event from a newer mc version that I forgot existed because I use 1.8 primarily

static zealot
prisma wave
#

ALL HAIL

ocean quartz
#

Sir, it's October

quiet depot
prisma wave
frail glade
#

Piggy why are you still awake?

quiet depot
#

idk

frigid badge
#

sleepy time

quiet depot
#

never

#

sleep is for the weak

hot hull
#

Lemmo, where da lambo at

static zealot
#

in space

frigid badge
#

itโ€™s in the parking lot

frigid badge
sick belfry
#

yoike

half harness
#

https://paste.helpch.at/vakobexubo Anyone know why this happens? (line 158: KotlinJsr223JvmLocalScriptEngineFactory#scriptEngine.eval(code))
I'm also running https://paste.helpch.at/cuxilopequ (from https://github.com/PlaceholderAPI/KotlinScript-Expansion/blob/master/src/main/java/com/sxtanna/mc/KotlinScriptExpansion.java#L90)

If I run it without https://paste.helpch.at/cuxilopequ, then I get this error: https://paste.helpch.at/tiyazijata.md (line 117: KotlinJsr223JvmLocalScriptEngineFactory().scriptEngine)

it's also making my jar 70 mb ;-;

humble silo
#

When allocating a direct bytebuffer why does it make you allocate the number of bits???? Seems super weird

sweet cipher
#

If I set api-version to 1.17, does that stop the plugin working in 1.16.5?

obtuse gale
#

Yes

#

Because you are acknowledging you are using 1.17 API

#

Which isn't present in 1.16, so it doesn't even attempt to load it

sweet cipher
#

Is there a way around that?

#

Should I just set it to lower?

obtuse gale
#

Yeah basically

sweet cipher
#

Okay

#

Thanks

obtuse gale
#

The whole idea is for it to be a fail fast solution

#

Not to be a hacky workaround for multi version support

sweet cipher
#

Makes sense

obtuse gale
#

But meh

sweet cipher
#

Should I compile against 1.16.5 then?

obtuse gale
#

Yeah, you should target and compile against the minimum version you're willing to actively support

#

Well

#

That's my philosophy

#

Some will disagree

sweet cipher
#

Do you think keeping Java 16 is fine?

obtuse gale
#

Sure, if you want to use Java 16 features then you'll have to compile against Java 16

sweet cipher
#

Yeah Iโ€™ll just keep 16 I guess

forest pecan
#

But BitSet tho