#general
3141 messages · Page 59 of 4
sell ur head on a pike
Also fawe is the best plugin in esitsance
Dang autocorrect only when I actually need you
Existence
If I were in it for the money, I would have quit years ago.
is that why you’re 🅱roke
I’m broke because I’m a uni student lol
if you were in it for the money you'd still be broke 
I'm only teasing 
Omg so teased
we all know the only way to make money is to do a p2w server 
I almost exclusively work on my web server nowadays tho
is that why plotsquare is so broken?
damn those mcmmo devs
been like 6 months

too many commits
what do you feed your JAR to make it so thicc
Long syntax
monkaW
@stiff yarrow He is just using clojure with the stdlib
guys is good idea to use Paper on skyblock serveR?
- would u recommend me to use old combat or new?
2nd question is subjective
1st question is you're in the paper discord
what do you think 
😄 well im wondering if its good for it
or i should go for custom jar
looks safe
Paper is good for everything
paper basically sets out to do the impossible, fix the bukkit API
like there are no need any fixes like for factions > canoning and that shit
Usually
the hell is a custom jar
Custom jars are just scams made by autistic 10yo’s
are you talking about when people modify paper/spigot for 1.8 to fix the broken shit?
ask yourself was Minecraft combat ever good
there's some 1.13 plugins that let you spam attacks again
Do as any reasonable server and use the latest bug free version
I have no idea if this plugin is good
never used it
@grand slate
well lets try it out 😄
Is that yours Rayz?
its free so try it out
if you can enable spam attacks through plugins it really begs the question why are people still on 1.8
lets ask @acoustic pilot since hes the expert on 1.8 servers
if you can't even compile the plugin you are overhauling that might be a red flag
=> [02:23:10 INFO]: This server is running Paper version git-Paper-614 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
good version?

