#development

1 messages · Page 111 of 1

broken elbow
#

fred. in the time you spent crying here you could've been making the next big thing that made you loads of money kek

hard wigeon
#

I don't earn any money from anything really lmao

dusty frost
#

Then make them free and open source

#

Problem solved

#

no DRM

#

no hassle

hard wigeon
#

they are free

#

already

pure crater
#

well, the extra premium features tho :/

hard wigeon
#

fair enough ig

wintry grove
#

make them pay to download then

#

problem solved

dusty frost
#

yeah you're not having it both ways

hard wigeon
#

but again that ruins people being able to use the base part free ;-;

wintry grove
#

aaaaaaaaaargh

hard wigeon
pure crater
#

you actually get a ton of people wanting to buy your plugin before its even released even tho they are fully capable of compiling

wintry grove
#

then make a addon system and make the premium stuff in a separate jar thats p2d

pure crater
#
  • open source aspect
wintry grove
#

yes

dusty frost
#

People who want to support you will, and people who don't will not

mental cypress
#

If you want to take the really toxic approach, you can manually provide the jar to each Patreon member. Sign the jar and utilize the jar hash that will change as you put a different license key in each jar.

dusty frost
#

No matter what DRM you put in, people will do anything

hard wigeon
#

well the reason OS is useless to me is because all my plugins I make once, are then used in a video, and then are available for download. I don't maintain it

dusty frost
#

I don't see that as a reason open source is useless

dusty frost
#

If anything, someone who cares about the plugin can submit a PR

lyric gyro
#

Or just go sell it for a high price to people who have money

pure crater
lyric gyro
#

Sounds like the smartest option

hard wigeon
#

but I don't have the time to watch a ton of repositories

dusty frost
#

you don't have to

#

that's the best part of open source

pure crater
#

the community will watch it for you

hard wigeon
#

fair

dusty frost
#

and also, reviewing a PR for one of your plugins will take like, 30 seconds

wintry grove
dusty frost
#

I think you vastly overestimate the work involved with an open source project lmao

hard wigeon
#

Idk, if there was an easy way to make a monorepo for my plugins I might do that

dusty frost
#

dear god why

hard wigeon
#

because I don't need 100 repos

wintry grove
#

jesus crist

pure crater
#

you'd be surprised, but actually a lot of people out there are quite interested in the things you do

dusty frost
#

can't handle typing git init 50 times?

wintry grove
#

lmao

mental cypress
#

You could have a parent module and have each of your plugins be a submodule

pure crater
#

fred, i had to do git push over 1000 times for one of my projects

#

Lol

hard wigeon
#

that's the thing

dusty frost
#

Fred what does "monitoring" involve

hard wigeon
#

opening them once a year

dusty frost
#

Getting an email once a year about a PR?

wintry grove
#

well, you have this options:

  • all premium
  • addon system and premium stuff on a paid one
  • open source
  • cry about it
hard wigeon
#

wait I can get emails from github?

dusty frost
#

uhhhh

hard wigeon
#

man I need to enable those

dusty frost
#

you sure can buddy

pure crater
#

..

#

Lol

dusty frost
#

that's all I ever do

hard wigeon
#

did not know that was a thing

dusty frost
#

i don't like check up on my repos lmao

pure crater
#

We always turn those things on cause we are depressed and pray a random guy in the world

#

will come in

#

Lol

wintry grove
pure crater
#

And it actually... quite surprisingly works

dusty frost
#

luckily for me, I am not the owner of FJ, so I don't get all of the emails about Blitz lmao

wintry grove
#

whats FJ? lmao

mental cypress
#

Yeah I put each one to bed every night and make sure they get their food and water.

pure crater
#

FrozenJoin?

dusty frost
#

ya

pure crater
#

when i think of FJ i always think of farmer john cause these problems used to abbreviate his name with that

broken elbow
pure crater
wintry grove
#

sure lmao

pure crater
#

i mean i visit github quite often daily anyways

#

so i can just check the bell

dusty frost
pure crater
#

but yea they do email you

broken elbow
dusty frost
#

i didn't explicitly turn them on

hard wigeon
dusty frost
pure crater
#

also about gh

#

why did they remove the ability

wintry grove
#

AHHAHAHA

pure crater
#

to see who forked

#

you know

wintry grove
#

funny

pure crater
#

like i have to manually type the url now

mental cypress
#

I use the GitHub refined browser extension and I think mine still shows

wintry grove
#

for wtf is frozen join

mental cypress
#

I also have some thing to show me the best forks of a project

broken elbow
hard wigeon
#

I've done that

#

it works fine

mental cypress
#

^

hard wigeon
#

we now have a bentobox spigot account

dusty frost
#

alright blitz whats your spigot

hard wigeon
#

with all the various resources

broken elbow
#

ok. interesting

hard wigeon
wintry grove
#

also glare change my nick to "Happy Staryear"

broken elbow
#

Star. for real? xD. I'm not going to take a lot of care of it but I can do this update

hard wigeon
#

make a shared spigot account

#

for frozenjoin

mental cypress
#

Boost and change it yourself

hard wigeon
#

that you can both access

wintry grove
#

FUCK

dusty frost
#

you're better than me

wintry grove
#

the boost is on cooldown sob

broken elbow
dusty frost
#

nah you can have it

wintry grove
#

lmao

hard wigeon
#

FYI you need to email MD_5 for a shared account first

broken elbow
hard wigeon
#

theres a rule against it without prior permission

dusty frost
mental cypress
#

Boutta start a new group called InactiveResources

broken elbow
#

well. he doesn't need to know its a shared account

hard wigeon
#

md_5 replied to me in under 15 minutes

broken elbow
#

kek

dusty frost
#

alright how do I move resources

hard wigeon
#

report it, and select transfer

broken elbow
mental cypress
#

Yeah if you send him pictures of your feet when you ask him about it, he typically responds pretty quick.

dusty frost
#

why is spigot so shit

hard wigeon
#

yes, yes

wintry grove
#

lmfao

hard wigeon
#

but it worked for me 5+ times

mental cypress
#

Report the resource is request it to be transfered to another account.

#

That's how I get reviews removed.

hard wigeon
#

lmfao

#

also, the authors responses to reviews change names when you change who owns it

#

it's pretty funny actually

wintry grove
#

glare please

dusty frost
#

alright @broken elbow what's your spigot account name

broken elbow
#

BlitzGamer88

wintry grove
#

lmao

broken elbow
#

