#help-development
1 messages · Page 442 of 1
Or APPLE (:
lmao
thx
ty
apple?
Yummy stuff
No I mean, I try to avoid loading all the data for each player inside redis when starting the server.
By doing so I load them time by time at their login when needed
🙂
But why use redis here?
I was asked so
Oh okay lol
U just went with it?
Ye
Well for player data
Where entries last a login session
A simple ConcurrentHashMap is fine
I reckon
Maybe just a HashMap
Depends on how u work with it
I'm gonna figure it out
yeah, maybe a ConcurrentHM would be the best idea
How about Int2ObjectLinkedOpenHashmap
Well I use it to make my data transfers a little bit less thread safety heavy
how can block worldchange or using portals
PlayerTeleportEvent iirc
why the fuck is it that throwing items out of the inventory (like in the attachment), the slot for InventoryClickEvent is -999????
find that in the documentation i dare you
https://www.spigotmc.org/threads/anvil-slots.153020/ only place i could find a reference
😭
can you link it btw
gotta trust wikivg more than the spigot docs these days
what a horrible world we live in
how could i loop thorugh chunks around player?
Get chunk x and z
Then do
For (int loopX = x-1; loopX<x+1; loopX++)
And do the same for z in a linked loop
Sorry I'm on phone
Is there a way to force name on compiling Spigot by BuildTools?
I've seen only --output-dir flag/parameter but it is only for directory.
no
just rename it yourself?
I'm using ansible
I am sure that ansible is able to rename files
yes it can
I am trying to learn how to make a mini game plugin I do not know where to start.
have you made "normal" plugins before?
minigames usually consist of a game manager, that keeps track of each game's current "phase", e.g. waiting for players, started/running, finished, etc.
Then you usually have a loop / scheduler that checks the current game's states, does the logic for that phase, and/or switches to the next phase
Why arent the scoreboards switching?
https://paste.md-5.net/mutekatedi.coffeescript
Is there a way to get a parsed bukkit.yml object on the server?
Or will I have to parse it myself
It’s a yml file so I assume you can just load it like any other
entitiesToStack = plugin.getConfig().getStringList("entities-to-stack").stream()
.map(EntityType::valueOf)
.collect(Collectors.toList());
Logger.log("entity: " + entitiesToStack);```
Why my list is empty?
entities-to-stack:
-SHEEP
-COW
-CHICKEN
-PIG
-RABBIT``` config
all timers start at the same time so they also end at the same time
print the stringlist and see if thats also empty
it is
[19:43:11 INFO]: [LOG] []```
maybe replace the - with _ in entities-to-stack
i doesn't matter for yml
how are you saving it?
it's default config
that is NOT a list
you are missing spaces between - and the word
it must look like this:
without the space, it's basically the same as this:
thanks
hell ye reminds me of alex
putInt(0, 0) for the win
im wondering how much memory leaks i already have
i always clean up my allocated memory so ig zero 👉👈🥲
shortened my code a bit
Anyone know what this error is when trying to build buildtools 1.19.3?
at org.spigotmc.builder.Builder.runProcess0(Builder.java:1055)
at org.spigotmc.builder.Builder.runProcess(Builder.java:986)
at org.spigotmc.builder.Builder.runMaven0(Builder.java:955)
at org.spigotmc.builder.Builder.runMavenInstall(Builder.java:914)
at org.spigotmc.builder.Builder.main(Builder.java:523)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)
it loads before the world loads. i set in plugin.yml: load: STARTUP
but still the problem doesn't change.
Where are you trying to read it
onEnable()
Worlds should all be loaded in onEnable on load: POSTWORLD
I don't think they are with load: STARTUP
Unless this is a custom world from another plugin
This is a normal generated world.
What do I need to do?
POSTWORLD by default and doesn't work with it either
Is it one of the default worlds
yes
Weird, should work fine with postworld then
?paste the code
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.
Changing player name above their head using nms
config is loaded when plugin is loaded
if your plugin loads before the worlds are loaded
well you can't deserialize the location cuz the world isnt loaded yet
Send the entire log like it tells you to
?paste
config is only loaded when you first access it
do NOT assign the config to a Field or that counts as an access
how to create text that activate link
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
how send text like message click where message is normal text and click is clickable text
Read the wiki page
how to get itemStack list from config?
Hello i have question about format in config.yml
How this config (image) can i turn into a message? in one or 3 (player.sendMessage)
Use getStringList to get it as a list
I know how to do 1 line but multiple idk
Then loop the list and sendMessage each entry
Ok
And another question
how i can create a placeholders?
in other class/files or anywhere
Just using replace is fine for a single value
If you have a bunch you probably want something else
why is digitalocean still charging me
bruh
i thought reserved IPs deleted with my droplets
method getItemStackList does not exist
No but you can getList() in which all objects inside should be ItemStacks
It's a List<?> (which is basically just a List<Object>) and you can cast the values
Yeah, cast it
ItemStack itemStack = (ItemStack) list.get(j);
I'd recommend doing an instanceof check if you want to be absolutely certain, but the cast will be safe so long as that - ==: org.bukkit.inventory.ItemStack is in the config entry
What if it reproduces null?
Then it will just be a null ItemStack instance
Would be the same as doing ItemStack itemStack = (ItemStack) null; which is valid
wow, it worked! thanks! suffered all day. thanks to everyone who helped!
how to loop it?
i cant do another string for this
o thanks bro
for (String string : plugin.getConfig().getStringList("test")) {
}
or is there context im missing
should map.size(); work for getting the lenght of a map?
i'd rather to not make a client
bc of that
but
i think a cat should be enough for the png
damn
this dont support hex colors?
how to send this message?
i cant figure out
you can make util class that join list as one string with new line option
It does
for (String messageLine : plugin.getConfig().getStringList("test")) {
player.sendMessage(messageLine)
)
this @mint nova?
wait i will test it
i am getting a NoDefClassFound error while on runtime or something like that, but im using maven and when fixing imports it works perfectly fine, what am i doing wrong? :'c
releasing a plugin for the first time in years and I fogot how to go about doing it
lmao
Send the error
Yeah it's a part of NBT, and therefore ItemMeta
Damageable, specifically
Damageable damageable = (Damageable) itemStack.getItemMeta();
damageable.setDamage(50); // Subtracts 50 damage from the durability
itemStack.setItemMeta(damageable);```
Just be sure you're importing org.bukkit.inventory.meta.Damageable, not org.bukkit.entity.Damageable
💀
java.lang.NoClassDefFoundError: org/apache/ftpserver/ftplet/FtpException
at net.milkbowl.plugin.Main.onEnable(Main.java:50) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugin(CraftServer.java:525) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugins(CraftServer.java:439) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a]
at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:225) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a]
at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:968) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:293) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3610-Spigot-6198b5a-19df23a]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.ClassNotFoundException: org.apache.ftpserver.ftplet.FtpException
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:147) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
... 10 more
i feel like its some thing with the import but i cant understand why Intellij takes the imports just fine
You like didn't shade the library
Can anyone help?
I dont know the issue, when i delete this
private final WiadomoscPlugin plugin;
public WiadomoscReload(WiadomoscPlugin plugin) {
this.plugin = plugin;
}
It will work, but i need that plugin thing, to reload config
Also why are you using net.milkbowl as your package
OHHH YEAH, i forgot that's a thing, I'm using maven, how can I do that?
I copied Vault's code to see a bunch of things and started working from there lol
one question guys
And already have my code in there so i dont want to bother rn about moving it
what does static do in this case
look up the maven shade plugin
that's a good question
static { } blocks are run as soon as the class is loaded
oki ty
Is that lib on maven central? And do you plan on only supporting 1.17.1+? If so you can use the libraries feature in the plugin.yml instead
Which happens the fire time it's referenced
maven central idk, but it imports well on the IDE so i guess it is, 1.17.1+ yes. wdym the libs feature?
good resource for mysql x Java?
What's the differences between spigot and paper? like the important ones
this is giving me ideas
paper has a faster reload command :X
nice i guess
heehee
Did you add a repository when you added the lib to your pom? Uf you didn't then it's probably on central. If if it is you can create a section in the plugin.yml like so:
libraries:
- "<groupId>:<artifactId>:<version>"
wth is that
wdym add a repo?
you need to pass in plugin
Figure 1. sun.misc.Unsafe method usage on Maven Central
k thx it's blurred for me
There's a repository section in the pom. Did you have to add anything to it to load the lib
nope
just added the dependency
Yea i figured out know, when i do it again and use this red light blop (idk how name it is)
but thanks
for helping me
Then it should be on central so use the libraries feature instead of shading
okie dokie, will try, ty
wait, this was supposed to be without the <> right? lol
Yes
hello, I am having some problems with scoreboards (i never was good at this)
i wanna put a marker at TAB (scoreboard objective display slot "list"), which must be at this format: PlayerName [killCount-deathCount], for example: FarRed [15-3]
but i don't know how to do it
And replace the values
Keep the :
yup yup
i just messed the <> xd
i noticed because my console gave an error solving libraries lol
can someone help me with this pls?
ok so I just made a tool which automatically downloads the latest build of a jenkins job on server startup, i'd love to know what you guys think
can i ask nms related stuff?
?asl
?ask
If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply. Make sure you use the right channel regarding the topic of your question. Create a thread in case the channel is already in use!
shit
xd
keyboard buggin
soooo
How can i manipulate a IBlockData so taht i place a specific Material but only for the client
CraftBlock craftBlock = (CraftBlock) player.getLocation().getBlock();
CraftBlockData craftBlockData = (CraftBlockData) craftBlock.getBlockData();
// Place Block
playerConnection.sendPacket(new PacketPlayOutBlockChange(
new BlockPosition(
player.getLocation().getX(),
player.getLocation().getY(),
player.getLocation().getZ()
),
craftBlockData.getState() // Manipulate the Material
));
Why not use Player.sendBlockChange
send a fake block change
this exist? xd
Yes
but how i manipulate the blockdata there?
?jd-s your best friend is the search
damn it
Same way you manipulate any block data on spigot
damn i already knew how im just idiot potato
I am making an sqlite database
but I need to store a location
Currently I have created a table with attributes x, y, z, yaw, pitch and world
should I do it like this or compact it into a string?
Doing it this way allows proper queries
That’s what relational databases are designed fo
okok
Does anyone know a plugin, command or datapack that allows any enchants to be combined with anything. What I mean if, I want to make it so if you find a golden sword with sharp 3, you can combine it at an anvil with an iron sword and transfer the sharp 3 over similar to how it would work on the same tier of sword.
Another example would be, you get an enchant magma cream with fire aspect, and if you've got a sword, you can put it onto the sword simular to if it was a weapon if the same tier. Thanks
this channel is kinda more about making plugins than helping with them 😄
we'd be happy to walk you through making it though
or you can ask in #help-server
Sorry, i've spent all day asking around and got redirected here
no worries
well that's fair why make it twice
Should I ask again in #help-server ?
what object is that
if your screenshot was like a little bigger it would help a lot
well minecraft is not a player is it 😅
gotta get the player object
are you using paper? if yes, you can do that:
LegacyComponentSerializer serializer = LegacyComponentSerializer.legacySection();
Component componentMessage = serializer.desserialize("Hi, this is a message");
player.sendMessage(componentMessage);
oh bruh
well, i just anwered his question, sorry
i assumed you were using spigot
idk how to do it in the client
you probably have to get the chat window somehow
and append a message
lmfao
if u ask "can i ask something" you get the answer ?ask
and if u ask it u get the answer ?whereami
no
if you ask something about paper you get the second one
i mean its a little annoying
but if you have a paper questions just use their discord
true but just let me the moment
Too old! (Click the link to get the exact time)
they kicked me from their discord because i said that they shouldn't push server breaking changes, i am not kidding
i feel as though you may be leaving out some context
does it work?
good luck
basically, i was giving a very objective feedback to e.g. the plugin system changes that broke tons of things for me. a bunch of people came and said that i am lying and that i am wrong
and at the end they kicked me
nice when im doing rust development at least
Wouldn’t be great on long lines though
anyone help me with this pleaseeeeeeee ._.
i feel like it would just look nasty in java because java errors are already nasty
another reason it works well in rust because i spam cargo fmt
how do I save a string of text in a player?
player.getPersistentDataContainer().set(PersistentDataType.STRING, "hi");
or something
nope
api bad
declaration: package: org.bukkit.persistence, interface: PersistentDataContainer
You forgot a key
yeah
im too rust like nowadays
i forgot the api
i used to have the entire spigot api memorized
lmao i like it
?paste
Shade hikaricp
I have added it to my build.gradle and intellij recoginises it
Or use the libraries feature
send build.gradle
so i want to set a value called abc to a player with value yes how do i do that?
like "abc":"yes"
?pdc
?help
selfrole Add or remove a selfrole from yourself.
cleanup Base command for deleting messages.
embedset Commands for toggling embeds on or off.
info Shows info about CafeBabe.
licenseinfo Get info about Red's licenses.
mydata Commands which interact with the data CafeBabe has about...
set Commands for changing CafeBabe's settings.
uptime Shows CafeBabe's uptime.
findcog Find which cog a command comes from.
names Show previous names and nicknames of a member.
userinfo Show information about a member.
listcases List cases for the specified member.
reason Specify a reason for a modlog case.
permissions Command permission management tools.
?info
md_5#0001
This bot is an instance of Red, an open source Discord bot created by Twentysix and improved by many.
Red is backed by a passionate community who contributes and creates content for everyone to enjoy. Join us today and help us improve!
(c) Cog Creators
How can I add colors to tab complete?
not with Spigot api
Is there a way i can make items not have a name? like not an invisable character
No
you can just do " " right?
or maybe ChatColor.translateAlternateColorCodes('&', "&a")
i'd rather do ChatColor.RED.toString()
or whatever color
that line just decodes &a
there's really no need for translateAlternateColorCodes
that line is supposed to be the full name of the item, right?
it doesn't matter what color it is if that is the case
it will be invisible
or am i missing context?
okay another question is there an easy way to just fill up the rest of a gui with a certain item (glass panes) as a background
thers some slots that are supposed to have different items
just most of it is glass
a way of doing that is just filling it with glass beforehand and setting the items in the slots afterward
oh okay ig that works thx
no prob
anyone knows what i do wrong?
show SpawnListeners
is SpawnListeners implementing Listener?
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.
here you go this is the full spawnlisteners code
what do i put there instead?
org.bukkit.event.Listener is the correct one
import org.bukkit.event.Listener;
like this?
yes
yes
that did it thx
no prob
how do i add Color to reactions from my plugin?
so in here just put &cthere is no spawn set?
i think this could be a useful code for when someone want to use the literal character & instead of a color:
public static String parseColorMessage(String message) {
StringBuilder formattedMessage = new StringBuilder();
boolean escapeNext = false;
for(int i = 0; i < message.length(); i++) {
char c = message.charAt(i);
if(c == '\\') {
escapeNext = true;
continue;
}
if(escapeNext) {
formattedMessage.append(c == '&' ? c : '\\');
} else {
formattedMessage.append(c == '&' ? '§' : c);
}
escapeNext = false;
}
return formattedMessage.toString();
}
yes
ok thx
you could do ChatColor.translateAlternateColorCodes('&', messageHere)
if you want to use & instead of the section sign
like this?
yes
that should work
https://www.digminecraft.com/lists/color_list_pc.php heres a full list
In Minecraft, there are color codes and format codes that you can use in chat and game commands. Here is a list of color codes and format codes that are available in Minecraft:
thx
does changing a player's scoreboard automatically remove it from teams?
that seems useful, except wouldn't it replace all &s with section signs even if there isn't a valid color code after it?
it gives me this
its this code
never encountered that in my life
same this is my first plugin i make XD
any other plugin interferying maybe? bugged version of spigot?
not quite sure why that would happen
idk maybe just try recompiling or smth, probs won't fix it but worth a shot ¯_(ツ)_/¯
try removing the courly braces
these {}?
yes
yes
well, it's a code for when a player will write it with color at chat, but if there is no valid mapping color code after it, that will just be like normal errors with writting code, and probably that will do nothing
after all, it's just a escaping utility, so if someone put \&e, it will not transform & into §, will just keep the &
yes but what if someone typed smth like "5 diamonds & 6 sticks"
peek next
i've never tested if & works with blank characters between it and the next character, so i don't know; but if the player has the permission to use that method to write phrases with colors, it would know how to escape to avoid the color issue
still not
so, if it has permission, should write like this: "5 diamonds \& 6 sticks"
i know certain characters kick players, that might be annoying. not sure if the section sign is one of those characters tho
hmmm
maybe check how ChatColor does it and add your escaping functionality to that
how does it look now
the same but without the curly braces
yes but & will be turned into § with red's code
maybe try with one color code so we can see where the issue is coming from
oh
will do rigt now
anyone tell me 2 more 1v1 modes to add
skywars
what liberys are you importing
i know TotemWars works with 4 teams, but i've never seen a 1v1 (2 teams) version
dependency i mean
where i find it?
aight i will check that out
do you use maven?
check here under project sturcture
I hardcode the slots lol
I will be honest with you @zinc lintel i have no idea whats causing your issue
it will send § as a character
it will not parse it into a chat color
§ might be one of the blacklisted characters, i am not 100% sure but i believe it is
if you wanted to use &, you would get kicked
totemwars is very similar to bedwars, the differences are:
- the islands are much bigger
- the items for whole team are into chests inside a house on the insland
- players can break island blocks, minner and craft items
- instead of a bed, it is a dragon cristal (totem) that will not break instantly, it have 150 hp that decreases with hits; the totem is located on a tower and don't permit place or break blocks within x blocks radius of it
unless you escaped it each time
np thx anyway
You need to compile using utf-8 file encoding
ill maybe try that in the future but not in 1v1s i think x=
???
Ohhhh yeah that could be
Are you using maven or gradle?
hes using grandle
gradle
Set systemProp.file.encoding=utf-8 in gradle.properties
where is gradle.properties?
nvm
found it
How are you compiling your project btw?
wdym?
how do you turn it into a jar
like this?
export it
Btw you should usually not have to set the file encoding because utf-8 is the standard
pretty much everywhere for years.
so that is not the problem then
still could be
i started this project a week ago
i am testing it rn
why?
Try it and let us know
if you use maven you will find way more help and tutorial to get started online
or at least that was my expereince when i started
aren't they almost the same?
didn't fix it
build automation and shiz
What java version are you compiling with and which version is running on the server?
not the same, but they have the same purpose
1.19.3
and java 17
Show your build.gradle
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.
can someone help me with this?
i have a scoreboard with a dummy objetive at player_list, it counts the score of all players with some rules, but how do i set the score for individual players?
i have 2 parameters: x and y, and all players in the match have its own, and it's shown as follow: FarRed [15-3], where x = 15 and y = 3, but other players can have other numbers, how do i do that?
Try using org.gradle.jvmargs=-Dfile.encoding=UTF-8 in your gradle.properties instead
like this?
Yes
trying to read up in chat to figure out his issue but i just can not
is he trying to send the section sign in chat?
to get color in my reactions
@buoyant viper this is the issue
random characters that shouldn't be there
What OS are you using?
windows
looks like that weird bug usually seen in server.properties if u try to use section directly
intriguing
or do you mean from the editor?
On the bottom right in IJ there is some info (including the default file encoding)
Shot that
try \u00a7, or just ChatColor.translateAlternateColorCode
can't click on it
What are you doing to your IDE?
uhm xD idk what you mean i am only busy with this for a week
Press Ctrl+Alt+S and select Editor > File Encodings
Then set the global encoding to UTF-8 and the Project Encoding as well.
Oh and show whats in there right now (for project encoding)
Is your windows system set to ISO??

