#dev-general

1 messages · Page 25 of 1

spring canopy
#

I liked that idea actually. I think its 1 per tick ye

brittle leaf
#

so the method i just described wouldnt make muchh difference

#

would just lessen the amount of looping required if your storing the players currently waiting to be teleported

#

i dont think that it takes up that many resources

#

its the loggers or player messaging that takes the longest if your doing it every tick ir whatever idk

spring canopy
#

Ill just keep it as is and find this comment again if it gets heavy :p

pastel imp
#

say what

prisma wave
#

?

pastel imp
#

ah fk

#

ignore it

#

its correct but I didnt read properly what was asked

#

it had to start at the red one

#

but mine was starting at blue

crude cloud
naive ingot
#
                    EntityPlayer ep = ((CraftPlayer)p).getHandle();
                    int containerID = ep.bU.j;
                    String message = "Time remaining: " + time + "s";
                    IChatBaseComponent chatTitle = IChatBaseComponent.ChatSerializer.a("{\"text\": \"" + message + "\"}");
                    PacketPlayOutOpenWindow packet = new PacketPlayOutOpenWindow(containerID, Containers.f, chatTitle);
                    // Send the packet to the player
                    ep.b.a(packet);```

Any one know how i can fix this flashing? Its like it removes all of the items from the inventory and then adds them back for some reason. Im just trying to change the title
inner umbra
distant sun
inner umbra
naive ingot
#

fawk, any other ideas?

blissful sluice
#

Has anyone got any experience with 1.18.2 NMS and entities not visually updating their position?

I'm trying to help a friend work out a problem he's been having but it's a bit beyond my knowledge (and he's the more experienced of the two of us :P)

Details here:
https://www.spigotmc.org/threads/588055

naive ingot
#

Im not sure if it comes down to a client side issue or what

#

If the flash wasnt as noticeable i work with it

brittle leaf
#

i ask cus flickering seems more like a ping problem then anything

#

tho i could be wrong

naive ingot
#

no, i’m testing on my host as i was at school. should i try local hose?

spring canopy
#

Is it me or is pagination a nightmare.

#

been trying to find ways to do it for 2 days in my code, but keep being one way or another that doesnt make it work

wind patio
#

No it's pretty simple

distant sun
#

it depends on your level of experience

rotund egret
#

Arguably that could be said about eating pasta

wind patio
#

Do you eat pasta with a spoon or a fork

sly sonnet
#

fork

#

or hands sometimes (if needed)

#

it really depends

wind patio
#

what about a teaspoon

queen saffron
wind patio
#

soup with a fork too? 🤓

queen saffron
#

No no that does get a spoon

quaint isle
#

Does anyone have 2+ monitors and minds sharing their window layout for JetBrains IDEs?
I been switching it around (or simply using default settings on a single screen) for years and I kinda want to decide on a layout and then stick to it for a while - got 3xWQHD both at home and at work now - but I need some inspiration 😢

#

Obviously it depends on what exactly one is working on, but I'd love to see how y'all do it 😄

distant sun
#

Idk I sometimes forget I have two monitors (laptop + external 27") and I just use the one in front of me because of its position and size lmao

#

But when I do use both I usually keep the main IJ window in front of me and on the laptop monitor I have documentation, config files etc.

wind patio
quaint isle
#

so you dont even move the terminal window to another screen? I feel like it takes up so much space if u leave it at its default position at the bottom 😄

wind patio
#

for one, you can minimize those things

#

secondly, I use my numpad for most of the keybindings, easiest way to remember/toggle certain things
such as distraction-free or zen-mode

#

Ex.
Ctrl + Shift + NP1 => Toggle Distraction free mode
.. NP2 => Zen Mode
.. NP3 => Toggle terminal
.. NP4 => Toggle Project view
.. NP5 => Toggle Commit View

wind patio
#

I use Putty or windows terminal

#

that also goes to the left screen

#

And for screen organization I recommend PowerToys FancyZones add-on

#

you can arrange these sections however u want, have as little or as many as u want, especially useful for wide monitors

#

you just hold shift while dragging a window and when you release it will snap into the selected zone, if you hold ctrl + shift, it will select multiple zones

distant sun
#

How on earth would you use that layout?

#

It feels exhausting just by looking at that, I don't want to see 14 windows opened kekW

wind patio
#

the more zones, the more customizability, if you use it for various tasks

#

ex. you can place a window directly in 7, or in 7 8 9 and 10 combined

ocean quartz
#

My layout is pretty simple

distant sun
#

yeah

#

I find it annoying to even stack two windows on top of each other

wind patio
distant sun
#

do you use the custom one?

wind patio
#

Custom for main

#

grid for left/right

distant sun
#

what do you even use the small ares for?

#

or are they there only to not have the big window to the edge?

distant sun
#

fair

quaint isle
#

I only have a custom layout for my left screen. Other two dont have zones.
Good point with the keybinds @wind patio, I unfortunately dont code every day (smol company, I do sysadmin + software design stuff and only some backend dev when there is time) so I tend to forget keybinds.
But I guess I really should get myself a cheat sheet with some keybinds I absolutely gotta learn. I am quite mouse-heavy for someone who's been in the industry for almost a decade 😄
The only shortcut I regularly use is probably shift shift 🥲

distant sun
#

And ctrl ctrl to run commands 🤣

worthy violet
#

hey someone I know was asking me if they should start with an easier language than objective-c or swift or if she should just start learning one of them also in which order she should start learning them any ideas?

cinder flare
#

She should definitely not learn objective c

#

Swift is all right to start if she only wants to make iOS apps

ocean quartz
#

Or you can go with Kotlin multiplatform mobile and not have to deal with those 😌

cinder flare
#

or React Native and not have to deal with those 😌

worthy violet
#

Okay thanks :3

quaint isle
worthy violet
#

yes first language ever

rotund egret
crude cloud
#

or don't use either

#

technology makes my brain feel funny

wind patio
#

Use scratch or smt idk

delicate sedge
#

Can someone recommend a premium Skyblock plugin, one that also supports multiple servers

eternal compass
#

Barry, what IDE do you prefer?

#

the AI's ignoring me ._.

rotund egret
#

The Ai ignores all

toxic trout
#

Don’t call him an AI that will hurt his feelings, he just wants to be a real boy

pallid gale
quaint isle
long dagger
#

@pallid gale is this normal?

rotund egret
#

Yes

naive ingot
#

Question, I was just talking to a buddy of mine about this and im curious what are the differences and which way is actually better.

So for getting the main class, i use dependency injection. Where i pass in the main class into the constructor of any class i need it in. My buddy uses a static instance in the main class and just does Main.getInstance() which way is the propper way to do it? I always thought static was bad which is why i started using DI as i used to do it that way aswell.

cinder flare
#

yeah DI is better since you can easily trace where that reference gets passed to, and it also eliminates invalid states like calling that static method before your class is fully initialized and stuff

naive ingot
#

as far as like performance and stuff like that is either way better? If so i assume one wouldn't affect it too much

cinder flare
#

eh I mean it can be argued either way, basically makes no difference

rotund egret
#

"Singleton Vs Static in Java" would be a good google for this

prisma wave
#

atomic bomb vs crying baby

#

i will let you decide which is which

distant sun
#

this channel is not for skript muttley

obtuse gale
#

sorry what channel should i go to

#

is there a channel for it?

distant sun
crude cloud
#

that would require the api to be compiled with not java 8 pepePoint

distant sun
#

Is it not ??

rotund egret
#

It is

crude cloud
#

this is like the most stupid thing ever considering minecraft requires java 17

distant sun
#

Why the italic

rotund egret
#

Emphasis

crude cloud
#

correct

rotund egret
#

Emily is known for being emphatic

distant sun
#

You can add it to the list of stupid things done by spigot em

crude cloud
#

I mean

#

Although the minimum requirement for compilation & usage is Java 8, we prefer all contributions to be written in Java 7 style code unless there is a compelling reason otherwise.

#

This is the entire reason org.bukkit.util.Consumer exists, rather than them using java.util.function.Consumer

#

Even though it is available for the target version they're compiling for

rotund egret
#

Part of the reason I like sponge is because they're not afraid to rewrite code for the better

distant sun
#

Java 7 ??

forest pecan
#

What is the best AC plugin?

#

for now.

half harness
agile galleon
#

yeah I love Vulcan

#

Spartan is more for PvP IIRC

#

idk if its still active but NCP is okay and Grim may be good in the future

half harness
#

last time i tested spartan was horrible for pvp
but i last tested spartan over a year ago
so

agile galleon
#

yeah idk havent used it for ages

#

utter shit support

wanton adder
#

anyone have experience converting deluxe chat to chatchat?

wanton adder
#

that didnt seem to help D:

cinder flare
#

how do you mean? it converts it for you, you put your Deluxechat config in on the left and it gives you out the ChatChat equivalent

wanton adder
#

i put in the deleuxechat config, and updated the new chatchat stuff, but it has all playernames as %playername% in a rainbow color

forest pecan
#

I got them both rn.

cinder flare
#

Ah yup, I see your messages in #chat-chat-beta. Still waiting on a new version of that converter!

forest pecan
#

Vulcan better reviews though

wanton adder
#

i just need to get a somewhat decent replacement for deluxe chat soon xD then i can find a more permanent solution

wanton adder
acoustic spade
#

Personally I use grim on a pvp server where we consistently average 350 players, gets about 800 bans a week (I enabled autobans) and about 10-15 are false, usually due to lag or Simulation falses

frail glade
#

@cinder flare WIP

humble loomBOT
sly sonnet
obtuse gale
#

vulcan is bad

#

many bypasses

sly sonnet
#

truuue

#

maybe on old versions

cinder flare
distant sun
queen saffron
#

I've been using Vulcan for quite some time and its defo the most accurate

#

and if i do find a bypass i report it and its usually fixed within like a couple of horus

foggy pond
#

Thanks IntelliJ

ruby dew
#

bro is writing a whole novel in intellij

pastel imp
pastel imp
#

although load times do suck a bit for me

frail glade
#

It's a little funky though

#

I need to fix it up somehow

#

You have to click on the top line vs anywhere

#

I fly out again tomorrow morning so it may be a next next week thing

cinder flare
#

Might be nice too, if there's too many problems with CodeMirror!

frail glade
#

Mfw I went off what you suggested on GitHub

cinder flare
#

well it looks pretty good! I'm happy either way lol

frail glade
#

Does it work client side? I'm only seeing server side stuff

cinder flare
#

I mean I would hope so? the link I sent is a React component for it, so it wouldn't make much sense if it didn't render on the client

#
Like other React components, this one also works with Next.js without a hitch. The part of the source that should be pre-parsed is optimized for server-side rendering, so, in usual cases, it will work fine, but if you want to have access, for example, to monaco instance you should be aware that it wants to access the document object, and it requires browser environment. Basically you just need to avoid running that part out of browser environment, there are several ways to do that. The one is described here

And if you use monaco with Next.js and have faced an issue different than the above-described one, please let us know to make this section more helpful```
frail glade
#