or i should move to 1.12
@fiery oracle depends on so many factors
can u name few important?
if you for example are using some abandoned plugin that the author hasn't updated and will never update
1.12 is better
1.13 is better otherwise except the performance is kind of poop
^
so 1.12 becouse perfomance matter
100 max
what kind of server
Well, 1.13 is just a hacky fix
i guess
if you can't decide for yourself unsure if you should run a server 🤔
100 shouldn't be an issue
yeah most 1.12 plugins can be updated to 1.13 fairly easily if you hire some kid for below minimum wage to do it
@gloomy sphinx i love smart asses like you, im just trying to select correct version .
I’ll make your plugins for 10$ an hour but i’ll use 3x the time.
We have no minimum wage in Denmark
I have to rethink how much I'd charge for freelance after aikar showboated
😄
I'm jealous of those margins he has
He’s amazing though
what are his margins
they are THICC
$60 an hour?
thicc like the lining in his stomach used to be before his 5 hour energy addiction
he stated 100/hr
This is stefs margin
heh
idk how often you would find work for 100/hr but damn I'm jealous
I usually don't do hourly either because its some weird honor system
I just tell them what I'd do the job for
Yeah, i’m not in the mood to spend 27/4 getting rep.
I get paid 50% up front and 50% after
Billing hourly is weird ya
yeah I also do the half up front
we can all learn from aikar senpai
heh
lol I've done beginner level OpenGL/GLSL and I would hate to work in it full time
would you do it for 16k
yes but I wouldn't have the skillset
seus ptgi is an amazing shader for minecraft made by sonic ether showcase: path tracing original vid https://twitter.com/notglacier/status/111184589528736563...
(DiscordBot) seus ptgi (latest dev build preview) part1 - length 1m 10s - 742 likes, 8 dislikes (98.9%) - 40,746 views - ruegen on 2019.03.31
lol bet the fps is garbage tier on that
I'd have to study graphics programming for a long time to do what sonic does in his shaders
Nvidia even started advertising it and called it Ray tracing!
watch the video leaf
@static badge actually runs good because he uses a lot of shortcuts to simplify the raycast render
hmm so he's a god at it then
so weird how shaders has survived so long
yeah hes pretty skilled at this point
shaders survive because people want them
if people still want them
they'll survive
economies part 0
never really seen anyone actually play with them
better than aikar?
you don't have to compare everything to aikar
getting good at graphics programming is very impressive, especially if its working with the beast known as OpenGL
seems pretty easy
Vulcan is worse
isn't opengl extension hell
oh no
as its a soft standard
not snowflakes in hell!
if your GTX 980 decided 'lol lets do this instruction differently for optimization!' you can get bugs in your code just for that hardware
what's the best way to combat that
It’s called ash @static badge
use different instructions
just for that card
galaxy brain shit
tbh stuff like that is probably not a regular occurrence but the fact that it can happen at all is 
(DiscordBot) Google Sheets and Python - length 6m 53s - 31,389 likes, 383 dislikes (98.8%) - 1,057,697 views - Twilio on 2017.02.27
guys
When i connect its spamming you are moving too fast its becouse of papermc or via versions?
well developer of via versions told me its in minecraft or something like that
and im not useing any cheats its spamming console after reconnect
like 2sec and then end
Well, Paper isn’t doing that so rest assured.
don't expect something like viaversion to work flawlessly imo
try moving viaversion from the proxy to the paper servers and see if the lagbacks persist
(also if you have it on both, remove it from either one)
hey, still pretty new to working with paper (former bukkit user) now that 1.14 has entered prerelease phase what is the expected timeline for paper 1.14 after release? purely just curious.
oh that's why people are asking
it'll be out sometime after spigot 1.14 goes out
how long? who knows :>
ah, with updates in the past (not including 1.13) has it generally been less than a month? also are plugins expected to break as horrificly this time around?
Paper was not at fault for any plugin breakage
Paper is a drop-in replacement for Spigot, so any breakage originates from Spigot.
And there's no telling how long it would take, but upwards of a month sounds reasonable.
Spigot has to update first, because Paper is built on top of Spigot.
And then maybe a week to a month until Paper updates, no guarantees.
There are no certainties.
If plugins break solely depends on Spigot's 1.14 release, but sadly (or not) we are not md5 :p
was mainly wanting to make sure it wasn't going to be another year long gap 😛 i am happy with whatever time it takes (within reason)
Unfortunately your happiness is not a factor in how long it takes 😦
It takes as long as it takes, and atm it depends on when Spigot updates.
So they are better equipped to answer your question than we are.
Paper tends to update rather quickly once Spigot has updated.
i meant nothing by it, only that we can't live without you. 😃
Hopefully Spigot has been working on the snapshots and pre-release, which would possibly shorten how long it takes once 1.14 is actually released.
Good thing spigot is a very transparent project
lol
So we don't have to wonder
Do I want to live? Nowo. https://twitter.com/slimecicle
(DiscordBot) i made a tweet about furries - length 28s - 14,382 likes, 120 dislikes (99.2%) - 101,021 views - Slimecicle on 2019.04.10
wtf
Spigot's "community server" runs on snapshots, I think. So they have been working on it, it would seem.
They just don't share any of that progress with everyone else, which sucks.
the last time I tried to join it with a snapshot my game crashed 👀
interesting why doesn't md69 share
afraid of people mass using it and complaining "reee it's broken?"
Mass community input can only lead to positive changes, I would think 😛
so we don't know why :>
Whereas right now md_5 runs it in a very much dictatorial fashion.
With zero community input
is there somewhere i should be going to find this information? my own googling hasn't turned up much
What information? You know as much as we do, now 😃
XD excellent, i didn't know there was a snapshot server though, and have been unable to find any kind of repository for spigot spesific information
It's on the Spigot homepage: https://www.spigotmc.org/threads/spigot-community-server-1-14.356139/
It's been regularly updated with new snapshots, so it's possible it'll be updated with the pre-release soon, but no idea.
why is it the only thing that didnt come up in my googling was the actual spigot page... its too early in the morning for me
@placid thicket 1.13 had big changes internally for Minecraft which resulted in unavoidable breakage
i was aware of that, to my knowledge 1.14 does not have an equally large change, unless i am wrong?
it probably does not but we'll see, I haven't been following it too closely
breaks can also come from md5 deciding to break API, which can be unrelated to MC updating
There might be some changes to inventory creation and some villager based stuff, but not anything biggy from minecraft's side afaik
good to know
we have one plugin that is no longer being activly developed and took me like 3 months of fighting to get working for 1.13 >.>
Pay me and i’ll do it
@finite wave nah got no idea who that is
3 months 
Cool
I like them
Byte you missed a perfect pun of them being... dead
Z Nation, The Rezort, Dead Set, and now Black Summer
Oh, can't forget TWD, too, ofc 😛
Doesn't even include all the zombie movies, those are just TV shows 😛
Rezort is a movie isn’t it?
Z Nation got pretty creative with the genre, but the last season is a total flop
Funny thing, barely heard of any of them
@stiff yarrow are you doing better now?
Yeah first couple were gold
no because I have to work on config code again 
Well, the entire series pretty much redefines the zombie genre, not surprised they went crazy with it
but yeah it got pretty cheesy as the seasons progressed
im sorry about that
when theres some hard code i need to work on, i like to do this thing
it's called "giving up" and this probably doesn't help you at all
fuk
is kohi some weeaboo shit
surprised it went down, i would think it was rolling in money.
its just incredibly tedious, especially writing new comments for the config options
what filesystem would you pick for a SSD? im about to mount one.
pifs
what's the version for paper build 616
1.13.2
is the artifact id still paper-api in 1.13.2
where dd com.destroystokyo come from btw
who wouldn't want to destroy tokyo?
in my pom.xml
No
It’s Paper stuff
can i depend on 1.13.2, it means the same as dependong on 1.13.2-R0.1-SNAPSHOT
But shouldn’t need it in pom?
Dependong
my server jar I just downloaded p sure it's 1.13.2-R0.1-SNAPSHOT
You need to depend on the correct version
@finite wave do u want pic of my dependong
Could not find artifact com.destroystokyo.paper:paper-api:jar:1.13.2--R0.1-SNAPSHOT in papermc (https://papermc.io/repo/repository/maven-public/
--
Why the double dash
That sounds like a hella stupid pony
Rainbow dash and double dash
the FBI guy linked to you probably wanted to be funny and added it
Does each FBI guy also have a FBI guy linked to them?
oh that's a good question
And can one fbi guy be linked to multiple people?
Otherwise there would have to be an infinite amount of FBI agents
no
I think it goes up the ladder in the FBI itself, until the god of the FBI is looking at the last few high ups
but multiple fbi guys can be linked to one person
what repository should I use for LibsDisguises
just ask your FBI guy
mds repo
If each FBI guy has exactly one person to spy on, and each FBI agent has one agent spying on them
Then we get an infinite amount of them, which doesn’t feel nice
Imagine the taxes needed to pay them
If everyone is an FBI agent it works, yeah
It’s like the human centipede, but with spies
They must be very lonely, always being with you but never being able to have direct contact
Although if there’s at least one guy that doesn’t have an FBI agent spying on them, then it doesn’t have to be infinite
from now on you'll have to say "hello" and "goodbye" everytime you start/shutdown your computer
@quasi valley imagine being God then
He's having the time of his life watching us burn
Time does not apply to God
Except for when he created time, apparently
Because that took some time
Either way, my iPad autocorrect God to a god
Also, a few days passed before he created the sun 👀
what does a * next to the plugin version mean
[OldCombatMechanics] Enabling OldCombatMechanics v1.6.6*
Nossr is a poo poo face 💩
Doesn’t that just mean it doesn’t have 1.13 as it’s native version?
yes
That doesn’t mean it doesn’t fully support 1.13, does it?
Just that it wasn’t written for 1.13
it does mean that it wasn't compiled against api version 1.13
how can that be possible
Magic
I literally just compiled mine depending on paper 1.13
put api-version: 1.13 into your plugin.yml
oh okay
Slap that bad boi in there
this gets rid of the legacy conversion methods
Magic
what are some examples
Material names 💔
is api-version: 1.13 a key only for paper
No
or is this supported by all bukkit
i want to support old clients on my 1.13 server
can I give them items using api-version: 1.13
I guess yes
I wonder what that even changes
why would you not use that key
if you have your plugin written for 1.12 or lower with Material names that don't exist/are different in 1.13
and don't care enough to properly update it (or if it just isn't made for 1.13)
"All Materials have been renamed to match the names used in Vanilla"
this is really nice
oh on that topic, as I haven't really looked into the 1.13 material api, how do I check for a certain block type, let's say wool (= check if I have a woolblock)?
?
is there a better plugin than oldcombatmechanics, apparently it doesn't use 1.13 api
waow, okay 😂
@deep shoal Does it matter?
Hint: it doesn’t
If it works it works
also, their dev builds do have the tag https://github.com/gvlfm78/BukkitOldCombatMechanics
If it doesn’t it’s unemployed and a burden to society
is there spawn block protection
Well, given that it’s a part of the labour force
You are only unemployed if you’re willing and able to work
@heady spear I don't see wool in Bukkits BlockData API but perhaps Paper has expanded on it
Isn’t there materialdata too?
I don’t do the remember, been quite long since I worked with that shit
Bukkit API is a messy mess so I don't blame you
Oh, tags.
spawn-protection=16 does this mean I can't break blocks at spawn?
Then it protects the blocks in the imaginary plane
apparently setting it to 0 "disables" it according to the wiki, but the "single block at spawn is still protected"
just use 0
yeah but I want all blocks breakable
Or well, complex plane. But off the real axis
1.13 sucks ass
So it protects all blocks that exist in a fourth imaginary dimension
@quasi valley "0 will protect the single block at the spawn point."
That makes sense tho
I want it to protect nothing
Does this one block really matter
yeah
Just set the spawn radius to -99999
It needs to be there for the players to safely spawn
Jk
does f3+g not exist in 1.8 .—.
idc if players do the fall
that's intended behaviour
Fun fact, Jan rhymes with flygplan
I just dug through the map at 0,0
I am not op
but maybe 0,0 is not the protected block
Is your spawn 0,0 then?
Die
I'd have said "kill yourself" but that certainly sound better
Yes it does.
I typed kill Sup and pressed tab and it didn't complete my name
iTerm2
but it worked in 1.8 and 1.12
I spawned on -4, 4 and I could break the block under me
I used /kill again and spawned at -10 3
how am I meant to find out the world spawn from this info
It randomises
You need to set the spawn radius to 0 first
Otherwise you spawn in a 16 block radius of spawn iirc
Do what tofu face said
i will just open leve.dat in NBTExplorer
Otherwise you just reverse engineer the randomiser
Or do that
-6, 47, -4
@quasi valley it’s phonetic danish Jan
I can break the block under my feet here
I guess that means spawn-protection: -1
fixes it?
Googles gratis tjeneste oversætter på et øjeblik ord, sætninger og websider mellem engelsk og mere end 100 andre sprog.
@deep shoal I told you
ah
tab complete really doesn't work in the terminal
only 1.13
it worked in 1.12.2 and 1.8.8
Use a proper terminal
recommend me one
I expect it should work though
since it worked before and this is a v popular terminal

