#dev-general

1 messages ยท Page 622 of 1

compact perchBOT
#
๐Ÿ“‹ Your paste: Treblinka
https://paste.helpch.at/winoyajube

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

fresh birch
#

thats from official hypixel wiki site

sly sonnet
#

Does Component#text automatically translate colorcodes?

distant sun
#

no

static zealot
#

if you want something to transform strings into components I'd recommend a lib like minimessages

sly sonnet
#

nah, matts msg lib wtf

brittle leaf
#

i believe that hypixel skyblock doesnt really use an equation

#

or atleast a single one, looks like many different results since theres nothing that could give that sort of exponental growth.

#

looks to me that they just wrote out all the integers for each leveql

#

which would probably be more efficient then if they did anything else

#

since theres no good way to express those numbers in one operation, if its even possible

sly sonnet
#

Is it possible to make ItemStack show item amount as 0? For some reason it just removes the item...

obtuse gale
#

well yeah of course it does

#

there is nothing to use at 0, it's a free space for other items to occupy later, not something that doesn't exist lol

pastel imp
#

I think he meant displaying 0 literally

#

I remember this being possiblr back in 1.8

#

Idk now

lavish notch
#

Hey @remote goblet, are you applying at Senior Team?

remote goblet
#

yeah

#

im broke

lavish notch
remote goblet
#

kek

#

bro it took a month for them to notice the application

lavish notch
remote goblet
#

i first opened my application on 16/03/2022

quiet depot
#

the trick is to get senior team to come to you

lavish notch
old wyvern
#

The trick is to be tricked

lavish notch
quiet depot
#

who is brent

lavish notch
#

Aaaa... Brett.

quiet depot
#

is brett handing out jobs

lavish notch
#

Like work with MrBeast for example.

quiet depot
#

i am mr beast

lavish notch
#

O.o

#

Alright, send me 10,000 AUD.

sly sonnet
#

but i gave up at it and show the number inside item lore

obtuse gale
quiet depot
#

yes

obtuse gale
#

ok

quiet depot
#

that's right

inner umbra
sick belfry
#

so

#

does anyone exactly know why when I get a float from another class using an instance of it and changing it doesnt change the float in the class where it belongs

quiet depot
#

show me the exact code

inner umbra
sick belfry
#

thought so

sick belfry
sick belfry
#

I DID IT

#

I just had to make a setter and getter for the rgb values

#

and boom I can change them

agile galleon
#

lmao

sly sonnet
#

Where could I acquire all minecraft item images?

static zealot
#

minecraft wiki

obtuse gale
#

or extract them from the client assets ๐Ÿ‘€

urban sleet
obtuse gale
#

ah yes

#

{{ ngMeta['title'] || 'Minecraft Assets' }}

#

also wow that site is really useful

obtuse gale
jovial siren
obtuse gale
#

"trust"? huh

#

but alright

jovial siren
#

what

upper aurora
#

yo

#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @upper aurora!

upper aurora
#

My account got disabled for a reason that was mistaken

inner umbra
compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

upper aurora
#

yea on discord

#

this is my alt account

inner umbra
#

Read the message.

obtuse gale
#

You're asking for too much xD

inner umbra
#

Lol

tranquil crane
#

How do so many people come here seeking support for Discord

ocean quartz
#

Blame google

obtuse gale
#

HelpChat is designed to support people all over the Minecraft community

pallid gale
#

didn't use to say that, i fixed that recently

#

cause discord randomly removed our community description

dawn island
#

"helpchat" = "helpdiscord"

quick flume
#

I don't see that @ocean quartz

#

unless you just changed it again

half harness
#

also appears for me ^

#

if thats what u mean

quick flume
half harness
#

oh ๐Ÿ‘€

#

๐Ÿฅฒ

quick flume
#

and I've clicked it

#

aha, I just clicked it again and now it shows up

half harness
#

o alr ๐Ÿ™ƒ

#

interesting

viral grove
#

I'm thinking of making an api. Should the dependencies I intend on using be bundled into the api?

obtuse gale
#

No, forget about shading, that's a choice for the library consumer to make, expose them as transitive dependencies instead

viral grove
#

Or does that mean using api in Gradle?

obtuse gale
#

Yeah that's what compileOnlyApi and api do, they expose it to the consumer's classpath

viral grove
#

Gotcha, tqsm!

pastel imp
cinder flare
#

It gets shaded and projects that import your stuff as a dependency can use those classes

#

so like, if you do MiniMessage or something as api, my plugin could use your implementation of MiniMessage

obtuse gale
#

if you're making a library you shouldn't really shade anything at all, and let the library user decide their distribution system

pastel imp
#

I actually didnt know about this either, will probably make an API plugin with this, ty

north tundra
#

hey, I need some help with BlockIterator

I wanna get the location of a block placed by a player, and get the direction it's facing towards... and then extend it to 5 blocks.

Basically, placing one block will make a 5 block-long path in a single axis

#

how do I do that ?

hot heron
#

Do you want it in the direction that the player is facing?

wind patio
#

Hey, odd sql question here.

Does anyone know a way to select like three different values with different where clauses in one statement?

What I'm trying to achieve is
Result collumns:

| playtime7d | playtime14d | playtime21d | 
-------------------------------
| 2h 30sec | ... | ...|

Currently I'm using three different queries with different timestamp values

#

Yeah I may not have explained it clearly, sorry for that

#

An example of where I count executed commands by a staff member:

 "SELECT COUNT(*) AS AMOUNT FROM co_command" +
                " WHERE co_command.time > UNIX_TIMESTAMP() - " + time +
                " AND co_command.user = " + userID + " ";

For 1 day, 7 days and 30 days I use 3 different queries where time is a different timestamp.
I was wondering if it's possible to somehow "merge" them together by joining the results or smt by one query.

#

Well it's the query above, just replace time variable with 7 days to timestamp, 14 and 30.

#

I get the result by calling the method three times, just trying to reduce it to just one so there's less calls to the database

#

Sorry it's hard to type on phone lol

#

Well the playtime was an example. It's what I'll be working on next, but if I figure out how to simplify the command count I can apply it there too.
And yes, you're right.

#

Then I just call

int cmd7 = getExecutedCommands("somename", 7);
int cmd14 = ...
...

Instead it could return size 3 int array where 0 is 7 days, 1 is 14, 2 30.

#

Hmm. Alright. It is probably possible to condense, just not really sure how.
The database itself and methods like this are heavily used and thought it may be hitting the performance a bit.

#