Awesome

blissful sluice
#

Was there a change between 1.12 and 1.18 in how entity position handling was done?
A friend of mine is updating a 1.12 car plugin to that uses armorstands and custom textures to 1.18 and there's a visual glitch of some sort where the client isn't seeing the armorstand's position changing despite the server knowing it's changed

brittle leaf
blissful sluice
blissful sluice
#

anyone have any clue what the issue is there, my guess is maybe some packets aren't getting sent or something?

blissful sluice
#

@distant sun this seems like the sorta thing that you might know something abt, got any ideas

rotund egret
#

The trick is to ping random people because their time is less valuable than ours

blissful sluice
#

fair enough

#

wait i just realised i can't tell if that's meant to be sarcasm or smth

distant sun
#

Sorry to disappoint you but is not

#

@ocean quartz and @crude cloud have more experience than me with the internals

crude cloud
#

wh

static zealot
#

wtf is that gif

distant sun
#

Did you visit cernobyl recently em?

crude cloud
#

i did not, why do you ask

distant sun
#

Where did the second pair of legs came from

crude cloud
#

western cartoon

ocean quartz
brittle leaf
blissful sluice
#

I had a look at the packets list and i saw a couple that might fit, any idea which one

delicate sedge
#

Can people help me with the auto tab completion function. Me as a operator of the server can do it. But my moderators can't..
How can I give them the perms or setting they can do this as well?

brittle leaf
#

update position if the movement is at most 8 blocks and teleport for anything higher

long dagger
#

I want to allow players to buy items from a shop, and I want to stay away from chest guis. I want something clean and easy to understand. Does this seem appealing or understandable? Is there anything I can do to improve it? (I removed the class of armor and class of tool for a icon, cause it was making the items wrap to the next line)

distant sun
#

Icons > text

misty nymph
#

Agreed

brittle leaf
#

ever since custom chest inventories were introduced i have to say id rather use them then anything before it

#

back in the day you had sign shops, chat based auctions, etc

#

any they are all so primitive feeling then a chest gui

#

and really annpying to use

distant sun
fierce walrus
long dagger
brittle leaf
long dagger
#

I was doing that, but I didn't like how it looked.

#

I feel like I could do pages per category to make things more organized and easier to understand

#

