#dev-general

1 messages · Page 240 of 1

steel heart
#

Probably some math doctor

obtuse gale
#

d;resultset#first

ruby craterBOT
#
boolean first()
throws SQLFeatureNotSupportedException, SQLException```
Description:

Moves the cursor to the first row in this ResultSet object.

Throws:

SQLFeatureNotSupportedException - if the JDBC driver does not support this method
SQLException - if a database access error occurs; this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY

obtuse gale
#

yeee

forest pecan
#

d; String#substring

ruby craterBOT
#
public String substring(int beginIndex)
throws IndexOutOfBoundsException```
Description:

Returns a string that is a substring of this string. The substring begins with the character at the specified index and extends to the end of this string. Examples: "unhappy".substring(2) returns "happy"
"Harbison".substring(3) returns "bison"
"emptiness".substring(9) returns "" (an empty string)

Throws:

IndexOutOfBoundsException - if beginIndex is negative or larger than the length of this String object.

Parameters:

beginIndex - the beginning index, inclusive.

forest pecan
#

d; String#isBlank

quiet depot
#

u can be lazy btw

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: java.lang.String#join java.lang.String#split java.lang.CharSequence#length java.lang.String#String java.lang.String#substring

quiet depot
#

d;str#subst $

ruby craterBOT
obtuse gale
quiet depot
#

D:

obtuse gale
#

not 9

quiet depot
#

d;strng#substr $

ruby craterBOT
#
public String substring(int beginIndex)
throws IndexOutOfBoundsException```
Description:

Returns a string that is a substring of this string. The substring begins with the character at the specified index and extends to the end of this string. Examples: "unhappy".substring(2) returns "happy"
"Harbison".substring(3) returns "bison"
"emptiness".substring(9) returns "" (an empty string)

Throws:

IndexOutOfBoundsException - if beginIndex is negative or larger than the length of this String object.

Parameters:

beginIndex - the beginning index, inclusive.

quiet depot
#

ez

forest pecan
#

d;$$$#$$$

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: org.omg.PortableServer.POAOperations#id org.omg.CORBA.ORB#ORB javax.swing.text.html.CSS#CSS javax.rmi.CORBA.Tie#orb java.net.URI#URI

obtuse gale
#

Piggy dude

#

I love this

obtuse gale
#

ew

#

no

#

luckperms not that one

#

piggy we are on v5.2 xD that's at least a year old

quiet depot
#

oh

quiet depot
#

i googled luckperms central and it popped up with 4.0

obtuse gale
#

lmao

quiet depot
#

said there was a newer version (4.4)

#

assumed that was the latest

obtuse gale
#

oh yeah because before it used to be me.lucko.luckperms

#

not it's net.luckperms.api or some shit

#

p recent change

#

snakeyaml?

quiet depot
#

yea sure link it

obtuse gale
#

don't think it's really that worth it

#

sure ig

#

well if I can find a javadoc jar that is

quiet depot
#

look in maven repos

#

best place to find them

quiet depot
#

k

#

that's a pretty good lineup

obtuse gale
#

where does kyori host the platform jars thonk

quiet depot
#

i already added kyori adventure

#

and we don't need platforms

onyx loom
#

protocollib by any chance? idk if that has docs

quiet depot
#

don't think protocollib is documented

onyx loom
#

sad face

obtuse gale
#

that's a pretty solid list

onyx loom
#

kotlin stdlib docs :cct:

#

@obtuse gale emoji pls

obtuse gale
onyx loom
#

thank

quiet depot
#

kotlin docs are in the wrong format

onyx loom
#

😭

#

KDoc

forest pecan
#

man

#

i wish

#

intellij doesnt delete the next parameter

#

when autofilling a method

#

like suppose you have

#

list.get(asgoikhasgiohasgoih)

#

and you want to replace it with list.replace

#

it removes the part

obtuse gale
#

what?

#

@forest pecan tf you talking about lol

quiet depot
#

nah i get that too

#

it's annoying af

obtuse gale
#

???

quiet depot
#

fefo go like

obtuse gale
quiet depot
#

yeah idk how to explain it actually

#

when you replace a method name and auto complete, it removes your parameters

#

e.g. you have
list.get(0)

#

but if you change get to remove

#

and then press tab

#

it'll remove the 0

obtuse gale
#

no?

quiet depot
#

yeah I just tested that and it didn't remove it

#

great

#

I can't remember how to reproduce it

#

it does happen though

obtuse gale
#

I know that when typing auto-completable shit before other shit, if you press tab it replaces but you press enter it prefixes it

#

I guess that's it?

quiet depot
#

might be

#

ok, indexing 59 javadocs

#

lets see if it dies

#

60 javadocs

#

not 59

obtuse gale
quiet depot
#

might be that

obtuse gale
#

first time where it replaces it I tapped tab

#

second one (it prefixed it) enter key

forest pecan
#

Yeah

#

that

obtuse gale
#

well

#

press enter instead :^)

#

if you don't want it to be replaced that is

#

tbh it's good to have both options and I use them p much unconsciously

#

I remember when using Visual Studio for C++

#

fuck good god no

#

tab just replaced the whole thing and enter literally puts a newline without completing shit

#

or it prefixed it instead of replacing

#

can't remember because I hated it PepeLaughers

surreal quarry
#

java bad fefo

obtuse gale
#

tbh java sucks lmao

#

what's great about it is that the jdk has a fuck ton of general purpose high level utilities already included

forest pecan
#

java is a bit

#

too

#

baked

#

imo

#

Like i mean the Arrays classes those stuff

#

they are nice and kind of define what java is supposed to be

#

but i just feel like its being a bit too baked

#

and causing devs to become too lazy

#

if that makes any sense at all

surreal quarry
#

wdym by baked

forest pecan
#

built in functions, classes, methods

#

into the language

obtuse gale
#

well the jdk has too much stuff so many things you'll need are there

#

except pairs

#

I need my bloody pairs

forest pecan
#

its in javafx its so fucking dumb

#

i dont get it

#

its also easy as fuck to define

obtuse gale
#

where the fuck are my pairs, c++ has std::pair wtf it isn't that hard

forest pecan
#

java be like

#

"use a map"

obtuse gale
#

lol tru

quiet depot
#

d;map#entry

#

oh docdex is off

obtuse gale
#

🌝

forest pecan
#

Entry works

obtuse gale
forest pecan
#

Yeah lol

#

idk but like entry is just too much for my needs

#

i just need like a normal pair

#

lmfao

#

just like

late dove
#

hi so Im making a plugin with ranks in prestiges, would you recommend doing per player configs or just 1 that stores the values of all the players? having the debate of my life here lmfao

forest pecan
#
class Pair<T, V> {
   private final T key;
   private final V value;
   public Pair(T key, V value) {
       this.key = key;
       this.value = value;
   }
}
obtuse gale
#

I mean C++'s STL is also massive and it has a fuck ton of "builtin" things like you said Pulse, but they are different? In terms of collections and containers, I find C++ way more complete and capable; in terms of HTTP, files handling and shit, Java makes it so much nicer

forest pecan
#

add getters and setters as so

#

Well for Java if streams didnt exist

#

you wouldnt think it as nice

#

lmfao

#

streams honestly like 75%

#

lambdas, runnables that stuff prolly like 20%

obtuse gale
#

oh yeah I absolutely despise C++'s lambdas

surreal quarry
obtuse gale
#

they are a nightmare

forest pecan
#

wait

#

they exist?

obtuse gale
#

yeah

#

[](){}

#

{} is the body

surreal quarry
#

what the fuck

obtuse gale
#

() the args

#

[] is the "capture"

forest pecan
#

what the fuck

quiet depot
#

give us an example

obtuse gale
#

capture can be [this]??? idek what that is

forest pecan
obtuse gale
#

[&] too

#

idk

forest pecan
#
// generic lambda, operator() is a template with two parameters
auto glambda = [](auto a, auto&& b) { return a < b; };
bool b = glambda(3, 3.14); // ok
 
// generic lambda, operator() is a template with one parameter
auto vglambda = [](auto printer) {
    return [=](auto&&... ts) // generic lambda, ts is a parameter pack
    { 
        printer(std::forward<decltype(ts)>(ts)...);
        return [=] { printer(ts...); }; // nullary lambda (takes no parameters)
    };
};
auto p = vglambda([](auto v1, auto v2, auto v3) { std::cout << v1 << v2 << v3; });
auto q = p(1, 'a', 3.14); // outputs 1a3.14
q();   
#

saw this

obtuse gale
#

it's weird as fuck

forest pecan
#

and im already like

obtuse gale
#

yeah it's a nightmare

forest pecan
#

starved

obtuse gale
#

oh yeah, then you have lvalues and rvalues

#

& and &&

late dove
#

Ok Im going to make it for an op prison server, so the size may vary

quiet depot
#

what you guys think of vlang?

late dove
#

I think ill go with per player

forest pecan
#

piggy lets make a piglatin programming language

quiet depot
#

no

forest pecan
#

y no

#

if no = 🥓

surreal quarry
obtuse gale
#
[=]()->int
{
  return operator()(this->x + y); // X::operator()(this->x + (*this).y)
  // this has type X*
};

like what the fuck is this

quiet depot
#

d;javadocs

ruby craterBOT
#
Javadocs:
• paper-1.16/paper    • gson
• paper-1.15          • guice
• paper-1.14          • luckperms
• paper-1.13          • snakeyaml
• paper-1.12          • sponge
• paper-1.11          • velocity
• paper-1.10          • worldedit
• paper-1.9           • worldguard
• adventure           
• chat                
obtuse gale
#

what the fuck is [=]

quiet depot
#

we've got lots of javadocs now

obtuse gale
#

niceeee

forest pecan
#

🥓 🤤

surreal quarry
#

pog

forest pecan
#

Yeah docs pretty pog

#

whats not pog is that i cant solve my aoc problem

#

still

#

should i just like

#

copy and paste LMFAO

#

nah

#

i wont

obtuse gale
#

d;luckperms NodeMap

ruby craterBOT
#
public interface NodeMap```
Description:

Encapsulates a store of data (Nodes) within a PermissionHolder. The effect of any mutate operation will not persist in storage unless changes are explicitly saved. If changes are not saved, the effect will only be observed until the next time the holders permission data is (re)loaded. Changes to Users should be saved using UserManager.saveUser(User), and changes to Groups should be saved using GroupManager.saveGroup(Group). Before making changes to a user or group, it may be a good idea to load a fresh copy of the backing data from the storage if you haven't done so already, to avoid overwriting changes made already. This can be done via UserManager.loadUser(UUID) or GroupManager.loadGroup(String) respectively.

obtuse gale
#

good fuck god I love LP's documentation

#

Thanks Luck <3 EnkiduPray

quiet depot
#

fefo you're mod there right?

obtuse gale
#

yeah

quiet depot
#

ask luck if he's interested in using the bot there

obtuse gale
#

Ooh that would be neat

quiet depot
#

pretty sure he's in helpchat so he can play around with it in #bot-commands, see if he likes it

surreal quarry
#

d; 1.16-paper Player

ruby craterBOT
#

You have disallowed characters in your query. Allowed characters: a-zA-Z0-9.$%_#

obtuse gale
#

Yeah he's here I think

surreal quarry
#

piggy ^

quiet depot
#

ah

surreal quarry
#

idk if the name for the paper ones works rn

quiet depot
#

i'll fix that

obtuse gale
#

I'm amused by the fact the LP API is way more documented than any Bukkit class kek

surreal quarry
#

lmfao

quiet depot
#

jda is meant to have good docs too

obtuse gale
#

d;luckperms MetaNode

ruby craterBOT
obtuse gale
#

documentation indeed cct