True indeed. Still kinda guilty of trying to cram a bunch of things in one method

#

Thanks intellij for extract method keybind reversed_fingerguns

#

Well, thanks for your time and insights. Will be back once I find myself working on a code that takes 3 hours to complete to simplify a 10 min task

#

Aren't we all sad_fingerguns

#

Gotta thank daddy Charles Bachman for blessing us with databases (and oracle ig)

prisma wave
#

a more general mantra would be to not prematurely optimise

#

unless you need to make the extra effort, don't

wind patio
#

Well, I just remembered another issue I ran into a while back.
It's about the size of the table

#

We log block breaking and placing and the table fills up with millions of rows

#

I assume the size is based on the table index and not how many rows it contains?

#

Yeah it's not about the performance

#

It's about the size it takes on disk

#

Since we have limited capacity

prisma wave
#

databases are very efficient with storage space usually

wind patio
#

50gb

#

Well I thought so too, but there's a bunch of data on it

#

I cant login to check since it's ip restricted

#

But CoreProtect eats disk like crazy

#

There's more

#

๐Ÿ’€

#

About the cleaning.
As I said, I tried cleaning old rows, but it seemed like it took the same amount of space before and after the clean

#

That's why I thought it's based on index and not the amount of rows

#

Yeah I'll have to check it again

#

But it seemed like if I don't truncate the table the size stayed the same

#

And deleting like 100k rows took like 5 minutes lol

cinder flare
#

also don't forget to think about indexes, they can help query speed so much

#

this site is amazing ^

pearl ledge
#

hi

#

wow dead chat lol

#

for me

#

it 7 pm

humble silo
#

Linux duck

quiet depot
#

bark

half harness
#

btw uh @inland tide you can't make plugins in javascript ๐Ÿฅฒ

inland tide
#

no yea

inland tide
half harness
#

ah

inland tide
#

sorry i didnt mention that

half harness
#

๐Ÿฅฒ

inland tide
#

i added it thanks

inland tide
#

lol

sly sonnet
#

(Bukkit.getPlayer(p) == null) ? "?????" : Bukkit.getPlayer(p).getName()
Method invocation 'getName' may produce 'NullPointerException'

#

why is that

obtuse gale
#

because there are no guarantees that getPlayer doesn't return null on the second call

#

though extremely unlikely

#

either save the player in a local variable or ignore it lol

cinder flare
#

yay race conditions

ocean quartz
#

2 calls bad!

prisma wave
#

pure functions fix this

obtuse gale
#

can i get help for nodejs from here

quiet depot
#

no

#

not at all

#

completely wrong place

#

what on earth were you thinking

#

honestly how dare you

#

what is wrong with you

#

smh

obtuse gale
#

oh

#

ok

dusky mist
#

posted in the wrong place earlier but

#

Do i have to use a target in the placeholder ?
When i want to have a command sent from the console i cannot use relational placeholders, but then i also cannot use the placeholders which do not need a player such as %server_tps%
PlaceholderAPI.setPlaceholders(Player, String)
can we have a PlaceholderAPI.setUnrelationalPlaceholders(String) or something, if this already exists then lmk

onyx loom
#

pass null to the Player argument in PlaceholderAPI.setPlaceholders

dusky mist
#

thanks

quaint isle
#

I am hosting a few docker containers on my Plesk server, which comes with a super convenient interface for managing containers (downloading & installing from docker hub, configuring ports, volume mapping,...)

Do you know a host that has a similar interface for docker?

cinder flare
#

I mean, docker-compose does something similar with a yaml file

#

and Ptero panel gives an even nicer interface but it's mostly for games

quaint isle
#

I'm a bit scared of doing it "manually". I need to deploy two docker containiers for our company and I'd like a solution that's as fool proof aand straightforward as possible - so an interface would be nice ๐Ÿ˜„

cinder flare
#

Docker compose isn't really "manually", it's literally exactly what you have here just in a YAML file instead of in a little HTML form

prisma wave
#

it's like a selfhosted version of heroku

#

works rather nicely imo

cinder flare
#

1password gang all the way

#

the global keybind is well worth the $10 extra a year

obtuse gale
#

bitwarden ๐Ÿฅบ

#

fuck yes

cinder flare
#

1password has good hardware key support afaik

#

and isn't ugly as balls

#

and has a global hotkey which is my favorite part

obtuse gale
cinder flare
#

bitwarden

#

keepass

obtuse gale
#

I mean imo bw doesn't look ugly as balls but to each their own in that aspect

cinder flare
#

maybe not as balls

#

but certainly 1password looks significantly nicer

obtuse gale
#

lol

cinder flare
#

and has a global keybind

#

that's really the most important part

#

also did they change the horizontal spacing of italics in discord

#

i stg it didn't used to look like that

obtuse gale
#

yes

cinder flare
#

okay good to know i am not insane

#

cause before it literally just tilted the letters in place

#

now it moves them closer together

obtuse gale
#

yeah it's a different font altogether

#

a
a

cinder flare
#

oh wow

#

kinda nice

#

discord is literally the perfect way to gaslight someone

obtuse gale
#

lmfao

cinder flare
#

cause they always change such small subtle things that make me think i'm going crazy

#

like when they made channels a different shade of gray

obtuse gale
#

or when they change the categories font ever so slightly it fucked up the whole alignment with those hyphens

#

and roles too

#

whew

cinder flare
#

YES

#

god discord is so evil

#

or like when they first added icons to the right click menu of messages

#

now it feels normal but for a bit there it was so bizarre

obtuse gale
#

or when they changed the mentions color :^)

cinder flare
#

oh yeah they made it like more blurple

#

discord makes me question my sanity daily lmao

tame bane
#

Anyone know where I can find some skins?

upper aurora
#

I need some help

tame bane
quaint isle
# cinder flare keepass

To be fair, Bitwarden may not be super beautiful and sleek but it looks and feels WAY nicer than keepass

cinder flare
#

so true

#

but 1pass is well above that even

#

they certainly get my money lol

quaint isle
#

Fair enough, I believe I tried them in the past and was happy with them. But then eventually decided to yolo-selfhost. Not for money reasons, but for fun.

#

Bitwarden was a good compromise for me. Supports all platforms I need and the user experience is alright ๐Ÿคทโ€โ™€๏ธ

viral grove
#

Moshi by square ain't working for me when I access it through my lib. Illegal access exception is thrown (and caught, then moshi proceeds to throw assertion exception) when I use #fromJson. Anyone have any fixes/alternatives?