So there would misc, diamond tools, iron tools, bows, etc

#

I honestly don't know what is best. I am just experimenting. I am also trying to challenge myself with no chest guis, and finding creative ways to create interactive environments.

brittle leaf
#

like i said i pwrsonally much prefer using a chest interface then a book interface or whatever

long dagger
#

Yeah, I understand.

obtuse gale
#

d

long dagger
distant sun
#

Icons as in normal chest GUIs

long dagger
#

ah, that makes sense

pastel imp
#

sooo kinda going to an Amazon Workshop tmr

#

about AWS

#

question is, doesn't AWS have like 389824 services? lol

oblique heath
#

yes

#

🙂

tranquil crane
#

mocking players be like

crude cloud
#

I love mocking Nicole

#

my favourite hobby

tranquil crane
static zealot
distant sun
tranquil crane
#

I definitely didn't exclude the unknown entitytype from the stream

#

I blame bukkit for creating such an enum

distant sun
#

Fair

tranquil crane
#

I had PaintingPainting generate and I don't even wanna know what the chances of that were

distant sun
#

1 in EntityType.values().length * 2 kek

tranquil crane
#

the first word was any material name that didn't contain any underscores and the second word was any entity types that didn't contain underscores

distant sun
#

O.o

pastel imp
#

hell it was painful

#

and funny

#

they were explaining like what instances are etc

#

and were like "well this is x, but now you have another 5 services for it which have their own services" lmao

static zealot
#

sounds about right

pastel imp
#

well tbf, they said they have a bit over 200 cloud services xd

#

either way, it was pog, free pizza and had time to play in their game room

#

2 more days to go though, then I have to schedule an exam for the certification

obtuse gale
#

man im so bored but i cant post in frickin offer services again so noone will dm me

rotund egret
#

Its only been 4 days brother

remote goblet
#

im not eve gonna lie though

#

your post was so small and lackluster relative to the fuckin bible chapters people post in there

rotund egret
#

^ On top of being a service for something that's already pretty approachable (skript)

pastel imp
#

random question, next.js is a fullstack framework, is it worth using spring-boot as backend in that case? Would you recommend another front end framework instead of Next.js? (I am a Svelte fan although trying to get out of my comfort zone and learn new stacks)

wintry plinth
pastel imp
#

Although I am fully open for other people's POV and suggestions ^^

distant sun
#

I think is more about preferences especially on small projects. Aren't the most major js frameworks able to do front + back end?

#

I will personally use spring for backend on the next bigger web project because 1. I like java more than js 🤣 and 2. I want to learn spring

wintry plinth
static zealot
#

Good. They can take a toll on people

wintry plinth
wintry plinth
static zealot
wintry plinth
#

Ahh, then in which case whichever sounds most exciting. I've been slowly wanting to learn Next.js, so I can do Next.js + Laravel. Next has so much cool stuff to offer, defo a PlusOne to it

static zealot
#

@pastel imp you're also learning AWS right?, you could try some serverless stuff using AWS API Gateway, AWS Lambdas and one of the language they support (or any other language using images). You get 1mil free request for lambdas per month. Idk about api gateway.

#

Ah. Well I kinda forgot about storage. And they don't give a lot of that for free.

#

I believe they give 20 GBs of S3 for free.

wintry plinth
#

Thats a ton tbf

static zealot
#

Yeah. But it is S3. Not great for everything.

#

Nvm. It isn't 20 anymore. It is just 5

wintry plinth
#

Ah shit yeah, forgot thats just file storage for uploads

static zealot
#

and only the first 12 months. for learning I guess it is enough

#

Oh. They have free tiers for the other storage types like databases as well.

#

You can basically have 1 RDS instance running permanently and that gives you 20GBs of storage and another 20 for backups

#

So it isn't that bad

#

If anyone else is interested, they have a page listing all of their free services. Most are for the first 12 months https://aws.amazon.com/free/, some are permanent and some are just 7 to 30 days. All is listed there

cinder flare
pastel imp
pastel imp
#

and pricing isn't an issue, I will get a gift card at the end of the program xD

#

so I will be just fine for a while with AWS

pastel imp
pastel imp
#

1 region = 3 or more availability zones, each zone is ~100km apart (random stuff I learned lol)

static zealot
pastel imp
#

AKA you have backups of backups and even if 2 data centers are on fire, you will be just fine

#

lol

static zealot
pastel imp
#

probably same as I did lol

#

well, am doing*

static zealot
#

Mine wasn't from AWS. It was an online course from a third party coursing website. Can't remember the name right but pretty popular, paid and starts with P.

#

Pluralsight. That's the name

pastel imp
#

never heard of it

static zealot
#

Well, it is pretty popular. There are some great courses there. Most if not all are paid tho.

pastel imp
#

the program I am doing rn is called Up:Skill in STEM

#

apparently it's an extended version of the AWS Cloud Practitioner Essentials course

static zealot
pastel imp
#

yeah

#

that's what I meant with the whole is on fire

static zealot
#

Some more interesting stuff: https://www.youtube.com/watch?v=iO1mwxPNP5A

AI tools like ChatGPT and GPT-4 are changing the way programmers write code. Learn how build a React app with Typescript using with AI prompting and other tricks to speed up development.

#ai #programming #tutorial

💬 Chat with Me on Discord

https://discord.gg/fireship

🔗 Resources

▶ Play video
#

I feel like tester jobs are going to be more common.

wintry plinth
#

Crazy how far AI has become

pastel imp
#

I might go with a react front and spring boot back?

#

sounds cool

#

I am unsure if I will use any aws services

#

lambda sounds cool but at the same time eh, idk

#

maybe a mix of lambda + dynamo?

#

unsure

#

For context, I have a mini project I wanna start which is for a movie club of a friend of mine (book club but for movies), so it would display movie of the week, review, where to watch it, etc.

static zealot
#

I mean it was just a suggestion since I knew you were learning it. You could just use the free EC2 machine to run your backend on that.

pastel imp
pastel imp
cinder flare
# pastel imp I might go with a react front and spring boot back?

you definitely want to use some sort of framework for React. CRA is dead, if you want something similar with no SSR or anything, create-vite is where it's at. If you want a real framework, Next is the big one, but I really like Remix, so possibly worth trying out!

brittle leaf
#

porting a plugin from 1.19 to 1.12.2 is not very fun, i forgot how much half the features of newer java versions i enjoyed like enchanced switch statements

#

the -> was so nice

#

and grouping multiple cases together in one line was amazing

#

i want to try out developing for different versions, see was different, see whats missing, etc

#

like for 1.12.2 the raytrace api doesnt exist, so i have to go through the spigot stash, figure out how they did it so i can attempt to implement it myself, wow its fun

pastel imp
#

