#dev-general
1 messages · Page 16 of 1
i dont either? 💀 well for some but not the 2 TB one
where do you have free 2 TB servers
Free server how? Why? Where?
ah
my friend is mcyt server host 
you haven't heard of it
smhhhh
Oracle ⭐
free 24gb memory, 4 cores
downside is arm64 but it doesn't really affect me
Free? You kiddin? How?
magic
I get all my machines from https://helpch.at/host
I like free stuff
im not clicking that
just get a bunch of free server hosts and spread ur data across all of them
dont, it just stole my ip
where do you get free server hosts
or you know what
no like google drive
back then there was a free file hosting service that had like a terabyte
since i made like 10 alt accounts and pretended that i referred it to people
i heard mega has a lot of free storage
but i dont remember the name of that
https://tixte.com has 15 GB for free
Tixte is a place to store and share your best moments - screenshots, game replays, family photos, and everything else.
I am ready to learn sensei
do you have linux experience
Yes
like setting up a vps
Installing and stuff? Yes
alright then ill tell you
but
beware that it's a free service
so they might just terminate your VPS
...
I'd recommend making back ups
Makes sense
has happened to many users of this discord btw
bro what sketchy business r u doing
which is why I'm telling you in advance
@leaden sparrow
https://cloud.oracle.com create an account
bruhhhh noooo https://srnyx.is-from.space/gRKcF9FXfm.png
newtork is fast my man
It's just their customer support that is so good they'll talk with you before you even need
i think this is the first sentence glare has said without capitlization
Ope
omg
omg
im sorry
this is monumental
I'm not unmuting you if you get yourself muted.
wow
he got impatient and closed the session tho i am sad :(
Yeah cause you didn't respond fast enough.
:(
Their network goes fast, you gotta respond fast too.
i hope u never level up so u keep ur 60-69 role
🤣🤣
🤣
How long are you on today? The website is super fucking slow on my phone and I cant get on my PC rn
not for long
I'm probably going to be gone at about 4
What time is it rn (no clue what timezone you in)
Ah fuck
Oh well then I will just message you somewhere and you can respond when ever you have time
@half harness
🥰
Nice thanks alot
ill just put the instructions here
@half harness
How to create a FREE Lifetime Oracle VPS
last updated: <t:1696980660:D>
Warning: Many people have got their VPS randomly terminated, so might want to make periodic backups!
I myself have not gotten mine terminated
Oracle does reclaim idle instances with an email warning:
Idle Always Free compute instances may be reclaimed by Oracle. Oracle will deem virtual machine and bare metal compute instances as idle if, during a 7-day period, the following are true:
CPU utilization for the 95th percentile is less than 10%
Network utilization is less than 10%
Memory utilization is less than 10% (applies to A1 shapes only)
Information on the resources that you get for free: https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm
Note: Use https://www.oracle.com/cloud/costestimator.html (Compute VM -> Load) to see how much it'll cost (Make sure to press Apply 200GB Free Tier Discount in Storage - Block Volumes)
- https://cloud.oracle.com Create an account - You will need a debit/credit card
- Go to Compute -> Instances (https://i.imgur.com/dwpCM7K.png)
- Make sure that the
Compartmentis set tousername (root)
Here is an image: https://i.imgur.com/6tz7DDU.png
- Press "Create instance"
- Click Edit next to Image and shape (https://i.imgur.com/ggjJhjr.png)
- Click "Change image" and switch it to Canonical Ubuntu (You should use 22.04 if possible as 20.04 is only supported until April 2025)
- Click "Select image" at the bottom
- Click "Change shape" and switch it to Ampere ->
VM.Standard.A1.Flex(https://i.imgur.com/1AAiPP3.png)
The default option (VM.Standard.E2.1.Micro) will also work. The differences are that it uses an AMD CPU (which tends to have better compatibility and general performance), but because of that (it's more expensive!), you can only have 2, and for each, you only get 1 CPU core, 1GB of memory, and the network bandwidth is limited to 480Mbps (megabits/second)
With VM.Standard.A1.Flex (what is boxed in red), you have 4 OCPUs and 24GB memory total, you can switch in the future so for now you can max it out (to 4 OCPU and 24GB)
9. Click "Select shape" at the bottom
10. Make sure to either generate or if you already have an SSH key, upload your public key files in the "Add SSH keys" section
11. At the bottom where it says "Boot volume", the default is 46.6 GB, if you want more than this (limited to 200GB), press "Specify a custom boot volume size" but it must be at least 50GB. You cannot decrease the size, however you can increase it later. Because of this, I would highly recommend keeping the boot volume under (or at) 150GB, or else you'll have to terminate your instance to create any others
12. Press "Create." Note: you may get an "Out of Capacity" error due to there being no more available VPSes. I would recommend first switching Availability Domain (press "Edit" on the right of the "Placement" box at the top) and pressing "Create" a couple times (this has worked for me many times). If that still doesn't work, then you can automate this process using https://github.com/hitrov/oci-arm-host-capacity/
13. Wait for it to say "Running" (might have to refresh the page in a few minutes) and then where it says "Instance access", that's how you can connect to the VPS
_ _
How TF you make a blank message?
_ _ or ** **
just putting that for the future
it's simple
I needed that thank you.
@leaden sparrow
Maybe this will help others too
¯_(ツ)_/¯
Give me a bit xD
Yeah I got it
thank you
Sorry for not confirming that worked
I got no errors in console or anything
What are the limitations? Except arm and possible termination
That's it
anticheat plugin that would create phantom structures (underground bases with farms, chests and shulkers and hidden portals in nether or even players from list of online players sitting "afk" underground) around all players and do not create structures within like 1k from spawn and do not create any structures or players around players with a permission, and if they do dig down to it and start interracting with them, it bans them automatically
^ are there any devs or experienced users who would be able to tell how much would that cost to develop ?
ten grand
i'm joking, one hundred grand
Very Very cool, last question : is it one vm per account or can I recreate it as many times as I want?
Infinite
Sort of
You can only make 4 amperes (bc of 200gb storage limit and 47gb min per each)
Then 4 tiny AMD vms
1gb and 1 core
I don't remember if it includes storage or not
I'm on phone so I don't feel like checking 🥲
@long dagger just thought of something, what if u also somehow incorporated https://spigotmc.org/resources/49387 into dialogues? no idea how you could do it or if u could make ur own tho
hey all, i am trying to setup networking stuff for jellyfin, by adding an SSL certificate and a subpath domain using certbot and Nginx
I am following this documentation https://jellyfin.org/docs/general/networking/nginx#https-config-example
but I don't know where to put the config (I have nginx and certbot installed)
Interesting, thanks for your input! 🙂
Wait hold up, I can have 4 4core vms with 47gb each for free?
and only down side is arm64 and possible termination?
Nooo
4 cores total
24gb memory total
200gb storage total
All for ampere
Storage also includes AMD too I think
ahh got ya
so I could make 4 VMs with 1 core 6gb ram and 47gb storage?
do minecraft servers run on arm64? this could actually be useful for dev/demo servers
Yea
All the stuff I've installed support arm64
If I were you I'd make 1 vm with 24gb and 4 cores
More optimized since if u have 4 vms u have 4 of the OS, ptero, etc etc
it put me in a free trial, I am guessing this is normal? and the 24gb and 4 core vm is part of the "always free" stuff?
can I somehow restrict it so I "can't" use them?
I think you can't anyways
I think u have to upgrade your account to a paid account
But it also tells you when creating a vm if you're going above the memory, etc
is there no way to select something like debian 
There is but it's not officially "supported" by oracle
I'm the image place
When creating a vm
Make sure to terminate a vm if you're going to switch (stopping it doesn't affect your limits)
What do you mean xD?
In*
I can't find debian. Maybe it doesn't exist anymore?
It does
Make sure you're not looking in the official ones
Prob have to upload the iso
Look for like debian server iso
Or smth
Headless?
yea so I just googled, apparently Oracle removed the debian image along side lots of other distros
So ehhh I am trying to import it myself
but ehh I do feel like it will deffo fail xD
dafuq is atom :D?
The text editor maybe? Though that was shutdown not too long ago
yea Atom is ded
oh fr?
lol
what text editor should i use then
for script
I use Atom
It is really feature rich and is backed by GitHub
They just said it’s shutdown
How do I enable the script
Not necessarily
Script package
It is just no longer being updated
Oh
@long dagger
I don't know what you mean
You can install packages right?
I believe so, they also have a ton of built in packages
Yea, so how do you install the script/skript package
I would google it, I don't know/use skript
If I’m using Atom, what changes can I expect after the sunset?
Pre-built Atom binaries can continue to downloaded from the atom repository releases
Atom package management will stop working
No more security updates
Teletype will no longer work
Deprecated redirects that supported downloading Electron symbols and headers will no longer work
Most important here
Atom package management will stop working
This shutdown on December 15th
Thanks alot. so basically Ehhh I tried to get a custom debian image. It failed, so I did an even worse thing. Install ubuntu minimal and just use fucky wucky shit to completely rip ubuntu and replace it with debian. Just so I can then make a custom image from the Ubuntu machine that is now a debian machine. it just took "a few" tries xD
and tbh it was the stupidest thing since Idgaf about the OS, I could've and probably should've just used ubuntu
Also I did some research and basically while the vm could be terminated anytime its not really that random. You have a monthly limit on usage, and everything that exceeds That monthly usage just gets killed. That only applies to the free stuff tho.
Wdym?
4 vcores goes below the limit
Above 5 and you risk getting it terminated
Maybe the ppl here just forgot that and got above 4? 🤷
Anyways i just wanted to point it out just in case
My vps has been going on for a while fine though
Random thought:
is there some programmatic way of enabling the christmas textures permanently, or disabling them permanently 🤔
yeah but that can fuck with other stuff
Yes but you also have a monthly limit for stuff. This is one of the limitations "Up to 4 instances of ARM Ampere A1 Compute with 3,000 OCPU hours and 18,000 GB hours per month"
Not that you can ever go over that in a month
Did you personally ever get terminated or your vm?
Use a texture pack 
Nop
I need help with developing.
what you making
need help with bungecord
ah im no good at that sorry, maybe someone else can help
@half harness Thanks alot! it works like a charm!
how do you do backups? do you just manually do them or what is your approach?
@obtuse gale please be patient. Its Christmas after all-
And instead of saying "I need help"
Explain what's up??? We don't have all the time in the world. No time to ask for help and not ask the question with it.
ok
YOYOO
is this deluxemenus supports??
or is it skript support
i forgot which discord i joined
help
is this deluxemenus support
i need help w deluxemenus
Sir, this is dev-general
im there rn
Skript 💀💀💀
if you got no knowledge of programming then its a somewhat simple way to do small things, but writting anything larger then a few lines should be done through actual plugin development
The problem with skript is how people actually use it
But hey, if you want to make your entire server in skript, good luck
I was in an anticheat dev server a while ago and saw someone trying to make a skript anticheat
needless to say… I don’t think it turned out well
But I guess I can’t be making fun of him because i tried it using command blocks before I knew how to code. I did a horrible job 😂
well, skript is closer to spigot api than cmd blocks, the skript instructions are interpreted
skript is actually fine
i never used it
but it literally does same as you can within just spigot api
just some limits
some many limits with worse performance and there's also the fact that it is easy to use which means people never bother to learn anything so they just end up with memory leaks and stuff
If you know what you're doing, then sure but at that point, why use skript
I don’t know skript at all, but I’m guessing it’s more event based
and anticheats have more control running at a packet level
I mean yeah. I didn't even get into that. There are already skript anticheats out there and they're very bad.
What does this mean?
Like the regular spigot API is heavily event based too
You can't really do anything without listening to events
that's what they meant I'm pretty sure. that skript is based on spigot's events
I mean, that's just spigot too
You can also attach to plib with skript, it's not gonna be pleasant but you can certainly do it
emily is secretly an advanced skript user
fortunately not
oh ok. you gave me a heart attack for a second
you can’t hide it any longer
Btw what language is skript or is it it’s own like interpreted language
it is it's own language
Ah I see
I don't know what you're talking about 🥸
How do I when a block is place send a message in chat?
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
Hello, how do i request a service?
#1047749266921230407 or #1047749270331215913. Read pinned messages for rules and stuff.
where?
In the respective channels
Ah
You are service muted
You can't see or use the service channels because you have the <@&452659172534648843> role.
@crystal gazelle you were supposed to be muted for 30 days but as we don't have a way to temporary mute, you remained muted for longer. I have unmuted you now and you should be able to see the service channels.
Thank you
barry so cool and nice but cant temporary mute
why
bcz cube is either lazy or busy. or both. idk.
i wanna rework a plugin i made for a different use since some of it can be used for ssid project but when i go to actually make prpgress i just chsnge a few typos and some formatting and then quit intellij, why do i have to procrastinate...
i keep abandonning projects and this mishmash of ideas u had could be decent
And that's the beginning of the "projects" folder that definitely doesn't have over 100 sub folders 
tree | idkwhatgoesher
atleast im not the only one 😅
105
@old wyvern how do you even compile the js expansion?
import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory;
^
bad class file: C:\Users\dumit\Programming\Minecraft\Forks\PAPI-Javascript-Expansion\evaluator\libs\nashorn-core-15.4.jar(org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.```
😬
just teach it to be good
nvm fixed I think File | Settings | Build, Execution, Deployment | Build Tools | Gradle Gradle JVM
im kind of hesitant because dis
that's if you go over the limit
Use https://www.oracle.com/cloud/costestimator.html -> Compute VM (Make sure to press Apply 200GB Free Tier Discount in Storage - Block Volumes) to be sure that you're not going over
remember that it's not per-VPS, it's the entire account
100 bucks a month lol
¯_(ツ)_/¯
nvm
another quick question
ive seen people getting charged for a few cents
where does that come from?
like if you only have 200gb free storage
and you set your vm to 200gb
how do you go over it?
@half harness
I'm not sure - I don't think you even can without upgrading your account to Paid
use cost estimator to be sure
so what limits do i have to "meet"
200GB storage limit, and there are OCPU and memory GB hours and so the highest you can go safely is 4 OCPUs and 24GB memory
okay cool 👍
yeah, I wouldn't go full 200gb though
since you can't downgrade the storage so if you want some AMD VMs you can't
but amd vms cost, right?
no, there are 4 free 1 ocpu and 1gb memory i think
less bandwidth too
but the storage is shared I'm pretty sure
oh it is?
I don't use the amd cpus though
so I'm not 100% sure on this
I've used it once and deleted it because the lack of bandwidth
thank you very much
@half harness i got a 2 TB hard drive for christmas 
when did that happen
...
dementia?
yes lmao
bruh
there we go
thanks bm
np
i got a much much cheaper one 💀
Easily store and access 2TB of content on the go with the Seagate Portable Drive, a great laptop hard drive. Designed to work with Windows or Mac computers, this compact external hard drive makes backup a snap. Just drag and drop To get set up, connect the portable hard drive to a computer for au...
🤮
😭
:(
should i trade it out for a 1 TB ssd?
well the HDD is slower than USB
i think
nvm
ignore me
it depends on the usb version 🤓
yeah
pricey but above is $340 off
or you can get 1tb for $90
why is 2tb $500
but 1 tb is $100
doesn't make sense
depends on the usecase too
https://www.amazon.com/Western-Digital-SA510-Internal-Solid/dp/B09ZYQ84CM
this is the best deal i could find on amazon
Breathe new life into your PC so you can push your work further and grow your creative potential. Designed specifically for professionals, creatives, freelancers, social influencers, and other passionate content creators and editors, the WD Blue SA510 SATA SSD helps boost your PC’s performance so...
but its internal
NVMe USB 😮 🔥 🔥 🚀
yes
How much can you carry between the tips of your fingers? With the Crucial X6 Portable SSD, the answer is: A lot! Whether you’re downloading videos for offline travel, organizing family photos, collaborating with classmates, or heading off on a great adventure, the Crucial X6 is affordable, and re...
doesn't seem bad
5k reviews
$30 off
6.7x faster than the hdd
The Samsung Portable SSD T7 is the next standard in external storage. With transfer rates up to 9.5x faster than traditional external hard drives and read/ write speeds up to 1050 MB/s, you can move massive files around with unparalleled ease and fluidity. Its sleek, shock-resistant design is unc...
if you dont actually need the speed just save ur money and get a bigger hdd
ye feel free to get the 2tb hdd if you'd like
big numbers are nice and all but pointless a lot of the time
How much can you carry between the tips of your fingers? With the Crucial X6 Portable SSD, the answer is: A lot! Whether you’re downloading videos for offline travel, organizing family photos, collaborating with classmates, or heading off on a great adventure, the Crucial X6 is affordable, and re...
2tb for $130 (sale from $200)
external
more worried about the failure
dkim is exaggerating a bit
yeah
as long as you dont play basketball with it or something
it'll probably be fine
for a long time
i heard it makes for some good games
i bet
im getting https://www.amazon.com/SAMSUNG-Portable-SSD-1TB-MU-PC1T0T/dp/B0874XN4D8 (but on newegg cause cheaper)
The Samsung Portable SSD T7 is the next standard in external storage. With transfer rates up to 9.5x faster than traditional external hard drives and read/ write speeds up to 1050 MB/s, you can move massive files around with unparalleled ease and fluidity. Its sleek, shock-resistant design is unc...
$80
o
2 TB is $180 on newegg
ok nvm it redirects to weird seller
Samsung T7 Shield Portable SSD delivers high performance on-the-go, not matter the terrain. It has an IP65 rating for water** and dust* resistance, with Dynamic Thermal Guard to manage heat control. Transfer huge files instantly. USB 3.2 Gen 2 and PCIe® NVMe™ achieve soaring sequential read/write...
newegg redirects to something called whcl
https://www.newegg.com/crucial-x6-1tb/p/N82E16820156275
@ionic gust wb this
for $80
oh nvm
yea but like wth is crucial
that's only $10 difference
crucial is pretty big iirc (although I think more for RAM?)
but samsung is bigger
yeah
samsung is HUGEEEE
🫢
they are so big
samsung phones r also big u probs wouldnt be able to fit them in ur pants
Hmm. I've heard that samsung phones explode early tho.
they do
so we all agree https://www.amazon.com/dp/B09VLK9W3S is best option yes?
Samsung T7 Shield Portable SSD delivers high performance on-the-go, not matter the terrain. It has an IP65 rating for water** and dust* resistance, with Dynamic Thermal Guard to manage heat control. Transfer huge files instantly. USB 3.2 Gen 2 and PCIe® NVMe™ achieve soaring sequential read/write...
I don't. But my opinion shouldn't matter here as I have no idea what you guys are agreeing on.
Their marketing makes me not want to ever buy that product
that hasnt been true for years lmao
They've used some clips from youtubers that are clearly sponsored
and samsung is generally the most trusted company in the ssd market
mrwhosetheboss
It looks like Samsung Phones have a (Dangerous) Problem. Let me know if you've experienced anything similar!
Subscribe for more content (IT'S FREE)!
It would make my day if you could also follow me on:
🌈 Instagram: https://goo.gl/OUqBBa
🐦 Twitter: https://goo.gl/EFhwqL
😊 Facebook: https://goo.gl/Aluzl1
Amazon Affiliate links:
Amazon US: https:...
This guy that is a british guy says otherwise
i beat u to it
"this guy that is a british guy"
no i didnt omg
and you replied to the wrong message
cmon amazon
idc im still right
Hmm?
"galaxy note 8"
"Released 2017"
forces me to Sort by Featured
it was the note 7 and 8 that had the battery problems
L
Anyone here worked with AI model training?
I personally don't care. I am not going with Samsung or Xiaomi again. At least not very soon.
@ionic gust
amazon is so slow

YOOOOOOO
wow so many savings https://srnyx-needs.to-sleep.xyz/chrome_C4JuABzB72.png
jeeez
lol
Ultra Speed External Ssd,2.5 Inch Usb 3.0 Interface Ssd,160Gb Portable &Amp; Large Capability Mobile Solid State Drive For Laptops Desktopfeature:The Ssd Is The Perfect Solution For A Mainstream Solid State Drive (Ssd) Upgrade From A Hard Disk Drive
samsung would never have such great deals
I had a Samsung for 2 years and for like a year I couldn't use it bcz it would always break and I had to keep sending it to the repair shop. That did end up with a somewhat nice output as well tho. I got all my money back for it after 2 years, days before my warranty was about to expire because they got tired of fixing it but I also had to go months without a phone or with a trash phone I barely could open.
Now I have a xiaomi and MIUI just sucks. At least MIUI 12. So many bugs, laggy, etc.
is MIUI a xiaomi model?
no
oh
ohh
like samsung's one ui or whatever it is called
OneUI 5 😌
FiveUI 1 😌
Thanks to Lazarus 3D: https://www.lazarus3d.com/ ▪ Lazarus had no editorial control over this video, and I paid for my own MRI, but of course they helped set everything up and provided the print!
Edited by Michelle Martin https://twitter.com/mrsmmartin
Thanks to Graeme Wiltrout for the suggestion
I'm at https://tomscott.com
on Twitter at http...
what.
just the usual tom scott videos 🤣
Anyone here ever colocated a dedicated server?
I found some deals on dedicated servers that are insane, and exactly what I need for some projects, but I'm wondering how much stuff like this costs on average
(All the data centers want me to call for pricing)
And most seem to only sell full or half racks, but I just need like 2U, not a 46U full rack
And the one datacenter with listed prices costs more for 1u than a similarly specc'd entire server
it's usually pretty darn expensive
on par with renting a server
then again I live in australia where everything internet related is trash and overpriced
yeah, I've basically found out it's not worth it for a server like I want to host
which is unfortunate
since I need lots of decent cores, and lots of memory, which is really easy to buy
as in, I have found multiple that would work for under $100
but it'd be like $50/m to colo it, and I don't really have somewhere else to host it
why do you need colocation anyways?
i buy 3 dedis from OVH in the same datacenter and they're close enough for my needs
I thought it would be cheaper
turns out, it's not
I wanted to do it soley because I thought it was cheaper, but ig it turns it out it is not much cheaper
it is much more expensive actually lol
Yup
I thought owning hardware would make it cheaper in the long run, but it's definitely not lol
oh yeah, you can just rent a server from OVH for like $80 a month
would take years to pay off
Hey guys
I have a friend who has trouble logging in
Can anyone help me out
When he tries to log in it says 'new login location detected, please check your email'
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.
@rare inlet read above please. 
Right. my issue is that $80/month is not nothing lol
and it's not the buying the hardware, it's that it's barely cheaper to colocate it then it is to rent the entire server elsewhere
$80 a month is not nothing, but hundreds or possibly thousands of dollars up front is?
For the server I want to host on it, some really cheap 6+ year old used Dedis actually make perfect sense
and I can get ones for under $100 that are the perfect specs
since my goal is to pack as many low-performance servers as I can into one node
I'm quite interested in trying to route where you self host stuff but route everything through Cloudflare Tunnels.
That was one route I was looking into, but my home internet is totally unbalanced (400+ mbps up, only 7 down)
Yeah that's the thing is you gotta have reliable internet
Mhm. and sadly fios isn't available where I am
since it would actually be perfect, I would only need to run one tunnel for one port
and everything else would be local
looking for opinions about pc building
is i3-7100 to i3-12100 a decent budget upgrade? or should I save up for i5 or i7?
yeah, but I need to swap out the mobo as well
lga1151 != lga1700
and I live in a non-amazon country
12600 from my local store is 330 €
you would have to swap out the mobo for the 12100 as well
all 12 series are lga1700
Tbh even upgrading to a 12400 instead would already be a better upgrade
50eur more than 12100, and same socket anyways
nevermind im just backing up only like 30gb or so lol
my internet speed and the ssd/cpu speed is bottlenecking the backing up process 🥲
yeah, I know, by that I meant I need to spend another 100+ bobux on a mobo, hence even tighter budget for me
1.9 has some cool stuff planned
K 🤢 tlin
Oh interesting, until operator was moved to 1.9 instead of 1.8
I guess it's experimental api now
1.8.20 has some exciting features too
Preview of Enum.entries: modern and performant replacement for Enum.values()
Lol
And 1.9
Generate all Kotlin lambdas via invokedynamic + LambdaMetafactory by default
No just copied the wrong thing
What's the difference between entries and values
Wait is there a range operator yet
Or is that not a thing
It's a replacement for Java's "values()" that is better performant
Ah, but it returns the same thing, just calculated beforehand?
Hello!
Hola
Preview in 1.7, experimental in 1.8, release in 1.9
Cómo estás?
Ohhhh
I hate how you have to add annotations and stuff for that
everytime i try to buy nitro it says i cant when it literally worked the other day and i’m losing my mind
#off-topic this isn't discord support btw
Level 11 above is tier 2,level 22 above is tier 3,etc
21
Not 22
Where exactly am I supposed to see my level?
Can't really explain exactly but I'll quote
Problem statement
Enum.values() has two major pitfalls:
- It allocates and clones an array on each invocation, making it a common source of performance bugs
- It returns Array<E> which is mutable by default and is less flexible to work with than any collection
Proposed change
- Softly deprecate (e.g. on a tooling level) Enum.values()
- Introduce auto-generated property with the name val entries: EnumEntries<E> that returns a cached instance of a read-only list of all enum entries
- Optimize internal implementation by reusing internal storage for entries that has to be available for Java interoperability and backwards compatibility
Be quiet barry
Oh, thanks!
Yes
the problem with values() is that arrays are mutable, so it has to be copied from an internal instance every time
This isn't discord support
So off topic is the best channel if you want to ask here
You can disable that btw
Yeah
Would that disable IJ warning too?
Yeah, it allows you to use it like it's release
Oh nice
okay fix it
no
okay
Hi ! DeluxeMenus compatible for custom gui ?
hey guys my acc is hacked
i friended someone random without me knowing it
that guy doesnt have any mutual servers or friends with me
Hey, can someone help me? I need a skript to get the entity a player is looking at... Not only when the player is near the entity... ( I don't know how to use vectors)
If you still have access to it change all your credentials
I do
just some random guy that alleged i sent him friend request
and said like i friended him 20 mins ago
but he seems to be trolling, saying that he and his friend developed beef tool
and his friend worked at discord security team
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.
yeah i know bro i have been in this server longer than you lol
just
i want some quick help not some lengthy applications and stuffs
and you guys are probably the best option ive got right now
then it would be an #off-topic thing right?
whatever man
I know that packet entities don't exist on the server side, but is somehow possible to fire an event like EntityDeathEvent for one?
I'm not looking at the code right now but I am pretty sure it just requires the entityid
No, it requires a LivingEntity
I mean LivingEntity is an interface
so you can just implement it
there's gonna be a lot of methods tho 🥲
that does not seem like a good idea
im sure you can send a "packet death" rather than firing an server-side event
or make your own custom death event instead of re-implementing livingentity xD

they are two parallel things, dispatching an event doesn't send any packets, e.g. dispatching a BlockBreakEvent won't actually break a block (nor send any packets about it "being broken")
I need an event to let the server know that an entity died, but I don't think that will work because if I pass a null entity to the event, it will break the other plugins
to let the server know or to let other plugins know?
because the server doesn't give two shits about events it itself doesn't dispatch
doesn't the server already knows that the entity is dead? or else what would be used to invoke the event
thing is the entity never existed to begin with
Other plugins
not on the server at least
I meant to say "the other plugins" ups
(im assuming these are other plugins not made by you)
you're gonna have a fun time implementing the entity interface

is that right, or are you making the other plugins too
I was thinking about something like client side spawners, to lower the pressure created by many entities on the server, but I guess thats easier said that done
Ah, yes, I'm talking about other public plugins
ah thats too bad
Yeah
So are there non-existent entities? (=non-existent entities exist)
Collections.unmodifiableList(arrayList) the closest you can get is this ma'am
But? 😮
it would be a massive win for the jvm as a whole
I’d really love if they push for that a bit faster
Too much text, but sounds nice!
understandable
Hey, could someone help me out with PAPI? I developed an extension yet when I /papi parse it, it does not work. Do I use this channel?
dkim moment
I wonder if this will be implemented in the normal arrays Type[], or trough a class
frozen arrays could be done on regular array types, but this read-only view would need to be some kind of hidden subclass maybe?
how does everyone feel about the API pattern that Bukkit uses with the separate Bukkit/craft classes, and would it be worth implementing a similar system in my own plugin I'm wanting to make a more stricted API for? I'm just having a hard time coming up with a prefix that doesn't suck for the implementation classes
I like LuckPerms design
Not to mention that the actual API is far nicer than Bukkit's lmao
Its API implementations are prefixed with Api I think? ApiUser, ApiGroup and a very long list of etcs
okay it's not that long i lied
I'll take a look at that too. I'm trying to adapt it from the existing system so it doesn't break backwards compatibility, but as it's a major version update I wouldn't mind breaking things for a better overall structure
But that works for LuckPerms because the API implementation is separate from the "working bits"?
Like an ApiUser is not the actual User LP uses internally
I'm working on separating out everything so it works the same as that
Sounds like LP uses the same design pattern Bukkit does but puts API in front instead of having Craft in front of the implementation
I mean as far as the naming goes sure
I've been getting really into design patterns the past couple weeks and it's making me want to redesign so many things
yeah ive seperated my api from the actual plugin too
i just named the interfaces ISomething
and left the other classes as is
Just a heads up, simply recompiling what used to be a class into an interface already is an incompatible change for those who call methods on those classes
Is it? Even if the method signatures are effectively the same?
huh. alrighty then entire restructure it is
Does the LP API even reference Bukkit at all
nope
That's wild
it's entirely platform independent
it doesn't even need a minecraft server (or proxy) to exist
I don't anticipate needing to have this be cross platform so I'll probably have it still depend on Bukkit so it doesn't have to get too crazy independent
thanks for the inputs

I always hated that
It's hard to come up with good names in code, but its also easy to get wrong. By looking at some examples, we can get 80% of the way there. Access to code examples, discord, song names and more at https://www.patreon.com/codeaesthetic
0:00 Introduction
0:31 Variables with a single letter
1:08 Never Abbreviate
2:06 Types in your names
2:36 Units...
Good video on the topic
its short, convenient (cause Interface) and doesn't interferere
it's ugly
ewwwww
Very
just name things what they are
I also use "base" and "abstract" quite often, but slowly trying to stop
they are the interface of something
// how to use my awesome api
IUser user = IAPI.getUser(player);
IGame game = IAPI.getGameOfUser(user);
ITeam team = game.getTeamOfPlayer(user);
🤢
🤮
That is bad thinking
that is the truth
It's not to be thought as "the interface of something"
interface should be the most readable parts of the API
imo
not be messed up with a prefix "I"
An interface is a contract, something that an implementation you should not care about is to abide
like how CraftWorld is internal, but World is the API
Not something a user is to think "oh I am working with an implementation of this interface"
I see people doing "I" as in "implementation" though
"I'm working with a list", not "I'm working with an implementation of a list"
which is acceptable but imo there are better alternatives
Imagine the jdk using "IList", "IMap"
C#: 
what should i name it then?

IEnumerable moment
Just name the things what they are
Something
not ISomething
i hate you barry that was funny
wow poggies
Permission
I am working with Something
i know
oh you mean for internal use?
If it's to have a single implementation here are some suggestions: SomethingImpl, SimpleSomething, BasicSomething, DefaultSomething
ITeam & Team -> Team & BlueTeam
For example
I use SomethingImpl
what if Team is a config abstraction?
For abstract classes with many subclasses, Base is understandable
I will personally fistfight anyone that uses the "I" prefix for interfaces
what does that even mean
i have actually no idea
i was reading like three messages simoultaneosly and combined it into a message
but tbh id find it annoying to work with SomethingImpl like always
ok i think this is what they mean:
What if they have an internal class for "User"
they don't want to use "UserImpl" everywhere in their code
prepare to catch these hands
IHands
^ its longer
as an api user or an implementer?
and i added the api later
you didnt want my api to have a pre or suffix, so what should i call my internals?
You have approximately 110 seconds.
_ _
What you name your internals is nothing that concerns the API user
True
But polluting the API land with something that is simply unneeded is, well, polluting for no reason
It's like all the exceptions ending with "Exception"
That's dumb
but me?
there are probably less people using the api than mainting the core
I think we're seeing how we make APIs from different perspectives
yeah
If you're going to add "I" as a prefix for interfaces you should also add "C" and "E" as prefixes - CJavaPlugin EMaterial
I like making APIs from the POV of the one who uses it
I want to make my API nice and pleasant to use
@agile galleon
here's what I do ```
BedwarsGameAPI
BedwarsGameAPIImpl
BedwarsGame
what the fuck
API as a suffix also sucks
BedwarsGameAPIImpl moment
yeah
its to prevent duplicate names
the impl and bedwarsgame have different stuff
Nasty
so you posted your method, got shitted at, and are now comparing it to another shitty one

uh huh
i just didn't want to use Impl everywhere
and no one uses my plugin/api anyways 🙃
.
exhibit a:
I would use it if it didn't have API at the end of the name
API RandomPlugin
Internals ?
what if I already had all my code but without the API
and didn't want to rename a bunch of classes
and modify like 100 files from the refactoring
what do i name the api stuff
right click -> refactor -> rename
yes
that doesn't affect git tho
but im just saying
What exactly would the internals do?
Having Plugin in an api name sounds odd
ex BedwarsGame
Yeah context needed
context bukkit ig?
that gives literally zero information
wb this example
yeah youre right
basically just a connection between some stuff, with some configuration getters, handler getters (messages, actions) etc
Game & BedwarsGame
Unless you have multiple game types having Bedwars as a prefix adds nothing
id love to send an example but id get shamed more than i could handle here soooo
ah and name everything internal Bedwars**?
ig that's what craftbukkit does
API -> BedwarsGame
Internals -> SinglesBedwarsGame, DuosBedwarsGame, SimpleBedwarsGame, etc
i think my names suck because i made the api after i made the plugin
right click -> refactor -> extract interface

@agile galleon
I'd just do this
this seems like the best way
it's the least bad
"best"
There is a difference in naming needed between interfaces with a known single implementation vs interfaces where multiple implementations exist
since Singles/Duos/Simple won't work since that's a misleading name
unless you call 841 lines simple
🥲
the issue i have with naming the api Game is interference with other plugin apis
in this case likely single impl
sounds like a your design problem
god class smh
ok this is like a year old
I mean you didn't specify how the games were, you just gave us names
i could never
yea fair
but i'm saying for my case those names wouldn't work
exhibit A (again cause nobody answered):
api AdvancedSomething
internals ?
the class is a bukkit plugin containing basic getters to access configuration and different features
what is AdvancedSomething
Please give an actual scenario
read 4th line
Actual names
alrighty
and ur plugin name
interfaces can sign contracts? /j
What about CartesianLikeBedwarsGame.Mu
the special connection between impl and interface, right?
CocartesianLike my beloved
the mental connection
If your API doesn't have support for ProfunctorFunctorWrappers you're wasting your time
Doesn't have to be with an interface, just the constraints that the method guarantees to follow
Exhibit A (revision 3):
The class we are exhibiting today is the plugin class of a plugin called MegaPee, which enables the minecraft players to have an actual sense of when their character has to pee.
This class contains overrides functions like: onEnable, onLoad and onDisable which shouldnt be able to be accessed from outer space (api users).
On the other hand, it has getters for variables like peeLevelHandler or something, which is another class containing methods to set the pee level for players by using PDC.
Another getter is a getter for the messageHandler containing useful methods for getting the message keys from a property bundle, parsing them and finally sending them to a player.
What would you call the interfaces for the handlers and the plugin class, and what would you call the internal versions of them.
Note: all of those only have a single implementation.
im gonna completely ignore the name of the plugin
you shouldn't be making the interface a Plugin though
it should just be PluginNameAPI or something similar
the impl is the plugin
i might be wrong but i don't think that's good
?
or it might be fine
idk emily what are your thoughts
i dont want to give false info
how are you supposed to access the rest of the plugin if the only accessible class through bukkit doesnt have any api?
i'm trying to take that wall of text dkim thank you very much
what
DKIM
or are you thinking of static instances?
Nobody's perfect
No it doesn't lmao
I am 
the public api is just LuckPerms
im talking about LuckPerms.getAPI()
or wait that calls the bukkit services thing right
no
or smth like that
also no
yes thats what i meant
thats what i do for bedwars too
BedwarsAPIProvider.getAPI()
or smth
people excuse me for my not child friendly language (not), but i wrote a fucking essay and youre talking about luckperms again
how many revisions of exhibit a do you want
DKIM is being a nuisance
sorry
DKIM shut up
Ok
i just got my rtx 3070 installed, im testing shit man
why are you saying DKIM
you got into queue?
we're juicing
cause youre a donut
im just digging my own grave atp
300-400 fps juicing
shame it's overwatch
overwatch bad
DKIM shut up
please get yo into something like #off-topic or something
no
yes
we're gonna switch topics
change channel name then
go back to your IPlugin ass
Can we get thread permissions already @admin
yes
do what luckperms does
the I prefix user is trying to speak
CoolPluginProvider.get()
First, don't expose the things from plugin like that, your API should be designed in a way that it doesn't depend on the plugin instance to be exposed, only the functionality
MegaPeePlugin -> MegaPee (this is the interface, aka the api)
If you have multiple level handlers you can either make it generic so LevelHandler<Pee> or just keep it as LevelHandler and make the specific implementation PeeLevelHandler
A MessageHandler can have the implementation of DefaultMessageHandler or YamlMessageHandler if it's coming from a config, etc
oh i like it
ive never looked at abstraction from the abstraction standpoint actually
yeah what matt said
ya
Mega Pee Plugin
We work with what we are given 😔
this is actually very interesting
so you could rename the api of LevelHandler to maybe PDCValueHandler or something?
well no
PeeDC

what if tomorrow you add sql support?
oh damn
zuppirt
but with level im strictly constraining it to levels?