old wyvern
#

What java version are you using?

viral grove
#

Java 18 (targeted at J17)

#

Strangely enough, this only happens when I use records. Old fasioned boilerplate classes work fine

potent nest
#

what's the exact message of the exception?

obtuse gale
#

git gud

cinder flare
#

so Gson doesn't work with records, Moshi (?) probably doesn't either

viral grove
# potent nest what's the exact message of the exception?

Exception:

Exception in thread "main" java.lang.AssertionError
    at com.squareup.moshi.ClassJsonAdapter.fromJson(ClassJsonAdapter.java:210)
    at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
    at com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:70)
    at It.main(It.java:12)
#

It.java: 12

        System.out.println(moshi.adapter(Wreck.class).fromJson("{\"name\":\":(\"}"));
#

ClassJsonAdapter.fromJson():

@Override
  public T fromJson(JsonReader reader) throws IOException {
    T result;
    try {
      result = classFactory.newInstance();
    } catch (InstantiationException e) {
      throw new RuntimeException(e);
    } catch (InvocationTargetException e) {
      throw Util.rethrowCause(e);
    } catch (IllegalAccessException e) {
      throw new AssertionError();
    }

    try {
      reader.beginObject();
      while (reader.hasNext()) {
        int index = reader.selectName(options);
        if (index == -1) {
          reader.skipName();
          reader.skipValue();
          continue;
        }
        fieldsArray[index].read(reader, result);
      }
      reader.endObject();
      return result;
    } catch (IllegalAccessException e) {
      throw new AssertionError();
    }
  }
viral grove
#

But not when I use it transitively through a lib

cinder flare
#

the lib probably has an older version

#

that doesn't yet support records

viral grove
#

That can't be right, I made the lib :p

obtuse gale
#

moshi has a separate adapter for record types, not the ClassJsonAdapter, so there's definitely a version mismatch somewhere in the dependency tree

viral grove
#

:/

obtuse gale
#

either that or something is happening causing it to not pick the record adapter but I'm not sure how plausible that is, I'm not super familiar with moshi's adapter choosing system

viral grove
#

The issue is, I'm exposing moshi 1.13.0 as a transitive dependency using api in gradle (java-library). Works fine in the api itself, and works fine if I manually add the dependency to any project without the api. The trouble happens when I try to access the dependency through the lib.

obtuse gale
#

check the dep tree

#

gradlew dependencies

viral grove
#
\--- lib-group:lib-name:lib-ver (hidden as in development)
     +--- com.squareup.moshi:moshi:1.13.0
     |    +--- com.squareup.okio:okio:2.10.0
     |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.20 -> 1.6.0
     |    |    |    +--- org.jetbrains:annotations:13.0
     |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.20 -> 1.6.0
     |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0
     |         +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0 (*)
     |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0
     |              \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.0 (*)
     \--- com.squareup.okhttp3:okhttp:4.9.3
          +--- com.squareup.okio:okio:2.8.0 -> 2.10.0 (*)
          \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.10 -> 1.6.0 (*)
obtuse gale
#

does it show up anywhere else in the whole tree?

viral grove
#

no, that's the whole output

cinder flare
#

not the hidden package name ๐Ÿ’€

viral grove
#

:p

#

Maybe it's due to some way which I compile the api? I just shadowJar it, with the only other change being the renaming of the output jar

cinder flare
#

are you relocating it? could clear up any version conflicts

viral grove
#

I'm not currently relocating, could do that tho

#

moving house give bit

obtuse gale
#

any particular reason why you're shading it? is it for a spigot plugin or something?

cinder flare
#

not the spigot plugin ๐Ÿ’€

viral grove
#

no, not spigot plugin ๐Ÿ’€

obtuse gale
#

can't you not shade it and use it in the classpath normally?

viral grove
#

What's the benefit of doing that out of curiosity?

obtuse gale
#

shading is a hell load of conflicts waiting to happen, each jar is and should be treated as its own module

viral grove
#

Fair enuf

cinder flare
#

you guys ever use the library loading thing? where the server gets the dependency itself

obtuse gale
#

I'm not 100% sure how shadowjar works with multi-release jar (what moshi does to include a working impl for the record adapter) dependencies so yyyeah, that's kind of on how shadowjar works

cinder flare
#

you just do it in the plugin.yml

obtuse gale
#

spigot's library loader is also issues waiting to happen lol

cinder flare
#

is it not good? feels like it solves this exact problem

#

oh

obtuse gale
#

yes but no, and it's not a spigot plugin anyway lol

cinder flare
#

oh I presumed they meant it was a Paper plugin lolol

#

this being a Minecraft discord and all

viral grove
#

Adds spigot as a dependency so that I can use libary loader

#

changing from impl to api didn't work, will try relocating

viral grove
obtuse gale
#

in your app that consumes the library, did you do any configuration to the shadowjar task?

viral grove
#

Nope

#

Relocating, both on lib and consumer side didn't work (I just relocated moshi)

#

Time to do even more testing this afternoon ig

distant sun
#

Is there anything I can do if IJ freezes when I open Material, other than upgrading my pc? peepo_blush

#

That time will come at some point xD

cinder flare
#

i think you can disable syntax coloring and stuff for big files

distant sun
ocean quartz
#

How much RAM are you giving IJ?

cinder flare
#

well presumably that's what's happening lol

#

it's trying to index that file and it either runs out of ram or cpu

distant sun
cinder flare
#

yeah bump that up if you can

ocean quartz
#

Can you bump it up?

distant sun
#

I thought I gave it at least 4 at some point

ocean quartz
#

4 works fine for me, Material opens very easily

cinder flare
#

i'm at 2 lol and Material is fine for me

distant sun
#

I don't have the best pc ๐Ÿ˜„

cinder flare
#

how much ram do you have?

#

like unless it's 8GB I can't imagine it being that bad

distant sun
#

16 but is DDR3 1333 MHz ๐Ÿ™‚

cinder flare
#

wait what the fuck

#

is this PC from 15 years ago?

distant sun
#

lets not get over this discussion xD

cinder flare
#

seems like you would be the perfect customer for Fleet lmao

distant sun
#

possibly, only Material is giving me some issues, other than that, it is good for now

#

do you know where the setting for syntax coloring is?

cinder flare
#

yeah so you open the Registry then it should be something like idea.max.intellisense.filesize

distant sun
#

I disabled some plugin I don't use, and runs better now

cinder flare
#

ah which plugin lol

distant sun
#

plugins*

#