although not widely used soo eh

brittle leaf
cinder flare
# pastel imp Thoughts on Astro?

Astro is really cool for mostly static sites, but it is still pretty young. For a dashboard, you definitely want something like Remix or Next

pastel imp
#

Okay, thanks a lot

buoyant edge
wind patio
#

must've been hard to code

buoyant edge
#

😂

#

realllyy hard, i was swetting when i was coding it

buoyant edge
distant sun
#

I wonder why

wind patio
#

yeah I don't know either

tardy talon
#

Ok i have remove **hide_enchantments: true **

#

THATwork

buoyant edge
#

😂

tardy talon
#

Why, I don't know because it worked before but hey...

buoyant edge
static zealot
#

Also, we're still backlogged with older requests

wind patio
#

let me make a new application system

#

🤓

buoyant edge
#

Yes let him make it.

#

Make him sweat

wind patio
#

hmu when you have more than 2 repos in your bag

#

🤓

wintry plinth
#

What’s the prize?

wind patio
#

not you 🤓

wintry plinth
#

😂

wind patio
#

been slacking off lately, gotta work my bachelors' degree project

#

😩 🙏

static zealot
wintry plinth
buoyant edge
#

i online want 0

#

only*

static zealot
wintry plinth
static zealot
#

You've never eaten a potato with a fork?

wintry plinth
#

No, I cut it up first 🤨

static zealot
#

hmm

#

I never thought about that as an option

wintry plinth
#

🥲 how you been? Long time no speak

static zealot
#

//////\/////// something like that. up and down up and down

wintry plinth
#

What do you mean?

static zealot
#

well... discord removed all my backslashes

#

I forgot those do something

wintry plinth
#

Oh now that makes sense 😂 how comes?

static zealot
#

that's how life works

sly sonnet
#

//////\///////

half harness
crude cloud
#

hey same!

distant sun
prisma wave
#

omg same!

static zealot
#

Omg same

oblique heath
#

very real didnt fake

remote goblet
#

not me being poor on repos

naive ingot
brittle leaf
#

id just try that to see what happens

naive ingot
prisma wave
#

21 is technically the latest

naive ingot
#

which one should i use?

#

i was on 17.0.1

brittle leaf
#

if your working on 1.19.x then you should be using java 17

forest pecan
#

I have a slide problem with itemedit enchant, ive putted a Protection 5 on armor players cant die anymore somebody knows how to fix this?

brittle leaf
#

tho there has been some issues with protocollib breaking damage, so id suggest you update protocollib to latest, or latest dev version if on 1.19.x

#

just to make sure

#

also sounds like your not doing any form of coding, which id assume your better off looking for help in #general-plugins or #minecraft

vestal bobcat
#

im making a event and i need when people join the world i need the players to join with a cpvp kit

#

could anyone help me

brittle leaf
#

if its a one time kit, then store if the player has been there before, if so dont give it, also check if on teleport that the teleport is from a world not the event world

bronze olive
#