🤔
Anyways set it to UTF-8 for now. But you botched something in your system properties.
witch one i need to set to that?
Project encoding
hi
Alright. This means your system is set to ISO... You will have a lot of fun in the future with this as well.
Now compile and let us know.
still the same
Every player should have its own scoreboard if you want to have individual scores
did you restart the server?
what do you mean with fun in the future?
yes
character encoding trouble
You need to clean your gradle cache
its comming to that point XD
how i do that?
You click on the clean action in your gradle panel or use the cli
? 😅 i feel so dumb
Dont give up! It will get better!
(and then it will get even worse)
but eventually you will get used to it
thx for the support 🙂 it really helps
just the point that its 0:49 at night for me rn
same for me
everyone has trouble in the beginning. maybe go in cmd and do gradlew cleanBuildCache
https://stackoverflow.com/questions/23025433/how-to-clear-gradle-cache
(going by the advice given here)
cleaning
i'm not experienced with gradle, take it with a grain of salt
epic
great job
If still no result then add java -Dfile.encoding=UTF-8 ... to your startup params when starting your server.
Now compile again
now build and let's see if it works
ok, i will give more details then:
i have these objectives:
- dummy playerlist, which must be visible for all players
- health belowname, which must be visible for all players
- dummy sidebar, which must be visible for individual players
but even if playerlist is visible for all players, it has to show different data
i don't know how to do that since a player can have only 1 scoreboard
i'd consider looking into nms or (preferably) protocollib
that did it tysm
i'd consider deleting grandle and using maven just my personal opinion tho
my approach here is make individual scoreboards and adding everyone to everyone's scoreboard to show data ones to all
🙂
but i think that is not the best option
i mean i use and prefer maven too but yk people have their preferences
ayyy