quiet depot
#

try a method fefo

obtuse gale
#

uuh uuuh uuh

surreal quarry
#

is docdex gonna be public ever?

quiet depot
#

yes

surreal quarry
#

pog

quiet depot
#

I mean you can host it for yourself right now

obtuse gale
#

d;luckperms usermanager#modifyuser

ruby craterBOT
#
default @NonNull CompletableFuture<Void> modifyUser(, @NonNull Consumer<? super User> action, @NonNull UUID uniqueId)```
Description:

Loads a user from the plugin's storage provider, applies the given action, then saves the user's data back to storage. This method effectively calls loadUser(UUID), followed by the action, then saveUser(User), and returns an encapsulation of the whole process as a CompletableFuture.

Parameters:

action - the action to apply to the user
uniqueId - the uuid of the user

obtuse gale
#

PECS

#

nice

quiet depot
#

that beginning , is weird

obtuse gale
#

and he writes such enjoyable code too

surreal quarry
quiet depot
#

what javadocs do you want to host?

#

docdex can be really light

surreal quarry
#

i mean i dont really need it

obtuse gale
#

oh hey

surreal quarry
#

im just thinking for the future might add it to my server

obtuse gale
#

it's putting the first parameter as the last???

#

the signature is modifyUser(UUID, Consumer)

quiet depot
#

oh shit

#

I need to store parameters as a list not a set

obtuse gale
#

not modifyUser(, Consumer, UUID)

quiet depot
#

woops

obtuse gale
#

lol

quiet depot
#

yeah i'll fix that soon

#

james, with 58 javadocs loaded it's actively using 381mb ram

surreal quarry
#

oh damn

quiet depot
#

58 javadocs on flatfile is 1.5GB of space

#

and on mongodb, according to mongodb compass it's 621.2mb

#

but compass doesn't always show the right numbers so I don't trust that

#

the discord bot uses more ram lol

old wyvern
obtuse gale
#

Java is what

old wyvern
#

xD

#

I have no idea

obtuse gale
surreal quarry
quiet depot
#

that your vps?

surreal quarry
#

yea lol

quiet depot
#

rip

#

docdex should have at least like 1gb

#

cuz it uses lots of memory when starting up and indexing

#

but after it goes down again

surreal quarry
#

yea makes sense

ocean quartz
# old wyvern

And you missed a semicolon
Who actually misses a semicolon?

hot hull
quiet depot
#

d;spigot configurationsection#getstring

ruby craterBOT
#
@Nullable
String getString(@NotNull String path, @Nullable String def)```
Description:

Gets the requested String by path, returning a default value if not found. If the String does not exist then the specified default value will returned regardless of if a default has been identified in the root Configuration.

Returns:

Requested String.

Parameters:

path - Path of the String to get.
def - The default value to return if the path is not found or is not a String.

quiet depot
#

it's nullable

#

for some unknown fucking reason

#

why on earth would they make the def nullable

#

that's so stupid

#

literally 5 iq

old wyvern
#

lmao

hot hull
#

lol

distant sun
#

Agree

prisma wave
#

Isn't it because the methods without a default just use null?

quiet depot
#

god I hope not

#

I would've thought it'd be more like

#
String getString(path);

String getString(path, def) {
    final String val = getString(path);
    return val == null ? def : val;
}```
old wyvern
#

def is nullable too tho

quiet depot
#

yeah and that's what I don't understand

old wyvern
#

😂

quiet depot
#

why is it null

old wyvern
#

God knows

#

Bukkit

hot hull
#

Cause why not amirite

quiet depot
#

it makes literally no sense

#

there's not a single reasonable reason that it should be nullable

old wyvern
#
public String getString(String path) {
    Object def = getDefault(path);
    return getString(path, def != null ? def.toString() : null);
}

public String getString(String path, String def) {
    Object val = get(path, def);
    return (val != null) ? val.toString() : def;
}```
#

welp

quiet depot
#

smh

distant sun
#

Tf

surreal quarry
#

damn how long is multi

obtuse gale
#

long

steel heart
#

Hacker

distant sun
#

@quiet depot

quiet depot
#

ye fixed that

distant sun
#

Ok

steel heart
#

d;rainbow

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: java.awt.Window java.util.Random java.lang.management.ThreadInfo org.omg.PortableInterceptor.IORInfo javax.swing.JWindow

steel heart
#

d;null

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: javax.lang.model.type.NullType java.net.URL javax.crypto.NullCipher javax.rmi.CORBA.Util java.awt.Menu

distant sun
#

d;void

ruby craterBOT
#
public final class Void
extends Object```
Description:

The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.

steel heart
#

d;gabytm

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: java.lang.Byte java.awt.GridLayout javax.swing.text.TabSet java.lang.System javax.swing.GrayFilter

distant sun
#

d;method sendBlockChange

ruby craterBOT
#

Unknown javadoc: method.

steel heart
#

d;imaginefarting

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: java.awt.image.ImagingOpException javax.swing.ImageIcon javax.imageio.spi.ImageReaderSpi javax.imageio.ImageIO javax.imageio.spi.ImageWriterSpi

steel heart
distant sun
#

d;spigot player#sendBlockChange​

ruby craterBOT
#

You have disallowed characters in your query. Allowed characters: a-zA-Z0-9.$%_#\-

obtuse gale
#

1.16.4 gaby

#

d;1.16.4 player#sendBlockChange

ruby craterBOT
#
void sendBlockChange(@NotNull Location loc, @NotNull BlockData block)```
Description:

Send a block change. This fakes a block change packet for a user at a certain location. This will not actually change the world in any way.

Parameters:

loc - The location of the changed block
block - The new block

distant sun
#

lol

obtuse gale
#

d;docs

ruby craterBOT
#
Javadocs:
• 1.11.2    • 1.8.6
• 1.11.1    • 1.8.5
• 1.11      • 1.8.4
• 1.10.2    • 1.8.3
• 1.10      • 1.8
• 1.9.4     • 1.7.10
• 1.9.2     • 1.7.9
• 1.9       • 1.7.8
• 1.8.8     • 1.7.5
• 1.8.7     • 1.7.2
steel heart
#