is there a way to check a doublechest witch side i clicked left or right?
i tried it with.`
1.

Chest chest = e.getClickedBlock();
if(chest.getType().equals(Type.RIGHT){

2.

Chest chest = e.getClickedBlock();
if(chest.getBlockData().equals(Type.RIGHT){
brittle leaf
#

thatll return either left, right or single

#

depending on the type of chest it currently is

#

Chest is a subclass of BlockData, so you have to cast BlockData to Chest to beable to use the Chest specific methods

#

chest.getType would return Material, not the Chest.Type enum,
chest.getBlockData() turns BlockData, not the Chest.Type enum aswell. so they would both always be false

inner umbra
brittle leaf
timber oak
#

I completely forgot where to create minecraft plugins in intellij lol, the IntelliJ plugin minecraft development doesnt support 1.8 anymore, how can I else do it?

#

I'm on a new PC and forgot how to set it up

timber oak
#

Is there no other option that just adding the dependencies and repositories?

hard dagger
#

Is that too hard

#

U could make a github repo template thingo

half harness
#

i dont think there should be many differences

timber oak
#

Ah yeah true, ty

brittle leaf
#

yep you legit set the version to 1.12, then when the project is generated, change the spigot version in either the pom.xml or whatever the gradle one is to 1.8.8

#

easy as pie

timber oak
#

What is the GUI API made by someone in here called? I forgot the name of the API

distant sun
#

triumph-gui

timber oak
#

Ah yeah, ty

#

Best API I've seen for GUIs

quiet sierra
#

ehh it lacks a bit

gusty fulcrum
#

What’s the most efficient way to save play date to MySQL? CompletableFutures? Then cache the data until the player leaves? How often would you update the data for example player kills, straight after they got a kill or??

wintry plinth
brittle leaf
#

id periodically update the db every 10 minutes or so

#

you could probably do it less often if you wished

#

just means that if the server crashes for whatever reason all the progress done since you logged in isnt lost

#

its just from the last update point

gusty fulcrum
#

Okay thank you, would you say using CompletableFuture is the most efficient way to post and get the data?

wintry plinth
#

POST? Are you looking to directly communicate with MySQL or go through an api then?

gusty fulcrum
#

Go directly to MySQL

#

I’ve already got that all setup with CompletableFutures implemented as well I was just wondering if it’s the best solution

prisma wave
#

but you should be doing the queries asynchronously if that's what you're asking

gusty fulcrum
#

So using CompletableFutures is a good idea…

#

Thanks

cursive jolt
#

make sure to handle exceptions in futures

cursive jolt
gusty fulcrum
#

Okay thanks

lofty cosmos
#

What server is this for? I forgot

pallid gale
half harness
#

☁️

placid bear
#

where can i find support for the deluxemenu plugin

#

ill just ask here. Is it possible to make it so when someone joins the menu will show up automatically and they cant exit the menu until they select somehting

half harness
primal heart
#

how do i change the server ip address on the scoreboard that’s usually on the right of your screen? for minecraft.

wind patio
#

what

sly sonnet
#

usually?

primal heart
# sly sonnet usually?

i’m making a minecraft prison server and idk how to change the names of things like crates and stuff like that, because i have never done this before

worthy violet
#

Does anyone here use vs code for java development I am thinking of switching from IntelliJ since I do a lot of different coding with Web, Backend, etc. and I dont want to spend 100+ for the Ultimate edition just to get syntax highlighting.

cursive jolt
#

I have ultimate from github student pack - maybe you could do that

prisma wave
#

or you could use intellij for java and vscode for everything that isnt java?

sly sonnet
worthy violet
#

how well does intellij handle files being edited from outside the IDE, do I need to frequently refresh the project?

remote goblet
#

i don't think you do

#

refresh the project? no

crude cloud
#

doesn't ij refresh itself

#

file watchers etc

remote goblet
#

i think so

wintry plinth
#

I just use IntelliJ for plugins, and PHPStorm for anything web

worthy violet
#

Ah okay thanks

remote goblet
#

I use intellij for plugins, apple notes for everything else

wintry plinth
remote goblet
#

i was trying to decide whether i was gonna say that or windows notepad

wintry plinth
#

Notepad++ gang

remote goblet
#

notepad++ is somewhat acceptable

#

not by much but

#

Windows sticky notes

#

gang shit

wintry plinth
#

Also long time no speak Ori

remote goblet
wintry plinth
#

How you been?

remote goblet
#

alive

#

at bare minimum

wintry plinth
#

hahaha why

remote goblet
#

life you know

#

v boring

wintry plinth
#

You not at college/uni or anything?

remote goblet
#

nope

#

a true incel who sits at home on games all day rooSussyHD

distant sun
wintry plinth
#

What games tho? 👀

remote goblet
#

i have been a uh

#

achievement hunter recently so ive been like 100% games so recently a decent amount of resident evil and rouge lites

wintry plinth
#

Omg resident evil, I love that game

remote goblet
#

whatever my brain likes to focus on intensely at that time really

wintry plinth
#

I've just been grinding Call of Duty MW2 for the camos, ~110h in rn and still got so far to go 😢

remote goblet
#

I really wish I had motivation to play any new call of duties but they're all kinda Bedge

stoic bloom
#

Next season it looks like it’ll be pretty good

remote goblet
#

i literally haven't played a call of duty since bo4

#

they're all just copy pastes of the same game its so boring

#

but men just fuckin eat that game up

#

no company should release a game every year under the same title

old wyvern
#

Fi

#

Fa

golden sun
#

Is Minestom worth using?

rotund egret
#

Minestom saved me from a burning building

potent nest
#

depends

golden sun
#

Is it stable enough to use in a production sense?

crude cloud
#

is it stable? yes, but whether you should use it or not really depends on what your goal is

#

for running a survival server? absolutely not, minestom has like no features at all

#

for running a limbo or a hub/lobby? yes! it's perfect for those kinds of things

golden sun
#

I was gonna end up building a gamemode on it.

static zealot
#

That is possible. It will just take time

golden sun
#

I guess my issue would be somehow connecting non-minestom server to minestom servers

#

Hm.. Alrighty then. Appreciate the input

rotund egret
#

No prob6

pastel imp
bronze olive
obtuse gale
#

anyone know?

golden sun
#

It's a head

distant sun
humble prism
#

OSRS

glad sorrel
#

Hey i need help to build a multi maven project, i dont understand how it works i get many errors, i want to create a minecraft plugin that can be used on 1.8 - 1.19.3

wintry plinth
# glad sorrel Hey i need help to build a multi maven project, i dont understand how it works i...

Does it need to be maven, or are you comfortable with gradle? (It’s much faster!)

I made an example 1.8-latest setup, https://github.com/heychazza/minecraft-plugin-template uses gradle tho

GitHub

Streamline your plugin development with our pre-made Minecraft Plugin Template. - GitHub - heychazza/minecraft-plugin-template: Streamline your plugin development with our pre-made Minecraft Plugin...

inner umbra
glad sorrel
#

Because of two methos of 1.17.1 and 1.18.1 are named the same and have the same funktions but have other inputs, thats why i need seperated projects

glad sorrel
wintry plinth
glad sorrel
#

This is the code for 1.17.1:

        byte[] bytes = getBytesToSend( key, messageContent.toString() );

        PacketDataSerializer pds = new PacketDataSerializer( Unpooled.wrappedBuffer( bytes ) );
        PacketPlayOutCustomPayload payloadPacket = new PacketPlayOutCustomPayload(new MinecraftKey("labymod3:main"), pds );
        //((CraftPlayer) player).getHandle().b.sendPacket( payloadPacket );
        
    }```

And this for 1.18.1:
```public void sendLabyModMessage( Player player, String key, JsonElement messageContent ) {
        byte[] bytes = getBytesToSend( key, messageContent.toString() );

        PacketDataSerializer pds = new PacketDataSerializer( Unpooled.wrappedBuffer( bytes ) );
        PacketPlayOutCustomPayload payloadPacket = new PacketPlayOutCustomPayload(new MinecraftKey("labymod3:main"), pds );
        ((CraftPlayer) player).getHandle().b.a(payloadPacket);
        
    }```
wintry plinth
#

Ahh ok, so it’s NMS stuff you’re dealing with here?

glad sorrel
#

Yea

wintry plinth
#

In that case, you’d just have a common interface, then depending on the plugin version you’d load that in. Let me find the tutorial for that

wintry plinth
#

Check out the above, should get you what you need 😊

glad sorrel
#

The Problem is that i can make the Plugin from 1.8-1.17.1 to work or to work with (1.8-1.16.5,skip 1.17, 1.18.1-1.19.3)

#

My plugin already supports 1.18-1.17.1 with the inferfaces.
I dont know how to describe the Problem so you understand

agile galleon
#

is chazza back?

ocean quartz
#

paperweight-userdev will save your life if you need to work with NMS

agile galleon
#

^

ocean quartz
#

I'm sorry, I forgot you're against modernity

glad sorrel
crude cloud
#

the api has existed in bukkit since pre 1.5

wintry plinth
crude cloud
#

i just linked paper javadoc because that's what i have bookmarked and only a very slim % of servers don't run paper or fork anyway

inner umbra
#

Can't use paper without spigot 😉

ocean quartz
#

That's not how that works

agile galleon
#

Can't use spigot without bukkit 😉

inner umbra
agile galleon
#

Why don't you just use the original NMS jar??

crude cloud
#

yes you can

agile galleon
#

without it nothing would work

crude cloud
#

there are bukkit implementations that are not craftbukkit lol

ocean quartz
#

You can even add your own, will it work? Probably not, but you could

agile galleon
#

yeah Yapper why dont you make your own server?

#

oh nvm

inner umbra
#

Hehehe

wintry plinth
#

I think there are times when it’s needed to cover all server types, like for me I’d have to cover all types, from 1.8+ just because of supporting them

inner umbra
agile galleon
#

what

crude cloud
#

what

#

if you use glowstone, you are using bukkit without craftbukkit

inner umbra
crude cloud
#

literally no idea what you're trying to say

agile galleon
#

he means searching in the repo

crude cloud
#

yeah and what about it?

agile galleon
#

ilhfi

inner umbra
crude cloud
#

glowstone is not craftbukkit lol

#

you can totally use bukkit without cb

agile galleon
#

^^^^^^^^

inner umbra
#

16 results for craftbukkit 🤦

