#dev-general
1 messages · Page 64 of 1
Then you try running it and going into the creative menu
I just tried it with only that one mod, and this is the first time using it on the twitch launcher, and it still went 🔻
still sounds like a you issue
:l
Okay what about a plugin that can make new plugins
Why though
i don’t know
exactly
I ALR SAID I GET USELESS STUFF IN MY HEAD
thats how you end up with a dumb plugin like CraftHolograms
remake the entire of Bukkit and spigot
okay have fun
Thanks
remake binary
Remake universe
remake atoms
Remake my brain instead
remake electrons and neutrons
Hm
Remake minecraft
Let’s just make something like better command api or smtng
and then you can remove 1.9 combat and then people would use the latest version as it has 1.8 combat ;P
no more 1.8 developers as they'd have no reason to be in 1.8
I am
I’ve made cannon jars etc
It involves 1.7 and 1.8
Not saying it went well
But 1.8 devs isn’t ded
1.8 devs should be tho
Alrighty you're getting muted, again.
sadpepe
First it's 300+ plugins now it's 1.8 dev talk.
I mean only on 1.8 was NBT stuff throw issues yesterday. Caused me an extra couple hours of work.
That didn't English.
No weird pvp cooldown and absolutely no elytra
Elytras are cool as hell
It’s trash
its amazing
Oh god
Free fly anywhere you want? thank you sir
Maybe we should add op for no oppd players as wel
Like why
Elytra is too op
And like the crying obsidian
Work good stuff mojang
Jeez
Yes which is horrible
I like it
It will end up being something like terraria
Sandbox
I mean c’mon
PVP, Plugins, Servers are all external parts of Minecraft, Microsoft's primary concern will very much be keeping the survival aspect of the game fun and fresh, They aren't entirely bothered about anything that comes with it
The global multiplier has ran out and has been reset!
Why
sadpepe
1.15 was a bug fixing update
but they had to add something
Bees add more possibilities to redstone with the honey block
and a new food source
1.14.3 is already a thing
I don't tho
They needed a major bug fixing update and people had wanted bees
they might not be the most spectacular thing
but they're something that are very useful to have
Adding fun stuff that involves math would be nice
With honey blocks, with crop pollinating, with extra food source, ect
And caves
minecraft is fairly complicated but it dont need to be that complicated
MC Caves suck
1.16 is a great update so far
Something that makes it worth going to a cave whatever the circumstances are
It’s decent
Target block
thats useless
They should fix nether portal connections as well
nether portal connections seem fine to me?
U srs
Creating portal a
Then creating portal b
Then c
It will fuck up
U will end up in same in the nether
You mean you dont like the fact you need to do actual maths to figure out the real connections?
the one thing that you just said you wanted more of? Maths?
You make no sense sometimes
It makes total sense my man
Ooo. Been working on potion support for DeluxeMenus but I might scrap it. It apparently doesn't work on all versions.
Actually we dropped support for 1.8.8 so I might as well finish it.
fuck anything lower than 1.13
😛
More like anything lower than latest
can we take a moment to say how good the soul particle is
(Stealing this gif from Esophose) https://gyazo.com/f3ad03fe3ef7a97a53dae522d38d5bad
@remote goblet you should do that with the bubble particle
its very good for creating "wires"
Imagine hating plugins because they're publicly available and no other reason :^)
if they're Esophose plugins weSmart
A large majority are trash
A large majority are trash ye
No surprise there
esophose plugins are greattho
I feel like I know that name, and I do not agree
and im not only saying that because she's lowkey mom
skyblock?
Ex developer of Songoda 😅
that was a sad time in life
https://github.com/Rosewood-Development/RoseStacker that's their most recent plugin
Kinda want to port this to sponge for personal use
🤷♂️
they also made Songoda's UltimateTimber all by themself
I love her honestly, she encourages me to quit making that Skyblock plugin
How does this not throw exceptions on missing plugins?
Oh, its their own classes nvm
it's completely async
Is that supposed to be an achievement? xD
Async particles 🤢
idk
I guess forge updated their renderer or something and it broke
it can handle 1m mobs stacked into one and doesn't save all the data inside nametags unlike some people Cough UltimateStacker Cough
?
I DONT KNOW HONESTLY
I'm talking about this one thats supposedly better?
This literally keeps every serialized entity in a list in memory
wait lemme find what nicole saida about it
which doesnt make sense at all
If they are being stacked, they should be the same entity, you could just clone the current one and call it a day
That means nothing to me
I would say its even more cancer to store literal copies of the entity in serialized form
Thats like storing copies of an itemstack inside of itself for however much the amount of that itemstack is
Instead of just storing the number
I don't know honestly lol
I support any plugin or developer that dont support Songoda kekW
i don't know if I could support someone who endorses child predators
but that's personal preferences
I'm not speaking on whatever the hell that is specifically
Just the thought of support out of opposition, kinda yikes
their plugins are mostly good concepts but not entirely executed well as they're usually made within a day or two and then released with 40 updates following the initial release
Sounds like.... all the plugins on spigot
And the whole in a day thing is not really bad per se
I can do quite a bit in a day
xD
LOL
most developers on spigot are half terrible
but songoda are on a next level
and they're not even on spigot kekW
¯_(ツ)_/¯
how do i get tokenenchat to work with deluxe menus on a 1.12.2 server
ohhh new channel
If you want support, I think use #development @wicked shadow ?
more people will probably see it
ok
Oh didn't see this was made
If your config is this long, I will personally make sure you get smited the next time I see you in MC.
How big is the file?
31MB
omg
Is this the channel where everyones gonna argue why intellij is better lol
And why kotlin is better
Both of those are true btw ^
Prepare to get dunked on by sx
Lol, can this channel be moved above #minecraft its kinda triggering me cos im so used to seeing it with minecraft next to off topic lol

