#dev-general
1 messages ยท Page 74 of 1
yh
Idk how
No
or u just bad?
Im not learning how to do files now
Do you use the visual designer?
ya
FileOpen(1, "Cost.txt", OpenMode.Append)
'Editing the text file with the user details
PrintLine(1, "Reference Number: " & referenceNo)
I'll give it ago in a min
thats how to save to a file
The current date/time should update?
ye
Ok cool
in the meantime, i got another assignemnt to do lets go!!!!!!!
@ me if u need any assistance niall
starting now lets see hwo it goes
@quiet depot You win this one! ;p
We calculating Area or Volume?
area iirc
Private Sub CalculateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CalculateButton.Click
Dim PoolLength As Double
Dim PoolWidth As Double
Dim PoolDepth As Double
Try
PoolLength = CInt(LengthTextBox.Text)
If PoolLength > 10 Then
MsgBox("Pool length can be no longer than 10m", MsgBoxStyle.OkOnly, "Input error")
Return
End If
Catch ex As Exception
MsgBox("Please enter a valid pool length", MsgBoxStyle.OkOnly, "Input error")
Return
End Try
Try
PoolWidth = CInt(WidthTextBox.Text)
If PoolWidth > 10 Then
MsgBox("Pool width can be no longer than 10m", MsgBoxStyle.OkOnly, "Input error")
Return
End If
Catch ex As Exception
MsgBox("Please enter a valid pool width", MsgBoxStyle.OkOnly, "Input error")
Return
End Try
Try
PoolDepth = CInt(DepthTextBox.Text)
If PoolDepth > 2 Then
MsgBox("Pool depth can be no depper than 2m", MsgBoxStyle.OkOnly, "Input error")
Return
End If
Catch ex As Exception
MsgBox("Please enter a valid pool depth", MsgBoxStyle.OkOnly, "Input error")
Return
End Try
Dim Area As Double = PoolLength * PoolWidth
AreaValue.Text = (CStr(Area))
End Sub
Group box
I checked first they enter in a proper Int
i didnt even catch anything haha
anyone know how to fix this?
i know its a visual bug
but is there a way to fix this visual bug
Cancel the PlayerInteractEvent
Cancel the OriSpeakEvent
But it is already cancelled.
any plugin development tutorials.
i know java so i hope thats good for developing them
java is good
if you know java you're probably best reading the Bukkit wiki & the javadocs
But kotlin is worse
jk, please no kill me
who here is experienced with the AutoSellAPI
"experienced" is a harsh word for that, I've used it to an extent
Used it as well
monkaChrist
Thats there by default :(
hm?
Did you disable the kotlin plugin?
Using version 2018.3, doubt I disabled it
Cause my pc don't support never
L
did someone disable Kotlin?
I did
Kotlin is the best ๐
Yall don't know what you are losing, hating on Kotlin ;p
kotlin born in 2010
2010 bc
๐ฎ
Is this gradle
yeah
o
yeah I know that much
LOL
but surely he is a god of something too
oh no
What should I do in this project?
That is honestly the ugliest thing Ive ever seen
so pretty simple in Java
LOL
does anybody know how the search function of https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh works?
The most beautiful and customizable JSON/JSONP highlighter that your eyes have ever seen. Open source at https://goo.gl/fmphc7
@distant sun wdym by that?
If you press CTRL + F the search thing is somewhere else so it has it own search systen and I suppose you have to use a certain format or it might be broken xd
@distant sun It uses this https://codemirror.net/demo/search.html
that extension is open source btw
And what xd
the link to the source is in the description
Gotcha
So guys I need help with the /ftop plugin. https://www.spigotmc.org/resources/f-top-factions-top-by-novucs.26905/ It all worked and I config it all to how I wanted it then next day I can't get it working again, I tried deleting it and re installing it and deleted some plugins that I installed recently and still wont work, as it shows in game that its installed and in my files, its just /ftop wont work as it gives me the message "/ftop [page]"
Have you tried contacting the author?
yes
sadly he hasn't responded in the last 24 hours and I am suppose to release my server in 16 hours
https://hastebin.com/pejikewehi.cpp Guys is this a good class
anyone here that can help troubleshoot?
Specify
Ok so I have an event listener for a chunkbuster plugin that gets when a block is placed, checks if its a sponge, sets that block to air, and then calls a method that clears the chunk. But for some reason when I call the method to clear the chunk it doesn't set the block it was placed at to air
like I want it to set the sponge to air, and it does when I comment out the clearChunk method but when I dont it doesn't destroy it
it leaves it there until the chunk is cleared
idrk how to explain it so this is the best I can I can show you the methods if you want
Show us the event listener @obtuse gale
AH
gaby has new pfp
no one likes change
Time to do what I had promised before ._.
Building Hangman on DM
Meh
Yesterday's Noose?
LOL
Sxtanna think about it
Integer number = 12;
Integer number = 12;
Kotlin:```kotlin
val number: Int = 12;
VB.Net```vb
Dim number As Integer = 12;
Bs
Agreed, Java's looks so much better
technically the Java equivalent would be
final int number = 12; to
val number = 12
yeah actually
probably not
@quiet depot cough pr cough (incase you didn't see my last ๐)
Microsofts website not working for anyone else?
Same
Legit loadup the default file and you'll see, I already told you this smh
๐ค
๐งน
I have done!
๐งน
@pallid gale
Where's my 49.50 @pale shell
that's not a coding question, please move to a different channel
@hot hull https://i.imgur.com/L76XWoN.png ๐
i've not updated it in ages
ah yes
Imagine not owning the ign Ori
๐ข
Frcsty
imagine not having your own custom url for images
Imagine owing me 49.50โฌ
imagine
What does he even owe you for
niall really is asking the questions that must be answered
Lol im talking nonsense
idk where the 49.50 came from
You know exactly where
no
Bruh
As soon as I told people to enhance the freaking code
Lol i just got dm advertised but
bruh

lmao
its not working ๐ฎ
u have virus
Lol
kekW
Me and the dev team not marking the password field as transient for our public REST API
๐
๐
Honestly I might make an API to basically combine papi and maxims placeholder api
So you can register it using that api and it registers to both (or just one or none depending on what's available)
The amount of shit you say you might make but don't actually ever make.
F's in the chat boys
gl with that
Or ya know just use placeholderapi_ infront and you're set
I don't think mvdw is that easy to use as papi
eZ claps
I think you have to register each placeholder manually on mvdw
and frosty is right lol xd
who uses mvdw anyways
noone
People I make plugins for
Tbh the only thing I see people use it for is featherboard xD
Which to be fair, is a good plugin
I mean you can use papi for that..
I guess
Anyway what I am gonna do is work on my own plugin library
Right now
Because I'm waiting for my client to respond
Or well wake up I suppose
Yikes just wrote a 170 line ItemBuilder lmao
Mvdw placeholders is probably more performant
If it ever comes out :))
if
im not having fun
it would help if you actually did it right
pretty sure there's a command util for jda
WOAH
:0
wow
who said that
rude
:(
thkx
You harass every single person who has ever typed in #development tho :(
That is unequivocally untrue
big words
Damn the big words itself put you at a disadvantage Ori
@remote goblet sql injection is fun
Me and the dev team removing input validation and cleansing to improve website performance: ๐
Nice
#705633782811590666 Open source dev team interesting idea
Nothing there
Oh i meant #705633781070954517
intriguing
Now to test my plugin library
Anyone can tell me how i can make a countdown in a xpbar?
not without knowing what you need help with
So basically this: [00:29:19] [Server thread/INFO]: DarkWilco44 issued server command: /Plugman reload MCWCore
[00:29:19] [Server thread/INFO]: [MCWCore] Disabling MCWCore v1.0
[00:29:20] [Server thread/INFO]: [MCWCore] Enabling MCWCore v1.0
[00:29:20] [Server thread/ERROR]: Cannot load plugins/MCWCore/config.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 4, column 1:
on-message: '&c&lGTA &b&l> &6You ...
^
expected <block end>, but found Anchor
in 'string', line 9, column 42:
... age: '&c&lGTA &b&l>&6 %player%' &ecame into the hood'
^
Could not pass event PlayerJoinEvent to MCWCore v1.0
My code is right
No errors: double checked
dont post it in multiple chanenels... its something wrong with your config tho
Guys, do you know why my server takes a long time to load the worlds when its a new world?
https://hastebin.com/isunaxafiz.shell
With 1.8 the worlds load fine, but it takes a long time with 1.15, and I've had this problem on 2 hosting providers
@obtuse gale only ask development in #development , and don't be a pain like yesterday
What did I do yesterday...
I see a lot of messages in here not even related to devleopment at all
@obtuse gale Basically don't post the same message in multiple channels. This channels is for more relaxed development chat (not configuration help), where #development is for support only for mostly java but other languages are welcome.
Your question
Guys, do you know why my server takes a long time to load the worlds when its a new world?
https://hastebin.com/isunaxafiz.shell
Has got to do with neither and should be posted in #minecraft really.
๐
Hope that clears it up
New plugin wip nice
@ocean quartz add nbt methods to the item builder itself, ktnx
next major financial crisis we'll have COBOL in there again as well
Lol
Shit my library seems to actually work so far
Cool, what kind of books?
Java books
lets see what this does
lol
it works perfectly wtf it shouldnt do that
@remote goblet relatable
Lol I literally made a system to automatically detect constructor arguments
Like right now I automatically detect listeners and commands, their constructor and try to pass in the right arguments if registered
regret to inform you that wont work on 1.7.10
?
.forEach on Bukkit.getOnlinePlayers
O
1.8 and above iirc
Do not use guice for gui stuff
Guice?
what is isSlimeChunk
What's wrong with guice
Codiq, boolean
Slime chunks are chunks where slime spawn, codiq
Since when have you been able to spawn particles async
So let's say I have existing items which use a config value for something, and I'd store that value as nbt
If I were to update the config value, what would be the most efficient way to update the item nbt value?
Aaa I might just buy another 1 month server because why not
I need 3 test servers lol
a server for 1.8, one for 1.12 and one for 1.15
or localhost ๐คทโโ๏ธ
Search on internet... there should be an editor
I need 3 test servers lol
@signal tinsel why not have multiple versions on one
Because worlds and stuff
the 1.12 server is an exact copy (- data) of my live server, the 1.8 is for well testing 1.8 plugins, the 1.15 is fo r testing 1.15 plugins
Sometimes I throw a plugin onto the 1.12
I'm still on win 8, sorry, cause I'm using old laptops ๐
Also the dim of this laptop is dark enough so it's fine for me to use light theme
What the fuck
why not vscode
Also, I did let you guys trigger on purpose :)
that's nice for js
very nice
I will switch to it later
I wrote down at least 81 lines of js code already with bare notepad lol
ultimate flex
Windows 8 was pure garbage
Time to put down a bit a money reward to first person who finds a way to format enchants ๐
doesnt work @distant sun ๐
Fuck I keep forgetting
aint gonna work time to pay someone :/
i'm actually questioning why i still play this game lol
earns me jack shit from me wasting all this time
@pale shell
Wdym format enchants? Can you explain?
I mean, go from Efficiency.level.1 to Efficiency 1
Wait why do you even have it like that? is this for custom enchants?
Can I have a look at how you are doing it atm?
If you meant not using lore, im pretty sure you cant do that
what is the type of this variable level
from here :
lore.add(ChatColor.GRAY + enchantment.getName() + " " + level);
public static void enchantUnsafeItem(@NotNull Enchantment enchantment, @NotNull ItemStack item, int level, Player player) {
it comes from that
hmm
@pale shell your pasted code runs in that method or do you just get the level from there?
to debug try using just
lore.add(ChatColor.GRAY + enchantment.getName() + " " + 1);
nothing
as in?
i dont think this is gonna work, spigot = doo doo :/
wdym?
It should be just fine
what happens when you use this? lore.add(ChatColor.GRAY + enchantment.getName() + " " + 1); What is the resultant lore? @pale shell
Well Efficiency's name inside spigot is DIG_SPEED
yes
The first "Efficiency" might be the actual enchantment
Do you not want Efficiency to be added to lore at all (I mean keeping vanilla enchants as is , withotu adding lore for it)? I assume you want only Custom Enchantments on there?
is that it?
I mean, I want to be able to upgrade Efficiency and fortune too..
You can upgrade it normally, No need of adding that as lore? you can just set the enchantment level
But then the format doesn't look the best..
is that the only way..?
I mean, otherwise efficiency will always be visible on client side
as known enchants are visible as is without lore
Am I the only one who fckin hates how enchants are handled..?
You can replace that with your own system
no i mean how mc handles it overall
Jesus fuck a bot just sent me a pron discord advertisement lmao
did you click it
@distant sun this is why I fucking hate bots being able to DM people
We'll you're irelevant so you don't get DMed <3, whereas I get daily important DMs
And I don't even share a server with the bot
โค๏ธ
idk aparently worse than bitch kek
LOL
If I can't work out how to make this I'll put down a wager on first person to fix it.
Yeah
That's a bargain
I'll build his server for free no problem
If I can't work out how to make this I'll put down a wager on first person to fix it.What exactly do you want done? A Custom Enchantments library?
I'll skip sleep every day for a year
I'm mad fucking skilled
I mean what
No that's a lie
I'm not
I will do ALL work told
https://i.imgur.com/KTePdQ7.png nice
@signal tinsel
Yes lets just become their slave
I mean who doesnt want to do that
Yessss
you could tell me to commit genocide and I'd do it
I'm a slave now :D
lets all worship the dude
Always wanted to be one
just for that sweet developer rank on a mediocre server
xD
@prisma wave that you've built
A developer rank with no perms on the server that you built from scratch for free (fully custom plugins required)
"ok let's start with something simple like a worldedit rewrite"
@old wyvern I just want the default enchants to be formatted to look better
Lets rewrite spigot
I'm down.
@Yugi I just want the default enchants to be formatted to look better Give me a format example
deal
I'm down.I meant the other discussion ๐
Wasn't that hard now was it?
You want all enchants to look like that? @pale shell
I mean, the default enchants ye
I mean, my custom ones already look fine just default looks shit
Alrighty
Yeah this is what you were looking for right?
Yeah this is what you were looking for right?
@signal tinsel Who was that directed to?
oh ye, my bad
@pale shell What minecraft version are you using?
Server hosted on 1.8.8 playing on 1.14.4
Any one know of a datapack that will make villagers turn into zombies 100% of the time when attacked by zombies?
Or, do you know anyone that could make this datapack?
@hot hull what's that
wdym what's that
oh yeah it's the placeholders
I wondered why you were tagging me specifically
Nice
@hot hull {path} ?
I mean yea cause it isn't added, BM now I gotta figure out how to update those values
Might legit just make papi placeholders for that :p
#minecraft for data packs, #placeholder-api for placeholder api, that isn't related to development
hello guys i have a question i ir a region with build denny but the player can up to te sky with invisible blocks i think is a visual bug how i can resolve that ?
yep, everything's fine https://i.imgur.com/CtiHxQy.png oof
Hey! I'm working on a new Minecraft plugin/mod marketplace that puts customization first, and has a powerful developer API (allowing easy auto-updates and secure auto-updates and verification for premium plugins, among other things).
I'm going to be releasing it soon, and wanted to reach out here to see if any devs are interested in becoming early adopters of the platform! If anyone has any questions let me know! Here's a link to the (currently empty) new platform: https://polymart.org
@mellow topaz any early access viewings..?
Also if customisation is a priority it seems natural to have it be OSS
Assuming you're doing it from scratch and not just making a XenForo plugin or two
@prisma wave yeah, it is from scratch โ once everything is set up I can open-source it
@prisma wave frontend is html/css/js so nothing special there. And, don't hate me please, but I'm using mostly PHP for the backend... I hate it too, but it works really well
no hate there
i don't have much experience with it but I don't think PHP is that bad
What sort of things do you have in mind in terms of customisation?
The big things right now are that resource webpages can upload their own cover photo, add new pages (so they can make a wiki directly on the platform), set the favicon of their page, and change the theme color
There's also a revenue sharing program that resource authors can do if they want to, so they can share a percentage of revenue with people who share the resource
if you're interested I could shoot you a link!
that's understandable I guess
@topaz bay damn... I knew I shouldn't have given that away :P
hahaha
another warning
Once it's open sourced I'm sure it will be heavily criticised
But constructive criticism :D
Not from me.
Just pure hate?
I quite enjoy destructive criticism
hahaha, true
you are evil sx
Thank you
@topaz bay can you tell me what im doing
Something stupid
yeah probably
public class IslandData {
private Player player;
private Island island;
public IslandData(Player player, Island island, ConfigurationSection dataConfig) {
this();
}
private IslandData(Island island) {
this(island, );
}
private IslandData(Player player, Island island) {
this.player = player;
this.island = island;
if (island == null) {
this.island = new Island();
}
}
}
i started writing it and i was like "what am i doing again"
Should've used Kotlin
this.island = island ?: Island()
Although, you wouldn't even have ambiguous nullability
@remote goblet this(null, island, null)
Should I even restrict the hangman game to make people pay for vowels? 
Oh, hi @mellow topaz!
Oh hey there @errant geyser!
Finally.. my js code is finished
Now I just need to add the gameplay js into DeluxeMenu
<?php echo "Hi sxtanna" ?>
@ocean quartz have you pushed your update yet?
hey
my luckperms prefix doesnt show
ive done everything right
mostly
name_color: '&b'
name: '%player_name%'```
lol
it's not wrong tho
Who knows how to improve Replaying decoder byte buf
And don't say "dont use replaying decoder"
Breh
I have to recode every of my single line thanks to me not having the semicolon on each executor in js expansion ๐
And by the fact it doesn't support let or or keyword
Visual vm aint as bad as i thought
@obtuse gale you could script the semicolon adding
If someone wants could they teach me how to make plugins I would be so grateful
Do you know java?
No ๐ฆ
Start by learning java
Ok
the visitor pattern truly is a work of art
@prisma wave ?
the visitor pattern truly is a work of art
It absolutely isn't lmfao
๐ญ
@prisma wave JS Nashorn is another stuff on JS PAPI expansion ๐
Also ik I don't have to use semicolon on js
But if i don't have it on expansion script, console will shout at me..
i know what nashorn is lol
I mean make a macro in your text editor or something to add semicolons
How ๐
I mean, how can I make that thing smart enough to only add semicolon at the end of the executor or return field
@errant geyser Yeah, maven central was dying the other day, but it's out
1.5?
1.2.7 it's the GUI one though (not sure if you use it as well, if not then sorry for pinging the other day, it's hard to keep track) xD
@distant sun and IDE is supposed to be a tool, and whatever tool a developer finds easier to use should be the one that they choose.
IJ still better in every way :))
circlejerk
At least 1.2.7 is working
@ocean quartz apparently 2.6 is public so that's what you're supposed to use but it also has 3.0 but it's private so I guess it just doesn't work?
@frail glade 2.6 of what? ;o
Apache Coms Lang
Yeah, it should be using the correct coms now i think, I didn't realize there were more
@cloud jetty I'd say start with a simple plugin and learn on the way.
"Learn java" alone can be very odd.
I've watched a 2 hour video about the basics of Java, then watched a spigot basics video and now I can kinda read and understand it
and write very basic java programs
so I guess I'll keep watching and trying spigot videos
I feel like learning Java based on a video can be very bizarre albeit if it doesn't spoonfeed code it's fine but it's kind of bizarre since you can't really question the videoauthor which will make you leave the tutorial with unanswered questions.
I'd honestly say do a mix off everything, don't go into something to profoundly in the start just try to understand what you're doing.
yea, however the video was really just explaining the basics about functions, classes and packages, the int string etc stuff and how to read and write stuff with the system.out and scanner thingy
Well I mean we all learn in different so who am I to blame? I mean for me it works the best with discussing what I am doing and read about how other solved the problem.
Yeah that's great
Yea I'll be following the #development channel for sure, but other then videos I don't really have other sources to learn from
But a great strategy in general is if you want to learn something quick, do it much, very much, almost constantly.
I could get a book about it
I mean trying to get a helping hand is always good aslong as you don't get spoonfeeded. Books can be good but as I mentioned before sometimes you don't understand what they wrote in that book or said in that video and then it's always good to ask about it.
Maybe you don't get the most proffesional indepth profound answer but maybe someone else can rephrase it for you so you get a better clue of what you didn't understand at first.
Yea that makes sense
I wrote my first join leave plugin earlier today, kinda spoonfed but I do understand how it works
The point is to always leave with fully understanding what you just learned.
Yeah that's good
Hm
Just that you generally understand it.
everything is hardcoded so next I'm gonna figure out how to do config stuff and then make it configurable
I literally created a subcommand on my plugin called "debug", it uploads some data to hastebin and sends a link in chat
with permissions I guess
lightfire sounds like an excellent plan.
I literally created a system to automatically detect any and all required placeholder expansions
And check if its installed
:))
Maffie cool
Created a forgemod that does god damn nothing (;
lol
I mean I kind of just created a framework etc so no in game functionality but quality side is allg.
What does it do?
Is that also a thing for plugins and how would that work?
yes
A way to easy add new entities with models from the client and good to handle ai behaviour of entities
I consider creating an entire factory setup for version support etc but would take too long so I guess I will just recode the mod when 1.16 arrives
Is a framework like a base for a type of plugin (e.g. a shop plugin)?
Kind of
It's more like helpclasses of an existing API with it's current lib and classes
It's only made for making stuff easier for the users of the framework itself.
Imagine if it wasn't 
I mean kind of I guess but it doesn't really dive into code or does it?
Never really used it always setting every project up manually.
Imagine if this said AutoSell :(
I'd say it's more of a template?
no it just initiates the code that happens on start up or stopping of the server for example
yea I guess
Lol frost
onEnable and onDisable ?
Not gonna happen
yes
Maffie it is going to happen
Yeah it's more of a template lightfire
Okay makes sense, so a framework would be something simular but more specific, more worked out?
Yeah and can be used more than just a template
okay, thanks ๐
Is there like a framework I should use for every plugin or does it depend on what I want to do?
There is more general and core frameworks
Like f.i. Matts cmd framework would be more general right?
Almost every plugin uses commands.
But a menu framework would be less core
Not all plugins has menus right?
Yea that makes sense
I mean my framework is both tbh
It has some general features
Mostly general features
lightfire important thing with frameworks is that it's used to help the developer nothing more, nothing less.
Ye
It doesn't technically add features to a plugin by itself
It does that when you use it in the plugin
That's the main difference between an API and a framework ig
Spigot?
Ig
An API is something that let's you interact and interface with a program codewise which results in that your code needs to be dependent on that API. Frameworks isn't needed but still used because of it's utter functionality.
Ye
Yea so for a discord bot, you'd work with the discord api, correct?
Ye
Not really I mean discord only has a web api iirc and then there is all those libraries like JDA, Javacord, Discord.js that wraps it up?
That's true
okay
Well lightfire but yes, a discord bot needs to work with the discord api
okay cool! Got a lot of learning to do ๐
Yeah, important thing I learned was that you shouldn't get into too much profoundly stuff, try to keep it superficial when you're learning.
Yea, will do! I feel like the Join Leave message plugin could be a nice way to start learning
One thing also, try to solve the problem first without help. Then ask for help if you get stuck.
Hey guys, do you know how to fix player skins being set to alex when I do this
PlayerInfoData newPid = new PlayerInfoData(pid.getProfile().withName(nameScoreboard.toString()),
pid.getPing(), pid.getGameMode(), WrappedChatComponent.fromText(name));
event.getPacket().getPlayerInfoDataLists().write(0, Collections.singletonList(newPid));
okay, thanks!
#development @obtuse gale
@topaz bay Do you think im following a good path?
Im putting my api stuff in my api module
Mainly interfaces and some enums
Hey @obtuse gale you could use tiny invisible invincible magma cubes or armour stands to have unlimited character prefixes
Don't say pog again
pog
Pog champ dluxe
@errant geyser how would I get the entities to be pass through and not have arrows bounce off of them
fluency.buildMenu()
.named("Test").rows(3)
.addButton(3).type(Material.RED_BED)
.name("Go Home").lore("&7Click to Go Home").onClick(runCommand("home"))
.done()
.addButton(5).type(Material.STICKY_PISTON)
.name("Set Home").lore("Click to set your home").onClick(runCommand("sethome"));
As a concept how does this look for a GUI library?
Imo, kinda confusing, since it's too much .this().that() but i think it's more down to preference
@prisma wave I hate it
understandable
a kotlin dsl would be better
@ocean quartz I agree that it's a bit heavy but I'm trying to decide the best strategy
I like the idea of method chaining
not sure if it will be so good in practice
It's actually what made me lose my mind trying to understand Brigadier, though yours is much simpler
Looks at this mess:
yeah that's a bit of a mess
I don't think the whole chaining lambda thing really suits java
What the fuck matt
:o
I hate it, wanted to add support for it on my framework but just can't deal with it
Is there any good documentation on how to properly implement asynchronous tasks?
Not being able to use bukkit API sort of throws me off. It seems ambiguous on what can be used and what can't.
Back to my cheap hangman game ๐
whats easier? 1 page with different things based off users roles or 5 pages that are locked to users unless they have a role if u get what i mean lol
easier for who
you or for the users
depending how you manage to display all of them, if you are talking about a mc gui then sure, id display them all so users know what they get / has to do for each thing
im talking about a website lol
and me, its only for my staff and they can deal with it lol
probably one page?
would that be easier tho? It would have to appear differently for each user
based off roles or whatever
im talking easier backend btw
im gonna try lol
probably fail
How do i even go about setting up like roles or whatever?
Finally my hangman game on DeluxeMenu work
Now I just need to... config this stupid long menu lines..
Only 3 characters added and it's already 25 lines long ๐
I did use a lot of cheats to both DM and JS to make it work
Hello I'm wondering does anyone know any respawnable ore plugins?
am i the only one that always struggles to find matts command framework website lmao
aha
got it
I just type in matt and it shows up :p
bookmarkin that bad boy
Trully amazing
Wtf is it
=faq list
2real4me, ChatChat, autosellapi, codeblocks, colors, customheads, deluxemenusglow, dictionary, discorddev, dm-update, docs, ecloudblock, enchants, entities, external-menus, help, hidden-roles, hosting, imgur, item-data, javadocs, js-factionname, json, luckperms, materials, new, nojquery, notowner, optimize, papibot, particles, paste, placeholders, player, plsnoarrowcode, requirements, site, sounds, spigot, spigotid, startuplog, tagess, yaml
?plsnoarrowcode
glorious js
beautiful
what confuses me is why so many people run checks on whether it's the right command (a.k.a with cmd.equalsIgnoreCase()), and then check whether they have permission (sender.hasPermission()) when things like that are automatically checked if you define it right in the plugin yaml
and they send messages when the usage is not done right
when you can just return false and have the plugin yaml do that
I'm not complaining I'm just curious
because people are strange I guess
@jovial warren I wouldn't have suicidal thoughts when working on a TabFilter if that was the case 
@ocean quartz you know you were on about implementing brigadier? Have a look at this: https://github.com/lucko/commodore
Yeah that was the first place i looked, it's still so confusing to understand that i left it for later xD
@hot hull Damn I forgot about the NBT thing
:c
Alright time to get back to work
yet java has var too lol
Ikr
except java's kinda sucks
not natively anyway
actually
I use java 13 :)
and yes I do still use Java 8
you know what else isn't native?
And java 14 is adding things kotlin had for a while
lombok
oh shit
a lot of people still use java 8
I personally prefer Java 8 because I just find it easier
HOW
Person person = new Person("this describes the person name")
vs
val person = Person("this describes the person name")
java 8 is still in LTS
What
HOW DOES THAT MAKE SENSE
Bm used that "draw 4" card
that makes no sense
yes
yeah I don't like the fact that it lacks the new keyword either a bit like Python
using a newer version doesnโt make it harder
hold on what
God in heaven, please make it make SENSE
Sx, do you think this person is saying stuff out of intelligence
I'm actually lost for words
what
in what way is java 8 easier
Y'all arguing isn't going to change the fact that programming languages still suck.
@remote goblet absolutely not.
You sound like one of those old programmers saying all the old low level languages are the best lol
if you want me to formulate a list of all the things I don't like about Kotlin I can do that
I do.
can you add what makes java 8 > java 11 as well
oof, only a few minutes
java 11 > java 8
kotlin > java
^^
java 8 is going to be EOL at the end of the year
The worse thing about Kotlin is the devs xD
The worse thing about Kotlin is the devs xD
@ocean quartz and sx
See i am part of the problem xD
time to wait 6 years for shitty mc server hosts to update to java 11
I think that mojang should jump directly in java 13 and not java 11
Oh please
Haha
I barely shill Kotlin anymore
Lmao BM
13 isn't LTS
wdym by LTS
14 is latest right?
15
or is it higher 
I think
14 is going to be the latest in a few months
before they have moved a new lts is already out
long term support
long term support
long term support
13 is obsoleted after a year of using it
short term support
ok so java 11 would be suitable
new lts will be available by then
java 17 coming september 2021 ๐
17?
Cant wait for java 30, when they finally just make it Kotlin
Cant wait for java 31, when they make it different than kotlin
1. I personally don't like type inference, I find the explicit types in Java make it easier for me to read and debug.
2. I don't like the val and var keywords personally, it just doesn't sit right in my head
3. I don't like the lack of the new keyword, personally I find that keyword makes it easier for me to understand that there's a new instance of an object being created
4. I generally prefer the way the Java standard libraries are laid out, mainly because I've got used to it now, and I'm quite reluctant to change as it is, that's probably one of the main reasons.
5. I like lombok because I find getters and setters take up space in your classes and make it harder to see the methods that actually do something different.
6. I prefer Java 8 over Java 11 because I've used it for so long, and again, I'm reluctant to change, and also the addition of the var keyword I just don't like.
that's all I could think of so far
thats a dumb list
basically it's mainly because I'm very set in my ways and reluctant to change
Well Java 14 is already trying to make things similar to Kotlin lol
you prob should of taken that time to back out cause now you're gonna be dragged to hell and back
@jovial warren Kotlin HAS explicit types
5 and 6 are dumb
The new keyword is redundant when you have specific syntax for object creation
I dont know what you mean by the library being laid out
6 is very dumb
What is it sx
java 11 brings only improvements
You still have access to those libraries??
things like Unit
The syntax
Unit is SO useful
half of these reasons just sound like nostalgia and tradition tbh
More than half sound like idiocy and ignorance
in kotlin?
half of these reasons just sound like nostalgia and tradition tbh
I know I'm like an old man
You don't need new
I do
there is no new
..
You literally dont...
I do
it's just ClassName(params)
It's a redundant keyword
Indeed
Ye but sx said you have special syntax for creating an object
yeah
Yes....
you guys still aren't respecting my opinion
object
Class(params)
I'd switch to kotlin because string interpolation is my dad
@jovial warren your opinion is objectively wrong
String interp is godtier
you can't say that @topaz bay
As is the kotlin stdlib
they just did tho
an opinion is an opinion let it be guys.
^^^^^^^^^
Opinions can be wrong.
I'm happy to let it be
Give this man a trophy
Thats literally what makes them an opinion
in your opinion another opinion can be wrong
LITERALLY
It's just the justification makes no sense
doesn't make the opinion wrong in fact
Yes it does.
Opinions can be very wrong ๐ค
- I generally prefer the way the Java standard libraries are laid out, mainly because I've got used to it now, and I'm quite reluctant to change as it is, that's probably one of the main reasons.
just because the facts/supporting evidence may be complete bullshit, doesn't make the person's opinion wrong
I would say this opinion is very morally wrong
What does this even MEAN
it may make them an idiot, but their opinion can't be wrong
itโs his preference
@jovial warren WHAT
Y'all should take an afternoon nap ๐
his preference might not be the best choice but whatever
The facts basing the opinion can be wrong but the opinion itself cant be
Indeed
Ye, stop it.