crude cloud
#

yes it will show that if they have "craftbukkit" inside a string

#

doesn't mean you are using craftbukkit

inner umbra
#

Seems like its using classes from craftbukkit to me.

crude cloud
#

not really no

potent nest
agile galleon
#

seems like you cant read tbh

#

9 of those are in text/comments

#

the others are just there to ensure compatibility

crude cloud
rotund egret
#

Oh isn't that an implementation of the server in the api?

inner umbra
#

Compatibility is still using it 🤦

crude cloud
#

literally no lmfao

agile galleon
#

no??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

crude cloud
#

there is no org.bukkit.craftbukkit.entity.CraftPlayer

#

or, like, literally any single thing like that

#

it does not use any cb classes

inner umbra
#

Ah yeap misread the build.kts

#

Aight. You right xD

rotund egret
#

Classic emi

brittle leaf
#

from a quick look, it looks like glowstone replace Craft classes with its own,

#

well not replace, but in terms of comparing craftbukkit and glowstone thats what it is i think

#

or atleast what it looks like

crude cloud
#

it has no CB code

brittle leaf
#

id assume not

cursive jolt
#

technically glowstone could reimplement paper-api rather than bukkit

rotund egret
#

Then it wouldn't be glowstone

hard dagger
#

why not

rotund egret
#

Because it would be something different

potent vale
#

Why is java chosen instead of c++ for minecraft

hard dagger
half harness
#

notch & jeb

#

then later microsoft decided to use cpp for bedrock edition iirc

potent vale
#

Ahh cause java is slow af

half harness
#

lol
that's where win10 edition comes in 🙃

#

they didn't remove java edition since the playerbase was already huge

potent vale
#

Good thing they made it but, it feels incomplete

#

Pls dont woozy face the msg it makes my dog anxious

hard dagger
#

from what ive seen most benchmarks put it within 2x of c

#

for throughput at least

#

startup isnt as good cuz of the jvm tho

potent vale
#

I dont like the idea of jvm itself

hard dagger
oblique heath
#

is it because the jvm is competing for your niche as a three letter name that starts with j

hard dagger
#

lmao

potent vale
#

Yes

#

But c++ i wayy faster than expected in alot of things

half harness
#

in a lot of things, the performance difference between java and cpp doesn't matter or isn't as important

#

that's where java comes in

potent vale
#

Thats also why they mostly use c++ for games and other performance heavy task

half harness
#

yes

#

java was also a tiny game made by 2 devs

#

not java

#

minecraft*

#

🥲

potent vale
#

I think that must be it

#

Would only use java if performance doesnt matter

#

But in games, max fps is preferred

#
  • java uses more ram too uwu
half harness
#

java is also more user/dev friendly

potent vale
#

Yeahh

#

So thats it i think

oblique heath
#

i think generally games prefer being released in a reasonable amount of time over being delayed indefinitely to get better performance

half harness
#

hytale

#

🙃

potent vale
#

Time maybe too yes

#

Well lets make python games from now it

#

Quick dev time

oblique heath
#

true

half harness
#

pygame

#

😌

#

WHY

potent vale
#

Gnna make last of us 3 solo 😂

half harness
#

:relieve is not :smiling_face_with_tear:

half harness
#

10x faster than java edition

#

5x faster than bedrock edition

potent vale
#

Lmaao

#

Python outclassing cpp oh

half harness
#

optimizations 📈

potent vale
#

Maybe

pallid gale
#

fingerguns is the only real emoji

potent vale
#

I like c, c++ for performance mostly though cause it can talk directly to the os and hardware

oblique heath
#

you'll love assembly

#

or if you want to be portable, how about coding directly in llvm?

rotund egret
#

Rust 😌

oblique heath
#

not low level enough

#

if it doesn't expose the registers, do better smh

potent vale
#

Lets try changing transistors with power instructions

oblique heath
#

oh we're going full fpga

#

i can vibe with that

inner umbra
#

So if I make a class similar too someone else's, how similar is too similar to no longer be called my own.

Working on making some of my own reflection methods and my class is very similar to a reflection class I think from protocollib.

lavish notch
inner umbra
inner umbra
#

So it doesn't copy the class exactly but the methods/interface or very closely matching and really was hesitant about using it but anything else would use a shit ton more methods/classes to replicate.

potent nest
#

you can either a) write something yourself from scratch, don't look at any source code to "inspire" your code, or b) copy the code and properly write down where you got it from, respecting the license

inner umbra
inner umbra
potent nest
#

If it's trivial enough that basically everyone would write it that way, it really doesn't matter anyways

hard dagger
#

yeah then its def fine

#

cuz looking at ur code ive even written smth similar to that

#

just a simple reflection wrapper

inner umbra
#

Yeah for example how else would you loop through the fields/methods. Near everyone would have that same code.

inner umbra
rotund egret
#

Simply pretend you didn't see it

distant sun
#

You take the items and dupe them, fairly easy

distant sun
rotund egret
#

Does anyone know/have resources for adding a compile-time warning in IJ?

rotund egret
#

Ooh I hadn't seen that, I'll read it over. ty

#

Apparently I'd have to write a plugin, which I expected as much. ty again

cursive jolt
#

you can teleport people without teleport event closing their inventory without an event

#

or something like that

static zealot
#

@half harness, what you working on?

cursive jolt
#

lilypad dupe!

half harness
#

repo

#

