#help-development
1 messages · Page 1533 of 1
iirc the way it works is that the plugin's enabled status is set after onEnable returns
so if you disable it in onenable, it will set it back to enabled after onenable returns
or, something like that
maybe I'm confusing it for something else
yea disabling plugin onEnable workin fine for me too
i do definitely remember people recommending to like delay the disable call by a tick or something
maybe it works but isn't ideal
would make sense cause disabling on enabling isn't really a nice to have
but it should work fine
pretty sure throwing an exception in onEnable would work better
then your plugin will be auto disabled
that would also work
the issue with that is that people don't read anything ever
"PLUGIN BROKEN PLS FIX"
in your reviews section, most likely
lmao
true
i mean - i thought 5 lines that get sent onLoad and onEnable would be enough
ctrl + c exception, ctrl + v into review, 1 star
yeah
I have another quick question:
My Ide (Intellij) gives an error for 'Gameprofile' and 'Properties'. I can't import them either. As a solution Intellij says "add maven dependency" but then it doesn't find anything. Does anyone know what I could do to solve this?
Don't forget to remove the important part of the error
does VersionChecker do a network request
is it just me or does spigot not have any javadoc
looks to be sync
or what am I looking at
your versionchecker has a possible memoryleak
package index
ok no it is async
not this lol, I mean spigot as in the artifactId
sad, why spigot-api has it but not spigot 😦
even the api one sometimes bugs for me and doesn't appear
is there a placeholder for if a bungee server is online?
or a plugin to make a placeholder for it?
it never closes the connection
choco bad
not sure if its also a memory leak if its supplied async but still a possible memoryleak
just @ him, he wont mind
you have to make a finally clause where you close that connection
otherwise it will also never be closed if an exception is being throwed
*if it gets throwed before closing or while
why are you populating your config defauls in source with constants
you can stay like this and hope that it don't matter since its on another thread
wouldn't it be simpler to just write the config.yml with the defaults
that way you could have comments
the values in your bundled config.yml are automatically loaded as defaults, as well
so it's functionally the same as addDefault
so what happens when a new version of a plugin has another field, it just merges them?
whatever is in the existant config on disk will be used
i have already done that
yeah you said
if there is no value for a key in the file on disk
i dont know what to say
then the default from the bundled yml will be used
ok- thats cool
so yes, a kind of merge
i just wasnt aware
where the existing config.yml is given priority
ok
saveResource("heads.yml", true);
i see you're extracting resources into the plugin directory, but overwriting them each time
this can be a bit misleading to end users
as they probably assume they are there to be modified
yeah true
either load it directly into a config from the stream provided by getResource
or don't overwrite the existing file
then you want to load it directly from the resource
and not write it to disk in the plugin dir
get the stream of that bundled resource with getResource
create a Reader for it with new InputStreamReader or something
and then pass that to the YamlConfiguration constructor or factory method that takes a Reader
yeah, i think that it is kinda obvious that you shouldn't change the languages
since it is a hashmap
but fair point
I would say to make languages yaml available in plugin directory for users
so that they can make a copy to make any changes they want
why not, there are no harm in changing it
hence what NNYa is saying
YamlConfiguration.loadConfiguration(new InputStreamReader(this.getResource("languages.yml")));
they are constants for the deepl api
ohh
nice
informed myself: async doesn't matter. memory leak is memory leak. since that i would recommend to fix that memory leak
it is translating the lang returned from one thing to the needed code for another
a few bytes here or there
never hurt anyone
YamlConfiguration configuration = YamlConfiguration.loadConfiguration(new InputStreamReader(this.getResource("languages.yml")));
Just like this then
remove the save resource
getTranslation also doesn't close the connection in a final block
yes that just shits out an in-memory config for you to use
^
ok nice thanks
without doing anything on disk
True
i sorta always forget about errors
and so does choco
Don't the connections time out or something and auto close?
isn't there like a player change settings event
that gets fired when they change their locale
why would u need that?
probably want to use that instead of only ever getting it in the join event
as the player can change their language while connected
DAY 1 of asking: how can i make the item that i put in the crafting table return to player inventory when i close
if its that simple
i have done long ago
i just get their locale on chat? i dont store it
i'm pretty sure someone did it that way a bit ago
why do you have an entire block of spaghetti in the join event waiting for the client to send their locale
cause md69
it is
i mean, apparently it can take up to 100 ticks to send their locale
but from testing 60 works fine
my item have difficult NBT
listen to the inventory close event, look for the inventory type, get the contents, clear the inventory, set the contents in the players inventory IF he has space
NBT doesn't exist in the API
but the spaghetti is mostly bad code working out whether to translate, what lang to put in etc etc
i bet that doesn't matter since you are just getting the original itemstacks by #getContents
literally doesn't matter
get the contents <- this is the problem
ye
doesn't inventory has a #getContents method?
anyways - imma go for a bit. dont bomb england while im gone NNYa
yeah but that is like a chest with a bunch of items in it that probably shouldn't get removed
it return the entire GUI
so he probably only wants the 3x3 grid
and i'm 1.8
he can
idk if its possible in 1.8
and he can also just get the slots
^
getItemStack
let me get my list of other 1.8 plebians
i developed in multiple version
from 1.7 -> 1.16
@quaint mantle @crude charm @minor fox calling all the 1.8 plebians
help this man
he needs to figure out how to get the contents of an inventory held in a specific set of slots
i figured it out
just getitemstack
use for to loop through all slots
store them
and give
i said that too u already
ik
Then why send it here....
screaming bedwars
and y u plep dm ing me?
i haven't even looked in my dms in like weeks
i have 9 unread messages there apparently
or 9 unread conversations, idk bout messages
you must be a 1.8 user, too
Because you're annoying
who let the fucking kids in
go to help server pleb
we need a "no babies" rule
get him out
go back to kindergarten
Then grow up
mods mods mods mods mods mods mods mods mods
also 16 is a child
you are an itty bitty babby
i am 14 and behaving better
still a kid to me
i've seen 9 year olds who are more mature
ur english is trash. i see
this man really just-
yes
hello
sometimes when people join, chat turns into complete chaos
its normal for all discord servers
Without chaos there is no order 🙂
g´day
true
high tier philosophy
bread
just don't join, stay here.
Can we have a #help-development-verified channel?
^ YES
i mean - if NNYa then just verified we would be fine
I second that
yeah that's why verification exists
yeah lets force NNYa to verify
he will just say he cant be bothered and it is too much effort
he will probably write something like BLITZKRIEG to this server!
As a German I can relate
as a german i agree to you
oh god
yeah
you 100% behave better
thonking

