#dev-general
1 messages · Page 612 of 1
yeah but it spoopy
nah
ngl I use the debugger a ton more in python and C
maybe I just have the best understanding of Java and how shit works, but like, I don't really use it often in Java
Excuse me?
What exactly where you debugging?
Like in which case does it actually matter?
Also, false
Objects are not pass by reference in Java
Java always uses pass by value
In case of objects, it copies the reference instead of the object
This is entirely different to pass by reference
Where you would be able to re-asign passed values
Nope,scroll up
Objects are pass by reference when passed in the function
They are not
Again
But they are
Pass by reference != copying references
A copy of the reference is passed in java
Not the same reference
Its pass by value with the reference as the value
if they were pass by reference you'd be able to reassign a field which was passed as an argument
^
When I’m using the integer wrapper as coordinates and trying to do a clone function just to find out all the integer objects are shared among the copied + source objects
Whatever is on the stack, is passed by value
The coordinates is just a custom type of mine nothing to do with mc btw
It still should be an issue since the wrapper is immutable
There also might be some interning? Not sure about that one, Shouldnt matter much
The integer wrapper is stored in a complex object when copied
And I was assigning the integer object to the new copied object and unknowingly made the references of integer objects the same
Still not quite sure about the pass by value/copying reference mechanism
But java is confusing as hell
When I’m so used to cpp
And that makes java one of the worst languages ever existed for me
Took me one week to echo check trying to find bugs in tens of thousands of lines of code just to find out this stupid thing
"java is confusing therefore bad"
Not only confusing,but hard to use for the ones who are so used to other logics
It’s as if java has its own set of logic
That you are forced to learn
An unorthodox set of logic
And tbh if the language is made to be simple but fails because of confusing mechanism it already backfires and is bad
Lol I feel like I’m picking on every one here who is used to java
But that’s so true for me lmao
Its quite literally one of the simplest in terms of complexity
That is pretty much always the expected result
Shouldn't matter tho
You can share immutable objects without issues
more like "i am used to the weird C++ esotericism and I can't comprehend any other simpler models of data passing"
And C++ doesn't? C++s pass semantics are so needlessly complicated compared to Java it's not even funny
At least it’s complicated for a reason and with a logic
Simplicity of java syntax is easy to remember but does not make logical sense
Like the reference copying thing and pass by value,if it’s simple but does not make much sense then you would rather not learn it
Maybe,lmao
What about the stack value being copied doesnt make sense to you?
Nothing on the heap is cloned
Yeah to be honest, with Yugi's explanation, it is completely consistent and logical
It’s not being copied that does not make any sense
It’s that objects passed to functions will remain with the same reference to the original object
On a function call, you push the stack variables on and call the function
It is. The thing you're missing is the memory model of java
This seems to be coming from inexperience rather than the languages rules being complicated
What is the memory model of java
Again, the actual objects are on the heap
Maybe
Java does not try to clone the objects on the heap
its passes by value or copies the values that lie on the stack refering to the object on the heap
The primitives also lie on the stack
Hence the result you get
You copy references and primitives, these being the items on the stack
Which is on heap and which is on stack
Like array is on stack and array list and hash map and stuffs are on heap?
Arrays are objects, they are on the heap
Only the reference to the start of the array is held on the stack
Yeah alr
In c++ you can decide which is on stack and which is on heap
Yes, c++ has manual memory management
Java takes that responsibility away from the developer and delegates it to the vm
There are even some runtime optimizations in some JVM implementations that stack allocate objects/arrays where possible.
and especially when your options were basically C pre-99, C++ also pre-99, and like Pascal, Java was very attractive as a language
In general, you dont need to worry about any of that in java
I think it's important to note the history of why things are the way they are
Mhm
No, not really. At least the Hotspot VM only has escape analysis with scalar replacement, it does not have stack allocation
Java literally is all pass by value lol
hello emily
Ahh alrighty
Cool cool, just woke up like 20 minutes ago
emily ur the resident c++ nerd right
I guess you could say that
epic
you are cool
some say that yeah
you've accepted your fate, I see
and betterjails founder
🥲
not what you said here #859836451562323998 message
🙄 she came up with the idea first
but it's like
our child
okay that's a weird analogy
lmao
lol
Communist Emily
"lol"
Does spigot APIs YamlConfiguration not cache the config files on server start? Or does it read the files directly at every call?
It caches I believe, because you have to do .reloadConfig() after
yeah its cached
once you load it, it has basically no connection to the original file
Aight, thanks
com.sk89q.worldedit.extension.platform.NoCapablePlatformException: No platforms have been registered yet! Please wait until WorldEdit is initialized.
Do I need the dependency or do I need to initialize an instance somehow?
Caused by this
ClipboardReader reader = format.getReader(new FileInputStream(mapFile));
clipboard = reader.read();
I mean
Please wait until WorldEdit is initialized.
Yes, but nothing happens and not sure how I would initialize it
Does plugin.yml need to depend on it? Even though it is installed in the server dir
Yes
Hi, anyone here that can help show me how to push to a repo on an organization rather then my profile.
welp I broke windows terminal again 🥲
Just change the remote…If u are on IntelliJ
i have a question maybe you all can help me with i had someone nuke my server with a bot that deleted everything then started spamming thousands of notification what can be done about this person?
I am, can you tell me where I do that rq please?
@primal crystal https://gyazo.com/2599e2d4db9362f9486b4e50be19e3ba I changed it to this
now i get this error when i push
i have permissions tho
@quick flume ?
You should get the gitclone link there
not the url of project
weird..thats how i do it
Show the full exception with stacktrace
Does anyone know any good open-source blog sites?
I'm depending on it in plugin.yml now and the plugin is also installed in the server directory
Error is from second line here
ClipboardReader reader = format.getReader(new FileInputStream(mapFile));
clipboard = reader.read();
at Infection.jar//com.sk89q.worldedit.extension.platform.PlatformManager.queryCapability(PlatformManager.java:171)
oh
if that class is in your jar file, you're accidently shading it
Will this shade it? Probably will tbh
implementation 'com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT'
I do have shadow jar on
I'll try with compileOnly instead ig
yeah, use compileOnly
Aight Ty
new error though lol @potent nest https://paste.helpch.at/olekokuhuq.md
looks like you're doing too much at one time lol
Oh, hmm
cause that's not an error, that's the server hanging
Ah yeah I see, time for optimizing it and well, remaking it really
You can probably disable some validations, not sure how much that helps
hello so ive got custom plugin that only record opened crates and output the values
but the guy who dev this left and i got and error
(it worked for a while)
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
thats the error
im gona try to fix by myself
but ill need extra help
Did you update the crate plugin? It looks like it's either missing, or it's a different API
to host multiple websites on a machine, you have to assign each to a different port and it should work, right?
like 162.381.31.1:2020 - gabytm.me; 162.381.31.1:2021 - something.else
Uh, I guess you could do that?
But then your DNS records would have to point to the alternate ports
A better solution is to have Nginx or something similar act as a reverse proxy
Just match it on domain name, then it can send you to either of the sites
aight
Does anyone know how they made it so you can't move your mouse at all?
You can't tell in the video, but I was moving my mouse around the whole time
cancel the move packet / event most likely
It would look very jittery tho
Yeah that's what I thought too
got other ideas, emily? I'm curious tbh
yup
Yeah it’s spectacular what OR have done
It certainly is, just wish I could figure out or get an idea of what to do for this
can you force a player in spectator mode and make it be in a mob's perspective?
I think so
well then that might be what they're doing
since you can't control the entity and if the entity has no ai the player won't be able to move
and the entity won't move either
Interesting
its just an idea. I don't actually know if you can do that with packets or spigot. never tried
are armor stands still visible while using the perspective of another entity? I would say no
that's a good question. I don't know. never tried
idk, the bigger problem might be the fact that you can't hide armor stands anymore since in spectator you see the invisible armor stands as well
Maby spectator in a armorstand?
yeah but the not being able to hide armor stands problem still stands
I saw a thread about that but can't remember if they succeeded to do so
This is good start at least
I like the butterflies xd
Thanks haha
wait. you can retexture armor stands to be invisible?
I Just found a 5 year old minecraft thread on reddit and apparently that's a thing?
canceling PlayerMoveEvent looks that bad, Raindropz?
I haven't tried it but this is the most seamless solution (assuming i can hide the armorstand)
You can take a look in the texturepack from OR and search for armor stand
This could work
Let me do that real quick
kek
I imagine you only want to do it with specific armor stand, not all of them..
Yeah what happens if you hide the amorstand for the player
yeah that might also be a problem
The armorstand is hidden for the player currently
With player#hide?
probably ArmorStand#setVisible
Yeah that
Is PacketPlayOutEntityDestroy packet possible?
Raindropz you could also try F3 + B to see the entities on OR and maybe figure out what they did there as well
I don't think you can see the hitbox if they are invisible
yeah but that might tell you if they are doing some spectator stuff or something else I guess?
They are using spectator mode
by the look of that video, with not UI, it is probably spectator
Yeah
So basically, spectator mode + magic
Maybe they just don't have any armor stands surrounding the player in the wardrobe, or tp you to a different place
Backpacks use armorstands though
There must be a reason they don't use it anywhere else
what does the Marker nbt tag do exactly?
Tiny hit box
Marker Small Hit box Byte, 0b or 1b {Marker:#}
I wonder if this helps, though those particles are annoying https://microeducate.tech/making-entities-invisible-even-in-spectator-mode/
I’m trying to make a Minecraft map that will move spectators in Spectator Mode around using armor stands. They will click the armor stand and use F5 mode to achieve the proper effect. However, they can see the armor stand. Is there a way to fix that and make a entity that even spectators can’t ... Read more
You can disable particles with spigot right?
Armor stands do not have shadows right?
I don't think so
No they don't
@pliant dagger please accept my friend request
why? just DM me?
I can't, discord wont let me
Does anyone have experience with setting the body rotation of a fake player?
I am able to set the head rotation, but the body doesn't face the same way.
Nvm just figured it out lol
Looooolololoo
Nvm I didn't actually
I'm trying:
final PacketContainer rotationPacket = new PacketContainer(
PacketType.Play.Server.ENTITY_LOOK);
rotationPacket.getIntegers().write(0, entityId);
rotationPacket.getBytes().write(0, (byte) (120/*location.getYaw()*/ * 256 / 360));
final PacketContainer rotationPacket = new PacketContainer(
PacketType.Play.Server.ENTITY_HEAD_ROTATION);
rotationPacket.getIntegers().write(0, entityId);
rotationPacket.getBytes().write(0, (byte) (120/*location.getYaw() * 256*/ / 360));
So theoretically the body and head rotation should match, but they don't.
The head rotates to a pitch of 0, and the body does not rotate at all.
They should be rotating to 120 though
Actually the body rotates correctly, the head does not
Oh wait I'm dumb
I commented the * 256
Double lolololooolllooooolooo
dkim I saw that
hi
pictures?
any1 uses playerheads ? can i add placeholders in the lore of the heads
Huh
How
I understand that for one or a few players but no idea how you could do that with any player
yeah
How do you know it isn’t just a particular player they made the model for?
multiple team and admin members have showed it
and they wouldnt do it just for that
crash ?
depends on the gamemode
well
SMP
sooo
if u gona ignore the vanila gameplay
go 1.12.2
if u want new stuff go 1.18 or 1.17
Wew
that's bs
4 GB is the recommended minimum.
although you can go down to 2 GB with only a few players
It depends how many plugins / players you have
Does anyone know how you would modify this pterodactyl image to install java 17 and python 3.10 with jep and alt-profanity-check? https://github.com/lucian929/yolks/blob/master/java/17/Dockerfile
i have had problems with pebblehost as well.
, but 4gb at idle is too much without no players on and no plugins
mine 2 servers are below 1gb even with 2 players on soo yeah
absolutely winging shit with this plugin
no idea if this'll work, nor do i care
oh hell yes
nicee
IOOB, hehe
throwing an npe?
yes
anyway it works kinda
i just needed to figure out how to detonate the firework
and thats where I got bored
i struggle to code ffor more than 30 minutes
Print out sent packets and use a firework
eh
need welp
im making random plugins for fun, i want to make something like /command subcommand
i know i can do with args
but i want to do with switch case
who can welp me?
oh
:((
thanks for welp
i will use args
an other question
what i need to put in return?
true or false?
Return false triggers the "syntax" message from the plugin.yml, if you're already handling the messages there always return true
ok thanks matt
wat-
heere
this.config is null
i dont know
ok i know why but i dont know how to fix it
java.lang.NullPointerException: Cannot invoke "org.bukkit.configuration.file.FileConfiguration.getString(String)" because "file" is null
😦
i dont understand this error lol
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.
I cant change the password since he put his email instead and put 2 auth
We sent a ticket
what else can we do
As this mention this is not a discord help server but rather minecraft and development. only thing you can really do is contact them thru support.discord.com
no worries
plz welp with config
hm? what config?
is ChatGender your plugin? or is it a plugin you got from spigot or something like that?
its mine
but the idea its stolen ngl
anyway
im trying to do config
private FileConfiguration fileConfiguration;
public Config(FileConfiguration configuration){
fileConfiguration = configuration;
}
public FileConfiguration getFileConfiguration = fileConfiguration;
}```
put this class in a paste bin org.xnotro.chatgender.commands.Commands
done
i dont know how config works
just using some tut and ex from internet
did you change the class since you got the error?
wdym?
https://github.com/xNotro/ChatGender here the full code
so?
java.lang.NullPointerException: Cannot read field "getFileConfiguration" because "org.xnotro.chatgender.Main.config" is null
ig you mean that?
ok so the error you sent mentions line 18 in the Commands class. But in the code you sent there's no config call in that method. So I am asking if you changed the code in that class and does the error still shows now with the new code?
oh yes i changed
and do you still get errors?
well.. you're using config but you're never initializing it
Why are you making a new config class in the first place?
why not use the one provided by bukkit?
Over complicating >>
yeah we can't help with what we can't see lol
done
fixed
😳
was really easy
so
i wanna add something if the player type something random its say something like "tf did you typed"
lol so many "something" in this phrase
like
/gender 10
its not in the config so should say tf did you typed
What should be included in a good resume? This is for something non-minecraft related, so not sure what to include, the job is java-related though
projects you've made/worked on, jobs you had before (related to the job you're applying to)
Havn't had any jobs related to it, only freelancing plugins, and working in a grocery store but that aint much related lol
Hello
public void itemDropEvent (ItemSpawnEvent e){
Entity item = e.getEntity();
GlowAPI.setGlowing(item, GlowAPI.Color.AQUA, Bukkit.getOnlinePlayers());
}
Why this isn't working?
done
just add else if for every cmd
and then else
so i want to make multi api version how tf i can do?/
Anyone that has a bit more regex knowledge, we have a string that will look something like this:
%identifier_<input>_<match>_<output1>_<output2>% and we're trying to split those parts by _. Now we have a regex that lets us put _ inside each part by escaping it \_ (This is the current regex: (?<!\\\\)_). Now the problem is that in those parts we also have bracket placeholders so it could be something like %identifier_{input_something}_...% and we would want a regex that matches only _ that is outside of the {} and also keeps ignoring the \_.
if anyone has any idea please do tell
i want 1 plugin for all version
how i can do that?
eh?
You ask how to make the plugin work in different versions
you simply install it in different versions
it's basically the same, except for really specific stuff
which leads to my other question: whats the issue (you are getting)
its like 1 jar for every version?
or multiple jar for every version?
no
is 1 for all versions
as i said, shouldnt be different except for really specific things
ok and how i can do that?
do what?
as i said
you shouldn't have issues with that
unless for really specific things
once you get those issues
ask here
just code your plugin
I personally compile against 1.18 and then check the version before calling bukkit methods only in 1.18
although you can also compile against 1.8 if you don't need 1.18 bukkit calls
how?
which tool?
which JDK?
too many question xd
you know for today its enough
4h for dev a simple plugin xd
i dont know how how much simple is
yes
java 8
but now not much
i know all of that
lel
cuz i was a forge dev
Well then your questions should be solved :P
"but now not much"?
yes but if you dont dev for months
or you know, or you don't know
yes i know
No
It sucks
But you have to
im bad UI/UX
i know java 8
And?
and stop
java 8 cuz of forge (old versions)
And faster
lel
Good old modpacks with thousands of errors 1.7
lol\
my most viewed java open source was a minecraft client source lol
2k views
and many ppl use it i think
i dont know i just delete it cuz i dont make client anymore
java17 = no 1.8.8
additionally, not everyone use java17
so java8 is at least for now
your option for multiversion support
"need"?
so my question is which api version i need?
depends
min 1.12 max 1.18.1
i dont mean that
because i use ij idea plugin
bot change the methods in some cases
uhm
so if you are used to 1.8.8
then use 1.8.8 but remember which methods are removed or renamed
if you are used to 1.18.1
use that one and remember some may not be available in 1.8
i dont know i just want my code support all api versions
lol
is that possible in one regex?
I mean I believe so but not sure. not very good at regex as you can see xD
well I just want to get the underscores that are not preceded by a backslash and that are not within {}
have you tried asking it nicely?
no actually
Does anyone know how to fix this?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.0:shade (default) on project Graves: Error creating shaded jar: null: IllegalArgumentException -> [Help 1]
https://paste.gg/p/anonymous/5e3963e44f95485f85f571a905aae4cd

I agree, but I'm trying to make a quick fix and don't feel like doing that
Any new attempt?
no
I always do that
Lmao
Bruh
Discord mobile be like answering the question beloe the one i wanted

it must be possible 
well I'm not trying rn. but it probably is indeed
anyone here knows anything about cuberite?
Cuberite?
ye
A custom Minecraft compatible game server written in C++. It's a fast, lightweight, and awesome replacement for Vanilla.
seems like a minestom type thing
tbh, minestom for example, probably isn't familiar because it doesn't support already existing plugins
if it did, it would probably just become popular af
cuberite is meant to be able to run a full vanilla environment
minestom isn't, it's intentionally designed to be as barebones as possible to just "do network stuff and that's it"
gonna just compile the source code of pex and upgrade it to 1.18
screw luckperms
wtf lol
dont yall hate luck perms too
so annoying to use
the commands
it has a web editor
what if one day luckperms websites down and you cant use the web editor anymore
i would rather stick to the tradition
Pex for the win
then you use commands.
yes.
or selfhost or hope someone else will host it: https://github.com/LuckPerms/LuckPermsWeb
wtf they have a github for their web app too
luckperms is fucking awesome dude
the web editor is great, i love the context system, it is extremely resilient, the commands are autocompletable and make logical sense
i will never go back to doing yaml-based permissions lmao
the only things i see apppealing in lp is contexts, web editor and that you can give someone a grouo for some time
and it will auto-remove it
Yes
Hi, are discord bot development related questions allowed here?
idk i just really hate GUI editing for any sorts of things,except for developing desktop programs (as the windows/device coordinates is so annoying and so hard to visualize)
i would prefer yml based permissions myself
and also pex has a much more decent and logical commands system
making permissions by commands can also save time
luckperms is not so hard to use
/lp user NAME permission set permission.node (true/false)
it just has a more "complex" command syntax due to all features it has
hmm
It's not even that complex, it's pretty similar to PEX's as it was inspired by it lol
yeah and renamed it to GroupManager lol
xD
I don’t go crazy over LP myself, but sadly one of those things you got to get used to
lmao
but its way more rewarding to not rely on any interface editors and sth
and just make it work yourself
Yeah even tho it’s like “super hyped” I found it confusing myself
https://github.com/xNotro/PlayerInvisible
an other plugin >:))
making random plugin help me understand bukkit api lol
any other idea (obv simple)
yay from 4h for code a simple plugin to 1h 13m

nice, new icon
oo
kotlin
uh
i want to make my plugins in kotlin
hehe
i dont understand
hw to setit
nvm done
now i need to learn kotlin cuz i dont know nothing xd
nvm its really easy and more simple
its more harder wtf

im thinking of a fully regex built commandexecutor
what do you all think
yeah that's a very bad idea
thought so,it significantly lowers performance but it makes development a bit more easier
Wasn't there a plugin that was crashing servers because they were using regex for command executor and people found a regex that would make it crash?
PEX
That rings a bell
WorldEdits calc command?
Mate fuck the customs, my shirt is stuck there

Lmaooo. Mine almost got sent back bcz I was quarantined and couldnt go get it
which shirt
Johnny
Hacktoberfest one
My disappointment is immeasurable and my day is ruined
ah, yeah it was also the first one where I had to pay
What?
customs
I'm probably going to have to pay yea
It's kek tho, cause last years shirt didn't get held at customs
You under estimate the BS fees of customs xD
Can't wait for russia to start ww3 ❤️
i quite like c# for scripting, currently tinkering with godot. not too bad really
hello
so
i want to make a plugin in kotlin but its hard af
need an simple idea for it
make a gun plugin 
a plugin that says hello world when a player joins
thanks dude
how tf event work in kotlin

Multiverse-Core
Ah yeah that one
multiverse-core help command
ah
any other idea so i can learn more about kotlin?
make a catgirls plugin
wat-
You can do a list of challenges maybe? Here's a good one: https://github.com/PiggyPiglet/Challenges
ty uwu
You heard me.
size
thanks

nice joke

nah its cool
havent discovered much of it yet but for where I'm its good
all I can see is that the compiler is lazy
done greeting thing
congrats
ty
hi
A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.
@pallid gale
Yeah mate
😵💫
Adios good night
done custom sword
What is the slot id of the helmet slot in 1.18.1? I have tried googling different things, and two of the results I found (5 and 103) where wrong
yeah, it's not 4. 4 is the fifth hotbar slo
I did find two, one said it was 5 and one said it was 103
Wait, I can just use debug to find it. I mstupid
There's also EquipmentSlot iirc, maybe that helps
yeah, but I only care about helmet slot
So helmet slot is apparently 39?? Why didn't that stand anywhere
the entire inventory api in bukkit is dog water
depending on the inventory in question, a slot has a number or another
then you have the inventory view
and raw slots
fuckmess
mojang's system is also fucked
don't forget that empty slots can be either Material.AIR or null lmao
gotta love that amazing consistency 
I especially love when getContents() is annotated with @NotNull and then can contain null elements 😍
which like yeah I guess it technically isn't null but that's still annoying
it's not super refined yeah but at least they got rid of null items
bukkit literally goes out of its way to change "empty"/air items to null when converting them to bukkit ItemStacks
1.8 didn't have null items...
bukkit is strange though, unsure why they return null for @NotNull annotations
bukkit materials is also bad
combining items and blocks results in Material.CARROT and Material.CARROTS
good luck knowing which one is the item vs the block
if the entire (bukkit) Registry system was even half decent and promoted people would use it
but it's fucked up
and straight up wrong
I've always checked if item == null and type is air
I presume the block is CARROTS because there's multiple in the ground?
I think the block is CARROT
wtf lmao
i didnt even know there was a carrot block lol
I don’t remember though
what update was this
like the crop
when you plant it to grow
1.13 flattening
Carrot and carrot were things in 1.12 too
It’s just that carrot became carrots while carrot remained carrot
So we have carrot and carrots
yeah that's how they're named in vanilla too, block/carrots and item/carrot
but hey they're in completely different registries and in completely different classes
Material is p a i n
Can 1.16 run run Java 17?
How would I support 1.16 and 1.18 then?
well u can still compile to any other java version
if u have a java 8 plugin for example, JRE 17 will still be able to run that
1.18 plugins?
if you mean api-version: "1.18"
doesnt matter
I do it that way and it's all good
(except for some issues with dependencies)
Okay thanks
WGW still has a target version of java 8 I believe but newest version of hikaricp does use java 11
Does anyone know where to find older packet formats / if the armor stand meta data packet was changed between 1.16.5 and 1.18?
minecraft protocol wiki!
https://wiki.vg/Protocol This?
Yes it did, fields got pushed up by 1 by the addition of the freezing data
@urban sleet How did you do the camera lock for your wardrobe
hello
why ItemStack.add dont exists??
im trying to save inventory with ItemStack.add
maybe i can use something better
oh
its more hard in kotlin this shtt
i can have dev role??
Itemstack#add
cool but dont work lol
Going to assume you're trying to use Java 17, you need at least gradle 7.3
??
thanks matt i lvoe you
I believe all we did is cancel the playermoveevent. Nothing fancy yet
Alright, Nice
guys now i understand
hey is it sensible to increment unicode character inside a string by 100 in a loop?
will it mess with the index or whatsoever?
No, it's not. Unicode is multi-byte-length, so incrementing it will not change it how you would expect
but peculiarly it kind of worked
you didn't even mention the language you're using
java
looks like java is high level enough to ignore all the size limitations
and they just chars as a code
doubt
i bet it's converting it into a unicode codepoint that works like you'd expect
Well you’re definitely not modifying a string then
Chars is my guess
how i can know if i got rejected for role apply?
you will get a DM from @compact perch
I believe it pings you in #bot-commands then

anyways I can confirm you were not rejected yet. it might take a few months for your request to even be reviewd
^^^
You're probs along way down the queue too.
wtf
I'm watching a video on how compilers & decompilers work, and I had a question (this might be very stupid)
Would it be possible to write a plugin for your server in a low-level language (binary) instead of Java?
a plugin, I don't think so
https://www.youtube.com/watch?v=YakeUg_Gcno This is the video, how come you don't think you could? If in the end everything is binary, why wouldn't it work?
o
Java doesn't run in low level, it's interpreted by the JVM
Yes, you can run native code on java but it's terrible to debug
o
then maybe its possible
i didn't know that the jvm could read non-java/class files
It's also slow to keep switching between java and C code, so it's better to just write in pure java for performance
"Possible" doesn't mean "usable" though
I don't actually want to do it, it was just a question I came up with while watching
It's very hacky, but in theory possible
as a mini dev, i can say making random thing help you alot
and google or stackoverflow is the best option if you dont know something, and obv api
maybe what i say is wrong but i dont know
rewrite Minecraft in Rust :P
JNI isn't really running it on java, it's just 2 programs interacting
see above, the JVM is just the bridge between native program & java program
it doesn't interpret the c++ code or anything crazy
if you consider the JVM a c(++) program then it's just importing the other file and calling it like a normal function
😵💫
wouldve performed like shit in production
Dayum whag sa fugshit maaan
damn. actual paying job in #937946722028617759. long time since I've seen something like that.
Yep
But the difference is huge sometimes
Some go with 9k US for a website
Others with 15 US for a plugin that can record players to mp4
People really have different understandings of mony
well money is worth different in different parts of the world and also people have different understanding of what and how much works goes into what they need.
how tf did we get this?

yes I know
you got a problem??
no. I love it. just wondering who was brave enough to make an admin add it
piggy did it iirc
Huh

the best admin



wtf
lmao
Kek
??
The fuk
xD
stupid bot
Or stupid people
he's wondering why it doesn't work xD
They be sending malicious links
Say more with Tenor. Find the perfect Animated GIFs and videos to convey exactly what you mean in every conversation.
huh
Its just tenor
ig not
yes. its the bot
Ahhhhdhwhhwwh, cool bot
Welcome to HelpChat
Where everything is possible
Except sending tenor
djscord.gift
Hmm
discord.gift
Bruj
I remember when SONOGODONA was banned as well xd
Finally
lmao
Barrys well made anti abuse system ig
ok mate
You got hacked, we need to ban you
I'm trying to work on IntelliJ IDEA, but realised that everything is too small for me to use. Anyone know how to scale stuff up?
Preferably the icons included. The fonts can be easily scaled, but it's difficult for me to click the menu items
My global scale is at 150%. Changing it to 200% fixes the issue
Fortunately or unfortunately, snap install fixed the issue
btw if you have Material Theme then you can make the buttons like this:
i think files are also a bit bigger too
(free for students 😃)
Ah nice
does AdvancedEnchantments got a dc support server?
that's why I put so many arrows pointing to it
can u send that page? I can only find the bukkit page
well that didn't work
tried to meme and couldn't even do that properly
also wrong channel btw
thx
treasurehunter:
display: '%group-color%Treasure Hunter'
description: 'Have a <Same Level>% Chance To Find A Random Tome'
applies-to: 'Pickaxes'
group: 'ULTIMATE'
type: 'MINING'
applies:
- 'ALL_PICKAXE'
levels:
'1':
chance: 1
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'2':
chance: 2
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'3':
chance: 3
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'4':
chance: 4
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'5':
chance: 5
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'6':
chance: 6
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'7':
chance: 7
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'8':
chance: 8
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'9':
chance: 9
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
'10':
chance: 10
effects:
- 'CONSOLE_COMMAND:crate forceopen th %victim%'
thats my code
can someone tell me why its not working?
its supposed to have a chance to give a player a random enchant when mining
wrong channel + wrong support server
whats the right channel
what plugin is that even for? #general-plugins is at least closer