bcz I cant change my name unless I pay them 🥲

wintry grove
#

sad

mental cypress
#

Also if you transfer a premium resource, you don't get added to the buyers list

#

😂

pure crater
#

they are still using crappy xenforo

dusty frost
#

this is why Hangar is a thing right

mental cypress
#

Found that out when clip told me 6 months after I got VoteParty that he had to buy it to download it

dusty frost
#

hahaha

hard wigeon
#

clip bought it?

broken elbow
dusty frost
#

well yeah when it is tho

pure crater
#

will hangar support premium tho

broken elbow
mental cypress
#

Nah I think I felt nice and added him to the buyers list

#

That was his Christmas present

hard wigeon
#

lmao

dusty frost
#

haha

wintry grove
#

ahha

broken elbow
#

ok and?

#

no

#

I Don't want to

pure crater
#

ok and?

#

no

broken elbow
#

what u gonna do about it?

hard wigeon
#

no

pure crater
#

n o

broken elbow
#

kek

wintry grove
broken elbow
#

no u

broken elbow
#

only there do I have people deleting their message and then resending it just to make sure they ping me

wintry grove
#

didnt reply at first

broken elbow
#

you know you can just not reply right? xD

#

or reply without a ping

wintry grove
#

yeah

#

bye

pure crater
#

weirdo

wintry grove
iron pulsar
warm steppe
#

show your plugin.yml

iron pulsar
warm steppe
#

strange...

iron pulsar
#

hm yeah even with their snapshot versions it still pops that

lyric gyro
#

are you using maven/gradle to build your plugin or what?

iron pulsar
#

Yeah... I was missing the scope =/

#

xD

#

so yeah, got that solved now

lyric gyro
#

coolio

summer ingot
#

what do i use to compile plugins?

#

i forget the name of the app

pure crater
#

gradle?

summer ingot
tacit belfry
#

So i somehow managed to make a Frankenstein maven+gradle project

#

I can build in both gradle and maven

#

should I be worried or is this normal

pure crater
#

that is not at all good

tacit belfry
#

oh boy

pure crater
#

your ide gets hella confused

#

does both at once

tacit belfry
#

Yeah I tried to convert my project from maven -> gradle so I could do hotswapping

pure crater
#

then you also get confused

tacit belfry
#

but well

pure crater
#

you need to delete the old maven files

#

too

#

gradle init can convert some

tacit belfry
#

Should i stay with maven or use gradle

pure crater
#

use gradle

tacit belfry
#

alright

pure crater
#

the gradle conversion thing doesnt delete maven build files

#

you need to delete them by yourself

tacit belfry
#

ahh that makes sense

#

any others other than pom that I should get rid of?

pure crater
#

just anything you see with maven

#

lol

tacit belfry
#

Alr

#

also do you know how I could get hotswapping working with JDK 1.17

pure crater
#

let me try to find the guide

#

?hotswap

neat pierBOT
tacit belfry
#

ooooooooooooh

#

wait it only supports java 8/11

tacit belfry
#

Does anyone know how to get this tab to pop back up? It doesn't seem to be in my intellij project

neat pierBOT
sharp cove
#

What am i doing wrong?

#

This is my messages.yml

#

Please @ me

formal locust
#

@sharp cove do u want to make 2 config files?

#

like config.yml and messages.yml

night ice
#

@sharp cove

    public void loadFile() {
        messagesFile = new File(OorlogSimulatie.instance.getDataFolder(), "messages.yml");
        if (!messagesFile.exists())
            OorlogSimulatie.instance.saveResource("messages.yml", true);
        loadMessages();
        messagesConfig = YamlConfiguration.loadConfiguration(messagesFile);
    }

Try this

cerulean birch
#

am i not able to get the name of an Inventory in 1.16?

lyric gyro
#

Inventories don't have names

#

Compare the Inventory instances themselves with .equals

winged pebble
cerulean birch
#

I guess i'll have to rework my menu api to store the string elsehow .-.

winged pebble
#

Yeah, but that's because the Container needs a title

#

But InventoryView is the only interface that actually accesses it

cerulean birch
#

.-.

#

is it like

#

reasonable practice to extend InventoryView to use for my menu api?

#

or is that something that a plugin shouldn't do

formal locust
dusty frost
#

what's on line 28 of GUICommand.java

formal locust
dusty frost
#

config is null

formal locust
#

wat

#

i made config

dusty frost
#

or Text is, not sure if that's static or not

#

but one of those two is null

atomic echo
#

or getString

formal locust
#

oh im sooo stupid

#

thats a int and im adding chatcolor

dusty frost
sterile hinge
#

I hope so

#

d; Integer#parseInt

uneven lanternBOT
#
public static int parseInt(String s)
throws NumberFormatException```
Description:

Parses the string argument as a signed decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' ('\u002D') to indicate a negative value or an ASCII plus sign '+' ('\u002B') to indicate a positive value. The resulting integer value is returned, exactly as if the argument and the radix 10 were given as arguments to the parseInt(java.lang.String, int) method.

Parameters:

s - a String containing the int representation to be parsed

Throws:

NumberFormatException - if the string does not contain a parsable integer.

Returns:

the integer value represented by the argument in decimal.

dusty frost
#

oh my god it does

sterile hinge
#

What should it do otherwise

#

But the stacktrace would look different then anyways

atomic echo
#

it shows that

dusty frost
#

yeah see NumberFormatException

#

that's what I expected

sterile hinge
#

lol the charsequence method differs in behavior there

#

Nice

dusty frost
#

yeah weird

formal locust
#

i removed slots from config and code

#

its 27 now

#

now this error came out

atomic echo
#

So what is line 28 now

#

@formal locust

formal locust
atomic echo
#

What is Text.chat

formal locust
#

it will translate &

#

to colorcode

atomic echo
#

config might be null

sterile hinge
#

config is most likely null

atomic echo
#

Send your GUICommand class

sterile hinge
#

Would be a lot easier with code

formal locust
#

messages.yml

#

and config.yml

night ice
#

Just print out somevalues from config

#

like getLogger#info(config.getString())

formal locust
#

to see if it works"?"

#

like a test??

night ice
#

wait

#

is your config a static class?

formal locust
#

yes its a static import

#

because i have a filemanager class

sterile hinge
#

Use a proper config instance instead and pass it to the constructor

night ice
#

are you sure your config is intialized or so?

formal locust
night ice
#

like getLogger#info(config.getString())

atomic echo
#

Well, it's not

night ice
#

try this

sterile hinge
#

It likely isn’t

night ice
#

then we can know for sure

formal locust
night ice
#

and where is the base called?

formal locust
#

main class

#

HGPlugin.java

sterile hinge
#

Code…

night ice
#

show that too please

formal locust
#

ok

night ice
#
        new GUICommand(this);
        FileManager.base(this);
#

interchange those lines

sterile hinge
#

Order is important

night ice
#

like the order

formal locust
#

like

night ice
#
        FileManager.base(this);
        new GUICommand(this);
formal locust
#

oh

#

oh so the file manager shall load first

night ice
#

yeah...

formal locust
#

thank you very much guys

atomic echo
night ice
#

also you could go for non-static methods

formal locust
#

can i do saveDefaultConfig(); there?

night ice
formal locust
#

if i want to save my defalit config and messsages

night ice
#

on Main

formal locust
#

@night ice ahh i need help ;--;

night ice
#

Line 29

#

Not configFile

#

It should be messageFile

formal locust
lyric gyro
#

anyone know why this is not saving ?

sterile hinge
#

how do you know it's not saving?

#

And why do you do location serialization on your own?

lyric gyro
#

i just want stuff in specific order kinda picky yk

#

but it doesn't write to the file it's blank still

night ice
#

what was your method call, like parameter...may be it didn't satisfy any of the if

vapid frigate
#

When will deluxetags go back to spigot?

#

officialy*

#

because some plugin developers only will add compatibility when it reaches spigot officially

sharp cove
sharp cove
warm steppe
#

Player#getPlayerExact() returns player only if player is currently online or has joined before?

dense drift
#

d;spigot Bukkit#getPlayerExact

uneven lanternBOT
#
@Nullable
public static Player getPlayerExact(@NotNull String name)```
Description:

Gets the player with the exact given name, case insensitive.

Parameters:

name - Exact name of the player to retrieve

Returns:

a player object if one was found, null otherwise

dense drift
#

since it returns a Player object, they need to be online

night ice
#

it would be nice if it return Optional<T> right?
but i don't think it would be ever done

pulsar ferry
#

Spigot loves their nullability, even some NotNull methods are nullable!

dense drift
#

If I have a base class Condition<T>(t: T), is possible to have a class that extends it but without a parameter?

#
    private abstract class Condition<T>(protected val t: T) {

        abstract fun check(player: Player, other: Player): Boolean

    }

    private class WorldCondition(t: Nothing) : Condition<Nothing>(t) {

        override fun check(player: Player, other: Player): Boolean = other.world.uid == player.world.uid

    }```
This requires a `Nothing` object, so it won't work =/
#

I could make it extend Condition<Byte>(0) 🤣

lyric gyro
dense drift
#

well, yeah, but what about the parameter?

lyric gyro
#

Isn't there supposed to be a Unit instance or smth?

#

Kotlin bad

dusky harness
#

iirc Unit is an object

lyric gyro
#

That's Any

pulsar ferry
lyric gyro
#

Non null, Matt

pulsar ferry
#

I know that's why i said it should be nullable

lyric gyro
#

STRICT INTERFACE contact

#

Contract

#

Actually

dense drift
lyric gyro
#

: Condition<Nothing?>(null)

#

Lol

dense drift
#

Condition<T>(t: T?)

dusky harness
lyric gyro
#

kotlin.Any is java.lang.Object

#

Or, well, equivalent

dusky harness
#

ik

dense drift
#

I actually might have a better way to do this

pulsar ferry
dusky harness
#

oh

lyric gyro
#

O

#

What do companion and object mean separately?

dusky harness
#

separately?

#

companion is used in a class if you want only some "static" functions/properties
object makes the class a singleton

pulsar ferry
#

object means it's a singleton, companion means it's for a singleton that accompanies the class

lyric gyro
#

Okaaaaay

#

That's so fucking dumb just introduce static lol

pulsar ferry
#

Nah, this is better

lyric gyro
#

I can see the object meaning

dense drift
#

I was like, who the fuck is Rider and why are they constantly typing

pulsar ferry
dusky harness
#

wait matt

#

do uuse c#

pulsar ferry
#

dc#

dusky harness
#

d#

pulsar ferry
#

I've used it before why?

dusky harness
#

Rider is c# ide

#

isn't it?

pulsar ferry
#

Yeah

dusky harness
#

but

pulsar ferry
dusky harness
#

oh

#

lol

dense drift
#

Lol

lyric gyro
icy shadow
#

ok yes

pure crater
#

So I'm facing a pretty bad issue. I was using JDA and I didn't realize that it used JNA for loading its native libraries. However, my library is also using JNA, and it loads two different versions of the same API into the classpath. The worst part is, that you can't relocate JNA. (If you do, then the native binaries won't be relocated with the new relocated names, and JNI won't be able to find the methods. I tried before and it showed this error). So basically there are two different versions of JNA that are not relocated. I haven't encountered any issues right now, but it could be severe later. Anyone know any tips?

sterile hinge
#

it might work when loading them with different class loaders, but I can't guarantee anything

dusky harness
#

idk what JNA is but why not just use the version JDA is using?

pure crater
#

JDA is using an old ass version

dusky harness
#
private fun getMetadata(name: String): WrappedDataWatcher = WrappedDataWatcher().apply {
    setObject(
        WrappedDataWatcher.WrappedDataWatcherObject(0, byteSerializer), (0x20).toByte()
    ) // Entity data - invisible
    setObject(
        WrappedDataWatcher.WrappedDataWatcherObject(2,
            WrappedDataWatcher.Registry.getChatComponentSerializer(true)), Optional.of(
            AdventureComponentConverter.fromComponent(name.toComponent()).handle
        )
    ) // name tag
    setObject(
        WrappedDataWatcher.WrappedDataWatcherObject(3, booleanSerializer), true
    ) // custom name visible
    setObject(
        WrappedDataWatcher.WrappedDataWatcherObject(5, booleanSerializer), true
    ) // no gravity
    setObject(
        WrappedDataWatcher.WrappedDataWatcherObject(15, byteSerializer), (0x01 or 0x02 or 0x08 or 0x10).toByte()
    ) // Armorstand data
}
``````kt
val packet = PacketContainer(PacketType.Play.Server.ENTITY_METADATA)
packet.integers.write(0, id)
packet.watchableCollectionModifier.write(0, getMetadata(name).toList())
for (player in players) {
    ProtocolLibrary.getProtocolManager().sendServerPacket(player, packet, true)
}
```anyone know why this results in this: https://i.imgur.com/Hc9TJ1i.png
#