d;getOnlinePlayers

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: org.omg.CORBA.DefinitionKindHelper javax.xml.transform.Templates java.beans.ExceptionListener javax.print.attribute.SetOfIntegerSyntax javax.swing.ToolTipManager

quiet depot
#

erm

distant sun
#

Piggy, add a deprecation warning

quiet depot
#

spigot should work

#

there is a deprecation warning

obtuse gale
#

oh yeah spigot

steel heart
#

d;Bukkit#getOnlinePlayers

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: java.awt.Button#getActionListeners java.awt.Container#getContainerListeners java.awt.Component#getListeners java.awt.List#getActionListeners javax.swing.AbstractButton#getActionListeners

quiet depot
#

d;spigot player#sendblockchange

ruby craterBOT
#
void sendBlockChange(@NotNull Location loc, @NotNull BlockData block)```
Description:

Send a block change. This fakes a block change packet for a user at a certain location. This will not actually change the world in any way.

Parameters:

loc - The location of the changed block
block - The new block

obtuse gale
#

Conclure you have to specify the javadoc used

quiet depot
#

idk what gaby did to break it

obtuse gale
#

it defaults to jdk

distant sun
#

gaby ??

steel heart
#

d;1.7.10Bukkit.getOnlinePlayers

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: java.awt.font.LineMetrics java.util.function.IntSupplier java.security.cert.CollectionCertStoreParameters java.awt.geom.Line2D.Float org.omg.CORBA.DefinitionKindHelper

quiet depot
obtuse gale
#

omg are you stupid

steel heart
#

d;1.7.10 Bukkit.getOnlinePlayers

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: org.bukkit.OfflinePlayer org.bukkit.entity.Player org.bukkit.entity.Player.Spigot org.bukkit.plugin.PluginLoader org.bukkit.event.player.PlayerEvent

steel heart
#

BRUH

distant sun
#

@quiet depot the deprecated one is second

obtuse gale
#

for methods

#

for any method

distant sun
#

let me find another one

steel heart
#

d;1.7.10 Bukkit#getOnlinePlayers

ruby craterBOT
steel heart
#

Finally

#

Wait

distant sun
#

d;spigot player#sendTitle

ruby craterBOT
#
void sendTitle(@Nullable String title, @Nullable String subtitle, int fadeIn, int stay, int fadeOut)```
Description:

Sends a title and a subtitle message to the player. If either of these values are null, they will not be sent and the display will remain unchanged. If they are empty strings, the display will be updated as such. If the strings contain a new line, only the first line will be sent. All timings values may take a value of -1 to indicate that they will use the last value sent (or the defaults if no title has been displayed).

Parameters:

fadeOut - time in ticks for titles to fade out. Defaults to 20.
fadeIn - time in ticks for titles to fade in. Defaults to 10.
subtitle - Subtitle text
title - Title text
stay - time in ticks for titles to stay. Defaults to 70.

steel heart
#

Thought it was an array

#

For 1.7

obtuse gale
#

getOfflinePlayers returns an array

distant sun
#

does it ignore deprecated methods?

obtuse gale
#

in any version lol

#

don't think so

#

but I think it tells you it's a no no?

distant sun
quiet depot
#

it doesn't ignore deprecated methods

steel heart
#

?spigot Bukkit#getOfflinePlayers

distant sun
#

d;spigot player#setTexturePack​

ruby craterBOT
#

You have disallowed characters in your query. Allowed characters: a-zA-Z0-9.$%_#\-

quiet depot
#

it just doesn't differentiate between methods with the same name yet

obtuse gale
#

lol

steel heart
#

d;spigot Bukkit#getOfflinePlayers

ruby craterBOT
#
@NotNull
public static OfflinePlayer[] getOfflinePlayers()```
Description:

Gets every player that has ever played on this server.

Returns:

an array containing all previous players

quiet depot
#

gaby how do you keep breaking it like that

distant sun
#

what did I do wrong smh

quiet depot
#

what are you doing

steel heart
#

oh wow

distant sun
#

NOTHING

quiet depot
#

d;spigot player#setTexturePack​

ruby craterBOT
#

You have disallowed characters in your query. Allowed characters: a-zA-Z0-9.$%_#\-

obtuse gale
#

lmao

quiet depot
#

d;spigot player#setTexturePack​

ruby craterBOT
#

You have disallowed characters in your query. Allowed characters: a-zA-Z0-9.$%_#\-

quiet depot
#

d;spigot player#setTexturePack​

ruby craterBOT
#

You have disallowed characters in your query. Allowed characters: a-zA-Z0-9.$%_#\-

quiet depot
#

d;spigot player#setTexturePack

ruby craterBOT
quiet depot
#

it's todo with your encoding

#

it has to be

obtuse gale
#

?????????

quiet depot
#

are you using cryllic or something?

distant sun
#

mine?

quiet depot
#

yes

static zealot
#

d;docs

ruby craterBOT
#
Javadocs:
• jdk                     • 1.14.3
• jda                     • 1.14.2
• 1.16.4/latest/spigot    • 1.14.1
• 1.16.3                  • 1.14
• 1.16.2                  • 1.13.2
• 1.16.1                  • 1.13.1
• 1.15.2                  • 1.13
• 1.15.1                  • 1.12.2
• 1.15                    • 1.12.1
• 1.14.4                  • 1.12
distant sun
#

tf is cryllic

steel heart
#

d;1.7.2 Player

ruby craterBOT
#
public interface Player
extends Conversable,, CommandSender,, HumanEntity,, OfflinePlayer,, PluginMessageRecipient```
Description:

Represents a player, connected or not

static zealot
#

we broke him

#

lmao

#

oh no

obtuse gale
#

lol

static zealot
#

he's back