wanna play fortnite with us @quasi flint?
he's 8 - 9
And tomorrow I am 15
play AMOGUS with us
watch his youtube videos
Get this trash of my memory
HE IS BACK
you will instantly know
Nah. More like mw2
you can't see him coming
rip cord ass
NNYaKNpGms0eUVpiSdHx
NNYaKNpGms0eUVpiSdHx
NNYaKNpGms0eUVpiSdHx
NNYaKNpGms0eUVpiSdHx
for an undefined amount of time
Give him his 2 min
@wraith rapids
His brain cells have to figure out what happened
what do you want from him
he has the lobotomy plugin
Oh god fuck
bless you
I didn't think
smh
Don't thonk I do

Tf is dat
He started agin
this is his channel's about-me
Welp

12 messages
10 y/o
20 messgaes
so i was wrong
well uh
Lol
look in
Bye
(no, i wont leave the server)
The just spammed aaaaaaa aaaaahhh
have a nice after-life in beyond
how to fix????
Tf he doin in #spigotcraft
mf dont know what that channel is
Nah I said #help-server
yeah there he was too xD
Not infected channel
Sec
dot gang
get nitro then
so just make more
just make premium plugin
Extreme Money Printing
for a premium resource you need some skill 💀
The skill I don't have
and i don't think i have enough reviews
You need 80 messages 💀
it ended
yeah but
If it includes discord message would be epic
No creditcard
why didn't he purchased it
Purchased it. But 14 /= credit card
just make a new paypal account
15 tomorrow
doesn't matter if it gets disabled
return some returnable bottles
NNYA
Still got it
STOP
easy way for kids to make money
pfandflaschensammler
Coming out of the year 1890 my guy
be like
verifying is gay
no
That's what Obdachlose tun
thats what obdachlose do*
you could also find an epstein tier sugar daddy
Mimimimimimimi
so you are not happy?
exchange some carnal favors of the flesh for money
Ur name is like you repeatedly headbutted on keyboard in extreme rage
just sell your lung for lifetime discord nitro
the only part about that that is accurate is extreme rage
I may or may not need that to live
Or breathe
does that guy who blocked everyone in here for not spoonfeeding him still come in here
Which is helpfull
and even if you die you have discord nitro
them?
Who u meaning?
Floofsy
that floofsy fuck
Nah
wild, it was entertaining to read
lmao be kind
he is gone i think
i will not be kind
But that mughda is good too
i am very unkind
didn't imaginedev kick / ban him
Entertainment in its ourest
i will grind his anencephalic ass to dust
With pure ass on concrete
it is not good to discriminate other's STUPIDITY
May God pray for him 🙏
We not discriminating. We just laughing
i will discriminate you into low IQ camps
soon 15 y/o bullying others
so that you can't be a danger to yourself or anyone else with your micro brain
And kills my brain cells that are left
interesting
Breaking News: Low IQs pandemic
anyways
Get the math books
since nobody is coming to get some help
we should talk about ww2
smh
Senfgas
we should take a 5 min break in case we are scaring them away
Weeeeeeere
Google your question before asking it:
https://www.google.com/
REGROUP IN T+5 MINUTES
run schneller
Have to go home
13:45 I am back here
okay guys its :40
kk
lets return back at :45
no-one help till :45
shhhhhhhhhh
since my explorer crashed a few days ago, I can no longer see the system time
restart 🙃
the system time also drifts on its own
Maybe restart comput9r
when I commit shit to a git repo, the commits are done 25 minutes in the future
?ask
If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.
wtf
which is rather strange
send me ur repo
i shared mine
i don't have any public ones
smh
they're all full of antisemitism and racism and sexism and misogyny and, uh
what's that ism when you discriminate someone based on their ability
ableism?
yes
yes, ableism
do you think you may die alone
i have many friends who share my world views
since I don't live in a soy state like the liberal parts of usa, they're easy to come by
i have literally not seen a black man for more than 6 months
irl, that is
pure white ethnostate over here
i am not surprised if you are 24/7 here
i'm not 24/7 here
no
23/7
He just seeing us
it just looks like it because we're online at about the same time of the day
early hours of morning for me he is not here
have to be the religion
i'm actually here only a few hours a day
I have to go take a tactical shit. Back in 10 min
bs
which I suppose is still a pretty long time, but that few hours is mostly me waiting for my slow as fuck maven shit to compile
and I don't have anything better to do as I can't use a browser while compiling
Why i dont use maven for compiling 😎
or just buy a better machine
Better toaster
sell some plugins
im suprised your alive you have so little effort
it's not about money
It's about having fun
it's an issue of principle
that I don't want to get scammed
because fuck scammers
and to tell a scam apart from a good product requires effort
"it still works. its slow af and crashes sometimes, but it works"
Ur computer got virus
need to do like price comparisons and understand the market and shit
or just google for test results
every bit of effort I don't put into that when buying a product translates directly to a few more shekels of jew gold in the scammer's pockets
i managed to get a 3060ti at msrp from a shop, so i was pretty happy
those things are like rare as hell apparently
the other issue is that it should ideally be a laptop
and "gaming laptops" are gay and expensive
yep
if it were a desktop I would probably have gotten one already
but finding a laptop that performs decently but doesn't have 20x inflated price because of "gaming laptop" is difficult
like, take this one for example
the processor is actually pretty fucking good
goes up to 3ghz, everything runs smooth and good when it actually runs at max clock speed
but because of passive cooling, it's always throttled down to fucking 600mhz
what is it
i don't remember
oh lmao
and I can't look up because explorer died
Ikr, I want computer accessories that don't scream gamer in ur face, desktop rgb is fine, but not on a laptop or mouse
imo - get a good laptop with decent cpu and then just thunderbolt a gpu on when u need it
save a lot of moners
and better battery life
find me a decent laptop
i could recommend a pretty good laptop
How tf u thunderbolt a gpu on a 'top
but its up to >500€
one that ships to the white ethnostate of finland
easy?
money isn't an issue as long as it isn't a fucking scam
oh i thought u were german for some reason
here in the white ethnostate everybody is rich
i do prefer office keyboards, yes
Money is an issue for me, sucky eucky, there's no laptops that have good perf for below 700
games aren't a problem but also perform pretty good
great, link me and I'll put it on the to-do list
I wanna see it too
gonna find it again
and when I get around to it I'll compare it to other shit and maybe get something
Entry-level bruh
It's the same thing in the desktop world
1k is considered entry level
i hate modern technology
remember when we sent people to the moon with like 60kb of physical memory or some shit
cause i like things when they just work
i fucking hate how everything these days is so bloated and heavy
its the ASUS Zenbook 13
U use it?
ohh its the fancy trackpad one iirc
i need to focus on work now
smh
can you get it with an office keyboard? like, with numpad and shit
small laptop, gtg, smooth keyboard, good screen
your touchpad is the numpad
Lmao
not a flimsy touchy touch pad that stops working after 2 years
I use a mouse anyways
then go for an ASUS Zenbook 15
yeah i edited it
it costs literally double
Well suck it
i'm not paying 1000 dollars for a fucking numpad lmao
That's how laptops are
so buy the 13 one
yeah no
or buy the laptop + keyboard
no numpad no purchase
or buy an extra numpad
i suppose that is vaguely doable but I'd rather not
Numpads are for slow typers
numpads are very useful
ever tried doing your taxes without a numpad
you end up moving your hand like 5 kilometers going from 1 to 0 and back when writing all of the numbers
I like numpads
versus just clickety clickety on the numpad
i like to aim for the keys
I have an accountant for my taxes but anyways, I can keep all my fingers on my number keys if I need to type numbers
instead of just circling around
the issue is that the keys are like 30cm apart
Why don’t you just use multiple fingers then?
because I'm holding the paper and doing other stuff with my other hand
Yea get an accountant, fuck doing taxes lol
Well it depends what you pay taxes on anyways.
lots of shit is still a complete fucking disaster even like 20 years later
Like if you have a business and stuff. Accountants a good move
By the way, when you build spigot with the version "latest" it builds 1.16.5 I think something wasn't updated.
myeah, I would get an accountant if my situation was normal
but it's pretty far from normal
NNY why aren’t you verified
as in, several generations have progressively fucked things up and now it's an unsolvable mess
Haha that’s why I have one, because i cba to handle the advanced shit with work taxes and crypto
1.17 isn't stable yet
if I had to hire an accountant to deal with it, it would take them so long to do the things they need to do every year that i'd go bankrupt
it's easier when you have a simple, streamlined system
you only need two or three few hour long sessions a year
Oh damn mines more like a family friend so I guess it’s different.
and everything is done
I thought md's post says it is 1.17
but in my situation, I have an enermous amount of paperwork and super fringe and specific things to take care of
hiring an accountant to do all of that would be very expensive
It's released yes. But it's not stable enough to be built with the latest argument
Maybe I confused it with without arguments
But buildtools on mac doesnt work correctly most of the time
Shag
implying anything on mac does
works fine for me
Rare times somehow
ah yes
For me it jump between different issues lmao
Back and forth
defending his mac
Can m1 run minnnnecraffft
afaik it can
Run well
Why doubt it?
Unlike my 2015 macbook air whose fan screams everytime I open the game
Well, I didn't say it runs well
👀
but technically speaking, it can
But the new mac should be able to run it smoothly
It is interesting that Lunar has a m1 version for mac
Wonders what kind of diff it makes
Is there any way that I can transform into a mob using spigot?
probably
^
I can't find anything about it online it just gives me plugins
there should be several ways
where can I ask?
pretty difficult without fucking with the protocol
i suppose there is one entirely api way but I would not call it good
and the simpliest is like to hide the player, spawn an entity at the location of the player and voíla
mc color code
ok
but in yaml it's a different symbol I guess
is there a way to control the entity?
§
you can either use the essentials & color codes
one is for ingame and one for yaml: & and §
or the raw minecraft § color codes
but the latter requires the file to have utf8 encoding
yeah. but if you just want to "transform" into that entity, let the player move and teleport the entity to the player
right § is for config/raw mc color code but doesn't work in commands afaik.... I remember something weird
You just
it works i guess but the vanilla client can't type it
in commands? why would you like to do /§hey§there
Cant type it i think
Yes right! thanks
use & and replace it with § in code
you need to type & and convert it to § in code
^
& is more understood by end users
or anything else than &
y but & is the most common
^
as it has been popularized as "the" canonical color code
mostly by essentials afaik
^
The amazing thing is I think § works in books
Yea
from like a txt file or smth
But works
yeah just like in an anvil or else
Wait i mean ingame
it works mostly anywhere that goes through bukkit's legacy serializer
and anywhere that the dfu lexes that shit still
§ worked
Is it possible to teleport players to another world in a plugin without having multiverse on your server?
I'm using that, just does not teleport to another world without multiverse?
whether or not multiverse exists is irrelevent
what matters is that the target world exists and is loaded
whether it be loaded by multiverse, the server, or your plugin, doesn't matter
wrong encoding
why does it leave the A symbol
because you're not encoding it in utf8
UTF-8 left the chat
no
or, well, yes; if it's in the raw text file
in-source, not necessarily
just encode the file in utf8
got it to work
anyone know how this ([title] <firstName> <lastName>) style of, I'd call it format definition, is called ?
something like this -> https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/command-line-syntax-key ?
Oh yeah, sweet!
thanks
sweet google also has their own style definition
time to switch
pure evil
OPTIONAL_title_OPTIONAL
PLACEHOLDER_firstName_PLAYERHOLDER PLACEHOLDER_lastName_PLAYERHOLDER
NEEDED_id_NEEDED
Why are you using NMS for this?
Hello, could someone help me find a solution for this ? I'm trying to compile spigot 1.8.8 with build tools
I'm using java 8 in wsl with ubuntu 20
1.8
Try deleting all old BuildTools files and try again
Already done
🤷♂️
Perfect time to update to a modern version
:kekw:
Because its the fastest and best for performance.
If you seen the thread, there isn’t really any best way to do this fast to maintain the light updates and make it update for the client unless you use that method. If you really want to go far, I’d suggest to use like even WorldEdit APi
1,303,503
You could use workers
I don't like depending on other plugins. Only soft depends... I already have this working I just can't set sapling to be spruce or others with this method.
Then use workers. You realize that updating blocks is not easy at all
You have to also update the light updates
And also many other things
I have options for that
Use WorldEdit it's not worth remaking it
wdym by workers?
Let me get the post
It depends on the use case.... I have a config and you can enable lighting, physics etc...
if worldedit is open source look at that and let it 'inspire' you
Place a certain amount of blocks per tick
ah ok^^
I don't need worldedits code. I already have this fully functioning except for setting the block data. (Works fine in 1.16)
you could tell us what exactly isn't working when setting the block data
I already have lol
Also since it's NMS your mostly on your own either way
maybe your blockData argument is bad
Could be I only use the material to generate because I don't see any methods that have the durability/data as a parameter
wouldnt Material.SAPLING make an oak sapling?
yeap
Not in 1.8 to 1.12
Or wait
Didn’t you have to use data values
Nvm saplings are fine
Yeah
But I think oak sapling is it’s own thing
I don’t support legacy so idk for sure
¯_(ツ)_/¯
so i imagine default is OAk and other variants are some data tags
Yes... I'm looking for the NMS variant of Block.setData()
take a look at Block.setData() in the spigot source
Been looking
could probably just look at how they do it
I got it
public Object generateBlockData(Material type, int dura) {
Object data = null;
try {
Object nmsBlock = CMNgetBlock.invoke(NMSCraftMagicNumbers, type);
Method getBlockData = nmsBlock.getClass().getMethod("getBlockData");
data = getBlockData.invoke(nmsBlock);
if(isLegacy) {
Method fromBlockData = nmsBlock.getClass().getMethod("fromLegacyData", int.class);
data = fromBlockData.invoke(nmsBlock, dura);
}
} catch (NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
e.printStackTrace();
}
return data;
}
good onya
how do i increase blaze rod drop chances? should i just use entitydeathevent or is there a better event to use?
how?
LootGenerateEvent I guess..
Actually use Bukkit.getLootTable with the namespace of Blaze loot table and modify that
I will look then
once i get the loottable how do i modify the chances? i cant seem to find the method that does it
Yeah I noticed you might just need to replace it with your own
I want to center the name (Netheritspitzhacke)
Oh that
I need the amount of pixels
Don't
Why not?
It's not worth the effort
Oh I see, it get's bigger if the itemname gets bigger
is it ok if i use EntityDeathEvent, cancel the drops and calculate it myself?
how do i make a new LootTable?
its an interface
I'm not sure... try just implementing it
Can you also center kick/ban messages or is that auto centered?
already centered
Ok thx
Nms
But you can use pdc also
It’s slightly limited tho
PersistentDataContainer
Use Entity#getPersitentDataContainer to get it (:
when i build artifact it says:
Cannot resolve methode 'getETCw' in 'CryptoCurrency'
Cannot resolve methode 'saveETCw' in 'CryptoCurrency'
But in CryptoCurrency i added:
public YamlConfiguration getEtcw() { return this.etcw; }
public void saveEtcw() {
try {
this.etcw.save(this.cw);
} catch (IOException e) {
e.printStackTrace();
and with btc and eth it worked fine
why is this a thing 😂
wym
._.
can somebody just help me pls thx a lot
I've told you exactly what's wrong
i dont got it
Now you should learn Java
i started learning but i dont wana pause the plugin for week bc of that prolly small thing
you should pause your plugin until you know all of the basics of java
.... have patience
yh but not if the plugin is on 99% and 1% is missing
yes you can
^
Waiting a week on a plugin is nothing
okay thanks for help appreciate it
help ≠ help
help = telling someone to learn java instead of helping to fix a small problem
🙏
He told you how to fix it but you don't understand = need to learn
looks at last 6 months
hello back, i am GodCipher
;V
yes but clearly i dont rly got it so tell me a bit more then just 2 words
Methods are case sensitive.
its your case sensitivity
now?
did you get it?
What happens when you run your command
AHAAA JUST SAY MISMATCHING FILES
what are you nulling?
It's not mismatching files
wh.. what?
stop bumping your help request. your code is garbage. it could take a while till someone can or is willing to help you
when you reaaaaaly want the player just to be safe
everyone is
well good if you yourself say it 😄
GodCipher do you know how to speak every language?
si esp
go learn java basics and you'll make less stupid mistakes and even be able to find the problems yourself, kthxbye
your faith is strange
lmao
King, that helped me alot
it should actually
very true
Hi, I want to make a spigot custom plugin and I want to use firebase too. I am a very beginner in this theme so I need some help. How can I implement firebase to my project? I don't have a build.gradle file and I don't know where should I create it and should I even have to use it? Please help me what should I do to be able to use firebase
Yk whats problem with saveBTC?
How much experience with Java do you have? And do you know Maven?
you didnt show the saveBTC method but its probably the same problem as the other one
i personally dont use maven
maven is nice to start with imo
I know the basics of Java. I don't know Maven
Can anyone tell me how I can detect a player holding right click on an item?
Can you give me a link for it because I can't find an API for firebase?
I checked but that not the case i‘m showing when i‘m at home
I only can find documentations but they require build.gradle file that I don't have and I don't know what should I do with it after I created it
i rarely use other plugins. only my own
<------ not helping for 10 min. taking tactical shit on the toilet
Hey ! Using Gson, where in the plugin should I apply the serialization ? I guess i'd need something like "before server shutdown" or something similar, does ondisable execute this ?
serialization for what?
what do you want to serialize and why
So what the documentation is showing is the main file for the build system gradle. You can read their docs here: https://docs.gradle.org/current/userguide/userguide.html
<dependency>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-admin</artifactId>
<version>6.13.0</version>
</dependency>
heres an example, change it as needed for other dependencies
(if you choose to use maven)
Does anyone know how to do this?
He doesn't know Maven or Gradle
store the latest 5 right clicks with an item in hand and check the ms
well, I suggest using gradle since thats what firebase has instructions for
right, well it's a Multimap that I'd turn into a map for json to handle it. It's like a database that register players UUID linked to couple vectors. when they place a specific block it adds their vector to the database and this relationship needs to be retrieved many times.
Works well, only problem is that when I shut down server it kind of deletes the Map (erases its memory), this is why I want to serialiaze it.
so in my mind I'd need to deserialize it at start of server
and serialize it at shutdown ?
dumped it perfectly in the center just so u know
😩 f0cking satisfying
yes
Sure
Gson#toJson
Next time try making the leaning tower of pisa 🥵
so basically just a map with some vectors?
Can I use firebase if I just create build.gradle and paste this code (dependencies {
implementation 'com.google.firebase:firebase-admin:7.3.0'
}) there?
Not really
You an entire Gradle project not just that file
I suggest you read the user guide I sent
okay
Send build.gradle
@hushed lantern
You’ll get a headache reading the entire gradle user guide
yes a map<UUID, Collection<vector>
but I'm not sure where to serialize it
before shutdown only ? is such a thing possible ?
Yes
like on shutdown serialize and on start, deserialize
That’s very possible
Hmm that'd be great, is there particular command ? is it what onEnable do ?
on Enable/ondisable ?
Yes as the name hints
Probably yes lol
ah ok lol, fine then. I thought it'd be like on disable plugin
is there a way to save a hashmap on config file without the spaces? i have no intention of making it user friendly and i dont want massive files
(its a very big hashmap)
Can't u save it as a object and recast it as a object?
Wait what?
Anyways, on the danger of going onto a tangent...
Anyone knows why I can't use the 1.17 javadoc in eclipse?
I tried the two repos (releases and snapshots) but no matter what i do it only says 'no Javadoc could be found'
They dont have a build.gradle file yet
ur mean me?
Yes if you use gradle you should by definition have one