:/

broken elbow
#

yes

#

but not gonna tell you why

pulsar ferry
broken elbow
#

JDA 😦

#

reminds me that I have bot to finish

#

kek

lyric gyro
#

Fuck jda

mental cypress
#

Javacord?

night ice
#

Java Discord API

mental cypress
#

I'm well aware of what it is, I'm trying to see what Emily likes.

broken elbow
#

discord.js probably

#

kek

night ice
#

oo..lol..mb then

lyric gyro
icy shadow
#

discord.js relieved

mental cypress
#

Well don't keep us in suspense, what do you like?

lyric gyro
icy shadow
#

d4j?

broken elbow
#

is javacord actually any better than jda?

mental cypress
#

CF?

lyric gyro
#

CompletableFutures

mental cypress
#

Oh duh

broken elbow
#

damn glare. should've been obvious

mental cypress
#

Bro I was thinking Cloudflare

broken elbow
#

:)))

lyric gyro
#

I don't see why JDA needs to reinvent the wheel by adding RestAction

#

Like

mental cypress
#

Javacord seems decent. I used it back when it was first created, seems to have come a long way. Beemo is written in Javacord.

#

I just don't really have a need to make a discord bot at this given time unfortunately.

lyric gyro
#

Me neither but if I did I'd very much likely use javacord, lol
In reality I haven't used it that much to have a "valid" opinion on it but uh I do prefer it over JDA and some of its… questionable design choices

mental cypress
#

Is it getting worse in the 5.x beta?

proud pebble
#

TabComplete is suggesting tab completes of a string on the last argument instead of the next one

#

/cenchant enchant suggests telekinesis for enchant instead of the next arg

#

i figured it out

#

just upped the (arg.length) check 1 for each

quiet laurel
#

guys hello

proud pebble
#

so args.length == 0 is not args.length == 1

#

weirdchamp tbh

quiet laurel
#

can u help me with some thing?

proud pebble
#

dont ask to ask

#

just say your issue

quiet laurel
#

I need 50 people to join one server

#

its really important for me

proud pebble
#

why 50?

quiet laurel
#

i can send u a link in DM

quiet laurel
proud pebble
#

ohh a discord server...

#

thats not allowed here

#

or anywhere really

quiet laurel
#

ok sure

graceful hedge
mental cypress
#

Such as?

graceful hedge
#

Believe ThreadChannel, StageChannel and all of these new things discord adds are getting their own interfaces as opposed to just being an Enum constant of some type

broken elbow
#

such as nothing and everything you'll never use

#

yeah. they have a channel with all (or some of) the changes that come with 5.0.0.

mental cypress
#

Ahh

graceful hedge
#

Oh yeah and they also decided to yeet a lot of deprecated stuff in v4

#

That’s something at least Cake

broken elbow
#

but mostly design changes. since they already had those stuff just bundled all into one I guess.

graceful hedge
#

Yeah but rather insignificant design changes

#

Although Ig better than all those Nullable returning methods

proud pebble
#

For tabcompletion if i type in a char it still suggests options that dont have the same char at the start, how should i go about removing them?

dense drift
graceful hedge
#

/permipbanlist add @broken elbow

broken elbow
graceful hedge
dense drift
graceful hedge
#