:(

static zealot
#

yeah but what you working on?

half harness
#

but it's not working well lol

#

uhh

#

plugin

static zealot
half harness
#

that hooks onto its api

half harness
static zealot
#

going to talk with glare about making the api available thru a repository

half harness
#

👀
its also beta so I don't think putting it on like maven central for ex is a good idea

static zealot
#

nah glare has a repo

#

we can probably put it there

#

also surprised helpchat doesn't have one

#

so maybe that can change

half harness
#

ill just use jar 🥲

forest pecan
#

Hi guys i have a small problem somebody know where the /channelinfo is comming from with plugin

#

?

#

I think its from DiscordDRV

#

I cant change my channel back to global.

distant sun
#

wrong channel

scenic oak
#

So I'm having issues trying to implement minecraft horns in my plugin for 1.19.2. It would appear that MusicalInstrumentMeta class is not in the 1.19.2 api but the horn items are. Anyone know what I can do to fix this?

distant sun
scenic oak
distant sun
#

ah

#

well then check the item type?

scenic oak
distant sun
#

it was probably not fully implemented in that version

#

maybe paper has it

scenic oak
#

I mean goats fully exist in 1.19.2

#

and you can use the api to summon goats and set which horns are enabled/disabled (on the entity)

Moving to support

brittle leaf
#

convert the bukkit itemstack to an nms stack, get the compound tag and the string tag of instrument i believe

#

the minecraft wiki will have info on the the nbt tag is called if its not instrument

#

you could also use reflection to get the value afaik

#

since nms used to be and craftbukkit still is version dependent

crude cloud
#

i mean if it's just for 1.19.2 i don't see why you'd use reflection really, the version is already unmaintained so it's not like things are gonna change

brittle leaf
#

i just suggested it

#

i know theres a way to do like version dependant stuff so you like compile with different versions at the same time

#

for different classes

#

like having a class for each nms thing

#

version

#

idk what thats called but ive seen it done

prisma wave
#

theres not really a special name, thats just abstraction lol

#

usually you'd want a multi-module project for that setup though

distant sun
distant sun
#

I was reading the description of this method to see under what circumstances it would be null and I was thinking "did someone just put a random spanish word in here?" 🤣

cinder flare
#

old english 😌

distant sun
#

Have you guys seen this?

wind patio
#

slash commands 😩

#

big influence by minecraft

#

first discord, now github

#

🤓

static zealot
distant sun
#

¯_(ツ)_/¯

wind patio
#

whats no access!!!!

distant sun
#

#🔒No Access

wind patio
#

#🔒No Access

static zealot
static zealot
wind patio
static zealot
#

💯 no cap

static zealot
distant sun
#

it must've been added in the past < 2 days

#

looks nice

static zealot
#

2 hours maybe. at least I didn't have it personally 2 hours ago

#

I know it has to do with a feature preview but I've had it enabled before

distant sun
#

I'm still waiting for refined github to be updated to support the new ui smh

static zealot
#

Considering it is a beta feature, I wouldn't get my hopes high

distant sun
#

😦

#

all I want is the file icons

static zealot
#

I like the new code stuff but I gotta say, it is very slow sometimes.

static zealot
distant sun
#

😛

languid zodiac
#

can one of yall legit just build my fabric mod for me

#

like just the gradlew build part

half harness
languid zodiac
half harness
#

Although for github actions, it results in a zip

#

So you have to open the archive every time

languid zodiac
#

it shouldnt even be looking for that it should be looking for the java 20 one 😭

#

but idk how to make it look

distant sun
#

I think if you run the build command via CLI it will use the version JAVA_HOME points to

languid zodiac
#

im doing it in terminal

#

im tryna build a fabric mod

distant sun
#

ok you can add this argument to the command -Dorg.gradle.java.home="path to java 20"

languid zodiac
#

so i should run gradlew build -Dorg.gradle.java.home="path to java 20" ?

distant sun
#

yeah but with the actual path obvious

languid zodiac
#

wdym actual path im confused like the file path or the system variables one

distant sun
#

C:\Program Files\OpenJDK\<version>\bin should be enough I think

#

so where java 20 is located in your pc

languid zodiac
#

wait so if my path to it is C:\Users\jimmy\Dropbox\My PC \Downloads\lob-helper-template-1.18.2 what would the cmd be

distant sun
#

it is not relative to your path since you specify a full location

languid zodiac
#

im so confused 😭

distant sun
#

Just put the location of jdk 20 lol

languid zodiac
#

wat do u mean

#

-Dorg.gradle.java.home="path to java 20" where in the snippet does the location go

half harness
#

if you put that into command prompt

#

also what version of minecraft are you developing for?

languid zodiac
#

C:\Program Files\Common Files\Oracle\Java\javapath\javac.exe
C:\Program Files\Java\jdk-20\bin\javac.exe

half harness
#

press windows key, type env, press enter
Click "Environment Variables" at the bottom right

#

then where it says "System variables", if you scroll through the list, is there a Variable named JAVA_HOME?

#

If so, make sure the Value is set to ```
C:\Program Files\Java\jdk-20

languid zodiac
#

okay did that

half harness
# languid zodiac okay did that

and in Path, click Edit..., and delete anything related to Java and then press New and add %JAVA_HOME%\bin and Move Up to the very top
Then click OK out of all the menus

#

after that, any apps that use the terminal (whether that's just command prompt, your IDE, or your text editor) must be restarted in order for these changes to take effect

half harness
# languid zodiac okay did that

if you want to make sure it worked, run echo %JAVA_HOME%into command prompt and it should output ```
C:\Program Files\Java\jdk-20

And run ```
echo %PATH%
```and you should see ```
C:\Program Files\Java\jdk-20\bin;....other stuff....

and finally ```
javac -version

languid zodiac
#

okay

#

now should i try running it again?

half harness
#

sure

languid zodiac
#

like restart or close and reopen

half harness
#

oh not restart just close and reopen

languid zodiac
#

same exact error

#

The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\OpenJDK\jdk-8.0.352.08-hotspot\bin\java.exe

languid zodiac
#

i did they all did what they were supposed to

half harness
#

what program are you using?

#

to develop

languid zodiac
#

wdym

half harness
languid zodiac
#

yes

half harness
#

okay what is javaHome?

languid zodiac
#

how do i find the answer

half harness
#

or send build.gradle(.kts)

languid zodiac
#

it opened up vscode studio and said stuff in command prompt

half harness
#

uh

languid zodiac
#

ye

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

half harness
#

or that

#

whichever you prefer

#

¯_(ツ)_/¯

languid zodiac
half harness
languid zodiac
half harness
languid zodiac
#

gradlew build or gradlew run

half harness
languid zodiac
#
  • What went wrong:
    The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\OpenJDK\jdk-8.0.352.08-hotspot\bin\java.exe

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

half harness
languid zodiac
#

yes

half harness
#

in the project

languid zodiac
#

yes

half harness
#

can you paste the contents of that here?

languid zodiac
#

Done to increase the memory available to gradle.

org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

Fabric Properties

check these on https://fabricmc.net/develop

minecraft_version=1.18.2
yarn_mappings=1.18.2+build.4
loader_version=0.14.19

Mod Properties

mod_version=1.0.0
maven_group=com.example
archives_base_name=lob-helper

Dependencies

fabric_version=0.76.0+1.18.2

half harness
#

lol

#

the discord formatting

#

wait so you're running this in command prompt?

languid zodiac
#

ye

half harness
#

hm

languid zodiac
#

i trust u but how does all of this relate to the missing jde file hotspot thing

half harness
languid zodiac
#

k

half harness
#

I have no idea at this point without sending all files
Can you upload this to https://github.com so that I can take a closer look and possibly clone it to try building it myself?

GitHub

GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...

languid zodiac
#

sure

languid zodiac
#

i sent a link

half harness
#

I'm getting a different error, and it seems like you've got some other unrelated errors such as java errors too
I don't have the time for it right now to fix it, especially since I'm unable to get the error you're having

#
  • I've barely ever used fabric api, so I don't really know how to fix the fabric api errors
languid zodiac
#

oke

naive ingot
ocean quartz
#

@jagged frigate Javascript .. for plugins? thonk

distant sun
agile galleon
#

Doesn't really matter for people that don't program plugins either

half harness
#

wow 50 an hour

#

👀

tranquil crane
#

I believe it should be illegal that you can't pass a String[] to a method that takes an Iterable<String>

crude cloud
#

Arrays.asList?

#

lol

#

or even worse

#

Stream.of(arr)::iterator

#

that's my favourite

tranquil crane
#

bruh go away

#

I used List.of

tranquil crane
crude cloud
#

that will make a copy of the array, Arrays.asList won't

#

soooo unless you need that safety guarantee, don't use it? :3

half harness
#

how does Arrays.asList work if it doesn't copy?

crude cloud
#

it's a live modifiable view of the array as a List

hard dagger
#

yea ^

junior zealot
#

hi i want to ask is that possible to add aliases or change /tags for deluxe tags command? And also how to force player on join get [Member] tags and they can change after they /tags select

#

it seems when I enabled the force_tags , then they cant to change the other tags

junior zealot
#

guys i really need help, can any pro help me pls?

tranquil crane
#

it's using Arrays.asList now :)

#

I see now that the javadocs literally says it's backed by the array

potent nest
#

fun fact: List#set specifies that a ClassCastException must be thrown when storing incompatible objects in the list, but the list returned by Arrays.asList throws an ArrayStoreException instead

tranquil crane
#

another obnoxious fun fact which is what actually confused me, the ArrayList used by Arrays.asList is actually a different implementation than java.util.ArrayList with the exact same name and package which makes it incredibly easy to mix up

#

so when I saw this I assumed it made a copy just like the normal ArrayList constructor would for a collection

#

primitive arrays not implementing Iterable should still be illegal though

potent nest
#

Well primitives can't be represented as generic types, so that wouldn't really be possible

hard dagger
#

you still do enhanced for primitive and non-primitive arrays

#

also with Arrays.asList() something that should be mentioned is if the resulting list ends up being copied several times it may actually lead to more array copies since List.copyOf() is optimized for already unmodifiable lists

tranquil crane
#

I should have just said Arrays instead. You can use a String[] in an enhanced for loop because it supports Arrays and things implementing Iterable. You can't pass a String[] to a method that accepts an Iterable<String> though which is what my complaint is about. I realize now that is the case since something like int[] can't be an Iterable<int> because Java simply doesn't support that

prisma wave
#

For now

#

Project Valhalla:

hard dagger
prisma wave
#

indeed

pastel imp
#

Made some progress to show on tmr's class lol, still not finished, would consider it some type of "Tech demo" lol... my own version of space invaders

#

On the main menu is abilities which aren't working yet, plan on adding hp to the enemies too ofc, I have no idea how but I will try to smoothen the enemy randomness, will add a wave and score system too, different types of enemies, leveling up certain things like dmg, hp, speed, etc. lol

#

But I am totally open to suggestions if anyone has any.

oblique heath
#

use spline curves for enemy motion

#

pick N points on the map, add the initial enemy position as an additional point, and draw a spline curve (or some other kind of curve i guess) between them

#

then have the enemy follow that path

pastel imp
#

never actually used spline curve, although wouldn't that make it predictable?

#

my aim is to be random

oblique heath
#

it wouldnt be predictable since the points/path is hidden to the user

#

or do you want enemy motion with sharper turns?

oblique heath
#

every time it reaches one of the points you create a new random point and extend your curve with that

pastel imp
#

ah

#

interesting, thanks!

oblique heath
#

ofc ofc 😎

pastel imp
#

will do some research on how they work though

#

since I never used it

oblique heath
#

they're very popular for a lot of applications

pastel imp
#

Hmmm they do like almost exactly what I want, although too much math for my head rn lol, will probably focus on the rest first

#

then sharpen systems like the pathing

oblique heath
#

you should add death animations

#

i think thats an easy way to drastically improve the experience

pastel imp
#

I plan on doing it

#

still unsure if I will just make a sprite for it or what

#

but I think that would fit on the "sharpening" category

#

rn I only want to make everything functional

#

will probably have to add a "cleaning" phase somewhere on the road lol, code started looking a mess

oblique heath
#

hmm

#

fair enough 😌

pastel imp
#

still have a lot to do, and I don't wanna bother with the small details (that make a difference but aren't essential)

