#dev-general
1 messages · Page 252 of 1
Some
There is no documentation yet though
Example of a config https://github.com/TriumphDev/chat/blob/development/plugin/src/main/kotlin/me/mattstudios/triumphchat/config/FormatsConfig.kt
And example of the settings holder
https://github.com/TriumphDev/chat/blob/development/plugin/src/main/kotlin/me/mattstudios/triumphchat/config/settings/Settings.kt
alright, cheers
how would I specify what a data class returns?
Declaratiosn
if only md_5 used the Bukkit config API in Bungee instead of making his own
i understand
data class test(): String
how would I set the string so I can return it
Wdym? Classes don't "return"
because I like the Bukkit config API, I just hate the Bungee one
unless im misunderstanding
is that extensions in kotlin?
Data classes are just classes that have properties, toString, HashCode and equals all done for you
object-oriented programming 101 tells you what classes are
ok thanks man, not exactly my question though
a data class is a special kind of class
classes don't return thingys
classes hold thingys
@ripe zinc For example, this is a data class in java
public class FieldSpecification {
private String name;
private String type;
public FieldSpecification(String fieldName, String fieldType) {
this.name = fieldName;
this.type = fieldType;
}
public String getName() {
return name;
}
public String getType() {
return type;
}
}
That class in Kotlin would be:
class FieldSpecification(private var name: String, private var type: String)
what does the ItemStack() mean?
class Class : ItemStack() means your Class is extending ItemStack
that's called a constructor
Yeah
: = extends or implements
actually helpful, thanks.
: Something() <- Extends
: Something <- Implements
ahhh ok
to explain that a bit further, when we call JavaPlugin() in the inheritance, we are actually calling it's primary constructor, but that's another story on how that works
e.g. in Java, you have to call super() when you extend other classes
please ;w; stop
in Kotlin, we do that by calling the constructor in the inheritance
kotlin question?
stop.
Efe
sender as Player
@obtuse gale you mean val player = sender as Player lol
I've got my answer guys please oh my god
^
That is wrong lmao
🥲
and ya fucked that up xD
@ripe zinc : "hi I have a simple question can someone help?"
#dev-general : "yeah well I think you should consider using a reflective inverted bimap implementation as your current system should declare an interface with a more clearly defined contract and you should really be splitting your 4 line method into 8 different classes for the Single responsibility Liskov principle which you learn about in Section 7 of Advanced Java course
classic
everyone gets a bit overexcited when they hear a kotlin question!!! 🙄 🤣
lol
Well i showed example for his question
excuse me sir i would like to correct on your statement as this "message" you have wrote which is trying to mock this channel, is based on events that happened in #dev-general.
Ah well that's where you've been outsmarted, sir
i have already realised my mistake and edited my message to correct it
good idea
☹️
maybe take a read of https://kotlinlang.org/docs/reference whilst you're at it xD
shame nobody writes irrelevant paragraphs for actually good languages, like clojure or elara or ASL
tf is asl
something doesn't work here https://i.imgur.com/Afb7oRH.png
i found out about ASL yesterday
Lmao
APL Mitten, here we come
That's so common for people to say developers are configurators
haven't you heard? "Developer"s are just people that can do something you can't now
- that should be a region capture but sharex decided to take a full screen capture -
well said
class SomeClass : private UnexposedClass, public ExposedClass guess which one :))
yes
you should very rarely be using arrays in Kotlin, or at least, I do
usually, List is a better substitution
ye ive never used an array once
or some form of Collection
yes?
why wouldn't it?
+/⍳100000
@prisma wave your favorite, professional YAML developer 🥲 #794429922454142986 message
!!!!
try and see
!!!!!!!!!!!!!!!
altho, NumberException?
toIntOrNull
no need to use try catch there lol
you don't have to use LBYL in Kotlin as much as you do in Java
lb what
actually it's not LBYL my bad, it's EAFP
Look Before You Leap apparently
same way you do in java
LBYL = Look Before You Leap
EAFP = it's Easier to Ask for Forgiveness than Permission
When ever you think "how do i do this thing that is not language related, in kotlin" the answer is "the same way"
same way
bukkit is just an api you are using
.
It's World#spawnEntity
🥲
😋
stop
LBYL = java if (condition) { // handle bad thingys } else { // do good thingys } EAFP = ```java
try {
// do good thingys
} catch (badThingys) {
// handle bad thingys
}
HEY
pretty much
you have a very nice imagination @jovial warren
no they're actually things
ok what about RUST???
I remember them being called that in my Java course
rust has the best way of error handling
Just wrap your entire plugin in a try catch Exception, no need to check anything
pretty sure is the other method
that return entity and you have to cast to your entity type
let mut zombie = sender.world.spawn_entity(sender.location, EntityType::Zombie);
zombie.name = name;
nvm that's right
spawn_entity
val zombie = sender.world.spawnEntity(sender.location, EntityType.ZOMBIE) as Zombie
^
val zombie = sender.world.spawnEntity(sender.location, EntityType.ZOMBIE) // Entity
val zombie = sender.world.spawn(sender.location, Zombie::class.java) // Zombie
What is name?
isnt it customName ?
and you have to use isCustomNameVisible = true
at least that's what I did for an armor stand
you set the getter to true?
val zombie = sender.world.spawn[Zombie](sender.location)
man kotlin is wild
you set the property to true
mhm
why is kotlin so weird
It isn't that weird xD
extend String {
let colored = ChatColor::translateAlternateColorCodes('&', this)
}
Tbh any language is weird if you compare them, like, go is weird af, but once you get used to the syntax then it's fine
go isn't weird 😦
Like i said, until you get used to it, it is
That goes to every language
is there a clean way to go through a list and replace the item inside?
kotlin obv
replaceAll is only for ArrayList, if im not mistaken
Something like list.forEach { it.replace("replacer", "replacement") }
man, i forgot you can just use the iterator
is it not the iterator?
no
lambdas are whack to me still
it is just the implicit parameter name when you have a lambda taking 1 argument
it refers to the current value of the list
Oh that makes a lot more sense
return this.apply { replaceAll{s: String -> s.coloured()} } was this a terrible way to do it before?
yes
this being an ArrayList
gross
ok ahaha
@ocean quartz what's the dependency for your ConfigMe fork btw? me.mattstudios:config:version?
maven { url = "https://repo.mattstudios.me/artifactory/public/" }
implementation "me.mattstudios:triumph-config:1.0.3-SNAPSHOT"
Should be, it's around 130kb i think
good
just pdm it 
I don't use PDM lol
sad
If only relocations 🙄
im using it for the first time and its amazing
ah thanks, Google didn't want to cooperate
@jovial warren An example of an addition I made that is much better than the original
To generate this
private-messages:
# List of formats to use for the sender.
sender-formats:
- "default-pm-sender"
# List of formats to use for the recipient.
recipient-formats:
- "default-pm-recipient"
# Single format to use for the social spy.
social-spy-format: "default-social-spy"
All i do is:
Each property can have it's own comments and custom export name
Which is not supported in the original ConfigMe
what if I say want something like ```yaml
formats:
ban:
header:
permanent:
temporary:
footer:
whats the difference between @Name and @Path
how would I load all those in?
@Path is the main path of the property
@Name renames the field (which will be part of the path), for example, if you have val customName it'll be path.customName, which i don't like so
@Name("custom-name") val customName will be path.custom-name instead
ah ok. is the data class just a type for the property to be then? Property.create(PrivateMessageHolder()) or something like that?
Probably something like:
// On settings holder
@Path("formats.ban")
val BAN = Property.create(FormatsHolder())
data class FormatsHolder(
var header: Type = Type(),
var permanent: Type = Type(),
var temporary: Type = Type(),
var footer: Type = Type()
)
ah okay
Yeah
nice
do you need to write your own serializer/deserializer similar to gson or does it handle it automatically
big mistake
You mean if I needed, or if you need to do it to use it?
eh, not really
yes really
if I would need to to use it
Nah, unless it's complex, like an interface
Which i also made a solution for it
For example, every time it detects the interface FormatDisplay it'll trigger my mapper
And manually create the object according to it
oh nice
omg no way
I just found GitHub dark mode lol
has that been out for a while or is it new?
Its been a while
a couple months at least
also howd you jsut see it its like a big button at the top of your profile
It actually pains my eyes for some reason 
does anyone have recources for learning more stuff in plguin development
rn im trying to make a GUI
but i have no clue
any good stuff I could use to learn?
Looking for useful libraries/frameworks?
Here are some which have been deemed useful by the community and are used daily.
-> Menus: https://mf.mattstudios.me/mf-gui/gui
-> Commands: https://mf.mattstudios.me/mf/mf-1/getting-started
-> Messages: https://mf.mattstudios.me/message/mf-msg
Menus
thanks
Np
you can try managing inventories, items and events yourself, sure
but it's a pain in the ass
im gonna try this
ill probably have some problems
but ill try to get help with those along the way
and then ill probably have full understanding by the end
wait a sec
what do i import the website doesnt tell me what to import and im getting errors
import what where?
i did that
and on the next page
its telling me to put some code
but idk where to put it
my main or a seperate class?
and what do i import
wherever you want, wherever you are actually creating the GUI
okay
i made a new class
but wtf do i import
because its giving me errors
when its not supposed to
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
uuh well, BanGUI is your class, it isn't one of the GUI classes in Matt's library
You want to use Matt's
Firstly how are you managing dependencies? Maven? Gradle? Importing the JARs as "external libraries"?
gradle
and you added this to your build.gradle..?
If so, you should be able to create a GUI by doing this without any issues
Why are you using BanGui
do what the example does, Gui gui = new Gui(3, "Punishments")
ok but we dont want to make a new instance of ur class
we want to make an instance of the class in the library
also show error if you use Gui
If you want to see a MFGUI example, you're welcome to have a nose at my open-source project that uses it;
https://github.com/MackenzieMolloy/ShopGUIPlus-SellGUI/blob/master/src/main/java/net/mackenziemolloy/SGPSellGUI/Commands.java#L128
you havent imported it
idk what im supposed to import
just hover over it and click import
If you're looking at my code, it's not just MFGUI it uses
intellij will do it
hover over what?
the word Gui
where is import?
Have you refreshed gradle?
show gradle build
well why didnt you say that in the first place.....
@weary epoch upload your gradle.build to paste.helpch.at
pretty srue the example on matts thing is outdated one sec
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
maven { url = 'https://repo.mattstudios.me/artifactory/public' }
error is on line 16
add that
¯_(ツ)_/¯
the errors because the shadow plugin wasdnt added right
I fixed it here https://hastebin.com/oqidikanar.m
where was i supposed to add it
My working build.gradle; https://github.com/MackenzieMolloy/ShopGUIPlus-SellGUI/blob/master/build.gradle
just replace ur entire build.gradle with this
I edited urs https://hastebin.com/oqidikanar.m
now refresh gradle
im reloading gradle
i would be so lost without this discord i stg
okay
no errors
now can you import that Gui thing when u hover over it
there you go
okay imma be back when i inevitably get another error
my man tryna load buildtools as a plugin
it is when you take over 10 gigs of plugins
and stuff
I took the entire jar folder on my pc
over 18,000 files
and dumped it on a vps

it does have it
lemme show you other failed attempts
actually its bigger than the limit
oof
oh god
12mb log file
that is an hour and what? 15? 20 minutes?
96minutes
hour and a half jfc
and then stopping server
Next stage: /reload
right as I try to login
actually
I tried that too
I set a macro to spam /reload confirm 1000 times
it was before I added any plugins
very boring log
server went to 20tps in like 5 seconds
lol
yep
nevermind doesnt exist
on papermc
paper-1.8.8-443.jar
what
@compact perch is annoyying
im so CONFUSED
barry not annoying
oof
lol
mobile would be annying thou
anyways im very confused
1.8.8 server actually starts
and spams less errors
its still starting
1.16.4 took 1.5 hours
5 versions of worldedit just started at the same time
oops forge jar was a thing in plugins wot
paper has 1.8.8
paper is 💪
did u see the 1.16.4 log
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
lmfao
lightshot is good or gyazo
snipping tool
anyone experienced in java and would like to help me fix this plugin I'm working on? I've been working on it forever and can't find anything about it online, or just can't understand what's there
You can always explain your issue in #development and someone will help you, or if you need someone specifically maybe #794429923698802708 or #794429922454142986
thanks
Up until now, even 1.16.4 api, Spigot is still weird...
Why does right-clicking a block with a sword in creative mode triggers BlockBreakEvent?
is there any particular API that people recommend for chest menus? i can just make it with inventoryclickevents, but if there's an API that does most of the work/structure already, there's no point in reinventing the wheel
please @ me if you respond
?mf
Looking for useful libraries/frameworks?
Here are some which have been deemed useful by the community and are used daily.
-> Menus: https://mf.mattstudios.me/mf-gui/gui
-> Commands: https://mf.mattstudios.me/mf/mf-1/getting-started
-> Messages: https://mf.mattstudios.me/message/mf-msg
Menus 👆 @random crater
preciate you
This server has done nothing but bring me down as a person. everyday i come in here and all you do is tear me down insult me hurt me with your words and do nothing but harm me emotionally physically mentally and I just can’t take it any longer this server is so abusive and toxic it’s crazy. no one even realizes how disgusting all of your behaviors are. every single time I talk or type or even do anything or interact with anyone in the server everybody just goes against me and gangs up on me like a pack of wolves and just attacks me and i didn’t do anything to deserve these attacks and these hurtful words. i literally just try to be nice to everybody but nobody ever wants to be in my shoes and nobody ever tries to sympathize with me and see where I’m coming from all of you just see me as the enemy and as the bad guy that’s trying to ruin the server or something when really I’m just trying to spread positivity. you guys act like I’m some kind of virus or disease, constantly casting me out so much, making me feel so left out and so alone in this server. it’s fucking driving me insane I feel mental and I feel like a weirdo just being around all of you because of how you treat me. at this point in time, I’ve given up on ever trying again and ever becoming any of your friends because I just know your feelings towards me clearly. i know all of you hate me and never want to be around me again or never have anything to do with me. it’s clear that you all think I’m a joke and that I’m stupid, idiotic and boring. it’s so mean because I literally don’t do anything to you guys but you guys always act like you hate me and it makes me feel so confused because I don’t know what I did to deserve it. I feel like I should just leave because clearly nobody wants to be around me and everyone would be happier if i left anyways so i’ll just go and i hope all of you find happiness in life and i’m sorry for all the troubles i’ve ever put any of you through. i give up. goodbye.
Ok
lol k
Lol
Kek
huh, he only has like 2 messages on here and only one question Is there a javadocs api?
people are weird
k
What would you name a package which contains permissions and messages stuff
But it's messages as well so that doesn't make sense
Would using Objects.requireNonNull be acceptable if I already validate that it's not null beforehand? 
I'm checking if it's null beforehand, but I'm using it again after I call an event, so IJ doesn't know it can't be null
Huh
"huh"?
ur colour scheme weird
he checked UUID.fromString() before but IIJ doesn't know that unless you assign that to a variable and then check and use that variable instead.
the f
copypasta I thought
It was
They had like 3 posts in the whole discord
only one actual question
the rest random stuff
o
Rare pasta, damn
@quiet depot How would you name a package which contains messages and permissions shit
are they hardcoded?
well they're not really anything alike
apart from the fact that they're both strings
so don't put them in the same package
I know, but I kinda don't wanna have seperate packages for 1 class each
lol thats so hard to read
yes
😦
Integrated circuit?
Interstitial Cystitis aka Painful Bladder Syndrome?
@obtuse gale does ur bladder hurt
u said this
which means Interstitial Cystitis
also known as Painful Bladder Syndrome
... that makes more sense
my intellij install just updated to 2020.03 and im confused
the landing screen is different aaaa
when u open it
when it shows a list of ur projects
not loading
hold on
uh
imgur is a dick hold on
damn no embed
reee
i run linux so i can't use lightshot 😦
that ^
i disabled the automatic project opening
i go where i want to go not where u want to go intellij!
okkkk
I use screencloud as a decent alternative
it's a bit buggy
but it works
ill check that out, thanks 🙂
windows ftw
said no one ever
windows is objectively worse for development
What specifically would be worse?
108 votes and 218 comments so far on Reddit
what if I don't program 100% of the time ;-;
bm is it possible to install linux with windows already installed
or do both need to be fresh
I don't like cmd line 😐
gui is good for more complex things
only people that say they don't like cli are the people who don't know how to use cli
but having to open a bloated GUI for a simple task is such a waste
me
How would I remember that ;-;
experience
that's so easy to remember
sudo apt -y install package-name
but for mc u have to still manually install on website
no you don't
What other than packager manager and better suppourt for command line?
lol
minecraft launcher is on the AUR, probably on ubuntu repos too
🤣
Framing the question takes time for me
yugi there's also the obvious benefit of resource consumption
which would definitely benefit plebs like frosty who use potato pcs
but not even that though
I have a relatively decent laptop
16gb ram, i7 9750h, gtx 1650
lack of a package manager mostly, worse support for things like C and C++, linux file system is a lot nicer, it's SO much easier to set environment variables and things (eg temporarily downgrading to java 8 to compile something), much easier to get local installs of things like sql databases, webservers, grep is nice, being able to update without restarting
and I noticed a HUGE performance improvement when switching to linux
etc
Sorry man didnt get enough time to look up stuff
lack of a package manager mostly, worse support for things like C and C++, linux file system is a lot nicer, it's SO much easier to set environment variables and things (eg temporarily downgrading to java 8 to compile something), much easier to get local installs of things like sql databases, webservers, grep is nice, being able to update without restarting
native docker support
I have pretty much similar specs but windows seems to run beautifully
native docker support
for me it wasn't a performance increase per-se, but a productivity increase
running a debug server, playing, and developing was an issue iirc
running a debug server, playing, and developing was an issue iirc
discord dying or just me?
Discord dying
weird, works fine for me
what is a debug server?
also this is a really small thing but KDE's default file explorer has an integrated terminal that automatically goes into the current directory
which is amazing
Altho, im just mostly worried about the drivers on switch to linux
drivers for what specifically?
Graphics card
only driver issue i've ever had was for a cheap wifi dongle, things like GPU drivers are very well supported
what gpu do you have?
gawk gawk 9000
is there glorious mouse software on linux 😋
Googled earlier and some NVidea drivers seem to have weird effects on Linux
no
GTX 1070
😱
as long as you install nvidia's proprietary drivers and not noveau, it should be fine
god discord is so slow rn
^^
yeah it's giving me cancer
How about game suppourt?
nvidia's drivers aren't as good as AMDs but they're still decent
Hmm
fine
any game that isn't full of DRM will probably be fine
it's getting better
proton is good
Lets say, GTA5, Watch Dogs 2, Metro Exodus..ect?
idk about those, but i would just dual boot for games tbh
Worried about the space mostly for that case. say how much space would I have to allocate if I install it in my second drive?
most distros are pretty small
linux is way smaller than windows
This is how much I have left atm
ubuntu is probably about 8GB? but you could get something very light if you really cared
I think ubuntu requiers 20gb
Yea but ill have to reinstall a lot of the tools
oh lol
youre probably right
going off that
like what?
it's a lot quicker than windows
i can usually get started from a fresh install in about 10 minutes, excluding download times
maybe
jb ides, jdk, compilers for some other languages,an image Editor, Document editor...ect?
much faster than it would be on windows
Partnership with Tesla coming soon
JB stuff just download toolbox (which is probably provided by a package manager) and set them installing
jdk you can use SDKMAN which is amazing
It isnt particularly slow for me already tho
I need to clean up my drives
i'd keep any productivity stuff on windows just because Word + Photoshop are unbeatable
eh honestly I find libreoffice fine
libraoffice isnt easily compatible with word files tho right
pretty sure it is
it's 100% compatible
doubt many people would use libre if it wasn't compatible
libreoffice is fine, ms office is just MUCH better
The page margins and stuff was off a lot when I tried switching
i usually end up using google docs now anyway
efe driver managers are built into the os
Is there any tool that can let us know what we can clear up?
for windows?
Yes
ccleaner?
Having a look
Ah
no
Spyware?
ccleaner is just shady af
most of the "cleanup softwares" are kinda scams anyway, they just clear useless stuff like thumbnail cache
it'll silently disable windows defender and install avast anti virus
and it'll show a little bit of info about what it might be able to do
and then ask for money to actually do anything useful
yeah
TreeSize Free is a free disk space manager for Windows. The software shows you the sizes of folders including all subfolders.
vanilla windows cleanup functionality is perfectly fine
Cheat Engine intalled a chromium malware for me earlier
🥲
0 viruses on linux
lol
my appdata is like 70gb
installations
I can delete the the older versions then right?
ye
Alrighty
lets say I want to get a long string as input from a player, how can I open a command block window so the player can type it in there
Why you using command blocks, ew
tell me what to use then
and I wont use an anvil gui
Well what's the goal for this
in my case
to send a mysql command through minecraft
and since those can get pretty long
long enough to not fit in chat or a sign
I assumed I could use a commandblock
Book?
that could work
Sounds ew to be inputting queries tho, since that could really be harmful
github are deprecating using passwords when cloning a repo what
smh
i dont even know if my gpg signing key is still around
how would I go around to doing that? xd
^
ctrl + u
To open which shit?
assuming ur using chromium and similar
Where do y'all host the images you put in your README? In the same repo?
you could create a separate folder for storing images (in the same repo) or just create an entirely separate repo for images purposes
jesus gradle is so much faster than maven what
Yup
feels like ive gone from driving on peanut butter to driving on a newly layed road
BUILD SUCCESSFUL in 723ms took 15 secs in maven
Imgur
success
good
how are you?
good
massive console window, takes up an entire monitor, and it says
BUILD SUCCESSFUL in 1s
thats all it says
oh i also decided to use pdm
pog
pretty nifty ive gotta admit
pdm is great
eh might do on my next project
Nice one Microsoft xD Send me a mail with my mail censored inside :))) https://i.imgur.com/hl2sVZB.png
oops wrong channel
lol
missclick but still funny
they sent me a security code on my mail address but they censored my mail address in the actual mail
xD
safety first!
I'm using JDE1.8 + Spigot 1.15.1 with the newest PlaceholderAPI. Could this be the reason towards why my server thinks the plugin.yml file is missing whenever I add PlaceholderAPI as a depend/softdepend?
can you show the error and plugin.yml?
the reason the plugin.yml is missing is probably because its missing
xD
you sure its in your jar?
It works fine until I add the depend
hmm ok
And yes it is
can you show the
errorandplugin.yml?
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Ah yeah let me hop on my pc
NICE
oh also bm get some moderation on ur discord server ;-;
I left
because of a spam pinger
he was banned
Welp it's working now. And I haven't touched anything from yesterday.
:what:
i mean the issue was that everyone had perms to ping everyone lol
really?!
oh at first he just pinged llike 3 users
then I left bc i was getting pingedd like a billion times
I took away the everyone perms
He was just pinging individually
And they've been banned since
Yeah
lmaoooo. I found my first ever plugin xD ```java
package blitz0001;
public class FirstPlugin {
@Override
public void onEnable() {
getLogger().info("My first plugin has been enabled!");
}
@Override
public void onDisable() {
getLogger().info("My first plugin has been disabled!");
}
}
welp time to delete
blitz0001
xD
lmaoo
fuck how did you move memory from D to C?
bcz I'm running low xD
k. that doesn't actually help xD
tfw when you store memory on SSDs
OMGGG
I actually saved a backup
well a bit old
but I actually have one
that used to be my minecraft server world ^
well it got to like 170 or 180 until I reset it
no
will take me 2 days
to update
storage*
I know
;-;
you know what would be more helpful? actually telling me or giving me a link to some random post I can't find xD
;-;
;-;
Hey everyone. Just wondering if I could get some help on an error, where is shows my "plugin.yml" doesn't exist when it does. I'm pretty confident it's the correct spot, but.. yea..
and you've put plugin.yml in resources ?
Eclipse 🙄
Spigot has an example on their wiki for Eclilse @trim bear
you need to put it under src/resources
not in your main package @trim bear ^ same for config.yml
Hey, I need some help. I want to detect if a skeleton shoots another skeleton. (I'm trying to disabled mob friendly fire) Blocking zombie is probably easy because its melee based combat but I'm having issues figuring out ranged combat
d;spigot entitydamagebyentityevent
public class EntityDamageByEntityEvent
extends EntityDamageEvent```
EntityDamageByEntityEvent has 1 all implementations, 2 methods, and 1 extensions.
Called when an entity is damaged by an entity
when i make a plugin
well the entity attacking the skeleton is an arrow and not another skeleton
Cast it as a projectile and get the shootere
ok
@obtuse gale What Operating System are you on?
Windows 10
Can you send me this file: C:\Windows\System32\drivers\etc\hosts? afaik it shouldn't have any private info
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 1_______BLEEP_________ rhino.acme.com # source server
# _______BLEEP_________ x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
_______BLEEP_________```
what is _______BLEEP_________
Private info
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
wdym "Private info"
like what is it?
not the actual contents
but like
what it is
My server's IP
I love how you say it's private info yet it clearly says "For example:"
Not only that but the ip in there is the same in every windows installation
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# BLEEP localhost
# ::1 localhost
BLEEP BLEEP.local```
F
um
Anyone ever built their own game using Java?
@obtuse gale built a snake game. and I think a tic tac toe if that helps xD
Anyone got MC opened and could help me for a sec

latest
lemme dm u ip
wow frosty am i being replaced? 😔
L
You mean first person?
yh i made cod in java
xd
I had this game idea
and i was awake till like 4 just thinking about ideas
i wanna try start somethung
Ah, ive havent done any first person but have written a isometric one partially
ye i have no idea about game design
Youll probably be better off using a Game engine like Unity
thimk so
You can compile to web with Unity instead
Yes
na i just meant only using CSS
Yulara
nohting else
huh
Oh BM made it in here I think
Moon names
Might have been Sx's suggestion
Not sure
oh ye lmao
i totally forgot elara was also sxs project at the start 🌚
the good old days 😔
why'd he stop working on it
oh dam
if u werent there, u dont gotta know 😬
o
was it that bad tho? I remember him getting upset at what clip said but dk how it went after
😬
I invited yugi and katsu and he just left lol
I think he wanted it to be just me and him
But he'd been inactive for like 2 weeks
So
oh damn
🙄
katsu dead aswell
its the object of the sentence or something so its me and him
😔
don't believe so james
Yea formal english has you mention yourself last in a list including you I think
Or atleast thats how I remember it
Katsu is still on there, hes just inactive here I think
it's a shame that people go inactive 😦
He's been dead for a few weeks
Completelly ditched on a few projects he was hired to do
sad
rip
him and i
lol
yikes
yeet
The sentence was
I think he wanted it to be just me and him
Look at the part
it to be just me and him
thats a clause with a subject, verb and object.
Subject: it
Verb: to be
Object: just me and him
meandhimare the object pronouns therefore me and him is correct. im almost positive on this lol. https://www.grammarbook.com/blog/pronouns/tis-i-or-tis-me/
;-;
him and i
no chance
him and i
Example: Between you and me, I think Sandy cheated.
Again, me is not the subject nor does it follow one of those state-of-being verbs. So we must use the object case. (For those of you with some grammar background, you and me in that sentence are both objects of the preposition between.)
:/
weird