Or use commodore + brig (:

pure crater
#

^ poggers

#

its from apache?

#

i thought

#

StringUtils

graceful hedge
#

Spigot actually has their own utilities 🌞

dense drift
#

d;spigot StringUtil#copyPartialMatches

uneven lanternBOT
#
@NotNull
public static T copyPartialMatches(@NotNull String token, @NotNull Iterable originals, @NotNull T collection)
throws UnsupportedOperationException, IllegalArgumentException, IllegalArgumentException```
Description:

Copies all elements from the iterable collection of originals to the collection provided.

Parameters:

token - String to search for
originals - An iterable collection of strings to filter.
collection - The collection to add matches to

Throws:

UnsupportedOperationException - if the collection is immutable and originals contains a string which starts with the specified search string.
IllegalArgumentException - if any parameter is is null
IllegalArgumentException - if originals contains a null element. Note: the collection may be modified before this is thrown

Returns:

the collection provided that would have the elements copied into

graceful hedge
#

throws IllegalArgumenrException 2 times

#

damn

broken elbow
#

KEK

pure crater
#

lol

dense drift
#

(args[n], possibleResults, new ArrayList<>())

graceful hedge
#

Like does Java even accept that?

pure crater
#

intellij would probably yell at you

graceful hedge
proud pebble
#

thanks

sharp cove
dense drift
#

You use Npp

#

I hope you realize that you are saving the resource after you load the Yaml Configuration

broken elbow
#

kek

sharp cove
#

lol

#

i am a dumb madafaka

barren heath
lyric gyro
proud pebble
#

javascript is disabled on your browser

queen plank
#

How do I add a ConfigurationSection to a FileConfiguration/.yml file? I've copied a ConfigurationSection and have it as a variable, I want to save it to my file. I'd rather not re-write the entire function to make it save the values instead of building a configSection.

lyric gyro
#

fileConfig.set("section", section)?

#

or like, merge them together?

#

or what do you mean by "add" exactly?

queen plank
#

Ok, so I have a configuration section that I want to copy. I create a copy based on the original and have that as a variable. I now want to add that configuration section to my config file. So that my file goes from containing ConfigExample to containing ConfigExample & ConfigExampleCopy. Does that make sense? I tried config.set("", configCopyVariable);.

lyric gyro
#

something like this should work src.getValues(false).forEach(dest::set), src being the ConfigSection you copy from, dest the ConfigSection you copy to

queen plank
cosmic violet
#

Is there any way to get noteblocks to not show their current note while left clicking? canceling the PlayerInteractEvent causes the block to become unbreakable

dense drift
#

So I have this method https://paste.helpch.at/huqagecisa.java (properties is a Map<String, String>) which I'm calling from kotlin like this

private val progress: Float = meta.getProperty("progress", BossBar.MAX_PROGRESS) { it.toFloatOrNull() }```
And... I get this error when I compile the project `Type mismatch: inferred type is Float? but Float was expected`. Any idea how to fix this? 😅
mental cypress
#

Well it's because you're specifying it not null but you're returning possibly null.

#

Can you change the type to Float??

broken elbow
#

lmao gaby

#

u trash

dense drift
#

well, no, the point of the method is to get a value from the map, apply the function and always return a not null value

mental cypress
#

But you're doing orNull()

broken elbow
#

well. tofloatornull.

#

kek

dense drift
#

yes

broken elbow
#

if you want it to throw an exception just do toFloat

dense drift
#

I was just hopping it will go well with Function<String, @Nullable R> 😦

icy shadow
#

wat

#

null is null

#

You can't make nullable into not null

dense drift
#

Ok

#

Time for another plan

lyric gyro
#

Santa Mitten, more like, Smartass Mitten

icy shadow
#

Emily more like stfu

lyric gyro
#

just throw a NullPointerException

#

ez

broken elbow
#

Blitz more like CoolGuy88.

#

kek

lyric gyro
#

alternatively annotate the method return type as @NotNull as well

icy shadow
#

just throw a stfurxcrptoine

mental cypress
#

Just add !! Everywhere.

lyric gyro
#

YEAH OR THAT

dense drift
#

true

icy shadow
#

it.toFloatOrNull() as Float

lyric gyro
#

no

#

not a problem

#

no

icy shadow
#

ok cool

#

Just making sure

lyric gyro
#

java.base/sun.nio.fs.NativeBuffers

dense drift
#

okay, I got it to compile the code, let's see

icy shadow
lyric gyro
#

you did

broken elbow
#

you did actually

icy shadow
#

oh

lyric gyro
#

right here

#

look

icy shadow
#

damn...

mental cypress
#

Fuck I just lost the game

broken elbow
#

cool

#

what u playing

#

ugh. @mental cypress

#

your gifs are out of sync

#

kek

mental cypress
#

Sounds like a you problem. Look fine on my screen.

#

Probably Linux

broken elbow
#

🥲

#

it was synced for a bit but then it just broke

#

I looked at it too much

shell moon
#

I use windows, broken too

dusky harness
#

nvm now its broken

#

🥲

mental cypress
#

Fake news

mental cypress
#

Photoshopped

shell moon
#

noo! it's ezgif

dusky harness
#

:smiling_face_with_3_tears:

#

sharex ftw

shell moon
#

aftereffects

dusky harness
#

aftereffects?

broken elbow
pulsar ferry
#

It's synced the first few for me, then it gets out of sync

broken elbow
#

yeah

#

it did the same to me

atomic trail
#

How can I transfer everything from one remote to another?

#

My secondary remote is outdated and when trying to push to it, there are no commits to push since everything is done on "origin" I assume. Secondary is called "private" btw.

elder ferry
#

I have a design structure related question:
So I am currently working on a Npc system, and I have a NpcRegistry (Hashmap with a uuid key and a Npc class value), where Npcs are being added to when you create them, so I can properly make changes to them at runtime.

Now it comes to the entity part.
I want every npc (which is a fake player, send to joining players through packets) to have a second line of a name, displayed by an empty armorstand. To keep track of both the npc as well as the hologram/armorstand entity, I have to store them somewhere.

Would you have a Hashmap, where all the corresponding entities to the Npc are being stored under its uuid, or..? Ideas and tipps are very much appreciated 🙂

azure tapir
#

So I have two plugins in one
Ones a bungee and ones a spigot
How could I access the plugins BUNGEE config.yml through the spigot side of the plugin?
Any help would be appreciated, thanks.

brittle thunder
#

Send a plugin message from the spigot plugin to the bungee plugin on what to do, perform the actions in the bungee plugin

dusky harness
#

note that plugin messages require a player on the spigot server ☹️

#

im pretty sure

lyric gyro
#

yes

#

it uses the player connection to transfer data

#

it's literally just another packet

round sail
elder ferry
round sail
#

Yes.

#

If its tied to that NPC, you would really only need its scope on that NPC.

elder ferry
#

So when I change the sub name of the NPC, I am changing the sub name attribute of the Npc class, only to then access its armor stand attribute to change the entities name to the just changed title attribute?

round sail
#

Well if you do it properly you just have the methods on the NPC class to change its name that accesses its child variable armor stand.

elder ferry
#

You mean for instance the setSubName() method?

round sail
#

Sure. Just NPC.setSubName(new name for armorstand)

#

It's not really "weird"

elder ferry
#

Sure, why not. Thanks

round sail
#

There's probably a ton of "right" answers, but that's how I'd do it.

#

Lol

elder ferry
#

I still have to save the title though, but yea

#

Lol

#

And you are an experienced Java developer?

round sail
#

debatable lol

#

i am a java developer pepe_kek

#

what constitutes experienced seems to change depending on who you're talking to.

elder ferry
#

Oh golly gosh

#

Thanks for preventing me from sleeping

round sail
#

i don’t follow

#

why?

elder ferry
#

I’m just kidding around

#

Though, I really gotta get some sleep now

#

Let’s hope your design choice won’t make a hell fire out of my system

#

This is fine.

round sail
#

I hope so too lol.

fleet swan
#

i have a problem, i'm creating a Minecraft Plugin with PlaceholderAPI support, but when i have started coding the class and compiled Intellij game me this error:

package me.clip.placeholderapi.expansion does not exist

#

Java Version: JDK 8
Spigot Version: 1.8.8
Maven Dependency 2.10.10

gentle mauve
#

I need them to check if PlayerCommandPreprocessEvent is cancelled before running the command's action so that we can set command cooldowns on those commands
Because none of the command cooldown plugins dont work if this is not concelled

red notch
#

I need some help cause im a bit lost,
I am trying to write a plugin to manage joining queues through ajQueue by detecting which ip the user connected from via bungeecord and determining what server to joinqueue the player in.
Moral of the story is, How the hell do I send a message to spigot to tell it to send a command? Or even send a message to a plugin and have the plugin do the work

fleet swan
red notch
#

?

red notch
#

I have been reading this for hours, It straight up doesn't work, I tried to change it a lot, literally doesn't do anythinh

winged pebble
#

Isn't there something about the spigot server needs a player on it for that to work or something

red notch
#

Yeah

#

I am sure im running that code with players online

night ice
red notch
#

@ BungeeCord

    //main class
    @Override
    public void onEnable() {
        ...
        getProxy().registerChannel( "BungeeCord" );
    }

    @Override
    public void onDisable() {
        getProxy().unregisterChannel( "BungeeCord" );
    }
public class PluginMessageUtils {
    public static void sendCustomData(ProxiedPlayer player, String channel, @Nullable String stringInformation) {
        Collection<ProxiedPlayer> networkPlayers = ProxyServer.getInstance().getPlayers();
        // perform a check to see if globally are no players
        if ( networkPlayers == null || networkPlayers.isEmpty() )
        {
            return;
        }
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeUTF( channel ); // the channel could be whatever you want
        if (stringInformation != null) out.writeUTF(stringInformation);

        // we send the data to the server
        // using ServerInfo the packet is being queued if there are no players in the server
        // using only the server to send data the packet will be lost if no players are in it
        player.getServer().getInfo().sendData(channel, out.toByteArray());
    }
}
// command
@Override
    public void execute(CommandSender sender, String[] args) {
        PluginMessageUtils.sendCustomData(((ProxiedPlayer) sender),"BungeeCord",
                "sdeadf");
    }

@ Spigot

public class PluginMessageListener implements org.bukkit.plugin.messaging.PluginMessageListener {
    @Override
    public void onPluginMessageReceived(@NotNull String s, @NotNull Player player, @NotNull byte[] bytes) {
        player.sendMessage("A");
    }
}
@Override
  public void onEnable() {
    this.getServer().getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
    this.getServer().getMessenger().registerIncomingPluginChannel(this, "BungeeCord", new PluginMessageListener());
  }

  @Override
  public void onDisable() {
    this.getServer().getMessenger().unregisterOutgoingPluginChannel(this, "BungeeCord");
    this.getServer().getMessenger().unregisterIncomingPluginChannel(this, "BungeeCord", new PluginMessageListener());
  }
gentle mauve
fiery pollen
night ice
#

@red notch

Firstly, we need to register our custom channel into onEnable() in our main class. We do this with ProxyServer#registerChannel(String). The channel should be lowercase and should contain ":".

red notch
#

It does not make a difference if it's lower case or has a : from failed attempts, but i can try

night ice
#

well, those are something that they emphasize and i don't see anything else that could mess with the system

#

so..trying it would be good

gentle mauve
#

I need help,please someone from dev team help

void orchid
sterile hinge
#

you should probably rewrite your question, as I don't really understand what you mean and what you're trying to do

gentle mauve
#

Developer from custom cooldown plugin asked me to ask this, bc command cooldowns dont work on those commands i created on deluxe commands

gentle mauve
#

I qoute: DeluxeCommands? You should tell the dev of that plugin that they should be checking if PlayerCommandPreprocessEvent is cancelled before running the command's action.
If they do that, your setup should be fixed
The plugin should be checking if the event is already cancelled before continuing

#

@void orchid

proud pebble
#

is there a method to return a list of every minecraft enchantment?

#

i found the method i was looking for

#

Enchantment.values()

void orchid
sage thorn
#

how can i reload hikaricp connection pool? I am making a /reload command and i want it to reload all essential functions so i need to reload hikari too 😄

proud pebble
#

i would assume you close the connection then open a new version of the connection.

formal locust
#

it is making the gui but not adding items

slim vortex
#

have you updated the inventory

proud pebble
#

im going to guess that inv never gets changed

slim vortex
#

then the question doesn’t make much sense

#

How is it possible that the items aren’t returned from the method if they are a child of the inventory object

formal locust
#

shall i send you code?

#

im new to bukkit

#

@slim vortex

#

plz help

void orchid
# gentle mauve Where do i check that?

PlayerCommandPreprocessEvent#isCancelled
Replace PlayerCommandPreprocessEvent with what you're referring to the event as. (I'd assume it's either event or e)

gentle mauve
#

Where do i see that?

#

Like i have config only

#

for commands

shadow falcon
#

Heyy, Is it possible to create a plugin that allows a player to turn off everyone elses nametag visible to them, but keep em visible for other players?

high edge
#

yes

shadow falcon
# high edge yes

Could you provide me in the right direction to what I should be looking for?

zealous yoke
#

@void orchid that's not what he was asking

#

I have a plugin called CommandCooldown and @gentle mauve has put a cooldown on a custom command made with DeluxeCommands.
When a player has a cooldown on a command it (CommandCooldown) cancels the PlayerCommandPreprocessEvent. The problem is, DeluxeCommands does not check to see if this event is cancelled before executing the custom command, preventing compatibility with my plugin.

gentle mauve
#

Period

zealous yoke
#

Since DeluxeCommands is not open-sourced, I am unable to contribute towards the plugin; otherwise, I would simply just make a git request

severe heath
#

Hey guys I'm new to Java but I am using it for developing a custom MC Plugin for my minecraft server. I've got the list of established Bukkit Events (e.g JoinEvent, ect.) and I'm trying to find the event for player right-click. In this context I'm trying to create a custom Event of players right clicking specific items in their hotbar. What is the Bukkit event name for a player right-clicking?

uneven lanternBOT
#
public class PlayerInteractEvent
extends PlayerEvent
implements Cancellable```
PlayerInteractEvent has 4 fields, 1 all implementations, 18 methods, 1 implementations, and  1 extensions.
Description:

Represents an event that is called when a player interacts with an object or air, potentially fired once for each hand. The hand can be determined using getHand().

This event will fire as cancelled if the vanilla behavior is to do nothing (e.g interacting with air). For the purpose of avoiding doubt, this means that the event will only be in the cancelled state if it is fired as a result of some prediction made by the server where no subsequent code will run, rather than when the subsequent interaction activity (e.g. placing a block in an illegal position (BlockCanBuildEvent) will fail.

severe heath
# uneven lantern

Ah thank you. I think the list I had may have been slightly outdated.

#

I've been looking through that Event list, which of the events would I use to check for the player holding a specific named item?

#

If anybody knows the correct uses for these Events it would be very helpful, thank you.

void orchid
#

You do not need an event to achieve that. Simply getting the main item of the player's inventory would achieve what you're trying to do.

severe heath
broken elbow
#

what build tools do you use?

severe heath
severe heath
void orchid
#

just type the event name and it should autocomplete

severe heath
queen plank
severe heath
queen plank
#

Are you looking at a list with the same version as your API?

severe heath
queen plank
#

I don't really know IntelliJ, I'm used to writing them myself. So you can do that otherwise lol

severe heath
#

I've got spigot API 1.18.1

queen plank
#

What version is the list from?

severe heath
queen plank
#

That shouldn't really be a problem tho, unless the events are deprecated or removed.

severe heath
queen plank
#

Not really

#

Try writing them yourself and see if they work ingame. It might be that IntelliJ does not like different versions, but the events still work fine

severe heath
# queen plank Not really

It mentions different "packages" all of which seem to include lots of really detailed specific events. Is that just due to it being an older version?

#

Can I ask you a more specific question?

queen plank
severe heath
#

For example, one event that is triggered if a player performs multiple actions?

severe heath
queen plank
#

I suggest watching some tutorial, there is more to it than that. It won't work with only that

severe heath
queen plank
queen plank
#

Np :))

severe heath
#

Ty. Bye :)))

slim vortex
queen plank
#

Why does this: https://ibb.co/yywFFDT not work? It does not update the inventory correctly, the new configsection only appears once I reload the GUI. This is located in a InventoryClickEvent.

void orchid
#

have you tried updating the inventory instead of opening a new one?

Inventory#updateInventory or along of the lines

queen plank
#

Noop, I had not tried it. Did not even know it existed, but it did not work. I build it around config files, for every configsection another item is added. And they (the items) don't disappear (even thought the configsection is gone) until I reopen the inventory. Are the FileConfigurations why it does not work maybe?

gentle mauve
severe heath
#

How do I detect what item a player is holding?

queen plank
#

player.getInventory().getItemInMainHand();

severe heath
queen plank
#

player.getInventory().getItemInMainHand().getType().equals(Material.LIGHT_BLUE_WOOL);

severe heath
#

with if statement before

#

and if it was blue wool it would output true?

queen plank
#

Yeah

severe heath
#

ah ok ty.

#

Thank you.

queen plank
#

Np :))

void orchid
gentle mauve
queen plank
queen plank
void orchid
#

they meant async, so long it's sync; it's fine

severe heath
queen plank
void orchid
#

you need to have a reference of the player

severe heath
void orchid
#

?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

void orchid
queen plank
#

If that is what you mean

severe heath
queen plank
#

"Different thingy"

#

lol

#

Np 🙂

severe heath
queen plank
#

Yeah, player, p are most common I think. But anything goes

severe heath
queen plank
queen plank
void orchid
queen plank
#

Wot lol?

void orchid
#

use Bukkit.createInventory

severe heath
queen plank
#

Ohh

severe heath
#

ty btw.

queen plank
queen plank
queen plank
void orchid
#

I was confused for a moment lol

queen plank
#

I have a full GUI and don't want my inventories in my InventoryClick event class

void orchid
#

ahh

severe heath
# queen plank np

whats the code for detecting when a player right clicks? sry for asking u all these questions...

void orchid
#

didn't see the s

queen plank
void orchid
#

try closing the inventory maybe? (don't put it inside the scheduler though)

severe heath
queen plank
queen plank
#

Yw

severe heath
queen plank
#

If it is not a right click, the function will end. The code after it will not be executed. If you remove it, it will still register left clicks

severe heath
severe heath
#

is there a different way of writing the "and" statement in java?

queen plank
#

It basically says If the click isn't a right click, end the function. If it is a right click, continue with the code

#

&& means "and" and || means "or"

severe heath
queen plank
#

np

severe heath
queen plank
#

Is the event type PlayerInteractEvent?

severe heath
#

how do i set an event type?

severe heath
queen plank
gentle mauve
slim vortex
#

How can I take advantage of velocity/bungee's api to make a plugin that allows players to join my proxy and be proxied to an external server (e.g. my custom server redirects to Hypixel)?

dusky harness
#

wouldn't hypixel think that your ip is connecting everyone to that server tho?

#

i got security banned for using a vpn once ☹️

slim vortex
#

Sure they would but I just want to know how to do it

#

Hypixel is an example. I don't care if it doesn't work, I just am curious to know how to.

warm steppe
#

add the server you want as sub-server on your proxy and just send the player to that server

dusky harness
#

ah

slim vortex
#

Afaik, that only works when the backend server is exposed to the public, and also a Spigot server that has bungeecord = true

rugged bane
#

Sadly not possible as far as I’m aware, I wanted to do a similar thing where users would add a IP to their client and would get a random server on ping

robust flower
#

there is no mf-msg for bungee, right?

pulsar ferry
#

It builds adventure components so you can use it on any platform that adventure supports

robust flower
#

I'll switch to it cause using md5 component system is pain, but only tomorrow, my brain is not functioning anymore today

pure crater
#

the md5 component system is so lacking

sharp cove
#

Is my code alright?

#

@ me if you have advice for me

winged pebble
#

I would definitely start extracting things out or modifying logic to reduce indentation levels

#

You could also pull out your usage string into the usage of your command and just return false instead of true

night nacelle
#
            <a href="store.itheriomc.net" class="item store">
            <div>
                <img src="img/store.png" alt="Minecraft store icon" class="img">
                <p class="title">Store</p>
            </div>
            </a>```

This just links it to my domain.name/store.domain.name D;
pulsar ferry
#

Add https:// before store.itheriomc.net

night nacelle
summer ingot
#

has anybody ever coded a discord bot before? somethin simple, i'd like to code my own but i'm not sure where to start

#

just eager to hear some more about it and maybe where to start

pulsar ferry
#

Which language?

summer ingot
#

i'd be interested in anything, i probably can't just jump straight into a discord bot from no experience but i want to learn possibly java.

#

i just don't really know where to start

pulsar ferry
long pollen
#

Does anyone know why even though im cancelling AsyncChatEvent, the chat message is still shown on the server? it only happens when the server is under a bungee proxy, but i dont know what do do about it

#
    @EventHandler(priority = EventPriority.LOWEST)
    public void onChat(AsyncChatEvent e) {
        if(toGet.containsKey(e.getPlayer().getUniqueId())) {
            Consumer<String> c = toGet.get(e.getPlayer().getUniqueId());
            toGet.remove(e.getPlayer().getUniqueId());
            Bukkit.getScheduler().runTask(LandGUI.getInstance(), () -> c.accept(
                    PlainTextComponentSerializer.plainText().serialize(e.message())
            ));
            e.setCancelled(true);
        }
    }
sharp hemlock
#

is ur chat still handled through the proxy

warm steppe
#

How is it possible to parse time from strings like 5s - 5 seconds, 5h - 5 hours etc?

wheat carbon
#

new TimeAPI("5s")

#

can do other shit like "5s and 10 minutes"

#

basically good for any human time format

warm steppe
#

Thanks, piggy!

dense drift
#

and it is made by THE PIG himself

wheat carbon
#

welllll

#

it's a fork

#

i just made it a bit more usable

dense drift
#

nice

rugged bane
#

Any good libs/guides these days for creating dynamic multi page GUIs, without the fluff?

high edge
#

Use matts gui lib

#

?mf

neat pierBOT
rugged bane
#

Ah thank you, any good example repos or guides on utilising it? Especially with multiple guis connected to each other etc

high edge
#

None of mine that are public

#

I got one which utilizes the guis itself, not multiple guis connected tho, but it's fairly straight forward to do that

night ice
#

Hey..is there a way to check whether the crops are broken by water or like piston or so?

long pollen
queen plank
lyric gyro
marble whale
#

hey, i'm trying to trace a redstone rectangle and create a bounding box around it, right now I have a method to look for redstone adjacent to a location but that's about as far as I've gotten. I know I can use the blockdata from the redstone to look which blockface it's connected to, however I still don't know how to make it only work for rectangles, and how to find the opposite corners so I can make a bounding box around it, could someone provide help?

lyric gyro
high edge
#

That's a 6 year old tutorial my guy

bright pier
#

Either use packets or teams if you're talking about above head names.

summer ingot
#

i’m not sure where to start to learn java and i’ve been interested in it for years

#

how one just develops the skill i’m unsure of, so if you maybe have any good beginner sources i could read/watch, or any tips i’d appreciate it a lot

marble whale
#

@summer ingot you could try finding a class. I learned it in high school.

#

it really all depends on how you learn stuff i guess. I tried youtube tutorials but I could never pick it up from that.

high edge
#

?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!

summer ingot
#

I was in the class for that at the beginning of the year, the only one they had was computer programming and it was python. IMO it was not a good class though, for about 3 weeks we were connecting blocks to each other which unless i’m missing something didn’t teach anyone anything

high edge
#

python sucks

marble whale
#

my school taught visual basic to 10th grade kids and java to 11 and 12th

summer ingot
#

i’m not sure what classes i have available to me for the semester but i’d have to check

#

but if your school had java for 11/12 mine probably will be similar

marble whale
# neat pier

but this is definitely where you should start. if you can't find something through your school, find a free course online.

summer ingot
#

👍🏽

high edge
#

school usually teaches you jack shit, atleast in the beginner classes

dusky harness
#

tip: don't use eclipse and maven

#

:)

