#general
3141 messages · Page 211 of 4
actually toxic
das me
this is safely handles paths, is completely null & error safe, and type safe, and
has no GC overhead while being memory safe https://gist.github.com/DemonWav/d93d806647d85b7ded5106905c9d0f7e
ok we get it you have a logo
neat ™
rust is kūl
blame github for being dumb
blames github for being dumb
Well some of the shit was under the same seller
are those lambdas?
yes
kewl didnt know rust had those
it's not my fault github decides to show an enormous logo image in their media query thingy
hwat is going on here
ur name is pure cancer
no u
I need propane accessories
oof
I can provide you propane, propane tanks, propane nozzles, and other propane accessories
For a solid price of fuck you
thanks obama
Perish
Perish? More like, no
U wanna go
where
To propane town, of course
1 propane please
IF there's blackjack and hookers
no tank necessary
I think you dropped it
Well that's too damn bad
hard to say
He dropped it on purpose, I saw
i will have my vengeance
call me on my new villa
what's up fellow kids, anyone happen to know off the top of their head which event to check if I want to prevent vandals from renaming entities with nametags? Is it just the interact event?
yes
thanks fellow youth
you're welcome
let me just skate on out of here then
no, stay
wheelies away
we need more fellow kids here in cedar rapids
they are declining
i mean we are declining
you can't contain me zoomer!

naruto runs away
chases on brand new hoverboard
mudamudamudamudamudamudamudamudamudamudamudamuda
okay here's the same thing but with slightly less code duplication https://gist.github.com/DemonWav/3c65506f7c596fa52a8c08d61ca3aee4
wat
i didnt say anything
🤔
@ancient bolt https://youtu.be/GWtfOHBF1_w
'Lover', the album, here: https://TaylorSwift.lnk.to/Lover Music video by Taylor Swift performing You Need To Calm Down (Lyric Video). © 2019 Republic Record...
(DiscordBot) Taylor Swift - You Need To Calm Down (Lyric Video) - length 2m 58s - 609,151 likes, 29,000 dislikes (95.5%) - 9,487,891 views - TaylorSwiftVEVO on 2019.06.14
lmao
no i was saying it made me came
u asked for it
rust 
paperd 
I love the phenomenon of people telling Tony Hawk he looks like Tony Hawk
(DiscordBot) @jeremeybeckner (Jeremey Beckner): @tonyhawk https://t.co/fqQ7NFxZjV (2 hours and 51 minutes ago)
what's up fellow dabbers
remind me, did I get actual confirmation that mojang reverted the upper case worlds not loading decision or was that a fever dream brought about from listening to synthwave and living that vape nation life?
I would never do such a thing, underage drinking does the your brain what a frying pan does to an egg
it strengthens the proteins and tightens the bonds between the molecules?
sick!
lets do it
I'll never let you tighten the bonds with my molecules, nerd
go back to the nerd table
you don't belong in the cool kidz table
but im part of the vape nation
I bet you don't even have a tech deck
(DiscordBot) Eric Andre Let me in - length 3s - 34,046 likes, 138 dislikes (99.6%) - 1,610,180 views - Stevie A on 2018.11.03
you'll never join the kool kidz klub
who would ever want to fuck you simple
well
.mcflags
me
Optimized & Recommended JVM Startup Flags: https://mcflags.emc.gs

yeah but you're a deviant
a sexual deviant mmmmhmmmmmmm 
i prefer rule34
ur literally a weeaboo
and ur literally haram
well the good news is that you don't need 72 virgins because you already have 24/7 access to 1
btw I really like that you linked to that website simple
damn right i did
wtf is halal
not u
that's for sure
join my haram harem @merry talon
idk if this joke has already been made but i made a new tagline:
"Minecraft servers are like communism, they only work on Paper"
all of china: 
china is super capitalist tho
Yeah when they want to be
which is most of the time
china is 100% communist
doesn't disprove my comment 
read my name
you're retarded
thx time to change my name
Your rocket boots have lost power
Proceeds to fly head first into lava pit
Yeah they don't get much power on the lowest tier
But the highest tier has like 50 extra jumps
I'll probably put in a crafting system too for Rocket Boots so people can re charge them
Using items they get from Skull Bounties
(Skull Bounties is where a player gets atleast 10 kills in a row and whoever kills that player obtains their skull)
(They can turn it in for loot, or turn them into souls which are used for upgrading gear)
This anarchy gamemode is gonna be so fun
I need to put in like atleast 20 more items though
I've only put in a few sets of custom armor, a couple different arrow types, and rocket boots (They don't give any armor buff)
Now i get to put in more weapons
And possibly custom enchants
Also the handler for armor effects
sorry IRC
IRC?
why is a dancing crab a meme
ban DiscordBot for spamming
cater to compact mode
question
was it in here that someone posted the entire shrek movie
Yes
SHREK 
because I opened a link earlier and nothing happened so I thought nothing of it
But I just found it on my phone
it must have downloaded in the background

