i did a simple google search and found this https://www.spigotmc.org/threads/how-to-make-blocks-glow-no-enchantment.336667/
#dev-general
1 messages · Page 4 of 1
Neither of these seem like very optimized ways to do it, and all involve entities of some kind which is what I'm trying to avoid.
I need a plugin made for $$. Dm me if u can help out
just saw it
Hey where do I ask a development question
You can ask one in #dev-general
Oh ok, thanks

⚙️ Development General - Not configuration help - More relaxed area to discuss development topics
Anyone know? [23:26:20 INFO]: WizWazWizard lost connection: Internal Exception: java.lang.NoSuchMethodError: 'java.util.UUID net.minecraft.server.level.EntityPlayer.cp()'
Nothing online about it, been trying for hours
version from console please
image of the output of version
run that in console, you'll get like 3 lines of output
make a screenshot
and send it here
?paste
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
Requested by: wxip • paste
im looking for someone who can review my plugin's code
you can ask for the developer role in #role-request
only downside is that it might take more than 1 year to get a response
:)))
you can ask in #dev-general as well
ok
but yes you need the developer role for the exclusive developer chat
ok
just post ur github repo or smth
someone might take a look
if i had my laptop rn i would
ok then
the problem with my plugin is that it have kinda big amount of code and its hard to do something more in here
i just want to cleanup or something
and increase the quality of this code
i have 28 commands there, i get rid of essentials in that way
its just plugin for my server
If you want code review, you can send a link to the github repo and I will try and take a look for you
ok thx
"request code review" another sentence for voluntary bullying
can i add u to this repo and then u can take a look? i dont want it to leak or something
anyone knows a JS Number formatter that formats numbers to like 1.2k, 4B, etc?
too lazy to code one myself lol
depends, how open to supply chain attacks are you
i got one with 800 weekly downloads and one with 180 weekly downloads lmao
wdym?
what's a supply chain attack?
oh it's when you have a bad package many many layers down
it was a joke about the npm ecosystem being awful lol
more Svelte >:)
imagine doing something productive 😦
xD ngl first time I am being productive
ye, svelte is poggers, messing with endpoits is quite funny
legit have a index.svelte and index.ts, in the ts file I can just create a get endpoint, fetch data from an external api, and return it. And then in the svelte file I can just export it and voila
can use it.
This is like the simplest use of it
have you seen the upcoming huge update to sveltekit
I have not
they're redoing like all of the filesystem routing lol
yes sure
and it's like, a huge step towards 1.0
but me gonna have to redo stuff lol
they do
A javascript library for formatting and manipulating numbers.
u a bit late xD
that is indeed simpler xD
haha
nha I will stick to vanilla js
I mean, I take that back
I am using TS lol
Also, read the new routing system and yeeee it does seem better than the current
will have to get used to it, but def. better.
yeah I'm planning to just only use folder + index.svelte combos for my project im working on rn
then easy migration with just a file rename
would be for the best!
outside the routes folder? 🤨
what would it be doing there
if it cannot be routed to
ah jeez lol
webp moment
hmm?
gonna use avif
oh yeah but that's a lot less widely supported
oh rlly?
oof gonna change to webp then
edge and safari are the biggest concerns
and firefox doesn't support the gif version either
what do the numbers mean?
versions of the browsers
oh
did webp only give you 1 point lmao
😎
my website looks so funny in mobile
ye... didn't add mobile support yet
but somehow it got a 97 score lmao
unsure how I will do it atm
I was planning on redoing the nav for mobile
like make the "Main navigator" (The 4 big buttons) at the bottom
and then put the collapsed menu also in that menu
I hate reactivity tbh
such a pain to work with
uh okay I will rephrase that
not reactivity
uhm, I meant, like "cross-platform support"
this is the idea for mobile
but idk
I will probably just make a "error screen" for mobile for now.
I will probably release it into beta once I have the key features done, mobile isn't a focus rn
wtf isn't webp supported on ipad?
currently checking how it looks on my ipad and the image isn't showing 💀
big wtf
@static zealot Fixed. It Denizen that was causing the issues
Does anyone know if it's possible to apply a glow to a placed block based on where the player's cursor is looking? Without the need of having to use some kind of entity.
responsiveness? lol
YES that!
pretty sure you need an entity like a shulker or so
oh lol yeah, it's a bit weird, but also like quite satisfying to get it right
wanna get it right for me? 🙂
especially going up too, i now have all 1440p displays, so making that look good is very important, and trying to make 4k look p good is also a challenge
"Without the need of having to use some kind of entity." So it's not possible to do it without an entity?
generally it comes down to like media queries and some nice conditional flexbox size rules
oh tbh fk 4k users
that answers as a no lol
hey I mean, everything is trending towards higher resolution, and 4k is like a lot easier to scale cause you generally just like make things like 5 per row instead of 3 or wahtever
and especially stuff like lots of laptops (specifically macbooks) are higher than 1080p so they scale a bit weirdly
and that's a big market!
pain
but me not like responsiveness lmao
and I can't even test it cause me not have 4k
oh wait I can
looks fine to me
yeah you can emulate with media queries
they will manage it
bro zoom and enhance that shit what
yesno star
there's really no reason that layout could not easily be made infinitely scalable with like flexboxes
like, I am using rems
xd
which doesn't rlly help with responsiveness in resolutions
only fonts
don't tell me those boxes have a fixed size in rem
then why is it so small
but I am limiting it
does that grid have a max width and height
do a little inspect elementing
you can see all the properties applied to whatever isn't the full width
that's how they getcha
not much better
k fk this
I will focus on making it work for me
then add support for the rest xD
seems like a good way of doing
but I can already imagine the amounts of suffering I will have to make it responsive
I will cry
i mean that's kinda the thing
you're not supposed to make something "and then make it responsive"
you just design from the ground up using all relative things and checking often how things look on all the sizes
like, there's no reason the height should be capped like that
if anything that box should have like, a few rem of margin, but that's it
I mean you have a point
but like
I have just accomplished this nice looking website, and adding that responsiveness is basically telling me "You see this, delete and redo, thanks."
I have no idea why, but my brain just can't handle responsiveness somehow...
Like I literally don't understand it even if I want to lol
well the way I think of it is like carving things out
so instead of taking a box and saying "i want to make this bigger", you think "how do I make the space it has smaller proportionally"
so you put it in a container or two, or use a flexbox and space it a certain way
so then when you scale up, those proportional cutouts stay the same size, and your content grows
so you create a "global" flex and put the contents in it
i dunno, I am far from a good web designer lol, but that's helped me in how I try to design stuff
and then just use % etc in it?
well no not just one
web designer != web dev
haha
but yeah, it's moreso like partitioning things with more and more layers of containers
like, go look at any responsive website, they will have a ton of layers of divs holding things together proportionally
so a box inside a box inside a box inside another which contains 3 boxes, each one containing 1 box with 3 boxes and then another box in the side with 2 boxes and then inside those, you put 2 separated boxes which then make another box
^^ This is basically how my smart head imagined it
yeah pretty much lol
it makes a lot more sense when you think about it
like here
so that's one div right
hmhm
which probably has a grid
or flexbox
with 2 boxes
one for the nav
another for the ranks
ye exactly
oh its a grid
flexbox lol
I mean, mine isn't that much different
here
1s
I mean, let me just send the test link, you see it yourself directly, it's easier than me sending the screenshots here
lol
am I wrong? lol
nah it would definitely be easier
classes like w-[95%]
oh no
max-w-[66.5rem]
but yeah like in your case, you should have columns to limit the width
not max width attributes on all the elemenst
but if you want custom you just put the values inside []
you ever used like Bootstrap? or any of the classic css frameworks
not rlly
they all have big column layouts, that's their big draw
started with css, then scss and then tailwind so ye no
never liked the limitations of bootstrap
ah see I don't want to have to really think about much UI elements lol
and especially on a big team like at my job, it is very nice to have some visual consistency because everyone is using the same tools roughly
oh I do, I am really perfectionist, so I like having control over stuff xd
ye that's another case I suppose
because then everything can just scale up as it goes
already work a lot with cols in this part
to make that layout
it definitely doesn't look bad on 1440p, but there's a lot of dead space around the edge that makes it feel hollow and not very cozy yk
ye
and as cool as the whole grid thing is, i'm not sure how well it'll scale to mobile lol
generally you just want to stack things on top of each other in mobile, and you have a lot of different sized elements in that bad boy
i mean im sure you know this lol, just my feedback from looking at it
ye ik, although I think there are some work arounds I can do with tailwind itself when it comes to responsiveness
my main focus rn is upwards
I feel like, whenever upwards compatibility is good, downwards will be fine to do
well, they do tend to go hand in hand lol
honestly mobile is generally a lot easier because you can have a way simpler navbar or even hide it with a hamburger menu, and then just stack everything
haha
okay so it looks like your grid is the limiting factor in mobile
because it's scrunching everything into the small left column
ngl I have very little experience with grid, but presumably there might be a way to media query have it only have one column if it's small enough?
tailwind is just nice
yes there is
what I am gonna do rn xD
okay I have learned about CSS Grid
you can have it automatically add/remove columns
though that's not really great in our case, it is very cool!
but I have no idea how to auto stack and full width the things in the lower grid tbh
yeah I really don't know enough about CSS Grid to find an easy answer for this one
but i feel like there must be some way to just stack all the things vertically yk
okay now I fked up everything haha
yeah I really don't know enough about CSS Grid to find an easy answer for this one
but i feel like there must be some way to just stack all the things vertically yk
there is
I just gotta find it out troll
ah lol
css grid moment
ya know
now that I think about
I should've probably done a backup 😂
@cinder flare somehow I managed to make it look good, now I just gotta fix the above issue 😭
hey hey!
oh, one idea I had earlier
you could put the yellow crown icon centered and then put the hamburger menu opener on the top left
that way the style is still there, and you can actually access the navbar lol
might do, unsure
like the idea
but idk if it's best for user experience
This is the issue with stuff in the top
(this is the areas the user touches, so natural is basically, easy, and hard is you have to do a decent movement to click it)
i mean yeah but what can you do
there's no other place to put the navbar button lol
hmmm
that's actually too close lol
especially on a newer phone with less bezels, it's really hard to press that close to your thumb
oh welp, will worry about that after I have the rest fixed lol
god I kinda fixed it
had to set the height to like 115% lmao
i’m not sure how I feel about this https://www.reddit.com/r/ProgrammerHumor/comments/wmnqa0/css_is_not_a_programming_language
I feel anger.
Fear even
Is Gson good for POJO <-> Json?
How exactly would Jackson be better?
ugh. that depends? for example, does it use a build tool like maven, or gradle, if not does it have all the dependencies on github, if not you need to get those dependencies, and use something like intellij's build tool.
Depends on something called "SimpleReflection"
They Said Maven I think, but I have 0 idea to if thats the easiest way
or how hard it is
I have the source code from github
@static zealot
you clone it to your local repo
then build using their maven - gradle etc if available
if not its a bit more tricky
how to do it with Maven?
Never used it
mvn package -> jar in target
chances are you already have maven installed
although with gradle you never have to worry about that 😌
is the project maven
if so, open command prompt and go to the project folder
and run mvn clean package
I'm guessing that means that you don't have maven installed
for new people command prompt is not going to be easy
True
ide?
intellij for example
then top right corner has a button for maven
use that to compile
What's the github repo
(only works if they have pushed all project files)
@half harness @cobalt marlin So i;ve installed a dependacy
how do I now use it build the plugin?
nah its a dependency
oh are you building two projects?
idk I'm confused now 🥲
its gonna be faster than explaining
nu I need to learn ;-;
then, you need to download the whole project
thats step 1
then import the project using an ide
intellij works fine
heh? how come
the whole file
But I have maven
maven will handle dependencies
And one would think build tools and dependency management are precisely to take care of all this dance
So I cant use maven to build the project?
so how do I add that depency to the other project
you edit pom file
you dont do
any manual file moving
downloading etc
thats the whole point of maven
is AdvancedReplacer closed source?
yes
personal plugin that I commissioned and have worked close with
does it have like a libs folder or something that you could put the SimpleReflection jar in?
okay perfect
maybe you just put it in the root directory
so more software downloading ;-;
dont install intellij just for this
if they wanna do this in the future
it would help if you had it but it's not worth it imo if you dont have it
its easier
since all it does is replace commands with buttons (unless editing the files which the developer should already have done for you)
yeah, but they are talking about changing dependencies
yeah but they're on holiday so they left me with the source code and some instructions
But didn't the developer already do it?
they have in the past
verify what?
where to put the file
yea
huh
so he doesn't have anything related to SimpleReflection in that pom
interesting
alr ill try fixing that issue first
going by maven errors
maybe they meant simplepackets?
possibly but the pom looks like its getting from the maven repo
unless they want him to install to maven local
legit more work to send instructions
My guess is that he wants it in maven local
to just compile
I just want the jar ;-;
yep
why is it called simple packets
and simple reflection
on the other
why is this so scuffed
paper dev 😌
so what do I do>?
packetwrapper is useful but I don't shade it (i just copy it)
I meant to say packetevents tho
hm
where
true
where do I put it?
well first of all
go to simplepackets
and do the same mvn clean package you did with simplereflection
cd into the project folder (ex cd C:\Some\Cool\Folder)
or you can type cd and drag the folder into command prompt
cd downloads/AdvancedReplacer-tvhee mvn clean package ?
yes
I tried also:
cd downloads/AdvancedReplacer-tvhee/AdvancedReplacer-tvhee mvn clean package
instead why not just do this
cd Downloads/AdvancedReplacer-tvhee/AdvancedReplacer-tvhee
try changing maven shade plugin to 3.3.0
then just compile
but if I need to do this in the future, he will have a dif pom
since it had an error with that earlier
ask him to compile next time
Probably will be the same, and if not you can ask him about it
oh yea
this is kinda ridiculous
yea
same
its been a while since i switched to gradle exclusively
helpchat converted me to gradle 😌
yikes
lol
eh
im guessing they have a spigot jar already
idk
like in your server
That should work
doesnt matter
right?
ye
well its not going to be paper.jar
used to be cache folder but i forget what it is now
1 sec ill check
my server one??
ye
just copy and paste the jar
into the project file
then rename it to paper.jar
do I keep the dpenedecny
thats the paperclip
it installs paper jar
actually tbh idk if its called paperclip
¯_(ツ)_/¯
aah
but its not the main jar
okay im dumb
so what now?
versions/1.19/paper-1.19.jar
use that jar
and rename it to paper.jar (once copied to your maven folder)
ye
where do I find 1.19?
watch the dev use nms without reflection
Oh wait
smh SimpleReflection
something wrong with pom?
Aki ^
¯_(ツ)_/¯
or we can just try spigot-api
since theres SimpleReflection
i copy pasted so lemme check one sec
dud im using notepad to edit the pom its scuffed as hell atm
lmao
does the simplepacket repo exist?
yes
oh lemme add it then one sec
ig you can use jitpack actually
Aki lets just use this
didn't know why we didn't think of it earlier
Nooo just wait a little moment and aki will configure the pom
hopefully with jitpack
ok ok
or else you're going to have to do the mvn clean package again 🥲
but just wait 1 minute
:)
ok ;-;
wait
oh nevermind
jitpack then?
gonna make a sandwitch, brb
nvm
requires shade plugin 3.3.0
so jitpack failed
😖
ffs
@inner osprey pinging since you're afk
but uhh
you're going to have to clone SimplePackets repo too and then we'll send you a new pom.xml for that and you have to do mvn clean package
🥲
imagine being able to see syntax errors
even some level of autocompletion
it does (only xml errors)
😃
oh i mean notepad doesnt
but
¯_(ツ)_/¯
wait
no its closed source so i cant do it
uiahdsuiahdwgasdxjiowuqadiqioduaidiojwqdoqp[]wd
they said they can send the files
maybe
this ?
but he back now
:))
No
Do I need to do somehting with thr simple packets?
I just downloaded the code
do I maven it ?
;-;
Can I send you it @half harness
maven the plugin bit
okay im on my main pc now
do it on SimplePackets
Ima just send it to you ;-;
no wait
;-;
well hes so close
so
i dont want to start over
:))
https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.zip
Then extract that into the folder of your choice (that you won't delete) such as Documents, Program Files, etc
ah freeeedom
A true saviour
dkim19375
KOTLIN = BEST
hello to you
true
yes coroutines is my lifeline

how dare you
How dare any of you
Wouldn't it be Kotlin == "Best"?
um
Shhhhh
clearly kotlin is a variable
and best is another variable
since its just 1 =
it assignes the value from best
to kotlin
so this means @half harness is making kotlin the best.
it wasn't before dkim used it
But since thinking "kotlin is best" is preference, it needs to be checked.
Thus Kotlin == "Best" lol
yes kotlin is indeed best (not a string)
But only in HelpChat and Developer Den, unfortunately
I do not have unlimited power to make this a globally known fact
But soon
soon™️
Wdym, you can change your name
Kotlin is too much work
Some discords he can't nickname
yeah but he can change his global discord name
that's what gaby was saying
He would have done it already xD
kotlin = best19375
kotlin19 3 best75
So why is kotlin = best
why not
Ok
Anyone here interested in helping to create a runescape/skyrim -esque mmorpg minecraft server? I have most of the other miscellaneous skills needed but lack the in-depth java/spigot experience. If you're interested DM me and I can send more details
MORE INFO: I'm seeking a partner to not only serve as a dev lead / plugin admin but also a partner and someone who is equally as passionate and excited about creating a world as I am.
In a nutshell the idea is a multiplayer RPG in built in the minecraft sandbox, a la Runescape and Skyrim. Style-wise my thoughts are to keep it more on the gritty, realistic side of fantasy (think Game of thrones). The mission is simple-- to create an immersive game that we ourselves would love to get lost in and want to play.
My goal is to create a relatively basic alpha/beta on a manageable map size as to actually be able to release something and build interest / test the market.
I have the knowledge and skills to generate the terrain/map, develop the story, create mechanics, drive marketing, manage other team members etc. but would also like your input on all of this as well. I have basic programming knowledge and have created very basic plugins myself but I don't have near the level of java / spigot expertise to be able to create/manage what's needed and assess public plugins for their use on top of all the other tasks that need done.
Wait so this works in chat, item name/lore, etc?
without components?
I always thought components were required for hex
no they're not
spigot takes care of that. but it uses the ugly af format
when we playing some minecraft btw?
probably can't today
Well it is always a component that is sent in the packet
True, Spigot is just dumb
been out of the loop in general for plugins, any good alternatives to titlemanager? you know, what the cool kids use these days?
also is it possible to hex gradient prefixes in luckperms
should've asked this in #general-plugins srry
Luckperms leave the parsing to the plugin where the prefix is displayed
So you have to use whatever format your plugins use
oh thats right, okay thanks.
is there a way to total all the players with specific placeholder? Ex. %player_exp%
Oh, sorry I put my question to a wrong channel. Thank you so much for helping.
@prisma wave now this is a real language
😵💫
How to spawn an item at a specific location in the Inventory?
For example,i give myself a diamond in 8 slot.
Inventory#setItem or some shit
Yup
Hi I need assistance with something
with what exactly?
So basically when a bot sends something in a server or I do a command I’m unable to view of what the bot has sent or is showing
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.
Requested by: BlitzOffline • not-discord
Like that bot I’m unable to see what it says
but you might want to look in settings and make sure embeds are enabled.
Thanks for your help
dev-general
Hey smart git people, we have a base Laravel project that primarily contains auth and some basic models and controllers. Now we want to build multiple projects based on that one, but we need to be able to pull in changes should we ever alter the base.
What is the correct approach here? Do we fork the base for each new project and then use it as upstream repo?
Submodules or a way to hot load separate portions, I'm sure Laravel has one like Django
give me level 5 pls
Is it possible to modify the viewpoint of the player without physically moving their character?
Sent from my SM-G903F using Tapatalk
not possible unless with mod afaik
@cinder flare Did you use any framework for that? i.e. bootstrap? Looking to up my 'responsive design' game. I can create a responsive UI but I feel like there should be a better solution than loads of css media queries
bootstrap is good
bootstrap is good you can apply the stupid media queries to the elements by setting the right class
Can be done with a plugin using packets
Sort of
actually not really since if they move it would break
but if they stand still they can ig
i mean you could just cancel the move packets as well
set the rendering cam to an armorstand
holy, thats a thing?
Oh that's also an option
but unless the client sends move packets it won't support movement either 😕
(btw by movement I mean the player being able to sprint while facing right for example)
hella cool
according to protocol it does send still, but for the main body
so you could technically make a remote control drone type thing
but those are from the entity that the player is spectating, not the player's WASD
yes but, translating shouldnt be too difficult
is it though, from what i understand players movement acts as if its coming from that entity
idk it's a little confusing
move packets will act as if they are coming from the other entity
¯_(ツ)_/¯
Well that’s exactly what I need it for unfortunately
Ah
then assuming you want the inv and hp bar etc I think you'll need a mod
i mean, you could also create a fake player
on last location
and move the player manually
while making them invisible (vanish, not potion stuff)
to have hp etc, that would work fine no?
the Set_Camera won't, no
since that's if the player is in spectator mode
sorry wasn't looking here before the ping
didn't realize you sent another method
but that'll require teleporting the player every tick (moving the player manually)
But that'll also give the same issue if sprinting while facing right, as you can't do that in the client so the server wouldn't know if the client would want to do that
i mean, you can just let the client move as normal
and send a fake player to everyone else
so server side, that player is just acting as normal
on other people's clients they just see a player standing still
But that'll also give the same issue if sprinting while facing right, as you can't do that in the client so the server wouldn't know if the client would want to do that
That would work except for this one
Also you wouldn't need a fake player, you could just modify the packets to other players
thats what i meant by fake player, it wont exist server-side
Uhm, it wasnt star I just pinged him cause we were talking about my project a few days ago.
Regarding what I use, I use Vite + Svelte + SvelteKit (backend) + tailwindcss. For the responsiveness I just created custom media queries in tailwind and ye.
what exactly is this?
I assume the main hand keeps changing without him doing anything
Cant hotbar slot
yep
I have no idea what could even cause this
a broken mouse could
oh
a broken server could then
seems like you cannot switch hotbar slots
and a plugin can cause that
Can the server control your hotbar? I thought that was purely client side
i mean like faulty plugin or sth
like some plugin literally calls the setHeldItemSlot thing and the packet gets sent to the player
@inner osprey try toggling on airplane mode and try
maybe that will see what the problem is
airplane mode???
also its local
damn...
i mean like try cutting your wifi connection and maybe that will work
or install protocollib and check the packet log
how to see packets log?
wait let me put the exact command for you
/packetlog play server SET_SLOT console
and this will logs all the set slot packets sent by the server to the player to the console
@inner osprey
if the console actually spams the packet log then it means that there are indeed plugins/faulty server code that is making this problem
yes you can
well kinda
you can cancel the slot switch
If I recall correctly
which appears to be what's happening.
oh ok, so you can also set it. Although I doubt that's what's happening. looks like it's being canceled and not set every tick lol
Maybe try to just remove plugins one by one, that could potentially be doing it
yeah i meant that actually
but my brain was having issues from stress so i couldnt see the whole picture
Ah, OK, thanks!
hiya sry yes
done
do I send you logs?
@static zealot any idea?
bro you have a bunch of errors of several plugins
and it didn't print anything, read the messages above, it was already stated that the event was being canceled
and also suggested what to do
And I highly recommend fixing your plugins lol