Mostly ones that come pre-installed, such as android, js frameworks

cinder flare
#

ah classic

distant sun
#

can't find that option, welp

cinder flare
#

yeah dunno, just read this

distant sun
#

I guess it was renamed

sly sonnet
#

PlayerInventory#setItemInOffHand(null) will remove item in offhand, right?

hot hull
#

or setting it to air

#

You'll need to update the inventory tho if I'm not mistaken

sly sonnet
#

tnx frostyyyy

uneven vapor
#

I have now try metadata on 1.12 and is no issue with ether drop item or restart server (it will keep the data you set). I know some say it it will be removed if you restart the server. https://youtu.be/RRFK6F11Mfw not use any own saving method at all only minecraft own method to save the item data.

pseudo ocean
#

Do you know how to change the message of Not authenticated with minecraft.net? I managed to do it with a plugin, now that plugin has turned on me ๐Ÿ˜…

remote goblet
#

you run an online mode server

pseudo ocean
#

It's already online ๐Ÿ’†๐Ÿพโ€โ™‚๏ธ

#

I want to change the message of the statement above, maybe read it again ๐Ÿคจ

distant sun
#

where even is that message displayed?

pseudo ocean
#

It's displayed when a cracked user joins a premium server.

#

Tries to join*

distant sun
#

never see it before

pseudo ocean
#

Ah

hot hull
#

It shows up when you use something like TLauncher or something to join a premium server

distant sun
#

it works now, duh

static zealot
#

never been slow for me

brittle leaf
obtuse gale
#

chunks, entities, tile entities

uneven vapor
cinder flare
#

rebase probably

#

rewriting git history is kinda spooky though so be sure you know what you're doing

#

Yeah I would do a clean git clone of the repo

#

rewrite the history there

#

then rebase your new changes on top of the new master history

pastel imp
#

what would happen if I execute 100k /website commands every 25 seconds?

#

(not the actual case but ye)

remote goblet
#

I need general thoughts on which design to go for

ocean quartz
#

C. Annotation based ๐Ÿ˜Œ

#

But out of those, B

remote goblet
#

annotations are painful though peepoSad

static zealot
#

I basically agree with Matt

#

whatever he says

obtuse gale
#

mate are you drunk?

static zealot
#

random question. are you drunk? or is this how you sound after a day of development?

static zealot
obtuse gale
#

So yes, drunk lmao

static zealot
#

:kek:

obtuse gale
#

where do you get your tea leaves from ๐Ÿ‘€

#

sometimes

#

let me actually watch that now lol

static zealot
#

No. I don't think I will.

sick belfry
#

java question about something that I would not know because I skipped that part in the tutorial 2 years ago:

#

what the heck is the use of something like Class<SomethingLikeAnEntity>

prisma wave
#

reflection babyyyy

sick belfry
#

ahhh

#

explain further

prisma wave
#

basically like, dynamic stuff

#

dynamic method calling, accessing private fields, etc

#

libraries like gson use it to create instances of classes

sick belfry
#

yeah I understand that

#

but like

#

what does the <thing> thing let you do

prisma wave
#

it's the type of the class

#

a class A {} will have A.class which is of type Class<A>

#

whereas Class<?> can be any class

#

or Class<? extends Blah> is any class which extends Blah

#

and so on

#
    public static <T> @Nullable T safe(@Nullable Object o, @NotNull Class<T> clazz) {
        if (o == null) {
            return null;
        }
        if (!clazz.isAssignableFrom(o.getClass())) {
            return null;
        }
        return clazz.cast(o);
    }
``` this is a nice little use of it
sick belfry
#

what

prisma wave
#

safe(something, Type.class) == ```java
if (something instanceof Type) {
return (Type) something;
} else {
return null;
}

#

roughly

sick belfry
#

so lets say I have a class named animal

#

and there is another class named dog

#

(ah yes the classic animal example)

#

and other class named cat

#

dog extends animal

#

cat does it too

#

and for example I want to get a class that extends animal

#

I could do Class<? extends Animal> dogcaat = something

#

?

prisma wave
#

depends what something is

#

but yes

#

Class<? extends Animal> dogcat = Dog.class or Cat.class

#

bear in mind that the Class class represents a class, not an object

#

class class class

sick belfry
#

yeah alright

#

ty then

prisma wave
#

np

distant sun
# remote goblet B.

I think you can make action accept event: SomeEvent.() and it will have the same effect as with (you can check what they do for this method)

obtuse gale
#

Ah @wintry plinth it's probably waiting until you fix that conflict (which happened before at a commit before the "new" post function), commit it and then run git rebase --continue lmao

distant sun
#

Do what I do, delete the repo, create it again and push everything

tame bane
#

Does anyone know a starting point to find someone create a webstore on Tebex?

#

I already have one created but it looks terrible.

#

Like custom HTMLs stuff.

sick belfry
#

do yo mean to find someone that can make a store for you in tebex?

humble silo
#

Hey, anyone working in kotlin rn, could you create a test with just Array(53390000) { -1000 } in it, and tell me if it fails? This is super weird, but it seems to not work on my computer

humble silo
#

Ill try running it not in Junit

ocean quartz
#

How are you asserting it?

humble silo
#

weird, if i run it just using a main method, not in the test sources it works

#

nvm sorry, i think its literally just an out of memory exception

humble silo
ocean quartz
obtuse gale
#

isn't that 8 GB? lol

ocean quartz
#

Yeah around that much

humble silo
#

not that it matters too much lol, a ton of data

obtuse gale
#

8 GB

humble silo
obtuse gale
#

max value is 2+ billion

#

2^31 - 1

potent nest
#

If itโ€™s not an int array, youโ€˜ll also have boxing overhead

obtuse gale
#

Valhalla when๐Ÿฅบ

potent nest
#

If itโ€™s nullable, it still needs some kind of indirection

bitter sinew
#

Hi, Someone here knows how to make a discord bot?

#

Is there is anybody please contact me

#

^^

old wyvern
remote goblet
distant sun
#

been there before

ornate lodge
#

Why are relational placeholders no longer supported in the API?

prisma wave
#

they are

#

public static String setRelationalPlaceholders(Player one, Player two, String text)

ornate lodge
#

Oh yeah, sorry, I didn't read that I need to implement Relational

prisma wave
#

np

proud needle
#

yo could someone help me

ocean quartz
#

If you explain what you need help with, I am sure someone can

proud needle
#

can i send screenshots?

#

eh ill just send the code insstead

#

