#dev-general
1 messages · Page 213 of 1
we should not associate people with genders in 2020
then why ask 🤔
u getting into risky territory with these questions
makes people happy when you call em by how they wanna be called
Eeh I'm a male but you can call me whatever you want honestly, I don't mind
Hello male. I'm blitz
wait that's post malone?
Since when does Post Malone act in movies?
I just opened netflix for the first time in like the past 7 months or so
and I clicked on the movie Spenser Confidential
lmao
Imagine opening netflix and seeing post malone
Blitz be like "I don't have to imagine"
He's fighting the guy from the Mission Impossible movies
Com Truise
Spenser Confidential?
very on topic dev talk
Tom cruise isn't in the cast of that movie
Matt why you got to ruin the impostor fun?
Oh
W-who?
Idk what his name is. Mark something I think
here. Googled it for you
Mark Wahlberg
Damn, i don't don't think he looks like tom cruise xD
I mean if I put their photos near each other they don't but if I just look at a movie then later look at a movie from the other guy then they do look simillar xD
Bye
yes what
Yes
Agreed
hawt
For bungeecord messaging channels, is https://www.spigotmc.org/wiki/bukkit-bungee-plugin-messaging-channel/#the-bungeecord-plugin-channel a bungeecord or spigot plugin?
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
ahhh this is so confusingggg
Spigot plugin
I mean you can make it work on both
But for those "commands" listed there, you'll want to use them from a spigot plugin
yes, that's the one proxy uses to communicate
you can set your own channel for other purposes, for your own "private" messages, but those won't be intercepted by proxy
BungeeCord on the other hand, will be
so I should make it Bungeecord?
also, this is really confusing, one last question: How can I run a command from console if the receiver is a player?
Please ping meee
@half harness BungeeCord, caps matters
oh
also, this is really confusing, one last question: How can I run a command from console if the receiver is a player?
Plugin messaging uses player connections to "travel"
Some of those "commands" are player specific
Others are irrelevant and can use any player
they aren't commands per se tho
uh
they don't "run in console"
y
they are messages that proxy responds to
what if you run a command in console to get a player list
there needs to be at least one player online for it to work
rippppppppppppppppppppp
I mean, why would you want a network wide stat to be shown in a server where there is nobody for it to see it
so that console can see
for example
so that console can see how many players are on server 1
without having to open up mc
what if you wanted it to do it with a plugin ¯_(ツ)_/¯
plus
it only works for the current server
i think
???????????
99% sure
the PlayerList message will return the total number of players of the server you ask it
that is clearly stated
or on ALL the servers.
also
if you want the player count, you should use PlayerCount
if you want the names you should use PlayerList
ik
it only works for the current server
?????????????
also, this is really confusing, one last question: How can I run a command from console if the receiver is a player?
baaaaaaaaack to here
bc i dont think a player var that has null will work
a player var that has null
what?
so
what if
ur on console, and you do ... /getamountofplayersonallservers
how would that work?
bc console isn't a player
forget about the word "command"
._.
it has nothing to do with actual commands
BukkitScheduler#runTaskTimerAsynchronously?
say for example you set the while loop inside an onCommand
the while loop will enter
and it won't exit
yes
completely halting the game
mhm
and the loop is in onEnable()
🤦
what are you tryna do?
could someone help me maven clone a github plugin?
its used by a few servers and is public. they just dont have a spigot page
i managed to do it before but im having issues with my craftbukkit dependency not being found even tho its in the .m2 org bukkit craftbukkit file
@obtuse gale https://imgur.com/a/s1VEbpi
i believe that is the correct version. i recall having to install it somehow to clone another github plugin.
not sure if that helps. read it and i thought i already have the requirements seen in that pic above.
Time for my favourite 👏 frontend web development 👏
Fun
anyone here ever used like programs coded in python, it says i should run this and this command but when i run it either i get syntax error if i do it in phyton if i do it in pure cmd i get unknown command..
What
🙂
So I keep getting this
java.lang.ClassCastException: org.bukkit.configuration.MemorySection cannot be cast to java.util.Map
Using:
base.spawn(Location.deserialize((Map<String, Object>) configuration.get("location")));
Stored data being this:
location:
world: build
x: -41.5
y: 5.0
z: 20.5
pitch: 0.0
yaw: 0.0
Is that not how you deserialize a location?
Seems I can just set the object itself and just retrieve it through casting
Does bukkit yaml have a custom serialization and deserialization class that you can implement on your own objects?
Where is FileAdapter from @quiet depot
papi
it's in the same package
just an interface
pro tip if u don't see an import for it it's either part of the jdk, or in the same package
So this is the result of serializing 3 items (https://paste.helpch.at/xuxuzizaje.coffeescript), however whenever I try to deserialize the items are always null, using FileConfiguration#getItemStack
O.o
Any thoughts Piggy?
You can easily make a method to serialize it to a simple String like world\:x:y:z ACF has a method for that in their utils
Itemstacks matt, itemstacks
Do an essentials
Oh you had a location example above
Serialize like they do
Gonna see if base64 works
It’s totally not a mess to reverse it
Which I assume it will
For itemstack i use the yaml serializer then turn it into base64
what's up with the C lang style @prisma wave
which bit?
struct, namespace
I don't think c has namespaces?
c++ does if that's what you mean
but C wasn't really the inspiration - the namespace system is from clojure, no real reason I just thought it was pretty clean. structs are in lots of languages, and they seemed like a good counterpart to functional programming
1 downvote ☹️
crusade @distant sun
😦
once again, can I use modules to create a 'common' code and 3 sub projects that use that code?
the thing is, I need a different jar for each
Yes
For example my messages project
- commonmark
- core
- bukkit
- adventure
Then when building it'll build like
- bukkit > core > commonmark
- adventure > core > commonmark
And give me 2 jars
Interesting
once again, can I use modules to create a 'common' code and 3 sub projects that use that code?
@distant sun
In Elara, Yes
Now upvote
nop3
What u got against Elara
^^
@hot hull why D:
what frosty do
crusade @hot hull
@ocean quartz how do I build it lol xd
He shall receive death
Build the one which depends on the rest gab
@distant sun The same way, is it on github?
Ah okay, well you have to structure it correctly, i build the entire project and it does every module correctly
not for me =/
https://paste.helpch.at/sujuxebexu.gradle this is the main build.gradle
https://paste.helpch.at/degomegema.gradle and this is the build.gradle of a subproject
nvm
@prisma wave You know why I did it.
I'm sure you do, think hard
Nono, you know what you did a few days ago
m00d
Doom Slayer
In the first age, in the first battle, when the shadows first lengthened, one stood.
Burned by the embers of Armageddon, his soul blistered by the fires of Hell and tainted beyond ascension, he chose the path of perpetual torment.
In his ravenous hatred he found no peace; and with boiling blood he scoured the Umbral Plains seeking vengeance against the dark lords who had wronged him.
He wore the crown of the Night Sentinels, and those that tasted the bite of his sword named him… the Doom Slayer.
?
what happened
Ori what did you do!!!!
i dont know!!!!
D:
I think my mod fucked things up 
Totes
Do you guys think 1.16.4 will have a NMS version change?
maybe
I've heard strong theories going both ways.
Yea I feel like it may change they added some stuff regarding chat
when md's involved, all bets are off lol
I'm like 80% sure md5 makes the R1 R2 R3 version decisions.
md5 is a big guy
300 pounds of jiggy jiggy
Ayy some progress on mapping classes for bean properties
could anyone get the jar for this plugin please any chance? https://github.com/APDevTeam/Ap-Turrets/
tried doing it myself but im getting issues with craft bukkit
spent ages trying to fix it etc.
it is public/allowed to be used by whoever but just doesnt have a spigot page.
would really appreciate it
Why does it even have both spigot and bukkit api?
honestly, no idea.
im a bit out of my depth with java/git bash and all that. i generally stick to plugin configurating.
bruh that plugins soure code tho
aaa yes
classic one classes plugin
😰
that's nothing compared to what I once had to downgrade from 1.14 to 1.12
whats wrong with the code?
Way too many things
reminds me of the first iteration of Head Database
Way too many things
@ocean quartz the only issue I can find is jamming a bunch in one class
it was all in one class
that was a big mistake
The amount of imports already tells you how crappy this is lol
the imports are 183 lines long ;-;
9939 LINES!!!!!!!!!!!!!!!
I thought it was bad to go over 300..
@half harness It creates the entire config on enable, arrow code, imports, no what so ever care for SRP, variable names, and way much more
is anyone able to maven it for me though any chance or help me download it? - its code might be a bit janky but its my only option for what im going for.
oh
@obtuse gale That class made my browser freeze for a second lmao
I mean what's wrong with it being a fork?
That class made my browser freeze for a second lmao
I know lmao xD
just unusual
I mean spigot itself is a fork xD
oh which is the official
use the fork
i was told about it in the AP dev discord
just build
ok il try again
do they not have a built jar?
not to my knowledge. they want people to build it.
k
well, you can download to a folder
then in the IDE, you can import then build using Maven
Take a look at this one https://github.com/Evil-Lootlye/dangerous-survival/blob/master/src/survivalpackage/survivalmain.java
im so glad im in this discord for help otherwise my code would also look like this
Just clone it
u need to pay for that
What?
Clone in IntelliJ IDEA?
Yeah
that was the forked version tho
pls forget what I said about it being a fork
Yeah
@ocean quartz u need to pay
I only have community edition
You don't?
why would u need to pay to clone?
You don't need to
u need intellij ultimate iirc
yea i find this extremely hard to believe
Had to install just for this lmao
?
It comes with IJ?
lul wut
You need to create a git repo
No
\😕
oh
i never knew what that button did
and with that theme u can only see like 10 lines of code ._.
That's nothing to do with the theme it's just i like the font to be big
Also deleted cuz i forgot the camera was there 
whaat i uninstalled the theme bc of that
what about
what about dis?
bc its kind of annoying being able to see 3 problems at a time 😦
Uhh what, where?
Oh, i just don't have errors lmao
Just.. click on it to hide it
What about them?
how do u "shrink" them
Something like this?
noo
closing gaps between the stuff
so that I can see more files
bc im too lazy to scroll down :P
You can lower the font size
so can i git clone AP turrets with intej
ive opened the AP turrets folder with it
its asking for a URL
when i tried cloning.
You can lower the font size
@ocean quartz but then the text is super small!
Yeah the clone url
getting the same error: Could not find artifact org.bukkit:craftbukkit:pom:1.10.2-R0.1-SNAPSHOT in spigot-repo
You shouldn't need craftbukkit
No, what i am saying is you shouldn't need, so just remove it
so with the bungee plugin messaging whatever stuff can I just use it on any player on the server?
ay it worked - thanks!!
just hope that removing that doesn't effect the plugin
im not sure why its in there.
movecraft which is the plugin is built for is quite old. some of the code might be quite old.
Can someone tell me how tf does this make sense? The runnable is on a 1 second (20 ticks) delay..
[06:05:57 INFO]: Procced Minion with UUID: dac70e90-e1c5-4ab7-868d-e5b92c0e7efe
[06:06:00 INFO]: Procced Minion with UUID: dac70e90-e1c5-4ab7-868d-e5b92c0e7efe
[06:06:03 INFO]: Procced Minion with UUID: dac70e90-e1c5-4ab7-868d-e5b92c0e7efe
[06:06:06 INFO]: Procced Minion with UUID: dac70e90-e1c5-4ab7-868d-e5b92c0e7efe
[06:06:09 INFO]: Procced Minion with UUID: dac70e90-e1c5-4ab7-868d-e5b92c0e7efe
[06:06:12 INFO]: Procced Minion with UUID: dac70e90-e1c5-4ab7-868d-e5b92c0e7efe
[06:06:15 INFO]: Procced Minion with UUID: dac70e90-e1c5-4ab7-868d-e5b92c0e7efe
Can I get my jetbrains student thingo renewed next year? Or is it one year only
Cos it says its gonna expire feb next year, can I renew that bad boy?
as long as your a student
alright
259 minions poggers
10 fps
Shut up
guys I did it! I made my OreRegenerator plugin work.
Ew
I'd that a fancy client
Laby mod Aj
Kinda cringe if you ask me :)(:
Read what the cape says.
Are you like 13 now or something lol
Frosty. The code is listen for BlockBreakEvent, check if the block is the one you want to do this for, if it is then take its drops and drop them, replace the block with bedrock and run a task later that sets the block back to what it used to be xD
Is that modded
No. its resource packs
ew
👍
@obtuse gale These are years old settings, someone bought me a cape a couple years ago and couldn't give two shits
Frosty. The code is listen for BlockBreakEvent, check if the block is the one you want to do this for, if it is then take its drops and drop them, replace the block with bedrock and run a task later that sets the block back to what it used to be xD
@static zealot You aren't making a new task everytime are you?
ye I am. dw about it.
smh
I'm just experimenting stuff xD
Idk what else I could do rn. I was thinking of having a task that loops every 20 ticks and this task would loop thru the bedrock blocks and replace them back.
if the time since they have been replaced into bedrock has passed x amount.
turns out i do need craftbukkit i believe
heres the build error... https://imgur.com/a/LT7nztF
is there a way of me linking the dependecy/repo towards the craft bukkit file i have on my pc?
C:\Users<myname>.m2\repository\org\bukkit\craftbukkit\1.10.2-R0.1-SNAPSHOT
You most likely don't need it
Like i said just remove it from the pom
I mean if it compiled without including the dependency, means it doesn't use nms/obc directly, but that doesn't mean it will work straight away lol
i did try that but the plugin had errors
whether its due to craftbukkit i cant be sure
but to be certain i was hoping i could try and get that dependency working
movecraft plugins do seem to all have craftbukkit on their dependency
Are you going to be using 1.10 anyways?
Because if it needs nms and only has 1.10 it'll only work on that version
Y u lie @prisma wave
about what
y u lie
sorry
song full
don't forget to leave a like
and plzzz subscribe ☺
That fork won't if it requires nms for 1.10
in kotlin is there an easy way to go from a string like like
listOf("SHARPNESS:1", "EFFICIENCY:3")```
to a map like
```kotlin
mapOf(
"SHARPNESS" to 1,
"EFFICIENCY" to 3
)```
I know i could just loop through it all and split it but its there a way to do it using like List#mapTo or something
nvm i think i can do something like
list.map { it.split(":")[0] to it.split(":")[1] }.toMap()```
This would probably be faster list.associateBy { it.split(":")[0] to it.split(":")[1] }.toMap()
ok thx
Interesting actually, that is making the key be (SHARPNESS, 1)
Oh yeah do associate instead of associateBy
ty
Just watch out that if it doesn't have : it'll throw IOOB
yea i check for that
There i was bored 
val map = list.map { it.safeSplit() }.associate { it.enchant to it.level }.toMap()
data class Enchants(val enchant: String, val level: Int = 0)
fun String.safeSplit(): Enchants {
val list = split(":")
if (list.size == 1 || list.size > 2) return Enchants(list[0])
val level = list[1].toIntOrNull() ?: 0
return Enchants(list[0], level)
}
🙂 👍
Would 1.16.4 have new nms
it sounds like it would
Probably will
At least two new packets from the changelogs
then fefo new nms
whats the gradle task for changing placeholders in your projects files
for example replace version with the version
Open up any project ever which uses gradle and check smh
just do it during processsResources
1.16.4
well that's not a huge surprise

RegExp is slowly killing me, does anyone know how to replace a string such as @User in RegExp? (RegExp just doesn't like @)
Can I run a local host server without internet? Would just be for me connecting of course
WiFi down etc
I don't think it's a special character in regex
@young kettle yes
@lavish notch send code
Can I run a local host server without internet? Would just be for me connecting of course
yeah that's literally what offline-mode is for
Ah I recall it not working when I tried a while back
¯_(ツ)_/¯
You'll need to turn it to offline mode
works fine for literally 50% of the servers out there lol
Gotcha il try it
48%
damn
but I would assume those also include servers connected to a bungeecord proxy
@prisma wave Ignore the missing brackets at the end (part of larger code), and the poor code quality - old code, currently updating it
@steel heart @obtuse gale Sadly doesn't work, the dragon doesn't move
Legit brain dead
Guessing the navigation is different for dragon
I'm fairly sure AI is just disabled by default for dragons outside the end dimension
this is mildly concerning
I just killed ender dragons in my world using /kill @e[type=ender_dragon] expecting a single one to die, but instead 9 died
seems like the command kills each segment of the dragon individually which is interesting
It doesn't trigger the pathfindergoals like normal entities hmmm
Oh so dragon is like many entities?
if you press F3+B you can see it has several hitboxes
Ooh interesting
Looks like a duck tape job
Yeah my dream to make the dragon follow items is gone 
are you using the paper pathfinding api?
Nah NMS
Guessing dragon uses PathfinderTargetCondition instead of the normal GoalSelector
thats a big fella
Or not, idk well it was just gonna be a joke anyways 
It doesn't have one
let me see if i can patch it by changing from a goal to it's tick method xD
Well the main part works like that but the dragon doesn't move
Ah, alright imma give up i'm guessing it'd need to add path points to it .-.
That's the decompiled code from the server xD
boris
Can anyone tell me where I report bugs from DMenus?
probably #general-plugins
Thanx
tfw the error youve been tryna fix for 3 months is because theres an outdated database entry

is 'ngrok' safe to use for localhost testing webhooks? Cos for paypal webhooks you have to use a url with https, and obviously my localhost doesnt have that
Hello 🙂
👋
Let me know if someone interested here to help out for this
#772310218104897580 message
If someone is, they will
^^ double posting isn't gonna help lol
😅
IntelliJ's "anti-arrow code" feature
lovely for working on your old crappy projects from when you didn't know any better
Damn you're digging deep, looking for dinosaurs?
I'm having some problems with NMS, I'm trying to great an npc but the player entity doesnt show up ingame, only on tab
@prisma wave should I use with(config) instead of apply?
config.apply {
set("type", petType.name)
set("rarity", rarity.name)
set("progress", progress)
}```
with sounds better
yo how is it usually? <arg> - is a required argument and [arg] - is an optional argument or is it the other way around?
Nope that's correct
kk. thanks
Can someone tell me why this happens? https://media.discordapp.net/attachments/729704112832380999/773132168007516180/unknown.png?width=962&height=386
try '@version@'
wait where does @version@ takes the version from? build.gradle?
yes
i hate plugin.yml
well the thing is... I don't know how to use mcdev. I added it but doesn't seem to work for some reason
I don't even know what that plugin is suppose to do ...
Make your life easier in the grand scheme of things
Sec, lemme finish what I'm doing and I'll show you
👍 ty ty
btw can I use @version@ anywhere in the plugin, not just in the plugin.yml I assume?
anything in the resources dir
oh I see. thanks
@static zealot You click Minecraft, select what platform click continue and follow instructions
(When creating a new project)
Lol imagine using replace tokens
Stop stalking me big boi
Look out the window
Does Forge gradle usually take very long time to import to project?
I've been waiting for 10 minutes now
My plugin has 1 command class that is 450 long 😦

To be honest... it used to be 600+ xD
@distant sun doesn't matter really, I usually forget that with exists so up to you lol
oke doke
IJ
Minecraft Developer plugin
I have the plugin but hardly use it
same lol
I mostly use it so it can remind me what stuff is needed to be put in plugin.yml
it just pre-sets a few files
md_5 10/10 💯👌
v1_16_R3 --> v1_16_R2 --> v1_16_R3
just a fancy nbt editor
The dude rly tried to undo the NMS rev change.
Well, DeluxeChat confirmed working on a single build in 1.16.4 
anyone feels like updating my plugin? :))
What plugin
RandomTeleport
And what's wrong with it
author: BlitzGamer_88 *
And what's wrong with it
besides the 450 lines command class?
and the bad code?
and the unoptimized code?
Shall I go on? xD
How many commands in the command class?
well its the main command with subcommands.
What do I gain from it Blitz
I mean, not the end of the world.
Do I get a cookie?
I mean, not the end of the world.
Certainly it is the end mister, 10 lines per class tops!
At one point I had Guild commands in 2 classes. One for regular, one for admin.
Th regular command class was about 2,000 lines for 80 commands.
4 Waffle. 4 subcommands
ye. I have a plugin that has 2 classes. The admin ones and the normal ones and its like 400 in total
I think
Well I juse matt's FM and usually I have just 1 main command and a load of subcommands
450 sounds like a lot for 4 commands if you're using mf-cmd
well the thing is. I have an option argument at the end. And based on that argument the entire command does something different. xD well not fully but kinda
its like having 2 commands in one. Just didn't know how to make it
That's fair.
its basically it either does all the checks and all the things for the sender or for a target
I also tend to full-send sometimes.
You could just create a player variable for who to teleport. If it's null, set it to the sender, or set it to the target if it's there.
Make that the first few lines and then just run the command once.
hmm. that is true. I do have a few checks that are based on target / sender tho. But still I can make it half basically.
didn't even think about that.
Go judge
(sec while I push) https://github.com/Frcsty/Discord-MinecraftHook.git
:)))
I said sec while I push smh

Go check out Gh's yt channel while you wait :kek:
Damn that was fast 
Imagine still being on Optifine.
I don't really need sodium, i use Optifine because it makes the game look better, which sodium doesn't
I bought another OF cape the other day, after I gave mine away last year in a giveaway kek
Boutta do a sale soon. Buy VP and get a Mojang cape*
- (Have to migrate to MSA first)
lol
In other news, no need to revive it just yet, it works on 1.16.4, thank you for that PR Glare xD
Ya
You could do an update anyways and just say "Added support for 1.16.4"
Gotta get those downloads.
True true
Already see it's trash, smh
:>>
Inlined-annotation lookin-ass.
It's nicer heck out
If you're going to use annotations, be consistent.
Yea it's not finished Glare
Can't wait for @EventListener @NotNull @Contract("_ -> new") @Override public void
That I would never
Well you'll need to be consistent, if you have them inline you'll also stack them inline
Why does clip keep updating DeluxeJoin lol
Cause FJ gone 
Yeah this noob removed it from spigot for some reason
Bruh.
Don't bully me
Why did you remove it though?
cba with upkeeping it and giving support anymore, it's still on github if anyone wants it
Ahh, finally got a taste of the public plugin lifestyle?
Also Glare, been working on the bean stuff, this will be possible what do you think so far? ;p
I mean if anyone wants it I'll even give you art for it poggers
I think that'll work.
What's Child tho
Rocketeer is 1.16.4 ready 
What's Rocketeer tho
in IIJ was there a way to see where methods are used?
ill be waiting for messagetoggle
@static zealot CTRL + click it
is IIJ broken then? xD https://i.imgur.com/jzcWyPg.png
bcz it doesn't warn me that its not used...
but its not used
well
it should warn me on the right Matt
like all the other command methods
but for this one it doesn't
You might have added it to not warn if annotated by Default
oh. You can do that?
Frosty, that video above is Rocketeer.
Any of these games good?
Idk. I have them all tho.
Huh idk then
Are the keys permanent Glare?
Yes
I'm telling you IIJ is messing with me 😦
Frosty, that video above is Rocketeer.
@frail glade 😮
@frail glade What pl is that?
Rocketeer..
o
😄
Damn
yo Waffle you made me think to much. Now my brain is melting 
Hmm?
with the player variable made out of either the sender or a target.
Ahh
since I have a few checks that are different for each option I need to make them work together somehow xD
Couldn't you just do val player = target ?: sender? If target isn't added it'll use sender
ye. that's exactly what I'm doing
but for example I have a cooldown thing. and I have a part of the code that resets it.
but for the target there's a permission to not reset the cooldown
there isn't one for a sender.
I know its not hard don't get me wrong. I'm just not in the mood today to think xD
check if the target is an instance of player and check for perm, otherwise don't
or ya know... check if target is null
Yes BM, I'm not that dumb
Set correct intents
ah yes
wdym?
You mean scopes?
Or just the select it as bot and select the perms
Oh I see what you mean
So far 120 lines less in my methods.
And I probably still have a few more to remove xD
Send the method i can help ;p
Damn Matt idk how you'll recover from that
Uh from what?
me refusing you most likely.
Frosty if only I said that bcz I knew I was better than him ... but I said it bcz I don't want ya'll to see my shitty code xD even tho its OS on GitHub ... :)))
kek
Ugh can't think of a good way to do this, i need a way to export a property but at the same time save it's data 😩
Boys ... 261 lines! from about 450.
Woot
251 too many
replace \n -> , down to one line 👌
:))
I mean if it was to delete all empty lines it will probably be 200 lines
Also I have debug messages. Which will serve no purpose for people that will use the plugin just for me when testing the plugin.
Previously I've been using relocate in my ShadowJar build tasks, but what do I put if I'm not wanting to add anything to it?
What
?
Pardon me, I don't know my terminology.
but what do I put if I'm not wanting to add anything to it?
I'm confused on this part.
For example;
relocate "me.mattstudios.mfgui", "net.mackenziemolloy.SGPSellGUI"
What if I only want my code compiled?
IE: I remove "me.mattstudios.mfgui"
Then remove it?
I tried, but it errored
Could not find method relocate() for arguments [] on task :shadowjar
Where does that save to?
The normal build directory.
Intellij has a tendency to hide it
Still nothing?
Are you actually calling the shadowJar task?
Gradle compiler go brrrr.
can yall update deluxetags to 1.16 so that we can use custom colors
Uh there's dev builds in #general-plugins
Idk how much hex support is there but I know you can hex the tags.
EssentialsX Compile Times:
Maven: 11.845s
First Compile Gradle: 7s
Consecutive Gradle Compiles: 3s
Not bad.
indeed not bad
Goes down to 570ms if I make minimal changes.
who said maven was faster 
Maven doodoo
Typical of glare to post incorrect statistics what he didnt show you is he added 10 seconds on to the maven result time
🤣
Ah I didnt give the adapter the correct capability for 1.16 hex colours so the animation ignored them 😐
Anyone know if NMS is still 1_16_R2 or did it go to R3?
It went to R3.
Thx glare!
👍
Yeah its annoying so I tried giving reflection ago, but it only takes one field name to change to ruin that as well
For example in 1.16.1 to 1.16.2 a field b changed to a lol
yea ik its annoying xD
Odd question but I recently installed Docker Desktop and updated my computer and now it seems like I revoked some permissions for myself... Any idea how you can disable/enable the search feature in the windows start menu?
Hey, I am trying to return an integer of the number of players with certain permission in my bungeecord proxy. I am using this to get all players online
public static int getOnlinePlayers() {
return
BungeeCord.getInstance().getPlayers().size();
}
I am not sure how I can get a int for players with permissions
I haven't used the bungee api much but you can loop the players and check if they have the perm and increase a counter. May not be the mot efficient way but its a way.
something like
for (ProxiedPlayer p : ProxyServer.getInstance().getPlayers() ) {
if (p.hasPermission('permission') return p;
}
public static int getOnlinePlayers() {
int count = 0;
for (ProxiedPlayer p : ProxyServer.getInstance().getPlayers() ) {
if (p.hasPermission('permission') count++;
}
return count;
}
that should work
yeah exactly, thanks
np
When one class breaks everything 
I would of steam filtered it
Lmao, static is the hard part
Finally finished whole chat component n stuff in pure reflection
Probably cached to an extreme but blazingly fast
And yet most people use it wrong
I dont use static unless I have to
public static main 🌝
@heady birch
reflection
blazingly fast
🤔
yeah but no one does Main.main(String[] args)
Java moment
lmao
So you’re a spigot dev? Name every spigot api class
😬
because shit like Runnable, Consumer, Function etc are annotated with @FunctionalInterface lmao
but like the convience
I hate you
xDD
It’s a redundant cast
Yes
D:
Now why void
what does isAuthorized() do?
Uh, context?
I mean i have no idea, you tell me lol
._.
im looking in essentialsx source
and it has isAuthorized()
but is that their own method or not?
bc can't hasPermission() do the same?
user.isAuthorized("essentials.some.permission");
Their own
I mean if the method is their own, and the method is from User then you should be able to get to a conclusion xD
What?
private Boolean Check(final User user, final boolean input) {
I mean it's an User
mhm
but you can't create a type of variable..
right?
or is it an object
im so confused diuhasiudhiuah
OOP 🙂
@frail glade I don't like how this works so far but hey, big progress!
Perfect, adding a list as a property also works 
if a large area of blocks was changed with sendBlockChange would it lag the server at all or just the client?
Tf is intellijs spacing
Like do people actually put a space before and after the ( ) normally?
.. yes?
bruh
😐
You're a fucking weirdo AJ



spoofing


