#dev-general
1 messages Β· Page 7 of 1
of course
no problem
Ok this is confusing
okay look
I just went to intellij and Ctrl Clicked on the "by", noticed a provideDelegate that was also calling the register method, searched for the delegate properties page, Ctrl F "provideDelegate"
it's simple
I see
thanks
but now I have a different issue
I can't do the provide delegate in an extension function π’
actually maybe I can make it so that you can do it on Nothing? (that's what IntelliJ wants) and then pass the instance through a parameter
:)))
hehe
IT WORKED
Yay
now another issue though
intellij is saying that the variable is unused
can I suppress that?
wtf is going on with IntelliJ today. It just acts like entire files are missing, it ignores imports, etc.
did you try to invalidate caches and restart
:)
yes
Oh
what are lambda expressions used for?
watched a tutorial on it and couldn't really understand
intellij? more like unintellij
everything regular functions are used for
imagine you had a list of ints
and you wanted to make a new list of ints where each one was this original list's int x2
so [1,2,3] -> [2,4,6]
hm
you couldddd make a new function
public int double(int x) {
return x*2;
}
and then map that over your list
but with lambdas!!!!
you can do
pseudocode:
<declare double function here>
list<int> doubled = originalList.map(double);
with lambdas:
list<int> doubled = originalList.map(val -> val*2);
no need to declare a function just for this one usecase
it's a lil tedious to use them in java
but in other languages like python / js / haskell β€οΈ they are very nice
i thought it was something related to mathematics
or something like that
or thought it was something related to half life
but nah
i think the name is a greek letter so i guess it's used in math
but it's really just a function without a function name
im avoiding using them
okay π€·ββοΈ
you definitely don't desperately need them for anything, especially in java
idiotmatic
So, I have a question. I need a program similar to WorldPainter, but only to mark areas to randomly spawn a selection of specified schematics in the area from Y 1 to Y 255.
To my knowledge, no such program exists. How much would it cost to get something like that made?
I don't know what kind of development this takes so I'm interested in knowing what a fair price would be.
You can probably accomplish that with just a world generation plugin and world edit
yeah, they're based on a thing called the lambda calculus
My beloved
WorldEdit is very laggy unless I use FAWE, and I need to be very specific about where the schematics are generated.
And whats the problem with using fawe?
WorldPainter create static worlds, anything outside the selection generated in the program will use the default generator
Maybe it allows you to import schematics and use them as a 'brush'?
Not recommended for long term use for some of my server's plugins.
Throw away those plugins then
The issue with WorldPainter is that anything with an overhang upon world import will have stone generated beneath it because WorldPainter is a 2D program.
Nope.
Ah
The world I need to edit is an 80k x 80k empty world with various pre-existing floating structures.
It's a space themed world.
But if you only want to do world gen, you can simply use the schematic format yourself, either reimplement a reader for it or use WE for that, but you donβt need any WE pasting functionality for that
And I need a fast way to populate it with various asteroids in a very specific way.
I can't upload an image, but there's a reason I need it done the way I do.
And it's hard to explain.
It has to do with the way everything is laid out.
If you pregenerate the world at full size, does it matter if your plugins suggest not to use fawe?
well, I need to edit an existing world
that's why I need this program or method of doing things
generating a new world entirely would make things go 3x as long
because I have plugins that keep track of specific structures in space
Okay
it's a very specific situation I'm in lmao
@mighty finch you create a plugin that read an schematic file, pastes them into the void world and save all the data into a JSON file related to the location of each pasted structure, then you could "import" this extracted data into the consumer plugin (that needs to keep track of structures in space), wouldn't this work?
A bit manual? yup. Would require creating a "throw-away" plugin and possibility editing the second plugin? Most likely. But it would solve your issue (probably?)
They might seem confusing at first but they're very simple once you get an understanding of functional interfaces/anonymous inner classes
i saw a tutorial on that
anonymous inner classes
and understood it pretty easily
yep yep, and if its a functional interface you can use a lambda for it
Functional interfaces are just interfaces with 1 method in there
Like bukkit's runnables for example, they only have the run() method.
@prisma wave
can you add/give rolesw
?
We're generating a profile for this user, try again in a minute.
no i didnt
you did
im pretty sure i didnt
and you cant convince me otherwise
but ok
imagine if everyone in this server just gathered and decided to make a bot with really weird functions
it wouldnt go so well because
not everyone here uses java
but imagine
you will
no thank you
you will though
the problem is not gathering people but rather making them saty
stay*
there were quite a few projects that were supposed to involve the entire community
hahah yeah they went well
i'd make the bot say my name in chat every 8.2 seconds
There was a spigot plugin where everyone got like 10 lines per commit and they can't commit again until 3 other people commited
for example
but that died pretty quickly
there was Johnny's (worst plugin) project
well i mean
that died as well
that sounds cool in theory
people can gather around to do really amazing things
maybe 3 people is too high tho
ah
that makes sense lmao
but not everyone will stay
there was the helpchat event where a theme was voted and everyone had 2 days or whatever it was to make a plugin with that theme, there were like 5 people participating, 3 of which were staff lmao
everyone here is deceased π
yes indeed
coding from the tombstone
we are all zombies
in the lawn
yup. gotta take that laptop with you everywhere you go
also another dead project, ChatChat
π€£
being a faang worker is tough
we were supposed to make a cool chat plugin, but almost no one cares. well except a few beta users
can't relate
can't relate to that either
if i were to work at a faang, it would be taking out the trash and cleaning the floor
you know, that's not a bad idea
I might apply
now
so I Can tell people I work at faang
thank you for the amazing idea
"what do you do"
I work at faang π
"cool! what do you work as?"
ima... hygiene technician baby
lmao
i think there arent janitors at faang
i think the programmers who work at faangs usually code their own self cleaning robots
that would be pretty neat
imagine sitting all day coding roomba robots
lol
No because no structure beyond 1 is consistent.
@inner osprey I'm about to screw your day (just give you more work if that's not accounted for yet), on the showcase you posted
- Players can change their main hand to the left hand which puts off-hand on the right side instead
- Plugins manually setting an item to the off-hand don't trigger the event which you'll have to account for as well
Good luck ;p
Well if you're left handed, then simply press the "disconnect" button <3
And yeah Im aware that some offhand events aren't triggered, so no idea on that part lol
Unless there's a placeholder to detect left or right hand, but that's client sided soooo eh
There is an event for the hand change
As for the other, you'll have to listen to packets to get one that is setting the off-hand item
Yeah I definitely can not big brain that lol
After 362 lines of a menu in DeluxeMenus and 12 lines in Skript, I made my own battle pass menu with pagination and everything.
Skript π³
@static zealot Try to add I run code bot to the server
It could be very useful in this channel
Ummm. Not something I can do
you can suggest it to your higher-ups tho
I can. But I won't xD
:/
Bruh wait
for example if I type :
/run python
import statistics as st
x = [1,2,3,4,4,5,6]
print(st.mean(x))
then the bot will print the output here
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.
The forbidden word
hey, where can I get a help with a DeluxeMenu config? π
thanks!
seeing this kind of stuff makes me question my own experience
Don't questions your experience, look at it an try to learn more, a few months ago I had no clue about this stuff either ;p
how long ago exactly 
I mean honestly this offhand stuff seems simple
but all the resource pack magic
6 months, but there's a lot of other people's work that went into it, most of it was already done before i even started, learned a lot because there were people to help
There are some really good resources out there for RP stuff
6 months seems fair yeah
That's about how long I've been uhhhhh
idk honestly I haven't really put 6 months into something specific
I guess I've been messing with nms mobs for the past 6 months
I should start messing with resourcepacks some day
might end up making a full animation system
was thinking on implementing dynamic crosshairs on my zombies game
That could be quite fun to do with a title
titles are centered yeah
probably an hour's worth of work there
even though I already use titles for other stuff so I'm not sure
I can't understand the document
then uh
good luck
Add texture into assets/minecraft/textures/custom
Create default.json file in assets/minecraft/font/ ```json
{
"providers":[{
"file":"custom/logo.png",
"chars":["ξ
²"],
"ascent": 50,
"height": 50,
"type":"bitmap"
}]
}
whatever character you put there is gonna be your icon
idk guess?
I have no idea, I'm trying to search
{
"providers":[{
"file":"custom/owner.png",
"chars":["ξ
²"],
"ascent": 50,
"height": 50,
"type":"bitmap"
}]
}
is that good?
Yes it's working lol
but I need to make it smaller
Is there a way to use the kotlin plugin without shading kotlin?
in gradle
or possibly a way to exclude a package/dependency/etc with shadow?
yes
in the shadow task configuration uh read the shadow docs 
or don't use shadowjar ez
yes to both
kotlin.stdlib.default.dependency=false
Yeah, it adds it by default, adding that to gradle.properties turns it off
Hey anyone use the discord oauth before? I am having issues with cors and cookies
yesn't
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait
don't ask to ask. you literally post this daily
shut up
and yet you still do it
I am trying to take it into private dms instead of spamming it here
shut up
lmao
nah
I won't shut up
you literally tell people not to do this on a daily basis
congrats on level 90
thanks for the late congratulations
smh
Yes
Look up potioneffecttype
can u send me a link please
I'm on phone rn
Google that + spigot
Then you will find
I found it, thank you so much
it doesnt work
where i can send u ss
Send me a example please
open_command: potionkit
size: 9
open_requirement:
requirements:
permission:
type: has permission
permission: deluxemenus.admin
deny_commands:
- '[message] &cYou don''t have permission to do that!'
items:
'1':
material: POTION
potion_effects:
- SPEED;10;1
amount: 1
slot: 0```
also it does say on the wiki you have to specify a rgb value
I need help to start programming I want to create a basic command, can anyone help me?
Online Courses:
Online courses are also great for learning java. Some websites that offer them are:
- Coursera - Free unless you want a certificate
- PluralSight - Great courses from what I've seen. Mostly Paid
- Udemy - Never used them myself but they seem to all or at least most be paid.
My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.
Oracle Docs:
Oracle docs can help a lot at learning and understanding java:
- Start with this,
- Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
- Hit this.
They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff
Other services:
Some other cool services that will help you learn java are:
As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!
@zinc plinth 
@obtuse gale on #showcase , did you generate a model for each skin combination, or did you mess around with skull view angles?
because of how it is aligned and how it doesn't actually match the rounded inventory slots, I'd asume it's just view angles
at least if it were me I Would've rounded the heads as well so they match the inventory slots.
(if they were custom models/images instead of just normal skulls with the view angle modifed)
there is a way to make it bigger, consuming a 2x2 space
I can't remember if OR or Mineclub did it
@ TwistedDreams β€οΈ