summer ingot
#

so

#

what are thise

#

those*

marble whale
#

eclipse and maven are IDEs

#

which is where you write your code

dusky harness
#

maven isn't an IDE, but a build tool

marble whale
#

^

summer ingot
#

i know maven a little because i’ve used it and still kinda use it to compile src codes

dusky harness
#

but Intellij and gradle ftw

summer ingot
#

but several people told me to use gradle

marble whale
dusky harness
#

piggy has a guide

#

and stuff

high edge
#

gradle and intellij is the favorite amongst us here

dusky harness
#

IntelliJ ultimate if ur in school

marble whale
#

I use intellij with the minecraft development addon

summer ingot
#

is it similar to installing maven or na

#

^ gradle

marble whale
#

idk i just press a button and it builds the jar

summer ingot
#

fun

#

i’ll check em out

#

it’s honestly astonishing though, coding, you kinda just generate words and they do stuff

#

been trying to learn for a while know but never picked it up

high edge
#

Also a suggestion I can make is, if you have any friends who already know java, that they help you with it

#

That's how I started and it helped me remember to actually have some guidance

summer ingot
#

unfortunately i do not have any friends who speak java

#

i'm not sure if this is the place, but is it possible for me to install node.js 12 on windows 10

lyric gyro
#

Prolly