Wew is still here
oooo
I was so scared that the channel would be removed within 12 hours
o new dev channel
@Override
public void onEnable(this::onDisable) {
}
@Overide
public void onDisable() {
}```
Imagine this
that is physically sickening
Lmao
Someone tell me what it means 😦
what does what mean
@pallid gale which language is @quick lava monkaS
still nodejs
@quick lava's sole purpose is just to aid barry with spigot linking
@pallid gale, Sorry, could you say that again?
shush
he's my favourite barry :o
but then in the screenshot it shows the webhook that the bots create dedicated to that specific system monkaChrist
I'd do it for 20
@pallid gale
Id do it for free
I'd do it for 500
499 and ill do it
I'd do it purely for the fun of doing it
I'd even spice it up a bit and add reactions 🤷♂️
wew
wewww
Anyone happen to know off the top of their head how to join to mysql tables
and lining up the data based on a column
Yes you absolutely need spring framework
I dont understand how some antiswear plugins have players bypass it with spaces 
Yeah it's f u c k I n g stupid
¯\_(ツ)_/¯
Chat filters in general are hard to make work properly
Swear filters*
View the Scunthorpe problem
Legitimate name, would get blocked by a regular filter.
And when would someone say that in game? x)
I guess this counts as development in a way...
I like this nice workflow to automatically publish my docs to gh-pages once I commit to master branch
https://github.com/purrbot-site/Docs/blob/master/.github/workflows/deploy.yml
It's an example, not a literal "find a way around this one word"
You could take my minecraft name for example
Something that would be said ingame
"AsexualDinosaur"
One example, when people block political words like you know, Trump, you can no longer say Trumpet
that name longg
Yeah, tab completion Is a nice feature
I just hate that /give doesn't automatically target the user running the command if no user is specified
Feelsbadman
For what, essentials?
Just regular minecraft
Sponges essentials plugin doesnt overwrite that command
Yeah, probably the only sponge guy in here lol
I assume you get commissioned for plugins?
Ah fair enough
I do the same
Cant say I blame you.
Youd probably be underpaid if you did
People too broke to commission you
oof
Make an api for autosell
Clip is mia
full isolation mode
cuz vk's shit is broken
you can also get it from spigot btw frosty
I can't I tried like 4 times, it doesn't compile when I import it with a jar
If it requires 64bit I can't
smh
gotta say tho, either I'm blind or the Autosell's Multiplier objects class is not gonna help me either
bc java generics bad
So with RC being out, does that mean it should be fully out within a week or so?
i should work on my plugin but I feel sick so i'd rather not
and no it's not corona :P it's just physically sick
Yes
Anyone know some good wiki site templates
Specifically for stuff like a modded server
Enjin kekW
god no not enjin
@topaz bay
I have some cancer code for you
that i didnt write
and it isn't Island.java this time
uppercase packages
excessive else
@remote goblet ...
LMAOOO
@pallid gale add an arrow code command to barry with a link to this
tooo?
jesus christ
The more I look at it the worse it gets
@pallid gale https://hasteb.in/adamogeh.java this link
o thats an arrow
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
=faq
@pallid gale
=faq <key>
=faq <add/edit> <key> <message>
=faq delete <key>
=faq raw <key>
=faq list
?<faq key>
=faq add plsnoarrowcode https://hasteb.in/adamogeh.java
We've improved the code https://hasteb.in/yoyagata.java
lol
That arrow
i need help with deluxetags
i changed the config to be essentials chat
and now i just shows {deluxetags_tag}
I would rather die
@topaz bay hf
Why doesnt everyone use Paper instead of Spigot
Jesus
There is no reason to use Spigot over Paper
I'm using Paper
yeah, you bEtter
Weird saying, but whatever
What
I dont think I will ever understand how to do tab complete
sure
firstly, make a TabComplete class, (or whatever the fuck you wanna call it)
then make it implement TabCompleter
then add the tabcompleter method
and just check the shit you wanna check, return the shit you wanna return and register it
easy as that
bongo okeh
want an example?
i'll figure it out
k, cuz I got shit code
😂
I really should fix this skyblock plugin 😩
@distant sun ????
Good morning, sir,
I have a problem, when I put %pinger_online_testplugins.com:25565% and replace with my server's ip it doesn't work in the menu
Can you help me?
Thank you
Ah, okay Excuse me
Did you know that VisualStudio19 includes a gradle project creator if you installed C++ development on the installer
i mean java.
gradle init isn't coupled whatsoever to vs
i mean you can create a gradle compiler thing.
you can do that in any competent java ide
and intellij has gradle for java
intellij 2020 soon™️
ree
or maybe not, considering the date
lmao.
Hi there, I am trying to learn how to create custom entities in spigot 1.15.2 and I cant find a decent guide or example. could anyone maybe recommend one?
@jovial axle #development
I need some opinions on something.
Here is a rank system I made and I linked it to a GUI. It has taken me about an hour to code and I would like some opinions. Each wool block is a different rank and the enchanted wool is my current rank
https://i.imgur.com/6afz4CV.png
Anyone know how to speed up building in intellij? I just want it to refresh the changed classes not all of them
gradle
Gradle has a caching option for that
pretty sure incremental compilation is already enabled
That is far too accurate
shut up you
😋 var uh.. let me just guess they type
Java has var too
😐 Since when
Eh I still use 7, 8 if I have to
Well we all use version n if we have to use version n
That doesn't really say anything lmao
does var work with custom classes too?
yes
It has some interesting and unique effects
It is typed
It's just so-called type inference
You need to initialise it immediately
🥺
its like auto in c++
exactly
im trying to imagine how its being done..
?
you tell it the type right there on the right side of the operand
its just a copy paste lol
oh
var foo = new Object() {
void bar() {
System.out.println("Hello!");
}
};
foo.bar();
This is one of the new var behaviour
wasn't possible before
I think it's quite interesting
i was about to say it will return an error
You can't actually capture the type without var
wdym
yeah
oh
I mean, this is rather useless, but still it's interesting
ok my replica of https://www.spigotmc.org/resources/furniturelib-in-gui.53704/ for 1.15.2 is done ayy
You can also capture intersection types without generic methods now
is it open source @hallow tide ?
mine or them?
yours
its a private plugin
ah i see
Let's be honest var sucks compared to val
facts
val?
eww
I remember when var was first announced
Johnny but i dont know if my paging system works though , cause i only tested it on 1 page and cba to add more furniture just to test XD
val is is kotlin goodness
I was BEYOND disappointed they didnt include val with the same semantics
it writes itself
what is val...
kotlin
final var is ugly
the same as var but final
is is
shut up
D;
mobile typing is hard
MY FEELINGS
but the thing is I don't really have the need for such a type tbh
FACTS DONT CARE ABOUT YOUR FEELINGS
I don't usually change local variables anyway
var is just a time saver
Intersection types?
Nah, val
In kotlin i use it because it's idiomatic there but
like I don't miss it in java
it's idiomatic in Java too now
it doesn't really make a difference whether you make a local variable final or not
It does for maintainability
well in the main class of a plugin nothing can be final except the getters and setters and other methods
I think that's an overstatement
I think "doesnt really make a difference" is an overstatement
that's another annoying part of spigot
It may not make a difference
main class fields usually have to be non final
But if its the way you code start to finish, maintenance and extensibility is astronomically easier
I disagree
In regard to what?
I agree in that immutability is good
But I don't think final local variables make a significant difference
Depends on the kind of programmer you are IG
They are captured within a temporary scope
Its not about runtime though
I know
maintenance and extension dont happen at runtime
If you want to extract a part of a function into another one, things being final makes lifetime tracking infinitely easier
oops, you forgot to take out the part 20 lines down that mutates the value of this field
that cascaded into another function that takes this value
oops, the entire codebase is fucked now
LOL
Hyperbole ofc, but still
hmm
such a thing never happened to me
I'd use a val if it existed
But I don't need to make everything final now
manually
I mean... it just makes sense to mark non mutative references as non mutative
Imagine if the string class was not final
Just from a logic standpoint
Hehe
Enforce the implicit contract you have
I make intellij generate everything as final
¯_(ツ)_/¯
Generate what exactly?
Ever since someone yelled at me for not using final, I use it
class and variable definitions
i remember sxtanna yelling at me to final everything
someone asked me why do you final your methods its useless
It is useless if your class is final
and it hurts if you want to mock
is it important to have classes as final?
by default, yes
i didnt know you can do that
you can't say that in a general way
Yes I can
if your class should and will never be extended, make it final
final by default, open for extension
If you want to have it extendable, make it non final
Exactly what I said
lemme make an issue in all my plugins
No, you said the opposite
if your class should and will never be extended, make it final
whatever
haha field = value
@prisma wave LOVE direct field access
yes
You need to change the bow tie to a kotlin logo
good idea
although actually
kotlin is kind of direct field access...
or it looks like it
Kotlin doesn't have fields at all
indeed
it does
of course it does. private "properties" are direct fields
bruh
JavaPlugin.getClass(Main.class).playerHandler.map = new HashMap<Player, Boolean>()
ez
no
no setter for vals
hold on, ima boot up javap
direct field access?
yes
what is it
Class#field instead of a getter/setter
static?
not necessarily
how would you do it without static
if you say not necessarily
yes
wait thats possible?
yes?
oh because its public
ah
btw im going on with gradle from now on as the MANIFEST.MF doesnt have your name YESS
makes stuff so much easier
wtf is my kotlinc stupid?
it just doesn't produce any class files anymore
oh... not that trash
jk jk
you broke it
by contradicting properties :^)
ayy gg on leveling up
how tf did you see that before me
Johnny leveled up
the colors are ranges of levels
class Foo {
private var field: String? = null
fun bar() {
field = "xyz"
}
}
```results in:```
public final void bar();
Code:
0: aload_0
1: ldc #10 // String xyz
3: putfield #12 // Field field:Ljava/lang/String;
6: return
I like all of the Jvm annotations
yeah im dumb xD
johnny tiered up
no property there
you talking about bytecode?
yes
yes
@lunar cypress No setter, because theres no definition of a setter
Its still a property
stuff that i barely know about nice
bytecode is cool
no
:)
like internals of java i mean
screw you
D;
The thing I was saying is that private "properties" without getter/setter become raw fields while public properties stay being properties, even without explicit getter/setter
what is the consequence if i dont have my classes final 😛
when?
non-final*
oh
@hallow tide wrote an article about bytecode some time ago if you're interested in a simple introduction https://medium.com/p/an-introduction-to-jvm-bytecode-5ef3165fae70?source=email-e6e27a602296--writer.postDistributed&sk=536caa64482bf8130da8f056f28c5700
classes should be final by default
no no
no in java they aren't
medium...
as you should make them final by default
ew
Thanks Johnny
oh
medium...
@topaz bay excuse me I'll write an article for the new york times next time
lemme put it on my todo list
The link I shared is a friend link
@lunar cypress that bytecode would be the same if it werent private btw
you sure?
ah
then i misremembered that, my mistake
Medium makes me want to vomit
And reddit programmer subs are like 90% medium links
It makes me sad
shitium
Todo List
1. YOU STUPID MUST MAKE ALL CLASSES OF YOUR PLUGINS FINAL YOU STUPID
not all
then they should be final
except when i implement api in rolesync
yeah why i said except
i never understood what final does
depends on the context
Get this...
please do
👀
D;
MY FEELINGS
dont make me do it
I'll help
I will press send
:(
to send this message you must've deleted the link again
true
checkmate
hopefully that's a good sign
oh lol i have a different colour now
I will:
copy the link
go back onto discord
paste it
and press send
why is it bad tho
is that a THREAT
YES
whats bad about it..
non final classes?
kinky
only?
/*
* Here is just for me because I have gotten confused many times
*
* • You're defining the island methods
* • So getRange() getMembers() ect
* • Define size, players, upgrades, flags, everything.
*
* • This way you can use the methods across the plugin.
* Jesus christ get yourself together
*/
```excuse me
can someone answer why is it bad
why what is bad
because a subclass could change vital functionality
Anyway, back to Island.java
When making that file
Why enum map?
can someone answer why is it bad
@hallow tide it's not as severe as they make you think unless you're really depending on security and code integrity
Instead of enum set
oh
if its in the enum set, that means the value is true
that may have been me
alex youre a 4head
security?
yes
oh because its not final?
Map<Enum, Value> map = EnumMap(Enum.class)
Why is there an instance of skyblock in this?
Not sure
okay
Why is there a location in this?
Both you and alex scare me >:(
And why is there a world instance?
You keep asking me
😦
You're both scary :'(
😔
I DIDNT KNOW WHAT I WAS DOING
THATS NOT AN EXCUSE
?
IF I SAY IT IS, THEN IT IS
its litereally what?
As much as I bullied that dude in #off-topic for only learning from spoonfed code
Can you fix it for me >:(
ah yes, the amd phenom in all its glory
this.owner = island.owner == null ? null : UUID.fromString(island.owner.toString());
at this point im not even gonna deny it
declares islandsSettingsKey as a parameter
doesn't use it at all
:D
LMAOOOOO
I should teach people what to not do in java
indeed
To be fair, we've all seen far worse
@pallid gale I am hereby requesting another entry to =faq
I am
idk
This code would be in the upper half of the spigot code tier list
=faq
@remote goblet
=faq <faq key>
=faq list
?<faq key>
lemme find it
that's definitely pretty high in the list of "worst things I've seen"
=faq
@remote goblet
=faq <faq key>
=faq list
?<faq key>
ree
wow I envy you
=faq plsnoarrowcode
thats pretty bad
ik what could prob be worse
my first ever code ^
Let's dig out old code
i spent about a minute trying to figure out why that didn't work
you gotta be kidding me
oh god
my code 2 1/2 years ago
amazing 🍝
very nice
compare it with the latest
https://github.com/BenHall-1/BungeeCord-Core sx what are your thoughts on this
This is probably the first lines of code I've ever written https://hasteb.in/ujevejiv.java
this is the latest https://github.com/dode5656/RoleSync/blob/35ce8cb907cc86e747fa17e75c5f9b1ce4ecfcfd/src/io/github/dode5656/donorrole/commands/DonorCommand.java
gotta love german compsci lessons
surprisingly clean considering
lmao
allman isn't that bad
why
I don't know
the comparison of my first and latest code XD
Nein, dies ist inkorrekt. Ich werde eine Strafanzeige stellen
oui
I find allman kinda weird but it's alright
ik neek spreekt doichland
anxiety attack
ew if else
the imperative virgin vs the logic programming chad
anyone heard of the anti if campaign
real developers use case switch 😎
im prob gonna get bullied for saying that
They are being sarcastic xD
imperative virgin 😢
- still uses traditional for loops
- thinks that if it's not a keyword it doesn't work
- "oh but forEach is slower!!!"
The declarative chad 😎
- could work in any language with FP libraries
- doesn't care about speed, developer comfort is more important
- has never heard of
if - thinks that streams are the second coming of jesus
FP?
- (((())))
oh you poor thing
anyone know this in javascript ```js
(function() {
//do stuff
})();
((yes) i (((like) functional) programming, (why (do) you (ask?)))
okay that's just lisp to be fair
lmao
fish is an amazing language
dont forget about RP notation
beautiful
wait wasn't it just polish notation?
this is how you do fizzbuzz in fish ```
0voa ~/?=0:
voa oooo'Buzz'~< /
1+:aa1+=?;::5%:{3%:@??/'zziF'oooo/
^oa n:~~/
i know that one is (+ 1 2) and the other is (1 2 +)