so basically i have a entityPlayer
and i'm trying to give it velocity

        PacketPlayOutEntityVelocity packet = new PacketPlayOutEntityVelocity(npc.getBukkitEntity().getEntityId(), new Vec3D(x,y,z));
        
        for (Player player : Bukkit.getOnlinePlayers()) {
            if (!player.getUniqueId().toString().equals(npc.getBukkitEntity().getUniqueId())) {
                PlayerConnection connection = ((CraftPlayer) player).getHandle().b;
                System.out.println("Sent packet to "+player.getDisplayName());


                connection.a(packet);
            }

        }

For some reason it just doesn't give it velocity

#

its sending the packet to me

#

but doesn't apply anything to the entity when ran

cursive jolt
#

yeah... clients don't care about other entity velocity

#

unless they are riding the entity and have control of them, such as with a boat on a bubble column

#

otherwise it's useless unless it's a non-living entity in which the client uses the velocity for interpolation, but for living entities the player doesn't control, it's a useless packet to send

cursive jolt
#

no, it's quite good

proud needle
#

how do entitys take gravity, just by taking away the y

cursive jolt
#

-0.08 y subtraction

proud needle
#

annoying in my case

cursive jolt
#

then 0.98 friction at end of tick

proud needle
#

so -0.08 every tick?

#

wait at the end of the tick

cursive jolt
#

before friction

proud needle
#

erm

cursive jolt
#

but after movement is applied

proud needle
#

Erm

cursive jolt
#

Explosions and velocity is set at the very start of the tick based on packet order received
Attack slowing (horizontal movement * 0.6) is applied next
Fluid pushing is then ran
if the player is in a vehicle, the vehicles movement is multiplied by 0.98
movement/inertia threshold is then executed
jumps are then applied
The key inputs are then used to add to the player's horizontal velocity
Stepping code and collisions is then ran
Whether there are horizontal/vertical collisions to set velocity in a direction to 0 is then ran
The player then collides with the world such as bubble columns and cobwebs
Whether the player is climbing is then calculated
Gravity is then applied vertically based on potion effects
Friction is ran

proud needle
#

oh so

cursive jolt
#

that's minecraft movement order

proud needle
#

0.98 every tick then an extra 0.08 after the tick

cursive jolt
#

no, multiplying by 0.98 is friction

#

so you can't fall faster than around 4 blocks/tick

#

otherwise you would accelerate to an infinite velocity which isn't good

proud needle
#

i'm lost haha

cursive jolt
#

for each tick, subtract 0.08 and then multiply vertical velocity by 0.98

ocean quartz
#

Are you trying to simulate a different gravity?

proud needle
#

yeah

#

well not different gravity

#

making a npc plugin for uni project lol

#

its been hell

obtuse gale
#

ur/mum

cursive jolt
#

check the parkour wiki for movement stuff

ocean quartz
#

Asking because I've done gravity change before, and it works wonderful on local host but as soon as you add lag, it breaks just as wonderfully

cursive jolt
#

you can spam the player with explosion packets to try and do velocity

#

add to the velocity rather than set it

#

could go badly if there's a lagspike and they suddenly get 10 explosion packets in the same tick

proud needle
#

its not a factions server so it shouldn't be getting that many explosions lol

cursive jolt
#

no, explosion packets let you add to the player's velocity

proud needle
#

hopefully ๐Ÿ˜…

#

theres so much to learn haha

cursive jolt
#

send them an explosion with a velocity of 0,1,0, and then whatever their client sided velocity is, they add 0,1,0 to it

proud needle
#

oh so you use the explosionpacket to add the velocity

#

that makes sense

#

and ill need to send that to everyone i assume

cursive jolt
#

no

proud needle
#

oh?

cursive jolt
#

clients don't move other entities.

proud needle
#

wouldn't i treat it like a movement packet

cursive jolt
#

what do you mean by movement packet?

ocean quartz
proud needle
#

PacketPlayOutRelEntityMove

#

you have to update everyones clients with it

#

so i just assumed you'd have to do the same for the explosion

sick belfry
cursive jolt
#

no, a player is a living entity and therefore other players don't attempt to interpolate them using velocity

#

interpolate simply means to predict the movement, which is done for stuff like arrows

sick belfry
#

also what do you mean with velocity?

#

do you want to add velocity to the player so it walks faster?

#

or apply movement to it

proud needle
#

so for example with PacketPlayOutRelEntityMove, you have to basically tell all players on the server you're moving. so do you have to do the same for the explosion packet

#

i'm doing it like

            PacketPlayOutEntity packet = new PacketPlayOutEntity.PacketPlayOutRelEntityMove(npc.getBukkitEntity().getEntityId(),
                    (short) (rX * 4096), (short) (rY * 4096), (short) (rZ * 4096), onGround);
            Location loc = npc.getBukkitEntity().getLocation();

            npc.b((loc.getX()) + (rX), (loc.getY()) + (rY), (loc.getZ()) + (rZ), loc.getYaw(), loc.getPitch());
            System.out.println(loc.getX() + " " + rX + " " + loc.getY() + " " + rY + " " + loc.getZ() + " " + rZ);

            for (Player player : Bukkit.getOnlinePlayers()) {
                if (!player.getUniqueId().toString().equals(npc.getBukkitEntity().getUniqueId())) {
                    PlayerConnection connection = ((CraftPlayer) player).getHandle().b;
                    connection.a(packet);
                }

            }
sick belfry
#

you want to move a npc to a location?

proud needle
#

no, i can already do that

cursive jolt
#

I'm assuming you are trying to get a NPC to fall

proud needle
#

Yeah

#

kinda annoying lol

cursive jolt
#

the client listens to the server's relative positions

#

the client doesn't attempt to simulate anything to do with other entities

sick belfry
#

then there is a way

proud needle
#

yeah, so i have to send that info

#

right

sick belfry
#

wacky but there is

#

teleport the npc by y - 0.08 every 2 ticks or so

proud needle
#

yeah

sick belfry
#

everytime check if there is a block below

proud needle
#

Should i be updating the npc every 20 ticks?

#

because atm i don't do that :/

sick belfry
#

every second?

#

you can, but if you do not want smooth animation/falling

proud needle
#

yeah aren't you supposed to send data every 20ticks

#

i'm sending mine every 10ticks

#

like 0.1 per tick

sick belfry
#

thats fine

proud needle
#

i haven't done the maths or anything for the correct movement

sick belfry
#

can be laggy but fine

proud needle
#

but aren't you supposed to send your Npc's movement 20 times per second?

