#dev-general
1 messages · Page 70 of 1
Because cube's hangman system only counts as guess when there is only 1 char in the message
Or if the message is near or is correct, at least
ive confused myself lol
Yeah if its 1 letter or if the length matches the length of the word the guess will count
bruh where tf is the paste lol
Where tf is what paste?
cubes one lol with the code for me to copy and paste use
aha found it in my history
fuck me
just spent about 2 hours trying to make kotlin scripting work
turns out
i had a space in the filename
javax.script.ScriptEngineFactory
I hate this so much
Just become an artist
#development por favor
or a builder
oof rekt
lol
✝️
🤢
no ??
because js bad
those curly bois...
is that kotlin script?
and why are you using allman ???
good question
good boi BM
<3
Betraying us
soz
🤢
yes
im trying to decide how the actual scripts should be done
:))
that's how it's done by default
offlinePlayer and player smh km
an OfflinePlayer with an optional Player if they're online
soz
i'm making it function-y
I know
you can probably just pass OfflinePlayer and have a check for #isOnline
true
if you can have the predefined variables then it's perfect
ok
that's getting better
tbh idk much about papi
so having to figure out how it actually works is fun
Do you think it should be 1 placeholder per file? or support many
1 is enough
@ocean quartz am I able to use the @Command annotation in multiple classes to keep it organised or is that not an option
Yeah
k gucci
-.-
...
@hot hull Would you want just command aliases or subcommand as well?
just main commands
@hot hull Is this good? commandManager.register(new YourCommand(), listWithAliasHere)? This way is pretty easy to implement
Is there a way to change the Command annotation to check that list correctly then?
No you can't change the annotation, the aliases you would set on that list would only apply to that specific command being registered
So the main command wouldn't be configurable, just it's alias would be
Yeah, I guess I can make the command configurable as well
I think i have a good idea
@ocean quartz wUt
org.bukkit.plugin.InvalidPluginException: org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register com.github.frcsty.frozenjoin.mf.base.CommandManager@3a0cab89 while not enabled
The plugin is disabled
Was thinking of making a spongebob mock command for barry.
Probably would be abused.
Idk check your code Watson
Issue is I did, and I don't see anything that would cause this
You're initializing the command manager out of the enable
O
@hot hull @distant sun How does this look?
green and purple
looks nice
I meant the way to set the aliases xD
why cant we just use @Alias({"alias", "alias"}) ?
I mean that's already a thing
but I think I see wachu mean
then do the same for permissions and such 😿
Yeah that annotation is already a thing i am confused, you wanted a way to set it from a config
Permissions? Like on register as well?
perhaps
Would totally get rid of having to use plugin.yml :p
you dont use plugin.yml
Alright let me implement that then
That was easy
@hot hull @distant sun Anything else?
Don't think so
A burger would work
Gotcha
@hot hull @distant sun @errant geyser Released 1.4 with the sendMessage accessible from the command class, and the alias as well, I'll update the wiki when i can
damn
There you go, biomes on the planet, now that most textures are done, gotta work on the features xD
Y'all are putting so much into this
It's pretty cool
Plus I gotta try beating Piggy ;p
https://pastebin.com/vHaJeqPf this menu wont work only one item does. can some one help?
?paste
@pallid gale who added pastebin to that list?
¯_(ツ)_/¯
@quiet depot I'll edit it when I get on pc
thanks
@ocean quartz resource pack?
@distant sun I'd assume so
or SetAliases(String...)
Niall, that is verbally incorrect smh
time to finish off my hangman game.....
Good luck
imma need it
bruh A isnt being detected as in the word
?paste
Ngl intellij is kinda good
Notepad is better
Though light theme burned my eyes
Get material UI plugin and select Atom One Dark and you'll have a good time
it's kinda ugly
I come from eclipse
atom is good
https://i.imgur.com/9S7yzIA.png what does this mean
before a package name
What kind of package it is
Atom One Dark with Orange highlights
Mine looks the same Frosty, just background colours are different
Oh and I use High Contrast
How do I have multiple projects open in 1 intellij window
You can't
No it's not..
Ye
I'm still having issues with the countdown thing if someone could please guide me through doing it I'll be so thankful..
What countdown thing?
oh god not this again
Its a serious question
That's fucking stupid
@signal tinsel I agree with you on this one
Like what if I want to have my lib with my Project 🤔
And hell no I ain’t switching that shit over and over again
Honesty it takes me 5 seconds to switch
including loading times
but its fucking annoying
I haven't decided on whether I'll use intellij or eclipse yet
open the project in another window and ALT + TAB. problem solved 😄
Doesn’t take allocate more memory though?
Well your PC won't die from 2 ij windows?
and how u want them to be in one window anyway? tabs? that would be stupid :p
The ultimate idea is to use eclipse
Yeah that’s how I managed to have 20+ projects
Oh well 17 abandoned ones
lel
It be like I get an idea, I get bored, I get new idea
@quiet depot Did you manage to get the plugin to set the resource pack? Mine download but doesn't change
Oof got it working
Meteor shower event ;p
I made it so the planet is extremely dangerous, even rain will hurt (gotta implement that yet)
It'd be pretty dope if we can make the statistics expansion work for all versions under a single version.
6/10 needs more particles
Oof, I'll leave that for later, I have till tomorrow 2pm to finish this and still got some stuff to do xD
Like this? xD
Yeah Matt, just a tiny speed on them (so they aint static) and it'll be 10/10
make the fireball invisible and mount something meteory to it
still needs a little speed on the campfire
Both xD
Let me try giving them more velocity
thanks
Adding velocity to the campfire smoke makes it spread too much to the sides
Okay I like it yeah with 0.02
and naughty boy
you're using a deprecated method in your resource pack thing
you need to supply the hash and the link
not just the link
It's not deprecated though, from my tests with or without hash does the same thing
the point of deprecation isn't to remove functionality, it's to warn that the functionality will be removed in the future
so yes, it'll work, but it's bad practice to use a deprecated method
But it's not deprecated on 1.15 xD
it really is
Are you using Paper or Spigot api?
That's probably it yeah, hmm I might add the hash then
Looks good
Player#setResourcePack(url, hash)
also matt, you should probably check the current world in your resource pack handler
Oh yeah you're right I'll change that
I am not 100% sure tbh, I tried so many times to get it working and it didn't, ao I used a plugin for testing with my link and it worked, so I removed the plugin then tested again and it worked but i assume it actually didn't
Mine was doing that then it would stop and i wouldn't have the resource pack
Is that with your link?
Is it behind cloudflare?
no
wtf am I meant to do then lol
I use cloudflare on all my domains
does mega.nz support direct download?
I put mine on dropbox like some people suggested
ima try mega first, because I actually have a mega account
don't have a dropbox
rip doesn't look like mega has direct downloads, dropbox it is
I'll have to double-check mine tomorrow, i legit forgot it was the deadline xD
Yikes
wew matt mine works with dropbox now
Great
Nice, took me way too long
Now that i think about bit i spent a long time trying out with my domain, which cloudflare was probably blocking
Mhmm
So
I have a plugin library in intellij
How do I automatically include the latest code in a new project and change the packages to the new package name?
deploy it to your maven repo, shade it in when you need it
try file.io or someting like that?
it has direct download link iirc
else make a microsystem api on your server
then make json requests to it from your plugin by adding web ?
so you get the resouce pack over json 😛
i saw it work
its really weird
but it works
but you can also just add a host decline couldflare to maintain it
and then have an open end requesting environment
Anyone here got experience with making a bstats chart? I wanna make one so I can see the server names the plugin is running on, not even sure if that's possible, but hey if it is lmk how
Would be but i dont think you should
just make sure you mention it on the plugin page
metrics.addCustomChart(new Metrics.SimplePie("serverName", () -> getServer().getName());
Idk why i chose pie
Pie, line chart or bar chart
One nice thing sponge does is opt-in metrics
I think that's against their tos @hot hull
One could hope
Ah, I mean would be nice to promote the servers using my plugin ;(
Not everyone want to have their name displayed somewhere.
I meam yea I'd ofc make a toggle for it
Mean*
@rotund egret I have a stonks option in my plugins config :))
Stonks?
what did you said that creating a new instance of papi metrics does, frosty?
It adds your plugin to Papi's plugin list
displayed where
Sec lemme link you it
damn 341 servers arent using the ecloud https://bstats.org/plugin/bukkit/PlaceholderAPI/438#using_expansion_cloud
Aternos or what lol xd
Makes me sad
Almost 40% on new version.
Wait nvm it doesn't
That means soon we get to open the eCloud again.
Or does it, I'm confused
from 19k servers at January 18 to almost 29k today, damn
Papi be neat
There's nothing on bstats about "Plugins using papi" or smth, Frosty
Do you know anything about this, Glare?
Yea I'm dumb, @frail glade mind explaining to me what that does again
DIY item hover xd https://i.imgur.com/82v6Ncb.png
Gaby, I asked him the other day, but my weak mind didn't understand it
Means we can allow downloading previous versions of expansion again in-game.
Oo that's nice Gaby
?
Forgot bstats was a thing
explain him Frosty
The Metrics class papi includes, making a new instance of that does what?
Sends stats to bstats?
Doesn't papi already have bstats enabled tho
smh
On mobile, what's that Gaby
What about it
bstats is enabled Frosty
Ya
he said something about creating a new instance of Metrics (included on papi's code) from your plugin that uses papi will send some data to Papi's bstats page
That's what Glare said smh
I said nothing
smh my head
@distant sun Bungee servers have online mode to false, that's why so many have that
Indeed lmao
Matt did you meet the deadline?
Yeah, only missed one feature, was gonna make some random rays appear and abduct the player to the new planet, so right now you can only go there with the command
I gave up halfway
@distant sun What exactly does override true do on actions?
Also, does running the actions already parse papi placeholders, or do I have to do that myself
@distant sun What exactly does override true do on actions?
@hot hull where?
And yes, it does.
Oh
If its true it will replace already existent actions with the same identifier
Check the code p.p
eFfOrT but mk
@distant sun I can pr aditional actions ye? :>
If they are useful for everyone, sure.
- Wtf is plr
- Wont be better to create the json once and just sent it?
"Thanks" 😂
Here's a list of all the actions if you wann idk like document it
Player:
• [PLAYER] <player command> (command)
• [CHAT] <makes the player send a chat message> (message)
• [PERMISSION] <bypasses a player's permission by adding a temp one> (permission command)
• [SOUND] <plays a sound to the player> (SOUND volume pitch)
• [JSON] <sends json message to player> (JSON message)
• [MESSAGE] <sends message to player> (message)
• [CENTERMESSAGE] <centers a message to player> (message)
• [ACTIONBAR] <sends the player an action bar> (message)
• [CONSOLE] <executes command through console> (command)
Everyone:
• [BROADCAST] <broadcasts a message to everyone> (message)
• [CENTERBROADCAST] <centers a broadcast message> (message)
• [PERMISSIONBROADCAST] <sends a message to everyone who has specified permission> (permission message)
• [BROADCASTJSON] <sends a json message to everyone> (JSON message)
Why is the description before the arguments
Because.
Because
The fuck
Maybe I want to waste lines
Programmers will know
Like & Subscribe if you belong to this mysterious elite who know what a new line is
Don't have a subscribe emote!
ez
only real developers will get this 404 joke
@obtuse gale allman ftw
unpopular opinion
^
sthu Piggy
allman is the best
@ocean quartz if I use the gui filler to fill items, can I override those items down the line? (As in set a different item in that slot)
No, items take priority over filling
well
not with a class you don't have open
when I change something
And another class don like that
it gives no error on that class
Could we purchase the discord chat-reaction bot? its a really interesting bot. Please let me know if its available, thanks!
Also, would Glare be updating multi-currency? Lots of players requested mysql and also some other suggestions under discussion tab on the spigot plugin page
@thorny raft Barry is custom coded so that's a fat no I'd assume
How much would it cost to create such a bot? Just wondering

Hey. Anyone have any tips on what "ticks-per" monster spawns should be in bukkit.yml for 1.15.2 server? It should be put down a bit as there are a lot of mobs in the new version. Read a little about it, and it doesn't look like it works on spawning from spawners, does anyone know where to control it? Feel free to send me a private message if you can help me :)
Sorry if it's a stupidly dumb question, but sort of things do you have to do to classify yourself as a "software engineer"?
engineer software I guess
Well you'd need a degree for that
not necessarily
Don't you need a degree to be classified an engineer?
I'm not sure there are any formal requirements
I'd say if you write code professionally you are a software engineer
but idk
I think you can work as a software engineer but you aren't considered an engineer, I think, i'm probably wrong
I think most software engineer jobs would want a degree, but I don't think it's absolutely necessary
It's definitely not
Many software engineers have a compsci degree
But this isn't required either in most cases I know
here
Here's a brief overview of the changes https://kotlinlang.org/docs/reference/comparison-to-java.html
thanks man
Honestly the rewrite of DQ would only take me a few hours if I sat down and did it in 1 go, but I just haven't found time like that yet.
What should i use to export it? i am using eclipse at the moment
I use IntelliJ and the current branch uses Maven I think but the rewrite will be using Gradle.
this one? https://www.jetbrains.com/idea/
@mossy crag there are over 45 good udemy classes
check that out
i dont really like udemy tbh
Then what?
most of them have discord
@frail glade I am making a spigot/bukkit/paper version of the plugin to use in the queue server like on most anarchy servers.
Erm, okay.
so that you can just sit and relax
Okie
The converted code won't be entirely kotlin idiomatic bear in mind
The whole point of me making you set the player limit in the config was to avoid the need of a plugin on the backend.
Else I would've made it work on those too.
yeah, but this way i can have a gui system
Okie
and a more stable perms system
Alrighty, have fun with that.
have a good day
Is there any reason why when you make a new kotlin project intellij doesnt auto put shadow into build.gradle? its kinda annoying having to add it every time.... should be a feature in intellij
The Shadow plugin?
For shadowJar
ye
#694758126783692930 might be worth wild
The server is private whitelised, it's not even out yet.
I was just wondering if I could get some advice.
It's a 1.15.2 survival server.
Hello.
I've got an insane dream to recode Movecraft for my space-based server.
Currently talking to a developer but I wanted to know if this was possible.
And, if I should go through the effort to doing so.
@ocean quartz 1.5 is live or?
Of?
the framework
Trynna add them aliases but doesn't even import it correctly so I'm guessing it's not live
Check on mavencentral
any idea when will PlaceholderAPI3 repository be available to public ?
soon™️
@hot hull It's been out for a few days already, and it's 1.4, always check the change logs on the wiki ;p
smh
🏓
Hey guys, do i need to download the https://www.spigotmc.org/resources/62935/ plugin for the API to work? or do i just use the API on https://teamvk.github.io/AutoSellAPI/
the former is not a plugin
@lunar cypress sorry, what?
so i just use
plugins {
id "com.github.unafraid.gradle.git-repo-plugin" version "2.0.4.1"
id "java"
id "maven-publish"
}
// this will allow you to use github() to specify the github hosted maven repository
apply plugin: "com.github.unafraid.gradle.git-repo-plugin"
repositories {
jcenter()
mavenCentral()
github("teamvk", "maven-repository", "origin", "master", "release")
}
dependencies {
// ... other dependencies
compile group: 'org.spigotmc', name: 'spigot', version: spigot_version
compile group: 'me.clip.autosell', name: 'AutoSellAPI', version: '1.9.3'
// ... other dependencies
}
You asked whether you need to download the plugin
The resource you linked is not a plugin
i know
It's the same thing you get when including it via gradle
Okay, so do i need to?
I don't understand
yes
Use the repo
@hot hull do i need to download this https://www.spigotmc.org/resources/autosellapi.62935/ or just use the API
I'm confused. Aren't you having someone make this for you?
@mossy crag Yes
They're both the api.. one is just a downloadble jar if you aren't using maven/gradle
Then they should know what they are doing
Oh ty Frosty!!
Hey guys, i am getting an BackPack plugin made, will someone be able to hook up Autosell so they can do /sellall and it will sell items in the backpack? because he said he may have to charge more....
idk maybe try to do it for free?
@lunar cypress i will have the Source so yes, he said i have ReSell rights
@lunar cypress tried before, people just tried to steal my plugin 😐
¯_(ツ)_/¯
Gaby, can I replace a certain part of a message with a jsonmessage, or do I have to send a new jsonmessage
Idk
Time for me to learn. https://i.imgur.com/TLTz096.png what do you guys recommend I tick here? I assume you could install these later but I'd rather just do it now.
i'd add java and maybe kt and kts?
btw, I think i just found some of the worse code on spigot https://github.com/gochi9/playtimeapi/commit/e547babbff6261d80fb8e95df1968da6a9f98fb4 🤮
?plsnoarrowcode
😂
not my code lol
ik
Did you post someone elses code instead of yours? I'm confused
Let's not go randomly shaming people smh
Those arent exclusive things
Frosty what associations should I tick also do I install the jetbrains runtime thingy?
You can state an opinion that shames someone
Cause I've no idea what you want
, there's probably tutorials which explain everything
i posted the image above
discord just took a shit and scrolled me all the way to the top of this channel wtf
Time for me to learn. https://i.imgur.com/TLTz096.png what do you guys recommend I tick here? I assume you could install these later but I'd rather just do it now.
Doesn't really matter
You should use the launcher matching your architecture
oh i ended up ticking everything but Add "Open Folder as Project"
Are you running on a 32 bit machine?
64bit
then why'd you install the 32 bit thing
no idea. it was there so i assumed just to install it 😂
I'm not sure whether this installs it as an addition or as a replacement
@lunar cypress "How to get win 32 for free" xd
wut
Nothing
@ocean quartz is your framework's javadoc page supposed to look like this? Just clicked on the link from ur gh
Hmm you're probably looking at the old docs
This should take you to the correct one https://mf.mattstudios.me/
Yep, thats right. This is the wrong link then
Yeah that wiki is pretty old, so I wouldn't use it, the new one is the updated one
I should delete the old one
Also speaking of which let me update the docs as well
There you go
I mean we have this https://github.com/PlaceholderAPI/PlaceholderAPI/wiki
Yeah thats what i'm using lol, don't worry about it
One thing i'm confused about is why there is 2 methods
public String onPlaceholderRequest(Player player, String params) {
and
public String onRequest(OfflinePlayer p, String params) {
It's so you don't have to have a player online to display some of the placeholders.
i understand that but what i'm confused about is if i create a placeholder in the Player one or in the offline player one but not the other than what will be the result?
like when is each one called?
Is the Placeholder API javadocs hosted anywhere?
o i got one https://aboodyy.net/PlaceholderAPI/overview-summary.html
Not sure which version though
The one with the offline player is newer iirc. Just another method for offline player support?
yeah i get that but is it something i can ignore. in what cases will the offline player one be called, any examples?
I understand the basics of placeholder API but this is first time making an expansion for it
also yeah i found the offline player method in those java docs but has the same description as the other one.
should i be in #development ?
didn't notice that channel till now
Basically, use the offline player one if u want your placeholder to support offline players (ur placeholder doesn't require an online player)
ahhh i see
so if i override the Offlineplayer one i should keep the link to the Player one
For example, you can check the player expansion, there's placeholder that doesn't require the player to be online to get the value, and other does
so if i override the Offlineplayer one i should keep the link to the Player one
Hmm? Wdym
I'm assuming that the OnlinePlayer method is never called directly but through the OfflinePlayer if the player is online?
so if i override the OfflinePlayer version i should keep the check for wether the player is online, if so call my OnlinePlayer version and if the player is offline continue to do my offline player placeholders in that method?
Not sure about that, but i usually check if player isn't null in both methods.
But you don't check if player is online in the online method, as its a Player object
@Override
public String onRequest(OfflinePlayer p, String params) {
if (p != null && p.isOnline()) {
return onPlaceholderRequest(p.getPlayer(), params);
}
// Offline player placeholders here
}
@Override
public String onPlaceholderRequest(Player player, String params) {
if (player != null) {
// Online Player placheolders here
}
}
this is what i'm thinking
Glare might be mofe specific with that though
You don't need both methods, use the online method if your placeholders doesn't support offline players, use the offline method if some/all your placeholder support offline players.
And as i mentioned earlier, take player expansion as an example
Its in the PAPI org if you want to take a look at the source code
Thanks for your help, but can you tell me any example of when a placeholder may be requested when a player is offline?
anyone here is familer with leaderheads
if an error occurs within the onPlaceholderRequest method what is the result? my desired result would be to leave the placeholder as is?
If the error hasn't been caught, then it will print the stacktrace in the console and nothing will happen to the placeholder, correct.
@severe pewter you owe me money
@eager fern why
@obtuse gale I didn't @ you?
@eager fern sorry
Ngl you've been wanting to make so many things lately
Just go to pvpwars or something, and recreate something
or learn something new
Finally after a long time, I figure a way to detect if player is mining by invoke directly from playerinteractmanager NMS
Is there any way to stresstest/benchmark a mc server? Like how many users can connect at once etc.
For my bungee plugins I have something that works in offline mode called Lambda, it can be found on GitHub.
Time to get a spoofer and throw a couple hundred players on it :p
I think those are there by default.
^
yeah but you cant delete them?
I don't think you can
rip
Personally i find xml pretty hard to work with and even to config things with
I know yaml is pretty bad as well, but hey if you use ConfigMe, it's actually pretty nice
xml is actually really nice, atleast spacing doesn't fuck you over :p
Only doubt I have is how users would find it
Like some people struggle to configure yaml properly, and xml is completelly different to it so that would be a disaster
I don't think I've ever touched an xml config file, maybe once.
I mean like how does this look https://paste.helpch.at/civefitezi.xml
Disgusting
confusing
I'm absolutely repulsed
smh
Then again, i have a bias against XML from working with Android
kek
You're just changing the numbers here
not adding/removing anything
So I think it should be fine
Yeah but it's confusing, detection, okay understand, trail what? points? min, max, avg? It's so much stuff
Everything is explained in the comment ;C
I dont want to read
I mean like how does this look https://paste.helpch.at/civefitezi.xml
@hot hull 🤮

Does anybody know anything about CrateReloaded code? Is it good, is it bad?
It is code
smh frcsty
Why
What is that
Are you making a server too gaby? ;p
Not really, it's for a setup.
ah
ima make a server with a bunch of custom coded shit
Im not a big fan of CR but it has a better api and after checking CrazyCrates' code ..
and never release it :)
Make your own crates plugin
I made my own
Maybe another day
Its easier than I thought tbh
Gaby is it gonna be some setup you sell or smth
on mc market or smth
Mcm
I want it to be good, already started to work on some plugins but I dont have time to make everything custom, nor knowledge haha
@signal tinsel sorry for la ping. Where did you start on making your crate plugin? :D
F:\Users\JustMaffie\Projects\CratesPlugin
:(
how hard would it be to combine 2 plugins
taking parts of each and making them go together
@obtuse gale how big are the plugins
Depends on the nature of those plugins
smh @distant sun set to override false and it still sends it -,-
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'ACTIONBAR'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'BROADCAST'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'CENTERBROADCAST'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'CENTERMESSAGE'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'MESSAGE'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'CONSOLE'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'CLOSE'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'JSON'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'PERMISSIONBROADCAST'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'PERMISSION'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'CHAT'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'PLAYER'
.... [09:04:33 WARN]: [FrozenJoin] [ActionUtil] Overriding the action with ID 'SOUND'
Oh those are all yours, smh
Bruh
dissapointed
Do you have actions with the same id?
nop
Because I have tested it and I don't get any message.
Might make a public crates plugin
@signal tinsel I can't work out where to start on making a crates plugin, I wanna make a basic one lol
@pale shell honestly i started with a crate object
Just id name etc
Then prizes
Then physical crates
I mean, i would do nbt but when you place the item on the ground nbt goes no?
Wdym
so, when the chest is in the players inv, it can have nbt, ye?
when it's placed on the ground doesn't the nbt go?
Could
But i shift click my chest
And opens a gui to select a crate
Then creates a hologram
i mean it all sounds complex to me i guess i need to look into it a lot more
@pale shell if you need help just dm me
i'm not exactly the biggest fan of asking for help from people because then i'd be bothering them ;/
nice one jenkins
what one is it?! succesful or unsuccessful?!
but is it stable? 🤔
@pale shell if you need help DM me
its on spigot sooo
@signal tinsel lemme quickly test soemthing, then i'll probs drop a dm ok?
the developer doesnt warn that its beta or anything
that would help so much
Just a basic crate and key is all i need
I have a whole damn prison core to code lol
Alrighty, IJ is annoying me. What do I need to change to make this on the same line? I've changed all the annotation settings to not wrap.
i thought you were
Oi. no wonder you cry over your exams the day before you take them <o/ @frail glade
Well, funny story.
I had an exam last night and then I thought I had one thursday, turns out it was this morning.
So, I already took that.
Not I just want IJ to put the dang annotation on the same line.
why it matters to be in one line?
yeah
IJ apparently feels otherwise since it won't let me fix it.
Just do it like spigot and annotate everything twice
@frail glade private set
What
"lateinit" is that what your professors tell you when you're late with your assignment?
Like some of those shouldn't be set later so it's better to private set them
lateinit var guilds: Guilds
private set
That's just how kotlin handles acf dpeendency stuff
"lateinit" is that what your professors tell you when you're late with your assignment?
@hot hull it's a bit late, init?
the fact that i hate html/css continues
Oh my god html and css are aids
It's not that bad, JS in other hand 👀
It’s probably because I don’t understand it properly but elements start flying everywhere with one tickle of an adjustment
Trying to do some spiral particle effect, looked at Player Particle's code and boy the math xD
Ah yes, the desired effect, a beautiful spiral
Ayy I did it, wasn't that hard
Now use lava drip particle 😎
Uhm
?
is it possible to have a firework show for a specified player? (crates plugin)
I wanna make a big plugin, like massive, custom mobs, custom items, custom inventories, party system, player statistics etc, And all of my plugins are really messy, i dont want this to happen for this plugin
Whats like the best way to be able to manage this, and are then any frameworks i should be using?
then don't let it happen
Im gonna use matts command and gui framework but is there any other you would reccomend
I use Esophose's GUI Framework personally
but i dont think it's like public use
anyone can use it but I don't think it's recommended lol
ive used matts in past, so im gonna stickf with that i tihnk
good choice
This plugins gonna have like
alot of stuff, so should i split it up into directories? Like normally I have a listeners package, that has all my listeners, should instead i have a like pluginpart.listeners, to seperate it up?
Create a plan on how you're going to do it and what is gonna be added
The plugin i've been working on is pretty big as well, only reason why I haven't gone insane yet is because I've been doing everything I can to create an easy to use and understandable base, I think it's one of the most important things to keep it organized, modules for different NMS versions, then have each feature be well encapsulated, etc
Like I got to a point where for me to add new things it's nothing hard, just one or two lines, since the base allows for that
While on my old plugin trying to work on it gives me a headache nothing makes sense
So I'd say go slow, make sure the base of it works well before getting complex
I have boards, a database diagram and a note pad on my side all the time to keep track of what I need to do
yea, I only need one version for mine so that should make it easier, I dont wanna just burn myself out either, occasionally ill just get stuck on an error than just leave it for days and get really like annoyed at it
Yeah i know the feeling, I got burned out many times during this, literally started it July last year xD
now i gotta figure how to make a particle rotate slightly bent
Also Kotlin is another big reason i've been managing to keep the project organized
yea im definitly gonna do it in kotlin....
Is there any database framework or something i should be using?
Im gonna store user information in a database...
Also is this possible with only a plugin or texture pack?
Or would that need a mod
Its possible
Why the italics 🤔
Like technically, you could make an item look like a blank spot
ah
And you could make items with those placeholder textures
Can I make it so only items with a very specific name have that texture
But I doubt it would look as perfect as that
yea
The italics to emphasis the yes and no tone of voice Im using
yea lol
With resource packs(someone else is making the one for me) Can you make it soinventories with a specific name have a different texture?
Cos i dont wanna fuck all inventories
?
Well with resource packs you can change the background of inventories, how about custom ones?
There is item model data on 1.14+
no clue what that is but it sounds right lol
I dont think that would do anything to guis?
Since he's making texture for the items that'll cover most of the inventory he can set a custom texture to cover the whole thing and have each inventory look different
Ohhhhh I didnt think about the prospect of a single item covering multiple slots
That would help the seam issue
But then what happens when they click that slot and the entire inventory does the harlem shake?
xD
🤔
Well those are the limitations xD
Is there anyway with like texture packs you can set the background of the users default inventory
can you set the background of the default inv
generic_54.png
Without being how I said it, all you can do is change textures that'll effect all inventories
yea....
hm
If i make one item cover the entire thing, is the like 'hitbox' still the same?
It is right/
Should be, yes
alirght, if i have one item cover the entire thing would that thing have to contain all my icons on that? Or do i put custom textures on other items and put them "on top" (if thats possible)
Like do i just have a blank layer and put things on top
or do i have it all as one
¯_(ツ)_/¯
NMS is awesome
Even though it's weird..
All I did was take a variable from a nms class then make it run 1 tick per time..
nms is pretty cool
There is a variable that checks if people is still mining
But it's inaccurate, since when after you break a block and put cursor in the air while the left click is still hold, it's still returning true, even though after that you release the mouse
It's mc what u expect
I already told him about this
Is the right lonk
Which is
Nice turned off my pc, now it doesn't wanna turn on smh
I moved it do #development Mr Waffle
BlockPlaceEvent ?
oh is that called....
How do i get an enum as a string? Will toString do it?
Enum value? .name() or that
How can i get the stage at which a crop is at growing?
You will have to cast it state as Crop or smth
After an hour of trying finally pc back on lmao
Good to have you back Frozen
Hobby?
No
Mom wanted fucking flowers outside, and since I didn't have anything better to do, I helped her
Cute
Stfu, go study nerd boi
??
Your all nerds
You're*
._.
https://i.imgur.com/EHip2IC.png
Do all crops go through all of these stages?
Like whats the difference between very tall and germinated
xd
btw mind adding something so that actions like
'[message] ' still show an empty line, cause it's annoying doing &r all the time :p
Yo I just now noticed spigotmc api lol
When will it be possible to check if the user is a buyer?
never™️
well, it's supposed to split at the first Frosty
Yea I get that, but just instead of printing it out just send an empty line
what if you add one more space
Should work probs, I'll check later
If I was to use the headdatabase api would that remove the cache delay in getting skins from mojang?
doubtful
I thought they cache things.
hm?
cache delay?
usually set by the website
stops people smashing API's for live data
so if say last request was < 5 seconds it returns the same thing
the term is rate limit
Lol
bruh why is batch so .. confusing
its... not?
I only want to make it open the File Browser and assign the path of the selected file to a variable 😦
linux dialog command cool
sorry?
ECHO "enter the path: "
I don't think batch could get the selected file
you'd probably need to give it a file name in a command
guys can someone help me with c++?
Can try
Does anyone know how minecraft implemented their pathfinding method?
It does not seem to be a simple a* algorithm
@ocean quartz if I have it like this, where will it put the page items 
rows: 1
page-size: 9
On row 1
On the free spaces, seeing that you would need at least 2 items for navigation, 2 items would be lost because there isn't enough space
would they be thrown on the next page, or lost lost?
kinda oof but mk
I mean how else would you make it work?
Best way to find a memory leak within a plugin what's causing my whole pc to lag out?
Guys I am not good with this stuff but
Is it possible for two people using two different internet connections
To have the same public IP address, using the same vpn?
@pale shell if it is a memory leak, a profiler can find it
But I doubt it is unless you're heavily using static or something
then it's probably not a memory leak
Only static makes memory leaks..?
not exactly
but static prevents GC which is the most common cause of a leak
It's possible without but it's difficult to do
How would I make an inventory protected? So a player can’t take items out but can click on stuff?
cancel InventoryClickEvent
