#development

1 messages · Page 23 of 1

dusky harness
#

that's the easiest way

#

🙃

worn jasper
#

not the best way
🙃

lyric gyro
#

Does someone know why my code doesn't work?

    public void onBlockPlace(BlockPlaceEvent event) {
        Player player = event.getPlayer();
        Block block = event.getBlock();
        Profile profile = ProfileManager.getProfile(player);
        Material previous = block.getType();
        if (player.getGameMode() == GameMode.CREATIVE && player.hasPermission("kyodo.admin")) {
            return;
        }
        if (profile.getPlayerState() == PlayerState.PLAYING) {
            event.setCancelled(false);
            TaskUtil.runTaskLater(() -> block.setType(previous), 10 * 20L);
        }
        event.setCancelled(true);
    }```
So I'm trying to set the block to previous type on block place after 10 seconds. In most cases that's air, but sometimes it can be water etc
#

Instead it always sets to cobblestone

leaden sinew
proud pebble
#

its a capture of the block's state that isnt modifyable by the original block object getting updated.

lyric gyro
proud pebble
#

so instead of doing
Block block = event.getBlock();
you would do
BlockState block = event.getBlock().getBlockState();

#

blockstates do have the getType() method

leaden sinew
#

I'm pretty sure that wouldn't work either, you should do World#getBlockAt(block.getLocation())

lyric gyro
#

lol

proud pebble
proud pebble
leaden sinew
#

The event uses the new block to potentially be placed

hoary scarab
#

Could use interactevent and check if player is holding a block then check where the block will be placed.

stuck hearth
#

raytrace the location and set it 100 yards away

proud pebble
#

unless its not?

#

oh i see

#

your method gets the before block but the blockstate should still be used afaik

#

so World#getBlockAt(block.getLocation()).getBlockState() might return the before block

#

ill boot up a test server and find out rn

lyric gyro
#

The event is called after the block was placed

proud pebble
#

i just figured that out

#

i missed that method lol

proud pebble
#

im wrong ofcourse

stuck hearth
#

So here's the thing

#

It did

#

before Emily changed it last minute

lyric gyro
#

yeah i did

tight junco
#

so uh minimessage, does it just auto italic everything

high edge
#

Yes

tight junco
#

why

high edge
#

You need to disable it

tight junco
#

wow i hate that incredible

high edge
#

Cause it's made by idots

hushed badge
#

prob mc default component behaviour

tight junco
#

how the heck do you manually disable it though altHmm

#

okay i found it

dense drift
#

I usually append the component to an empty component with italic disabled

dense drift
stuck hearth
#

Sponge doesn't do this apparently. Based

lyric gyro
#

Does anyone know why the line marked with red doesn't work? It should remove 1 of the items

tight junco
#

have you ever thought about creating a variable, for the item in main hand

lyric gyro
#

Well I'm just testing it out but afterwards sure lol

#

Why not set the block to the previous state instead?

#

That's what it does currently. If I have 4 items in the inventory and place one, it should decrease with 1 but it's just staying as 4

#

No, what you are doing is cancelling the event and manually (attempting to) decrease the item in hand

tight junco
#

also sometimes spigot can be very fucky so you might have to set the item in main hand to one with a lower amount of items

lyric gyro
tight junco
#

emily's solution is better though

#

but yeah spigot is very fucked at times

lyric gyro
#

Okay yeah it didn't work either

errant inlet
#

some1 that can help me out? got a question about function & db need to screenshare otherwise uw ont understand it!! 😄

tight junco
#

most people here are have the social skills of an ape so probably not

lyric gyro
#

Okay I don't get the getBlockReplacedState(), how would I use it in this context?

#

Even though it as far as I can see, should be the exact same thing as I did before

#

SetItemInMainHand() works, but SetAmount() doesn't. Good to know

lyric gyro
#
Player player = event.getPlayer();
        BlockState previousblock = event.getBlockReplacedState();
        Material previous = previousblock.getType();
if (profile.getPlayerState() == PlayerState.PLAYING) {
            event.setCancelled(false);
            TaskUtil.runTaskLater(() -> previousblock.setType(previous), 10 * 20L);
        }```
My current code which doesn't seem to work
lyric gyro
#

A Block is quite simply a live representation of a Location + block data, the BlockState on the other hand is a snapshot of a Block, so affecting just the BlockState won't affect the block

#

Calling BlockState#update will "place" the BS back into the block (with all the data it had, if any, e.g. if it's a furnace that was cooking/smelting something then it will return back to that state)

wet valley
#

Why is y’all technical support shit?

#

Helloooooooooo

mellow pond
#

??

wet valley
#

Finally!!!

#

It says my number is already in use but it’s not

#

Soooo

mellow pond
#

huh'

wet valley
#

Lmao u can’t read?

mellow pond
#

this isnt technical support its development where developers ask development questions to other devs

wet valley
#

It says my number is in use but it’s not

high edge
#

Not discord support

mellow pond
wet valley
#

Wow discord sure does make it hard to contact them than that’s sad

#

To verify my acc

mellow pond
#

this has nothing to do with discord

#

huh

wet valley
#

Yea my bad

#

I was looking through google this is what it brought me too

mellow pond
#

this server is not affiliated in anyway + use discord tickets?

wet valley
#

I’ve been tryna find a way to contact them for like a hour

mellow pond
#

took me 2 seconds

wet valley
#

Like I said earlier ther tech support is trash

#

Thanks

#

But already did that it didn’t really tell me nun

mellow pond
#

did u make a help and support ticket

wet valley
#

Yep

#

I’ve called too

#

When I do it online they try to use the automated robot help but the thing is it says that my number is already in use so I have to talk to a actual person to have him disconnect the number if it is connected to an account that is not mine

#

Thanks tho once again u helped me more than anyone on the discord site tonight lmao

mellow pond
#

its 12:23 am and im in school atm lol

wet valley
#

I’m dead

#

Over here it’s 6 am I’m just tryna join my ark discord server

lyric gyro
#

damn

lyric gyro
#

Did you read the message right after?

proud pebble
#

i believe that using previousblock.update() would be better as it keeps all original data about that block instead of just setting the type

lyric gyro
# proud pebble either `previousblock.update();`after the setType() or `previousblock.getBlock()...

