#help-archived
1 messages · Page 127 of 1
or i guess more specifically how would i do pathfinding for an EntityPlayer spawned with packets, since the class doesn't have any pathfinder goal methods
you're adding them yourself
you can add that layer on top of the player yourself
if you want vanilla like pathfinding
oh ok
you should look into some plugins tho
they might have better ways to do it
but this would be my first thought
alright
Does anyone know how to broadcast a BaseComponent? I'd figure it's Server#broadcast and that shows up in my IDE, but the actual server seems to disagree https://hasteb.in/efuniduz
server.spigot().broadcast()
oh, that's it?
Yep
is JavaPlugin#getServer().spigot() the best way to get that?
Sure. Bukkit.getServer() is available too
Thank you so much!
Hey, I feel like I'm so close to figuring this out but I'm stuck. I'm not exactly tech-savvy, so it would be helpful if someone were to dumb it down, but basically, I've finished the BuildTools installation and I have to actually install Spigot, but I feel like I'm lost. It says to have a new directory where my spigot.jar is copies, which I THINK I've done (I'll attach a picture). The next step is to create a start.bat file in that directory and run it, but it's saying that it can't run the jarfile.
All I'm tryna do is do Fundy's Impossible Diff challenge but I have to go through all this lol
What did you put in the .bat file? You can right click and then click edit to see.
@echo off
java -Xms1G -Xmx1G -XX:+UseConcMarkSweepGC -jar spigot.jar nogui
pause
The file names aren't the same.
I bet you a million dollars all I have to do is change "spigot.jar" to the one in the folder
God damn it lol
You're trying to run spigot.jar but your file name is spigot-1.15.2.jar.
also is 1G enough
On 1.15 that's kinda scraping, yh.
I had a feeling, but I didn't wanna, like, summon Satan in my hardware
I don't really know what anything else means tho
if you want performance, paper for 1.15.2 is good
but they are trying to make it stable
It is usually stable
Hello all, I've been having some trouble uploading my single player world to spigot server 1.15.2
Question from me. I've been looking into how patch files and stuff work so I can do things properly. So, do you make all the changes to the code in your IDE (IntelliJ for me) then use a program to generate the patch file(s)? I don't rly understand from what I've been reading.
So wait, what does "1G" mean, and should I change it in the start.bat file?
1G means that the JVM will allocate 1Gigabyte of Heap for the virtual machine
There are a server jar for 1.16?
Okay
Hello Fendi, any change you could help me out please?
@sturdy oar Should I change it though, and if so, where and what to?
what is the issue?
I've been having some trouble uploading my single player world to spigot server 1.15.2
@fossil python is your server going to be small?
or you plan to have many players joining
@sturdy oar I'm only using it so I can install a plugin for a challenge, it's only me.
then 2G should be just enough just to be sure it doesn't crashes
-Xmx2G -Xms2G
I've been having some trouble uploading my single player world to spigot server 1.15.2
@frigid ember Can you provide some sort of stacktrace
well it must give some error
you know that the logs are saved into the /logs folder right
ohhh
😐 yeah
lmao, how should I send it over? pm?
?paste
there ya go
all I'm trying to do is upload my own single player world to the server
nothing else
so that world has been created in singleplayer right?
I've followed some guides when they say just rename the "level-name="
it's an old world converted to 1.15.2 then onto the server
converted to 1.15.2 through single player
no problem, take your time
if this doesn't work then it's ok
I'm not that fussed with it
but it's just weird
Have you already went and renamed dimensions?
let me try uploading a fresh world onto the server
I don't understand what you said
DIM and DIM-1 will need to be renamed
and you will need to create a "world" folder
the server world format is kinda different so you gotta do a few changes to your current minecraft world
I suggest you make a copy of it when changing stuff
I can link you to a guide that should still work as today
all the guides I've found said just rename your server properties to the level name
this old post was made during 1.8 CraftBukkit era, but the thing should be pretty much the same still
Hey guys, I'm trying to make the player stop mining dragon eggs if they don't have a diamond pickaxe using protocollib
I have this currently
The problem is that setCancelled(true) does not work, but there's this weird thing that once it's broken it visually looks broken but it isn't actually broken on the server side
Very strange stuff lmao
How do I get the player to abort the mining process with this?
Hey guys! I was wondering if someone could assist me with my server. According to the server, I have plenty of ram and CPU, however the server is still heavily lagging with 25 players. The TPS is dropping significantly, along with the ping! I believe it has something to do with one of our plugins. If anyone could assist, thank you! Please dm me!
afaik, known bug, Bourne
By the time the player clicks the egg, it's teleported already
Sorry, I forgot to mention that I have this code
It stops that already, so it can be mined
@frozen kiln you might need to send an acknowledge player digging back to make the client stop
How do I do that?
i think protocollib calls it the server side BLOCK_BREAK
PacketType.Play.Server.BLOCK_BREAK
send it with the success boolean set to false
i have no idea if this will work by the way
I mainly want the BLOCK_DIG event to be cancelled
Like for the player to stop the digging of the block at all, so it doesn't even reach the part where it's broken
Problem is, that it doesn't cancel it, and it continues the animation until it breaks client-side but not server-side.
The goal is to stop it without adding mining fatigue or teleporting an entity in front, stuff like that.
How do I, like, join the server I made? Is there an IP that I can find somewhere? I am the confuse
If it's local on default settings, you can just use the IP as localhost
I've been looking into how patch files and stuff work so I can do things properly. So, do you make all the changes to the code in your IDE (IntelliJ for me) then use a program to generate the patch file(s)? I don't rly understand from what I've been reading.
Hey
Hey.
How long can it take to verify a donation?
"a minimum of two days"
If you donated with an email not associated with your Spigot account, create a thread in the donation enquiries forum
It's whenever md gets around to it. They're all processed manually
Typically he gets them done within 24 hours
Whats the best antivpn plugin?
AntiVPN
why block vpn
how do I block Socks5 Proxies with iptables?
You can’t really. Well you can but the way you’d do it is highly not advisable.
Someone keeps botting our server with socks5 proxies
So Idk how to fix that
or block it
Use any antivpn
That doesnt fix our issue
We've tried like 20 of them
All of them give false flags on our staff and long-term players.
Hi, is it possible on spigot to let other authors than just one (resource author) reply as author in reviews, update plugin and add buyers?
No. The resource system only supports one author
and sharing accounts is also disallowed by ToS, isn't it?
Eh, sort of. You can create a shared account after requesting approval
And could users see somewhere what accounts are approved?
wait
I now mean that you have account and it maintains more people, probably because they know password from account
are we talking about same thing?
Yeah - the only way you're going to be able to have "multiple authors" is by creating an account that you all have access to
and having the resource authored by that shared account
yes, and is it possible to see which accounts are approved?
or ask somewhere, if I think that one accounts share more people?
Well you would just send an email requesting that an account can be created under a certain name
You'd get a response saying whether or not you're permitted to create one
I'm afraid I don't know what you're asking
I think you mean how like bukkit lets you put multiple authors on a project (plugin)
could I tell you in PM?
Yeah which our resource system doesn't support
You have PM
The XenForo resource plugin only lets us assign one author to a resource
I seem to get a NPE on PendingConnection#getUniqueId() on the PreLoginEvent in BungeeCord. Is it possible to get the connection's UUID on this event or does it have to be done at a later time?
I'd like to disconnect certain users depending on their UUID before they have connected to the server, that's why I'm asking
yo just wondering what does the nogui in aikar's optimized flags do?
any server yes
okay
yo do u guys know what the restart command in localhost cmd menu do? i tried it, and it just closes my cmd
you dont have a start.sh
or a startup script.
okay
also some of my unicodes/colors are messed up when i switched my server files from a host to localhost
i already added -Dfile.encoding=UTF-8 to the startup parameters
but it's still fucked
You have to resave the files in UTF 8
does adding that not work?
it fixed some
but not all of them
like in your configs save with encoding or do the UTF-8
alright i use notepad++ so i'll just save
Anyone know how to fix things
whenever you specifically use ClickType.NUMBER (I tried pressing 9 in this instance to bring the item into my hotbar via the Key 9) and it didn't work.
Essentially how do I block people from modifying the 9th slot period in the InventoryClick? just listen to the slot rather than anything else?
cancel the event if the raw slot is that slot
Block click, hand swap, and dropping.
That'll cover your bases
Then of course if the player dies and respawns you need to handle that properly
Is it somehow possible to print the § character in the Minecraft chat?
does typing that in the chat client just give you an empty space?
Yeah, is that possible to escape?
Probably with place holders like
:color_symbol: and just types §
it's still not being fired for some reason.
if (event.getClick() == ClickType.NUMBER_KEY) {
event.setCancelled(true);
Bukkit.broadcastMessage("eed");
}
I'm checking InventoryAction.HOTBAR x
Is there a reason you can't just block all inventoryClickEvents involving that item?
on 1.8 it's still not being fired
i've tried that.
if (inventory.getType() == InventoryType.PLAYER & item.getType() == Material.SLIME_BALL) {
event.setCancelled(true);
Bukkit.broadcastMessage("ed");
}
If that doesn't block the number key thing I really have no idea then
Because that should block the number key swap. At least on 1.15 it does.
I'll get her working 1 way or another 😛
I need some help. I'm having the same issue as yesterday "Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: unable to fit 2548239 into 3". I deleted all plugins and configs, I deleted the scoreboard file and its still broken. Anyone has any idea what could be done?
try deleting usercache and world if plausible.
like the world?
yea if you feel and it's not going to cause a dretrement.
idk anything related data
That's the most useless thing to delete
i guess it fits into .hasPlayedBefore no?
wouldn't know if that any inflictions on other plugins with Joins etc
No, hasPlayedBefore is based on the playerdata folder stored in the world data afaik
how's the world determined? through .properties?
There's a world name property somewhere, the default is just world
fairs
I have 3 backups. but we are trying to keep the world
i tried this but i dont know how to make it work
it used to be an .exe
but now is all .py
Im not sure why is not working ahhhhhh
my only guess is try to use the backup
can we see the error
what does your code look like
Oh I get it, how are you compiling your plugin, like what are you doing to compile it
I'm using the Minecraft Development plugin
for intelliJ
And clicking on the green play button to build
I just moved two methods to a static utilitymethods class that used ClaimedChunk
could that have anything to do with it
idk, doubtful?
do config files get created on build? any way I could delete them?
I don’t have experience with the plugin you’re referring to so idk
Gotchya, thank you for the response
wait is it possible to remove the default world
i already removed the default nether & end worlds
but the default world keeps regenerating
Yes, but depends on your needs really
an easy way would be to use a world that has a single chunk and border set to that single chunk so that server doesn't spend time generating a world and you could just simply unload it after the server starts
But again depends on what you are needing this for lol
Well, then set one of your other worlds as the default @frigid ember
My method would work for your purposes but isn't really necessary if you can just set a different world as being default lol.
Heyy i'm doing a plugin and i use mysql.
And i've an error :
Default system encoding may have misread config.yml from plugin jar
[09:35:28 WARN]: java.sql.SQLException: Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.
you should type that in the google search tho
Yeah i did it but i try to do what they say and that's not working
is 'characterEncoding' a property right like autoReconnect right?
should bungee chatcolors be prefered over bukkit chatcolors in APIs?
No
Any1 who can help me with save and loading hashmaps onDisable and onEnable?
Main: https://pastebin.com/BNFwyQtf
Ec: https://pastebin.com/7pEYB4mS
Eccommand (idk if you need it but): https://pastebin.com/ABT9seAn
and I need the data to be saved in a folder onDisable
and to be loaded onEnable
pm or tag pls
k so basically my console is giving out this error
> [11:56:21 WARN]: Exception in thread "Timer-6"
> [11:56:21 WARN]: java.lang.NullPointerException
> [11:56:21 WARN]: at tacticallands.emerald_tip.survivetheplatforms.Events.Events$1.run(Events.java:52)
> [11:56:21 WARN]: at java.util.TimerThread.mainLoop(Unknown Source)
> [11:56:21 WARN]: at java.util.TimerThread.run(Unknown Source)
and this is the code
public boolean onCommand(CommandSender arg0, Command arg1, String arg2, String[] arg3) {
event = 1;
if (event == 1)
{
Timer timer = new Timer();
timer.schedule(new TimerTask() {
@Override
//shoot a fireball
public void run()
{
spawnx = ThreadLocalRandom.current().nextDouble(-14,13 + 1);
spawny = ThreadLocalRandom.current().nextDouble(-22,5 + 1);
spawnloc.setX(spawnx);
spawnloc.setY(spawny);
spawnloc.setZ(spawnz);
Entity fierbal = Bukkit.getServer().getWorld("World").spawnEntity(spawnloc,EntityType.FIREBALL);
fierbal.setVelocity(down);
}
}, 0, 20);
}
return true;
}
can anyone help me? I want to bomb a certain area with fireballs and Idk how to
Is it possible to make the mobs stay totally still ?, if you have what it is?
just know who the event is CreatureSpawnEvent or playeMoventEvent
LivingEntity#setAI(false)
I didn't understand '=', I'm still a novice, do you have an example, the villager type? and then I do the rest
you just get the Entity
do an instance check
cast to LivingEntity if successfull, and call the method
Entity entity = ... //your entity
if(!(entity instanceof LivingEntity)) return;
LivingEntity livingEntity = (LivingEntity) entity;
livingEntity.setAI(false);
This should be correct
Your code is broken because the default world is world not World
But it will just break with a different error anyway because you can’t call spawnEntity in an async timer
You need to use the bukkit scheduler with a sync task
Spawners on my server does not work, when I place a spawner the mob inside disappears and nothing spawns... can this has anything to do with Spigot? (Monster eggs work)
@vestal jewel You haven't annotated the method with EventHandler (just an fyi).
remains the same
That's not the problem, I just wanted to remind you. :p
@frigid ember you should store the data somewhere, also don’t have that map static please
@vestal jewel What are you trying to accomplish? Aside from spawning an entity and modifying it's AI.
@rigid nacelle that the mob is completely stopped, so this
yes
I don’t think its in 1.8
Because hey spoiler alert spigot has added features in the last 5 years
Shocking I know
Yuck.. It does not.
Nms 
omg
Anyways, is there a specific reason as to why you're spawning an entity in the CreatureSpawnEvent event?
Isn't this event going to be?
I mean you generally trying to either cancel the spawn or manipulate it?
you are casting when the entity IS NOT an instanceof LivingEntity
and yeah, 1.8 is missing that method
Not cancelling / removing the creature will leave you with two, huh?
Unless that's what you're looking to achieve.
mermon only thing I want and the mob is still like that, I'm noob at it '='
this seems more like a XY problem
@vestal jewel if you want to remove it’s AI use nms shouldn’t be too hard
I wouldn't encourage the use of NMS over newer and properly made APIs
Well he seem to be using 1.8 for one or another reason of his own
well then he's kinda on his own 🤷♂️
Yeah I’m just providing a method to do what he wants to do
md_5
public static void RemoverAIEntity(Entity entity) {
net.minecraft.server.v1_8_R3.Entity nmsEntity = ((CraftEntity) entity).getHandle();
NBTTagCompound tag = nmsEntity.getNBTTag();
if (tag == null) tag = new NBTTagCompound();
nmsEntity.c(tag);
tag.setInt("NoAI", 1);
nmsEntity.f(tag);
}
https://www.spigotmc.org/members/retrooper.992902/ why did someone take my username md_5
can u help me
i planned to take it, I am fearing its someone who made a second account just to piss me off
Your name "is not yours"
how do you remove a single item from the inventory
@naive goblet
it is still not enough how to run the nms
Inventory#removeItem takes an ItemStack iirc
You just pass the entity through the method
yeah removeItem removes a single ItemStack
ok
And if not that just set the ItemStack amount to 1?
oh wait , it removes all
i think
depends on the argument
remove(ItemStack item) removes all
removeItem(ItemStack... items) removes all the matching ones
¯_(ツ)_/¯
Retrooper stop trolling
You verified that same account
You have to have the credentials to said account in order to verify it. You did it on the same day that account was created
?
what
my forum name is currently purplex
im tryna change to retrooperdev
but I'd preffer retrooper
@subtle blade I changed my name while in this server so it was not updated
then someone took it on the forum
how do i put spoiler on discord?
||spoiler||
choco what u mean
im not trolling???
someone else idk took retrooper
they marked it as female bruh
someonen else is trolling not me
So why'd you change your name to begin with? You had "Retrooper" initially
yes
i changed my name because i changed my mind
ik sorry i wont change again anways
You're looking for the code-block, using backticks.
i just want back once and forever
and in that time, someone decided they wanted that name so unfortunately you're SOL
good thing irl you can't do that
whats sol
Shit outta luck
what if someone made a second account
Hi mr chocolate
There are no known IP addresses nor alternate accounts attached to that account
``
So unless they created it on a VPN, it's unlikely
Even then, the forums generally catch it based on cookies
ok
:c
what if you have siblings and you use the same pc
lol, then you are f'cked
i know kids that do this, not for spigot, for other stuff
Generally we use a bit of common sense with activity before blind banning alts
public static void RemoverAIEntity(Entity entity) {
net.minecraft.server.v1_8_R3.Entity nmsEntity = ((CraftEntity) entity).getHandle();
NBTTagCompound tag = nmsEntity.getNBTTag();
if (tag == null) tag = new NBTTagCompound();
nmsEntity.c(tag);
tag.setInt("NoAI", 2);
nmsEntity.f(tag);
}
able to do the mob, stay still, only the boolean is not working
public void Villagers(CreatureSpawnEvent e) {
if(!(e.getEntity() instanceof Villager)) {
if (UltimeteMob.getInstance().getConfig().getBoolean("MovingVillager"))
return;
}
removerAI.RemoverAIEntity(e.getEntity());
}
oh no
Deivid, (1) No reason to spoiler your code, you can use code blocks instead. (2) Why are you not using the API?
Oh, just realized. 1.8 lol
🤦
yes '=' 1.8
Well for one, NoAI is a byte that has a value of either 0 or 1, and second, you're setting the value on the NBT AFTER you apply it
why a byte lol
booleans are represented as bytes
There may be a setBoolean() method for NBT
Oh wait is c() save and f() load? idfk. This is 1.8. I'm working on 5 year old knowledge. You really should update
Either way, it's not working because to my knowledge, 2 isn't an accepted value for NoAI. I don't know how the write method interprets it
lol who said 👎
someone stuck on 1.7
i use 1.15 but you guys are way too aggressive at people who use 1.8 lol
Do you know a good bukkit java course that teaches everything?
i use 1.15 but you guys are way too aggressive at people who use 1.8 lol
@steady cedar yeah me and others are because they just keep coming everywhere supposing people will support 6 years old code
public boolean getBoolean(String s) {
return this.getByte(s) != 0;
}```
Nevermind. Then again, that's 1.15, so who knows
@sturdy oar You don't have to support it? just don't answer lol.
Let somebody else answer and don't annoy somebody because they want to use 1.8.
Idriz, how would you feel if you were in this position having to deal with these questions every single day
You don't have to deal with these questions though
If you think WE'RE harsh, you should check out the Forge server
They'll outright ban you and lock any threads for versions that aren't 1.14
or 1.15
Wish we did that
Unless they're asking for a bug fix in the actual server code
Want to set no ai? entity.setAI(false)
Then yes, you're fully in the right to tell them you don't support that version
Yea
But otherwise, if it's just a "how can I do this in 1.8", it's unnecessarily rude to respond with "oH weLl SHoULDa UpDAteD to 1.15"
If you think WE'RE harsh, you should check out the Forge server
yes i agree
choco lol
you guys are quite nice here, and I like 1.15 more anyway
Why would you write code with NMS and use reflections when you can simply use a method from bukkit? Not to mention many out there just end up straight copying from someone's else tutorial or post
forge si only a bit more harsher but its alr
Yeah this server is a lot more moderate about this stuff than the paper discord and forge
yes
But otherwise, if it's just a "how can I do this in 1.8", it's unnecessarily rude to respond with "oH weLl SHoULDa UpDAteD to 1.15"
We support only the latest version so we're going to push it where necessary
forge kicks tho
but theyre so harsh
i only asked yk the gradle credentials or whatever for forge 1.8.8
they kicked me
Bugs and features are addressed in the latest version
i didnt even want support
@subtle blade And that's completely fine, maybe offer it as an alternative, but also offer an actual response.
its been a while since i used gradle thats why
I'm not targeting you specifically, if you've been doing that good on you
1.8 bad
but i'm talking about people who think "oh just update to 1.15" will be the solution to somebody's problem
I agree, 1.8 is bad, but there's people who insist on using the older combat system.
Updating to 1.15 does actually solve problems tho
And you can't change their minds. There's an entire community dedicated to it
I could gladly provide Java code that uses reflection and replicates 1.15.2 features; but why would I spoonfeed someone that would just end up copying it?
Depends
so is it good to do plugin in version 1.15.2?
If you want a newer API that isn't in 1.8, and your community does not rely on 1.8, then yes, 1.15 is a life-saver
1.15.2 has the best API since it's the latest version
@sturdy oar Then don't?
yes
You don't really have any obligation to respond
spigot 1.15 has best api
If you don't want to bother helping someone in an older version don't?
but client side experience is ehh
Paper 1.15 best API
they just keep spamming if no one answers, trust me , i've seen that
- runs *
so update my plugins from 1.8 to .15 '='
@hoary parcel nah, you'd only have to run if you said that about 1.8
I'd probably be chasing you
TacoSpigot
lol
Taco is dead
Tuinity is decent
p r o
Tuinity
yes
Tunity is experimental
Wat
wut
??
Why do I even still bother trying to understand what he saying
🤦 wtf
in console
so does paper?
So does spigot?
spigot doesnt lol
lmao are you high
yes
small 🧠
percies
No downstream project is insane enough to add any kind of legacy bullshit
😉
Actually, when will LEGACY_* stuff be removed from Material
should be 1.16 rigght?
they're doing it soon
i hope it's 1.16
lol
whai
I'm gonna drop 1.8.8 support myself :p
Did you even try to open Material.java? you'll find out yourself
@hoary parcel I've never understood the patch system, you seem to be more inclined with the community so you could explain? I remember the DMCA stuff going down with bukkit around 2014 and stuff but never understood how patches would go around the DMCA
can someone explain why spigot isn’t allowed to be distributed as a jar openly like through mediafire or some download link but mojang distributes it through website
Mojang's code
Mojang's code
im faster
ok
sites like getBukkit are illegal
because you're not distributing anything
because you're applying patches
they have?
They do
@subtle blade Is the Bukkit API inherently what's DMCAd?
why doesnt mojang allow us inmean
For their own software
mb i didnt think in last msg
CraftBukkit & Spigot patches as well as Bukkit are distributable under GPLv3. Mojang's software is not
Our stuff can be downloaded just fine
BuildTools gives us the ability to compile everything on one computer
Oh
because... it's not open source?
I've always thought of projects like Glowstone to be really cool but I have a feeling they started a bit late and have to implement a LOT of things
They don't give a shit about Bukkit. They care about their proprietary code
😔
you can always make your own server software you know
and redistribute it as your own
Yeah except it takes a really long time to do so
Cuberite*
ok
Them as well
You have to implement a TON of stuff
I'm still looking for C protocol library 😅
wait so glowstone remade the nms code themself?
ima fork glowston once they catc up
😮
Yeah
that's epic
You effectively have to rewrite a lot of what the client does (without all the rendering ;p)
They don't depend on the mojang server at all
World generation and protocol handling
which is really cool in concept but
it's really hard to achieve
like
extremely hard
@hoary parcel I've never understood the patch system, you seem to be more inclined with the community so you could explain? I remember the DMCA stuff going down with bukkit around 2014 and stuff but never understood how patches would go around the DMCA
@steady cedar doesn't have anything to do with the dcma. That's a entirely different issue.
The reason we use patches in craftbukkit is that you can't distribute mojang code.
The reason we use patches in paper is easy upstream updates.
Oh
can you explain this patching
i mean they could use the code as reference as well but still they have to respond after mojang had did it which is slow..
The DMCA was back in 1.7.10? 1.8? The time between? lol
Paper patches are git commits, craftbukkit patches are just gnu diff
A patch is a way to tell git how to apply changes to a file
i dont understand what one must patch like whag anout the paclets?
If glowstone had started earlier as a project I'd reckon it would be in pretty good shape by now
It's a set of additions and removals
If it had started when the DMCA happened
like lets say mojang has all these packets
do you have to rewrite idk what do u have ti do
?
No. Patches include changes we want to make
so u dont distribute their software
Which isn't too bad
Yeah protocol isn't that bad
There was this custom server software
so u just add uh a extra function
It really isn't. You just have to be able to deserialize what's being sent over the network
You can quickly implement the protocol
called feather-rs
Netty does a lot of that for you
The hard stuff is the gameplay
and the terrain generation
updated to 1.15, a lot of errors appeared, lol
This project is actually really nice for custom servers
https://www.spigotmc.org/threads/minestom-a-minecraft-server-creator-library.432167/
@sturdy oar That's still not too terribly difficult
just like the small stuff minecraft has
yeah but like having it 100% the same is not easy
It takes already an insane time to write all the protocol , and replicate all packets
that's why I said if a custom server project had started earlier
Also Glowstone Javadoc link is dead on their website )=
Na, you can even generate the protocol
The protocol is literally the easier thing about writing a custom server
You could probably write a python script to scrape the protocol page 😛
No need to scrape anything, there are enough projects with all the data
The thing is Glowstone is apparently slightly slower than paper too
I wrote a from scratch client in java before, I from scratch server in java, a client in c#, etc
It's not really hard
Idk if I can post links to other server software here, there was that feather-rs project
Which was a rust based minecraft server not sure how far they are with it
It's all pointless
Ppl will never switch and there is no real reason to switch either
So those are all toy projects
I actually bugged out GitHub syntax highlighting on my project and this triggers me
I don't know, if someone wrote a custom server that performs really well
And had a majority of the features I'd probably switch
For java I used netty, yes
For c# I did raw tcp sockets
for client i used netty also
Cause I don't know shit about c# and that was good enough
i used java for client
lol
do u like how string is also a primitive in c#
andu can compare strings like
string a = “hi”;
if(a == “hi”)
I don't give a shit quite honestly
yeah fax
i like that feature imo but i can see why people wouldn’t like it or say its illogical i guess
faster to type lol
ok
Not really
Any sane ide has auto completion
Am sorry to hear that
np
would you wish mc would have been written in c sharp only snd java edition never existed?
lol minecraft c# edition
when c# sponsors minecraft
No I don't
minecraft dungeons is using unreal engine 4, my fav game engine bro, and minecraft dungeons looks lit did u see it
If minecraft would have been c#, we never would have been here
I think a lot would be
I personally got inspired to learn Java for minecraft mods lol
maybe u wouldve had c# as ur primary language
No you wouldn't, as this community wouldn't exist
who knows
I personally got inspired to learn Java for minecraft mods lol
@steady cedar same lol
u said u cant code lol
eXposebrous
I can't code
ok ur getting hilarious
I got my job because of Minecraft
I got my job because of Minecraft
@hoary parcel u wouldve just done u job@in c sharp
no big difference
Actually there is
I would have never learned to write code
not true
C gang here
char *ptr[] = {"hey", "hey"};
if(strcmp(ptr[0], ptr[1])== 0) {
printf("Yo this is true!!1!");
}
There would be no modding community on c#
ofc there would
Native languages are significantly more intimidating and modding it is more complex
C# isn't native
if mc was open src modding would be easy
Is it compiled and run by some VM as well?
I was under the impression that it was done similarly to C++
Yes, you need the dot net runtime
The thing that every game installs in a different version for you
Go check your PC and count the different versions of mircosoft visual idk redistributables
@frigid ember since Microsoft is open sourcing stuff might as well open source minecraft 👀
👀
lol
Brigadier was the beginning. Next up Minecraft
donu guys like mc dungeons
its fire
lol
mc clone but 3rd person only thi
i want it more uniue
all i saw is they copied the mobs
:/
same zombie same texture
It's literally a completely different game concept lol
it's a dungeon crawler in the same universe
ok
That's like saying Apex Legends is a Titanfall clone. Different games, same universe that shares characters and weaponry
i can tell the mc dungeons free editions coming, people cloning mc and blocking f5 LOL
idk titanfall
You too young, lol
ok
I mean it's not that old. 2014
2016 for TF2 :((
I didn't play Titanfall though
Portal two came out in 2011
ok
Time flies man
okay y'know what? now you're making me feel old
very
Dw am older than you ^^
At least am not born in the 21st
Oh, another one choco
fightin and sht
rocet league
5 years
thats pro
i lov rocket league
thats a game i actually update
lol
jk i also update mc
it depends what server
i am on
we should all ||update|| our software
did you ||update|| your software?
rocket league costs money
So?
so i dont buy
So i have a problem i cant come up with a solution:
I have a Bungeecord and on the Bungeecord as well as on the Spigot Server is a "xy" command.
How can i controll on which end this command gets executed?
anyone knows any alternative to maven.elmakers.com
nvm i found minevolt.net
same as elmakers
Hi! No one knows how to fix the problem : "java.util.zip.ZipError: zip END header not found "... OC: Ubuntu Server 20.04. But on Windows everything works....
Log: https://hasteb.in/woqaxole.md. It is absolutely compatible with all plugins and cores spigot, craftbukkit, paper, tuinity
Hmm, LuckPerms is working after reinstall. Other plugins not working.
Seems like there's something wrong with your OS then
Also you have to consider this is Spigot discord and not Tuinity's
Everything is fine on Windows. There is a problem on two servers with OC Linux.
[15:30:19] [Server thread/DEBUG]: [io.netty.util.internal.NativeLibraryLoader] Unable to load the library 'netty_transport_native_epoll_x86_64', trying other loading mechanism.
[io.netty.util.internal.NativeLibraryLoader] netty_transport_native_epoll_x86_64 cannot be loaded from java.libary.path, now trying export to -Dio.netty.native.workdir: /tmp
``` wtf help 😩
is that the whole stacktrace?
nope
Optifine
he means like rotate an actual banner to be behind the player
Hey guys, my server has reached about 25 players and I think ive outgrown my host. I was wondering if anyone has some suggestions for a dedicated host
so you start is good too
they... just resell OVH stuff
¯_(ツ)_/¯
(╯°□°)╯︵ ┻━┻
sorry ┬─┬ ノ( ゜-゜ノ)
(┛◉Д◉)┛彡┻━┻
theres also reliablesite
as an option for a host
I want to learn how to make a vehicle plugin, with protocollib steervehicle
But i can`t find any tutorials about how to make it (Place vehicle, go in vehicle, ride vehicle etc.)
Does someone have a tutorial or something on how i can make that?
literally the first google result of "protocollib steervehicle"
hey
im unable to cancel any event
Ive also tried to cancel movement
i use multiple classes
Yes i know, but i cant find on how to do it with place vehicle, go into vehicle
gonan dm oyu
not registering the listeners
Bukkit.getPluginManager().registerEvents(this, this);
😎 im Pro
what about external classes
new class(), this```
yeah if I remember correctly the first argument is the listener
right?
yeah thats what i mean
supposing you have no arguments
@frigid ember is that Apache NetBeans IDE you're using
Choco 🤣

^
I have been summoned
You're only just now getting this? I've had this for well over a month or two
idk i dont use the emojis thing i do type : then search what i want lol
just made a greenchat addon to the AsyncChat, E.G > 4chan style, or you can call it 2b2t style
im new at eclipse and wanted to ask such a stupid question .. .ahh
i have src code of a plugin that i want to edit but i don't know how to add it to eclipse lol is it easy?
any body? :[
how do i cancel an event inside an event
Yeah but on GitHub do you have just source files or also project files?
just the src
Realistically, IDE-specific project files should be gitignored, but some people include them
Okay, so clone down the source (or download it whatever), place it where you want the project to be located (in your workspace under a project directory more than likely)
File -> New... -> Java Project
how do i cancel an event inside an event
@hollow thorn
must i extract it?
Uncheck default location and locate the source path https://i.imgur.com/CUrUoOI.png
i guess you could create a new project
and copy and paste the src into the projecy
project
must i extract it?
its a .zip file lol
how do i cancel an event inside an event
You don't have an event inside of an event
You're still only ever in one event
and i want it to cancel if a certain requirement is made
then?
cancel();
Wherever the source files are, point to that, Ahmed
cancel();
@zinc ingot it says i need to initialse the variable
If you've done that, you can hit "Finish"
i choosed the Src folder which is Profiles
Will have to import any libaries you'd had before because I'm assuming this isn't a maven project
show your code or something
wait no fixed it
😆
how do i get the spigot 1.8.8 api? tried using build tools but it didnt gave me it
Run BuildTools with the --rev 1.8.8 argument
Though we recommend compiling against the latest version
is World#getEntitiesByClass mutable?
@Override
@SuppressWarnings("unchecked")
public <T extends Entity> Collection<T> getEntitiesByClass(Class<T> clazz) {
Collection<T> list = new ArrayList<T>();
for (Object entity: world.entitiesById.values()) {
if (entity instanceof net.minecraft.server.Entity) {
Entity bukkitEntity = ((net.minecraft.server.Entity) entity).getBukkitEntity();
if (bukkitEntity == null) {
continue;
}
Class<?> bukkitClass = bukkitEntity.getClass();
if (clazz.isAssignableFrom(bukkitClass) && bukkitEntity.isValid()) {
list.add((T) bukkitEntity);
}
}
}
return list;
}```
Yes
auth, what does your buildtools.log say? That command looks fine to me
can someone give me an plugin for spawners? ex: iron golem, zombie, cow
EpicSpawners, UltimateSpawners or SilkSpawners?
Silcc
Preferably not the former two

ty
Have you seen the quality of EpicSpawners Choco it’s just splendid
I've written some of the code in that project in specific. I'm well aware of how "splendid" it is
Lol
The only reason that project has some sort of object oriented code is because of me
Hmm, I mean from the front side the plugin looks all good but the inside is kinda the opposite. I don’t know if SilkSpawners or UltimateSpawners have better code
SilkSpawners I'm almost certain
That being said, SilkSpawners is also old as shit
ES and US were just poorly designed from the ground up
Hmm perhaps it’s worth writing one then for the sake of quality
If you really want to, sure. They're not terribly difficult to write
Well I happened to like wasting time on stuff so why not. Also how do I get access to write on the wiki pages? Or write new ones
I think i'm pretty good at remaking plugins 👀
imagine me having time to copy a premium plugin and post it for free

Hmm no verification at all?
not to my knowledge, no
Wth
that must be fun
It's a public wiki. If in a good state, they can be locked
Okay that’s cool instead of me spamming the plugin development forum with resources
Would rather the forums be flooded with resources tbh
Easier to filter. Though there is a snippets category on the wiki that might help
Yeah fr. But I mean only reason I probably would post on the forums is because I need ratings
Could be bots or just magic
oh it has gui
Lmao
Sounds like a selling point to me