steel heart
#

nice ,,

distant sun
#

d;spigot player#isOnGround

ruby craterBOT
#
boolean isOnGround()```
Description:

Returns true if the entity is supported by a block. This value is a state updated by the server and is not recalculated unless the entity moves.

Returns:

True if entity is on ground.

surreal quarry
#

d;1.5.2 Player

#

smh

ruby craterBOT
#

Unknown javadoc: 1.5.2.

quiet depot
#

1.5.2 was removed

#

why is he so slow

#

what are you guys doing

obtuse gale
#

idk

distant sun
#

hehe

surreal quarry
#

spamming above lol

static zealot
#

spamming

regal gale
#

F

static zealot
#

lmao

surreal quarry
#

the pagination

steel heart
#

Abusing him, what else

quiet depot
#

oh

distant sun
#

d;spigot player#hidePlayer

quiet depot
#

ig i need to make it multi threaded

ruby craterBOT
#
@Deprecated
void hidePlayer(@NotNull Player player)```
Deprecation Message:

see hidePlayer(Plugin, Player)

Description:

Hides a player from this player

Parameters:

player - Player to hide

obtuse gale
#

deprecated

distant sun
#

there we go

obtuse gale
#

nice

surreal quarry
#

make it so only the requester can change the pages

steel heart
#

Or make so only the latest pagination works

quiet depot
#

that means I have to store the requester tho

#

ugh

distant sun
#

or change the format of pagination to fit more values in one page

#

one message with fields

steel heart
#

Make the pagination invalid after a certain amount of time?

surreal quarry
#

ew no

#

^ gaby lol

quiet depot
#

paginations are invalid are 15 minutes of no use

steel heart
#

Ah

surreal quarry
#

you could also just hope people dont spam lol

distant sun
#

perhaps lower it to 5m or so

obtuse gale
#

5 seconds

quiet depot
#

lol it's not an issue

obtuse gale
#

take it or leave it

quiet depot
#

I just have to make it async

distant sun
#

or, you know, one message with fields

quiet depot
#

all discord stuff is running on the main thread

#

gaby make a mockup

surreal quarry
#

can't it still run over a limit with fields tho gaby.

distant sun
#

Spigot
1.15, 1.16

Paper
1.15, 1.16

Other
adventurer, jda

quiet depot
#

oh

#

lol

#

i already told you I'm not going to do that

distant sun
#

??

#

not even with fields?

quiet depot
#

no lol

distant sun
#

why

quiet depot
#

it's more effort than it's worth to implement something like that cleanly

#

I'd have to implement a data structure for categories

distant sun
#

how is that more effort

#

smh

distant sun
quiet depot
#

it can

surreal quarry
#

yea the 2000 char message limit i think

quiet depot
#

limit is 1024 chars total

distant sun
#

per field value

surreal quarry
#

each field is limited, so you fill as many as you can, but once the total reaches 2k doesn't it not work

distant sun
#

and one version has 3 - 6 characters + 2 for comma and space

quiet depot
#

well uh

#

pr it

#

lol

distant sun
#

just saying that imo the pagination is not really needed

#

I'm not working with your code smh

quiet depot
#

what's wrong with my code

distant sun
#

too good

quiet depot
#

i put a lot of effort into my code

jovial warren
#

what have I walked in to? lol

#

someone explain please

quiet depot
#

?

#

nothings happening

distant sun
#

hmm

quiet depot
#

just denying gaby's suggestion because it's too much effort

distant sun
#

as usual smh

#

you never take my suggestions into account 😭

quiet depot
#

i'm sure I've taken at least one into account before

#

not necessarily related to docdex

#

but related to something

distant sun
#

I'm sure it wasn't to ban frosty

old wyvern
#

You seem to have taken the suggestion of "you never take my suggestions into account 😭" into account. PlusOne

quiet depot
#

yeah lol

#

duly noted frosty

#

I'll try take more suggestions into account from here on out

#

FROSTY

#

gaby*

distant sun
#

IM DONE

quiet depot
#

sorry I was thinking about how frosty got banned by lemmo the other day

distant sun
#

CYA

#

how did I miss that smh

#

mf @frigid badge

#

gtg guys, peace

quiet depot
#

cya

oak coyote
#

Wait frosty got banned 😂

blazing walrus
surreal quarry
#

do you loose xp when you get banned lol

static zealot
#

no

#

pretty sure funny made most things store in a db

hot hull
#

I didn't get banned my

#

No*

surreal quarry
hot hull
#

You fucking whore

surreal quarry
#

LMFAO

quiet depot
#

@surreal quarry url should be phonetic if you want people to think it's hastebin

#

i.e. put a vowel between every consonant

surreal quarry
#

isn't that a setting that you can disable when you make set it up tho?

quiet depot
#

yes but no one does

static zealot
#

=joke

compact perchBOT
#
Hey son,

What do you call an alligator in a vest? An in-vest-igator!

surreal quarry
#

true

forest pecan
#

streams are legit a nightmare to read

#
        alignToSide(first, first.commonborders.get(0), Tile.BorderType.RIGHT)
                .flatMap(t -> alignToSide(t, t.commonborders.get(1), Tile.BorderType.BOTTOM))
                .ifPresent(t -> grid[0][0] = t);
#

tf

hot hull
#

ew

quiet depot
#

that's not a stream

#

that's an optional

forest pecan
#

oh yeah

#

i meant that

#

im dumb lol

obtuse gale
#

what the fuck

forest pecan
#

stream is stream()

#

that is optional

obtuse gale
#

streams are a nightmare to read if you don't use them properly

forest pecan
#

not really

#

either way

#

its still not readable

#

Lol

#

never more readable than a for loop

quiet depot
#

needs real names

#

t isn't a good name

forest pecan
#

Yeah

obtuse gale
#

what wat

quiet depot
#

should be tile

forest pecan
#

mhm

obtuse gale
forest pecan
#

not my code tho

#

Lol