i don't really care what i use so long it works and my first video i looked up on youtube was gradle
that makes sense
tysm all of you
i mean i didn't really contribute much, but i'm glad you got it working!
np always there to help beginners
hope you have fun in your future spigot jounrney xd
yeah 😅
i like coding a lot but the headaches are not great
you should see a doctor if you're getting migraines (this is a joke, don't sue me)
(actually no it's not a joke, proper healthcare is important kids)
ill sue you now
Does spigot supports Block Display?
XD
i would probally oversleep the court meeting thingy
better a bit more then not at all ig x)+
Yes
true
I find myself to be a great developer after downing a big redbull can
today and the day before i woke up around noon 😔
damn
did a coding marathon from like 3pm to 5am
if i'm a snoozer you a real sleeper
was fun
that, kids, is how you get carpal tunnel!
oooh that looks neat
this is an earlier video demoing the process
but it all works now
and there's no hardcoding
:)
Minecollar University 

pog
but yeah registering objectives is as simple as
I sure hope this doesnt have the same target audience as the project im currently working on...
👀
oh fk that was ours as well
and my algorithm learns from the syntax
and transforms the items on that GUI
into an actual list of objectives
that is neat
like so
and those scripts are then compiled and such
next step is writing an AI based on gpt-4 to rewrite hypixel
I drank a couple red bulls so I should be able to get that out within the next hour
pretty sure the target audience of skript is people that don't bother to learn java, or another language that compiles to java bytecode
this is something I did with the intention of speeding up my team's workflow
instead of having to create classes n shit we can just let some toddler click on a couple buttons
the real "programming" language whose target audience is kids is scratch
cool!
and variables
that is cool lol
Is this a university life server centered around going to college?
mini-language inside a plugin
not quite
the idea here is like
an extension of school, but in minecraft
and we have some partnerships
ahem ackshtschually i think it's about going to university
anyways, we'll have a cash pool to give back to college funds
Ah ok, all good then
and some fancy systems to associate kids with their teachers automatically
from the moment they join the server
with minimal setup
The teachers get a bow
i read "bow" as "blow"
both work
anyways teachers can issue tests in minecraft
Use arrows to select your kids
through a custom UI
and create their own questions or grab questions from our pools
and get results e-mailed to them automatically
What age group is this aimed at
students
*guns... (If its an american school)
I’m confused because it’s called university but it seems more suited for like
Elementary
oh, classic america! never change
funny enough our network is just university
and a recreation of call of duty zombies
with 3d modelled guns
I gotta find some videos, one of my hdd's on my raid0 storage thing has a broken sata header
:/
rip
Hope it doesnt clash with my current project 😓
if you can't succeed at school, we'll train you for the army type deal
looks like we might be seeing the start of a brewing rivalry 👀
No this is about school not brewing
only got this ancient video of when I was still making guns
Nah i think illusion has a different audience after all
perhaps
we've also been like 7 months in the making
I started this back in september
No cone spread on the shotgun, weak
fuck off I failed middle school math
anyways we've come a long way