summer ingot
#

how would i do it

#

the download file i got is just full of other files and i'm not sure what to do

lyric gyro
#

Gotta look up a tutorial I don’t use js. I don’t see why you wouldn’t be able to install it tho

summer ingot
#

the current versions download was just a simple exe to install but for 12 i got a zip

lyric gyro
#

Probably some script to run

summer ingot
#

i think i was downloading the wrong thing

#

i downloaded the win-64.zip

#

i jut needed to get the .msi

#

that file was the setup file

lyric gyro
#

Gg

summer ingot
#

sorry Lol

summer ingot
#

what kinnda files would you be using in it

dusky harness
#

intellij is for java

summer ingot
#

so a .js file?

dusky harness
#

no

#

javascript isn't java

summer ingot
#

oh

#

interesting

icy shadow
#

There is WebStorm for JS (but it's paid unless ur a student or smth), but Vsc is also perfectly fine

lyric gyro
#

Yes Santa mitten will give you webstorm next xmas

warm steppe
#

vsc puke

#

🤮

lyric gyro
#

I love that people rag on ides

#

While there’s vim users out doing all

dusky harness
#

so he gets it all for free

#

😌

lyric gyro
#

This is why I was curious as to how developers are doing it nowadays

#

I saw there was an option to do it with commandblocks, that has been removed as well

summer ingot
dusky harness
#

hundreds of dollars worth of stuff 😍

summer ingot
#

if my school had a java class tho then maybe youd get that

dusky harness
#

u dont need java class

pulsar ferry
#

You don't even need school email, just proof that you're studying

summer ingot
#

oh really

#

thats neat

#

github dev pack

#

ill check it out

crimson portal
#

Can someone help me i want to create a own Plot plugin and i need help at the plots and that a player can build there

summer ingot
#

i also have a java book

#

but idk if its any good theres a lot of pictures

dusky harness
#

it usually takes a couple hours to get accepted, but I'm not sure if you're going to get an email

#

you can just go to ur github profile and check if you have github pro

summer ingot
#

i just said im interested in learning and practicing coding languages

dusky harness
#

that should work 👍

summer ingot
#

alrighty

summer ingot
vivid summit
#

players are able to deal upwards of 20k damage on our server and mojang decided to not add a cap to the amount of damage particles that will appear. We already created a texturepack to hide those from players, but that wont stop them from actually spawning in. Sometimes the particle counter can go over 10k if they smack a lot of mobs in a short period of time. Does anyone have an idea how to disable those particles from appearing entirely?

lyric gyro
#

Does anyone know which call/method this is?

topaz gust
#

Like how hypixel and others with custom "damage" handle it

dense drift
vivid summit
#

ah I thought hypixel didnt have that because those particles were introduced post-1.8. Just to be clear, could having 10k+ particles per player cause performance issues, or is all of that handled on the client itself and not the server

lyric gyro
#

Is there any border-type of Plugin where you can claim land and only permission X can build there?

lyric gyro
#

If not, I'm gonna attempt to do it myself.