cursive jolt
#

once every 2 ticks or so is fine

proud needle
#

alright

cursive jolt
#

the client smooths out the movement over 3 ticks

proud needle
#

i only run it when i want to update the movement

#

so when i don't want the player to move it doesn't send anything

#

i'm assuming there isn't a problem with that

#

just saves bandwidth and cpu from sending useless packets

sick belfry
#

ye

proud needle
#

okay perfect just checking, thanks for your help ๐Ÿ™‚

#

while i'm here erm anyone have a good idea how i can better minus the gravity without getting them put in the block

#

i guess my logic would be to
// check the block below it to see if its half of a block or a full block or a chest ext.
if so then i need to make sure the npc only goes at y 75.5 for example

say the Npc is at 98.6

#

i'd have to minus the 0.08 each tick doing 1.6blocks per second
if i do 1.6(blocks per second) * 14 =22.4
then 75.5 + 22.4 is 97.9 however i need to get to 98.6

#

if i add another 1.6 it'll go to 99.5

#

my maths side of coding isn't the best lol

#

idk how to make the player fall without them ending up in a block :/

cursive jolt
#

Find all bounding boxes

#

Compute the mimimum distance where the X and Z overlap from the playerโ€™s bounding box to the bounding boxes

proud needle
#

god this is way more complex than i ever imagined lol

#

how can i get the bounding boxes?

#

ah found it

#

this seems more complex than learning a language lol

obtuse gale
prisma wave
cinder flare
cursive jolt
#

Agreed, Minecraft should have been written in assembly

sick belfry
#

nah it is how the base code was made

#

rewrite all of minecraft and make a v2 of the 1.13 chaos

cursive jolt
#

Fine, it should have been written in skript

obtuse gale
#

jython

proud needle
#

Scratch

onyx loom
#

gojure

sick belfry
#

nah lets make it on pure binary

cinder flare
#

i'm actually really surprised there isn't a python plugin interpreter for minecraft

distant sun
#

You arent searching in the right place

cursive jolt
#

jython

#

run python from java

#

although running javascript from java seems more popular

#

some plugins love it so much they create a new javascript interpreter every single chat message!

distant sun
#

Deluxechat didnt had any javascript

cinder flare
#

i mean, not a DeluxeChat thing, a PAPI thing

#

if you put a JS placeholder in a chat format, it has to be run on every chat message

cursive jolt
#

there was a plugin that created the javascript executor every chat message

#

if you reuse it, it's fine. But creating a new executor every message is bad.

cinder flare
#

at least for PAPI, that's not for the plugin to control

#

the plugin just calls PlaceholderAPI.setPlaceholders()

obtuse gale
#

guys

#

i have a question about discord, it's urgent, can someone help?

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

half harness
#

๐Ÿค” lots of people asking for discord support recently

static zealot
#

always has been

half harness
#

oh

#

maybe i just didn't see it then ๐Ÿฅฒ

static zealot
#

we're like 3rd search result under discord when you google discord help or something like that

half harness
#

mhm

#

well "HelpChat"

#

so

half harness
oblique heath
#

maybe a disclaimer should be added to the thing that pops up when you first join

obtuse gale
#

guys

oblique heath
#

something about this not being affiliated with discord

obtuse gale
#

if someone blocked me and i closed the dms and we have no servers in common, how can i open our dms?

half harness
#

maybe

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

half harness
#

oops

#

nvm

#

was just ready to type that

#

๐Ÿฅฒ

half harness
#

blocking = removing friend

#

and you can only DM friends or mutual servers

obtuse gale
#

nono

#

not talk to them

half harness
#

ohhhhhh

obtuse gale
#

read dms

half harness
#

oh

#

ic

#

hmm

obtuse gale
#

i have their ID number but idk if that can help

#

i isent them smth important and i need to download it

half harness
#

try pasting it somewhere like <@id> and right click -> message

static zealot
#

in the card or whatever

static zealot
#

as in any server

#

or your dms with someone else

half harness
#

anywhere ๐Ÿคท
or u can type it in like #bot-commands and delete it after u click message

#

ex typing @static zealot

obtuse gale
#

oh

#

thank you

#

that worked

#

thanks

half harness
#

๐Ÿ‘

#

np

obtuse gale
#

yay

#

:3

half harness
#

:D

obtuse gale
#

no wait..

#

it still looks like

#

'unkown user'

#

known

half harness
#

does it still work or no

#

@floral wren

obtuse gale
half harness
#

ah

#

Hmm :/

obtuse gale
#

I'm sorry to bother but it's important :')

obtuse gale
#

i have their tag and name too but

#

it doesn't let me add and look bc they blocked

prisma wave
#

What does that have to do with java lol

dawn island
#

isnโ€™t that outdated?

lunar cypress
#

how has haskell NEVER been mentioned in here before wtf

prisma wave
#

yeah very underrated

plain dragon
#

@obtuse gale find a server they're in

obtuse gale
static zealot
#

you can search messages from people using their ID

obtuse gale
obtuse gale
#

leave

static zealot
#

it 100% does

#

even after they're banned

#

or/and account deleted

obtuse gale
#

oh

#

thank you

#

blitz

#

omg

#

it worked

#

<

static zealot
#

no problem

ember shale
#

Rn I'm using aternos to run my server, though it's not good enough, only 4gb of space does anyone know a good, cheap server hoster?

lavish notch
static zealot
#

:kek:

lavish notch
#

You get 10GB disk space and can request up to 75GB for no additional cost

sly sonnet
#

dashflo / sparked

lavish notch
sly sonnet
#

oh

#

havent used it tho xd

lavish notch
#

ReviveNode does as low as $1/GB for EU, NA, and AU.

sly sonnet
#

damn, these cpus

acoustic relic
#

Hey i could use some he!p regarding plugins

ocean quartz
chilly zenith
#

bros askin for a host

#

and yall really sayin Sparked

#

๐Ÿ’€

static zealot
grim laurel
#

Does anyone know how to translate YAML file instantly

obtuse gale
sly sonnet
grim laurel
#

i need a translation from English to Serbian lang

sly sonnet
#

how I use it ^

grim laurel
#

i dont need it

#

i need a service

#

to translate

#

document (YAML)

sly sonnet
#

then use correct wording

#

and channel

grim laurel
#

it isn't config

#

for minecraft

#

just a 25KB Yaml file

sly sonnet
#

You are in development channel

#

read this channel topic

static zealot
#

don't see how this is related to minecraft tho?

#

I think they're in the correct channel

#