So like this?

    public void onBlockPlace(BlockPlaceEvent event) {
        Player player = event.getPlayer();
        BlockState previousblock = event.getBlockReplacedState();
        
        Profile profile = ProfileManager.getProfile(player);
        //Material previous = previousblock.getType();
        if (player.getGameMode() == GameMode.CREATIVE && player.hasPermission("kyodo.admin")) {
            return;
        }
        if (profile.getPlayerState() == PlayerState.PLAYING) {
            event.setCancelled(false);
            TaskUtil.runTaskLater(
                    previousblock::update, 10 * 20L);
        }

    }```
proud pebble
#

yes i th8nk

dusky harness
#

No

little summit
#
package explosionplugin.explosionplugin;

import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockExplodeEvent;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.event.entity.EntityExplodeEvent;

public final class Main extends JavaPlugin implements Listener {

    @Override
    public void onEnable() {
        // Plugin startup logic
        System.out.println("Plugin started!");
    }

    @EventHandler
    public void onEntityExplode(EntityExplodeEvent e) {
        if (e.getEntity().getType() == EntityType.ENDER_CRYSTAL) {
            e.blockList().clear();
        }
    }

    @EventHandler
    public void onEntityExplode(BlockExplodeEvent e){
        if (e.getBlock().getType() == Material.RESPAWN_ANCHOR){
            e.blockList().clear();
        }
    }
}```

