#help-archived
1 messages · Page 147 of 1
(File sharing server, and 3d printer server in one. not for games/minecraft)
Can a staff help me out?
Someone botted my plugins downloads so I was wondering if it was possible if you didn't delete the plugin
why tf do shit heads keep doing this
@zenith palm I'm sorry for the tag but can you lmk what steps are going to be taken?
https://www.spigotmc.org/resources/buycraft-confirm-➜-protect-yourself-from-chargebacks-✦-confirm-gui-✦-open-source-✦-1-8-1-16-1.80719/
This is why we can never have any good things in life, some twat comes along and has to ruin it
🤔 i doubt that would really hold any ground in paypal chargebacks but 🤷
^ talking about the plugin
its a free one..
Just released yesterday, plan on adding a log file that contains the transaction id, date etc.
cosmic use the same mechanic
does anyone know how to set a players max health, without the use of items? We encountered some issues which lead to players having huge amounts of health. The issue is patched but the high health remains for those players. Seems like a one liner but I don't know what the line is.
so I assume you have the ability to code a plugin, right? You could just detect if their health is above a certain amount on join and remove it if it's higher than the norm
I do write plugins Jochyoua, I can detect login, what I don't know... and maybe I'm just being tired and blind right now... but I don't know how to set max health
timings will not show a memory leak
do you actually have a memory leak
is your server crashing due to OutOfMemoryError
I'll see what I can do Burger ;)
ya know what
i got it... i think i just needed to ask to look dumb
and now I found it
so... thanks 🙂
hello new guy
doesn't mean there is a leak
but on the plus side, I was going to report a bug, and then... get this, I looked over the tickets, saw something similar, downloaded the latest, tested it, bug was patched. And then, the most amazing thing is, I did not report a duplicate of the issue.
java will use up to the amount of ram you've allocated even without leaking
you only have a memory leak if all your ram is being used and your server is crashing due to outofmemoryerror
yes
Ehy, i cannot find a plugin that gives you some info when you hover with the mouse, the player name ( info that i can modify on the config ). Can someone help me?
You mean in chat?
Btw it looks like Guardian beams aren't compatible with Bungee. It kicks the player when it's used.
It's not a part of the API it's NMS, but It works as expected when I use it in a single Spigot server.
this chat isnt a bug tracker
Where's the bug tracker for Bungee? Is it the same hub.spigotmc.org/jira?
please include more info than 'guardian beams dont work'
The thing is I'm not getting any error messages or anything. I'll put everything i have.
Something with bungeecord is weird.
When i take a ProxyPing event Connection to a string i get this: [/ip:port] <-> InitialHandler
But there are many method like getName or getUUID
They return null
is there a way to say "upon first join, connect user to x world. if not, lobby"?
the ping doesnt send the uuid yet
bungee by default returns users to their last server
because it doesnt send name either
Why is this a method then?
Wait can a Connection be used when the player is connected too?
yes, Connection is a generic class
Ah thanks.
ok
?xy
Asking about your attempted solution rather than your actual problem
so md, if theres no server for them to return to (like upon new join in particular) it's the lobby?
how do I change that first join server, then?
if youre not running any bungee plugins, its controlled by the priority setting in config.yml
ahhh
Do I need to use --forceupgrade to upgrade my regular world from 1.15.2 to 1.16.1?
you dont need to
Thank you
@frigid ember What do you intend to do? You can use Multiverse to create worlds.
What do you mean by "custom world"?
Hi guys does anyone have this errors? What should i do with it?
[03:55:46] [AuthMeMYSQLPool housekeeper/WARN]: [AuthMeMYSQLPool housekeeper]
[03:55:46] [luckperms-hikari housekeeper/WARN]: [luckperms-hikari housekeeper]
Generate a new world? Import an existing world?
Then use level type FLAT
Then go to the PistonMaster advice
Use VoidGenerator
A custom generator
Why?
how to make your server run on more than 1 version
@rotund hemlock Viaversion
?
voidworld is better
why?
is this a plugin
yes
yup
a generator
Asking about your attempted solution rather than your actual problem
What is your problem?
Then use a void generator
Thats the waay
for it
Then create many void worlds
its easy
What plugin?
hm
Whats the name of the generated world?
Is it "1"
?
Thats code not a world
yes
use multiverse to create the world and import it into mini game maker
No you need to import the world generated by multiverse
not multiverse
Use this plugin to create the world: https://dev.bukkit.org/projects/multiverse-core
And this for the void: https://www.spigotmc.org/resources/voidgenerator.25391/
Import the world into Mini Game maker and your good to go
I would recommend you to learn how these plugins work before you work with them.
Knowing how they work can help you in the future
Multiverse still works on 1.16?
I think theres backwards compability
I didnt test it yet
Can someone advice a plugin for xray? I used one a few years ago but cant recall the name. Not looking for anti xray per say, but a mining/xray stats where i can see mined blocks from a player, % and number of iron, gold, coal, diamonds, etc mined? Thanks
Spigot.yml
Hello,
m trying to setup bungeecord, when adding myip:25677 , to my server list, the MOTD is correct for the hub/lobby, and displays that it is online. When connecting however, I get
Could not connect to a default or fallback server,
I understand this means that the bungee cannot connect to the server I have specificed, however I believe I have completed all the required steps to set this up, here is my bungeecord config https://paste.helpch.at/fejulorupe.makefile
And in my server.properties for my hub server I have online-mode set to false, and in spigot.yml I have bungeecord set to true. My bungee server and hub server are on the same IP, just different ports
hi, does someone know how to remove all chests on mobs?
myip:25562
hello, i've see we can use rgb for color now in minecraft ? how can we use it ?
or if someone got a link speak about it 😄
There’s some examples in the 1.16 announ
^
Oh thanks didn't saw
not sure if there is an r g b method as i haven't looked yet
like toColor(17, 200, 45)
it's in thread for spigot 1.16.1 right ?
yes
perfect gonna read it 🙂
I replaced it with my actual ip
Is it because my bungeecord version is the latest but not my spigot version?
but yeah my hub server is tha
Hi guys, I know that we can use hex colors with a JSON kind chat, but is there any Color Code like the &a &b etc to use hex codes ?
my bad I found it ^^
generatorSetting is not very well documented unfortunately
I think I might’ve put a basic example in the javadocs recently
Multiverse definitely works for 1.15.2
where can i get the fishing drop pool? or at least find it in internals
It’s probably a loot table
where can I find that
hm
In the jar somewhere
no way to reference it in code?
Data folder maybe
My bungee version is like the latest but my server is like 1.8.8 (Not my choice lol, I dont like people who use old server versions but its for a friend)
Loot tables are json not code
would that cause problems?
yea but i'm trying to modify drops in a plugin
No, bungee supports 1.8+
hmmmm
only changing chances, not the entire table
I think you just have a mis configuration somewhere
Firewall, wrong port or ip, server not running
Would it be a firewall thing? All servers are on the same machine
Put the ip as localhost like I suggested then
I tried that
same thing
@frigid ember Maybe is the lobby server on a different port
Check the server.properties
The ports in config,yml and server.properties must be the same
yeah, its the right ports
hm
Weird
Lets check if you can connect to the lobby
Connect to: localhost:25562
They arent running on my machine, but ill try myip:25562
ok
Okay so can you connect to the backends manually just fine?
hes trying it now
ah right, missed that
If you wish to use IP forwarding enable it in your bungeecord config as well but...... it is
ok thats good
Hm
that's a good sign
alright
just about to say
also disable query
because it looks like query and the proxy instance are binded to the same port
in your proxy config
odd results now
Guys to use § hex color code in minecraft with for instance #fffff we need to do §x§f§f§f§f§f right?
one sec
change the host to 0.0.0.0:25577 and everything should still work fine
@undone narwhal You mean plugin chatcolor?
Yes
Okay then we can't use it directly in chat (ChatColor.translate... doesn't work?)
or does it not matter if the other thing is false
host: 0.0.0.0:25577
i didnt check it
It doesn't :/
alright
or just turn the query function off
whats it do?
Going to make a plugin to use it (&x(#<color>))
hm
@undone narwhal Check the secound message: https://www.spigotmc.org/threads/spigot-bungeecord-1-16-1.447405/
Yep I know the ChatColor.of
Basically it's just a protocol on which extra data is transmitted, like a true playercount and plugins etc.
This is extremely odd, when I changed the ports, clicked save, then restarted the proxy, all of the ports just reverted to what they previously were, I know this doesnt happen for the entire config, cos if i change the motd of my hub it actually changes, query_enabled also went back to true, maybe something with my pterodactyl panel is interfering with it?
ahh you're using pterodactyl. iirc there's some bug with using ptero for mc but I can't really remember what
I think. Been awhile since I've messed with panels.
gtg for a few hours. DM me and I'll respond asap if u want or something idk
hm
How would I call an API method for 1.15.2+ in a project that needs to support 1.13.2+?
modules?
For example, if the project sets the api-version: '1.13' in the plugin.yml, then those functions are not visible
how would a module help if the api-version is set in the plugin.yml?
well
can I make a module specific to api-version?
there isn't much you can do about it
I can use NMS in a "module" so to speak
loading the appropriate "module" in the on_enable based on the version
If I make the api-version to 1.16, then those methods are available, can I still run on 1.13?
say if I don't call those methods except when the version is actually 1.16?
This is so odd
Seems like this api-version stuff is forcing development towards version specific releases
and frankly the average developer is not just supporting 1.15.2 only at the moment
I think there is a problem with this strategy.
jars will get bigger if we have to build specifically for api-version to use features.
And I'm not talking about NMS, but stuff like additional functionality in ItemMeta.
im lost with this config thing lol
If i delete my nether and end worlds from a 1.15.2 server and do a forceupgrade, will it generate new nether and end worlds for 1.16.1?
If you delete the worlds, there's no need to force upgrade to make them regenerate.
well yes, but i need to force upgrade, because i'm running 1.15.2
Does anyone have a link for spigot snapshot changes?
hi im developing and npc plugin using nms code and in the console there's this error
java.lang.ArrayIndexOutOfBoundsException: 2
[12:01:34] [Server thread/WARN]: at me.marc_val_96.guardiannpc.npc.NPCManager.spawnNPC(NPCManager.java:45)
[12:01:34] [Server thread/WARN]: at me.marc_val_96.guardiannpc.task.SpawnNPCTask.run(SpawnNPCTask.java:33)
[12:01:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84)
[12:01:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452)
[12:01:34] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1295)
[12:01:34] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:431)
[12:01:34] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1213)
[12:01:34] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:946)
[12:01:34] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
[12:01:42] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 11478ms or 229 ticks behin
im using the reflection ad for spawn an npc im using packetplayoutplayerinfo
one sec i post it on paste
you're somewhere going over the limit
yes but i dont know where is the error i rewrite this class 3 times
java.lang.ArrayIndexOutOfBoundsException: 2
[12:01:34] [Server thread/WARN]: at me.marc_val_96.guardiannpc.npc.NPCManager.spawnNPC(NPCManager.java:45)
yes I know that's what I don't understand why
Have you tried checking the length of those arrays
what a weird way to spawn npcs
is for antikillaura plugin
for my server
ok maybe i fix that
you know a method for equip the npcs?
yes
you can show me an example?
ok thx
Does #remove() kill an entity?
Lol
https://srcb.in/8558890b9f
is this spigot related? If yes what causes it?
How do i take commands away from people/groups (Sorry if this is not the type of questions that I'm supposed to ask in here!)
with permissions
Yeah but like how?
Yeah but like how?
@pale shell What permissions plug-in do you have?
Try it
it doesnt, thats the problem
Item isn’t yet enchanted by the time it’s passed to the event
oh, right, thanks
The event should have some method to get them
Not at my computer, can’t check quickly for you lol.
I want to send a message to every user whenever the world time becomes 12000, should I make a thread which checks the worldtime every X amount of time or is there a better approach?
when deploying an artifact to a maven repo, should I include maven shade plugin in my pom to shade the required dependcies?
probabily corrupted world
@tiny dagger that is a newly generated world
Like launched 13 hours ago.
Does allocating more ram speed up a --forceUpgrade? Updating a world with 4618119 chunks and it's going really slowly, around 40 chunks per second
Is there a way to let it look like a player leaves without him leaving?
/spigot reload is different than /reload, right?
I just wanna make sure spigot reload just reloads the spigot config and not the whole server
Correct
Thanks
when deploying an artifact to a maven repo, should I include maven shade plugin in my pom to shade the required dependcies?
@fossil shoal shade what you need to shade. Any dependencies listed in your pom will also be included in any project that depends on your project. They're transitive dependencies
The beauty of Maven 🙂
Is there a way to reload the server.properties file other than /reload?
Don't think so, no. It's best to stop your server, edit the properties, then start again
Alright, thanks
A lot of those options modify how the server itself operates
i don't even wanna know what it would happen if you change the view distance on runtime
Realistically speaking, you shouldn't be using the /reload command unless you're in a non-production environment
It's mostly useful for developers testing plugins
I want to let it look like a player left. Is there a way to get the quitmessage from the event without triggering it?
hm, but that wont work for players who never left
I think i will hard code the message
to get something
without actually knowing it once
or i dunno
at least put a default
of yours
then on quit switch it up
And triggering it without the player leaving could trigger plugins.
And then bad stuff happens
Yeah please don't call any of Bukkit's events yourself. Heh
That does that too?
Yeah, iterate all online players and call hidePlayer(thePlayerYouWantToHide)
(there's a plugin parameter in there too)
I already made that stuff
Im making a vanish plugin for learning
I didnt see that it hides the player on the tablist too. Thanks for the help
It should. Last I recall it does
I just checked it
In 1.16.1
Hey,
I'm making a plugin.
My problem:
It says that a value in the config.yml is "0", but it's "3".
Also, this does not occur on my machine...
What config manager do you use?
Can you give us some code?
int maxHomes = getConfig().getInt("maxhomes");
On my machine it says "3" (which it is), but on my friend's machine it says "0"
hm
Can you check his file?
And maybe something edits the value ingame
Can you check his file?
His file is exactly the right one
hm
Or the key is not present / incorrectly spelt because it defaults to 0 if not defined
Casing matters
And maybe something edits the value ingame
No, only the onEnable will set this value
Check his file with a YAML checker
Or the key is not present / incorrectly spelt because it defaults to 0 if not defined
Then it wouldn't work for me too
Maybe he needs a reload
Check his file with a YAML checker
Yeah, it's valid
Because the value was different
Maybe he needs a reload
Restarted multiple times
ok
Is there a way to test on my end if the port forwarding worked?
so when I run buildtools to get craftbukkit 1.16, this time it doesn't add it to my local maven repo. am I missing something?
I am working on a resource pack that uses a CustomModelData item. It works fine in Vanilla but not in Spigot or Paper 1.15.2 . Is there a known fix for this or a config that I need to adjust?
so when I run buildtools to get craftbukkit 1.16, this time it doesn't add it to my local maven repo. am I missing something?
@frigid ember yes. md_5 said that you need to manually pass --rev 1.16. Because its still experimental
or so
i did though, I used --rev 1.16.1
hm
No, read further
Furthermore as foreshadowed in both the 1.14 and 1.15 release threads, we will no longer be distributing any 'Bukkit' jars via our Maven repositories. This is SpigotMC.org and the supported software we produce and maintain is Spigot. The relevant dependency for all purposes is org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT. Unless you are a developer actively working on Spigot the identity, naming, and structure of internal components is an irrelevant distinction and this change helps reinforce that message.
And in the linked 1.14 and 1.15 threads you'll see that BuildTools has not been compiling CraftBukkit
then how do I get it, spigot doesn't contain craftbukkit
A Note on CraftBukkit (23 December 2019)
As foreshadowed in the 1.14 thread, BuildTools will no longer build CraftBukkit by default. To compile CraftBukkit you must now use the --compile craftbukkit command line argument.
It does
Spigot is a fork of CraftBukkit
oh ok
It literally can't run without CraftBukkit ;P
Though nobody should be running CraftBukkit at this point, nor writing code against it
It's considered an internal dependency
If you need to interface with internal code, you should be depending on the Spigot server as a dependency instead (which does contain CraftBukkit code)
spigot by itself doesnt have nms in it, at least for me
thats why I wanted the craftbukkit jar
What is it you're depending on that doesn't also include B&CB?
because Spigot literally cannot function without either
Spigot API != Spigot server
not the api jar
For all intents and purposes, Bukkit = Spigot API, CraftBukkit = Spigot
oh ok
hey choco when are those silly player.spigot() extensions getting moved...I mean now we depend on the bungee chat api....it would be nice not to have to do player.spigot().sendMessage(Components)
Ehm, that's a question you'd have to ask md though I doubt those would be removed
I'm honestly not sure why there are Spigot subclasses
pitty seems a bit superfluous now
There was an event at one point that just had a method shoved into it without a subclass
getClickedInventory() or something was Spigot-exclusive at one point I think it was
Oh yeah inventory events ..shudder..I just spent a week working out those
Not sure. Hold that question for md 🙂 He may have a reason to keep 'em
Backwards compat probably but those can be deprecated and delegated
Im sure
I am still not convinced I am tracking every single way a player can move an item - but meh I just wait for the prs'
Oh alright
I mean stack splitting and halving makes it bloody complicated when you get into it
lol I wish
I have weird problem... My players reporting for last 4 days that they are randomly unable to pickup items. But when they open chest, or wait for a bit, this problem is gone. It is hapenning randomly to random players troughout the day.
I unloaded all plugins except for Residence and CMI so its 99% not by plugin. I am running 1.15.2 (+Viaversion with 1.16.x support)
sound like PickupItemitis..
? 😄
It's honestly possible that it is a bug in VV
1.15.2 and 1.16.x protocols are very different
It is not... I tried older version 😄
Older? lol
Never happend to me... But players reporting whole 2 days for now...
Its completely random
some players 2x per day, some players every 30 mins
Well I've been able to pick up items just fine while testing my plugins locally - so...
If you can replicate it without ViaVersion, file an issue on the JIRA
Otherwise, direct concerns to them
Ok
its a client issue most likely meaning protocol meaning VV
Oh and tridents not returning
to those players
Its like they are vanished 😄
or gm 3
@subtle blade have you ever encountered this error?
Will test that quickly as well, but I wouldn't be surprised if that too is VV
...its protocol for sure
Patch failed at 0004 Spigot Configuration
I will try old VV if they will be still reporting it.. If its not VV I am out of ideas and it must be something in Spigot 😄
That's the whole log?
was working yesterday, broke today, tried to force pull and wipe local changes didn't work.
yep
...just remove VV
i'm attempting to apply patches.
oic
dont try old...just remove it
ok
hint: Use 'git am --show-current-patch' to see the failed patch, running that command does nothing
gives me an operation is not in progress.
Tridents return just fine for me, Baterka
Are you making any changes to the server using BuildTools ceezuns? Or are you just trying to build Spigot?
i am making changes, yeah
oo
seems like i've broken something lol
well
and this is a Spigot change? Or Bukkit/CB API?
New API should be targetted for the latter
this is a Spigot-Server change, so craftbukkit
What is the change though?
Oh you have a PR already
i've submitted a pr, but i needed to edit it and when i got on today
wasn't working.
so i have no clue what happened, i just updated my repo and applied patches
and this is what is happening lol
Yeah - I'd start with a clean BuildTools, pull down your patch into CraftBukkit-Patches, then run applyPatches.sh
alr
Then you should be good to edit from there
Not sure why BT is bothering you about that lol
I should make a Spigot PR as well. There were changes I wanted to make to /plugins
lmao i think it is not spigot but something to with folder permissions, i can't even delete the folder in windows....
...ergg windows
i tried using wsl to rm -rf it with sudo it won't even delete something using that
if your in the folder in bash you cant delete it by the way
restart explorer.exe and close all bash (taskmgr to kill the orphans
Windows is great 
It is ViaVersion thanks
pepehands
Other server using viaversion ( much larger network) have it too
@Baterka not suprising
0 day
Woo!
is viaversion not working for you?
viaversion causing that players cannot pickup items
i'm running the latest version of viaversion and viabackwards.
i would try to reinstall the plugin
or restart your server.
idk if you've done that already.
it works perfectly fine for me it might be a one off thing if it does not give you errors.
Can you link to the ticket?
^^
possible Spigot bug? https://github.com/Multiverse/Multiverse-Core/issues/2307
Likely at fault of Multiverse. It was a bug in RC1 but md had fixed it
it's about time viaversion gets bitten 👀
@shut quest by template they probably meant this:
- Type /viaversion dump, and put the link here.
**Additional server info**
Do you use a proxy (eg. BungeeCord)? What software do you use and what plugins?```
You a maintainer?
ah I forgot dump
yup
1 sec
Also if you run literally any other plugins, list them as well.
You're saying you can't replicate this, nicegamer?
What's your /version?
one sec
if it was on every world I would suspect MV
This server is running CraftBukkit version git-Spigot-6f4ff1b-983305b (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
You are running the latest version
Right... I was going to point to https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/8dc1da156f8e3f67f7e1cb28fce78d5efe44e50f but I guess that's not relevant if you're running it
This was definitely a Spigot bug in RC1 though, but I know for a fact md had fixed it. I remember because he spent 2 and a half hours trying to fix it when it was a one-line change lol
lol rip
Entities shouldn't be tracking you either, correct?
i.e. if you were to punch an enderman in survival mode in the end, it won't attack?
While you're at it, try destroying one of the end crystals. The explosion should inflict damage but won't show any explosion (sound nor particles)
If both of those are the case, it's definitely the same bug md was encountering with non-overworld worlds in RC1
sort of the same
endermen are the same as you described, but the end crystal did make an explosion and made sound
and both work as expected on the main end
Okay perhaps that was an unrelated bug then. So I'd still chalk it up to that same bug. Lemme see if I can find his message where he fixed it
Hi, anyone know how i can prevent horse armor/saddle drop on Horse death ?
Hello, I am not sure if I am right here. Sorry if I am not :).
So there is a guy that gave my projects (Tigerkatze Ressource VillageDefense) some bad reviews and used multi accounts. I would really appreciate when someone could take care of it. Thanks in advance and have a nice day.
I think you might have to wait on @fleet crane to wake up for this one, @rich olive 😦 I don't know how he addressed it
It's possible that it could still be a bug in Spigot, though I honestly don't know
As far as "vanilla" Spigot is concerned, they do tick in nether and end worlds
Though perhaps worlds created by Spigot are bugged
no worries, I guess just tag me when he's up
I think he reads through his pings. If not, I'll remind him and let ya know
awesome! thanks
@frigid ember ChatColor.of(hexcode)
cheerios, is that with # or not?
I think that's with the # but have to check
Lol both issues closed as: "It is not our problem"
So then it is Spigot/Bungee problem 😄
its not
I am also sure
good luck
Noone here using ViaVersion lol and have same problem? 😄
...omg.
the thing is if you dont get the issue when NOT using viaversion it is NOT a Spigot ussue
and given I have run I think 15 seperate 1.16.1 servers..and never had an issue picking up items...It aint spigot 1.161
...right
That would've been noticed long ago
Maybe because of new ViaVersion this problem occured and it is unfixable on Via side
Idk
well then via is broken and should be deleted
Such a huge plugin...
Not broken anything for me until 1.16 came
I mean I dont think they ever fixed the glass pane directional issue after 1.15
hello i have a problem with end gateways in 1.16
they seem to crash the server
with ticking block entity
I think there might have been a recent patch to that
update to latest
@subtle blade mentioned a new api
is there a place where i can view spigot builds? yknow instead of running buildtools and comparing filesizes to see if it changed ._.
Update your server. Was fixed literally 4 hours after initial release, Walnutzz
nope
oh ok
@graceful silo
thanks
you have to build it yourself
yeah i know buildtools, i mean like a changelog
?stash
Commit history
although not every build is something new
Paste your /version into there it tells you what's new
link is broken somehow ._.
yeah someone didnt pay the dns bill
Not affiliated. Ours is https://hub.spigotmc.org/version though I find it's not super consistent and doesn't always work properly
Provides a utility to check Spigot Versions.
So I link to phoenix's instead
gotcha
hello i have a problem with end gateways in 1.16
@hollow jolt
i updated to latest and it still crashes
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
29 versions behind dam
how i can applied a squid skin in a guardian ?
@rotund hemlock like any other event? https://www.spigotmc.org/wiki/using-the-event-api/
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
You can't listen to EntityDamageEvent though
Kek
EntityDamageByEntityEvent or EntityDamageByBlockEvent
Actually it has handler lists. You should be able to listen to it. Nevermind
Kekk
@subtle blade now it won't compile i've tried using my local repo and the public repo
send code.
well, i'm pretty sure it works.
Hello!
nvm i figured it out, lmao wsl and my windows machine have two different .m2 directories.
I'm a new server owner, running Spigot 1.15.2. Some of my players want keepinventory on, while others want it off. I found this plugin called keepinventory which does exactly what I want it to. It officially supports up to 1.13, but reviews have indicated it works up til 1.16.
Thing is, I don't know how to use it.
I don't know how to activate this "keepitems.keep"
Can someone help me out, please?
that node is a permission @frigid ember
do you have a permissions plugin installed e.g permissionsex, or luckperms?
No.
Should I install one? If so, which one should I go for? I need one which doesn't impact performance heavily
Luckperms
100%
They don't cause performance issues
Okay, once i've installed luckperms, what should I do?
well luckperms significantly delays startup time, but runtime okay
Startup time isn't a big deal
it is when players waiting for startup xd
I can't lie. I've been running this whole deal on my Chromebook since I can't afford a proper server. I'm trying to max out as much performance as possible.
But it's just some seconds .-.
for max performance, set view distance to very low, disable timings, disable player data saving, disable spawn chunks
disable timings
@frigid ember Timings?
inventories, potion effects, not sure exactlywher now
I've already done render distance, but never heard of timings
./timings paste command
probably heard of it
ok, no problem. thanks :)
Yeah, but what does it do?
so it's data logging can be disabled for max performance
it shows if your server lagging etc
useful to find lag causes
Well, alright I can do that later
but if you're going for super small setup it can be disabled
For now, I've installed luckperms, and booted up the server
I run mc server on 400mb ram, so just told what I did on it
I didn't know you could run Java on a chromebook lol
the dev team for luckperms has some awesome documentation, you just follow that to set roles and permissions.
how's it done?
I didn't know you could run Java on a chromebook lol
@rich olive I'm running GalliumOS, a fork of Ubuntu
and you should be good to go.
For the KeepInv plugin, I just do /lp group keepitems.keep
right?
Nope, that ain't it
You could add the perm directly to the user
Or make two groups, the default one without it and a new one with the perm node
And move the user to the other group so they get to keep their inv
I'm going to add it to the group, in case any other players want to join later
Right now I'm trying to figure out how to add the permission of keepitems.keep in the first place
I believe it is lp creategroup groupname and then you can move the player by doing lp user playername parent set groupname
Ok. I did /lp group keepinv permission set keepitems.keep
Not sure about the create group
Oh yeah and that too xd
"Set keepitems.keep to true for keepinv(my group name) in context global"
Adding the perm is important xD
What does "in context global" mean?
Means that it works in all worlds in the server
You can specify it to be per-world too
Nah, global is fine
Perfect!
It worked
👍
And tick rate is still at a solid 13 ms!
Players are still able to move items from their hotbar using numpad even though InventoryMoveITemEvent, InventoryDragEvent and InventoryClickEvent is cancelled. Any pointers?
Should i do a force upgrade from 1.15.2 to 1.16.1 if i'm going to delete nether
Players are still able to move items from their hotbar using numpad even though
InventoryMoveITemEvent,InventoryDragEventandInventoryClickEventis cancelled. Any pointers?
@ashen stirrup Can you try to identify if any of these events gets even triggered?
You can move it to the inventory with numpad
But not with dragging
But then you can't move it back
Yes. Can you check if any of the events above get triggered? log it into the console
When I use NumPad keys it calls the InventoryClickEvent
No event is called when put it in my top inventory the first time though
Hi, to use this plugin (https://www.spigotmc.org/resources/skins-1-12-x-1-13-2-1-14-x-1-15-x-1-16-x.70829/) on my server i need to have installed spigot 1.16.1 version on the server? right?
Hey so I have two questions.
On my spigot server just updated to 1.16.1 flying machines lag so much. The server is good I could be running every farm at 20 tps still. But as soon as you turn on a flying machine it lags.
My other question is is my zombie piglin farm isn't as efficient as the one I have on my survival world. They are the same design with the same perimeter the only difference is one is on a server and one is on a private world. It will spawn like 4 at a time then stop spawning. So until you kill those 4 they won't spawn any more.
anyone use essentialsx? i just tried to give everyone the rulebook cause it didnt give them the kit on login is there a workaround without placing in everones name
Guys, I wanted to ask you something
I understand it's not specifically Spigot
but what's the difference between Paper and Waterfall?
Two completely different softwares, not at all associated with us
Ask in the appropriate place
Choco
I have two questions.
On my spigot server just updated to 1.16.1 flying machines lag so much. The server is good I could be running every farm at 20 tps still. But as soon as you turn on a flying machine it lags.
My other question is is my zombie piglin farm isn't as efficient as the one I have on my survival world. They are the same design with the same perimeter the only difference is one is on a server and one is on a private world. It will spawn like 4 at a time then stop spawning. So until you kill those 4 they won't spawn any more.
Any idea how to achieve that i can replace HEX Values (#xxxxxx) with colors?
ChatColor.of("#rrggbb")
So lets say i have a string in my config: "#00000Hello #ffffffthere"
And i want to replace all hex values from there
Mm idk if §xrrggbb works in translateColor whatever, but I read somewhere (in here I believe) that §x§r§r§g§g§b§b works lol
I mean you'd replace the § with & or the char of preference
can i set Colored signs on whit no plugin?
If you mess with the nbt, yes
If you mess with the nbt, yes
@frigid ember He said no plugin
You don't need aplugin for that
Ie. /setblock ~ ~ ~ minecraft:acacia_sign{Text1:'{"text":"Test","color":"#4D58FF"}'} replace
You can do NBT manipulation with just pure vanilla
I have a question about the Bukkit scheduler. What are the two longs in the bukkit scheduler?
Are there millisecounds?
Where are there two longs?
Specify
Bukkit.getScheduler().scheduleSyncRepeatingTask(Main.getPlugin(Main.class), new Runnable() {
@Override
public void run() {
}
----->}, 10, 10);<-----```
thanks
Mm idk if §xrrggbb works in translateColor whatever, but I read somewhere (in here I believe) that §x§r§r§g§g§b§b works lol
@frigid ember No, §x doesnt work
is there a way to get a Block instance from an itemstack?
the reason behind this is because I wanted to set some properties for a block when it is crafted
yeah I get that
the reason behind this is because I wanted to set some properties for a block when it is crafted
@boreal tiger Just set the properties for the item
I cant set it before it is placed it seems. unfortunately there isnt such thing as BeehiveMeta or something like that
Just listen to the BlockPlaceEvent, check the item in hand, etc...
@frigid ember No, §x doesnt work
@ashen dove well in the bungee chat API, the X prefix (whatever) got added
So rip
@boreal tiger if you're using 1.14.4+ you could just store it using the PersistentDataContainer on ItemStacks.
if not, it's not that complicated using nms.
right I might do that or make an item to click on the block I want, thanks 👍
Regarding Entity Data. I am able to successfully set an entity memory minecraft:angry_at with setMemory(MemoryKey.ANGRY_AT, player.getUniqueId()); but how would I go about setting the "amount of ticks until memory is removed" component of this memory?
From list of data values on mc-wiki:
memories:
-minecraft:angry_at
--value: UUID of the entity that the piglin targets, stored as four ints.
--ttl: The amount of ticks before this memory is removed.
dynmap 1.16 out yet?
Hey,
I'm making a plugin.My problem:
It says that a value in the config.yml is "0", but it's "3".
Also, this does not occur on my machine...
I really need a fix for that one... Now there is a second person that has this problem
is there anything between the start of your class and the entity holding the value 3?
is latest buildtools 1.16 or or do I have to write --rev 1.16.1?
is there anything between the start of your class and the entity holding the value 3?
What do you mean with that?
Thank you
Does anyone know world guard?
So the problem with item pickups... Its not ViaVersion... I removed it and ppl still reporting that they are unable to pickup items until they open chest
I have two questions.
On my spigot server just updated to 1.16.1 flying machines lag so much. The server is good I could be running every farm at 20 tps still. But as soon as you turn on a flying machine it lags.
My other question is is my zombie piglin farm isn't as efficient as the one I have on my survival world. They are the same design with the same perimeter the only difference is one is on a server and one is on a private world. It will spawn like 4 at a time then stop spawning. So until you kill those 4 they won't spawn any more.
Datapacks go in each world folder, do they also have to go into the nether and end dimension folders for them to work in those dimensions? I see each world has a datapack folder, but the dimensions do not.
Are you using a spigot fork?
@undone narwhal Nope. No error, no fork
What's the version?
if i rename any end world like defaultworld_the_end is that gonna be the end world that's configurable in the server config
or does spigot have to generate that end world
0
is max
lol
it's more of damage
than how much it has
yes?
oh prob it's mistaken with the other thingy
damageable
if itemmeta instanceof Damageable
yes
from 0
to whatever the max the item has
getType().getMax
store the ItemMeta in a variable, check if that ItemMeta is instanceof org.bukkit.inventory.meta.Damageable
If it is, cast it to org.bukkit.inventory.meta.Damageable then call the setDamage method on it to set the durability.
after that, set the ItemMeta back on to the item with setItemMeta
I am not sure
Doing it that way is not that complicated. Fr33styler even posted an image on how to do it.
Hello
I'm looking for some assistance here, I'm trying to develop a listener for when a player clicks their inventory
Basically what I want it to do is when a player clicks their inventory, it checks if they are wearing a specific set of armor, if they are wearing that armor, it will give them speed.
@nimble stump check this out
@SuppressWarnings("deprecation")
public void onClick(InventoryClickEvent e) {
HumanEntity p = e.getWhoClicked();
// A full leather speed set
if (
p.getInventory().getHelmet().getType() == Material.LEATHER_HELMET
&&
p.getInventory().getChestplate().getType() == Material.LEATHER_CHESTPLATE
&&
p.getInventory().getLeggings().getType() == Material.LEATHER_LEGGINGS
&&
p.getInventory().getBoots().getType() == Material.LEATHER_BOOTS
) {
p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 200, 1), true);
}
}
You need an @EventHandler
Lol
can't believe i forgot that LMAO
🙂
Let me check
Also
HumanEntity p = e.getWhoClicked();
do I have to use HumanEntity? back in 1.8.9 I would usually be using "Player"
It’s the “true” at the end
You don’t need to force it anymore since they can have multiple effects of the same type
Ohhhhhh, I see
So that boolean overload is deprecated
Also just a warning, that looks like if their click is removing one of the pieces of leather armor it will still give the effect
Yea, I was actually quite worried about that.
I'm not sure how to make it so that the effect is constantly given
I was thinking of making it so the effect is given every time a PlayerMoveEvent is activated, but wouldn't that lag the server if players are moving 24/7?
I mean it could, I suggest only editing the items if they don't contain the effect
Oh man, why is there no DoubleChest InventoryType 😦
There’s lots of different things you could do
You could do it in a runnable, you could check what they’re clicking
???
If they’re clicking the armor piece without holding another armor piece then remove the effect
damnit
@crimson sandal it’s just a chest with a larger number of slots
A chest inventory can have a multiple of 9 slots between 1 row and the full double chest
I know, I'm just trying to create a temporary Inventory and I was just creating an inventory using the size of the target inventory, but some inventories like hoppers etc are smaller than 9
Why don’t you just check the type then
Ahh yeah, custom inventories of different sizes are always the CHEST type then?
Yup
Nice
p.getInventory().getHelmet().getType()
I smell a null pointer exception from here
me too lol
I smell a null pointer exception from here
@subtle blade your senses are correct
The various armour-fetching methods return null if they don't have said armour piece
Also, please create a variable for player.getInventory() ;P
true
Also, the deprecation notice should be listened to for addPotionEffect()
That force boolean is unnecessary in 1.15.2
Yeah
still working it out. I usually play on 1.8.9 because that's the version a lot of the pvp servers are hosted on and I like to PVP
so I would usually work with spigot 1.8.9
Is there something new added in 1.16 that uses \n in items lores for something? If I add a string to the lore list that has \n it just removes it or something.
It happens when I use more than one \n or maybe not Idk. It's really confusing.
Je cherche un développeur Java minecraft compétent pour un plugin assez complexe sur un serveur Faction Commande urgente, les trolls veuillez vous abstenir svp, merci d'avance ! (french language)
English please
If you wish to request or offer development/art/building/administration services, please do so at https://www.spigotmc.org/forums/services-recruitment-v2.54/
What type of error/plugin would be causing a error like this "[15:26:01] [Server thread/ERROR]: No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:always_true"},output_state:{Properties:{age:"0"},Name:"minecraft:melon_stem"},input_predicate:{predicate_type:"minecraft:random_block_match",probability:0.1f,block:"minecraft:wheat"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:always_true"},output_state:{Properties:{age:"0"},Name:"minecraft:beetroots"},input_predicate:{predicate_type:"minecraft:random_block_match",probability:0.2f,block:"minecraft:wheat"}}]"
I slightly suspect dynmap but I'm not sure if that would be the case
that happens for me too, try to use --forceUpgrade to your world, if this not helps, try to re-generate your world
Entities aren't going through Nether Portal, what have I done wrong? They bounce off the portal and villagers just walk through each side and don't get teleported
Is there a way to have resource updates post in my discord server using webhooks of some sort?
is there a way to generate a world with higher ore spawn rates?
do you know a grade plugin in 1.16.1?
grade?
luckperms
it does not work on our server in 1.16.1, normal?
Luckperms works in 1.16.1
If the page says that it supports 1.16.1, then it is not normal and you should contact the developer
OK I try again I keep you posted
Otherwise, you have to wait. Anyway, running a production server on a newly released version is not a good idea
why isn't formatting in my motd working?
How do you do it?
\u00a76Gameplay \u00a7r-\u00a7b 1.16.1+\u00a7r\n\u00a7cYes, we dispense terrible medication
thanks @subtle blade for confirming
which long parameter in new BukkitRunnable(){}.runTaskTimer(plugin, long, long) is the cooldown between each run
thank you
Can anyone help me out with a crash report please?
If you send one, sure
If it’s to do with ender pearls and end gateways I swear to god lol
It's not 😂
There's like 5 other crash reports of the same thing, it happens whenever like 50 ppl try to join at once
if I downgrade back to 1.15.2 after players have played, will corrupted chunks form
if they've placed blocks
afaik you won't be able to load the world on 1.15.2 if you already upgraded, did you make a backup of the world?
if so you could try that
alright
Would anyone here happen to know which plugin (if any) is spitting this out?
27.06 21:30:10 [Server] Server thread/ERROR No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:always_true"},output_state:{Name:"minecraft:mossy_cobblestone"},input_predicate:{predicate_type:"minecraft:random_block_match",probability:0.1f,block:"minecraft:cobblestone"}}]
I would like to assume it's the Dynmap plugin, but I'm not certain.
Try temporarily removing Dynmap and see if it stays
Thank you for the response, I was intending poke around with that later when enough players log off.
For now, I was sorta hoping someone would know for certain.
I am two builds outdated for Spigot as well, so I thought that could be a potential cause. This will be updated at the same time as mentioned above.
Vanilla bug
Hey, I'm new to coding in Java and I get some errors with my custom plugin, could I PM someone to try solve my issue, please?
Ask here
The help channel exists to help people with that sort of thing.
was the "vanilla bug" directed toward me and https://hasteb.in/ogijaduk.kotlin ?
No, that was for Lue
Alright then. What I want to do: When wither is spawned, it sends the message to player(s) which are near the spawned wither
Current code:
public class WitherListener implements Listener {
@EventHandler
public void onCreateSpawn(CreatureSpawnEvent event) {
if (event.getEntity().getType() == EntityType.WITHER) {
Entity e = event.getEntity();
Location l = e.getLocation();
Entity e = e.getNearbyEntities(l, 10, 10, 10);
if (Entity(e) == EntityType.PLAYER) {
Player p = event.getEntity();
Bukkit.getPlayer(p).sendMessage("Wither will be despawned in 10 minutes");
}
}
}
}
I don't see any plugin in your crash report there, Acorn, so I'd direct it to the JIRA
?jira
Ah, I see. Yeah, md_5 mentioned here that it's a vanilla bug: https://hub.spigotmc.org/jira/browse/SPIGOT-5807
if (Entity(e)) ?
Thank you, Choco.
Oh. getNearbyEntities() returns a Collection<Entity>, not just a single Entity
You can loop over those entities and send each a message
^
Might be a ? extends Entity, but you get the idea

Mmh, will try to rewrite the last part to make it work, thank you
You're also declaring 2 local-scoped variables with the same name. Your IDE should be warning you about both of these things.
I often recommend naming your variables more fully. i.e. entity instead of e, or nearbyEntities
Heh. I suppose that's a good question too
Lol
Anyone know an online resource of all the EntityEffects sounds so I can listen and choose appropriate ones? 🙂
you can create one yourself
Yea I am using IDE
So, like I have Location l and Entity e I can change the l / e to whatever I want, right?
As in, you want to know what sounds are played when an EntityEffect is sent, james?
left click to switch right click to do something else with it like i dunno modifing the pitch
Yeah the names can be whatever, Nety, it's just better practice to name them something you could read more easily
Hey, could you make the announcements channel followable?
If you have yourself an a, b, c, e, you're going to eventually forget what they are and make the code a lot more unreadable
We can't get partnered or verified, b9n. Discord doesn't verify mod software
Yeah I just wanted to listen to them all individually, I suppose I could easily make one myself 😄
smh they're losers, ty anyway :)
You can look at what each entity effect does on the protocol, james
there are however cases where you can one char name stuff
@subtle blade any known reason console is spamming "Netty Epoll Server IO #2/ERROR java.lang.NullPointerException" every now and then since 1.16?
Gonna need a bit more than that
Ohh I just realised it's probably all the "Sound"s I want to listen too