seeing the amount of packages there gave me a heart attack
poor illusn
everyone do a salute to pay respects 🇫
crazy to think I'm getting fish slapped by the only person I admire in this industry
but hey there's a lot of funky code that I didn't know I could make with my half-eaten banana iq
🐟
hey
don't insult bananas like that :<
jk jk jk jk
I would say that im going to uni but i only have 3 courses this semester and too much free time...
I got a 9 hour programming class cmon
oof. I got like 3x4h in total
I got 10 hours of school / day + gym
not an excuse, i also still go to school and my iq is at least a whole banana
i think
i didn't check
maybe 3/4ths of a banana
Hey you never know
Maybe every class there is as complex as the Bukkit Listener interface
at the same time
the more bad a banana becomes, the more it starts to live
what if every class has like 200 lines
Quick question for anyone that uses gradle, how do i make it apply module javadocs to the parent so i can publish them with the parent, for some reason its just making the jar eith MANIFEST.mf and the docs are only in the modules build/
Thats fine
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+'
}
}
apply plugin: 'nebula-aggregate-javadocs'
then run aggregateJavadocs
Has someone used vaultapi?
yes
Thanks
whats the string in withdraw? econ.withdrawPlayer((OfflinePlayer) event.getWhoClicked(), "", 1000);
the reason
np
What happens if the balance doesnt cover the price im withdrawing?
Wait a minute, nebula is netflix?
It’s not
@lost matrix not sure who's got more
It’s the world
depends on the economy plugin you're using i believe
Looks like yours is bigger right now 🙂
Vault
Vault is not an eco plugin
developer dick measuring contest
It’s just an api
oh
5cm take it or leave it
well idk
7smile, i have a very important question
🍆
ill just check if the balance is higher
1,3cm take it or leave it
it's actually the world name but I never saw it being used for that
ok...
7smile7 getting help?
no way
is it about packets ?
In paper
impossible otherwise
Paper is the bad part
does it affect in smthing?
I have a question for you now
Custom
why do you check that server?
Because im using paper for my project and i was digging deep into some obscure nms
which isnt present in spigot
Then it’s not NMS
They ping me for stuff
Sure, nms is patched as hell in both spigot and paper
Mostly announcements
i dont think so, but just be safe and use the method without a string
what about patched code?
Most of spigots patches are small
tbh I know like 80% of nms internals at this point
it's gonna be time where I apply to work at mojang and am already familiar with the codebase
I wouldnt call it NMS if it's from a patch
i've only touched nms through mcp when i tried out making a cheat client for the heck of it
NMS isn’t even accurate anymore since it’s not all in net.minecraft.server
We should call it Mojode
just m
just m
holy
lol
jinx
yeah lets call it m
yes
"ugh why you using m for this, just use the api"
m
MDMA
From now on. And never explain it to anyone else.
And shame them if they dont know the reference.
highly relatable
minecraft dminecraft minecraft aminecraft
I really wanna get a minecraft chicken plushie
yes.
it's like a rubber duck
dont do molly
but industry related
if i ever suggest using non-api stuff in the forums now, i will call it m
m
M for My heart's a stereo
that sounds familiar
M for my dad left me
three millimeters
i make mine with OJ
No you’re just not American
Filled to like here
fr
fries are overrated
British McDonald’s are smaller
everytime I go to mcmc I just skip the fries
yes
xxl more like M (heh) in an xxl bag
they're never good
also mcdonalds diet coke tastes different
it's more watery but also more addicting
mostly because it's pretty much flat
I asked for one large fry and they gave me a hundred fuckin little ones
i want 90 large fries
ronald mcdonald heard "coke" and thought of something very different than coca-cola...
well
im sure they had a great personality
everytime i eat mcdonalds i feel like absolute horseshit
cocaine can also be considered diet coke
we had a subway here
it closed
:/
subway has a really relaxed refill policy though
we have neither where i live
subway has the best smelling restaurants
as long as you keep the cup, you can refill until midnight
balkan issues 😔
americans fuckin love their free refils
i have neither. Basically nothing. Only Döner
kebab is nice
yes
yes
there's this chill spot near my school where I get full lunch for 5€
Well duh, it’s free
who doesn't love free stuff
free healthcare
unless the free stuff is like
a bomb or something
damn homie went there
free is free
free death, lesgo!!!
even better
don't y'all have intrusive thoughts like
I went to this brittish supermarket that has lockers where you put in a coin and take a key with you
and I was like
“What if I stole the decoration of independence”
"what if I came here, put like a bomb or something and just walked out"
anyways I'm now on a list
i have intrusive thoughts of deciding the quickest way of murdering the people around me
visions too
lets just hope mine stay thoughts...
🤨
this is definitely still help development, we're developing a conversation 😎
I've already had an incident at my old school so I was probably on a list already
same
incident?
🤨
my intrusive thoughts are more about me than others but i've had those kinda thoughts too
my principal accused me of terrorism
dam
because I threw a ketchup packet at a wall
wha
bitch also called me shrek
LLMAO
Was it a ketchup packet filled with bomb
i wanna be called shrek by my principal no fair
they're both red
Youve been buried the last months?
pretty sure shrek is green
or blue, maybe i'm colorblind
no I mean dynamite
oh
Dynamite isn’t liquid
like the cartoony red sticks
Minecraft discord still has their April fools icon
I got a 9 hour straight programming class in like 8 hours
huh
what april fools icon
can't bother suffering this soon
did i miss something
so I'll just chill here
OHHHHHHHHHHHHHHHHHHH
my brain legit just missed the word "minecraft"
i might be dixlesiative 😔
au revoir mon amie
Spigot needs more emojis
me neither
damn