guess it's movie night
it was like 240p
Nice, that makes it more interesting
Smoke some weed, play it on 1.5x speed, get some popcorn

"wen u gonna mek a date?"
"or dinner?"
tomorrow
.flags
Optimized & Recommended JVM Startup Flags: https://mcflags.emc.gs
anyone familiar with the shield blocking delay setting in the paper.yml?
.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.
is it delay before the shields raised or delay between blocks (or both?)
2
from looking at code it appears to be the former
cheers
Does mentioning paper still get you banned from the spigot forums?
They're scared of us
we're too powerful for them
Im curious is there a way to prevent lore changing on an item?
hm
good question
I know that doing that to a held item makes the client think the item switched
so it probably fires something
Well I know technically there is only way to change lore and that is through plugins
repair only can rename the item not lore lore is purple text
your mom is purple text
but I think the repair process can break lore color codes iirc
why the fuck am I listening to the spy kids 3d OST
and why is it so good
looking for 1 more tester for final GriefDefender test before I submit to spigot 😃
What is that?
protection plugin
interesting
supports GP migration
I haven't seen an instance of renaming breaking lore
how's the WG migrator 🙃
If someone makes one I want it
Saves me time
Still working on this stupid expansion
It’s not stupid
u r
just slap a beta sticker on it @muted niche and release it ^_^
^_^
@unreal quarry has to be approved first 😃 once submitted that is
approved?
its definitely stable (i just always prefer as many tests as possible)
what is this a premium?

