#general
3141 messages · Page 23 of 4
other
nice
want boob? 😃
maybe tomorrow
ok
Hm, are there known issues with using ServiceLoader with plugin-based services?
In particular, class loader issues.
shouldn't be
A shaded library I'm using doesn't seem to be able to load services from the plugin.
It's shaded into the plugin in question.
Might be a similar issue with why my MariaDB driver isn't recognized when using jdbc:mariadb:// URL too. Have to manually load the class first.
This kitchen tool is a GAME CHANGER! Eating hot dogs will NEVER be the same 😱😱
BUY HERE: https://amzn.to/2u4HRqg
Kind of sucks, but no big deal lol
Is it possible to decompile a plugin made for 1.8 and update it to 1.13?
yes
Yes.
You'll have a varying degree of difficulty though
Doesn’t mean it is necessarily practical
^^
I mean that’s what the devs do (but without the decompiling)
But I suggest decompiling the plugin you like, learning how the key parts work, then recreating (if it’s not too large)
When a plugin is compiled - does it compile with the spigot version jar?
In other news I got fallout 3 working with 7.1 audio
Depends on the developer
mfw
handle.execute("LOCK TABLE migrations AS m_read READ, migrations AS m_write WRITE");
java.sql.SQLException: (conn=74) Table 'm_read' was not locked with LOCK TABLES [statement:"SELECT * FROM m_read ...
thanks
Eap locks
I compile against paper because I'm lazy and it's convenient
Must be doing something wrong 😛
Compile against paper if it’s your own personal server
I mean my server runs paper and I only make plugins for my server
Even if the plugin doesn't use paper methods I still target it
City can agree I'm pretty damn lazy
Because targeting paper is easier? Or because you do have plugins that target
Always good to have all the nice APIs that Paper offers at your disposal, even if you don't use them.
nothing wrong with going for the widest net possible
Definitely, if your intention is to cast a net.
For a personal server, doubt that's the case.
true
Hey guys, what are some good VPS providers for mc servers?
idk about VPS but kimsufi is cheap af for dedis
my god
I spent 10 minutes trying to setup a plain spigot workspace with no luck
it's shit
@ancient bolt That SO answer you linked about listing a directory contents of a classpath doesn't work with jars, apparently. Need to use JarFile for that, sadly.
Would've been nice 😦
I should try my code more frequently, rather than after I've already written a few hundred lines of APIs and javadocs 😛
Gotta change a few APIs
@slim nymph I think it's really wholesome how you link to skedule for kotlin users and okkero links to TC for java users lol
it's really nice
and leverages the power of coroutines which is awesome
Moving a lot of my project creation code in mcdev to coroutines atm
using his code as a reference lol
I heard kimsufi cpus arent that great especially for servers with 40-50+ players
Just need the right CPU. Realistically the KS-7 is the only decent CPU for Minecraft hosting on Kimsufi
but Kimsufi doesn't offer SSD for that dedi, which sucks.
Also being able to host 40-50 players with an $18/mo dedi is not bad lol.
Not sure what you were expecting.
If you're hosting more than that, you should be on a beefier dedicated machine.
🍖
Throwback to 6th grade ^
My neighbor leaves their full garbage bag outside their door overnight (and some times all day) so they can take it to the dumpster later. My door is less than 2 meters away from theirs. Seriously rude/shitty thing to do, making the stairway smell like fucking garbage >_>
Yeah
"yeah" to two options
1st
ah
@amber marsh well yeah, its super budget level stuff
2am fire alarm, rip sleep
Ouch
It’s not that hard to make a quesadilla you fucks
.g quesadilla
(DiscordBot) https://www.simplyrecipes.com/recipes/quesadilla/ -- Quesadilla Recipe | SimplyRecipes.com: "I grew up making quesadillas, the benefit of having a Hispanic mother who is a great cook. “Queso” is cheese in Spanish. A quesadilla is a heated..."
there's something you don't see everyday
.8TB used for chinese espionage
Better the Chinese government, than the US government 😉
If I'm gonna be spied on either way, I mean.
Speaking of espionage, if I wanted to look through someone’s stuff, steal some shit, pulling the fire alarm and clearing the building would be smart af
Orrrrrr someone just can’t work a fucking microwave
But that’s far less interesting
ur pretty triggered bout dat rnt u
u know leaves sit out in the cold all the time
You know leaves burn in horrific forest fires that destroy their entire families right?
I kinda wish the building was actually on fire
I could huddle around it for warmth
:>
big yikers
I keep my hardware key with me
wtf since when has the channel topic been this way
since all new channels were made
Forever
2 ill come over there and hit the fire alarm :>
look at that commit message, damn
i deserve a vacation after that
think I'm gonna take the next 2 days off work
lol commit messages are frequently longer than the diff on the linux kernel
I like in-depth explanations 😄
If your commit messages aren't '*' then what are you doing?
just commit "goodnight" every time you finish for the day
Kappa
get out I need my numbers
😠 your numbers are lying anyways
well at least I got the screenshot
It's more likely eventual consistency
Might be the last 69 you will see
I insubscribed and now it's 69 in both places
Till you get it from likes
Rather than actually tracking a single person unsubbing in real time
un** ffs
Fucking about time
Who the fuck are these people that are actually subbing to fucking pewdiepide?
I mean, I personally enjoy his content. I don't understand how it got him the worlds biggest subscriber count for ages, though.
I much prefer his current content over his old content :p
Lmao T-Series is 20k ahead.
Now, how many people would kill me if I subscribed to T-Series
I don't think anyone really cares 🤷
I somehow doubt any large amount of people give a shit who you subscribe to on YouTube in any country.
this guy cares
I don't think anyone cares
I wish when PewDiePie lied about deleting his channel to act as leverage he actually did it
We need actually good content on YT to be encouraged, not that bullshjt
Agreeing with DemonWav is a dangerous road to go down
skrattar du förlorar du :)<3
No
Tbh the translation for that was pretty garbage, I just don’t want to encourage you
That’s not wacism
Ye
:/
Hi can you fucking not
No I can’t not
Oof..
We have a thing for that, really drives home the 
One more time and you're gone
Yes
Don't spam friend requests
Lol
There, fixed it on my end by disabling friend requests
well, people here or on any discord channel really add the staff as friends
to feel special
Anyone having issues with ridables having an actual seizure in the console with the current paper build?
haven't noticed anything weird with it on my end
well I just bought an external monitor for my camera
buying camera equipment is so insanely expensive
dat's a lot of new people. welcome everyone
Oh hey egg
So where are all you new people finding duscord/PaperMC from, did something prominent link us?
Well, at least he knew to separate the pages before throwing them, otherwise they wouldn't have scattered like that. Good ol' Sheldon
yeah they woulda stuck together
what should i expect from a web analytics exam lol
my interview apparently has an exam component
Is the InventoryMoveItemEvent event just for hoppers? Or is it for things like players depositing items into a chest as well?
hoppers only
but please do not call .get/setItem
you will drastically destroy performance if you do
Okay, thank you!
The general gist is that due to the way that event works, calling getItem will end up needing to start creating a lot of item clones; if you do not care about the item, do NOT touch getItem
getItem doesn't trigger the clone, but calling .getItem implies that cancellation state of the event can vary based on item.
If you don't call getItem, we can assume that a cancelled event will be cancelled for every attempted item in the inventory, so we can abort iteration early
but if you call it, now cancellation has to be checked for all 54 items
so you go from 1 event fire to 54 for a double chest filled
FYI we have a paper-dev IRC channel now for dev stuff. This is the social channel 😛
TACOCAT
That is indeed a palindrum
that actually got said on NPR the other day haha
about pairing 2 words that make a palindrum and taco cat was first one
NPR?
.g npr radio
(DiscordBot) https://www.npr.org/ -- NPR : National Public Radio : News & Analysis, World, US,...: "NPR delivers breaking national and world news. Also top stories from business, politics, health, science, technology, music, arts and culture...."
about the only sanity left in news in the US
pretty much only news source I know of thats unbiased.
Oh. I would have guessed (are you smarter) thaN (a) Phift gRader
But I guess that makes more sense
I thought NPR had a left bias
Eh, depending on what program you're listening to they can drift somewhat left or right but overall I'd say they average out
Saying "X has a left bias" is mostly just people used to Rush Limbaugh and Fox News surprised something else isn't one of those :P
@stiff yarrow NPR has a factual bias, which right leaning news sources dislike facts, so they call it a left bias.
oo we back to politics?
NPR definitely drifts over both sides of the spectrum
that being said "journalistic centralism" has shifted quite a bit in the last 20 years
its mostly used by right leaning networks to slam everybody else
i generally find their news to discuss how a subject is considered from both angles. Topics such as abortion
NPR would be like "State is banning abortion. The right is celebrating. The left is rallying against it."
A left leaning site would phrase that as "Male Republican law makers invade womens choices"
A right leaning site would phrase that as "The left is evil baby killers and want to allow killing babies"
NPR tends to not personally take sides in the reporting
NPR doesnt, shows on NPR do all the time
I will give them credit for having radio shows both my crazy right winger 80 year old ex-boss and my super liberal manager can both stomach though
except on factual science topics like Climate Change, the Earth being a sphere, Vaccines. Where as some on the right denounce those facts and call it left wing fake news.
I was under the impression NPR had a strong left bias, not that there is anything wrong with that
I cant speak to the organization behind it, maybe they make charitable donations to leftist causes
but the reporting goes over into both sides of that spectrum, usually remains pretty factual though
then again what is and isnt leftist is going to depend on who youre talking to
everything is pretty right over center compared to europe
That's true
while fox news considers everything leftist that isnt them
and yeah the news reporting vs the 'shows' are different. the comedy shows do typically jab at right viewpoints
they arent billed as comedy
wait wait dont tell me isnt comedy? lol
its billed exactly the same as shows on fox, msnbc, cnn, etc
'thoughts on events by x'
even fox's breaking news coverage isnt that bad
its the morning shows that go fucking batty
I dont know of any shows that are truly unbiased tbh
says comedy 😛
Everyone has some kind of bias typically
i know WWDTM will mock right wing views
"contestants are quizzed"
yeah thats not even remotely the type of show Im talking about
thats what i meant by shows
Hey @upper flicker - would it be alright if I DM you about a particularly important legal matter relating to the Minecraft developer community at large, and a specific developer that you've commented on in this Discord before?
does it really need to be private?
if its a legal matter that involves this org in any way, yes
this rooms usually all up for shaming bad behavior from devs in the community 😛
if its a legal matter thats about someone else and not this org, idc
I'm hoping it won't be private for long. I just didn't want to share information here about a bad actor without first checking with someone in charge.
accept friend -> send me a DM
hm i wonder what this is about
taking legal action against all leaves
u resort to violence cuz u know ur ass would get rekt in court
like the humans in that bee movie
courts dont recognize leaves
nor would they recognize bees
that shit would get overturned on appeal
they wont recognize ur ass either once we leaves win this war
some feel good judge doesnt get to decide bees have legal standing
2 ur just being retarded again
leaves are less real than bees
wtf see
so really youre just upset I said mean things about something better than you
Z750: Fox News daily reporting is far less obviously biased than their nightly "opinion shows" but it's still extremely biased
no
I dont watch their daily
I've just seen clips of 'le breaking news shooter in xyz'
and that was no more or less biased than CNN
ofc treating CNN like the bar is a crime in and of itself
Sure, legit breaking news they don't really get a chance to spin since it's so in the moment
:thonkers:
CNN is just weird, they used to be the boring news channel then they leaned heavily in to reporting on what people on twitter think of the news and now it's just all over the place dumb shit
And MSNBC mostly decided they wanted to be the left wing Fox News
heh
I think some of the anchors on MSBNC have always wanted that
but ever since trump took office they swung hard into it as an org
They booted Keith Obermann out for trying to make it that, iirc
But yeah, since Trump they've leaned in to it hard
Before Trump you could say they were biased but it wasn't that bad, at least for their daily news stuff
Now they spend all day talking about investigations in to Trump and then their nightly shows more or less do the same thing but with more depth
It was interesting right around the election in 2016 to see what was going on with all the nasty shit he's involved in but I got outrage fatigue and stopped watching
well they treat every scandal with the same severity
its one thing that he keeps giving them serious shit
and its another that they flip out with the same anger that he did something stupid
yesterday trump threatened the separation of powers and today HE DEFENDED HIS TWITTER USE????!?!?! MORE AT 8
like wtf are they expecting
That's more CNN than MSNBC but yeah, they've definitely got that going on
CNN is "everything he does is bad", MSNBC is "everything he does is newsworthy but sometimes we come to consensus it's kind of okay or only bad before of why he is doing it"
Anyhow, anyone getting Sekiro?
.g Sekiro
(mikroskeem) https://www.sekirothegame.com/ -- Sekiro™ Shadows Die Twice: "Carve your own clever path to vengeance in an all-new adventure from developer FromSoftware."
Carve your own clever path to vengeance in an all-new adventure from developer FromSoftware.
might pirate it later
if it becomes available
but doesn't look interesting enough for me
It's a variant of the soulsborne games
But with stealth mechanics (you can get one hit backstabs on unaware enemies) and more advanced movement mechanics (grappling hook and sliding)
More or less if you like Dark Souls, Demons Souls, or Bloodborne you'd like it
Just like those it's really hard compared to normal games but not bullshit hard like I Want To Be The Guy and such
your mom is a hoe
I appreciate the thought that went into what I can only assume is going to be an obvious troll
2 wtf is with that hostility
was the hostility the 'your mom is a hoe' or assuming that someone with that name and pic is a troll
pls clarify my hostility so I can better respond to you
2 ur just being hostile
I could look at you and you'd say its hostile
no I'd praise you for doing the impossible and moving ur head with only 2 braincells
ur literally cyberbullying
your being hostile and cyberbullying
am not being hostile at all
You are both cocksuckers
simmer down jan
Wow jan stop being abusive or I’ll have to report you to the discord safety team
does the discord safety team actually do anything
It seemed like they were mostly just there to say "we have a safety team"
#LearnToCode
Make sure to have no nsfw content outside of nsfw channels
wonder if that gets them as upset as it does at twitter
Also don’t ridicule or mock people
Or you’ll be exterminated
It’s in the ToS. I’m telling you man, they’re everywhere.
the ToS says they're everywhere dont do it or youll be exterminated?
thats pretty hardcore for them
if we got rid of anyone who did any of those things there'd be no one in here
hell there'd be no one on discord
a community of gamers for gamers?
pfffft that's a ToS that melds well with them
You also aren’t allowed to share hacks, chests or anything like that for games or other services
Which is pretty funny
I should report everyone that mentions plotsquared bugs, just to be safe.
Stop harassing me
are they still doing that thing where guilds have to enforce discord's rules for them?
if so I have no choice but to ban you for distributing and discussing a hack
You, as the owner of a verified guild, have to be more vigilant about keeping up with the community guidelines
Apparently they hold verified and partner guilds to a higher standard
I was notified about a lot of guilds just disappearing
I will send them an email asking about it
Mostly because they had abusive members, think codevision
and then send them 50 follow ups
In my guild I have specified the Discord rules as well, because they said I had to enforce them
so I can actually get a reply
But the guidelines and the tos are both pretty vague
I’ve actually started enforcing the rules over at intellectualsites lol
I just summed it up to this:
Do not harass or support harassment of others or other servers
Do not show any form of pornography
Do not share content that violates the DMCA
Do not post message promoting self-harm or suicide in any form of way
Do not post images of animal cruelty
Do not post messages that threathen other users
Do not post messages that leak other users private information
Do not encourage illegal activities
Do not post content that is sexually suggestive or violent
Do not post content that is meant to shame/degrade others
Do not distribute viruses or other malware```
Self harm is explicitly mentioned in their documents too
How did you managed to get partnered, despite paper being a mod of an existing game?
verified, not partnered
I guess it’s pretty easy to argue that it’s standalone software and all tho
I meant verified lol
I’m tired, question still remains
same way other guilds have, like spongepowered
Ah. We’re already added to the OSS list. It does mention on that page that you can get one of those fancy invites and the verified badge
Thought it followed the same rules as normal verification
Paper, in the end, is standalone server software, so it's not a mod. (At least, that's what you then tell Discod people.)
Which specifically states that modding communities won’t get verified
Yup, was mostly wondering if you did something special
no
well yeah
its like they have a filter that needs you to send them like 5 before it lets it through
You have to email them about everything tho
or they have zero filtering at all
99 times
and to keep their attention you have to keep sending shit to stay at the top of the inbox
They responded to me regarding another issue within 5 minutes, I responded within another 5 minutes, after that I haven’t heard squat lol
I think their entire team works out of the same office though
In which case I guess that makes sense as well. Time zones and shit.
We are all entitled to our opinions 😃 I much respect yours.
<3
I hope you find happiness.
First of all, it’s kind of odd to push a gradle file in kotlin to the groovy project. I get why people questioned it, lol.
But he shouldn’t be treated like crap, just for not being a part of the groovy cult
You attack me every day for less
In a loving way 😗
🤔
City is a homosexual ❤️
Ain’t we all
No.
Yay name change got approved https://cdn.incog.dev/u/aMVRnW.png
I have a class name ending in ParserFactorySupplier now.
GasBuddy M for sexual content? Wtf is there a secret where you can pickup a prostitute from gas station feature?
probably links to each station's site or shop or something
is there a way to limit max accounts per IP via paper or can I write something myself quickly? 😃
its a shared cant do firewall, but ill write it myself then, just thought if it was implemented already
a question btw, i see many ppl who define their int outside instead of within the for loop (i.e int i=0; i < ...), is there like any advantage of doing that, i mean the compiler itself most likely does it either way?
like this
int x;
for (x = 0; x ...)
or is it just a preference?
do that if you need the counter elsewhere outside the loop
Is it just Postgres that can return the whole inserted row in JDBC getGeneratedKeys() or can MySQL/MariaDB do that too?
Can't seem to get it working, so I assume not
No big deal I guess, MySQL will still return the auto generated ID and timestamps in getGeneratedKeys(), just not the whole row.
getting tired of opening discord to be presented with that beautiful "please download update" dialog that forces me into a web browser to download a .deb and manually install it. so, i wrote this https://pastebin.com/eSrYZMsh ane put it as /usr/bin/discord so I can easily run it ^_^
i'm no shell scripter, so any pointers for improvement are welcome. it works, though
write it in C
why C?
because C is the holy standard for all languages below it
but that requires effort, and i'm lazy
yeah but C

Z, look at that.
What am I looking at?
.g shenandoah GC
(DiscordBot) https://wiki.openjdk.java.net/display/shenandoah/Main -- Main - Shenandoah - OpenJDK Wiki: "Jan 21, 2019 ... Shenandoah GC Shenandoah is the low pause time garbage collector that reduces GC pause times by performing more garbage..."
keep up pussyboi

@upper flicker Minecraft Windows 10 Edition for less than a dollar. :>
Something must've changed since I last touched my plugins
Because things that weren't nullable before are suddenly nullable
I don't think I've ever seen this much red
I don't recall ever having a location that didn't have a world
it can happen
spigot made changes that just spammed the everlasting fuck out of nullability annotations everywhere
kotlin by design will complain about that
Yeah I just wish these changes were made before I wrote entire plugins assuming they wouldn't be a thing
Should've used Java 😉
:>
Wait this is another change they've made mid revision
hell yeah
It doesn't break my already compiled plugins but I can't compile until it's all fixed
Sure you can, if you build against an older artifact.
Yeah but I think I'll just fix it anyway
So in what case is Location#getWorld() null?
public Location(@Nullable final World world, final double x, final double y, final double z) {
When you pass it null.
Or when you explicitly setWorld() to null.
I'll assume that I'll never experience that then since the plugin in question only deals with player locations
Yeah I'll just assert that it's not null and hope it continues to work
If it should never be null, then yeah, can just throw a runtime exception of some sort, IllegalArgumentException or whatever.
They also made it so I can't use Player#displayName for assignment. I have to use the setter method.
I can still use Player#displayName to get though
Not sure if this is a kotlin update change or they did something to change this behaviour
pretty bad when you have to start specifying NMS remapping versions of the same version for your plugins lol https://i.imgur.com/Go2TQhp.png
Ah I see why they broke a bunch of setter synthesis
The setters are Nullable and getters are NotNull
Which prob fucks with things
EMC?
my server
Ah
I have a big fork of paper
my staging ground for paper patches 😛
my fork is what every other fork is modaled after now lol
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.712 s
yeehaw
https://github.com/starlis/empirecraft/blob/master/patches/Timings-v2.1-Region-Timings.patch i wish I had time to finish this 😦
my wife is extreme introvert, rarely wants to leave house, but she wanted to go out for steaks tonight.. so we order, tell them she has an allergy to parsely. pretty rare allergy, but we asked and they said they no longer sprinkle it over everything anymore, said make sure no parseley on anything. she ordered steak with parm cheese crust and mac/cheese. it comes out with parsely in both items.... so manager comes out says its in the crumbs part and theyll do it without that, and takes it back to get it remade. comes back out, no crumbs.... but still notice damn parsely specs in the cheese portion :/ my wife eats well done steaks, so yeah this was already full on super long in, and didnt even want it at that point and wanted to get back home.
rip
big yikes
sounds like a great night 😐
Restaurants really need to listen when people say to not include something due to allergies (or other reasons) - people can literally die.
The people with those kinds of allergies are already well aware and tend to exclude themselves from places already. It's really hard for a restaurant to avoid certain allergies 100%.
But that seemed like a simple request.
(I mean people with life-threatening allergies)
all we ask is for them to inform us 'hey, that item has parsley, and we can or can not make it special for you'
and not wait until its in front of us to find its wrong
i expect the cooks to know wtf they are making
Celiac isn't life-threatening
diet coke is a scam just drink a water
If you have a life-threatening allergy, you better not depend on someone to prepare your food for you regardless.
But fortunately most are not life-threatening.
You'd be surprised how many "vegan" places cook on surfaces exposed to animal fats or gluten etc
Lol
he's annoying
parsely is one you can work with at least. its a non essential item
its mainly an issue when its pre mixed into stuff, which is fine,we just need them to tell us that BEFORE we've waited 30+ mins for it to arrive
Fr though diet Coke can be worse then normal coke
sadly this is 2nd time in like past 2 months of having a dinner ruined by place not being able to get it out w/o parsely
Big oof
this is making me very grateful for not having allergies
last time it was in the butter, so were like fine, dont put any of the butter on. they put the butter on
Same prplz
steaks is something you feel like should be able to get by w/ parsely restriction lol...
@void void At the very least you're probably lactose intolerant to some degree, most adults are, just varying degrees. Could be considered an allergy 😃
but so far both times been the issue
yeah i lied, i'm intolerant to something i eat all the time but idk what
i should probably try figure that out
My body hates onions but fuck it i love em

I have two command classes that are insanely similar
One produces this and the other doesn't
How have I managed this
I'm sure the error would explain how 😛
There's no error
That usually prints a stack trace, when it happens.
[18:16:19 INFO]: Sulfurias issued server command: /smute GarveyPreston
Is the last thing in my console
Seems very bad if your errors aren't showing. Might wanna figure out why that happens.
sounds like your fault for not using ACF 😛
Honestly might use it
theres seriously no better framework out there over ACF lol
others might have other specific features, but the amount of shit ACF does for you 😛
Intake probably comes the closest, but yeah, seems to be a lack of decent libraries aside from ACF.
im not sure intake is close anymore. mapping input to parameters is just one of the core features
intake was the influence to the start of ACF years ago
and once i get my plans for full on custom annotation processors in, man things will take off
I'll switch to it when I get around to refactoring things
goal is to provide lifecycle hooks
then you can register a custom annotation that lets you hook into various stages
stuff like @Cooldown
I wish I could do
/nick <PlayerArgument> <GreedyStringArgument>
/nick <GreedyStringArgument>
with my current system
or one annotation that provides multiple other annotations
But if I do that, in all cases, it goes with the second command handler
that one is tricky to support
Aye
I feel like that case has to be handled manually
Using suggestions instead of determinism
deterministic = you can look at input and know what params it maps to. in this case, you dont know if the first input word is a player name or not in your example
Currently I do
/nick <PlayerArgument> <TextArgument>
/nick <TextArgument>
switches will help there
requiring nick input being surrounded by ""
Aye I'd like to switch to tag/switch based parsing but the lib I currently use doesn't allow for that
its planned for ACF
I'm more fond of CoreProtect's formatting though
user:username time:10d rather than -user username -time 10d
I had my own implementation of an ACF before ACF was a thing. lol
Though your implementation might be better, need to give it a look.
I def don't have command completion support
@nova badge then you arent close to ACF 😛 completion is so rich in ACf
Yeah there's no assurance that any field is there and in which order. Though order doesn't really matter a whole lot when parsed correctly.
I'm not familiar enough with brigadier to know how easy that system is to be deterministic
acf also will integrate to brig for you
Thats why I wanna give it a look, maybe convince the other devs to convert to it to save on modifications when we run into something we want
brig isnt thebest for actual usage
its actually kinda meh ImO
its about best you can do for non annotation style
but man its so messy
is ACF a minecraft only port or plans on making it generic?
You can do suggestions without brig can't you
Now that I think about it they're probably two separate things that work together when brig is used
its generic already
supports JDA, Bungee, Spigot, Sponge
you can do discord bot commands in ACF
whats your domain
Let's say I have a plugin called "myplugin"
should the top be
package com.outlook.tehbrian.myplugin;
or just package com.outlook.tehbrian;
because I feel like I've been doing packages wrong haha
I do the former
eah
@Subcommand("assign|ass|a")
@CommandCompletion("@empires @empiremembers @empireroles")
@Description("Assigns a player a new role. Does not remove previous roles")
public void onRoleAssign(Player player, @Flags("perm=ADMIN") Empire empire, EmpireMember member, EmpireRole role) {
i can do /e role assign EMC <tab1> <tab2>
tab1 only lists members in the Empire tagged EMC, tab2 lists only roles in the EMC empire, and i could make it like @empireroles:doesnthave to only list ones the member doesnt even have
The idea of packages is to prevent conflict with other libraries, etc
Is that right.. or should I be doing com.outlook.tehbrian.myplugin etc.
because I've been doing the latter
So, adding the plugin name afterwards ensures that you're not going to conflict with anybody elses classes
okay good idea thanks.
Did the orville air last night?
Are you making a bungee alternative
No.
Programable clients for testing
Will the full pipeline instead of being server sided, to test networking too.
i know its not java, but youd save 98% of the work if you used node.js
all this has been done already
Learning experience. ¯_(ツ)_/¯
but ya, I know its been done, but as of right now I know the most out of my team about how minecraft works internally and this project is helping me understand the protocol better.
Has anyone looked at the code of the plugin react?
the what
multi-module + abstraction
Is phpmyadmin going to be my best bet for modifying databases via browser? I was considering writing my own since I'm only working with 1 DB but idk if its Overkill
Probably, but why does it have to be in a browser
I guess it doesn't have to be, I have a system for something that provides a message based on a parameter in php
I had planned in the future on my site to have like a changelog and I could just fill out a form to add in new changelogs and modify existing
Sounds like it doesn't matter then what you use to edit the database. So I'd avoid introducing something like phpMyAdmin, which is disgusting, anywhere near your system.
DataGrip or even MySQL Workbench would be preferred
AAAAAA
PlayerBedEnterEvent doesn't get thrown when a player is in the nether or end and it explodes, but it does in 1.13 and my plugin relies on it doing that.
WHY
You were relying on a bug?
Yeah I was thinking I might be able to make my own little php system for it for that database, I guess I could do it, just didn't know if there was anything premade
That's the way it's intended to be.
But it does not throw it in 1.12
If it throwing it when a player is in nether or end is a bug, then 1.13 introduced a bug xD
What should I be using then, BlockExplodeEvent?
I think that gets fired for exploding beds, yes
outside of firewalling and whitelisting your desktop ip, remember if you can access your db with phpmyadmin over the web, so can a dedicated person willing to brute force it
Because no way am I going to if statement 16 different blocks.
@austere ivy MaterialTags.BEDS.contains(type)
paper only though
but you can copy the entire MaterialTags file into plugin
Yeah I don't plan to install phpmyadmin to the world
could just do enumset if u rly want to
spigot has tags too now
this.materials = Sets.newEnumSet(materials, Material.class);
thought not as neatly
oic
I might just try to make my own php system for fun, idk. Do you just do everything by command line?
didn't realize beds didn't have an actual tag
ah, upcoming 1.14
but nms tags arent as performant as an enum map anyways 😛
lol
our MaterialTags are fancy prebuilt enumsets for you
the code can actually be copied into a plugin
nothing server dependent
OK IS THIS HACKY
yep thats benefit of papers 😛 is let us maintain it
lol
but for plugins that want to clean up code and support spigot
well if you want to make it third party we can shade :P
but we need it for forge/sponge too anwyay
so rip
yeah well copying it out of our repo isnt much diff than using a artifact per mc ver and itll still be bukkit locked yeah
@EventHandler
public void onBedEnter(PlayerBedEnterEvent event) {
if (event.getPlayer().getWorld().getEnvironment() == World.Environment.NETHER || event.getPlayer().getWorld().getEnvironment() == World.Environment.THE_END) {
event.setCancelled(true);
}
}
@EventHandler
public void onBlockExplode(BlockExplodeEvent event) {
if (event.getBlock().getType() == Material.BED_BLOCK) {
event.setCancelled(true);
}
}
Right so if a bed explodes I don't want it to.
you need to check the type against the tags brian
So bedEnter on the top works only 1.13 because apparently PlayerBedEnterEvent only gets thrown if it explodes if it's 1.13
MaterialSet.BEDS.contains(event.getBlock().getType())
if it doesn't work you might have to cancel interact btw
And the bottom should do 1.12?
WG has cancelled interact for years because the server wouldn't throw any events at all
Aikar, needs to work on Spigot.
yeah we just cancel interact
dunno if that's changed
why, isnt this your personal plugin
nope
so use an enumset
well fine make an enum set filled with all the beds
or, stop supporting shitty plugins
tough shit
i mean you can still make it work
shitty environments*
Just 1.13 and 1.12
1.13 and 1.12 have a different material interface
So the one on the top which is this:
@EventHandler
public void onBedEnter(PlayerBedEnterEvent event) {
if (event.getPlayer().getWorld().getEnvironment() == World.Environment.NETHER || event.getPlayer().getWorld().getEnvironment() == World.Environment.THE_END) {
event.setCancelled(true);
}
}
or fine .getType().contains("BED") lol
covers 1.13, and doesn't break 1.12
bedrock >_>
endswith _BED
¯_(ツ)_/¯
endsWith() maybe
bedrock aint exploding anyway?
and so that's done for 1.13
public static final MaterialSetTag BEDS = new MaterialSetTag(keyFor("beds")) .endsWith("_BED")
so I just need to do 1.12
is what we use for paper
or use a module system if you want to support both versions
you're going to have to end up using a module system if you want something that isn't a heaping pile of fucking cancer when you're done
Yeah modularizing it is probably the proper approach and sets you up in the future to properly support multiple versions
OK so 1.13 is covered.
or stop supporting multi versions/spigot. RALLY TO RESTORE SANITY AND OR NOT FEAR
If I try to check an enum against another enum but the enum doesn't exist in the other version will it break?
use a module system
because if not
@EventHandler
public void onBlockExplode(BlockExplodeEvent event) {
if (event.getBlock().getType() == Material.BED_BLOCK) {
event.setCancelled(true);
}
}
stop this bullshit fucking hackery
that could work.
WELCOME TO 1.13!
for 1.12 and below.
You keep asking questions that have already been answered: MULTI MODULE SYSTEM
it's not hackery.
trying to support both sucks
OK HOW DO I DO IT BYTEFLUX
it is garbage hackery
any code that does garbage hackery like that deserves to be burned
I'm not going to teach you how to set up a multi-module project, but not like this is rocket science.
Leaves should be burned
@EventHandler
public void onBedEnter(PlayerBedEnterEvent event) {
if (event.getPlayer().getWorld().getEnvironment() == World.Environment.NETHER || event.getPlayer().getWorld().getEnvironment() == World.Environment.THE_END) {
event.setCancelled(true);
}
}
@EventHandler
public void onBlockExplode(BlockExplodeEvent event) {
if (event.getBlock().getType() == Material.BED_BLOCK) {
event.setCancelled(true);
}
}
Boom.
Not hackery.
First does 1.13 and definitely doesn't break 1.12
And second does 1.12 because enums are fine for checking if they're not.. a thing in the version.
.. I'm gonna try it ._.
what api variant are you on...?
It's a one class plugin. I don't need like modules or anything..
just always use bottom one and use strings on the type
1.12?
and if your going through this masochism, you better be getting paid
can you add 1.7.10 support !!!!!!!!!!!
That crosses the line...
Welcome
Who wants to count to ten?
1.0, 1.02, 1.03, 1.04, 2.03, 2.10, 2.11, 3.0, 3.1, NT 3.1, 3.11, 3.2, NT 3.5, NT 3.51, 95, NT 4.0, 98, 2000, ME, XP, Vista, 7, 8, 8.1, 10
Poor guy I'm not going to get paid for a one class plugin xD
2000
NO. SHOOT.
@EventHandler
public void onBlockExplode(BlockExplodeEvent event) {
if (event.getBlock().getType().toString().endsWith("_BED")) {
event.setCancelled(true);
}
}
``` it is!
good grief
How would you recommend doing it then, Spotted?
I've already stated, using a module system
or just giving no flying fucks about 1.12
modules then :>
my poor little computer trying to do testing for the 1.13 side of the plugin almost died when it generated the nether
1.12 was fine though ¯_(ツ)_/¯
yeah it's called 1.13 is trash for server perf
Spotted, I don't think you understand how tiny this plugin is.
public final class Main extends JavaPlugin implements Listener {
@Override
public void onEnable() {
getServer().getPluginManager().registerEvents(this, this);
}
@EventHandler
public void onBedEnter(PlayerBedEnterEvent event) {
if (event.getPlayer().getWorld().getEnvironment() == World.Environment.NETHER || event.getPlayer().getWorld().getEnvironment() == World.Environment.THE_END) {
event.setCancelled(true);
}
}
@EventHandler
public void onBlockExplode(BlockExplodeEvent event) {
if (event.getBlock().getType().toString().endsWith("_BED")) {
event.setCancelled(true);
}
}
}
That is literally it.
If I make "modules" I am liter-- oh
hey that's not too bad of an idea.
I'd basically just be making two fancy eventhandler wrappers though ._.
problem is with that cancer is that's not scalable at all
and is basically the module system.
so if you think that's good then get fucked because it's basically modules
baited ✅ not baited ❎
hmm
or maybe
just 🖐 to 1.12
that's a wave
wave goodbye
👋
OK this better work.
Oh yeah guys, did you see? The new snapshot, you can sneak and go under slabs.
Your player hitbox goes to 1.5 blocks which means some cool stuff can happen in the future with that :D
it doesn't work
goodbye 1.12
👋
ok
You need to prove to me you are a swifty
@upper flicker I know I'm about to ruin it
But...
no freezes so far in cinnamon
seems like doing a clean insteall has helped
gosh why do people want a protfolio of spigot plugins
like how do i get a picture of a plugin i make that doesnt visualize anything lol
@cosmic raft but you forgot the dopest version 98 SE
O hey that claiming thing i showed you is done and in prod