@vivid sleet β€οΈ
That do be a null
so I am working on .cmd files so I can very easily run jars in certain versions without defining the absolute java exe path every time.
I currently have it setup and it works but I want it to just run the command without executing the content of the .cmd file on another line currently. If I run java17 -version it will print "C:/Program Files/Java/jdk-17.0.4.1/bin/java.exe" -version on the next line which executes the command and returns its output, is there a way to execute the command so that java17 -version will return the value of the command "C:/Program Files/Java/jdk-17.0.4.1/bin/java.exe" -version without printing it on another line?
Environment variable moment
what do you mean? you not talking about JAV_HOME right? because I want to have multiple command to quickly run things in java 8, java 17, etc.
Why
because I am devloping plugins in different java versions
Then you only need two versions
maybe more but still I need a way to change it quickly
Just compile to 1.8, or latest, why bother with multiple versions
1.8 will run on your legacy servers and
17 or whatever on your newer servers
yes but I still want to know how I can make this cmd work
Weird but have fun
But at what cost
A truly cursed setup I'm sure
On paper, Java 8 to latest (I tested Java 17 on mc 1.8.8) will work
Only issue is that some logs will have an extra newline
But besides that it will woro
Work
(at least Java 17 will, I haven't tested 18)
Oh and I also used aikars flags
Idk if that matters
yeah I usually do use those versions but for some fixes I get commissioned for people really like to use some weird java versions so I am trying to find a solution so I don't have to change my setup manually every time
Ye I use env variablea
Variables
Press windows key and type environment
And edit environment variables should come up
Then on system variables add a new one
Set the key to like JAVA_17 and the value to the path
Oh I see I currently have it setup with DOSkeys
OneDrive 

i once knew a guy that said he ran his games off dropbox because his pc only had 32gb of storage
boi what the hell
how to display item textures from itemadder ?
damn
that's one of the final things that made me completely remove windows
if you ever enable that protection shit
all your stuff will go in the dropbox directory
and you can't disable it or move back without a bunch of other shit breaking
idrk
Ay @steel heart how's the prehistoric era thingy going
daamn it reminded me dropbox api it is so bad
i will probably switch to google drive or one drive if that one has a decent api
@forest pecan dont used a cracked plugin, that isnt fair to the devs and you wont get support/updates. Just buy it from Polymart, it is essentially the same price as what you offered someone else to get you a download. https://polymart.org/resource/royaleeconomy-1-8-1-19.113/updates
They asking for , Card
should I dual boot linux and windows?
windows for games and surfing
linux for programming
yes you are right
nah
i think you should do it
if you gonna play much
like if you can play the games you want on linux without problems then you don't need it really
but i think being on linux is a gift
my pc is garbage
like playing a game is kinda takes more effort than windows
Im running a first gen i5 cpu
so you don't play
bro what you gonna play with that
Idk
like it doesn't matter that much windows or linux
It's more about the programming part
but you don't need to play anything
when I have my IDE
with browser
and discord open
my pc just freezes constantly
and lags a lot
linux would be better
yeaah
not worth the headache honestly
yes absoutely
just stick to windows and maybe upgrade your easily upgradable parts
like ram and such
i literally switched to an old firefox fork just to save more ram
i used to have that kinda setup and programming like that is real headache
(pale moon)
i also tried some "performance increasing" linux distros
if I wasnt poor
like clear linux and whatever
im a minor
it doesn't actually makes a difference
you guys dont work part time there as minors?
- there is absolutely nowhere near me that I can work
its limited but allowed here
it's fully allowed here as long as you are older than 14
which I am of course
but there is no where I can work at
not near me ofc
even if you are living in a small village
there are places where you can work
the local supermarket doesnt accept minors and most of the places require strength to work at
then gain some strength bro πͺπΏ
if I could find somewhere to work like in logistics or whatever like doing math or idk
nobody borns with muscles
you can really do both if you want to
I mean everyone is born with muscles but no one is born buffed
yeah technically
it might be worth on some aspects but it isn't gonna mark the big difference when compared to hardware upgrades
just use windows or linux like you don't need to use both of them at the same time for your scenario
and the thing that i am trying to say is you will notice a huge difference when you got the upgrade for your computer like i said i used to have a setup like yours and it's just headache like really
dual booting is a pain than sticking with one only regardless of which one you use
i would use linux for programming like it just depends on you choose the one that you are comfortable with
idk if i'd be comfortable with linux
I never used it before
then go with it you will learn if you are willing to
worst case you will switch back to windows
there's no gain if you never try
that's what I was thinking Emily
maybe I should dual boot linux and windows
test linux for a while
and see if I like it better than windows
yeah if you wanna experience it try it
just have to find a good distro
imagine if you could use every software you use with windows on linux
what compatibility issues?
like you can use wine bottles etc. to run exe
problems with mic, keyboard
sometimes
but generally it's not a big deal
you can find a solution easily
i think worst distro i have tried is pop os because of the compatibility issues
People tend to have many strong opinions but Mint and Ubuntu are pretty beginner friendly
I think I'll download arch linux
π₯΄
fedora is great
that looks so cool
I use arch btw
the OS has nothing to do with the looks
that's what desktop environments (DEs) are for
yeah you can customize all of them pretty much
oh
like you can have 10 computers using Ubuntu and all of them looking different
is arch beginner friendly?
eeh it certainly has gotten far easier to install since archinstall but I would still suggest Mint or Ubuntu if you know nothing
installing arch still requires some level of competence and understanding
i think endeavour has a easier setup tool? something like that
or it was another arch distro
Manjaro ftw
Lol it was one of the most challenging ones since it was very mininal and so u had to set a lot of it up yourself
But I heard of archinstall not long ago from Emily and so ig it's a bit easier? But since not as simple as other distros
Some distros such as manjaro are based on arch
Others such as Ubuntu are based on debian
They're both very popular
I like manjaro package manager tho
Since it supports AUR (arch user repository)
Oh and manjaro had a gui for updating packages (pamac iirc) which is pretty neat
And there's also arch official repository
Note that I don't use debian/Ubuntu so I can't say for those
@half harness I need an USB stick to do this right?
USB is best option
I don't have one available right now
Can I do it without an USB stick?
and will it be too slow if I download it in my hardrive
I don't have one available
what do you recommend, windows on ssd or linux on ssd
The program I tried to use would sort of fake it
I have a ssd and a hard drive
windows is already installed in the ssd
Then hard drive
Yea don't delete it
i'll just have to
Oh u have stuff on hard drive
U don't have to format
The setup would prob let u merge
I just have some games
Iirc manjaro did and Ubuntu etc prob do too
and the IDE I use
Just keep it
I'll use Mint
Hm ok
Haven't really heard much abt that
Ah it's based on ubuntu
Interesting
Alr
Welp let's see how it goes without a usb
I got an USB stick
my mom had 4 usb sticks in her car
and ofc I grab the one that isn't working
we are only going to use it to boot right?
Yes
we arent going to store anything in it?
No
Besides the iso
Look up how to install
On Linux mint
It should have step by step instructions
Lol
i'll just put it in the other usb stick actually
Actually no the iso does not go on the usb
Mb
The actual installation goes on there
christ
usb sticks are so slow
specially the cheap ones
which is what im using
i literally downloaded qbittorrent for nothing
I thought the website would make me download a torrent file
lol
correction:
mum had 5 usb sticks in her car
one was plugged in the radio
now she has 4
but only two of them work :]
@half harness
the dude in the tutorial said I need to shrink my total disk space
why
also
do I need to shrink the disk space of my C: drive (which windows is installed on) or my D: drive?
could anyone help me
Use
Linux
Mint
Docs
The setup should do it for you
im just asking
why do I need to shrink the disk
and which one
For me it asked if I wanted to format, pick my own partition size, or let it do it for me
I did the format option
But you would do the let it do for me option
Or the pick my own partition size
That'd prob better
So like 100gb for Linux or like half of ur hard drive space
so I need to shrink my hdd size in 100 gigs?
No
Don't shrink
Don't follow yt tutorial
Don't do anything
Just use the USB mint setup
i'll stop breathing then
so I'm not supposed to shrink the hdd size
then how am I going to give storage for linux
It will prob also give you the optipn
Since you'll also have to tell it where to install
So chances are, it's going to ask before formatting
i'll just run the iso
Yes
windows is already installed on the ssd......................................
Google how to change boot drive for your computer ig
Or if that doesn't work then Google how to change boot settings
And if that doesn't work then spam every button on your keyboard
And that is why you see windows when u boot up ur px
Pc
U gotta make it so that it looks in the usb
It does let u pick partitions in installtion
Just follow the official docs and you'll be fine
π
Guess what @half harness
Nicee
Linux is highly customizable right?
technically yes
it can be literally whatever you want it to be as long as you spend the time to make it happen
Windows?
yes
wassup
im now on linux
im loving it so far
the interface is great
id use it as my default os if it wasnt for the fact that windows is pretty much mainstream and not all software support linux
how do you click in ok
can i just close it
the terminal just glitched the fuck out
@obtuse gale sorry for ping
just tell me if I can close this or not
Sure why not
Paused
But
If you want me to I can continue it
Along with your capable assistance
I'm annoyed
When I finally want to make progress in my project git doesn't want to cooperate
I'll just continue suffering tomorrow
I just might work on it a bit when I'm bored
cringe
Xdd
i want a paid minecraft bedrock prison develper pls dm me
#1014873850560921651 Is a good place to say that
bros paying for a Netflix subscription π
Especially from @ocean quartz when I was at the begin π€£
It's not theft, it's called an open contribution
why reinvent the wheel
To be able to make your own instead of buying others
The emoji didn't post right π€¦
And can't edit
This was more about open source code, so I'm not sure what you spent money on
gonna make a skript to jar program what do yall think
Sounds bad
people hate themselves
i need help with placeholder api when i use %world_biome% placeholder the biome name latters are all small i need first one capital for example: "forest" i need it "Forest"
anyone can help plzzz
@Support
plz]
@eager fern Sorry for tagging but plz can you help me ?
Anyone ?
Hehe. π©
π¦
they most likely can't. also ask in #placeholder-api please.
(and be patient)
i am sorry i am new
this is a community ran server so if someone will be able to help and have time for that, they will probably do it
um ok : (
so i ask it in #placeholder-api or here it is ok ?
Dont ping me
Sorry
Hi, is there a way to get the argument and then call it from a variable? Ex:
placeholder called %javascript_core_test%
Code:
var test1 = 10;
var call2 = 20;
var x = args[0] + 1;
return calc = x + 100;
How can I output the x as test1 and return calc as a valid number?
the arguments are strings by default
so you'll have to parse them to integers if you want to use them as integers
Here's my code,
var acrobatics1 = '%mcmmo_xp_acrobatics%';
var acrobatics2 = '%mcmmo_xp_needed_acrobatics%';
var y = parseInt(args[0] + 1);
var y = parseInt(args[0] + 2);
var value = Math.floor((x / y) * 100);
return value;
so if I call it %javascript_calling_acrobatics%, I should return 1 value which is the percentage. I'm always receiving NaN so I don't know if this is the right code.
Right now, I'm trying to explore eval()
but since it has performance issues, I'm looking for other ways to obtain the correct data.
can you move this message to #placeholder-api btw? this is the wrong channel
Sorry for that. Sure thing, let me move these messages.
hey there, I'm running into an issue, everytime I reload Papi all my expansions unregister an I have to register them all over again
does anyone happen to know why or how to fix it?
set persist to true
override persist() and have it return true
thanks, i fixed it
I'm having a difrrent issue now that maybe somoene can help me out with
this is the scoreboard i made, used a file from a diffrent creator, altered some stuff with his help because apparantly the math extension wasnt compatible with my servers java version, as you can see the health line doesnt actually display any health, it just says health
https://imgur.com/a/KcgUHgy
this is the config of the scoreboard
https://imgur.com/a/CqOCd9Q
and this is the javascript beeing used
Any idea why its not showing ? what can I fix or do diffrently? I'm very new to all this and feel like im navigating in the dark most of the time lol
Like literally sth that compiles to a jar rather than running it
https://www.reddit.com/r/admincraft/comments/x7a0eo/i_created_a_monospaced_version_of_the_minecraft/?utm_medium=android_app&utm_source=share this is actually nice
:why tho:
Yeah dude that project literally does compile to JVM bytecode, that's why I sent it
makes sense i didnt read sorry lol
Good afternoon. I have a question about the plugin "Guilds". Is there any way to connect it to Dynmap? And that information about the clan region was shown?
I apologize if there are any errors, translate with the translator
https://www.spigotmc.org/resources/guilds-30-sale.66176/
#general-plugins is probs the best place to ask.
Thank you
#spigot-linking and then you should have access to #guilds
Hello there! I wondered how I could create fake player in tab through ProtocolLib, and maybe even assign them a skin that you see in the mini-square
Could you help me?
Dear developers, please add cooldown to the commands or to the menu items. By doing this, you will greatly help a huge number of users who are trying to create cooldown with their own hands with crutches.
:huh: ?
?
Deluxemenus
ive got a solution for adding cooldowns to menu items, just add a temp permission to the player using luckperms
sure its hacky but it would work
Close, it's based off skript but is ultimately a new impl
well yeah it's a "dialect"
but i gather it's made that you could add the minecraft specific stuff back very easily
Sure, but regular skripts won't work is what I mean
Regular ol ^tm
I am using this sub command system for executing commands, and I am not sure how to implement a tab completer for it without using a huge function and .setTabCompleter(new asdkoaswd());
is it cool to make a bungeecord/spigot plugin that will allow both online/offline players to join
make sure to add proper uuid handling in that case
uuid given by mojang and uuid generated for cracked players on the server side will not match
hello. how to add counter of VoteParty to scoreboard? i need the placeholders!
You can modify your .gitignore file or like git remove (I think) files you don't want pushed.
git reset
or intellij you can right click a commit and "reset to here"
which removes the commits above
no problem now
I dont care anymore tbh 
@quiet sierra I'm checking out your Skyblock core on Github, where is the DataSync repository? https://github.com/IllusionTheDev/SkyblockCore
I believe so π
I posted datasync for sale on spigot for like 3$ and got no sales so I closed the source to see if I get better luck
I guess I can give out the source to buyers
π€ you must do according to the GPL License
Neat, suppose I'll buy it when I get back to my PC. One other thing, do you happen to know if your skyblock core supports 1.19.2?
uhhhhhhhhhhhhhhh
honestly
it has a lot of work to be done
so I'm not even sure if you should be considering it
We were planning on doing a bunch of modifications anyway, just wanted to see where the project is currently at
uhhh
let's just say that even the core concept is not there yet
I do want to make modifications as well, but I don't have the budget for that
Hypothetically, what would import *; do
error
lmao
what would the error be though
DontDoThatException
it won't compile
Ah

@fallow plank please use the #1014873850560921651 service channel instead.
ok
Funniest shit I've ever seen
Required a qualified name, and as such the error is "Expecting qualified name"
I thought gson wasn't updated anymore
I believe its in some sort of "maintenance mode"
where they probably just fix bugs or whatever
@rugged umbra I'm interested in your homes menu
does helpchat paste have an api
yes
it's the same as hastebin api
and switch the domains
Posted the files in #showcase If you want to try it π
Also included a readme
Ok someone help me, If i have a third party kotlin class that is not a data class. I want to serialize and deserialize it with Jackson - preferably without just converting it to my own type. Currently the issue is that Jackson is trying to access the actual field instead of the generated getters and settings for that kotlin property. I am using the Jackson Kotlin Module, however it is not detecting it as a kotlin class since its not a data class. Is there a way to use Jackson mixins to tell Jackson where to look for the getters and setters? Or something else?
Although how would it know what are getters/setters and not just regular methods that start with 'get'? (And some people don't prefix their getters/setters with 'get' and 'set')
I don't think that this would be something built-in, and you'd probably have to make your own serializer
Note that I've never used Jackson before, and I don't do much GSON serializing
yo omegle bots are advancing
apparently there are full on chatbots roaming around
like bona fide neural nets advertising websites
Nice AI design
Okay thanks
Anybody feeling helpful today? π₯Ί
No cause it's white theme
Sounds like an ILP problem
probably loop over each store and attach a score according to its cost, then place on lowest
repeat but with new calculation taking account of the werehouse placed (aka if the cost of delivery is higher than the one already placed provides) and place on the lowest again
probably not the best way, but i think it would work?
Hello. Can you please add support for Oraxen in DeluxeMenus? Would very much like to have 'material: oraxen-<item-name>' as an option.
:what:
that's already a thing @modern tiger 1.13.6 - exactly what you said
sorry, I confused it with itemsadder
You had me excited for a second. π Any chance of getting that added soon? I use custom items in all my menus so it would be a great QoL update.
make DM os and I'll add it myself 
Absolutely beautiful
is the new protocolmanager from the ProtocolLib latest snapshot returning null for anyone? 1.19.2
Hello i need help connecting my xbox to discord
It seems its glitching out
And not connecting
this isnt discord support
Good one micro$oft 
classic
nah most absurd posts are made because they dont really need someone but if someone applies and accepts a lower salary than they should be paid, they are welcome xD
its also quite common to open them for hr sake, but spot is already taken internally as a promotion
its easier to list it and say no valid applications than to go through the process for some big corpos
How would you know how much you should be payed? Since for ex if it's too high they'll just reject you
Oops
Sry for ping
You know your worth, especially if you have 5 years of experience and whatever else is listed there + is not your first job
- "Senior Software Engineer"
Never let the company decide your worth
Let me instead
@hot hull
Whats my worth
Not even worth writting
Rough
Research before the interview
Anyone knows how to create a daily reward claiming after watching an ads? Like hypixel ?
by making them watch an ad and give them a daily reward
Quick question, not sure if this is caused by a plugin, however Uppercase commands (ig. /Day) fail to execute properly, and I could've swore this worked in the past
they work fine
You sure? (On 1.19.2)
k thanks, just so I know what the hell too look at lol
maybe they broke with the new chat thingy
1.19 paper has brigadier, maybe that's why
Which mostlikely doesn't lowercase the command before checking
https://github.com/Mojang/ore-ui
Minecraft Bedrock Edition is migrating its UI system to a solution based on web standards. This repository contains some infrastructure bits used internally, but that can also be shared across other game studios and general-purpose web applications.
Cool things for java edition WHEN
after they implement a market so they can actually make money from it π€£
true
any command that isnt lowercase fully will fail
spigot fucked up commands in 1.19
only in 1.19?
Only commands?
True
What programming language would you guys suggest using for making Discord Bots?
I know JS is pretty commonly used, wondering if something else could be better
I think discord.js is the most complete/updated library?
discord.js is pretty good yeah
the only problem is the js ecosystem hates semver and so every update has a million breaking changes
the only problem is js*
well i'm assuming any sane person would use typescript
still js but less shitty
nah typescript is good
anyone here that has experience with awt Graphics/Graphics2D? I got a weird issue
what's the issue?
/**
* @param parameters 0: is name of the player; 1: is name of the plot?
* @return byte[] of the buffered image
*/
@Override
public byte[] generate(String... parameters) {
File picture = new File(Store.store().resourceFolder().getPath() + "/player-sold-template.png");
try {
BufferedImage image = ImageIO.read(picture);
Graphics2D graphics = image.createGraphics();
graphics.setPaint(Color.CYAN); //set colors to cyan
graphics.drawString("Test", 6, 104); //write it in white for some reason
if (Store.store().settings().logGeneratedImages()) {
File logImage = new File(Store.store().logImageFolder().getPath() + "/" + parameters[0] + "-" + System.currentTimeMillis() + ".png");
if (logImage.exists()) {
if (!logImage.delete()) {
throw new IOException("Image could not be deleted, might be in use!");
}
}
ImageIO.write(image, "png", logImage);
}
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
ImageIO.write(image, "png", byteArrayOutputStream);
return byteArrayOutputStream.toByteArray();
} catch (IOException e) {
e.printStackTrace();
}
return new byte[0];
}
This should draw the parameter to the image in Cyan, however it draws it in white.
when I debug I do see Cyan tho which makes it even weirder.
even weirder is that black does work
what about using setColor?
same result
Carefully
What are you asking specifically, that's a rather large and ambiguous question
Yes
I don't know what your plugin looks like, so I have no idea how big of an undertaking this is.
But if you have specific questions I can try to help
That's probably going to just break the plugin
Something likely instantiates many or all of the classes, or reference fields in the class.
If it even loads on the server (which is a big if) it'll break anyway somewhere else.
Do you have the source at all?
well I would open the project in an IDE and take a look at the work required to cut things away.
For what purpose?
You just want the Gangs part only?
Well uh. Good luck I guess
I know very little
You'll probably want to setup a project with gradle and use the build file
Did you import the project with gradle?
Yeah, it might be that the dependency isn't on the classpath, what does the build file look like
Oh god
So
compileOnly(files('libs/vault.jar'))
compileOnly(files('libs/paper.jar'))
compileOnly(files('libs/mine.jar'))
compileOnly(files('libs/lp.jar'))
compileOnly(files('libs/pvm.jar'))```
These were all provided locally by the dev
The dev had each of those jars somewhere and used those as dependencies.
So if you want to depend on the same things, you'd need the same jars.
Or replacement dep i guess
Well there you go, paper, vault, and lp dependencies and you're probably fine.
Well if you want to do it "proper" I would seek out the dependency and add it like the others.
Otherwise, just find the jar and drop it into /libs/ and hope it's the right version
I mean, whats the method ? I'm checking about using JSON files but not really familiar how watching ads provide rewards works.
Quick question, what's better for the consumer, for configuring guis in my plugin, for every gui configuration to be in a single file or have a file for each gui?
Neither of those sounds ideal ngl
How big is the configuration of a gui?
Or rather how complex
If you can edit everything in a GUI, id go with a file for each menu
this, i tend to start separating once it hits around 50 lines
ye seen it like a week ago
its syntax is quite amazing
You can edit everything basically
Does anyone know how to hide the shulker inside the shell? I can hide the shell just fine but the head thing inside doesn't disappear.
Iβm trying to remove it via the resource pack but that isnβt working.
you cant hide the shulker head
anyone that knows why the graphics class only draws in white or black
but nothing in between
I was told you can
Is that guy on crack?
if you removed the texture of the shulker's head, so make that area transparent then you could remove the head
if its a seperate image file then just make the image transparent
...I did
it doesn't work
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
How do I fix this? https://paste.helpch.at/nugipemafe
Pray to your god of choice
?
dont pass null to translatecolorcode
at net.thedepths.core.util.Util.replaceColor(Util.java:16) ~[?:?]
This is passing text to Bukkit via #translateAlternateColorCodes
That value is null, and needs to be set
so remove ~[?:?]?
What you should do is go to the file Util.java line 16, and see what's there that might be a null value
return ChatColor.translateAlternateColorCodes('&', str);
}```
So the value of str is null, go see where that value is coming from
or you could do a null check here
how do you do a null check?
that statement worries me
you do a check by checking using an if statement
so in this case to check if something is null it would be if (string == null)
if you want to see if its not null then != would be used instead of ==
this is good for primitive types
I can't seem to find anything with null in it?
It may not be set null, it might be a field that is never assigned a value
Does anyone know how to hide the shulker inside the shell? I can hide the shell just fine but the head thing inside doesn't disappear.
Iβm trying to remove it via the resource pack but that isnβt working.
You're determined
Yes.
This is an annoying problem.
I've tried making the texture transparent but it has just resulted in some weird blue box appearing where the head should be.
key = key.split(" ")[0];// outputs Tag1
userItems[i].tags[key].push("tags");
TypeError: Cannot read properties of undefined (reading 'Tag1')
any one can explain to me why please i get set this key object dynamically i get error on the [key] secto
Js
What are the chances bukkit scheduler would be broken on 1.19
Cause for the life of me I can't get it to work
0
Code?
Do you not know how to use the bukkit scheduler yourself?
Literally just
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> {
System.out.println("Delayed Task - 5 seconds");
}, 20 * 5);
isnt it runTaskLater()?
not scheduleSyncDelayedTask
/**
* Schedules a once off task to occur after a delay.
* <p>
* This task will be executed by the main server thread.
*
* @param plugin Plugin that owns the task
* @param task Task to be executed
* @param delay Delay in server ticks before executing task
* @return Task id number (-1 if scheduling failed)
*/
public int scheduleSyncDelayedTask(@NotNull Plugin plugin, @NotNull Runnable task, long delay);
i know that runtasklater does owrk
Has it finally been completely deprecated then
maybe it failed to schedule the task idk
Doesn't error, it just doesn't delay it, executes right away, so might have been deprecated then
how do you know it's not delayed?
looking at the javadocs its not deprecated, but it could just be bugged so try runtasklater
Because I have eyes and I can see the time in the console?
not convinced
Not convinced how?
you compared two log entries, but you didn't tell which was the other one, which is what I asked for
why are you using the old one anyway
Yeah not sure why it wouldn't work then.