no idea why it doesnt work (i'm a newbie at java, very new and just made my first plugin)

any of u know how i can make it so explosions from end crystals and respawn anchors do not do any block damage? this approach didn't work but i didn't know what i was doing eitherway lol
tight junco
#

You're not registering the listeners

#

you suck docdex

#

unless im stupid

little summit
#

or could I get a explanation

tight junco
#

ah yes im stupid

#

d;spigot PluginManager#registerEvents

uneven lanternBOT
#
void registerEvents(@NotNull Listener listener, @NotNull Plugin plugin)```
Description:

Registers all the events in the given listener class

Parameters:

listener - Listener to register
plugin - Plugin to register

tight junco
#

for listeners to work, they listener class needs to be registered as an event in the plugin

little summit
#

public final class Main extends JavaPlugin implements Listener {

#

so i need to add something to that?

tight junco
#

You need to put it in your onEnable

little summit
#

alr

#

oh wait i see

#

i need to add

    @EventHandler
    public void onEntityExplode(EntityExplodeEvent e) {
        if (e.getEntity().getType() == EntityType.ENDER_CRYSTAL) {
            e.blockList().clear();
        }
    }

    @EventHandler
    public void onEntityExplode(BlockExplodeEvent e){
        if (e.getBlock().getType() == Material.RESPAWN_ANCHOR){
            e.blockList().clear();
        }
    }``` to onEnable listener
ebon whale
#

or listener manager and dont use onenable directly

tight junco
#

nope

#

Bukkit.getPluginManager().registerListeners(this, this) inside your onEnable

little summit
#

alr

tight junco
#

Doing this means you're using the class as it's own variable and since the class extends JavaPlugin and Listener, it can be used for both

#

but if you had a separate class that implements listener, you would need to do registerEvents(new ListenerClass(()) YesYes

ebon whale
little summit
#

do i need ti import that registerListeners

tight junco
#

if you use the Bukkit.getPluginManager() you will need to import Bukkit yes

#

if you just started plugins and java entirely i recommend

#

?learn-java

neat pierBOT
#
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!

little summit
tight junco
little summit
#

i have no idea tbh

#

thats what the docs state

tight junco
#

yes it is

#

im stupid

little summit
#

am i missing anything

package explosionplugin.explosionplugin;

import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockExplodeEvent;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.event.entity.EntityExplodeEvent;

public final class Main extends JavaPlugin implements Listener {

    @Override
    public void onEnable() {
        // Plugin startup logic
        getServer().getPluginManager().registerEvents(this, this);
        System.out.println("Plugin started!");
    }

    @EventHandler
    public void onEntityExplode(EntityExplodeEvent e) {
        if (e.getEntity().getType() == EntityType.ENDER_CRYSTAL) {
            e.blockList().clear();
        }
    }

    @EventHandler
    public void onEntityExplode(BlockExplodeEvent e){
        if (e.getBlock().getType() == Material.RESPAWN_ANCHOR){
            e.blockList().clear();
        }
    }
}```
#

@tight junco

tight junco
#

uh huh that should work

#

hopefully

little summit
#

lemme see

little summit
tight junco
#

you could try cancelling the event who knows shrug

little summit
#

i'm trying to cancel only the block damage (the blocks affected by the explosions)

tight junco
#

maybe who nkows

#

spigot can be funky

#

id more or less check if the event is actually running

little summit
#

actually got a better idea

proud pebble
little summit
lilac sierra
#

Hey, i need help.

positive_effects:

  • "SPEED"
  • "FAST_DIGGING"

This is my config.yml, i need to like take this names into a list and then write this list to console.

List<String> positiveEffects = config.getConfiguration().getStringList("positive_effects");

but i get this error https://pastebin.com/1tvYuy3e in console

neat pierBOT
lilac sierra
proud pebble
worn jasper
#

Uh does uuid (in string) return the full uuid or the trimmed uuid? (without the -)

#

Can't test it rn

lyric gyro
#

with

worn jasper
#

okay ty

lilac sierra
atomic trail
#

IntelliJ keeps creating files using gradle 6.7, how do I change this?

dense drift
#

Go to project settings and see what version is set there

atomic trail
#

7.3.3

dense drift
#

Can you take a screen of that window?

atomic trail
#

so I want to update the wrapper file

#

the standard wrapper file when creating a project

#

To not use this

#

So changed to this distributionUrl distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip

dense drift
#

Does it use 6.7 for all new projects?

atomic trail
#

Yes

#

I also changed this

#

But the issue is the standard wrapper properties file I believe, I wanna update that

dense drift
#

There's also an update command

atomic trail
#

But would that update it for all new projects?

dense drift
#

gradlew wrapper --gradle-version VERSION for the current project

mental cypress
#

MinecraftDev IntelliJ FTW. Used to have that problem and then I just used that plugin and it did it properly.

atomic trail
#

I just can't find the setting for default distributionUrl

mental cypress
#

That would be per-project most likely?

#

At least if you're running gradlew that's the wrapper for that given project.

atomic trail
mental cypress
#

Fair

mental cypress
#

It looks like you can tell IntelliJ to use a default installation on your computer instead of it grabbing it's own.

#

So if you download the latest one, you should be able to set the setting to point towards your local installation.

dense drift
#

Thats an yaml syntax error, barry already gave you a fix

lilac sierra
#

effects:
positive:
- "SPEED"
- "FAST_DIGGING"

for example i want to add the speed string into a list

List<String> positiveEffects = config.getConfiguration().getStringList("effects");

i use this but the size is always to 0

dense drift
#

effects.possitive is what you want

neon willow
#

Hello guys, so I am new at programming and I would like to know how to detect online players in a server

worn jasper
#

if you are new, stop searching for specific things

#

learn the basics

mellow pond
#

Bukkit.getOnlinePlayers?

neon willow
stuck hearth
#

All apis have a #getOnlinePlayers call, It's part of a Java Object obv

neon willow
#

Bukkit and spigot stuff is a bit different than normal OOP

stuck hearth
#

No that was a joke, don't do that

neon willow
#

Oh

#

😰

stuck hearth
#

Rather it was sarcasm because of Afonsos comment

neon willow
#

Trolling noobies eh

#

Xd

errant inlet
#

how do i make required checkboxes with 4 sports they can choose out, they have to choose atleast 1!

#

html^

worn jasper
#

I find it a lot better to learn java, or well the bukkit/spigot api slowly by following whatever tutorials or course you are doing. This is me assuming you are watching one of those.

#

People that start coding just to idk, to do a skywars plugin, tend to skip a lot of the basics which tends to also make them ask like 4000 questions

#

#getOnlinePlayers() isn't a biggie in this case, but if you do it with that already, then I can only imagine the rest.

#

Besides that, google is your best friend lul

worn jasper
#

Google 🙂

stuck hearth
worn jasper
#

is it answering their specific question? No. Is it helping them answer it themselves? Yes.

#

that's how I view it.

glossy pewter
#

menu_title: 'Requirements Menu'
open_command: test
size: 9
items:
'rank':
material: PLAYER_HEAD
slot: 1
lore:
- '&eהדרגה שלך: &f%luckperms_prefix%&7(&a%luckperms_group_expiry_time_tiger%&7)'
view_requirement:
requirements:
tigerrank:
type: "has permission"
permission: rank.tiger
'rank1':
material: PLAYER_HEAD
slot: 0
lore:
- '&eהדרגה שלך: &f%luckperms_prefix%'
view_requirement:
requirements:
tigerrank:
type: "!has permission"
permission: rank.tiger

worn jasper
#

I don't like giving plain answers, I give answers that might help them answer it themselves, find that a way better way to learn than to just give the solution

glossy pewter
#

how can i make this to 1 slot

glossy pewter
#

make it to 1 slot?

worn jasper
#

.-.

#

I don't use DeluxeMenus

#

I would assume you use priorities

#

if that's a thing in DM

stuck hearth
worn jasper
stuck hearth
#

What you meant is regardless when you didn't actually do anything to help.
That is the point 😉

worn jasper
#

And well, It was quite a reflex to even say that, since I can't even count the times the issue was them actually not learning the basics and just skipping everything

dusky harness
#

They might just want to experiment with spigot api

#

Makes it more fun rather than making a rock paper scissors game in regular java

#

Helps with motivation

neon willow
#

But do not worry, I ain’t discussing. That’s all

topaz gust
still oxide
#

Hi I'm make my statistic money nick not working why? What problem

tired olive
#

and then convert it to groovy

lyric gyro
#

what

errant inlet
#

hi, i've included a function on a page which has to be viewed as a dropdown menu but it doesn't showup as a dropdownmenu

#

`<?php

function afdelingen(){

    $array = array("Accountants", "Receptie", "HRM", "Belastingadviseurs", "Administratie", "Directie");
    
    foreach($array as $afdelingen){
        echo "<option value='strtolower($afdelingen)'>$afdelingen</option>";
    }

}

?>`

errant inlet
#

who asked

rain wasp
#

🇮

somber gale
#

Is it better to use a BufferedReader instead of Files.readAllLines(Path) to read the contents of a file?

lyric gyro
#

Not really, the only reason I'd see that being "better" is if you wanna make more use of the reader in some way

#

No point in performing unnecessary work yourself

neon willow
#

Help guys, I'm having trouble sending a parameter to the main class

#

I separated both codes, the main class and the class which I need to add the parameter from

somber gale
lyric gyro
#

How large are we talking about?

#

The problem isn't "Files.readAllLines shouldn't be used for large files, use BufferedReader instead", the problem is that if you want to slurp all lines you need to bring the entire file into memory, that is the problem, and reading with a reader "directly" is no different

#

Realistically this is a real problem starting in the order of the several tens of megabytes, if that's the case then the stream-based approach (Files.lines) or using the BufferedReader + readLine could be of better use since you go through each line one at a time

stuck canopy
#

what is the maven dependency for 1.8.8 papermc

errant inlet
#

hi, i've included a function on a page which has to be viewed as a dropdown menu but it doesn't showup as a dropdownmenu

#

`<?php

function afdelingen(){

    $array = array("Accountants", "Receptie", "HRM", "Belastingadviseurs", "Administratie", "Directie");
    
    foreach($array as $afdelingen){
        echo "<option value='strtolower($afdelingen)'>$afdelingen</option>";
    }

}

?>`

dense drift
#

you need to define the dropdown first

dusky harness
stuck canopy
#

Is there a way to open a sign gui for a player in 1.8.8? as there's no #openSign() method in 1.8.8

golden grove
#

why does essentials not work ?

marble nimbus
#
export const msMinecraftUploadSkin = async (mcAccessToken, skinData, variant, name) => {
  const form = new FormData();
  let file = await fs.promises.readFile(skinData, "binary");
  form.append("variant", variant);
  form.append("file", Buffer.from(file), {contentType: "image/png", filename: name});
  return axios.post(
    "https://api.minecraftservices.com/minecraft/profile/skins",
    form,
    {
      headers: {
        ...form.getHeaders(),
        "Content-Type": "multipart/form-data",
        Authorization: `Bearer ${mcAccessToken}`
      }
    }
  );
};```

I need some help, I am trying to upload a skin, but I am getting 401 Bad Request errors, and I am not sure why.
variant = classic
skinData = Path to the texture file
name = texture.png (The last part of the texture path)
lyric gyro
#

I just wanna add support for PlaceholderAPI into my own plugin, How could I do this?
I am struggling to figure out how todo it

hard snow
lyric gyro
hard snow
dusky harness
#

the second link is if you want to make placeholders yourself

lyric gyro
marble nimbus
marble nimbus
#

never mind

#

it still gives me 401 bad request even with a wrong token

#

I fixed the Token now I get 415 Bad Request

dense drift
#

maybe the body is not right

errant inlet
#

i need to make an if and else statement, if they choose yes on family on the dropdown menu, they will get on the next page an decription textfield where they can fill in what they want, my code rn is like this;
if ($_SESSION["familie"] == "ja"){ echo }
but idk how to place a textfield after the echo

icy shadow
#

you can just echo html in php iirc

#

like as a string or whatever

surreal lynx
lyric gyro
#

plugin/mod/data pack?

surreal lynx
#

Plugin, or data pack if not possible in a plugin

lyric gyro
#

Yeah it's not possible with a plugin, that kind of stuff happens far too early in the "game" where plugins are nowhere near loaded

surreal lynx
#

What about a data pack?

lyric gyro
surreal lynx
#

I'll look into it, thank you 😄

leaden sinew
lyric gyro
#

That's not really how it happens

#

It's not per individual block in the world, the tags are a "property" of the 'block type'

#

Tightly tied to the whole registry system and all that is initialised waaaaaaaay before even the Server instance is created

#

When that initialisation finishes it's all locked down/frozen and spread throughout a good number of other places so it's not as simple as "just change it with reflection in the block"

leaden sinew
#

Oh okay

#

I thought there was like a command to obtain blocks that had the tag, but I was probably thinking of items

lyric gyro
#

It's not like PDC, it's not something in the NBT

#

It's something embedded in the block type itself

leaden sinew
#

Got it, thanks for the help

proud pebble
#

might be only possible if you modify the server jar itself

lyric gyro
#

Nowadays yes

#

Or with java agents but that's overkill

#

Paper team is working on a new API to be able to safely modify (or, well, put your own stuff into) registries and a bunch more stuff during bootstrapping/initialisation

worn jasper
#

that's poggers

#

paper 🥰

worn jasper
#

Uhm, so if I use File[] files = new File("path").listFiles(); where would path be relative to ?

#

tried putting plugins/TestPlugin/data/

#

and got this error: java.lang.NullPointerException: Cannot read the array length because "<local7>" is null

#

I assume local7 is the path

lyric gyro
#

that's the File[] files variable

#

and it's relative to the working dir, that is ., that is the server dir

worn jasper
lyric gyro
#

if you want something in the plugin dir, use the plugin dir from the Plugin instance (Plugin#getDataDir or whatever)

#

getDataFolder*

worn jasper
#

oh ye ty

robust flower
#

Is there a non reflection way of registering commands at runtime (dynamically)?

lyric gyro
#

no

#

You can only get so far like putting the command in the CommandMap, Paper exposes the CM in the API so that's trivial, but at some point (after inserting the cmd in the cmd map) you have to call CraftServer::syncCommands

robust flower
#

ic, thank you

verbal tree
#

anyone know what kinda website i could build?

#

Need idea's xD

long solstice
#

I am coding a project where you can make DeathMessages configurable. In the YML file, there is a player list of this structure:

players:
  a1b7942d-f0e0-479f-b9c2-2df166d99eb3: "deaths.one"

And then we have that "deaths.one" stored as:

deaths:
  one: "%player% destroyed %target% with %item%!"
  default: "%player% killed %target%."

This setup works on my server, but for the person I am making this plugin for, it errors when retrieving the player's value. If you need any more info, please let me know!!

high edge
#

CoDe

neon willow
#

Hello a little question, if I have a (HashMap <Integer, Arraylist<Medicine>>) and the class Medicine has a name attribute how can I access that atrribute in the arraylist using the HashMap Integer key

long solstice
#

This is how I grab the value:

String configMsg = Main.getInstance().getConfig().getString("players." + player.getUniqueId().toString());
#

I set it using:

Main.getInstance().getConfig().set("players." + player.getUniqueId().toString(), message);
Main.getInstance().saveConfig();
broken elbow
broken elbow
long solstice
#

It works fine on my server, but the other person's server it gives that error

broken elbow
long solstice
#

Yes sure

broken elbow
#

actually, just put the whole DeathListener class in a paste bin and send it here if you can

long solstice
#

Can I send it to you privately?

broken elbow
#

sure

broken elbow
#

it seems like it isn't actually set. are you setting it when the player first joins or when?

long solstice
#

When a command is ran

broken elbow
#

well that's probably the problem. the command wasn't ran so the config option is missing

#

you should probably set a default string in your getString method

#

well at least that's 1 way to solve this. another would be to just listen for when a player first joins the server and set a default value in the config then

#

but then again, if that player never joins after that or never gets another death message other than the default one, you'll just have a bunch of unnecessary options saved in your file

long solstice
#

The command was ran everytime before I killed someone

#

And I can see the option in the file, but it returns null

proud pebble
#

its probably just get()

#

so like map.get(1).get(1).getattributeName() for example

#

something like that

errant inlet
#

im getting this error Notice: Undefined index: interesse4 in C:\xampp\htdocs\PJ6\PJ6Pagina3.php on line 17

#

when i dont click on a checkbox

#

<input type="checkbox" id="auto" name="auto"> <label for="auto">Auto</label> <br>

#

these are the checkboxes idk why they don't go to the next page if i'm not clicking on it

spare quiver
#

Hello community , Im trying to learn how to code a plugin of mine , i hope its fine to put my question here , im trying to make players lay on the bed at any time of the minecraft day does anyone knows how to get that done ?

onyx maple
#

uhm
why my ajleader boards doesnt connect or smth
i put the plugin in my plugins
but it doesnt exist
btw i use 1.16.5

lyric gyro
#

shut up

tight junco
#

i really dont get why people dont ask the developers of the plugin for the support and go to other places

dense drift
#

Effort

worn jasper
#

too much work

#

pff

proud pebble
#

that pumpalump guy is just a troll

#

they were harassing someone on another discord server and got beamed

lyric gyro
#

They said they were harassing someone on another discord server and got beamed

lyric gyro
#

hey, how do I let intellij show me the type of a variable like this?

lyric gyro
neat pierBOT
#
FAQ Answer:

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

lyric gyro
#

don't ghost ping me

heavy wadi
#

But aren't they enabled by default? It obviously neccessary that the variable actually has a type

lyric gyro
#

you can right-click that

#

alternatively, go to settings and search for "type hints" or "inlay hints"

#

thank you guys

proud pebble
#

the guy was very cringe and didnt deserve to exist on that server any longer.

worn jasper
#

fair enough

fiery pollen
#

So I am making a Collections plugin, kinda like the one hypixel skyblock has. But I have to know, if it the item for example has already been used for the collection on ItemPickupItemEvent, would it be smart to put boolean in the persistentdatacontainer saying it's been already "claimed". Or would there be a better way of doing this?

lyric gyro
#

PDC seems like a good solution for that

proud pebble
#

id stick a boolean saying it hasnt been claimed and then remove it once it had

#

if i could grab the nbt data of an item entity from skyblock while logged in it might give insight into how hypixel does it

fiery pollen
#

Yeah they are down right now aren't they?

proud pebble
#

yep

#

and im not sure how to grab entity nbt data from an entity while its spawned

#

like ive grabbed nbt data from itemstacks before which was helpful when figuring out how custom items were identified

#

apparently F3+i grabs the entity data

lyric gyro
#

there are mods to show NBT of items/entities

proud pebble
#

ive used the one for items

lyric gyro
#

don't you need to have op for F3 + I to work? Not like it can't be bypassed by a mod, but like, if you're gonna have a mod for getting NBT then use one that shows them right up lol

proud pebble
#

you didnt have to be op to grab nbt data off an itemstack while its in your inventory

#

tho im not sure when F3+i was added to minecraft

lyric gyro
#

even with entities, the nbt is already in your client

#

but some features are client-locked behind op

proud pebble
#

well ill find out when i login

worn jasper
#

Wouldn't use PDC in this case maybe be bad?

#

I mean, there's not many other options

#

but server file gonna go brrrr

dusky harness
#

No it's not bad

worn jasper
#

(or world, wherever the pdc data is stored)

dusky harness
#

Wait can u link

worn jasper
#

?

#

wdym

dusky harness
#

Oh wait nvm

proud pebble
#

yep imma assume theres a flag on the itemstack on its spawn and then is either removed from the itemstack when adding to inventory or its added to the item entity itself

lyric gyro
#

PDC is nothing but a fancy Map<Key & Type, Value>

torpid raft
#

whats pdc

#

never heard of that

dusky harness
# torpid raft whats pdc

persistentdatacontainer
permanent metadata on items, entities, and blocks that store extra data like furnaces (tilestates)

torpid raft
#

aah

#

makes sense

proud pebble
#

basically lets you add nbt data to an itemstack for example without using nms

#

and to entities and is saved instead of being discarded afaik

fiery pollen
#

Why is there no PersistentDataType.BOOLEAN?

lyric gyro
#

behind the scenes, booleans are stored as a single byte so you'd use PDT.BYTE, with 0 (false) and 1 (true)

#

though in general for a boolean I'd use a byte, but the presence of the key means it's true, and the absence false

worn jasper
icy shadow
#

some of these just seem like theyre encouraging anti-pattern

#

storing a FileConfiguration in a pdt should almost always be illegal

worn jasper
#

that I can agree

#

but some others are quite nice

proud pebble
#

i wonder what stuff in itemstacks needs storing that isnt stored in nbt

#

i assume material type and amount

icy shadow
#

i mean... it's all stored in nbt eventually

lyric gyro
icy shadow
#

uh

lyric gyro
dusky harness
#

He's probably wondering why you're asking for a solution to someone else's problem

#

or is this an alt account?

lyric gyro
dusky harness
#

oh 💀 💀 💀 💀

icy shadow
#

it's gonna be hard to get any info given they didnt share the code publicly lol

lyric gyro
#

And if I understood correctly, the database has a problem saving the UUIDS of the players

lyric gyro
dusky harness
#

ez solution

lyric gyro
#

It's been two days that we are stuck on this problem :/

icy shadow
#

please show the code

lyric gyro
# dusky harness ez solution

Yes but I wanted to redo the whole plugin 🙂 to my criteria and removed 90% of the features of this plugin on spigot

dusky harness
#

@long solstice show the code 👍

icy shadow
#

@dusky harness show the code 😡

#

kotlin =

dusky harness
icy shadow
#

terrible

dusky harness
#

D:

lyric gyro
#

How can I share the code? I only have the .jar but he has the source code and everything else

icy shadow
#

?paste

neat pierBOT
#
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

dusky harness
icy shadow
#

oh

dusky harness
#

is that better

icy shadow
#

you only have the jar

#

💀

dusky harness
#

💀

icy shadow
#

that is going to be a bit problematic

dusky harness
#

it's a small plugin

#

decompilers work fine

#

send it to like bm if you'd like

#

and if bm is ok with it

#

😌

#

or me and I'll send it to bm

#

if bm is ok with it

icy shadow
#

lol

#

yeah idm

#

or put it in here publicly like a gigachad

dusky harness
#

yeah but idk how happy the dev would be

#

lol

#

probably won't mind though

icy shadow
#

shouldve made something that works then

dusky harness
#

since even the client said it's a public plugin but with features removed

icy shadow
#

¯_(ツ)_/¯

dusky harness
#

unless he like obfuscated it with some $200 thing

#

the jar will work

icy shadow
#

skull

dusky harness
#

I do remember there is this obfuscator which costs a lot of money but has a trial where it prefixes System.out.prints

#

i think

#

but since plugins don't have System.out.print

#

ez free obfuscator

#

its been a long time tho so I don't remember the name

icy shadow
#

lmao

long solstice
#

Who wants it I'll send it

dusky harness
#

me

#

meeeee

#

!!!!!!!

icy shadow
#

i volunteer

#

dkim is lying

long solstice
#

Alright I'll send it ya one second

#

The plugin works fine on my server, I'm fairly certain it's either because of different spigot jars, or because of a conflicting plugin

dusky harness
#

oh so the plugin works?

icy shadow
#

neither of those seem likely tbh

#

if it's a config thing

long solstice
#

Yeah, that's what I thought

worn jasper
#

just send it here lmao

icy shadow
#

if your server jar is breaking your config then your server jar is extremely cursed

long solstice
worn jasper
#

it's not like it's a super ultra blaster innovative plugin lmao

icy shadow
dusky harness
#

oh its the dev

#

i just realized

worn jasper
#

xD

dusky harness
#

i was wondering why you were saying "client's" when I thought you were talking to the client

long solstice
icy shadow
#

hm

#

alr

worn jasper
#

meantime me getting the well known NullPointerException but can't figure out how/why this crap is null xD

long solstice
#

Oh no GuardSpigot

worn jasper
#

Oh welp

worn jasper
dusky harness
#

1.8 and 1.12

worn jasper
#

I haven't heard of Taco in AGES

dusky harness
#

is your plugin built on those versions

#

$75

long solstice
#

Yeah it's built on 1.8.8

worn jasper
#

💀 2.0

icy shadow
#

and what isn't working?

#

specifically

dusky harness
#

configuration getString returning null

long solstice
#

^

worn jasper
#

is the path correct

long solstice
#

Even though it's clearly in the config

#

Yes

worn jasper
#

is the config null?

dusky harness
long solstice
#

As I said it works on my server, but on his it doesn't work

dusky harness
#

@long solstice try to delete the plugin data folder on ur dev server

worn jasper
icy shadow
#

as in it's returning null?

dusky harness
#

to try again

#

fresh start

long solstice
worn jasper
#

Are you using a library to manage configs?

dusky harness
#

no

#

hes using spigot

icy shadow
#

shut it

long solstice
#

I get the string, try to do Strin#replace and then it says cannot invoke replace because string is null

worn jasper
#

wait the default config system from spigot?

#

💀 3.0

dusky harness
#

yes

long solstice
#

Yes, I'm using the default spigot config system no libraries

worn jasper
#

I wonder how many skulls I will send in this whole convo

icy shadow
#

this is a dumb question but are you 100% sure it's the same player in the config that you're reading

worn jasper
#

where is the code

icy shadow
#

because the code itself looks fine

#

albeit a little messy

#

in dms

dusky harness
#

oh he sent it to you

icy shadow
#

however if it's a different player then obviously it's gonna be null

dusky harness
#

smh

long solstice
#

Yeah it's messy, I threw it together very quickly, I'm gonna clean it up

long solstice
dusky harness
#

oh

#

oh its discord message requests

worn jasper
dusky harness
#

i haven't used them before

icy shadow
#

this is the first thing that comes to mind

dusky harness
#

oops

#

i accidentally sent friend request

long solstice
#

Yes it is

dusky harness
#

aaaaaaaaaaa

icy shadow
#

this code will NPE if the player that dies isn't in the config

#

so irrespective of the problem it's still unsafe

worn jasper
#

how's he storing the player in the config? uuid?

icy shadow
#

ye

worn jasper
#

is it properly loaded?

long solstice
#

Yeah

worn jasper
#

(I mean tbh, don't even recall how the config system in spigot works with loading etc)

dusky harness
#

getString("path", "default")

worn jasper
#

^^ ye, if it returns the default value then we know it's probably the path

dusky harness
#

unless you're sure that it's in the config

icy shadow
#

can you try printing Main.getInstance().getConfig().saveToString() and send it too (ideally on the server where it's not working)

dusky harness
#

then the classic debugging

icy shadow
#

also

worn jasper
#

you could also look through all the keys in the config and print them

icy shadow
#

try on a non-scuffed server fork

#

just to test

dusky harness
#

bm already beat both of us

#

afonso

#

😔

icy shadow
#

tee hee

icy shadow
#

¯_(ツ)_/¯

dusky harness
#

not using adventure

long solstice
worn jasper
#

DI?

icy shadow
#

dependency injection but that's besides the point

dusky harness
#

oh boy

worn jasper
#

?di

neat pierBOT
icy shadow
#

stop getting distracted

worn jasper
#

^^ for future reference

worn jasper
#

but focus on the issue now

icy shadow
long solstice
#

Ok will do those

icy shadow
#

if it works on spigot/paper then it's probably the fork being shit

worn jasper
#

maybe on both maybe? and compare them

icy shadow
#

which is already a suspicion if it works fine on your end

#

they already said it works on the test server

worn jasper
#

yes but the idea is to compare the config files

#

not if it works or not

icy shadow
#

so the natural (but cursed) assumption is that it's the fork being shit

#

indeed

worn jasper
#

wouldn't doubt

#

haven't heard of Taco in quite a while

#

thought no one used it anymore lol

long solstice
#

I got it wrong, they are using GuardSpigot not Taco

icy shadow
#

which is a fork of taco

#

apparently

long solstice
#

Oh is it

dusky harness
#

theres like 2 open source forks

#

ez

#

free

#

for 1.8

icy shadow
#

1.8.8 spigot fans be like yeah this is good lemme change 1 line and make a new product and sell it for $100000

worn jasper
#

god that's like the stupidiest mistake anyone could do ngl

#
  1. 75 bucks
  2. Paid server software 💀
dusky harness
worn jasper
#

that's like 99% of the time a very bad idea

worn jasper
#

Matt is typing

dusky harness
#

woa matt

pulsar ferry
#

$75 for a fork of an os software wtf

dusky harness
#

is Taco open source?

worn jasper
#

yes

dusky harness
#

oh

worn jasper
icy shadow
#

🤓 technically all forks should provide source code to buyers as they are derivatives of the GPLv2 licensed craftbukkit

dusky harness
#

oh its deprecated

lyric gyro
icy shadow
#

aaaaaa

#

that's 3 different answers we've got now

dusky harness
#

4 you mean

#

taco, guardspigot, spigot, and paper

icy shadow
#

oh yeah 4 technically

pulsar ferry
#

Even if it was 1 cent you'd be paying too much

worn jasper
#

💀 5.0

icy shadow
#

okay so if it is paper then it's probably not the server software

lyric gyro
# icy shadow aaaaaa

They just fixed all the errors of Paper 1.8.8 which was no longer supported by the creators of Paper and optimized + this one. All Spigot/Paper plugins work with this Spigot

dusky harness
#

and not enough research & past knowledge

icy shadow
worn jasper
icy shadow
#

ur wasting ur breath

icy shadow
#

well

dusky harness
#

haven't used either

icy shadow
#

keystrokes

dusky harness
#

but those are maintained 1.8 forks

lyric gyro
icy shadow
#

oh and you're an expert on this dkim?

#

care to explain how?

pulsar ferry
#

Why are there so many forks

dusky harness
#

scroll up a bit

worn jasper
#

obviously

icy shadow
dusky harness
#

you are good

icy shadow
#

yeah

#

i am

dusky harness
#

🥲

lyric gyro
#

what is this chat

pulsar ferry
#

Yes

worn jasper
mental cypress
#

Si

dusky harness
#

just reassuring you guys that I have not hosted a 1.8 server in ages but I'm not gonna force a server owner to update everything to latest especially if it's a pvp related server

#

👍

worn jasper
#

Besides that, the 1.8.8 community is small compared to the rest, they are just "loud"

dusky harness
#

if it's like a 1.8 pvp practice server then you might not want to use 1.8

icy shadow
#

people in this channel see 1.8 once and start losing it

dusky harness
#

they so picky that they even use 1.7

#

even when the only difference basically is that you can use higher cps consistently (like 20+)

#

which sucks anyways

mental cypress
worn jasper
long solstice
#

Ok so, I did the save-to-string thing

lyric gyro
# worn jasper either use a maintained and open source software like stated above OR you just b...

Unfortunately, for a PVP server, players demand the server version of 1.8.8 for a so-called better PvP, without even having visited the server or tested the PvP, if it's not 1.8.8, nobody will come, I had no choice.
And as Paper 1.8.8 offered atrocious bugs, I was looking for a stable Spigot for 1.8.8 with most of the bugs fixed, I found this one so I took it 🙂
Originally I wanted to get StellarSpigot for 500$ but the author didn't sell it anymore.

long solstice
#

and it has printed everything in the config

#

and has worked completely fine on my end

icy shadow
#

well i think we'd established that already

long solstice
#

I am sending it to Astaldo to test on their server

worn jasper
icy shadow
#

fellas you're not gonna change anyone's mind here

worn jasper
#

(but def. don't buy a 500$ spigot fork lol)

icy shadow
#

you're just wasting your breath

worn jasper
#

Welp it's not about changing minds, it's about fixing an issue that points to the server jar

ebon whale
#

I smell drama. What did i miss.

worn jasper
#

did anyone even think about switching server jars just to see if it works?

#

problem solved 😎

dusky harness
#

yes

#

bm did

lyric gyro
# worn jasper God, paid not equals to good, it's actually quite the opposite, if you have no a...

I had no choice but to take the 1.8.8, I admit that I would have preferred a more recent version but the players are paramount, it is a 100% PVP server.
In France, some 1500 servers use 90% of the 1.8.8 for their server, which represents a very large part of the players involved in the 1.8.8 and therefore no server > 1.8.8 can resist 🙂 it is therefore a great risk to take over this version.

icy shadow
#

bro i literally said that about 3 times

lyric gyro
#

oh my god shut up

worn jasper
icy shadow
#

^

lyric gyro
#

you are not being helpful

icy shadow
#

^

#

thank u

#

crying about 1.8 is not going to help anyone here

lyric gyro
#

BM actually is

#

<@&333634764085133313>

#

er

icy shadow
#

what

#

oh

#

i get it

#

@Helpful

lyric gyro
#

yes

icy shadow
#

funny

dusky harness
#

Hahaha

icy shadow
#

anyway

ebon whale
#

Ah 1.8. Thats such an old shoe. Not worth discussing. Gn.

worn jasper
#

:-: he has a point

lyric gyro
#

This is the end

#

Hold your breath and count to ten

dusky harness
#

The End.

lyric gyro
icy shadow
#

@lyric gyro please for everyone's sanity just try running the plugin on spigot/paper 1.8.8 (not a fork), and also try with no other plugins

lyric gyro
#

Feel the earth move and then hear my heart burst again

worn jasper
#

wait your heart?

icy shadow
#

if it works with that setup then we know it's an issue with the server or another plugin conflicting

lyric gyro
#

For this is the end

#

I've drowned and dreamt this moment

icy shadow
#

oh my god shut up

lyric gyro
#

So overdue I owe them

worn jasper
#

💀

dusky harness
icy shadow
#

i have just been repeating myself for the past 20 minutes while everyone argues about 1.8 forks

#

give me strength

lyric gyro
#

Swept away, I'm stolen

worn jasper
#

oof

pulsar ferry
#

no server > 1.8.8 can resist
MCCI moment

worn jasper
dusky harness
#

adVerTiSiNg!1!1!!1

lyric gyro
#

Let the sky fall
When it crumbles
We will stand tall
Face it all
Together

Let the sky fall
When it crumbles
We will stand tall
Face it all, together
At sky fall
At sky fall

worn jasper
#

now

mental cypress
#

Weird flex, but okay.

worn jasper
#

that sounds familiar

#

but idk the song

#

lol

ebon whale
#

Petition to rename this channel to #emilySinging

dusky harness
#

YES

worn jasper
#

Ngl, we should have emily sing for christmass in an event channel

#

:3

lyric gyro
#

omg no

worn jasper
#

:sadface:

ebon whale
#

Np ill cover lp support meanwhile xD

icy shadow
#

ngl we should have emily locked in an airtight box and thrown into the bottom of the atlantic ocean :3

#

for christmas

mental cypress
#

Erm

icy shadow
#

(for charity)

lyric gyro
#

omg yes

worn jasper
icy shadow
#

he gets it

dusky harness
ebon whale
#

😂

worn jasper
#

(for those who don't know, deepest known location in the ocean, located in the western pacific ocean)

icy shadow
#

nevermind the mariana trench is in the pacific

dusky harness
worn jasper
lyric gyro
#

Hi guys

#

I see you want to make the server in 1.16 or idk

#

A recent version

#

1.8.8 ?

#

It’s a pvp/faction it need to be on 1.8.8 you can’t make a pvp server in 1.16 1.17 or idk what

lyric gyro
#

For a full PVP server, I advise but people on this discord don't agree with me 😦

#

I’m a big player of pvp server

#

Everything is better in 1.8.8 and oldest version

#

Animations

worn jasper
lyric gyro
#

I can’t imagine a pvp server in recent version

worn jasper
#

But ye, regarding popular opinions, PvP servers are better in 1.8

lyric gyro
worn jasper
#

Although I know of some Faction servers that are in latest versions

lyric gyro
worn jasper
lyric gyro
worn jasper
#

For a server owner and devs, it's a big nightmare

lyric gyro
worn jasper
#

But most players don't care about it if they have their dear old PvP mechanics xD

lyric gyro
worn jasper
dusky harness
#

that are on 1.8

lyric gyro
dusky harness
#

you can keep on what you're using but I listed those two for you to know

long solstice
#

@lyric gyro can you check dms

dusky harness
#

I don't have any experience with custom forks so I'm not going to force you

worn jasper
#

1.8 community is REALLY small, they are just "loud", but if you check statistics, they are REALLY low amount of players

lyric gyro
#

In France every pvp server who use à New version don’t work

worn jasper
#

nop

#

you are misinformed sir

dusky harness
lyric gyro
leaden plume
#

Hey guys this isn't the place to discuss this

lyric gyro
worn jasper
lyric gyro
#

And check a french pvp server who is in 1.8.8 or 1.7.9…

leaden plume
dusky harness
lyric gyro
#

Cmt on dit le plus connu @lyric gyro

worn jasper
#

I think you completely failed to see the point but okay

icy shadow
#

yeah guys please just give it a rest lol

leaden plume
#

This is a warning

leaden plume
#

Not here

worn jasper
rugged bane
#

I hear pvp and I went bing

lyric gyro
icy shadow
#

this discussion has happened a million times before and never actually reaches a useful conclusion

worn jasper
lyric gyro
icy shadow
#

nevertheless

#

not in here please

#

also what happened to testing the config on the other server lol

dusky harness
#

🪦

icy shadow
#

i originally asked 40 minutes ago

mental cypress
#

So anyways

long solstice
mental cypress
#

Gradle 7.6 RC3 dropped recently.

worn jasper
icy shadow
#

they grow up so fast

long solstice
#

Yeah we got the error again with the same plugin

icy shadow
#

um

long solstice
#

I can't send images

neat pierBOT
long solstice
#

Oh right lol

icy shadow
#

it's alright i saw it

long solstice
#

Alright

icy shadow
#

did you print out the config / change the server software / remove other plugins yet?

long solstice
#

I'm not sure what @lyric gyro did, the plugin should have printed the config though

lyric gyro
#

I had left the files

icy shadow
#

well... can you send it then lol

worn jasper
#

I am confused

lyric gyro
#

"I like A" "I like B" k good for everyone

dusky harness
#
  b932a47c-19af-3cdf-8435-68481bddd2a3: '&c%killer% &ftrashed on &c%player% &fwith
    &7[&b%weapon%&7]'
#

uhhhhhhh

#

(those are 2 lines btw)

#

(not 1 line)

worn jasper
#

Wait, since I haven't seen the code, can like, someone explain rq what the objective of it is?

icy shadow
worn jasper
dusky harness
#

or

#

probably console wrapping

#

that split it into 2 lines

#

would make sense

#

im not sure how console copy and paste works

worn jasper
#

it def. is weird, but I would assume it's just one of those two

icy shadow
#

doesn't matter that it's two lines

worn jasper
#

would getString work properly with 2 lines?

icy shadow
#

yes it's valid yaml still

worn jasper
#

hmm ok, interesting

long solstice
#

Well, I just did some more testing

worn jasper
#

I mean, nothing I can do, don't have the code :-:

long solstice
#

And I made a really stupid mistake

icy shadow
#

do tell

long solstice
#

It was grabbing the UUID of the player who died, not the player who killed

lyric gyro
#

._.

#

x)

icy shadow
#

yeah i said that lol

long solstice
#

Yeah I know you did

worn jasper
#

ye lol

long solstice
#

Sorry

icy shadow
#

i assumed that was what you wanted since you didn't correct me

#

rofl

#

all good

#

happens

long solstice
#

But thanks for all your efforts, much appreciated

lyric gyro
#

So if everything works out, @long solstice can you please tell me who helped here to keep my promise

long solstice
#

Well Brister was the one who said the mistake i made

#

I think, right?

worn jasper
#

yes

icy shadow
#

i mean yeah i guess lol

#

my bet was almost right too

lyric gyro
#

Come mp me private then and thank you so much 🙂 for the involvement, it's really great!

icy shadow
worn jasper
#

ye basically correct

#

xd

long solstice
#

I didn't even see you say that and that's literally exactly what happened 💀

icy shadow
#

tee hee

long solstice
#

Feeling very stupid

icy shadow
#

happens to the best of us

worn jasper
#

happens to the best

icy shadow
#

jinx

worn jasper
#

how th are you always faster th

#

hacks

dusky harness
#

uh

#

how did you guys both send the same thing

#

or similar

worn jasper
#

We are the same person 🥁

#

(but actually not)

#

or maybe we are just living in a simulation

#

and this was a preprogrammed answer

#

👀

dusky harness
#

AI

#

AI bot to dev den soon™️

worn jasper
#

guess we will never know

dusky harness
#

actually kinda useless

#

but something to show off

#

yk

#

to new members

#

that dev den is cool

icy shadow
#

im not adding anything boring

#

but also

#

wrong channel

dusky harness
#

oh

heavy wadi
#

What charset does Minecraft use for its chat / is there a list of available characters somewhere?

proud pebble
#

if you can find an empty resource pack online you should beable to find the list

#

or open a minecraft jar file and go to assets\minecraft\textures\font\

leaden sinew
#

Does anyone know how to override an NMS block with a custom block?
Like for example if I want to override the beacons tick method

proud pebble
#

i dont think your supposed to override blocks or if you can override them

leaden sinew
#

I know you're not supposed to, but I would really like to lol

proud pebble
#

i dont know if you can

#

i dont think you can override them even if you wanted to

heavy wadi
leaden sinew
robust flower
#

Idk if anybody here already has worked with RabbitMQ, but I would like to ask if the only difference between Direct Exchange and Topic Exchange is the fact that the former does not accept wildcards in the routing key field (when publishing a message), while the latter does

dense drift
robust flower
#

So basically this table then hmm

clever echo
#

I'm trying to create a placeholder that return a Component from adventure, but I can't seem to find a method that allows it?

#

Any help greatly appreciated 🙂

broken elbow
clever echo
#

Ah okay, thanks anyway!

worn jasper
#

what are the cases where getOfflinePlayer returns null?

#

If I recall correctly, even if the uuid is wrong, it returns an object

#

so when does it return actually null

tight junco
#

well its marked as NotNull

#

so no

worn jasper
#

confusion

tight junco
#

that's getPlayer

#

that's not getOfflinePlayer

worn jasper
#

BRUH ye just noticed, I forgot to restart the server

#

lmaooo

#

my bad

tight junco
#

lmao

worn jasper
#

thx anyways

worn jasper
#

I assume an issue with shading but like, I think I am shading it correctly, at least according to SimplixStorage's wiki

leaden sinew
#

Why do your errors always have the weirdest things

dusky harness
#

Besides that you'd probably just have to rebuild the jar

worn jasper
worn jasper
dusky harness
#

I'm not sure