Honestly though like what do i show people if everything I have done so far is closed source lol
whats the context
I think I drink too much wine, like 10 bottles a month (~2 glasses a night). But it's cheap California wine, like $10/bottle lol.
@orchid pelican applying for what position? minecraft dev? real job?
lol wat
and im a decent developer
minecraft dev doesn't pay
it does actually
if it did we'd be fucking balling
working for a server does pay
yeah, if that server is hypixel
not necessarily
inb4 he's going to be hired for hypixel
minigame servers are decently profitable lol
Ignore DemonWav, he has no clue about the MC job market.
I work for a server and get paid decently and it isn't Hypixel.
I know of plenty of other servers that pay well, and devs who get paid well.
hypepickle
he has no clue about the MC job market.
Im still in highschool and have a LOT of freetime and just need something to do and would also liked to get paid
it's more like I think it's all silly and dumb
Good for you.
The rest of us who have MC jobs making decent money don't give a shit.
haha
ewww dirty money
You have it set to M for mini
@acoustic pilot so like what did you show them when they asked for your previous projects and such
You need to set it to W for wumbo
I sold my server and was brought on board as a developer.
probably different for byteflux since he operates a server
yeah
well i suppose operated
By someone who is more successful than me at running servers
And actually offers fair pay
That's probably the big issue, not many servers are going to offer fair pay.
Really need to be looking at 1000-2000 player networks for that.
someone mentioned github, that's probably a good bet
if you have a good portfolio of actual code you've written for minecraft projects, that's what they want to see
or non-minecraft related
Doesn't hurt to build a public portfolio, yeah
just java is fine too
Open source is a great way to do that.
I'm a successful senior software engineering consultant now largely due to my open source work
I havnt OSS my projects yet as they are kinda for my server atm
i do run a small server
key is small
damn byte hook a brother up
there are tons of small servers (50+ players) that pay part time devs
quit being a bitch and OSS your stuff chase 
imagine making a custom claiming plugin for a 20 player top server lol
story of my life
doesn't matter the size
The size of the server isn't so much important if you're showcasing something open source.
if it's good code, that works
I dont know if it is good code
I am definetly a better developer than when i started it
upload it and we can glance at it
The only time server size is going to matter is if you work for a big server and you get a good reference from the owner of that server.
if you want
I was trying to split it up into multiple modules and such but it just wasnt worth it at the time
whats your githubusername?
DemonWav..
what is the obsession with everyone creating "server cores"
kash, I'm making a "server core" right now lol
it sounds cool
for my hobby server
ive made a server core
it's just a cross-server plugin framework
paper is my server core
the core of ur server
usually just a core plugin on which your other plugins depend on
like main serverf funtonality
like a framework and core functionality
gosh now i feel like if i add DemonWav your ganan rip into my core
i see
that core functionality might contain things like ban management
idk anything about writing code
HAHA
idk what you're talking about
demonwav will rip you a new one