quiet depot
#

fefo what u not getting

#

single char names are bad

forest pecan
#

^^

obtuse gale
#

OH that you mean

#

WELL YES

#

but that has nothing to do with streams

#

Player p

#

Event e

forest pecan
#

ik what they are

#

i already clarified in the beginning

#

i didnt mean streams

#

i meant optionals

obtuse gale
#

it isn't bound to a specific use case

#

single name variables are bad

#

unless you're working with vectors

forest pecan
obtuse gale
#

x,y,z;i,j,k

quiet depot
#

how do you guys go about indenting stream chains when you have statement lambdas in the mix

#

e.g.

obtuse gale
#

the . have to align

#

period

#

haha get it

#

period

forest pecan
quiet depot
#
list.stream()
        .filter(element -> {
            if (set.contains(element)) {
                return true;
            }

            return false;
        })
        .collect(Collectors.toList());```
#

that's ugly

#

but what do you do

#

idk what to do when that happens

obtuse gale
#

set::contains 🌝

forest pecan
#

yeah

#

lol

quiet depot
#

it'

#

it's an example

#

obviously you'd do set::contains irl

obtuse gale
#

lmao

forest pecan
#

so if its multiple lines

#

you are saying

quiet depot
#

they're called statement lambdas

#

when you have the {}

forest pecan
#

lmfao i never get the point for .forEach

#

just make a for each loop

hot hull
#

forEach sometimes cleaner

quiet depot
#

::, method reference
() -> thing, expression lambda
() -> {}, statement lambda

#

so, what do you guys do for indentation when you have statement lambdas like that

hot hull
#

Why make a loop when you could do

messages.forEach(sender::sendMessage)
#

ie

obtuse gale
#

^^

quiet depot
#

cuz it always look ugly when i do it

hot hull
quiet depot
#

yes that is a statement lambda

#

refer to my example

#

it looks ugly

#

how do you make it clean

#

and don't say set::contains

#

it's an example

hot hull
#

All mine are clean <o/

obtuse gale
ocean quartz
quiet depot
#

it's his coloring

#

all his colors are off

#

whatever wack theme he's using

ocean quartz
#

Yeah questioning his coloring decisions

quiet depot
#

doesn't even use fira code smh

#

or jetbrains mono

hot hull
#

Matt, mutable variables are white, immutable ones are gray

#

And y'all can eat a phat cock if you wanna judge my theme -.-

#

It's butiful

quiet depot
#

i'm judging your font

#

there's no ligatures

old wyvern
#

I'm judging you

hot hull
ocean quartz
#

Why though? Mutable variables are underlined

hot hull
#

underline ugly

ocean quartz
#

You're ugly

hot hull
#

Imma leave

#

Everyone being bullies

quiet depot
#

helpchat?

#

finally

hot hull
#

bruh

quiet depot
#

oh for fuck sakes

surreal quarry
#

is there an easy way to move methods alphabetically in IJ?

quiet depot
#

edit > sort lines

#

idk

#

just guessing

surreal quarry
quiet depot
#

ctrl shift up/down

#

u can move elements around

surreal quarry
#

yea i meant more like automatically puts them alphabetically lol

old wyvern
#

In settings

#

look under code styles

hot hull
#

Bunch of bullies

ocean quartz
quiet depot
#

d;LUcKPeRms usermanager

ruby craterBOT
#
public interface UserManager```
Description:

Represents the object responsible for managing User instances. Note that User instances are automatically loaded for online players. It's likely that offline players will not have an instance pre-loaded. All blocking methods return CompletableFutures, which will be populated with the result once the data has been loaded/saved asynchronously. Care should be taken when using such methods to ensure that the main server thread is not blocked. Methods such as CompletableFuture.get() and equivalent should not be called on the main server thread. If you need to use the result of these operations on the main server thread, register a callback using CompletableFuture.thenAcceptAsync(Consumer, Executor).

quiet depot
#

@obtuse gale

steel heart
#

Epic

weak ridge
#

How would I enable someones autosell through api

surreal quarry
#

dont ask in multiple channels

quiet depot
#

this isn't a support channel

weak ridge
#

ok

#

sorry

old wyvern
#

d;lick

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: java.util.concurrent.locks.Lock java.time.Clock java.security.PublicKey java.security.Policy javax.naming.LinkRef

old wyvern
#

xD

#

oh thats separate

#

does first arg use levenshtein as well?

quiet depot
#

nah

#

javadoc matching is exact

old wyvern
#

welp

quiet depot
#

although ig i can make it levenshtein

#

nah

#

i don't think that's necessary

old wyvern
#

yea

surreal quarry
#

piggy autosell docs for docdex?

quiet depot
#

autosell isn't documented

#

afaik

#

if it is sure

#

send me the javadoc jar

hot hull
#

OS oneday :perhaps:

surreal quarry
obtuse gale
quiet depot
#

i tried to add papi javadocs but they're broken

obtuse gale
#

Lol

quiet depot
#

@surreal quarry yeah they're not documented

#

there's no descriptions or anything

surreal quarry
#

ah ok

obtuse gale
#

exactly how I wanted it

old wyvern
half harness
#

wut

hot hull
#

Yea guess I'm a bot

half harness
#

same

#

thats hard

hot hull
#

||that's what she said||

old wyvern
#

gwlwofw'

#

I failed it

#

xD

half harness
#

xD

#

ur a bot

old wyvern
#

I chose the right one instead of the wrong one

#

God dammit

half harness
#

?

#

oh

old wyvern
#

This is

obtuse gale
#

how tf did they manage to cast the wrong shadow bruh SquareFlushed

old wyvern
#

5 of them are right

#

I have no idea why they introduced this

#

its just annoying to do

half harness
#

that's the point of captchas fingerguns

surreal quarry
#

no

#

its not

#

the point of captchas is to determine if you are a computer

obtuse gale
#

the point of captchas is to train computers

half harness
#

ik

hot hull
#

