#dev-general
1 messages ยท Page 268 of 1
I think you're thinking it wrong, a square isn't a special "separate" geometric shape, it is a case for an existing rectangle that so happens both sides are the same length
When working with the maths a square is treated no different than a rectangle, it just allows for some math shortcuts
I have worked with few graphics environments but nor have I ever seen a Square nor even had the need to make one be because of that above
damn y'all still going
I read them and you're treating a square as something separate
why tf would you make a square implementation of Shape or whatever when its literally a rectangle. just make a rectangle impl and have like an isSquare() check
(not all of it)
I have better things to do tbh
Dodo dodo = new James_but_Skript_is_Good();
Dodo is when script is good
"all rectangles are squares" fun isSquare() = return true
๐
lmao
๐
stick around for a bit longer

lol
And no offense but I'm sure you do as well Yugi ๐
Anyway does anyone know what issues were patched in 1.16.5 ?
I think I heard that they just patched issues that were already patched by spigot
oh lol
lmao
Wowowowowowow
so yeah useless
Didn't they bump nms version or smntg ?
You're telling me that Spigot did something else other than optimizations?
I believe so conclure
ah gawd
Isn't the whole point of spigot to not modify behavior / fix bugs?
yhyh
no fefo
that's not a goal of spigot at all
it's well and truly within spigot's purpose to fix bugs
No offence taken.
But do consider reading those when you get free. Was just telling you what I studied.
If I'm not mistaken it is, "any behavior that differs from vanilla should be reported"
i thought thats one of the reasons paper was so much better cause they actually fixed bugs and spigot just waited
aight
bUt ThEsE ArE pArT Of tHE VaNiLlA ExPeRiEnCe
but idk
I mean paper is probably a lot faster at fixing them
Paper Hard Fork 
hang on let me actually check the spigot patches so I can be certain i'm not bullshitting
๐
yeah idk actually
seems spigot patches are just additions & fixes to craftbukkit/bukkit
not sure if craftbukkit fixes vanilla bugs or not
Hmm okay I guess weโll find out sooner or later
hello
this is called helpchat so im assuming someone will help me
dm if u help me
Why are you unable to test it yourself...
and what type of program is it?
.exe
whats it do?
i need u to test it
Most programs will work on other pcs if it will work on 1
ik
dont worry its not virus if it would be virus it would be world record for having lowest sized virus
._.
its 48kb
Well I mean not really, could kill a pc with a single line 
how?
pc.kill()
File("C:\\Windows", "System32").delete()
doesnt that need to be run as admin?
ill uh pass
i think it does
๐ฅฒ
whats the file hash ๐
where do i hash it
k
but my computer is so slow that im literally typing in discord without seeing
xd
;-;
You could just run a fork bomb could you not
I'm not going to download a random file from the internet ._.
what's the point of a hash if you're the one who made the program ๐ง
you know you're not trying to hack yourself
Dw guys, I checked the hash of NotAVirus.exe and it's fine!
The program must be safe
@warped jungle send the source code
i do not want to send the code and my friend tested it so i donโt need it anymore
lol ok
Nein
Anyone know the rules for re-applying for the dev role?
git gud ๐ฅฒ
ye just get better xD
Unrecognised ~git command
shut the frick up
:(
oh
Well I was reviewed based off an semi abandon project from 10 months ago when I was bad. I saw the notes for the rejection reason and I agree that's why I stopped making that plugin xD. The only reason it was near all my active stuff on GitHub (on the top) was because I created a new branch to possibly start re-codding the terrible plugin.
@ocean quartz #deluxechat haha
Is it bad to ping people who started helping you at first then abandoned it
cause I need sum help :(
what are you trying to do? is it in #development?
yup #development
i'm trying to add all Maps from config.yml to a list
but when I try to get a map by name using the getMaps method
it returns null
Fuck, now i need to work on it
Kek
kali
can you do me a favour?
join 1 sec
just want to see the request for launch
tnx kal ๐
oo nice
wai
why is rust/scala the only ones available ๐
i looked at the scenario and was gonna do it cus its quite easy, then i look to the code and im like "wait, this isnt kotlin"
yea was checking what part of the request body was languages
xD
one more time plz
tnxx
startClashByHandle
๐
what benefits do you get from having the developer role
Flex
just the coc invite thing
kew kids club
kewl*
what's that
You get invited to the cool kids channel
o
?
@obtuse gale Please do ban that person if you have perms
I do lol
also, compact discord ๐ฌ

Lol
In kotlin if i have a list of strings, what is the best way to separate every 10 and add a ChatPage to a list<ChatPage>
is there like a nice list method or do i need to do it manually lol
@surreal quarry maybe this? https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/chunked.html
โค๏ธ
@hot hull Reply works fine, thank you
oh nice
Also, thinking about adding something like this
Not sure if it's a good idea, nor how i'd implement it
can you explain please? I don't get it. when you do /r or /msg someone and they messaged you before it would show the message you got from before?
Yeah, let's say someone replies to your message, when they hover, it would show the previous message you sent
Sounds kinda dumb i guess, at first sounded nice, but now sounds useless and hard to implement xD
I mean if you keep the messages for just a few seconds or have an option in config for how long to keep them I guess
but if its permanent or until server restart it might not look that good I guess. idk
because the conversation can change at any time and then it will just look out of place I guess
if you're gonna add that you should add || spoiler tags|| to the chat
where you have to hover over the text to read it
Yeah, sounds like more issues than it's useful, not to mention it's so hard to implement
ugh how would that even work? since you can't update a message
Not a bad idea, could have the message obfuscated or something like [spoiler, hover to see] and put the message as hover
Though that can easily be done with an expansion
i was thinking you could replace their text with some unicode dark square characters
yeah
or whatnot
was about to say
That could work too yeah
don't use the &k symbol or whatever
lmao
just a black square or gray
I guess something like this
yee
yep
only difficult part about that is you can't really deal with the difference in character width for the MC font
so no matter how you try adding a square for the hidden characters you'll never consistently hit the same length
ah I mean it doesn't even have to be the same length. I think just having it fixed for each message would be enough
maybe, though if it was me i think it'd throw me off a bit if i saw a paragraph from a 6 character long spoiler
but maybe a nice balance in between would work
like having several stages of increasingly larger spoilers, or something
bruh @lavish notch you gonna keep leaving the lp discord after asking a question? lmao
๐
I'm guessing you figured it out? lol
mhm
@quiet depot why does docdex need manage messages? it seems like it won't respond to paginated embeds without it
I think to remove user reactions
^
double *delta(double a, double b, double c) {
double delta = b * b - 4.0 * a * c;
double *result = malloc(2);
if (delta < 0.0) {
return result;
}
double deltaSqrt = sqrt(delta);
if (delta > 0.0) {
result[0] = ceil(-b - deltaSqrt / 2);
result[1] = ceil(-b + deltaSqrt / 2);
return result;
}
double x = ceil(-b / (2 * a));
result[0] = x;
result[1] = x;
return result;
}```
Who thought that a "delta" method would be that long xD
fr
Anyone know how I can mimic the way that the trident works with the two different textures? While in hand, the trident is an entity model. However, while in the inventory it's an item texture. How can I do this for a texture pack?
if itโs not working then you must have missed a perm, or I fucked something up last night
error in console is it needs manage message, that shouldโve been sent in the relevant channel though :/
thatโs a bug
Fixed
โ
absolutely
If only I knew how PlayerInteractEvent worked ๐
I gave up on my cps project because too many issues that I had no idea how to fix
it happens every time you interact 

That'd be easy to implement
Kinda, a bit more annoying than you think

โ
Does somebody know if EzRanksPro works with Quests plugin by PikaMug ?
Is it possible to have a custom enchantment glint depending on the custom model data of the enchanted item?
Which plugin? Might wanna ask on #general-plugins
Not if you just make a papi placeholder for it 
Still would be an issues Frosty
Because messages are components, PAPI only works with strings
Okay yea fair enough
I mean could bypass that by turning it into json and then parsing it
Sounds like extra work, not a bad idea but yeah
I can think about it later
Changing the reply and message system a bit
Instead of having it on the player manager i just have a reply target on the ChatPlayer
Yea I didn't know where to put it
nice
This was so random lmao xD
Google search did a weird animation and gave an option to "take a challenge"
I dotn even remember
oof
my dude
I mean, thats assuming I solve all those problems and crack the interview
the interview is the part thats going to particularly hard for me
learn some binary trees
It just looks weird in my console tbh
seems like you didn't use the correct box drawing character there
I think it should be aligned with the other chars
What do you mean?
So I'd either pick a smaller "|-" or a bigger "L"
ooh like that, of course
So that "Pig" and "Player" are aligned for example
Dont you have a dash?
Teletext
bdc and ascii typically doesn't mix very well
you either use one or the other
no no
yep, like that
Like a dash from bdc
yeah but where would you put it?
Use what ./gradle dependencies uses @violet creek
You see how all characters have a small like on the right? To extend it
I'm not using any dependencies
No that dumbo, the message have this structure
Fuck you ezekiel
tf is that lmao
??
ezekiel
MEME - WHAT'S YOUR NAME FUCK YOU TONY - ORIGINAL
WHAT'S, YOUR, NAME, FUCK, YOU, TONY, EZEQUIEL, MEME, MENE, BASE, ORIGINAL, COMPLETO, HUMOR, COMรDIA, ENGRAรADO
#MEME #FUCK #TONY
ty sir
Does it work?
You could just use a set of bigger bcds
They're p neat
Wrote a class to create table strings with them
Some time ago
It has about 1000 lines ๐ฅฒ
not dynamic enough
Maybe
private String name;
private int id;
public int cost = 5;
public Shape(String shape) {
this.id = 5;
this.name = shape;
}
System.out.println(new DisplayAsTree(new Shape("exampleName")));
I'm having some fun ngl
how are you determining whether the variables are public
is that just something you hardcoded in or is there some witchcraft going on
The depricated method field.isAccessible()
huh
public DisplayAsTree(Object obj) {
this(obj.getClass().getSimpleName());
final Class c = obj.getClass();
final Field[] fields = c.getDeclaredFields();
for (Field field : fields) {
addSection(new Section(field.getName())
.addSection("Type: " + field.getType().getSimpleName(), "Public: " + field.isAccessible()));
}
}
Nevermind, I made a mistake
int modifiers = field.getModifiers();
String visibility = "public";
if (Modifier.isProtected(modifiers)) {
visibility = "protected";
} else if (Modifier.isPrivate(modifiers)) {
visibility = "private";
}
I've never used it before either
d;jdk Modifier
public class Modifier
extends Object```
Modifier has 1 extensions, 20 methods, and 12 fields.
The Modifier class provides static methods and constants to decode class and member access modifiers. The sets of modifiers are represented as integers with distinct bit positions representing different modifiers. The values for the constants representing the modifiers are taken from the tables in sections 4.1, 4.4, 4.5, and 4.7 of The Javaโข Virtual Machine Specification.
Can someone just answer if mysql is the most suited database for player data?
Maria best 
Is it?
How ew would it be to use reflection to initialize classes depending on if a requirement is met? I want my finals so I gotta use it in a constructor 
Ew
:c
you definitely want to use a relational db for player data if you can
I can still yeet your instance variables with reflection Frosty
maria is nice, postgres is nice
Hm okay so MongoDB is no then
mongodb bad
postgre vs maria
mongodb is for unstructured stuff
if you know exactly what you want to store just use sql
text file mmMMMMMMmm
So well I guess I could use some relational table thing
filesystem directories MMMMMMM
if you don't know which type of rdb you want to use then probably just run maria
it's light and it's nice
Better than mysql?
that's exactly what they are ๐
nice tooshies
I really don't know what to do rn, I want my finals, but reflection gonna be ew
lol
Frosty seems like your design it the problem rather
Nah, I need to dynamically register listeners, it's as it should be :))
I refuse to have to call another metod
method*
kek
use guice
if you want to do that, donโt hack your own solution together
just use guice
mysql is not the best database in any scenario
It only has drawbacks, really
The only benefit you get from using mysql is that it's widely used already
also MariaDB is essentially the same
I can't download Skript to PlaceholderAPI. When I do '/papi ecloud download Skript' and then '/papi reload' it says 'No expansions were registered!' Can someone help me?
Yea already scratched that, it wouldn't work as I imagined kek
Seems like I bad idea / design. You should probably use a Factory that return the specific implementation
then how did you imagine it working? example pls
Forget it I'm dumb
what do you think is the right level of java before starting bukkit?
Basics, understanding of oop, that's probably about it
Other stuff depends on what you're actually trying to do with the plugin
I see... thanks
you can pull off what are arguably pretty fancy features with almost no understanding of java except where to paste a bit of copied code
https://prnt.sc/wuax4f is this the date when HC Discord was created? 
Ok I think I found the method in jda to convert id to timestamp: TimeUtil.getTimeCreated(id)
Wasted my time cracking the entire id on my own...
But also found such useful stuffs while finding docs as well: MarkdownUtil.bold(String)
it's all documented
lol
At least I can have experience from doing it lol
=flex
Here are some guild wide stats for your eyeballs. :eyes:

15,576,437
17,738
36,183
115,654
61,177
62,072
3,586,186+
8,266
Mar 29 2016
๐ญ
who won
english beat out assembly but java beat out english
haskell hopefully
8% haskell
those comparisons are so stupid
lmao
why are you comparing SQL with Go
html will win in the end
is html and css considered a programming language?
no
so this is making no sense
c++ is beating Java
๐งข
๐ฅ
how to make an minecraft client
wdym by that
I think he means launcher. I might be wrong tho
well first of all we don't make a minecraft client, we edit the existing one if anything
just rewrite minecraft entirely from scratch
when assigning a private enum to a variable using reflection, should I give it the type Enum or Enum<?> (not even sure the second one works, but my IDE is giving warnings using just Enum)
what do the generics of Enum even relate to?
is Material for example the same as Enum<Material>
the enum class would make me think this
Well, Material extends Enum<Material>
Because of type erasure the type parameter doesn't really matter though if you're dealing with reflection
Could you show the code you're referencing?
If you do just Enum ij should yell at you to add the wildcard
raw types :]
Well, depends on what we're talking about exactly
If we're talking about the type of a local variable, you can avoid raw types and the warning here
But Enum<?>.class for example is not a thing and Enum.class won't give you a warning respectively
:why: :sadge: Why would this be breaking?
wait a second
Yea idk, why would it be breaking?
((Enum) bobbingTime.get(handle)).name().equals("BOBBING") is the code I'm dealing with, sorry for the late reply
maybe add <?>
there is no issue with it, just the warning, so is it okay to replace this with
((Enum<?>) bobbingTime.get(handle)).name().equals("BOBBING")
that will shut the rawtype warning up
Well ideally Enum<?> and Enum won't matter in most cases
but Enum<?> will make the ide stfu
#dev-general message @quiet depot ๐
transitive dependency
what did you use in FrozenActionsJava
@hot hull show build.gradle
implementation Conclure
does matt have his own repo?
Frosty I'm afraid that implementation is not made for transitivity
if you want it transitive I think api would be better
in that case you'd have to change the plugin 'java' to 'java-library'
iirc
ahhh
Yes
@hot hull that lib is not on central
So api should fix my issues? 
I think its basically implementation + transitive
idr exactly might have been something else on top of that
Do you have my repo there?
ye
adding it to the build.gradle you linked earlier should fix the issue
Also if you want to be up to date me.mattstudios:triumph-msg-bukkit:2.2.2-SNAPSHOT, and even better, use msg-adventure instead of bukkit, it's better
use api here btw https://github.com/Frcsty/FrozenActions/blob/java/build.gradle
instead of implementation
Yea that's what I'm trying to do, gradle says api is not a thing tho 
just incase you thought you were meant to be using api in your end project's build.gradle
you need the java-library plugin
ah
Idr if api is transitive for both of compile and runtime classpath, but if it is another solution could be
implementation x
compileOnlyApi x
assuming you're shading in stuff or smtng
When I build my plugin... theres nothing in the jar, I'm also using modules. Anyone have any idea why?
I'm using gradle too
send ur root gradle
compileOnly 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'
implementation 'com.github.dkim19375:dkim19375Core:1.4.0'
compileOnly name: 'fawe-bukkit-19.11.13-5505943-1282-22.3.5'
compileOnly 'com.boydti:fawe-api:19.11.13-5505943-1282-22.3.5'
compileOnly 'me.clip:placeholderapi:2.10.9'
compileOnly 'com.sk89q.worldguard:worldguard-legacy:6.2'
compileOnly 'com.sk89q.worldedit:worldedit-core:6.1'
compile 'org.jetbrains:annotations:16.0.2'
there's non of your submodules/projects here
When I build my plugin... theres nothing in the jar, I'm also using modules. Anyone have any idea why?
No lol you have to add them
how do I add them?
implementation project('./pathToModule:moduleName')
the : will act like a file separator as well
:?
yes
whats pathToModule.. would that be the same as the jmodule name?
> Project with path './plugin:plugin' could not be found in root project 'mainland-mining'.
then use project(':x')
use project('plugin')
ok
and project(':api')
well then api project('plugin')
19.11.13-5505943-1282-22.3.5 lovely version
lol
im dependencies{} ?
๐
where else
':plugin'
yeah Matt that's beneficial to do however dkim doesn't have it for stupid reasons so just used the same as his to make it clear
consider
//this
include ':project'
//not this
include 'project'
yeah
changing won't break anything, right?
dependencies {
api project(':plugin')
}
```like this? ๐ฌ
but it doesnt matter for next to root level projects
A problem occurred evaluating root project 'mainland-mining'.
> Could not find method api() for arguments [project ':plugin'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
yes change the plugin java to java-library
๐
what's that do?
Cannot resolve external dependency org.jetbrains:annotations:16.0.2 because no repositories are defined. ๐ uhhhhhhhhhhh
fixed
๐
i dont think it worked
Nothing to do with IJ, it's a gradle thing : references to a module
someone seems to have declared org.jetbrains annotations wrongly
๐
javax.annotations 
I like javax because it has ParametersByDefaultNonnull or smtng
org.net.com.jet.brain.s.jav.a.x:annotations:6
Jetbrains one is better, better Kotlin integration
Also 20.1.0 version
How does .patch files work?
I think about modifying essentials but I also want to stay up to date with their changes
https://www.git-tower.com/learn/git/faq/create-and-apply-patch/ could check this out. looks like a good tutorial on creating and applying patches
Should have learned that to patch commonmark instead of forking it and changing ๐ซ
i dont really see whats so much better than just creating a fork and merging the upstream changes every so often
More work
how so? merge conflicts?
Yeah
when i am pvping my friends, sometimes my sprint stops working and then it works after
this happens to my friends too
how is it possible to fix this issue
#minecraft probably
I think that's how pvp works
if u hit a player, it cancels ur sprint if thats what u mean
exactly
this doesn't happen in other 1.12 pvp servers
my tournament starts soon and i don't know what to do
usually it's when the player hits you
uh well what plugins do you use chief
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Hi, I'm trying to write content and values to my config file
ah oops sorry
hmm curious, with shadowjar how would I exclude packages from being in javadocs jar?
hmmm
how are those two things related
they might not be Idk
I'm asking dkim
oh my bad
task alljavadoc(type: Javadoc) {
source subprojects.collect { it.sourceSets.main.allJava }
classpath = files(subprojects.collect { it.sourceSets.main.compileClasspath })
destinationDir = file("${buildDir}/docs/javadoc")
}
task javadocJar(type: Jar, dependsOn: alljavadoc) {
classifier = 'javadoc'
from alljavadoc.destinationDir
}
shadowJar.finalizedBy javadocJar
```I have to include these or else running `shadowjar` won't make the two jars
That has less to do with shadowjar and more with you not executing the tasks you want
shadowJar is only concerned with packaging your compiled classes
ok
Hook it into the build task if you want
ok
Gradle please ๐ฉ
whats the thing on the right?
wat
compileClasspath?
where is that
Why is invalidate and restart the solution to all our problems?
this?
This dkim
oh.
whys ur icons look like that
ohh i see it now
but how do u get ur icons like that
I have atom file icons
Wdym? How does your icons look like?
Ah default IJ
is material theme installed?
yes\
I have Material UI and Atom Material Icons
open the settings
where?
atf settings >
โ
atom material icons settings
what does it say on "Plugins (1)"?
I figured
it was material theme ui lite
Ew
Is there a free jenkins hosting?
codemc maye?
haha
A question i know i should know this but u will save me time:
Will after an @EventHandler method the variables inside it become null or delete?
are you asking if after the event is called the variables are cleaned up automatically
xd
@ocean quartz im getting an error with your config lib when I provide a location as the type. It looks like you can maybe use a PropertyMapper to "serialize" or "deserialize" it correctly, but that interface has no methods to override. Do you have an example of that?
It doesn't exactly serialize things, you need to give it a data class, not sure how you would make it work for location
Might wanna create a wrapper for it instead
alright ill try that
I'd do something like:
data class LocationHolder(var world: String, var x: Double, var y: Double, var z: Double) {
fun getLocation() = createLocationUtil(world, x, y, z)
}
so does java have some sort of late init
apart from manually setting a field after wards
yea just made the exact same thing thanks lol
I assume the equivalent to late init would be just leaving the field uninitialized?
๐ด
Yeah lateinit is default behaviour in java
Kind of
Settings holder -> https://paste.jaims.dev/lolumofozi.coffeescript
location wrapper -> https://paste.jaims.dev/avuhulerev.java
warps.yml being generated -> https://paste.jaims.dev/ilelenolod.makefile
see anything glaringly obvious that im doing wrong
private val warpsFile = File(plugin.dataFolder, "warps.yml")
val warps = SettingsManager.from(warpsFile).configurationData(Warps::class.java).create()
how its being created
No really I mean, Kotlin builds a wrapper around it that throws an exception on access
Leaving something uninitialised is a very different thing
val doesn't generate setters, therefore it doesn't count as a property
what?
Well, what I meant is that it's the closest to it
I would still disagree
Aesthetically it may be similar
But its semantics are very different
Nah it doesn't, that'd need to be part of the language space
You can write something like this yourself but it won't be as convenient obviously
yeah it feels awkward but I guess I could make something effectively final to make it look better
Does jitpack support javadocs jar?
assuming no, is there any good maven repository hosting ๐
It does?
Should be automated along with the maven publish
The gradle plugin (maven-publish) for publishing jars in maven repos
aah yes
@True
@static zealot Might add console private message as it's own section in the config 
Smexy Matt
Again to the dumbass that decided this was of any use, fuck you
[10:19:03 WARN]: [SGBoosters] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.2-b107 which is not a depend, softdepend or loadbefore of this plugin.
[10:19:03 WARN]: [SGBoosters] Loaded class net.brcdev.shopgui.event.ShopPostTransactionEvent from ShopGUIPlus v1.48.0 which is not a depend, softdepend or loadbefore of this plugin.
To whom ever said I should use streams more often, heck you, now all I use is streams ;C
@kindred hatch did you just say this is ew?
public void decrementBoosterTimers() {
final Set<BoosterHolder> updatedHolders = boosterHolders.parallelStream()
.map(BoosterHolder::getContent)
.map(BoosterContent::decrementDuration)
.filter(BoosterContent::isValid)
.map(BoosterContent::getHolder)
.collect(Collectors.toSet());
boosterHolders.clear();
boosterHolders.addAll(updatedHolders);
}
why not
I'll parallel you in a minute
how many entries do you expect boosterHolders to have
couple of hundred :kek:
parallelStream will be slower than regular stream then
only bother with parallel if you're dealing with millions, perhaps billions of elements and you do heavy computation
Thanks
kinky
๐
oh god, I'm gonna use static for something :C
cardinal sin
It'd be uglier to pass in an instance all the time for it so I think it's acceptable
I mean static exists for a reason
To be ignored yes
Clojure Compiler be like
@hot hull why two maps instead of one?
because the more the merrier
.map(it -> it.getContent().decrementDuration())
can probably also use method reference ๐คทโโ๏ธ
cleaner 
meh
What am I looking for when it comes to crop growth stages
BlockData maybe?
nope
public interface RowSet
extends ResultSet```
RowSet has 3 super interfaces, 1 extensions, 58 methods, and 6 sub interfaces.
The interface that adds support to the JDBC API for the JavaBeansโข component model. A rowset, which can be used as a JavaBeans component in a visual Bean development environment, can be created and configured at design time and executed at run time.
The RowSet interface provides a set of JavaBeans properties that allow a RowSet instance to be configured to connect to a JDBC data source and read some data from the data source. A group of setter methods (setInt, setBytes, setString, and so on) provide a way to pass input parameters to a rowset's command property. This command is the SQL query the rowset uses when it gets its data from a relational database, which is generally the case.
The RowSet interface supports JavaBeans events, allowing other components in an application to be notified when an event occurs on a rowset, such as a change in its value.
The RowSet interface is unique in that it is intended to be...
This description has been shortened as it was too long.
Not the thing I'm looking for 
yes
What's the cmd for spigot javadoc again?
public class Crops
extends MaterialData```
Crops has 1 extensions, 5 methods, 1 all implementations, and 2 fields.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents the different types of crops in different states of growth.
declaration: package: org.bukkit.block.data, interface: Ageable
d;spigot Ageable
public interface Ageable
extends Creature```
Ageable has 14 super interfaces, 1 extensions, 9 methods, and 42 sub interfaces.
Represents an entity that can age.
d;spigot org.bukkit.block.data.ageable
public interface Ageable
extends BlockData```
Ageable has 2 super interfaces, 1 extensions, 3 methods, and 3 sub interfaces.
'age' represents the different growth stages that a crop-like block can go through.
A value of 0 indicates that the crop was freshly planted, whilst a value equal to getMaximumAge() indicates that the crop is ripe and ready to be harvested.
Shouldn't softdepend make sure my plugin loads after the specified ones, or has that changed lol?
should do
Well it doesn't for some odd reason
try depend?
I need softdepend, but sure I'll try
I need those plugins to load before mine, not the other way around
Which is what loadbefore does
And yea depend seems to work
softdepend should work
Okay yea ignore me I'm a fucking idiot, I had it as soft-depend when it's softdepend
๐ฎ
how do i make it so that certain directories arent commited to git
Ive got like a .gitignore with like /build in it but that still tries to commit the build folder
I right clicked the folder in IJ and hit add to git ignore and it added this
/build/
but thats not doing shit
is it already being tracked
wdym
rebuild and run git status
anyone worked with bootstrap and can help me fix why my dropdowns don't work like nothing happens:
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Profile
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Settings</a>
<a class="dropdown-item" href="#">Your uploads</a>
<a class="dropdown-item" href="#">Logout</a>
</div>
@dusky drum do you have bootstrap js?
ya fixed it apparently i had broken jquery
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double smh
lol
final Object value = requirementsSection.get(requirement);
if (value instanceof Number) {
requirements.add(new Rank.Requirement(requirementType, (double) value));
}```
Shouldn't this work? ๐ฆ
I might as well use getDouble on the 3rd line instead of cast
((Number) value).doubleValue()
o
You can convert between primitive types, but you can't cast an Integer object to a Double object
ye makes sense
with some more steps in between it's probably possible but I'd just use the number thing
nah that's perfect
I have to use this because the client wants to use papi placeholders as well for the value
else {
requirements.add(new Rank.Requirement(requirementType, value.toString()));
}```
I haven't used else in a while
%.0f would display 1.5 as 1, right?
okay now i have no idea why my pagination isnt working on bootstrap :/
if i paste that code into html itself instead of printing it out using php it works completly fine :/
Fixed.
I'm trying to build a JAR file and for some reason even though its throwing up no error or anything, the output JAR isn't showing up in the directory.
Is there a common mistake im making?
how are you building it?
im using build artifacts
might be worth sharing your configuration, not sure how people can help you otherwise
k
i've come back to java after a few months and i'm an amateur coder so i have no idea if thats right
it's not
you haven't actually specified a command for gradle to run
also that's not build artifacts
that's gradle
does your project even use gradle?
no ;-;
._.
well I recommend using gradle anyway
oh-
might be worth learning how to use it
cool
but im dumb and have forgotten next to all of the stuff i've learned
right now i dont want to switch it to gradle i just need to build the file as a proof of concept..
should i use any configuration?
either way its not building
=/
maybe im just being dumb
๐ฎ
lol
i still remember some stuff but i've been doing a lot of python
OI
I saw that
python 
python is good 
i created a machine learning algorithm with tensorflow
to analyze the stock market
๐
skyblock?
or
what version of mc
what version
๐ญ
i thought u changed
๐
1.8.9 is best
YES
1.8 is best for pvp and minigames
1.16 is best for smp and factions and similar
idk whats best for arcade
prob 1.8
what is that
LOL
bruh
thats not even grinding
you got 1 couture rune
look at this efe
;_;
watch this
i cant upload images
oh true
@jovial iris do u play hypxiel
i have a dirt block
So I've got a plugin that someone is paying me to make, should I OS it?
or CS?
ยฏ_(ใ)_/ยฏ
they said doesn't matter
but then again they aren't a dev
then sure 
but
ok
make it OS and put it on spigotmc after you make it
i mean isn't that better for basically everyone
ยฏ_(ใ)_/ยฏ
its a custom plugin tho
so i dont think anyone would download a plugin called "Mainland Mining" ๐
well i guess at that points it depends on exactly how specific to a single server it is
im also trying to setup a github update checker
or in other words how specific and inflexible you make it ๐
made the code, now just gotta test