Is anyone familiar with world limiting ?
I have a custom map which has certain block length X and Z but after the points, normal world starts generating
Is there anyway to stop it or have an empty map after the points ?
World border
Hmm then I need to find the radius for it
There is one corner but will world border delete what's after that limit ?
Ok, did some research
And actually it generates 1 chunk after the border
That's totally fine
Thanks @heady spear
how does the server call events
when you register a Listener
how does it scan the class for @EventHandler
and associate methods with events
Magic
every time an event fires
does it use reflection
or does it only use reflection once (when the listener is registered) and it has some way of remembering what methods to call when an event fires
HandlerLists
You know, you can check the source. CraftBukkit is open source
any idea what to do about this?
https://hastebin.com/zunawohiba.makefile
Its really wierd, only happens once a week and the system has a total of 8gb so it should be fine?
why would they remove the camera icon..
@gleaming rivet do you use any plugins like Random Teleport ?
Well not a plugin but yes.
Disable those in world_nether and world_the_end
but i don't see how this is causing it?
its not when its used it happens, its when the server restarts
and needs to start up again
And it is already disabled in world_nether and world_the_end
Have you tried to delay your start script after the restart inits ?
2m is too much
the server never started.
if i send my start.sh to you, would you be able to incoporate the pause into the script for me?
well
seconds is the default
yes but last i used it, it didn't work
Use sleep instead
Place it at very top
i did so aswell
Send me your .sh
Instead of detaching and creating another session, try to reattach to the same session ID
screen -d -r <id> | " "
I assume you have only one session under "maelk"
You have a session that's running under maelk right ?
yes
-dmS detaches from that session
yea like it should?
Then attempts to create same session
No
is that what you are saying?
@gleaming rivet does your discord avatar originate from somewhere, can't help but get a weird vibe from it 
Yeah I get the same
Kill all your sessions
And use screen -d -r "maelk"
sleep 10
screen -d -r "maelk"
java ...
okay so can you explain what this does?
xD
Yeah remove it
Looks like some weird cop who's been integrated in a UI Avatar game
get a blue blob man avatar like a normal human being 
xD