#

something I am used to doing a lot tbh

#

making one single thing perfect and losing 92837 hours on it

#

while the rest isn't even functional

#

lol

#

trying to fix that mindset on myself rn

naive ingot
#

Hey guys, quick question. So im creating some spawner stacks, and im storing all of them in a map with the location, and then the stack. Im saving them to mongodb with json so it basically just saves the whole class. The issue i have now, is everything loads back in fine except the map bc its never technically saved in the database. What would be the best way of readding them to the map?

im using this to get the spawner from the map or create a new one, so without them in the map i cant get any of the saved ones.

        return stacks.computeIfAbsent(location, k -> new SpawnerStack(location, type));
    }

https://i.imgur.com/fOeyGMd.png

junior zealot
junior zealot
#

i did msg in there no one help me also :<

sly sonnet
#

bruh if noone answers you in like 4hours then hmu in dms

#

not home currently

junior zealot
#

hmu?

humble prism
#

"hit me up"

humble prism
junior zealot
# humble prism do you just want to change the command to something other than /tags?

actually is I was using essentialsX Chat, for now I got seperate into 2 groups, which is Member and VIP, by using essentialsX Chat i dont want to use essentials rank prefix because it cant to have custom tags. So like for a member who first join to the server, they will need to have [Member] tag and once they promoted to vip which has set the tags [VIP] as default so they will have [Member] and [Vip] for them to switch the tags.

humble prism
junior zealot
humble prism
#

the spigot page

#

its literally the 2-3rd line

#

like comeon

junior zealot
#

ya the line said use force_tag?

humble prism
#

and the line below

#

yes

junior zealot
#

just the problem is force_tag when they join is Member, then i promote them to VIP and give the permissions of deluxetags.tag.vip then they cant even change the tags

junior zealot
#

default group : deluxetags.force_tag.member, deluxetags.tag.vip
vip group: deluxetags.force_tag.vip, deluxetags.tag.member

humble prism
#

else just use a command on first join with tag set %player% tag

#

and dont make em forced

junior zealot
#

you mean go make myself a plugin with on_join to set the player with the tag?

humble prism
#

on_join sounds like some skript shit

junior zealot
#

i see maybe i can go create on join event see , if it work i will let you know

#

really thanks for help

humble prism
#

it should be on first join