they want an app/website/service that can take in a yaml file and take all the strings and automatically translate them from one language to another.

grim laurel
#

yee

static zealot
#

Now I don't think there are any for what you need but it is the right channel

grim laurel
#

i really can't to translate 560 lines of code

static zealot
#

or at least I don't know any services that do that

grim laurel
#

if there is a way to translate instantly

#

ok

static zealot
grim laurel
half harness
#

can u send the yml file here?

grim laurel
#

to Serbian

static zealot
#

serbian

half harness
compact perchBOT
#
FAQ Answer:

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

static zealot
#

I mean someone might be able to "Easily" write something using google translate's API but I don't have the time

#

also its google translate lol

half harness
#

would that require making a google dev app thing

static zealot
#

so it might not be the best

static zealot
#

never used their api

#

I know they have one tho

grim laurel
static zealot
#

i was going to recommend you try deepl but they don't have serbian unfortunately so google translate it is

half harness
#

thats a lot of terms of service

static zealot
#

:)))

half harness
#

wait what its a trial?

#

A

grim laurel
half harness
#

ok nvm im not going to spend a trial ๐Ÿฅฒ sorry

dawn island
#

Requires a credit card/bank account on file in case you go over your limit.

half harness
#

maybe theres another api

static zealot
#

or I don't remember using it when I first started my trial. that was like 2 years ago

#

tho

#

you might be right tho nvm. I tried activating another account recently and it did require a debit/credit card with 1$ on it

static zealot
#

@half harness

half harness
dawn island
#

Never used it before, but may be beneficial.

static zealot
#

yeah. no serbian

half harness
#

maybe yandex

#

ok nvm u have to pay

dawn island
#

Is it a API you need? or one time.

half harness
#

ยฏ_(ใƒ„)_/ยฏ

grim laurel
#

is there any extension for google to google translate get a serbian latin

#

it can help me alot

dawn island
#

The issue with translating that file is that it'd mess up with the sections if you did it automatically.

static zealot
#

yeah. that's why dkim actually wanted an api

#

he wanted to make a little app for it

dawn island
#

I hit a character limit rip.

grim laurel
#

I found a site that only makes manual translation easier, it will definitely make it easier for me

dawn island
#

It's not perfect as it'd require manual line to line changes.

grim laurel
#

thank you for help, but i need latin and u translated everything, i know for google translate option but they don't have YAML option

dawn island
#

Simply go to google docs site, create a new document, move it over and download it as a docx and then change the translation language to Latin.

grim laurel
#

i think it is spanish

#

but know it is not serbian

dawn island
grim laurel
#

it isn't

#

for example we Notae say ||Beleske||

#

there is notae

dawn island
#

Cant' say it'll be correct, but good luck.

grim laurel
#

okay, now it text on spanish, but elements or how u call it is on english

distant sun
#

does anybody know a section on spigot or whatever where people put plugin ideas or something like that?

grim laurel
distant sun
grim laurel
#

MCMarket also has a requests plugin for money

dawn island
quiet depot
inner umbra
#

Could just read the developer requests and find ones that ask for specific plugins and make your own.

sand ridge
#

just started learning the spigot API, is there a library/framework for plugins that everyone uses? Or one that's just really popular like express for node.js

cinder flare
#

the library is Spigot lmao

#

Paper if you're fancy

prisma wave
#

Surprisingly there aren't many actual "frameworks" for spigot

#

Probably because the average spigot developer is incompetent and has about 3 minutes of java experience

hot hull
#

Not exactly a "framework" but a good set of utilities for plugins would be Matt's mf stuff I suppose

sly sonnet
plain dragon
sand ridge
#

ty so much that's exactly what i was looking for

#

will keep it in mind for when I'm more used to the spigot api

plain dragon
#

learn the spigot way of doing everything first

#

then move on to a lib like it

sand ridge
#

yeah that's what I always do with any language or api

#

learn the 'native' way first

prisma wave
#

based

latent dirge
#

Is grass too expensive for ya peeps?

#

I sell them for free

#

If thatโ€™s the case

lunar cypress
#

wot

distant sun
#

๐Ÿคฃ

ocean harness
#

ArrayList<String> lore = new ArrayList<>(ChatColor.translateAlternateColorCodes(config.getStringList("Items.Switcher.Lore")));

'translateAlternateColorCodes(char, java.lang.String)' in 'org.bukkit.ChatColor' cannot be applied to '(java.util.List<java.lang.String>)'

How can i fix this?

onyx loom
#

translateAlternateColorCodes doesnt take a List as a param, it takes a string

#

u need to pass each string in the list to that method urself

obtuse gale
#

you should try using adventure/minimessage instead of the legacy translateAlternateColorCodes though

ocean harness
#

just needed a for loop

obtuse gale
#

np

solar cradle
rotund egret
sly sonnet
#

no

obtuse gale
#

They omit the other f for aesthetic purposes mainly

ocean quartz
rotund egret
#

What's the MF

obtuse gale
#

motherfucker

#

I mean

#

beep

deep vale
#

Would it be possible to change wolf behavior so they are always attacking players of like a certain class / type

#

Instead of vanilla behavior

rotund egret
sick belfry
half harness
#

d;spigot Mob#getTarget

ruby craterBOT
#
@Nullable
LivingEntity getTarget()```
Description:

Gets the current target of this Mob

Returns:

Current target of this creature, or null if none exists

half harness
#

d;spigot Mob#setTarget

ruby craterBOT
#
void setTarget(@Nullable LivingEntity target)```
Description:

Instructs this Mob to set the specified LivingEntity as its target.

Hostile creatures may attack their target, and friendly creatures may follow their target.

Parameters:

target - New LivingEntity to target, or null to clear the target

trim knot
#

hi

#

i need some help

obtuse gale
#

don't ask to ask, just ask.

trim knot
obtuse gale
#

no

#

.notdiscord

#

aa what was the command

#

This is a minecraft plugin support server, mainly

#

so if you need help with discord, you have to look somewhere else

#

oh they already left

hot hull
pastel imp
#

Wait rlly?

#

Thought it was for Maniacal Friends

latent dirge
inner umbra
latent dirge
#

Vine is dead

#

Like ur humor

inner umbra
latent dirge
#

Ur in denial

#

Thats the first stage of grief

inner umbra
latent dirge
#

Its dead

#

Not alive anymore

inner umbra
#

"Archived" ;)

latent dirge
#

Just a clump of code not being used

#

Dead

urban sleet
hardy marsh
#