@glossy crater so i would still be able to access the "server session" via "screen -r"
right?
Sure
There will be just one session not duplicates
And you'ld be able to reattach to it just normally
ah but you said its killing the sessions?
Oh well run a screen -list and send a ss
wat
theres two sessions o.o
i did not create that other one
and it usually not there
so like this?
or on same line?
Yes like that
But it's weird hmm
Oh you had a $STY attribute in the flag
Didn't see that
The -m
and that does?
Well basically lets you start a new session within another session
soo basically not important?
If the flags I gave you don't work or it can't resume to the session within the session it is
It is
But try that first
okay
AmdS best screen options
If not use -Dmr
what does AmdS do?
@gleaming rivet I have made you a new Discord avatar that is less creepy
hahah xD
if you want to, can you make me one like yours?
@vernal moth what does AmdS do?
I had this one made by a friend who told me they were drunk when they made it, then I had another friend add a body to it
A adapts to window sizes, dmS uses deamon mode (with a name)
i use dmS atm
original
so screen -AmdS MinecraftServer java -jar paperclip.jar
I add a because I like resizing my terminals, lol
but how does this change a problem with ram?
It also opens it detached iirc
stop using all the RAM
thats what d does, yes
how much RAM do you have on that system VS how much you are trying to allocate
have 8, using 7
well it might be okay
I guess it's an VPS
a really shitty outdated dedi?
Is minecraft the only thing you're running?
kimsufi has 20 dollar dedis with more RAM
well with shitty cpus 😃
You're paying for cpu not ram
i basically have this CPU for myself
OVH has good cpus
yeah OVH has good prices too
kappa
i'm not paying anything
so i don't complain
Kim is a ovh subsidiary
any sentence that starts with i basically have this CPU for myself is a lie
Its not?
i can visit where the "Server" is.
He said he's on a dedi
Wait you just said nothing else was running
so you colocated a machine with 8GB of RAM?
Not on MY VM

