#dev-general

1 messages · Page 18 of 1

foggy pond
#

AHH

#

Changing specific letters to be lower down or something?

half harness
#

how? wouldn't the extra characters push the image further right/text further left?

#

unless you use like a monospace font and some extra spacing stuff

ocean quartz
#

Just need to do some font trickery

#

Part of the message is offset down, other part isn't

agile galleon
#

yeah its hard but possible

distant sun
#

matt flexing his mcc things as usual

distant sun
brittle leaf
#

if you wanna know if its an actionbar message just go into your font settings and make it weird

#

thats very vague but imma pull up minecraft real quick and get the actual words

#

language force unicode font

#

the resource pack will then start outputting the actual characters

#

instead of the replacement ones

distant sun
#

what I meant is, how do you know if the action bar is just a normal message and not your UI

#

and if it is a normal message, you combine it with your UI and send it to the player

ocean quartz
#

You can't, it's a custom actionbar message, if you send a vanilla one it overrides the UI

distant sun
#

what if it is sent by another plugin?

half harness
#

or
packets 🙃

#

capture outgoing packets

#

actually thats kind of eh

#

messy

distant sun
#

last gif from that plugin's page if this shit doesnt load

#

something that came into my mind is you can maybe add some characters to the UI that you can check for when the player receives a actionbar message?

ocean quartz
#

Still don't think it's possible, I mean sure you can mess with the packets, but because of the fade there it could be sent as a offset title instead of actionbar, the actionbar needs to always be active to show the ui, so the fade never happens

#

But I could be wrong

agile galleon
agile galleon
#

reflection sucks

#

but they are doing packet listening afaik

ocean quartz
#

Yeah it's most likely getting an actionbar command cancelling it an sending it as a title or subtitle

distant sun
#

Oh yea, I forgot about the fade away

agile galleon
#

cant it be action bar still?

#

without the fade yea

agile galleon
#

action bar

#

to always add some other stuff

ocean quartz
#

Without the fade yes it can still be actionbar

distant sun
#

Very descriptive Sky

agile galleon
#

sorry

#

i just took the method plugins use to send actionbars and used the provided component and combined it with the permanent ui

#

but the fork didnt last long

#

it was called esmf

#

extremely stupid minecraft fork

#

i think i threw some random shit into other threads too

#

10% of vanilla mechanics broke but yes

frail glade
#

Ya'll ever played with Deno before?

agile galleon
#

deno the npm replacement?

cinder flare
#

Demo the Node replacement lol

sterile lance
#

Good evening, I come to you because I'm starting to lose hope 😢 I don't know if this is the right salon for you to help me if necessary, don't hesitate to move my request for help..

It's been several days since I tried to create a rank shop with DeluxeMenu but I'm starting to lose my means even if I think I didn't do too badly ^^

Well here is my star rank, when I buy the rank it gives me the star rank. When I have the member rank, it tells me in the description that I don't have it and that I have to buy it. If I buy the star rank it uses the currency well, it gives me the star rank and it sends me a message to say that I have bought it. If I already have a rank above the star rank in the description of the star rank, it tells me that I have already purchased this rank. However if I have the star rank or a rank higher than star I would like it to send me a message telling me that I have such a rank. I did several tests but it sends me no message.

#

This part of my code does not run:

click_requirement:
  requirements:
   STAR:
      type: string equals ignorecase
      input: '%luckperms_in_group_star%'
      output: 'no'
      deny_commands:
      - '[message] &c&6Nakaria &7» &aYou already have this rank !'
      - '[close]'
brittle leaf
sterile lance
brittle leaf
#

group.<rankname> is the permission that players are given when they have been assigned a group

#

its also the same permission when a group is given a parent

#

the problem with your current method is that 1 it doesnt currently work and 2 if the player is in a group that isnt that group then it wouldnt work right

sterile lance
#

Uh

brittle leaf
#

basically as long as a group your in has the parent of that specific permission it should work

#

tho its very possible that that luckperms placeholder returns false instead of no

sterile lance
brittle leaf
#

click requirement has perm

sterile lance
sterile lance
# brittle leaf yk what <#164280494874165248>

Oh no it doesn't work 😢

click_requirement:
requirements:
ETOILE:
type: has permission
permission: group.etoile
deny_commands:
- '[message] &c&6Nakaria &7» &aVous possédez déjà ce grade !'
- '[close]'

ruby dew
#

what are the new blocks for 1.19.3

brittle leaf
sly sonnet
#

Can I use MiniMessage to send formatted messages to console?

hard dagger
ocean quartz
quiet depot
#

what are you even meant to do in bits like that

distant sun
#

It actually is 🥹

ocean quartz
quiet depot
#

but then you've got inconsistency

#

why is this method documented and this one not

lavish notch
#