I guess I'm a computer

old wyvern
ocean quartz
#

Training computers to take over humanity

half harness
#

lol

#

oh thats ez

#

wait

old wyvern
#

oh they have a verification by sound

half harness
#

the first one

old wyvern
#

Imma just do that

half harness
#

hhuh?

#

ok

old wyvern
#

yup worked

old wyvern
#

And a lot of them are barely visible

obtuse gale
#

there will be a point when computers will be better at captchas than humans

#

SOON™️

forest pecan
#

alright

#

is it just me

#

but

#

this image

#

and the Thread.sleep

obtuse gale
#

get it

#

sleep

hot hull
#

Did someone say Thread#sleep

surreal quarry
#

ill Thread#sleep your whole family if you take that tone with me again

forest pecan
#

Frosty extends Thread

steel heart
#

no pls

obtuse gale
#

pulse show me three articles related to programming whose image/banner/whatever has any sense with the actual topic in question

forest pecan
#

Lol

hot hull
#

What the fuck James

#

You're getting coal for christmas

steel heart
#

thread sleep is nice tho

obtuse gale
#

they are random images that loosely match the article's name

surreal quarry
forest pecan
#

so Thread death

#

would mean

hot hull
#

I didn't even notice that was baby yoda Pulse

obtuse gale
#

yes

forest pecan
#

Lol

obtuse gale
#

lol

steel heart
#

u seen mando szn 2?

hot hull
#

Yes, I'm up to date with the episodes

#

As in I'm on ep 8

steel heart
#

dont spoil

#

I will kill u

hot hull
#

I won't

#

Shame it's coming out so slow tho

#

I need answers to what happens

steel heart
#

lol

steel heart
hot hull
#

Waiting for GOT to have the last few seasons retaken

forest pecan
#

ahri

steel heart
#

damn there is like a million ads

#

and ur pfp champ

forest pecan
#

search ahri in gif

#

lmfao

steel heart
#

is on there

forest pecan
#

lol

steel heart
#

bruh

#

the gif

forest pecan
#

well

#

there are a lot of versions

steel heart
#

I found ur prev

forest pecan
#

yeah

steel heart
#

its basically belle delphine but in lol

hot hull
#

Some weeb shit

forest pecan
#

well

steel heart
#

says a frosty

forest pecan
#

its not weeb

#

tho

steel heart
#

furry?

forest pecan
#

nope

#

lmfao

#

its a fox

steel heart
#

u r a fox?

forest pecan
#

idk

#

FEFolAS

obtuse gale
#

xDD

#

you know what it was mmlul

forest pecan
#

i didnt

#

catch it

#

in time

steel heart
#

is arhi

#

ur main?

hot hull
#

Varus was my main

#

Like 4-5 years ago

steel heart
#

darth jar jar binks was my main

prisma wave
#

Dev general

steel heart
#

true

#

also can you link the kotlin meme reddit

surreal quarry
steel heart
#

need to destroy some java fans

hot hull
prisma wave
#

frozen join

surreal quarry
#

why is there only 1 gradle file

old wyvern
#

When is this one gonna freeze to death?

prisma wave
hot hull
#

It's supposed to be a lib James, but cba to throw it on maven

prisma wave
#

ant

hot hull
#

Okay so how do I use a libs folder now inside my project

surreal quarry
#

libsFolder#use

#

what do you mean lol

#

are you asking how to relocate

hot hull
#

instead of using mavenLocal, as many have suggested to have a libs folder inside my project to add dependencies

surreal quarry
#

why would you want to do that. im pretty sure the libs folder is only if you can't get the dependency from a maven repo

#

like if you only have the jar and need to add the dependency with a jar

hot hull
#

well setting up a maven repo is effort tho

surreal quarry
#

its not really that hard

hot hull
#

I've never done it, so very hard

surreal quarry
#
plugins {
    id "maven-publish"
}
publishing {
    publications {
        whateverName(MavenPublication) {
            from components.java
        }
    }
    repositories {
        mavenLocal()
    }
}
#

that should work for mavenLocal

#

then just gradle publish or gradle publishToMavenLocal or something

hot hull
#

Lemme see if jitpack wants to work

#

@frigid badge Quick question, so if I have a site url I can get the contents as json right? and then do whatever with that

frail glade
#

Does the website itself return json?

#

Or are you needing to convert the html into json?

hot hull
#

I don't actually know, that's the issue, trying to somehow "scrape" assigments from moodle into json so I can then detect new shit added, cause their notifications are absolute fucking garbage so wanted to make a bot which would notify me

frail glade
hot hull
#

I suppose, I'll read up on it and see how to even use it, I'm clueless when it comes to stuff like this

distant sun
#

pretty sure that is for moodle plugins

hot hull
#

Pretty sure as well, but then again, I know nothing so fingerguns

distant sun
#

the docs are weird, idk

#

also, I think you only have access to the mobile app api

frigid badge
#

you can just use selenium to scrape it

#

or jsoup

#

but that won't be json

hot hull
#

Oh how I wish I'd actually learn this stuff

frigid badge
#

it's pretty easy

forest pecan
#

intellij is giving me the dumb warnings about autoboxing

#

i am doing it in a queue full of integer

#

and using

#
int val = queue.poll()
#

and i already check before the size of the queue in the while loop

#

but intellij just seems to ignore that and be like

#

"unboxing may cause npe"

prisma wave
#

use the other method then

#

the one that throws exception if empty

obtuse gale
#

If only Java had generics specialization and primitive generics... le sigh

forest pecan
#

well there are two options to fix

#
  1. make int an Object
#
  1. if generics didnt have type-erasure
#

i dont agree with solution 1

#

cause if it was under object

#

then garbage collection would fuck up a ton of things

prisma wave
#

let a = Box<Int>()

forest pecan
#

Kekw

#

only i wish

prisma wave
#

rust

#

clearly primitive generics are possible

#

rust has them

#

and rust doesnt even have a VM

#

