#help-development
1 messages · Page 2084 of 1
can you help me?
):
why
):
how much it takes
this his page
i asked him to modify the plugin a little
just like 3 lines changed from the original
Wait isn't Kaspian in here somewhere
he is
Just ask them to?

Well I mean you'd either have to pay someone to do it or set it up yourself
dont ask mike
i didt
I cant reload the pom anymore... how can I fix this? log: https://gist.github.com/ItzJustNico/6fba3978e8b12f387fab4d9b7fd3741a
i am broke + i have 0 yea
Well you can do it yourself. It's not rocket science
clean your project?
how?
what does that mean?
No package manager like gradle/maven
none
Basically it's good old manually packaged
why would you need a project?
to compile the plugin
ooofff
if there is code there is a "project" no?
Any good tutorial to understand how minecraft x, y, z works like what does them
that makes no sense
My German is as good as my French I assume it's command not found
me too
thats like dutch
nothing
was that in your intellij console/terminal?
yes
Because i need to calculate a cuboid (2 corners) of x (any radius size) blocks around a center locatio. So i want to start from the begining learning how x, y, z works to them apply math
copy all the classes? lol
ohh
or the sidebar
Didn't we already solve this issue

did it but didnt change anything. and the session.lock file is smth from a world from a mod i programmed once idk why tf its there
why does it even try that
perhaps you should see what validate tells you
In Minecraft, it’s important to know where you are in the world, where your agent is, and where all kinds of things from diamond mines, to woodland mansions, to underground spawners are. In Survival mode, it’s even more important to be able to get back to a safe place when the sun starts to go down, or to remember the location of points of inter...
you shouldnt have stuff from other projects linking into maven ...
whats that
Lmao working with math sucks a lot and even more when you have 3d plain
This command validates the maven project that everything is correct and all the necessary information is available. ```
If having 2d sucks (x, y) its diff
how do I even link smth to maven I am so confused
"0":{
"name":"magicdust",
"timePlayed":"579259"
},
"1":{
"name":"player684",
"timePlayed":"97759"
},
"2":{
"name":"defreeyay",
"timePlayed":"299808"
},
"3":{
"name":"IIl1Il1IIl1IlI1l",
"timePlayed":"119975"
},
"4":{
"name":"shinaoki",
"timePlayed":"56001"
},
"5":{
"name":"prava",
"timePlayed":"558187"
}
}```
I have this json, how can i parse it? i want to get *name* and *timePlayed* i tried many times different ways but idk
any help please
my guess is that you didnt create a new project? you reused an old one?
only 1 project is listed there
Use a JSON library or figure out if java has one built in?
Also probably want to learn JSON if you don't understand the structure
ideally send it through gson and pick it up thru a type adapter
I created it on a other pc since I am switchen houses every week so I am continuing to code that project but since I switched on this pc it doesnt work anymore
docs or smth like that? please
gson is a library
Do you use GitHub to maintain your project?
no I just have the files in a cloud and get it from there
Well there's your first issue lol. Use git
im using gson for printing json, what a type adapter is?
dont know how that works tho
but will that fix my problem?
It'll help prevent issues lol.
its for serializing and deserializing it
like from json to your object and the opposite
ObjectMapper 
Convert any JSON to POJO objects in Java online. FreeCodeGenerators is a free parser and converter that will help you generate Java classes from a JSON object and use Jackson librairies to deserialize into a Java class.
the github in the browser or desktop?
You're using intellij?
yes
Then you just need the browser and you can handle everything else in intellij
Oh you'll need to install git tho
i have that
any good tutorial for doing this?
lol no
I mean gitkraken is just more sophisticated than github desktop but ye
not if you use intellij. Using the integrated version in intellij is literally writing commit message and hitting 'ignore warnings'
Intellij has way better features
they're nice if u dont wanna learn git cli
It's a breeze to fix those pesky conflicts
I mean intellij is a bit weird, "Commit and push anyway"
3 round people:
1- Calculate the 2 corners (in blue) knowing a center (x, y, z) location
2- Calculate a cuboid from the corners knowing a max size (so the cube size is 3 blocks around the center block)
I mean this is super basic math. What's the issue here
what's a math
My brain idiot is the problem, that im so idiot that i cannot do it
git or intellij?
- Stop calling yourself stupid not doing yourself any favors
- Just practice in a 3d space maybe start with 2d or something. https://www.desmos.com/calculator
Mike i have done this class:
I mean I gave you code that one time that literally had the ability to solve all your issues
you need to do a AABB box
You giveme a code but people told that it should be abstractive or something like that
Yeah well some people are wrong some people are me.
I've never had any issues with git in intellij 🤔
on a different topic guys...
if you replace the plugin jar, you need to reload the plugin to get it active
it still works as if you wouldn't have changed the file
but
if you remove the file it stops working?
how does that make sense?
imean
its either in RAM or it isnt
but not both
And people told me to use Math min and max in the code
Yes
yes
Let me show you
...why
only stuff that is being used currently or frequently is always in ram
And also they told me something about that corners 1 positive and other negative
...like event handlers. And static shit isin the file...
Also I found it lol https://paste.md-5.net/upiluqibus.java
So im rlly messed
you wouldnt want a everything in ram if its not being used, unless you can afford ram-drives
this wht i get messed
Well in 3d space (like MC) you can have a corner be at -x,y,z x,y,-z
Not me booting off my RAM.
yeah so your code fix that issue?
Fuck a page file. Once I’m out. Im out. Lmao
I mean my code works in the sense that it works as a bounding box
does verano123 understand how 2pi makes a circle?
ez
Maths is too complex just yhrow enough plus and minus at it till it works
So how i have already make your improvees:
centerLocation.add(3,3,0); is top right corner
centerLocation.substract(3,3,0); is bottom left corner
wait
actually
if i add two tasks to the bukkit scheduler with different ticks to execute in, does the first one finish before the second one, no matter what happens?
no
damn
they run roughly when you schedule them
im asking because i recall bukkit being single threaded tho
and...
so shouldnt it work through all run() of the scheduled tasks for tick 1 before it goes onto the scheduled tasks for tick 2?
The reason you use min and max is so that you make sure that you don't invert your points and do your math wrong.
public CustomBoundingBox(double x1, double y1, double z1, double x2, double y2, double z2) {
this.x1 = Math.min(x1,x2);
this.y1 = Math.min(y1,y2);
this.z1 = Math.min(z1,z2);
this.x2 = Math.max(x1,x2);
this.y2 = Math.max(y1,y2);
this.z2 = Math.max(z1,z2);
}
if you set timer A for 1 hr and timer B for 5 min, B does not run at 1hr5min, it runs at 5min
Does that also apply if you make another runnable inside an existing one?
Cannot answer that to know if the first one wraps until it is run or not
This my final contains
@Override
public boolean contains(Location location) {
boolean xMatch = location.getBlockX() >= Math.min(point1.getBlockX(), point2.getBlockX()) && location.getBlockX() <= Math.max(point1.getBlockX(), point2.getBlockX());
boolean yMatch = location.getBlockY() >= Math.min(point1.getBlockY(), point2.getBlockY()) && location.getBlockY() <= Math.max(point1.getBlockY(), point2.getBlockY());
boolean zMath = location.getBlockZ() >= Math.min(point1.getBlockZ(), point2.getBlockZ()) && location.getBlockZ() <= Math.max(point1.getBlockZ(), point2.getBlockZ());
return xMatch && yMatch && zMath;
}
how can I spawn a particle exactly where I want it and not have any positional variation put in automatically?
See that's so much work compared to just
public boolean isInside(double x, double y, double z) {
boolean xCheck = x >= x1 && x <= x2;
boolean yCheck = y >= y1 && y <= y2;
boolean zCheck = z >= z1 && z <= z2;
return xCheck && yCheck && zCheck;
}
do what mike sent
But does it fix the issue with negative and positive?
There is no issue with negative and positive
^
oh ok
negative is just below and behind the center - its just notation for orientation
The beauty of using min and max is you can pass in 2 arbitrary locations and you don't have to care which one is the lower value/higher value
btw
centerLocation.add(radius, radius, radius); is top right corner
centerLocation.substract(radius, radius, radius); is bottom left corner
in here radius is 3
So RGB colors work in chats, scoreboards, signs, books... Is there a way to have them in titles/subtitles as well or is that not possible? And if not why?
It’s possible in titles.
How do you get the internal ID from a Material?
Like minecraft:stone
why substract 0?
The same way it’s available in every other context. You just need to use the bungee ChatColor.of() method and pass in a valid hex color code.
first one is max corner
Along side your text that you want colored.
Im not workign 2d
im working 3d
0 would be whatever center is - although say that is the corner wouldnt be quite right
So that would be in the boolean contains?
IIRC, titles work off JSON internally, so it should have the same values/parameters as the tellraw command.
can i use the vault api instead of luckperms api?
since here
ur going up 3
those dont really overlap
e
which leads to max corner
if radius is 3
and second ur going down three
left three
back three
which is the min corner
The question is why do you want the corners?
centerLocation.clone().add(radius, radius, radius); is top right corner
centerLocation.clone().substract(radius, radius, radius); is bottom left corner
this
So hex this is the final code?
to create the cuboid
not point 1
You only need 2 not 4
biggerPoint()
sir
unless you don't want a cube you want a rectangle
Or, if the method for sending titles doesn’t work with TextComponents, you could use ChatColor#fromLegacyText() and pass in a string with both hex codes and color codes.
This are the reason of getting messed
So what shoudl i do?
does any1 know what the Material type is for patatoes?
Mine works if it's a cube or a rectangle. You only ever need 2 points
u cant
So like that or what?
Material.POTATO?
wat r u talking about sir
I'm saying you don't need to store 4 points just 2
basically ur idea wont work if its not a cube
bruh i spelled potato wrong XD
u cant get a cuboid from a radius
you only need 2 point or 2 frames for a rectangular prism
hes tryna get a cube of a center location
yeah
But knowing a size around
Yeah
it cant be a rect tho
I dont kno why i get messed
i dont want rect
i put the luckperms dependency in my pom.xml but it not doing the working
Forget about them
ok
a cube with zero depth in one axis is a rectangle
So the code is correct or not?
.
ok nvm
you got it?
Well if you used my code I imagine you'd just need to do something like
public CustomBoundingBox(Location location, int radius) {
int x = location.getBlockX();
int y = location.getBlockY();
int z = location.getBlockZ();
radius--;
this.x1 = x - radius;
this.y1 = y - radius;
this.z1 = z - radius;
this.x2 = x + radius;
this.y2 = y + radius;
this.z2 = z + radius;
}
i try the code and tell me that my location its not inside the claim when im inside
lol
too much work
wat
Apparently
thats weird
So please decide what code me i have to use
Like yeah the code should work. But I hate having to have Locations instead of simple variables for the points 
it will be offset
You need to subtract 1 from the radius I believe
what you told me
Unless it's included in the radius
Heee?
not how to expand it with another location
will still be offset with an even radius
public class CuboidRadius implements Cuboid<Location> {
private final Location center;
private final double radius;
private Location point1;
private Location point2;
public CuboidRadius(Location center, double radius) {
this.center = center;
this.radius = radius;
this.expand(center);
}
@Override
public void expand(Location location) {
this.point1 = this.center.add(radius, radius, radius);
this.point2 = this.center.subtract(radius, radius, radius);
}
@Override
public boolean contains(Location location) {
boolean xMatch = location.getBlockX() >= point1.getBlockX() && location.getBlockX() <= point2.getBlockX();
boolean yMatch = location.getBlockY() >= point1.getBlockY() && location.getBlockY() <= point2.getBlockY();
boolean zMath = location.getBlockZ() >= point1.getBlockZ() && location.getBlockZ() <= point2.getBlockZ();
return xMatch && yMatch && zMath;
}
@Override
public Location getPoint1() {
return this.point1;
}
@Override
public Location getPoint2() {
return this.point2;
}
@Override
public Location getCenter() { return this.center; }
}
oh u didnt do
return this.point1
as i said
u forgot one thing
.clone()
ur making changes to the center loc
then changing it again
we want the center loc to never change
can someone tell me why to clone locations? arent they immutable?
atleast in newer versions
add() will change the location x,y,z
clone() to get a copy of it then apply ur changes to the newly made copy
@Override
public void expand(Location location) {
this.point1 = this.center.clone().add(radius, radius, radius);
this.point2 = this.center.clone().subtract(radius, radius, radius);
}
so like that?
yea
Allr
point1 is the maxPoint
not getting it from an entity, its just a location
I will test
stupid
the bigger point (upper right corner)
So if i test it and dont move from the top of the center block, it should tell me that inside the claim
why does luckperms start with a lowercase l? what do i have to do
Because its a variable?
e
if your radius is 2 won't that make the cube 5,5,5?
If the radius is 2, it should protect 2 blocks around the center (left, right, top and botton)
So 5x5x5
Only if radius is 5
its the api
No that's a 5x5x5 square.
yes
WHy?
That's the total amount of blocks that would be protected
Heee
private LuckPerms api
Yo Im working on a item system, how bad would it be to have an object for every item?
Memory wise
This will be the amount of blocks inside the claim so?
itemstacks?
yo, anyone familiar with how to spawn particles in precise locations?
declaration: package: org.bukkit, interface: World
they jump around and are definitely not precise. i think its due to the particle i used
Only right and left? It should protect bottom and top too :/
It's an example 
up and down and in and out
ohh ok
To show you that it's going to be 5x5x5 so if your radius is 2 it'll be 5x5x5
Do I need to make a video to explain it lol
?
What do you mean by object?
you speedcube a 5x5x5?
I'd just show in MC an actual example
like would the size of the object be much of an issue?
I don't understand what that would be an issue
other than running out of memory?
yeah i meant memory wise
You'd have to write some pretty dumb stuff to do that
SO basically, ur center is the star, u have to go up by radius (y) and by radius for x and z to reach point 1, reverse for point 2
and here radius 1 generates a 3x3 cube
@sterile token
no but like having the items active in the memory all the time
ignore to get to the star thingy
Well do you need to?
the star is ur center
That's the million dollar question
kind of yes
Figure out what the minimum amount of information you can store while maintaining the data required and use it
proof my method works
gives 2hex a grade 6 mather certificate
this also proves what u said @vocal cloud
lol
ye i wanna hear your voice 
at least i explained it
Gimme a sec to record it lol
i want to know if he can speedcube in minecraft
dont think itll be that easy with a video
my low quality paint is enough
if ur 10 years old or older
ur 11
looks for a rubikscube plugin
at least i can understand it :OOOOO
read what i said
Yeah i read
the image too
But why its giving 5x5x5?
cuz
That what i dont understand mike explain
listen
ok
🟦 🟦 🟦
🟦 🟫 🟦
🟦 🟦 🟦
radius of 1
well the corners would be more like a triangle but
Oh oook
🟦 🟦 🟦 🟦 🟦
🟦 🟦 🟦 🟦 🟦
🟦 🟦 🟫 🟦 🟦
🟦 🟦 🟦 🟦 🟦
🟦 🟦 🟦 🟦 🟦
So gives 3x3
radius of 2
Allright now i u understand
2 blocks on each side
I wasnt understanding wiuthout explaime
Its like if i dont get an example i get hougman inside a water of water
Its like i yes or yes need example to understand
Ohh
yeah no emojis are simpler
i think
mostly cuz you can relate it to minecraft in some way
Well I can show you in MC
ur going right 1, left 1
counting 1 and 1 and the center (1)
makes 3
same for 2
go right 2, left 2, and center is 1
wow there is a whole physics class going on here actually interesting
not really physics
in verano123's head anyway
ye
it'll be 2k eventually when youtube processes it
if i want to use player.sendBlockChange(location, BlockData)
and i want to send a TNT block for Block data how do i tell my BlockData instane to be of the type TNT
Lol you have a tutorial voice
yea true
I bought a nice mic and now I make youtube tutorials explaining radius. Send help
And really thanks for the example
lol
make more
Mike why dont you do a good tutorial about location and vectors?
Not now its a suggest
😂
Cause I don't have a reason to
make spigot a full course on java cuz yes i actually understand what you are saying
also a suggestion lol
i doubt you can get to 7th grade without knowing whats a vector or location
Im 15 and i dont understand
what
back in mah day
lemme listen to that voice
axe?
Yeah because x y z they mean something
They are not used because they read good
axis
x axis y axis and z axis
means you need to go back to school...
x, z y are all axis?
Not unless they're axis. If they're coordinates then they're points on an axis
veran ru actually 15
xyz are arbitrary variables to denote a position on a plane. x,y are common western notation for cartesian plane charts/graphs
we learnt that at 5th grade, dunno about ur country
xyz actually aren't axis. They're variables to replace the actual names for them
Horizontal, Vertical, Diagonal
im 15y, 4th high-schol (2 before university, 18y its the age you start university) and from Uruguay
Its really diff
They replace the names cause no one would understand if you said 15 horizontal 16 diagonal.
most would
Yes really
thinks they use variables so they can make word problems longer and worse
It's a lot easier to use X Y Z
What do you recommend me ti store the cuboid or location on my claim object?
some kids dont even understand difference between x and z
can we put it like y is horizontal pos and x and z and vertical pos
i mean the opposite
and vectors are diff right?
you can always go greek alphabet
Axis usually are bound to a relative dimension. Vectors aren't
vectors are single dimension
You can have 3d vectors
Learning Phoenician are we
trading in the orient?
The only thing I like to do on the orient is murder
never initializing it, as i said, just sending a spawn packet from an existing entity (sry for late response)
well
So x y z - x y z (2 diff locations) will give the center right?
Alpha, Beta, Gama, Delta
is derieved from Phoenician
same for arabic's ابجد هوز
Yes but you'd need to divide by 2 then floor it
What methods would be useful for a cuboid interface?
https://paste.md-5.net/etucuduzaj.java All of these according to mojang
A ا
b ب
g ج
d د
If you're asking yourself the question of "what do I need for xyz" implement it and when you think to yourself "dang I need this" then do it
What do the docs say
Ah so use setdirection and not velocity?
But i can't make it static that way can i?
I was hoping you'd see the
Yeah i saw that
In otherwords you might have to use NMS but even that might not fix it
you could reskin a block with the firebal texture
I have this formatMessage method, which is static
private const val MESSAGE_PLACEHOLDER = "&%b[&%t&lLemonMines&%b] &r:"
fun formatMessage(input: String, severity: MessageSeverity): String {
return when (severity) {
MessageSeverity.SUCCESS -> formatColors(input, arrayOf("%b" to "2", "%t" to "a"))
MessageSeverity.INFO -> formatColors(input, arrayOf("%b" to "1", "%t" to "9"))
MessageSeverity.DEBUG -> formatColors(input, arrayOf("%b" to "6", "%t" to "e"))
MessageSeverity.ERROR -> formatColors(input, arrayOf("%b" to "4", "%t" to "c"))
}
}```But there seems to be an error, I found the pair method to do it on some random kotlin guide site, but this keeps erroring
I have a repeating placeholder that I want to replace
are you using kotlin?
was just checking
hahaahahahahahaaha emacs
what emacs
what is the error you are getting?
Oh my sweet summer child
how do you get the size of claim?
i found out %s is for string
ask your miner
radius = 1
2x2x2 right?
i fixed it
Its possible to?
String text = "User {user} conencted {server}";
String replaced = String.format(text, "{user}", user, "{server}", server);
alright, got a new error
private const val MESSAGE_PLACEHOLDER = "&%s\\[&%s&lLemonMines&%s\\] &r:"
fun formatMessage(input: String, severity: MessageSeverity): String {
return when (severity) {
MessageSeverity.SUCCESS -> formatColors(input, arrayOf("2", "a", "2"))
MessageSeverity.INFO -> formatColors(input, arrayOf("1", "9", "1"))
MessageSeverity.DEBUG -> formatColors(input, arrayOf("6", "e", "6"))
MessageSeverity.ERROR -> formatColors(input, arrayOf("4", "c", "4"))
}
}```
it complained about that shade of green?
Caused by: java.util.MissingFormatArgumentException: Format specifier '%s'
formatColors is the following:
private fun formatColors(input: String, replacements: Array<String>) = ChatColor.translateAlternateColorCodes('&', (MESSAGE_PLACEHOLDER + input).format(replacements));```
So i would need a GroupMatcher right?
you have X amount of %s in your string but didn't provide enough replacements
I want to set the world world's biome provider, how would I go about doing this? I tried a world creator but the issue is that the world already exists
What shoudl i use on PlayerMoveEvent to check if claim exists, getFrom() or getTo()?
getTo() since you probably care about the new, not the old position
It says I cant create additional worlds during startup
I am using WorldCreator
hm then I don't know
Arr thanks
it's possible to set a custom World creator for the vanilla worlds in spigot.yml IIRC
where would I learn more about that?
I'm currently trying to find something about it myself lol
in bukkit.yml:
worlds:
YourWorldNameHere:
generator: YourWorldGeneratorPlugin
basically you have to create a public ChunkGenerator getDefaultWoreldGenerator(String, String) in your main class, as it seems
and ofc use load: STARTUP
declaration: package: org.bukkit.plugin.java, class: JavaPlugin
maybe what I can do, is just create a new world
declaration: package: org.bukkit.plugin.java, class: JavaPlugin
and just reroute everyone to that world
you can override these two methods from javaplugin to use them for your custom worlds
I know about that to
but that takes a lot of work on my end to make sure that the nether and end are not being overridden
well you could simply only add "world" to the bukkit.yml, and not world_nether and world_the_end
this
oh hm maybe you just have to remove the players from the iterator to lower the number
i thought there was a "setNumPlayers" method
That's probably just on the uhh base class
If anything extends that class it's probably overridden
Exactly what it says. You might not always be able to remove a player from the list
Hi, is it possible to display an open map in armorstand's arms ?
Validate and Verify your YAML documents, optimized for Ruby on Rails
your flora thing is fucked
you can't just mix the - part with regular keys
there can be only the red part or only the green part inside "flora"
thanks @tender shard https://prnt.sc/4t22eDnyQG9R 🙂
Is there something I can put in the plugin.yml that will automatically detect if the sender is a player and will send an error a message?
Kind of like it does it with permissions
what's the problem with writing 4 lines of code?
Or is the best option to just check for the instance and return true?
I've just discovered that plugin.yml has usage and permission message in it
I don't want to complicate my code again😅
4 lines of code for checking an instance? 
nope
you must
A use a good command lib
B do it yourself
So if I want the command to only work for a player I do
{
return true;
}```
?
if(sender instanceof Player) return true;
is a little cleaner.
no
if(!(sender instanceof Player)) return true;
^
that will filter anything that isn't a player
Oh right, thanks!
np
Is UUID ConfigurationSerializable?
HashMap<String, Object> dmap = new HashMap<>();
dmap.put("Integer",5);
int putinteger = Integer.parseInt(dmap.get("Integer"));
//or
int putinteger = (Integer) dmap.get("Integer");
```Which one is correct?
ah nvmind its number 2
Use toString() and fromString()
Ah, alright
Any idea on how to change my default config name? I can't find it in the pom.xml
Default config name?
Do you mean changing the config.yml name? Because afaik you can't change that. You just need to make another file if you want to change the name.
No I mean the folder that contains the config.yml
That's just the name in your plugin.yml
Oh right, thanks for the help!
func put(HashMap<K,V> map) {map.put(some_key, some_value);}
HashMap<K, V> map = new HashMap<>();
put(map);
Object o = map.get(some_key);
Is o null or some_value ?
o would be some_value
noted
how can i get the display name of a block or material?
minecraft's registry
I mean
it's kinda weird
if you want the custom name, the item meta is for you
if you want the default name, you must use a combination of both the registry and some string processing
block.getBlockData().getMaterial().toString();
This would return the name of the material
how do i access the meta of a material?
block.getType() simplifies the getMaterial part
like minecraft:something or or the display name?
This might help you
anything else is just
material.replace("_", " ") and then formatted
keep in mind these are minecraft's material names, not bukkit's
ok, thanks
no need for this
Hey
private final Set<String> materialNames = Arrays.stream(Material.values())
.map(s -> upperCaseWords(s))
.collect(Collectors.toSet());
private static String upperCaseWords(String text) {
String regex = "\\b(.)(.*?)\\b";
return Pattern.compile(regex).matcher(text.replace("_", " ")).replaceAll(
matche -> matche.group(1).toUpperCase() + matche.group(2)
);
}
instead of writing out an entire yml
omg such a difference
Yes it is
that will do
Hay_Block
[17:09:34 ERROR]: Cannot load plugins/pluginname/../../arena/map-info.yml
org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
in 'reader', line 5, column 1:
SouthTeamDisplayName: "Purple"
^
So i'm getting this error and i'm not sure why it's not okay with my indentation
you forgot removing the underscore
Did you read it
fixed it
Worse
than before
you're having a method
do 2 things
are you mentally disabled?
damn that's harsh
upperCaseWords() shouldnt remove underscores
that has no relationship to the method name
shoot me
im not trolling, youre just an idiot
lol
man literally at wrong and keeps insulting others
bro
then rename the method
i dont care
its better than hand writing an entire yml with every material value just for better names
who needs abstractation either
you cannot be serious
mhm
you're completely wrong
lets get a third opinion
someone join in
hi
imajin very good
is this really about a method name?
No
name the method fatNuts
instead of manually writing the entire material enum
Clearly, no one here is mad except you
bro
@quaint mantle i didnt say that
Hi sorry de I intrude, how can I create a command for the reload of the config.yml I have searched on the internet but nothing works. Do you have any guides?
woah there you changing what i said
i said youre having a method named upperCaseWords() remove underscores
that dosnt make sense
woah there why so mad
name the method whatever the fuck you want
2Hex, he's not wrong
A real spigot discord moment
this is totally flaimbaiting
dont rename it
name it imajinIsDumb
you're just acting dumb at this point if I'm honest
why all this drama over a damn method name
y'all are arguing over a WordUtils.capitalizeFully(material.name().replace("_", " ")) clone
you dont need to specify it
maybe if he provided an actual argument i wouldnt be so mad but hes calling me dumb for no reason
Idk but i now remember why i don't come here for help
replace the underscores in the mapping line
?paste
for a YML I grabbed from the game's internals
ok, you do it then 2Hex
apache >>>
im not doing any drama and you can know that from the conversation lol
also stop siding with imajin since hes a staff that doesnt make you look good ^^
if thats so then good
What
if you just said
you literally said a few ten swears
what are we squeeking about?
you started swearing over a suggestion
a method not having the right name -,-
??
it was an order by the royal king
for you, the slave
to do what the master ordered you to do
right?
they called it catButtJuice instead of java?
something like that
omg potty mouth
you're literally trying to act better
just say the suggestion
i wouldve renamed it
i said it before you started swearing
because i can agree that its a bad name
like a 12 years old that learnt how to swear from their parents fights
i dont either
but i waste my time talking with shitheads like you
that dont accept a freaking suggestion
there are dozens that know a few 10x your knowledge here dude
dont get all cocky
and they have much better personalities
well its not a competition is it
@grim ice I re-read the conversation, you told him to make it remove the underscores from the names, then you say it's worse than before even though you told him to do that. Like, seriously, can yall stop arguing.
but he accepts suggestions
Who swore first
Who the fuck cares about swearing
he couldve listened carefully without bringing aggression
it's literally a word
Yeah but give yourself a worth lmao
😱
I personally use swears for emphasis :p
same
I swear as well
you cant do that
but I dont swear at people for giving me suggestions
Oh yeah I noticed that when you called him a shithead
like fucking hell bro
i didnt swear at you for u giving me suggestions
you clearly did
No but having a hissy fit puts you on the wrong side of the argument :p
Why else?
i did it for emphasis wtf?
not exactly a suggestion. You told him to do something > he does it > you call it worse and bad design
Yes
here
does anyone recon if spigot discord has a mute feature
let me just clean up the file
it is a suggestion
to only have the names that are actually different to your method
when you told him to do it
wasn't this about like i18 display names in the first place ?
to accept criticism
if you had just said
"i think the method name should be ... because it correlates to the function more"
i wouldnt have been mad
jesus christ
lol
Yeah honestly, Hex, you were kinda the shithead here
2Hex, I honestly think you need to both calm down, it's literally just an answer to a question that someone or you asked. If you don't like it how it's "designed", you can go ahead and change it instead of just giving suggestions on what to change.
if you convince me ill apologize
:3
Also you're spouting a lot of hypocritical shit rn
private static transient default void printShit()
{
System.out.println("Fuck");
}
i got the popcorn ready. rounddd 2!
It's like you want someone else to do something that you can clearly do
absolutely fucking hot bro
You say this but you also argue you started this argument bc Imajin swore first -- Suggesting you got angry at him for supposedly being mad at you.
I'm going to kiss you
i also sometimes not accept criticsm but i shut my mouth up
its beautiful
yep
Well im definitely not mad
the default is what really convinced me
Well actually
make it abstract too! @tall dragon
private static abstract transient default void printShit()
{
System.out.println("Fuck");
}
right fixed my mistake.
the Allman style tho :sheesh:
can you apologize for flaimbating too and acting as if it were a competition?
you are missing final
Yes, sorry
bruh
Gotta use Unicode identifiers too
ok i forgive you just realize how much that made me hate you
flamebaiting*
i forgor
but its spelled Flamebiting
y'all disappoint me
:troll:
welcome to spigotmc
Lmao
that sounds really bad out of context
tbf i wouldnt have apologize if it wasnt for maow
md_5 should make me the next helper lol
screenshotted just for the memes
md_5 should be the next helper
hes the only person here i give a shit about
Sorry no
but that's the point maow
protected synchronized volatile static strictfp abstract transient final default void doStuff()
{
System.out.println("Do nothing");
}
how bout that
has fair opinions as well
simp /j
mhmmmm yes
Thats why I listened to him
Missing strictfp
pfft that is retired
awesome usage of keywords
I wish static abstract existed though
You know how many times I've wanted something like it?
tf does strictfp even do
strict floating point
Enables strict floats basically
makes it accurate across devices
ah
mapInfo.getString("mapInfo.SouthTeamColour")```
So i'm just wondering why this returns null for my .yml file
It's a default in Java 16+ now iirc
cuz its null
duh
@tall dragon do it in bytebuddy too!
It shouldn't be though
u certain the key exists & is spelled correctly
^
I'm the moron who didn't capitalize the M
😄
Thanks
Is it possible to code with the 1.8 library at intellIj?
yes
oof
How can I do it? because the oldest bersion that apears is 1.12
im guessing you are using the dev plugin?
he is
Yes
i think you can
Yes, but it's not recommended as Bukkit 1.8 has a more restrictive API and is no longer supported by the Spigot community.
directed entirely at you
Ah, then what do I do if I want to create a plugin that supports this version?
Generalization, not everyone hates it ig
some people still help you