Oh you're in a vm
kek
The "SYSTEM" has 16gb total, MY vm has 8gb
jesus
so much for asking for help >.>
What didn't i say?
Use the flags I gave you for instance
You can also browse the documentation for screen here
Screen User’s Manual
waiting for MySQL to "cooldown" atm, its holding the vm back for restarting
so yes i will be trying what you said
how much does MySQL use?
Depends
i have CoreProtect and a economy plugin using it only
You shouldn’t worry
@gleaming rivet keep in mind because you're in a VM your CPU resources are being split, so its not like you have the full power of that CPU, CPUs have limited memory on the chip that is likely getting split as well, not to mention other bottlenecks from sharing a system, there are a lot of hidden costs to VMs
^ One vm for databases
thats not necessarily true
Docker cocks
I have virtual machines with dedicated cpu cores
Dock our cocks
where they are directly "mounted" into the vps
and yes, fuck VMs, docker all da things
interesting
pretty confusing when 10 people say different things 
and how is the cache for the CPU handled in that VM setup mini
doesn't every core have his own cache anyways?
speaking about intel here
re: MySQL, the amount of RAM it uses should be the size of the whole database, if you wanted. The ideal amount of RAM to give MySQL is enough to store the entire database in memory, this is why dedicated MySQL machines have lots of RAM (64GB to 256GB)
L1 and L3 are usually shared IIRC
@acoustic pilot well CoreProtect stores alot, so i would need the amount of ram it takes in space?
I'm not aware of any CPU that has completely independent cache per core
Logging plugins like that are going to make your database situation unmanageable, you should be purging old data.
eyyy wupti dooo @glossy crater it didn't work.
yeah I've heard CoreProtect is a huge DB bloater
Coreprotect stores uuid for every block i think. Etc.
The correct way to do that would be to have a users or players table where you map their UUID to a space-efficient ID like an int.
And then use the int
e.g. what mcMMO does.
btw nossr https://github.com/mcMMO-Dev/mcMMO thats big mistake
@acoustic pilot Yeah, storing less than more. I’ll chekc the code
i can clone it and build it myself and you got nothing
pterodactyl panel use docker
open source plugin
Open source = 
open source premium plugin
and paid on spigotmc
thats very very very big mistake
closed source = 🤢
MrIvanPlaysToday at 15:14
i can clone it and build it myself and you got nothing
and? why do I care
if I cared I wouldn't be posting my own plugin to leak sites 
jenkins
@void void I'm not sure what the question is
you know we link to jenkins on my discord
Omg
Paste your code or text easily and securely. Set an expiration, set a password, or leave it open for the world to see.
Ew
damn Ivan you're a real open source software pirate
Wtf
Ivan we are very proud of your knowledge
@stiff yarrow look at that
it's only 2500 lines what's the problem
couldn't you just link to their source code page
rip
mcmmo without dependencies is 1,2 MB ?! 
Had to decompile it
https://ci.ecocitycraft.com/job/McMMO/ this jenkins is hosted by a friend and does what its supposed to so you can just use this one instead
@worldly condor we have some thicc amount of code in our codebase
😮
well there is definitely some inefficiences here with the SQL queries @finite wave
Looks awful
Ein spaghet
but this is decompiled so idk how much to attribute to the author
You really plastered that ORIGINAL CREATOR thing everywhere huh?
We in Jython boii
is there a simple command for showing how much a MySQL Db takes up in MB?
all i've found on google is some retarded long commands
on disk or in memory
disk
Lol
lol what?
if you have phpmyadmin installed you can go view it pretty easily, on google they suggest using this command in a lot of threads
SELECT table_schema "DB Name",
ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB"
FROM information_schema.tables
GROUP BY table_schema; ```
i only have command line sadly
so what part should i switch out for my own databases?
or does that command there just work out of the box?
just DB Name should be enough
thank you 😃
@worldly condor where are your brains lmao
mcmmo is up @ spigotmc so people could donate easily
god, what's with the small resolution? is that a laptop? xD
I’d recommend not using windows on old laptops
It's only an 11 year old CPU
Lenovo ThinkPad T400
ewwwww
I mean it's better than the CPU in my T61 xD
but that only runs XP (and ubuntu)
Used to have a T61, it ran windows 10 okayish, not the best
only have windows on there for a couple of games anyways ¯_(ツ)_/¯ don't always want to take my full PC with me when ym friends decide to do a retro lan party xD
and it runs HL2:DM okay-ish ¯_(ツ)_/¯
Lenovo = Poopnovo
it run 70+ fps(MC) and run paladins too
yeah, that's why I don't buy newer ones
check edit
I'll probably get one of the last IBM Thinkpads soon, the T61 has it's phases where it's too slow for my liking :S
is RO a country
hey you guys wanna see something funny
anyway after i blew up at that bitch she paid me $350 and im ok, i finish my shit now she can go finish her shit.
what message do i just get this morning?
Lol
- I leave in THREE days
- she wants that extra for free
LMFAO.
no fuck you bitch
im out
is that the client or your real fake partner
Tell her you'll do it for double pay :>
she paid you 350? this is sketch af
byte, you missed it; but this bitch very nearly did not pay me
I wouldn't be surprised if she backcharged you
f&f?
F&F should be safe
she's using my server as the dev environment; so she does that guess what
she loses the API too
and her frontend work
I think though if it was backed by credit card, it can still be charged back.
"oops"
at that point isn't it paypal getting the chargeback
But normal disputes don't work with F&F, only unauthorized
so her server's donos aren't actually accessible by her
she contacts someone who manages the donos lol
and he sends it
If the F&F payment came directly out of her PayPal balance, it's probably safe.
Then you should be good
Good idea lol
Anyway, my ex-boss wants to go to lunch with me
because I left stuff in the office apparently
rip
i dont wanna do that
Probably some exploitative underlying motive
most likely
would not go
well, I gotta get my shit. Her personally I don't have a problem with; so I don't want to be rude. :\ but
yeah
so many questions
Don't wanna burn any bridges that could cost you a job reference, if possible 😛
@stiff yarrow more info I recently learned
yeah, I need to do more research
before i say yes to working with people lol
be my freelance senpai daddy
that's true Byte
well you made some mistakes and you can learn from it
just don't do weird jobs in the future
Nubs just hack banks
kek
gc's on fire at work
thats dev
thats prod 😂
time to switch to g1gc, lol

I found it
tyvm
wat he doing
he was just curious about how the annotations worked
oh ok
they are basically just method parameters in disguise tho lets be real
sometimes yeah lol
i just randomly remembered one of my commits on github was "implement md5s idea which pissed me off"
it had to do with events
i dont know why i just remembered that shit
oh shit I rebased that, nevermind one of my commits was not that
™
what order do event handlers with the same priority run in
what's the difference:
@stiff yarrow what's a method parameter
plugin.getServer().getPluginManager().registerEvent(event, listener, EventPriority.NORMAL, one, plugin);
plugin.getServer().getPluginManager().registerEvent(event, listener, EventPriority.NORMAL, two, plugin);
plugin.getServer().getPluginManager().registerEvent(event, listener, EventPriority.NORMAL, three, plugin);
if I do this
which event executor will run first
when event is fired
Whatever the HanderList decided is first.
@deep shoal methods are functions that are members of a class
parameters is the name for arguments sometimes required by said function in their signature
why did you say the @EventHandler annotation was a parameter in disguise
me: why the fuck is my volume so low spends like 30 minutes looking at software all at max vol
@deep shoal which thing fires first depends on implementation, in this case its probably "random" for all intents and purposes as I doubt they are stored in a linked list
@deep shoal it basically is
in a way it helps simplify the API, so it has some purpose
but its doing exactly what additional parameters would do
what would the extra parameter even be
the things defined in the handler
i mean meh you could just read all the methods in the class reflectively, no annotations, and just check if the method params has a class that extends event
I have awoken
pre sure it does that ANYWAY,
go back to sleep
Apparently one of the plugins I use tries to update check on the main thread and has triggered watchdog twice because of it
@stiff yarrow move(PlayerMoveEvent event, EventHandler handler) {
handler.setPriority(EventPriority.HIGH);
}
what like this
that seems rarted to me
no tuna lol
Yeah I'm about to bitch to the plugin author
well
yes, but
the annotation does dat, das why annotation
it gives the priority and cancellation ignore sentinel
but this is what nossr was saying the annotation is
@deep shoal sort of, Bukkit also uses it to figure out which methods to execute for events
if (getConfig().getString("check-for-updates", "true").equalsIgnoreCase("true")) {
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
public void run() {
updateChecker.checkForUpdate();
}
}, 0L, updateCheckInterval * 20);
} else if (getConfig().getString("check-for-updates", "true").equalsIgnoreCase("on-startup")) {
updateChecker.checkForUpdate();
}```
???????????????????
they can check that by checking first argument is ? extends Event too
the annotation COULD be used to declare the event you're listening for; but then you don't have the object available for use
I'm disabling the update checker for this plugin entirely
yeah that's pretty stupid vic
@deep shoal yes it could work like that too
the annotation is there to simplify the API
yes
its mandatory for this
that's how bukkit is designed
nice plugin you found vicarious
is using annotations okay
yes sure
annotations can be useful, they help simplify things
it's part of java just as much as anything else
especially in conjunction with reflection
They mainly represent compile time constants though, although as aikar can attest this can be played with lmao
i think hes agreeing with you