james just being lazy again

obtuse gale
prisma wave
#

YES

obtuse gale
#

A project I can only see in my dreams

ocean quartz
#

Omg i just spent 20 minutes trying to figure out why the fuck my parser was appending the same thing twice, to find i forgot a return 😩

surreal quarry
#

unlucky

hot hull
#

Matt, I spent around 15-20 hours on a third rewrite for a project just to realize I've got no fucking clue what I'm doing, so I'm gonna rewrite it from scratch again

ocean quartz
#

Well, that's different

forest pecan
#

pretty sure i done that 5 times

hot hull
#

Completelly the same

forest pecan
#

i think everyone has done that tho

#

code without thinking

#

especially on the nights

hot hull
#

Even when I try to think I do random shit like damn

#

Gonna use modules this time and hope shit stays organised atleast somewhat

forest pecan
#

like i was trying to reverse an array and i used reverseArray[i] = array[i]

#

I wasn't even reversing it I was just copying it kek

hot hull
#

big brain

ocean quartz
half harness
#

wat

static zealot
#

that's adventure? or is that your lib?

ocean quartz
#

My lib "compiles" to adventure

forest pecan
#

what happened to your animated pfp

ocean quartz
#

Mine?

forest pecan
#

ye

half harness
#

woah is that discord formatting?

ocean quartz
#

Nitro died

forest pecan
#

RIP

ocean quartz
forest pecan
#

discord formatting is similar to markdown

steel heart
obtuse gale
#

It's based on markdown

forest pecan
#

Yeah

ocean quartz
#

Well discord formatting is markdown

forest pecan
obtuse gale
obtuse gale
forest pecan
#

oh

steel heart
#

sounds c++ish

obtuse gale
#

It renders on mobile

#

It doesn't render on desktop

forest pecan
#

Yeah

distant sun
#

does it?

obtuse gale
#

Ye looks good on mobile lol

distant sun
#

not for me lol

ocean quartz
#

Neither for me

distant sun
#

normal users can't use that markdown tag

obtuse gale
#

Update ig? Lol

half harness
#

?

distant sun
#

and is only available for embeds

#

pretty sure i'm running latest

ocean quartz
#

Yeah works on embeds

half harness
#

screenshot 😛

obtuse gale
half harness
#

😮

distant sun
#

lol

#

why is it so dark

steel heart
#

wait wtf

half harness
#

lol

steel heart
#

how did u make that href

ocean quartz
#

Well, judging by your theme that isn't discord

obtuse gale
#

Ultra dark mode :^)

#

It is

half harness
obtuse gale
#

Just keep tapping "Dark theme"

static zealot
#

how and why?

hot hull
#

It's discord

lavish notch
#

10 times

#

you click it

hot hull
#

Amoled mode

ocean quartz
#

Is that a thing? damn

lavish notch
#

Yeah

obtuse gale
#

On mobile it is

lavish notch
#

For like over a year

hot hull
#

It should be complete darkness if you've got an amoled phone

steel heart
obtuse gale
#

Mhm

steel heart
#

fucjk

hot hull
#

You thought bitch

surreal quarry
#

lol

obtuse gale
#

Lmfao

prisma wave
#

that worked well

steel heart
#

fefo U swear u didnt see

obtuse gale
#

It will still attach the embed even if

#

Thanks efe

steel heart
#

omg

#

ruined

hot hull
#

I mean just send a link as a tier 1 lol

#

No embed, ez claps

obtuse gale
#

You can <do this> on a url and it won't attach it

distant sun
#

ye just updated and it still doesnt work

ocean quartz
#

Actually was pretty annoying to make the markdown follow discord's because discord doesn't follow the commonmark standards

hot hull
#

Would help if your link didn't have RickAstley in it Fefo

obtuse gale
obtuse gale
steel heart
#

fuck u

#

;-;

obtuse gale
#

You can still hold your finger on it to copy the link and stuff like a regular link

steel heart
#

ah man

ocean quartz
#

Can anyone create the a very complex markdown message for me? (with a bunch of nested stuff) I wanna test the parser

obtuse gale
#

No

ocean quartz
#

😢

steel heart
#

sure

obtuse gale
#

I am legally not allowed

steel heart
#

how do I use it

static zealot
#

Free of charge of course

#

Not like I could make it for money either xD

obtuse gale
#

Several people are typing

half harness
#

not anymore

steel heart
#

~-da~dasdwqdas__DSad~~Das_~~

forest pecan
#

New Japanese Transparent Toilets in Shibuya - The Tokyo Toilet Project

Tokyo recently installed these new transparent toilets in the Shibuya area as part of The Tokyo Toilet project. This is an effort to change the perception of public restrooms from a scary dirty place to a safe and clean experience.

🗺️ MAP
Yoyogi Fukamachi Mini Park Toilet ...

▶ Play video
ocean quartz
#

Just discord stuff like ** ** bold, * * italic, ~~ ~~ strike, etc
You can also add []() the syntax inside the [] allows every markdown as well and () is like (hover: ) or (click: ) etc

forest pecan
#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
HelpChat Paste - Usage
Hastebin

ocean quartz
forest pecan
steel heart
#
~~__***Conclure's Epic Menu***__~~

**Hi!**, today I want to eat __toaster__.
[[Click Here](hover: **Jebaited**)](click: ~~NullPointerException~~) if you want to die :]
#

more complex?

ocean quartz
forest pecan
#

why not

#

lmfao

steel heart
#

bruh

#

pulse biggest troll

ocean quartz
#

I think this will break [[Click Here](hover: **Jebaited**)](click: ~~NullPointerException~~), it'd need to be
[Click Here](hover: **Jebaited**|click: ~~NullPointerException~~)

steel heart
#

ok do that

#

:]

ocean quartz
obtuse gale
#

Pissed

half harness
#

why r ur video names always like 1UHsauhdk12bG.mp4

ocean quartz
#

Sharex

static zealot
#

shareX good