Guys, I have a slight question

#

My pc however turns every "I" to "ฤฐ" when I start the server so that causes every plugin that uses I in their enums or classes to break down

#

Any idea why is this happening?

ocean quartz
#

That's bizarre

hardy marsh
#

It really is

#

And I've been struggling with this for 2 years

#

I tried changing the language of my pc but didn't work

hardy marsh
hardy marsh
obtuse gale
#

Weird question but where is the server hosted? Geographically

hardy marsh
#

Turkey

#

It is a local host

#

But it is the same when I move it to a VDS

hardy marsh
#

But the pc shouldn't be able to do it I believe

obtuse gale
#

It's not your keyboard because you're typing I and it's not doing that lol

#

Can you run the server with -Duser.language=en -Duser.country=us flags?

#

And make sure the config files actually have I instead of ฤฐ too

hardy marsh
obtuse gale
#

It's okay, I believe you lol

hardy marsh
obtuse gale
#

Nah they mean different things, should still run with file.encoding

hardy marsh
obtuse gale
#

+rep for me

hardy marsh
obtuse gale
#

@ Matt#7079 and tell him I should be made admin in here

ocean quartz
#

Yes, totally agree

hardy marsh
ocean quartz
#

Well, nitro booster needs boosting, I'm all for admin though

obtuse gale
#

haha

sonic fog
#

My account got Comprimised can anybody help me

ocean quartz
#

?not-discord

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

neon anvil
#

any useful framework for configuration?

ocean quartz
plain dragon
dreamy terrace
#

Heii I bought the Guilds Plugin. But I have a problem now. I want to make the prefix of the guild I created shown but LuckPerms wouldยดnt let me. What can I do

distant sun
ocean quartz
#

That's pretty fucking impressive tbh

potent nest
#

they most likely just used asciiflow

#

we wrote an annotation processor once that generated code from ascii diagrams

nova venture
#

if i have a gamemode running on 1.12.2, on what version should i run the lobby? 1.8, 1.12.2 or the latest?

lunar cypress
remote goblet
#

hey, does anyone know what this system is called

#

in discord api

obtuse gale
#

interactions or whatever

pastel imp
remote goblet
#

huh its an application command

#

you know what

#

we look through discord.js documentation for it because i have fever dreams over their documentation

obtuse gale
ocean quartz
remote goblet
#

i do use JDA

#

no fever dreams over the api

half harness
#

JDA = cool

#

i wonder what it'd be like to make a discord lib

static zealot
#

TJDW

#

triumph java discord wrapper

half harness
#

btw shouldn't JDA be named Java Discord Library instead?

static zealot
#

Why?

half harness
#

i think

lunar cypress
remote goblet
#

Yeah i discovered it

tame bane
#

Hey guys! Anyone know someone for CCS coding fast and cheap?

#

For Tebex?

prisma wave
tame bane
#

Haha alright lol

tame bane
#

And what would be the cost difference?

prisma wave
#

up to you really

#

custom will generally cost more

#

but obviously is more flexible

tame bane
#

Yessir, thanks bro!

half harness
#

๐Ÿ˜Œ

sick belfry
#

how was it called?

inner umbra
sick belfry
#

nonono

#

context menus that

#

and they are part of application commands

obtuse gale
#

can someone help meh with this

#

C:\Users\teren\AppData\Local\Programs\Python\Python310\lib\site-packages\nextcord\health_check.py:20: DistributionWarning: discord.py is installed which is incompatible with nextcord. Please remove this library by using pip3 uninstall discord.py
warn(message, DistributionWarning, stacklevel=0)
Traceback (most recent call last):
File "C:\Users\teren\Downloads\cheapboosts.com Boost Bot Source Code\cheapboost\main.py", line 5, in <module>
bot = discord.Bot(intents=discord.Intents.all())
AttributeError: module 'discord' has no attribute 'Bot'

C:\Users\teren\Downloads\cheapboosts.com Boost Bot Source Code\cheapboost>python main.py
C:\Users\teren\AppData\Local\Programs\Python\Python310\lib\site-packages\nextcord\health_check.py:20: DistributionWarning: discord.py is installed which is incompatible with nextcord. Please remove this library by using pip3 uninstall discord.py
warn(message, DistributionWarning, stacklevel=0)
Traceback (most recent call last):
File "C:\Users\teren\Downloads\cheapboosts.com Boost Bot Source Code\cheapboost\main.py", line 5, in <module>
bot = discord.Bot(intents=discord.Intents.all())
AttributeError: module 'discord' has no attribute 'Bot'

C:\Users\teren\Downloads\cheapboosts.com Boost Bot Source Code\cheapboost>

obtuse gale
#

should be in line 5 in your program

#

but basically its trying to look for 'Bot' in 'discord' but it can't really find it. If I had to guess its just a capitalization error, but if the caps doesn't fix it then there's probably something you messed up from whatever guide you're following

#

I don't really do python though so I can't help any more than that

distant sun
#

was todo removed from IJ? At least for me, it doesn't create a comment with //TODO <date format> <text>

dawn island
#

Do you mean something like this?

#

Provided same outcome* with no space before TODO

distant sun
#

yeah, it doesn't work for me

dawn island
#

Do you have a plugin that is modifying your theme?

#

I do use a plugin, so it could also just be the plugin incorporating it for me.

ocean quartz
#

Still there

obtuse gale
#

ah yes... thanks

distant sun
#

๐Ÿคฃ

mint merlin
#

Im confused if this is the help chat for discord or just a specific thing bcuz this came up when i searched for how to get discords support number

compact perchBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

mint merlin
#

Do u guys want to know rhe website ur invite link is on then? Bcuz maybe u can ask to get taken off of it, it looks like this happens often since u have a command and all but srry for the mistake

static zealot
modern charm
#

hi, some one know how to limit cpu usage on minecraft server on windows.
like pterodactyl but on windows start.bat script.
i really need that. thank you.

oblique heath
#

the only way you can limit cpu usage like that which i can think of is either by running your server in a VM and setting a cpu limit on that, or by running it in a docker container on windows and limiting that

turbid geode
#

on my control panel I get this error Can't connect to daemon (111: Connection refused)

#

This was caused by rebooting the backend server which I think caused the port to change

#

the daemon is on ip 127.0.0.1 which I believe is local

#

how do I open the port?

#

ufw allow 25465 doesn't work

distant sun
#

Is there a software for URL tracking? Id like to add some ?ref=xxx stuff to some of my URLs

distant sun
#

Yeah, selfhosted