We need the Mojang 🤔
we need the M

ItemDisplay itemDis = world.spawn(location.add(0,3,0), ItemDisplay.class);
itemDis.setItemStack(new ItemStack(Material.DIAMOND));
itemDis.setGlowColorOverride(Color.GREEN);
Vector3f translation = new Vector3f(0,0,0);
AxisAngle4f leftRotation = new AxisAngle4f(0,0,0,0);
Vector3f scale = new Vector3f(3,3,3);
AxisAngle4f rleftRotation = new AxisAngle4f(0,0,0,0);
Transformation transformation = new Transformation(translation,leftRotation,scale,rleftRotation);
itemDis.setInterpolationDelay(10);
itemDis.setInterpolationDuration(360);
itemDis.setTransformation(transformation);``` What should I change to make interpolation working? For now ItemDisplay just spawns without any interpolation
You need to set the new transformation on a different tick
why does nobody ever use consumers when spawning entities... D:
everyone spawns the unfinished, default entity, then changes it later
I'm just messing around with this new feature
it's like doing this
player.getInventory().setItemInMainHand(new ItemStack(Material.DIRT));
ItemMeta meta = player.getInventory().getItemInMainHand().getItemMeta8);
meta.setDisplayName("My awesome Dirt");
// ...
When you would rather first set the meta, and THEN add it to the inventory.
unless you listen to EntitySpawnEvent
or anyone else
so the aggregate javadocs worked, but now i dont have sources
and i cant find an aggregate sources jar
plugin
“The Block is already broken as this event is called, so #getBlock() will be AIR in most cases. Use #getBlockState() for more Information about the broken block.”
just do it typical gradle style: with a dirty workaround. write a task that unzips all your module sources, throw them into one folder, zip it again and rename it to MyLib-sources.jar
I love dirty workarounds
or create a module that depends on the other modules, shades them and use attach sources there
thats what my parent module does
isn't your parent module just an aggregator?
uugh that's messy
how + blame coll
the good parts are the thnisg i made
because the submodules inherit the depencencies from the parent module, don't they? so now everything depends on everything?