Might be a fool asking here but have I created a Bubble sort here? (Python, and yes it's probs crude)
Doing a bit of revision and I've lost all capacity to think. SCGhoodie

ocean quartz
#

For example I stopped adding javadocs to getters and setters that don't have any specific functionality and are pure getters

distant sun
#

I hate when the @returns of the method is the same thing as the description kek

#
Returns the username of the user
@returns the username of the user
quiet depot
#

it's fine you won't even need to write docs soon

#

this will all be in the past

#

once these ais can understand our code properly they'll be the documentation tool

distant sun
#

I dont mind that

ocean quartz
#

I like how kdocs work, you can add those tags but they are not needed, you just describe what the code does instead
For example Returns the [username] of the [User]. would link to username and user

distant sun
#

Returns the {@link #username} of the {@link User}

#

or was it clink? ccshrug

ocean quartz
#

Javadocs will yell at you for not including the tags, not that you need but it warns you to

distant sun
#

you can reference a field / method / class without the tag?

#

or you mean @returns

ocean quartz
#

Yeah

distant sun
#

ah

#

yeah, annoying

potent nest
#

just do {@return the username of the user}

lavish notch
solemn laurel
#

Haha how do you accidentally do that, bubble sort is not something I could come up with if I didn’t already know it

quiet depot
#

think they were trying to

solemn laurel
#

Is too confusing

#

Ah ok

#

The goal is achieved theb

rare ivy
#

why isnt this working?

#

it isnt sending me a message

wind patio
#

this is what not working

obtuse gale
#

this

lavish notch
#

gotta memorize it to some degree

static zealot
#

We were specifically taught to not use it because it is very bad.

lavish notch
static zealot
#

but why bubble?

#

Just learn random sort. I don't think it is technically a sorting method but it is a funny way to sort stuff.

solemn laurel
#

It’s a sorting algorithm. Its impractical but can be useful if you’re learning about complexities

#

Just for learning though 😂

static zealot
#

oh right. it had actual names as well

#

I do remember "stupid sort" but there was also a name with b

#

ah. bogosort

#

that was it

solemn laurel
#

Haha we never learned those but ive seen them before

static zealot
#

Well, our teacher just told us about it because she thought it was funny. I did use it in solving a problem in one of the exams we took because usually when they want the best algorithms they specify that and for that specific problem it didn't mention anything.

obtuse gale
#

lol

frail glade
#

It's quiet.

brittle leaf
#

quite

#

quiet

half harness
#

NO

#

Loud

#

LOUD

frail glade
#

@half harness You ever played with Deno before?

half harness
frail glade
#

Fair enough.

half harness
#

i haven't learned much new stuff in a while though :(

#

is deno nice?

frail glade
#

I just found out the other day about their edge deployed TCP workers, so like Cloudflare Workers, but with TCP, kinda crazy.

half harness
#

wait TCP

#

isn't that like what minecraft uses for servers for ex

#

I am not very knowledgable in this stuff 🥲

frail glade
#

Ye

#

It's a mirror of the one I have deployed and hosting myself but it's on the edge, so it's in like 30 areas around the world.

#

And I don't have to host it myself 😛

solemn laurel
#

anticheat devs when minecraft changes to udp 😢

agile galleon
#

udp would be mega stupid

half harness
agile galleon
#

he has to host it

#

just not in 30 areas around the world

half harness
#

oh

#

lol

agile galleon
#

you can use vercel for that too afaik

half harness
solemn laurel
#

30 extended serial ports

frail glade
#

Yeah it'll refresh really fast. What I haven't figured out yet is if there can be a cache put overhead to prevent spamming requests, but, I think even if it hit a cache, it would still be racking up requests.

#

Does Vercel support TCP sockets?

#

Still working on an edge case here where if a server IP is the same as the domain name (like the root name, if hypixel's server IP was just hypixel.net) it would fail. Trying to figure out why that is. I think it's related to SRV records not resolving properly.

agile galleon
#

why do you need tcp sockets though?

#

oh yeah

frail glade
#

Because Minecraft is TCP

hard dagger
agile galleon
#

Yes

solemn laurel
#

chatgpt answering the most obscure and niche questions, building up my confidence in it until it starts writing plugins in python

distant sun
#
Error: projects/ui/src/app/features/configuration/configuration.component.ts:17:33 - error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.

17 const { version: appVersion } = require('../../../../../../package.json')```
How can you not like js
#

that horrific import

wind patio
#

well, there are quite a few ways around it

#

you can write nasty code in any language

distant sun
#

idk about js editors, but for java, IDEA will refactor all classes that have a reference to the class you are renaming / moving
in this case, I guess if you add/remove a folder, the import will no longer work and needs to be updated manually?

wind patio
#
javascript.updateImportsOnFileMove.enabled
typescript.updateImportsOnFileMove.enabled

you need either of these (for the one you're using) for it to work iirc

distant sun
#

that's nice

wind patio
#

well that's a weird error

tribal flume
#

it would be really nice in the deluxetag plugin to add in the config an option that if you activate it, it allows to put a space automatically after each tag, because those who don't have a tag end up with a space in front of their nickname

#

ping me

wind patio
surreal creek
#

How can i add an custom head from me to a deluxe menu

compact perchBOT
#
FAQ Answer:

How to use custom heads in DeluxeMenus:
a) A player name material: head-extended_clip
b) The player's head material: head-%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) The minecraft texture url material: texture-<id>
- Only put what's after https://textures.minecraft.net/texture/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/

ionic gust
#

i wouldnt be surprised if everyone here with dev role hasnt played mc legit in a while @half harness

pallid gale
inner umbra
#

Browse channels doesn't give you roles?

pallid gale
inner umbra
#

Ah

distant sun
#

Discord nitro generators are obviously fake. I mean even the big brains at Nasa probably couldn't crack free nitro. However there are an abundance of nitro "methods" where people get you to run some random code. Well, when the code looks like a wall of copy and paste, you need to do some deobfuscation and that's what I did.

Keep in mind, the th...

▶ Play video
rotund egret
#

I love child labor ngl

#

They haven't been taught laws yet so you just exploit their labor more than you usually would

wind patio
#

I'm using a my own dependency from github in a gradle project.
I automatically create a 'dev' build and a release with 'dev' tag using actions, which updates the jar on every commit.
The problem is, when I refresh gradle or rebuild the project, the dependency isn't updated locally.
How to fix it or is there a way to manually tell gradle to redownload the dependency?

iron sierra
#

Hello, I premise that I am new to java programming and just learning to program. I am trying to make a placeholder for my first plugin, the placeholder works and if I replace it in the joinmessage it works. But if I try to place it in the leaderboard or try to launch it with the command /papi bcparse I don't get the result. Could you please help me?

frail glade
#

what kind of placeholder is it? You might try the regular /papi parse.

iron sierra
#

It is not working, is there any event to be called for it to be replaced?

half harness
iron sierra
# half harness show the `/papi parse` command and your code

/papi parse MonsterHit %test_resoult%

public class PlaceHolders extends PlaceholderExpansion {
private final Main plugin;

public PlaceHolders(Main plugin) {this.plugin = plugin;}

@Override
public boolean persist() {return true;}

@Override
public boolean canRegister() {return true;}

@Override
public String getAuthor() {return this.plugin.getDescription().getAuthors().toString();}

@Override
public String getIdentifier() {return "test";}

@Override
public String getVersion() {return this.plugin.getDescription().getVersion();}

@Override
public String onRequest(OfflinePlayer player, String params) {

    if (player == null || !player.isOnline()) {
        return "";
    }

    if(params.equalsIgnoreCase("resoult")){
        return DatabaseCon.PlayerGroupValid(player);
    }

    return null; // Placeholder is unknown by the Expansion
}

}

public final class Main extends JavaPlugin implements Listener {

public Main() {
}
private static Main instance;

public static Main getInstance() {
    return instance;
}
@Override
public void onEnable() {
    // Plugin startup logic

    if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {

        this.saveDefaultConfig();
        instance = this;
        DatabaseCon.Connect();

        Bukkit.getPluginManager().registerEvents(new MenuFunctionListener(), this);
        new PlaceHolders(this).register();

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

    } else {

        Bukkit.getServer().getConsoleSender().sendMessage(ChatColor.BLUE + "[Test] " + ChatColor.GREEN + "Plugin disabled!");

    }

}

@Override
public void onDisable() {
    instance = null;
}

@EventHandler
public void onPlayerJoin(PlayerJoinEvent event) {

    Boolean Group = DatabaseCon.PlayerGroup(event.getPlayer());

    if (Boolean.FALSE.equals(Group)) {
        me.monsterhit.Main.Player.GUI.displayMenu(event.getPlayer());
    }

    String joinText = "Test mex: %test_resoult%";

    joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);

    event.setJoinMessage(joinText);


}

}

half harness
iron sierra
half harness
#

hmm

#

it seems fine 🤔

iron sierra
#

I'm going crazy 😂

wind patio
#

debug

iron sierra
wind patio
#

spin up the server using the IDE and debug it, see what's wrong

#

or the classic 'sout'

solemn laurel
#

by the way, this is unrelated but you dont need a static instance and getInstance() function since you already use dependency injection

brittle leaf
#

for example, after my plugin loads it says
[PlaceholderAPI] Successfully registered expansion: lunix [1.0]

iron sierra
#

Nope

iron sierra
iron sierra
agile galleon
#

you look at your logs?

brittle leaf
#

also why is your group variable in your onplayerjoin method Boolean and not boolean?

#

if it was its primitive type you could just do !group

#

also variables should start with a lowercase letter, not uppercase

merry gulch
#

can somone help me in development

iron sierra
iron sierra
brittle leaf
#

Boolean is the object varient of boolean

#

and yes they are different

brittle leaf
brittle leaf
#

just making sure

brittle leaf
# iron sierra Soft

from the looks of things it should work, are you restarting your server after updating the plugin with the new jar after compiling?

brittle leaf
brittle leaf
#

i think i know why its not working

#

try %test_group%

iron sierra
#

No read well the files I sent you I changed all the code posted here

#

But I am trying with what is written in my code that I sent you

brittle leaf
#

actually scrap that

solemn laurel
#

the params comparison should just be group

brittle leaf
#

your not overriding anythin g

solemn laurel
#

its optional, but better for safety to make sure youve spelled it all right

brittle leaf
#

also i dont think your supposed to override canregister

#

or atleast i never did

#

also your doing all your mysql stuff on your mainthread and not asynchronously your going to lag heavily

solemn laurel
#

i dont

iron sierra
#

Yes I used @Override but I don't know why it doesn't show it to you

solemn laurel
#

heres mine for comparison

#
public class MyPlaceholders extends PlaceholderExpansion
{
    private LimitedLives plugin;

    public MyPlaceholders(LimitedLives plugin)
    {
        this.plugin = plugin;
    }
    @Override
    public @NotNull String getIdentifier() {
        return "limitedlives";
    }

    @Override
    public @NotNull String getAuthor() {
        return "Heklo";
    }

    @Override
    public @NotNull String getVersion() {
        return "1.0";
    }

    @Override
    public boolean persist() {
        return true; // This is required or else PlaceholderAPI will unregister the Expansion on reload
    }

    @Override
    public String onRequest(OfflinePlayer player, String params) {
        if(params.equalsIgnoreCase("player_lives"))
        {
            return String.valueOf(plugin.getLives(player));
        }
        return null;
    }

    @Override
    public @Nullable String onPlaceholderRequest(Player player, @NotNull String params) {
        if(params.equalsIgnoreCase("player_lives"))
        {
            return String.valueOf(plugin.getLives(player));
        }
        return null;
    }
}
half harness
solemn laurel
#

it looks the same as yours except for annotations

half harness
solemn laurel
#

yeah i just forgot to remove it

half harness
#

since the default impl overrides onRequest

#

ah alr

brittle leaf
#

are you using maven or gradle for compiling your plugin?

rotund egret
#

Punch-card actually

iron sierra
#

Right?

solemn laurel
#
if( Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI"))
        {
            new MyPlaceholders(this).register();
        }
        else
        {
            Bukkit.getLogger().info("No PlaceholderAPI found.");
        }
#

yeah exactly

agile galleon
#

jeez whats up with your formatting

half harness
#

lol

brittle leaf
#

the reason its not working is because the override annotation is removed

half harness
solemn laurel
#

bro WHAT is wrong with it xD

agile galleon
#

everything

half harness
agile galleon
#

literally everything

rotund egret
#

if( Text) for one

solemn laurel
#

i always do that

rotund egret
#

Allman for 2

agile galleon
#

there is no space between if and (), then the thing above

solemn laurel
#

xD

half harness
#

press ctrl alt L and 😌

brittle leaf
agile galleon
#

your curly braces are like c# formatting

solemn laurel
#

yeah, i like to have them in line

agile galleon
#

jeez

solemn laurel
#

makes it easy to tell which ones match

half harness
#

ew

#

🥲

agile galleon
#

ew

brittle leaf
#

huh it does get removed

agile galleon
#

override is bullshit sometimes

rotund egret
half harness
#

it saves space

solemn laurel
#

regardless, the issue is in registration which i cant see it being wrong

#

not sure

agile galleon
#

no it isnt

solemn laurel
#

it's not?

agile galleon
#

it works in the join message

half harness
#

run a debug after the register method

agile galleon
#

it works people

solemn laurel
#

oh

agile galleon
#

hes just parsing wrong

brittle leaf
#

when they say debug, they mean send a message to console or smth

solemn laurel
#

print(stick)

half harness
agile galleon
#

idk why but he is

half harness
#

🤔

solemn laurel
#

youre using %tarkovcore_group% right

half harness
#

@iron sierra

agile galleon
#

no, %test_resoult%

solemn laurel
#

in the discord code, that is correct

#

but in the plugin jar, it is not

agile galleon
#

yep

#

oh

#

¯_(ツ)_/¯

solemn laurel
#

idk which code is currently being used, probably tarkovcore

iron sierra
#

How is it possible.

agile galleon
#

just send current code and what youre currently doing?

iron sierra
#

I can send you the class files

brittle leaf
brittle leaf
#

also both of them are the same

#

we need the placeholder class as well

#

try %tarkovcore_group%

solemn laurel
#

so it works when he uses setPlaceholder() to replace it manually

#

but not in scoreboard or parse, i still think it is a registration issue

brittle leaf
#

return String.valueOf(DatabaseCon.PlayerGroupValid(player)); //should hopefully cover the base of boolean doesnt want to be parsed for whatever reason
and use onRequest not onPlaceholderRequest

solemn laurel
#

kotlin did you say earlier that onPlaceholderRequest is never called

#

xD

#

or was it just for me because i overrode both

solemn laurel
#

ah

rotund egret
#

Bro just named himself a whole lang 💀

solemn laurel
#

thats ok nobody ever refers to the language

half harness
#

no zodd

solemn laurel
#

just to him

rotund egret
#

Why did you edit to 2 ds

#

tf

iron sierra
#

The problem is that the expansion is not registered when the server loads.

solemn laurel
#

maybe get rid of the canRegister override

#

someone suggested that earlier but its still there

#

this could be complete BS, but maybe since you just return true, it attempts to register earlier than it should when it is not ready

half harness
#

Did u add a debug

#

Right below register method is called

obtuse gale
#

Hi everyone!

We are looking for talented developers to join our Minecraft server project. We have been working on this PVP server for the past 11 months and our goal is to revolutionize the future of Minecraft PVP. We need skilled developers to help us build up the server's functionality and bring our vision to life. If you are passionate about Minecraft and have experience developing plugins, we would love to have you on our team. Let's work together to create something truly special.

Thanks!

rotund egret
solemn laurel
#

with those tears you may as well request paid

iron sierra
solemn laurel
#

and it prints then, but does not print anything about the registration happening?

iron sierra
#

Exactly

solemn laurel
#

did you try removing the canRegister() method

iron sierra
#

Yes in my attempts today I also tried this but it didn't work.

solemn laurel
#

im gonna copy paste your code into my plugin and see if it also breaks xD

iron sierra
#

I found the error... it was in the maven file. I had entered two versions of PlaceHoldersAPI and did not enter the scope. Sorry 😂

#

Now everything works correctly

solemn laurel
#

xD

iron sierra
#

Thanks to everyone for helping me

drifting yoke
#

BuildingProvidings.class.getDeclaredFields()[i].getClass().getDeclaredFields().length;

#

I Need to get the Fields of a field in this class

#

but it won't return the actual length of the fields for some reason

#

Does anyone have any idea

drifting dove
#

who can help me connect to the ftp of my server with visual studio please if someone can help me write to DM

drifting yoke
#

NVM I got it! I needed getType() instead of getClass()

brittle leaf
#

you gotta manually upload the jar

#

tho you should probably load a server locally while testing

#

pretty much every dev im spoken to or seen uses local servers

#

Is using
ChatColor.translateAlternateColorCodes()
for hardcoded colored strings a bad practice

#

i dont think it is

#

i think having to call the enum for each color in the string and adding empty strings when attempting to put a color and format chatcolor together makes it more unreadable

agile galleon
#

we have to clarify something here

#

player.sendMessage(ChatColor.RED + "You can't do that!") vs player.sendMessage(ChatColor.translateColorCodes('&', "&cYou can't do that!"))

#

not config loading or anything

#

just hardcoded strings

ionic gust
#

@agile galleon does pastes have a way to show raw text?

agile galleon
#

bytebin

ionic gust
#

huh?

agile galleon
#

you can take a look at my bot

brittle leaf
#

i personally dont use tranlate directly, i have a method that wraps it that shortens it

agile galleon
#

its the backend of paste

ionic gust
agile galleon
#

holdup

ionic gust
#

D:

agile galleon
#

@ionic gust

ionic gust
#

wow!

#

that way i could make raw/ redirect to pasteapi or something

obtuse gale
#

everything is possible

#

believe in yourself

ionic gust
#

wow!!!

#

thank u emily

obtuse gale
#

no problem!!

ionic gust
#

i believe that i will become god and have control over the entire universe

agile galleon
obtuse gale
#

i said believe in yourself, not become delusional

ionic gust
#

im using raw urls in a bunch of discord embed stuff for a discord bot

agile galleon
#

you dont have a url base?

obtuse gale
#

you can probably do that with some nginx config

ionic gust
#

what what what

agile galleon
#

probably, yeah

ionic gust
#

omg josh miles isnt in this server

obtuse gale
#

for /raw redirect to pasteapi or smth, that's what you want, right?

#

there's most likely some stackexchange q/a for that

ionic gust
#

ok i told my host

#

hopefully he will understand

#

cause i dont 💀

obtuse gale
#

lmao

sweet cipher
pallid bough
#

Hey, does anyone know how to make it so when you die you spawn with a kit?

compact perchBOT
#
📋 Your paste: alaeTR
https://paste.helpch.at/zodigirenu

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

distant sun
#

@young trail don't tag random staff members for help

wind patio
#

Simple as that

polar iris
#

could anybody help me with an nginx task I want to perform on my server?

distant sun
#

new color scheme for yaml 😮

#

for everything I guess

polar iris
#

thats cool

distant sun
#

not bad, thought is too much blue for yaml

polar iris
#

not talking about the font of discord kekw

#

do you know how to mess with nginx by any case

distant sun
#

no

polar iris
#

rip

distant sun
#

diff looks nice

polar iris
#

this existed long time ago

#

thats the ascii code block

distant sun
#

it is diff

polar iris
#

sorry, I meant ansi

#

ansi is even better

obtuse gale
#

nah the ANSI looked like dogshit when you tried to use bg colours

#

idk how it looks now

distant sun
#
Hey Emily
obtuse gale
#

hi

polar iris
#
\u001b[0;40m\u001b[1;32mThat's some cool formatted text right?
or
\u001b[1;40;32mThat's some cool formatted text right?
#

wa

#

doesnt even work

#

sad

distant sun
#
Hey Emily
obtuse gale
#

yep yep

distant sun
obtuse gale
#

no I don't need to charge my phone

distant sun
#
Hey Emily
#

bg is ugly 😬

polar iris
#

please fast

distant sun
obtuse gale
#

hi

polar iris
#

before battery ends

#

hi

obtuse gale
#

it's fine

#

it'll be fine

polar iris
#

can you help me with nginx

obtuse gale
#

probably not, what's up?

polar iris
#

hmm

#

so basically

#

I want to make a direct link for every single file / folder in a directory
(public link)

#

I already have had that, but then the server died and now I have to do it all over again, and at the time someone, I don't remember who did this for me

obtuse gale
#

uh

polar iris
obtuse gale
#

no embed rip

half harness
#

the java compiler converts the \u001b those characters iirc

#

wait

#

ansi can't even do what diff does in discord

#

unless they added hex support

#

(by "they" I mean discord)

#
          BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE
  BLACK   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
    RED   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
  GREEN   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
 YELLOW   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
   BLUE   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
MAGENTA   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
   CYAN   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
  WHITE   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE ```
obtuse gale
#

god that is awful

#

the background colours are vomiting

#

the only one that lives up to its name is white

half harness
#

lol

#

technically not even - it's off-white

potent nest
#

I can read the WHITE on white background

distant sun
#

these backgrounds don't look very green / yellow / blue or cyan lol

obtuse gale
#

nor black, red or magenta

distant sun
#

😬

agile galleon
#

What the jesus is this??!"?!

#

no resource packs

terse rapids
frail glade
#

Damn. Cloudflare Workers are hella fun.

agile galleon
#

you talking about their employees or the cf feature Workers?

frail glade
#

The environment 😂

agile galleon
#

ah ok

last lava
last lava
frail glade
half harness
#

👀

frail glade
#

Now if only I could get kristian to respond to me sad_fingerguns

last lava
#

We have a few people chasing the OSS stuff at the min. I'll give you a shout when we get it all sorted

frail glade
#

Bless 🙏

crude halo
#

how can i get the block coordinate player is looking at even from very far in java

agile galleon
#

Multiply the vector

brittle leaf
#

getTargetBlock

rotund egret
#

Wow is that really a method?

#

d;spigot Player#getTargetBlock

ruby craterBOT
#
@NotNull
Block getTargetBlock(@Nullable Set transparent, int maxDistance)```
Description:

Gets the block that the living entity has targeted.

This method considers all blocks as 1x1x1 in size. To take exact block collision shapes into account, see getTargetBlockExact(int, FluidCollisionMode).

Returns:

block that the living entity has targeted

Parameters:

transparent - Set containing all transparent block Materials (set to null for only air)
maxDistance - this is the maximum distance to scan (may be limited by server by at least 100 blocks, no less)

rotund egret
#

Hm, that wouldn't work for long-distance blocks though

#

er I guess it would huh

#

"targeted" is an odd word choice

distant sun
#

d;livingentity#raytraceblocks

ruby craterBOT
#
@Nullable
RayTraceResult rayTraceBlocks(double maxDistance)```
Description:

Performs a ray trace that provides information on the targeted block.

This takes the blocks' precise collision shapes into account. Fluids are ignored.

This may cause loading of chunks! Some implementations may impose artificial restrictions on the maximum distance.

Returns:

information on the targeted block, or null if there is no targeted block in range

Parameters:

maxDistance - the maximum distance to scan

distant sun
#

https://www.youtube.com/watch?v=hfWTzlaRnp4&ab_channel=Nimsy fucking denizen script LOL
I was looking at the video and saw dsc, an extension I've never heard of before

The IP is mc.nimsy.live. You're welcome.

MY NEW CHANNEL (im sorry if the first vid is a little cringe): https://www.youtube.com/channel/UC016y7F8QY2esT304CaYJpg

Also to keep running servers and other really cool benefits, check out my Patreon: https://www.patreon.com/nimsy

──────────────────────
» Twitch: https://www.twitch.tv/flimsynimsy
» T...

▶ Play video
#

I cant believe this is made with denizen script and not java

half harness
# distant sun I cant believe this is made with denizen script and not java

people hire others for denizen scripts too

I charge $20/hr, with a $15 minimum for scripts that take me less than one hour. For anything past that, I round up. I only accept payments via PayPal.

must mean that it's complex enough to be able to have payments like that, but at that point might as well just learn java 🥲

distant sun
#

true

half harness
#

i wonder how much skript can do

#

compared to denizen

wind patio
#

tf is denizen

rotund egret
#

denizen is a multi-paradigm asynchronous threaded language with embedded blockchain support

wind patio
#

but why

#

just use java

distant sun
wind patio
#

or is it one of the script kiddy stuff

distant sun
#

fucking yaml syntax

#

yes it is

wind patio
#

i mean the syntax is so ass might as well learn java

#

💀

distant sun
#

I wanted to try it out but the server is so laggy

wind patio
#

writing such a complicated script kiddy 'language' seems to have a pitfall like interpreted lang like python

#

💀 slow 💀

ocean quartz
distant sun
#

a seconds takes 5 to pass

#

back to watching the video ig

rotund egret
distant sun
#

oh yeah, I remember now

#

https://youtube.com/watch?v=hfWTzlaRnp4&si=EnSIkaIECMiOmarE&t=593 this function is nice tbh, how do you even make this with a scripting plugin
as a reference, this is how it looks in valorant https://www.youtube.com/watch?v=cSn7gymvCsk&ab_channel=Moorey

The IP is mc.nimsy.live. You're welcome.

MY NEW CHANNEL (im sorry if the first vid is a little cringe): https://www.youtube.com/channel/UC016y7F8QY2esT304CaYJpg

Also to keep running servers and other really cool benefits, check out my Patreon: https://www.patreon.com/nimsy

──────────────────────
» Twitch: https://www.twitch.tv/flimsynimsy
» T...

▶ Play video

This is a detailed full length guide to smokes as Brimstone. Where to place your smokes, where to stand, this guide has you completely covered to become a radiant Brimstone main in no time! This guide covers every brimstone smoke for every map, including the new map pearl.

Timescodes:
0:00 Intro
0:22 Ascent
5:29 Pearl
9:25 Bind
12:10 Haven
15:4...

▶ Play video
pastel imp
#

I assume similar to how uh forgot the name of the person but someone was doing a minimap plugin with texturepack

#

probably similar to that

#

OR they just manually did a texture for each segment of the map

#

and switched accordingly

#

probably with a coordinate system with each "chunk"

#

which you can then maneuver using the buttons around

ocean quartz
pastel imp
#

W T H

#

I want that

#

although that looks performance heavy

ocean quartz
#

You mean client performance?

pastel imp
#

yes

ocean quartz
#

Probably not that bad

rotund egret
#

Probably even not badder on the server

ocean quartz
#

Nah it's a resourcepack shader, it has no impact on the server

distant sun
#

also smh, no fxtwitter

ocean quartz
#

There

distant sun
#

THANKS

#

Wrong channel @proven relic

proven relic
#

dev general...

#

Its a dev question

distant sun
#

Is it really?

rotund egret
#

Looks like configuration help

half harness
#

id assume so

#

but making sure

ocean quartz
#

I believe so

pastel imp
#

Uhm can item spawning be async?

half harness
#

doubt

#

iirc anything with the world has to be done sync

#

except for paper which has a couple async methods such as teleportAsync

wind patio
#

Why wouldn't they let you do that

#

They could just add "Use at your own risk" comment and that's that 🤠

#

If there are drawbacks of doing it

#

Unless it breaks many stuff

#

Then idk

#

Major rewrite!

pastel imp
#

hopefully paper will get one soon

#

whenever they go independent

prisma wave
#

there are a billion possible issues that multithreading can cause, many of which are incredibly difficult to debug

#

Hang on lemme find an example i saw a while ago

#

If anyone ever says concurrency is easy they’re either lying or don’t understand concurrency

#

Mutable concurrency that is 😏😏😏

distant sun
#

🤢 twitter

crude cloud
rotund egret
#

that doesn't many any sense.

#

It should spawn a new Game Engine each time to properly represent the item.

prisma wave
#

Also yes.

solemn laurel
#

concurrency is easy, just lock every line

ocean quartz
#

Just make everything immutable ez

half harness
#

in IntelliJ, when ctrl clicking a class, then ctrl clicking something in that class, IntelliJ closes the first class which is really annoying (and keeps closing the classes before if I keep ctrl clicking) - anyone know how to prevent this?

#

the only way to prevent this is by modifying the file itself - which isn't possible when looking at classes outside of your project :/

crude cloud
#

double click the opened file tab

#

damn I'm not used to this

half harness
#

THANK YOU

#

so that's what italicized tabs mean

#

found a fix

ocean quartz
#

It wasn't a thing before, it was added in one of the most recent updates which is really annoying

#

Or could be the new UI idk

#

Oh yeah on the issue it says it's the new UI has it by default

ionic gust
#

im making plugin where one person dies everyone dies, i asked chatgpt for some name suggestions, here's what it gave me:

  1. "Chain Reaction"
  2. "Collateral Damage"
  3. "Cascade Failure"
  4. "Linked Fates"
  5. "Interconnected"
  6. "Equal Opportunity"
  7. "Team Effort"
  8. "In This Together"
  9. "Solidarity"
  10. "In Sync"
  11. "United We Fall"
  12. "We Fall United"

thoughts? i underlined ones im leaning towards

#

im a fan of alliterations like "Critical Colors" and "Erratic Explosions" (different plugins)

sweet cipher
#

You should name it “Stop being an idiot!” Because that’s what people are going to be saying to each other

sweet cipher
ionic gust
ionic gust
sweet cipher
#

So basically you don’t support equal opportunity

ionic gust
#

but i dont want my plugins to take political stands bruh

sweet cipher
#

That’s what I’m taking away from this conversation

ionic gust
sweet cipher
#

That sounds like excuses to me

ionic gust
#

seems like u support unequal opportunity

ionic gust
sweet cipher
#

Hmm

#

You’re getting defensive

sick belfry
#

@sweet cipher collateral damage ftw

sweet cipher
sick belfry
#

I’m an idiot

#

My bad

#

But my point still stands

#

From all the options chatgpt gave you collateral damage seems the best

ionic gust
#

but imma stick with "Stop Being An Idiot!" cause that was my original idea (naming it after something ppl would say while using it) before resorting to chatgpt

fringe crown
#

Any suggestions for a plugin that supports supply and demand feature for selling items?

wind patio
#

AutoTune is one of the few I know

#

Or DShop 3

inner umbra
#

Any way to change the version of java a jar gets opened by without running commands or a bat script?

wind patio
#

well on my server I just do
/usr/lib/jvm/java-17-amazon-corretto/bin/java ... -jar ...

inner umbra
agile galleon
#

what

#

change java home?

inner umbra
#

I don't want all jars affected

wind patio
#

what do you mean

#

you either pass the full path of instead of just java or change java home env variable

#

there are no other ways

inner umbra
#

When I click on a specific jar I want it to use java 8 rather then java 17...
So far the only way I have found to change what version of java opens the jar is with commands or a bat. I don't want to open the jar with those.

wind patio
#

then no, there's no way

inner umbra
#

👍

wind patio
#

(as far as I know)

agile galleon
#

why didnt you ask that before

inner umbra
agile galleon
#

yeah

#

my answer was correct in that regard

#

why dont you ask your whole question?

#

you should already know more information = better help

inner umbra
#

a jar ... not all jars

wind patio
#

open to interpretation

inner umbra
#

🤷

agile galleon
#

jeez

half harness
#

You can change the version on windows by right clicking, open as, navigate to the java bin folder and Java.exe @inner umbra

#

Or smth along those lines

inner umbra
#

Ill just stick with the bat script.

half harness
#

You'd need to code a program or smth for that

#

I know for sure windows doesn't have something for that

half harness
#

Bat file is better

static zealot
#

kotlin sucks

half harness
#

Also why do you need to use multiple versions anyways?

#

OK blitz

#

😔

half harness
inner umbra
#

Cause the GUI in the jar I use doesn't work on java 17

half harness
#

Oh prob bc of JavaFX being removed

#

I forgot about that

ionic gust
#

@ruby dew ur gonna love my next 2 plugins' icons

sick belfry
#

so I have been working on designing and making a physics engine for a project I'm working on (mc related btw), and I'm currently stuck on something, the loop that makes everything work, I have been using a simple while loop that calls all of the update method and shit, the problem is that the solver I'm using depends on the delta time variable which people who have worked with games or this type of stuff will know is very important for everything goes as smooth as possible and my implementation of it is trash and I have no idea on how to add it.

#

if anyone has any designs of a loop that I could borrow or something I can check out to be able to design a good one I would be very very grateful

sweet cipher
#

What do you have so far?

sick belfry
#

pretty much the same as the one from LWJGL's example

#

works on that

#

but I have tested it and the deltatime doesnt change at all

#

also sorry for late response

sweet cipher
#

Won’t dt always be greater than 0?

sick belfry
half harness
#

no point in making the milliseconds a float

#

idk if a long can even fit in a float

half harness
#

don't store longs in floats

#

first number is float, second and third are longs ```java
long a = System.currentTimeMillis();
float start = System.currentTimeMillis();
long b = System.currentTimeMillis();
System.out.println((long) start);
System.out.println(a);
System.out.println(b);

#

just use a long if you're going to store milliseconds

sick belfry
#

oh

#

makes sense

#

blame LWJGL ig

half harness
# sick belfry makes sense

then you can find the diff, convert that to float, and then divide that by 1000 to make it into seconds

sick belfry
#

gonna make everything a long then

half harness
#

🤔

#

dt should be a float

#

but begin time and end time (which is redundant) can be longs

sick belfry
#

like this right?

half harness
#

why cast to long

#

then back to float

#

🥲

sick belfry
#

my bad

half harness
#
long lastTime = System.currentTimeMillis();
float dt = -1f;
while (true) {
    if (dt >= 0) {
        // Update the physics engine
        this.updateObjects(dt);
        System.out.println(dt);
    }
    final long endTime = System.currentTimeMillis();
    dt = ((float) (endTime - lastTime)) / 1000f;
    lastTime = endTime;
}
#

smth like this should work

sick belfry
#

yeah

#

let me try

#

also did discord change the java font for code blocks?

#

looks different

half harness
#

and the default

#
super white now
#
          BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE
  BLACK   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
    RED   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
  GREEN   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
 YELLOW   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
   BLUE   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
MAGENTA   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
   CYAN   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
  WHITE   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE ```unfortunately didn't change any of the custom colors tho
#

lol

sick belfry
half harness
#
+ you can't get this green anywhere else
- or this red
half harness
sick belfry
#

lmao

#

oops my bad I pinged you

solemn laurel
#

anyone have any cool forge mod ideas (not creating blocks, mobs, etc, something you can run on any server)

austere frigate
#
    left_click_commands:
      - '[cmd] tier1'
    right_click_commands:
      - '[command] tier1'

i forgot what makes player execute a command cananybody help

#

pls :(

#

its execute?

#

or what

ruby dew
austere frigate
half harness
quiet torrent
#

Guys, can anyone help?
So, problem, i have velocity and idk why, but after 7th restart, server got problem.
After you rejoin server you spawn at spawn (essentials spawn) without any loot.
inventory cleaning after rejoin server and they are spawning on spawn from essentials*

sour bane
#

I've got a problem, I'm trying to make it where a certain rank has access to gkits but when I do it doesn't offer a cooldown. Any chance I can get some help?

long dagger
#

is it the diff language?

half harness
# long dagger how do you do this?

```ansi
 BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE
 BLACK BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE 
 RED BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE 
 GREEN BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE 
 YELLOW BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE 
 BLUE BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE 
MAGENTA BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE 
 CYAN BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE 
 WHITE BLACK  RED  GREEN  YELLOW  BLUE  MAGENTA  CYAN  WHITE ```

half harness
long dagger
#

oh

#

diff does the same thing tho

half harness
#

no

#

🥲

long dagger
#

with the red and green

#

not the rainbow

half harness
#

ansi discord is so broken

#

💀

#

(in a bad way)

long dagger
#
          BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE
  BLACK   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
    RED   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
  GREEN   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
 YELLOW   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
   BLUE   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
MAGENTA   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
   CYAN   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE 
  WHITE   BLACK      RED    GREEN   YELLOW     BLUE  MAGENTA     CYAN    WHITE ```
#

thats so weird

pastel imp
hazy cape
#

LeftOn = quand le clic reste appuyé (Il est bien détecté)

prisma wave
#

parle anglais stp

#

english please

crude cloud
prisma wave
#

sorry maam

hazy cape
#

Hello, I have a problem in my program but no idea how to solve it.
This code works:```java

while(true) {
if (gui.getAutoLeftClick() == true) {
Robot r = new Robot();
if (leftOn == true) {
click(r,"Gauche");
System.out.println(" " + config.getRandomisation());
}
else {
System.out.println("text");
}
}
else {
System.out.println("text");
}
}

prisma wave
#

what is the problem?

hazy cape
#

When i remove the else

#

or i change the program like that

#

:

#
while(leftOn == true) {
    if (gui.getAutoLeftClick() == true) {
        Robot r = new Robot();
        click(r,"Gauche");
        system.out.println(" " + config.getRandomisation());
    }
}
#

it does'nt work

#

whereas it should

#

(LeftOn = if the click is pressed)

#

and it is well detected

#

(no errors)

cinder flare
#

that's not the same semantically, the first one will run constantly and check if leftOn is true, the second one will stop as soon as leftOn isn't true, which is probably instantly unless you are holding left click when you start it

hazy cape
#

So the second one will never work ?

#

And why this one doesn't work (same than the first wich is working but without else): ```java
while(true) {
if (gui.getAutoLeftClick() == true) {
Robot r = new Robot();
if (leftOn == true) {
click(r,"Gauche");
System.out.println(" " + config.getRandomisation());
}
}
}

#

when else content is not "sysout" it doesn't work too

cinder flare
#

not sure why that wouldn't work

hazy cape
#

😦

#

Thanks anyway for your help

#

@me if someone Have an idea

pastel imp
#

I dont even understand whats happening there

rich quail
#

Heyy

#

Does some1 know how to fix this error?

#

(How to send error?)

compact perchBOT
#
FAQ Answer:

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

keen bridge
#

Proprietary software

rich quail
#

Do you know why?

#

Im trying to load players onventory

#

With multivsere inventory

wind patio
#

because this.b is null

rich quail
#

What should be there

#

Instead of null

wind patio
#

probably a non-null value

#

since you didn't give any code I can't really tell whether it's an issue on your part or from the dependency

#

also it might be an issue with versions, since it's related with packets

#

not an expert in this area, so don't take my word for it

rich quail
#

Ok

#

Here is pastebin

#

I basicly had mutiverse inventory on one server, and i copied all the data from world folder ofnllayers, and now i want to use these inventories on my server on the exact same world

#

But when a player joins, and it tries to load his inventory this error apears

wind patio
#

one recommendation off-topic, pay attention to the Server thread/Error logs, they are there for a reason.

rich quail
#

I stilll dont know

#

How to fix it

rich quail
#

Can u help?

rotund egret
#

offline-mode moment 💀

rich quail
#

Bruh

#

Even if i had online mode on

#

Would it fix anything?

#

?

rotund egret
#

I actually do not care whether it works or not.

rich quail
#

Then why do you comment?

rotund egret
#

To say offline-mode moment 💀

#

The real solution is actually reading your log though.

crude cloud
#

The real solution is the friends we made along the way.

prisma wave
#

true

hazy cape
#

Hi, does anyone know how to remove mouse movement lag from JNativeHook please ?

ebon steeple
#

Hey please help me

#

How do we open another menu in delux menu?

hazy cape
#

Hi who know in java how to make a program work in specific window, by getting is name or idk

#

for my example i want that my program clic only on the minecraft windows and not everywere

#

Thx for your help

real pagoda
#

hi im learning C and im trying to write this but it keep hitting internal error

#include <stdio.h>
#include <math.h>
#include <conio.h>
int main(void) {
    int level;
    double exp,lbigxp,lmedixp,lsmallxp;
    printf("Enter your rounded level = ");scanf("%i", &level);
    printf("Enter how full is your exp bar = ");scanf("%lf", &exp);
    printf("base = %lf\n", exp + level);
    lbigxp = roundf(9/2 * ((level + exp) * (level + exp)) - 325/2 * (level + exp) + 2220);
    lmedixp = roundf(5/2 * ((level + exp) * (level + exp)) - 81/2 * (level + exp) + 360);
    lsmallxp = roundf((level + exp) * ((level + exp)+ 6));

    if(exp + level<=15) printf("Raw exp value = %lf", lsmallxp);
    else
        if(exp + level<=30) printf("Raw exp value = %lf", lmedixp);
    else
        if(exp + level<=1000000000) printf("Raw exp value = %lf", lbigxp);
    else printf("Cannot calculate!");
    return 0;
    getch;
}

Edited to my latest fix

real pagoda
#

I fixed it, but the base still not give out the value

ruby dew
hybrid comet
#

anyone knows why my server selector doesnt send me to the server i select even tho everything is setup correctly

humble prism
#

and what server selector?

hybrid comet
#

i use deluxemenus for the selector

#
    material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2Y0MDk0MmYzNjRmNmNiY2VmZmNmMTE1MTc5NjQxMDI4NmE0OGIxYWViYTc3MjQzZTIxODAyNmMwOWNkMSJ9fX0=
    slot: 12
    priority: 1
    update: true
    hide_attributes: true
    display_name: '&6&LPrison'
    lore:
      - ''
      - '&fPlay alongside the other players.'
      - ''
      - ' &fOnline: &a%bungee_prison%'
      - ' &FType: &aprison'
      - ' &fVersion: &a1.16.x - 1.19.x'
      - ''
      - '&e[Right click to connect]'
    left_click_commands:
      - '[connect] prison'
    right_click_commands:
      - '[connect] prison'```
#

this should work

#

@humble prism

distant sun
#

Wrong channel

hybrid comet
ruby dew
remote goblet
pastel imp
#

Uhm anyone knows of (preferably) a free forever service that I can input data into it via rest api and it stores that data and makes charts, etc for analytics purposes? I want to track some stuff of my discord bot. I know of grafana but I don't really understand how it works lol... preferably an easier to understand one

hazy cape
#

Hi, how to get the active system window name using java please ?

peak fern
#

I believe there was a list of included packages in Bukkit (like SnakeYAML etc) if there is can anyone send it?

brittle leaf
#

Maven: com.github.oshi:oshi-core:5.8.5
Maven: com.google.code.findbugs:jsr305:3.0.2
Maven: com.google.code.gson:gson:2.8.9
Maven: com.google.errorprone:error_prone_annotations:2.7.1
Maven: com.google.guava:failureaccess:1.0.1
Maven: com.google.guava:guava:31.0.1-jre
Maven: com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
Maven: com.google.j2objc:j2objc-annotations:1.3
Maven: com.google.protobuf:protobuf-java:3.11.4
Maven: com.googlecode.json-simple:json-simple:1.1.1
Maven: com.mojang:authlib:3.3.39
Maven: com.mojang:brigadier:1.0.18
Maven: com.mojang:datafixerupper:4.1.27
Maven: com.mojang:javabridge:1.2.24
Maven: com.mojang:logging:1.0.0
Maven: commons-codec:commons-codec:1.11
Maven: commons-io:commons-io:2.11.0
Maven: commons-lang:commons-lang:2.6
Maven: io.netty:netty-all:4.1.68.Final
Maven: it.unimi.dsi:fastutil:8.5.6
Maven: javax.inject:javax.inject:1
Maven: jline:jline:2.12.1
Maven: junit:junit:4.10
Maven: mysql:mysql-connector-java:8.0.27
Maven: net.java.dev.jna:jna-platform:5.10.0
Maven: net.java.dev.jna:jna:5.10.0
Maven: net.md-5:bungeecord-chat:1.16-R0.4
Maven: net.sf.jopt-simple:jopt-simple:5.0.4
Maven: org.apache.commons:commons-lang3:3.12.0
Maven: org.apache.httpcomponents:httpclient:4.5.13
Maven: org.apache.httpcomponents:httpcore:4.4.14
Maven: org.apache.logging.log4j:log4j-api:2.17.0
Maven: org.apache.logging.log4j:log4j-core:2.17.0
Maven: org.apache.logging.log4j:log4j-iostreams:2.17.0
Maven: org.apache.logging.log4j:log4j-slf4j18-impl:2.17.0
Maven: org.apache.maven.resolver:maven-resolver-api:1.6.3
Maven: org.apache.maven.resolver:maven-resolver-connector-basic:1.7.2
Maven: org.apache.maven.resolver:maven-resolver-impl:1.6.3
Maven: org.apache.maven.resolver:maven-resolver-spi:1.6.3
Maven: org.apache.maven.resolver:maven-resolver-transport-http:1.7.2
Maven: org.apache.maven.resolver:maven-resolver-util:1.6.3
Maven: org.apache.maven:maven-artifact:3.8.4
Maven: org.apache.maven:maven-builder-support:3.8.4
Maven: org.apache.maven:maven-model-builder:3.8.4
Maven: org.apache.maven:maven-model:3.8.4
Maven: org.apache.maven:maven-repository-metadata:3.8.4
Maven: org.apache.maven:maven-resolver-provider:3.8.4
Maven: org.checkerframework:checker-qual:3.12.0
Maven: org.codehaus.plexus:plexus-interpolation:1.26
Maven: org.codehaus.plexus:plexus-utils:3.3.0
Maven: org.eclipse.sisu:org.eclipse.sisu.inject:0.3.5
Maven: org.hamcrest:hamcrest-core:1.1
Maven: org.jetbrains:annotations:19.0.0
Maven: org.ow2.asm:asm:9.2
Maven: org.slf4j:jcl-over-slf4j:1.7.30
Maven: org.slf4j:slf4j-api:1.8.0-beta4
Maven: org.xerial:sqlite-jdbc:3.36.0.3
Maven: org.yaml:snakeyaml:1.30
@peak fern this one?

#

if your using intellij you can find them out by just going to your project structure and libraries

peak fern
#

Tx

sweet cipher
prisma wave
#

who's that?

oblique heath
#

IsmailMarmoush obviously 😩

#

who hasnt heard of IsmailMarmoush

sweet cipher
prisma wave
#

well the workaround i sent worked, and it got fixed in later versions

#

although someone made a better workaround somewhere later

#

apparently mine had a memory leak 🥲

sweet cipher
#

Oh

prisma wave
#

iirc they commented it on the gist or smth

#

idk

sweet cipher
#

It appears like Spigot doesn't use the latest version maybe?

prisma wave
#

probably not

sweet cipher
#

Very sad

half harness
#

I'll see about adding a fix to this
proceeds to not add a fix

prisma wave
#

😁

ruby dew
#

hi do you guys know how to add github bot to your discord server
like the github bot posts a message to discord whenever new commits are made to a project

#

saw something doing that in other minecraft servers

#

nvm found it

rotund egret
#

web hook

opal trellis
#

Why with the placeholderAPI plugin my ./hub no longer works

crude cloud
#

i don't know

wind patio
#

i don't know

rotund egret
#

i don't know

prisma wave
#

i know

half harness
#

Brister Mitten knows

prisma wave
#

unfortunately i was lying

#

i don't know

half harness
#

Oh

pastel imp
#

suggestions on jda slash command annotation framework?

#

was gonna use triumph-cmds but the current version is lacking stuff (I think?) and the recode is also lacking stuff lol

crude cloud
#

cloud

#

although the documentation is just.. lol

pastel imp
#

bruh

#

ye I prefer something documented

#

since I am quite stupid to discover it myself

#

lol

crude cloud
#

the command framework is highly documented but there is no docs for the discord specific stuff

#

you can look around at the Minecraft things and see if there are similarities with the discord classes and functions

#

the framework is highly versatile and platform independent

pastel imp
#

mheee

#

I found this BotCommand framewotk on github

#

thoughts?

#

thats literally the name

distant sun
#

yes

pastel imp
#

yes?

distant sun
#

send a link lol

half harness
#

it's java 17+ though

ocean quartz
#

Good

crude cloud
#

why would that be a bad thing

#

oh no

#

it's jda

#

face_vomiting

half harness
#

didn't mean it as a bad thing

pastel imp
#

thoughts on it?

#

doesn't look bad ngl

pastel imp
fringe crown
#

Anyone knows here how to modify the NBTTag of an item on your hand or an item inside a chest?

drifting aspen
#

@glass vine will the toolset you are developing be open source?

glass vine
#

So I will not share the source code probably

drifting aspen
#

what a shame tho

agile galleon
#

my premium plugins are oss tho

humble prism
#

it has a nbt editor with cli

fringe crown
forest pecan
#

How can i make Shopkeepers with skins?

hybrid comet
#

how do i make the gui items with heads

#

what id should i copy

long dagger
long dagger
forest pecan
#

./shopkeeper npc

#

./npc select

#

I got it 😄

cursive jolt
#

You don’t have a choice

crude cloud
#

Define outside

brittle leaf
#

afaik you dont have to share source code even if they buy it

crude cloud
#

you have to share it if they request for it

brittle leaf
#

really?

crude cloud
#

yes

brittle leaf
#

why is that?

crude cloud
#

because that's what gnu gpl v3 says

brittle leaf
#

i assume theres some reason for it but idk what that could be

#

ah

brittle leaf
#

and if you refuse to give the source? can they like sue you or something?

crude cloud
#

and they can request it and you must provide it

half harness
crude cloud
#

they could take legal actions yes

crude cloud
half harness
#

doesn't it cost a bit of money to sue anyways?
all to get the source code of a plugin

crude cloud
#

sure

#

but it is something that is able to happen

brittle leaf
#

if you provide the sourcecode, does it have to be in readable form or can you send obfuscated code?

half harness
#

iirc spartan just uses a decompiler

#

i don't remember the url of where it's stored but I'm 99% sure they used a decompiler

crude cloud
#

it has to be the same source code you used to compile the binary

brittle leaf
#

i see

crude cloud
#

i.e. what the project is composed of

half harness
#

wait emily

#

is it only if you purchase it?

#

or everyone

brittle leaf
#

unless you write the plugin like its obfuscated

crude cloud
#

every project under the sun that is licensed under gnu gpl v3

crude cloud
#

wdym wdym

half harness
crude cloud
#

it does not matter whether or not the binary is purchasable or not

brittle leaf
#

every plugin free or paid if on request of the sourcecode has to give it.

#

or just chuck it on github and call it a day

crude cloud
#

if you have a binary, you are able to request the source code and the owner/maintainer/whatever must comply and provide it

brittle leaf
#

is that why quite a few premium plugins have their source on github publicly

#

like plotsquared

half harness
#

assuming you don't pirate it-

#

🙃

brittle leaf
#

you dont have to purchase it

crude cloud
#

no

#

it does not matter

half harness
#

how are you able to get the binary

#

if you don't purchase it?

#

🤨

crude cloud
#

maybe it's free

#

who knows

half harness
#

i meant for premium plugins

crude cloud
#

it doesn't have to be purchasable

#

i mean you pay for it lol

#

if you aren't paying for it then you are the one committing a felony

half harness
#

yes

brittle leaf
#

so if you dont buy the plugin and request the source code, if they give up the source code and you compile it, is that still piracy?

half harness
#

no

#

afaik

#

that's like compiling citizens

crude cloud
#

assuming the final binary is paid, you don't have to give the source to someone who didn't buy it

#

flow is: someone bought the end binary, you tell them they can get source code on request, if they do request it you must provide it

brittle leaf
#

you have to pay for the plugin to be able to request the source of the jar they provide?

half harness
#

yes

#

basically:

  • if you have the jar, you can request the source code
  • but most people probably won't comply
crude cloud
#

"most people" in the toxic minecraft scene that is

half harness
#

anticheat 🙃

brittle leaf
#

so the piracy is from using someone elses paid for copy that has identifiyable data stripped and posted to the internet for example

half harness
#

Piracy = having access to something that you didn't get in a legit way (ex you didn't purchase it)

brittle leaf
#

i guess piracy is the case that you got the jar from someone who intended to share with many others

half harness
#

even if you just send it to 1 other person

#

that's piracy

brittle leaf
#

if your a staff member setting up the plugin but the server owner is the one who bought it and sent it to you to install or whatever, thats not piracy right?

half harness
#

that's not piracy assuming you're not using it for your own server

#

it's their server

#

so it's not piracy

cursive jolt
half harness
#

as an example

#

and good luck getting the source

#

I haven't tried but I'm not sure how they'd like it

cursive jolt
#

Yeah Vulcan is illegal.

half harness
#

for ex Matrix (which is the one that I own) is selling the source for like $1k i think

cursive jolt
#

I could request source then sue since they use my copyright but I have better things to do

#

If anyone has a spare 10k I’ll enforce my PacketEvents license

half harness
#

wait

#

packetevents?

crude cloud
#

I can give you $4.50

cursive jolt
#

Fucking waste of time though

half harness
#

27 commits to packetevents 👀

cursive jolt
#

Precedent is that you have thousands in legal fees and all you get is the project taken down

#

Established by stockfish