grumbles and walks off
its open source 😃
tf you got against open source premium lol
not really freemium
since freemium implies features are selectively gated behind paywalls
ill be pushing the source once approved
will be here
just working on wiki atm
lookin' forward to it
is it a freemium as in theres an alternate download? or is it just an idiot tax that requires manual compilation? ^_^
idiot tax 
uh if you dont know how to run ./gradle build thats on you
k, idiot tax
freemium is free but charging for certain things isn't it?
oh, dont have to tell me. i'm talking about 99% of spigot users
Freemium, a portmanteau of the words "free" and "premium", is a pricing strategy by which a product or service (typically a digital offering or an application such as software, media, games or web services) is provided free of charge, but money (premium) is charged for additional features, services, or virtual (online) or physical (offline) goods
GD is a successor basically to GP right
Freemium means it's free but you charge for features
yes it has a built-in GP migrator
already had a server test it 😃 all data migrated 100%
So this really doesn't share much at all with the freemium model
imagine paying for software because you think it's worth the money...
Very nice, I'm gonna suggest it to all the people who want a SMP protection plugin
I pay for software all the time 
its literally a complete rewrite of GP
ur a rich boi nossr
I pay for software if I like the software.
See: mcMMO 
with an advanced flag/context system
hey @stiff yarrow how many people have paid for mcmmo without even realizing its free? 😛
It'll be good to have a SMP protection plugin that's actually in active development and not just maintenance
right GP is just maintenance
you can easily tell based on commits since main dev left
just slap something like protectionstones on top of WG, boom done :^)
i made my own land protection plugin :3
@unreal quarry probably most of them billy
GD supports WG 😃
lol nossr
I've also had people buy it who knew it was free, so you have that too
WG on its own is a bit too plain for that
thats different. i like those guys
Would need something to supplement it
hence slapping protectionstones on top
real supporters
will 1500 exceptions manage to surpass Object?
find out in the next episode of #paper-dev
I am on an ongoing quest to see how long I wait before I actually cash in my patreon bux
@acoustic pilot want to test it?
I currently have 1.1k in patreon bux, having never cashed out any money from the account
I wonder if I can get to 10k
I thought you meant monthly
@pulsar wigeon i tried making one back in WG5 days, but there was a nasty bug in WG that ignored regions once too many custom flags were registered
whats your patreon for
plugin dev
never heard of it billy, so it probably didn't exist :^)
😦
unreported bugs aren't real
hey blood does GD have a custom flag api?
any working WECUI yet? or are we all stuck waiting for liteloader?
it was reported by someone else. it was shruged off with "wait for wg6 to have proper custom flag support"
there's a semi-working fabric one i've heard
yes you just implement the Flag interface and register it
everything in API is extendable
but not 100% working yet . I made sure to test flags though
ew, implementing interfaces
I wonder if I can get my patreon to 1.1k monthly doing mc plugins
hm, probably
witness me bloodbags
interface allows me to make sure the required methods I need are there
oh hi mark
@muted niche see https://github.com/mikroskeem/WorldEditCUI
did you hear us talking about you
getting to 1.1k patreon for mc plugins would be pretty impressive
nice! that works?
yeah it would
see release notes
but I think it's totally feasible
oh i need mumfrey's changes for GD 😦
I think I could get there in 1.5-2yr time
(not that I will, I have a master's degree to finish)
it's literally a fork from mumfrey's master branch
oh noss I mostly finished the treasure fish addon 
you could do it nossr
r u fukin blind
I am at $161/mo and I feel like I barely tried to even promote the page
yea i just checked, definitely was blind
I am now
and I have a much smaller audience
rude of me btw, hi to you back wiz
bonus points if they play ghast noises on spawn
LOL
can you please not
tbh I'm not sure how to calculate the velocity and angle the fish has to be at in order to land where the player is given the rod's position
.g magmaguy patreon
elitemobs
@vestal jasper have it land in front of them
(DiscordBot) https://www.patreon.com/magmaguy -- MagmaGuy is creating Minecraft plugins | Patreon: "Become a patron of MagmaGuy today: Read 21 posts by MagmaGuy and get access to exclusive content and experiences on the world's largest membership ..."
not at their feet
elite mobs
Oh right floris wanted the treasure mob to be able to attack players
ez feature addition
totally didn't have stutter tho
it had microstutter
you had to stare at the pixels for a while to conclude it did
I think you were just experiencing a local earthquake
so you just said I was wrong immediately by following it with confirming that I was right

I like how I keep beating your replies by a couple of seconds
to get 161 off only 11 patrons is pretty impressive
big bucks
most my subs are 1 dollar guys
I don't even have great rewards yet
I get a feeling that the $5 and $50 tiers are about to become very popular over this summer
yeah, I let people vote for the next features I'll develop
from a list
higher up you can suggest things for the list
higher than that you can just ask me to add something and I'll do it if it is reasonable
@stiff yarrow done
mfw I wrote a launcher for paper and then got bored and started writing another launcher
need a launcher for the launchers
kappa
@void void I had Mexican tonight
I had subway
He got what he deserved. 😠
actually I don't eat at mcd's
stopped that about 4 years ago, alongside all fast food
give or take
what do you eat then
🎉
Cards against humanity
https://pyx-1.pretendyoure.xyz/zy/game.jsp#game=61
Password: gfT@9yx^bQKN
@merry talon @spare venture @cosmic raft ? <3
My fiance wants to learn how to play
i would but I'm playing something else
Ok and anyone else who wants to play can join too
Tth
hi @void void
hi bby
trying to get my fiance in real quick
@unreal quarry soon?
it's already working
:c
?
its working now, i had to include fabric API jar for some reason
the fabric installer doesnt install it for whatever reason
ah ok
i figured it would be like forge and install everything needed
but apparently not
i had to install that
i dont use MMC
When running the ./paper jar command from a fork of Paper, I seem to encounter this issue: https://pastebin.com/raw/YA0LxD8t
maven is not installed
while you're at it, make sure that you also have jdk installed
instead of plain jre
AdoptOpenJDK 
1.8 JDK is setup, not entirely sure how to setup maven tho
its pretty easy
should have an installer
oh wait no you just unzip it
and add it to path
yeah
So just get it from here yea? https://maven.apache.org/
yeah
minecraft@debian:~$ date && sleep 60 && date
Sun Jun 16 06:24:29 CEST 2019
Sun Jun 16 06:25:40 CEST 2019
wtf is wrong with my machine.
nothing?
but... why does it sleep for 71 seconds then?
it's tired?
.

idk what the best way to handle JVM args would be
like obviously that could be an argument, sure
arguments
but having aikar flags built in would be a good idea
Yeah you have to PATH maven
When I ran the ./paper jar command, the paperclip-assembly FAILED
Are...you...doing it that way for a reason?...
Paperclip does patching for you and starts the server like a normal Minecraft jar: https://papermc.io/downloads
I have forked it and I'm building it myself... i already know how to download a file from the internet
Go to #paper-dev then if you need development help.
I didn't even know that existed honestly
Now you do
bare peeps on that one
you should switch ur god awful username
(3..20).random() @static badge
vic
thanks
thinking really hard about how you're going to insult me eh?
and burn it

also ur retarded
that'd be an improvement
yeah you wouldn't be as remarkably retarded by comparison
vic
if I had two remaining braincells
and one of them was dying let's say
and you offered to lend me one of yours
not only would I reject that offer but I'd be surprised you'd offer your last remaining braincell
u fuking retard
ok retard
@static badge https://i.imgur.com/TOjpaol.png
mind telling ivan he's retarded for me

.......................
and he's still swiftly switching to new topics whenever being confronted about anything 
I'm curious too
He's on the velocity discord if you miss him that much
.g velocity discord
(DiscordBot) https://discord.me/velocitydrift -- Velocity Drift Servers Discord Server | Discord Me: "Discover awesome Discord servers and communities! Join servers that ... new friends. Even list your own Discord server. ... Join Server. Velocity..."
another discord to join and lurk in I guess
added Aikar's flags as defaults yay https://i.imgur.com/HOWelfL.gifv
time to sleep
My dev env never looks this clean. I love when people clean them up for screenshots. 
I wish i3 was available for macOS 😦
Right now I just basically have a few dozen windows open all over \o/
I mean, long ago, you could run X11 on macOS instead of the WindowServer
I doubt you can do that these days
Once I'm done with this y'all should fork paperd for velocityd
Presumably you could with much effort
And of course there was an Apple OS that ran X11 natively
i3 <3
I wonder if I should use POSIX message queues for sending messages to and receiving from the background server or if I should just bastardize stdin / stdout for that
POSIX message queues would be more robust I guess
sup
Is it bad to call Player#addAttachment(JavaPlugin) every time a command is called?
I have this command
@Override
public void run(CommandSender sender, Map<String, Object> args) {
Player player = (Player) args.get("player");
if (player.hasPermission("example.moderator")) {
sender.sendMessage(
ChatColor.RED + "Player '" + player.getName() + "' is already a moderator."
);
} else {
PermissionAttachment permissionAttachment = player.addAttachment(Croissant.getPlugin());
permissionAttachment.setPermission("example.moderator", true);
sender.sendMessage(
ChatColor.GREEN + "Player '" + player.getName() + "' is now a moderator."
);
}
}```
Every time you type /moderators add <player>
This method is called
The permission attachment is only used to set a permission to the player
Sure whatever
Ok
Tiny Tuba
I read a story, but I didn't like the ending, so I'm rewriting part of the ending myself
Does anyone here have plugin making/coding knowledge? If so, do you think you would be able to create a simple plugin to allow a player to, if given permission by the admin, switch between 2 nicknames at the press of a button/command?
most people here will work for financial motivation
I'll give ya 2 bucks
Guess you're gonna have to learn Java
I don't think you'll find too many people willing to make a stranger something for free unless they are in a good mood

can someone make hello world java for me plz
enum a{HELLOWORLD;}
what is paperd o_O
paper server daemon, as its name suggests
daemon by demon
Damn, big blackout in South America
Entirety of Argentina and Uruguay has no power 😛
now make paper-compose
250 bucks

Could someone link me a good guide on how to publish a library to Bintray using Gradle?
which of them is the best for running a spigot paper server?
ubuntu LTS
probably without nextcloud lol
Thanks
https://pastebin.com/raw/zE98ebtp any ideas?
more log
there is nothing more
more log 
looks like the watchdog is not able to shut it down, there is some "[18:49:15 INFO]: Stopping server" at the end now, but nothing more happens
ok, i killed + restarted the server..
what java cache library would y'all recommend?
must be light and support expiry after access
caffeine is heavy, and cache2k doesn't support expiry after access (only write)
hashmap
expiringmap? :3
ah yes, that exists as well
thanks simple
i dont know if it does expiry after access but i think so?
yep it does
should be even better solution as cached items get evicted
automatically
yep, expirationPolicy(ExpirationPolicy.ACCESSED)
ok IRL im comin 2 ur house rn
could someone send me the paperspigotserver.jar java arguments for starting the server
@void void [Auto] We're now known as Paper.
Optimized & Recommended JVM Startup Flags: https://mcflags.emc.gs
thx
Read the entire article do not just copy and paste.
i have a 64gb ram server how much should i give paper?
Read the article.
ok
no u read the article and u tell me bish
fights Byte
wins
In what way is paperspigot better than the normal spigot?
@rare palm [Auto] We're now known as Paper.
mechanics changes, performance changes, PRs spigot denies for stupid reasons
the list goes on
I wanna know the list lol
I don't know that there is a concrete "list" per se but see the paper.yml. These are all things paper allows you to tinker with and that Spigot does not
feel free to just look at the source
that too
it's basically a list of patches
Do you have a link or something that'll explain it in general
:L
See https://github.com/PaperMC/Paper/tree/master/Spigot-API-Patches for API changes
See https://github.com/PaperMC/Paper/tree/master/Spigot-Server-Patches for Server changes
See the com.destroystokyo packages https://papermc.io/javadocs/paper/1.14/overview-summary.html
Pretty sure there isn't a documentation of "here is every damn thing we changed ever"
Besides the patches
Paper's documentation isn't too hot.
paper's doc 
it speaks for itself
@static badge Ur retarded.
Anyone know of a better way to reward players with tempfly?
At the moment I just have LuckPerms giving them essentials.fly permission for 30 mins but if they stay on longer than that they have it until they leave, which could be hours
maybe not the best solution but it works
¯_(ツ)_/¯
@jade mountain who this on your pfp
got bored of the cat lol
http://aeyesi.eu:8123/# just4fun
Minecraft Dynamic Map
that is one cool dood
Does anyone else have similar issues with IntelliJ IDEA?
that's for you to work out!
no
your environment is likely screwed up
🤔
I've never seen intellij be wrong about that
Well I don't have the JetBrains JDK
I only have OpenJDK
Could it be because of that?
doesn't matter
How can my environment be screwed up?
green box with random stickers and crumbling paint
¯_(ツ)_/¯
looks england enough to me
What kind of screwed up could it be?
of course @cedar spade
I've never seen a wooden bench in public, but then that's probably just my luck
ha
luck
(pun not intended pls don't complain)
But seriously, never seen a wooden bench in public?
come to think of it, that's insane, how have I never seen a wooden bench in public
Where are you?
In England
Oh, that place sucks.
All the wooden benches I've seen are on private land, all the public benches I've seen are at least partly metal
So, never been to a canal then?
Or a park? :p
Like, metal frame and wood so polished it doesn't look like wood
You underestimate shitty where I live is
If anything, metal sounds more posh.
eh
There's got to be some in a town centre somewhere nearby but I can't actually remember where they would be
metal = harder to vandalise I guess?
Probably
Luck, your documentation is great. You should consider writing Paper's. 😛
Also easier to clean, though I supposed varnished wood isn't that hard either
shots fired at the Paper docs
hah
writing documentation for my own projects is tedious enough
let alone anyone elses
I keep wanting to re-do Paper's but it sounds so boring.
It really is needed though.
I need to redo EssentialsX's docs
and several other dated/incomplete parts of EssentialsX
I assume you mean docs for the config James?
I can't think of anything else worth documenting for Paper?
I think the config docs on RTD just need updating to the latest config?
Contributing is already there in the GitHub repo
Oh, and features.
Like the ones you can't see.
I want to rewrite all of it, make a React frontend for it then give it to Z to host.
Because I love React.
@meager perch any difference in Java versions between the two servers?
also file access
Basically, I did make a new frontend for Paper's docs but there was some issues with building or something.
So it was never added.
Instead of dumping unnecessary burden on the browser, just prerender it and host it statically somewhere
This is what I had.
@cedar spade Who cares about browser CPU usage? It's nothing.
any difference in Paper versions?
It's less CPU usage imo, more important is the (admittedly marginally) higher memory usage and the fact you have to wait longer for it to load or reload
You did a great job on the docs BTW, looks pretty clean.
what, EssentialsX?
Yeah.
That's just the default Docute v3 theme with red highlights and a broken homepage
@strange bane it's a goal to integrate paper docs with the main site at some point
But there are certain requirements in the implementation before doing so
..?
idk the specifics but presumably the issues were explained in your PR
He wanted an automated way to build Sphinx and have it be moved to the correct directory or something like that.
Sounds reasonable
basically it was the equivalent of expecting people to compile files and drag the classes into a jar file to use
and it was decided not to block everything on an integrated docs solution
even now I'd much rather that work go into writing the docs then just moving them
but no one wants to do that
I don't even have Python installed.
We need to get a docs team like sponge
Idk how they managed to do it
@mental pumice how'd y'all do that?
"hey who wants to write docs for us"
@upper flicker, you want it so gulp builds Sphinx?
No one ever replies when we ask :(
it would have to
if theyre going to be integrated there will be have to be build step
You can make it so git cloning papermc.io also clones PaperDocs into a folder right?
I'm so glad coder server exists. I don't even need to install Python. 😛
Python makes such a mess on Windows
Okay, so how do I create a link to PaperDocs with git?
Using Windows is also pretty damn millennial
I'm not even a millennial.
Can you just clone as part of the build process?
Hm, I guess?
Submodules can be a real pain
Maybe this should be a bash file then that runs gulp?
Have the browser clone paper docs lmao
But CORS
"Unfortunately, due to the same-origin policy by default isomorphic-git can only clone from the same origin as the webpage it is running on. This is terribly inconvenient, as it means for all practical purposes cloning and pushing repos must be done through a proxy." ah
@upper flicker is a bash script that runs gulp acceptable?
CORS ruins everything
CORS is love
Ur love
❤
Teto needs to come up with more custom items
So far i've only come up with
2 Custom Armor Sets
2 New Arrow Types
Rocket Boots
and a Fireball wand
I'm confused.
What you just said.
Oh i am working on custom stuff for a gamemode
The Red Armor if you are wearing it if you double hit a entity it sets on fire
The Purple armor if you double hit a entity it gets the levitation debuff
The Red Armor also has a Thorns Effect
The Arrows are Explosive Arrows and Fang Arrows (Fang Arrows i got the idea from billy if i remember right)
The Boots are Rocket Boots (They give a limited amount of extra jumps before you have to re charge them)
And the Blaze Rod is a Blaze Wand (It shoots fireballs)
Log-filters?
But so far that is only 12 items
And i gotta put in enough so that there is like 30 lol
@meager perch give this build a shot with debug enabled and let me know if it looks like this:
https://jenkins.egg82.me/job/egg82/job/AntiVPN/job/fix%252Freflections/
https://i.imgur.com/bQ5LrdP.png
.g "log-filters" site:spigotmc.org
(DiscordBot) https://www.spigotmc.org/threads/spigot-configuration-spigot-yml.2713/page-2 -- Spigot Configuration (spigot.yml) | Page 2 | SpigotMC -...: "Jun 13, 2013 ... log-filters: - ^(.)(/login)(.)$. Still being used? I've been tinkering with it and can't seem to make heads or tails if my filters..."
Neat MO.
I don't think so @void void .
I think it's a bad idea, so I can see why it would be removed.
Regex isn't the fastest thing and it's something very plugin-like. Really, it should just be the command name.
Just make a plugin for it. 😛
the output, though
what does that bit of output look like?
for me, its:
https://i.imgur.com/bQ5LrdP.png
@meager perch ping me with your output when you get a chance
@meager perch on load, not check
there's some extra debug output on load now
I need that
because I can't reproduce this on my end
when the plugin loads/starts up, there's some extra debug output if debug is enabled
I have a hunch, but I need to confirm what it says
yeah, that's fine
mode shouldn't matter
I need to extra debug output that comes when the plugin first loads @meager perch
It should look similar to this
https://i.imgur.com/bQ5LrdP.png
[AntiVPN] {m.e.a.s.InternalAPI} Initializing 0 APIs..
as I thought
well, that narrows it down
vape nation rushes into the room
irc has bridged channels
what can i do for you
not an excuse
is chunk loading async by default?
also on a scale from 1-10 how hard can you vape
damn son where'd you find this
Yeah, it's enabled by default. I think Aikar wanted to disable disabling it too.
fuck
What do you mean "fuck"?
how am I supposed to run #getnearbyentities safely on chunk load then
ChunkLoadEvent is called before a chunk is loaded, even with sync.
use the event
the event is called sync
so as to not break literally every plugin
I am using ChunkLoadEvent
den ur gud
well then how the fuck is it errorring... hm
dont know why or how cuz dont know ur code bich
hey if that's true can the entities even be properly detected during that event
if they are on that chunk
You can start a scheduled task from the event.
iirc its before its added to the world but not before the entities are in the chunk
so you could probably access the chunk's methods
but not necessarily use world iterator based stuff
yeah but then I risk running that I risk scanning an unloaded or otherwise invalid chunk jamer
james*
I want their proximity to a point, was hoping to go about it in a way marginally more clever than just measuring everything
getNearbyEntities wouldn't be your answer, it would be wrong.
not to mention that it could cause issues for entities are chunk intersections
how would it be wrong?
The chunks next to the chunk being loaded might not be loaded.
What are you actually trying to do?
I've got armorstand displays that have dynamic text on them
which is cool except when a user's server crashes
then they don't get culled properly
Well, there's your problem.
You're using real entities rather than sending packets.
so on chunk load I'm trying to scan to see if culling needs to happen
Here, this class will allow you to send armour stands to a player without spawning them.
It doesn't have a setLines method because I don't like animations, waste of packets imo. But it would be extremely easy to add.
If you're going to add setLines don't send the packets to everyone online. Just have a distance threshold.
hm for those holograms when do you need to send the packets
because these are very much fixed locations
I send them with the chunk.
public static void listen() {
ProtocolManager protocolManager = ProtocolLibrary.getProtocolManager();
protocolManager.addPacketListener(new PacketAdapter(MCTHolograms.INSTANCE, PacketType.Play.Server.MAP_CHUNK) {
@Override
public void onPacketSending(PacketEvent e) {
List<Integer> values = e.getPacket().getIntegers().getValues();
int x = values.get(0);
int z = values.get(1);
Player p = e.getPlayer();
World world = p.getWorld();
for (Hologram hologram : Hologram.getHolograms()) {
Location location = hologram.getLocation();
if (!location.getWorld().equals(world)
|| location.getBlockX() >> 4 != x
|| location.getBlockZ() >> 4 != z) {
continue;
}
hologram.send(p);
}
}
});
}
does this really hold up at scale?
It's much better than HolographicDisplays.
I'm talking thousands of these things going off constantly here
It couldn't be more efficient.
I mean, it could just be an item in a chunk
The only improvement really is making their removal and addition during runtime not send a packet to everyone but didn't bother me.
@strange bane that is very inefficient
I mean I'd usually say that it seems efficient enough and then yesterday I got a lag complaint for a user who pinged cows over 40 million times in 10 minutes
I don't reload the server.
It's always fun when someone claims their code to be the most efficient form possible, and then the golfers show up.

actually let me go find the timings report
i don't recommend booking dot com
ups
total fucking nightmare

I think you meant booking dot yeah
wat
"pinged cows"?
meant to say ticked
They did that with a modified client?
this doesn't really sound like an alternative preferable to just actually having the items server-side
What items? xD You've lost me.
armorstands or whatever packets I am sending out
could just actually have an armorstand there
If you use real entities they have to be ticked, and the chunks have to be loaded for their names to be updated iirc. Using packets doesn't really have a disadvantage.
Except from no entity tracking.
and no infrastructure required to set them up at all, meaning I don't have to worry about efficiency either
As long as you don't destroy/create the holograms during run time it's all good (even then it's not a big issue). If you need to do that, say if you reload a lot or have /hologram create or something and care, then just add some kind of player tracking.
99% of the holograms are assembled, updated and destroyed during runtime
they're dialog
moving dialog at that
Then you need to track if the players can see them.
I would, yes
or rather has them loaded.
actually lol I think we're slowly circling back around to my original issue of getting entities near a point on the chunkload event
I don't know when the Unload Chunk packet is sent from the server, but you might be able to just listen to that for knowing who can no longer see the entity.
it just doesn't sound like a glamorous alternative to my current really simple issue of just scanning entities at 0.1 radius of a point
If you have as many holograms as you're saying and need to update them that often, it's going to hurt TPS bad.
they only trigger if there's players really close to the npcs
in theory no more than 3-4 should be firing simultaneously but people really, really like to push my plugin to the absolute limit at every turn so I have to be prepared for that
I give it like a week before someone shows me how they managed to fill a stadium with npcs that scan the entire stadium or something stupid like that
I bet those NPCs are real entities.
they sure are










