#help-archived
1 messages · Page 143 of 1
eh..
--forceUpgrade only need for upgrade from old ver to new ver
Normally I would use the vanilla client to upgrade it, and then upload the world to the server. But, my rubbish upload speed would make that rather difficult with a 40GB world folder.
40GB!!?!?!!?
set a bigger heap size may increease the speed
minecraft's word is infnity
That's almost the size of GTA
so it can be 100GB or larger
it can be larger
at the old version the size is 3M x 3M
2B2T's world is TB's
now it's infinity
I updated to 1.16.1, but when i start my server, when it loads all the plugins, the server just shut down's. Is there a fix for that?
?paste
use -forceUpgrade
paste them here
i think it's chunk issue
i did forceupgrade
Any errors?
how do i send it? i can't just upload notepad file here
?paste
If you wanna upload files you can ?verify
Thanks again for all the help and continued support, development etc of spigot. md_5
However I would advise against that
copy all your log, paste into the website, save it, and send us your link
i think AuthMe hook into EssentialsX failed
53:34] [Server thread/INFO]: [AntiVPN] Enabling AntiVPN v5.11.37
[12:53:35] [Server thread/INFO]: [AntiVPN] [m{c.z.h.HikariDataSource} AntiVPN-SQLite - Starting...[m
[12:53:35] [Server thread/INFO]: [AntiVPN] [m{c.z.h.HikariDataSource} AntiVPN-SQLite - Start completed.[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m Plan [0;33;1mwas not found. Support for it has been disabled.[0;37;1m[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m PlaceholderAPI [0;33;1mwas not found. Support for it has been disabled.[0;37;1m[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m [0;32;1mEnabled[0;37;1m[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m [0;33;1m[[0;37;1m[0;36;1mVersion[0;37;1m 5.11.37[0;33;1m] [[0;37;1m2 [0;33;22mCommands[0;37;1m[0;33;1m] [[0;37;1m3 [0;34;1mEvents[0;37;1m[0;33;1m] [[0;37;1m0 [0;37;22mTasks[0;37;1m[0;33;1m][0;37;1m[m
[12:53:36] [Server thread/INFO]: [AntiCurse] Enabling AntiCurse v3.2.1
Hi, I use G-portal for my own server, I tried to update it to 1.16 but Spigot has no 1.16 version on G-portal available. Could someone help me because I also want Datapacks installed and the normal Minecraft has no datapack folder. ??
i am using spigot
Your server version is not compatible with this plugins version! Plugin will be disabled: v1_16 and server will shutdown[m
Hello, I don't know anything about coding, so i need my server to restart after stopping and the plugin that restarts the server uses command /restart, but it doesn't work https://pastebin.com/kvuLGub1
53:34] [Server thread/INFO]: [AntiVPN] Enabling AntiVPN v5.11.37
[12:53:35] [Server thread/INFO]: [AntiVPN] [m{c.z.h.HikariDataSource} AntiVPN-SQLite - Starting...[m
[12:53:35] [Server thread/INFO]: [AntiVPN] [m{c.z.h.HikariDataSource} AntiVPN-SQLite - Start completed.[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m Plan [0;33;1mwas not found. Support for it has been disabled.[0;37;1m[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m PlaceholderAPI [0;33;1mwas not found. Support for it has been disabled.[0;37;1m[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m [0;32;1mEnabled[0;37;1m[m
[12:53:36] [Server thread/INFO]: [0;37;1m[0;33;1m[[0;37;1m[0;36;1mAnti-VPN[0;37;1m[0;33;1m][0;37;1m [0;33;1m[[0;37;1m[0;36;1mVersion[0;37;1m 5.11.37[0;33;1m] [[0;37;1m2 [0;33;22mCommands[0;37;1m[0;33;1m] [[0;37;1m3 [0;34;1mEvents[0;37;1m[0;33;1m] [[0;37;1m0 [0;37;22mTasks[0;37;1m[0;33;1m][0;37;1m[m
[12:53:36] [Server thread/INFO]: [AntiCurse] Enabling AntiCurse v3.2.1
@proper wolf It doesn't an error
Hello, I don't know anything about coding, so i need my server to restart after stopping and the plugin that restarts the server uses command /restart, but it doesn't work https://pastebin.com/kvuLGub1
@mental sleet Spigot has restart command
EssentialsX also isn't enabled
[12:53:37] [Server thread/ERROR]: Error occurred while enabling Essentials v2.17.2.12 (Is it up to date?)
java.lang.NullPointerException: null
at net.ess3.providers.ProviderFactory.getProvider(ProviderFactory.java:25) ~[?:?]
at com.earth2me.essentials.Essentials.onEnable(Essentials.java:249) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[paper.jar:git-Spigot-758abbe-2b00831]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[paper.jar:git-Spigot-758abbe-2b00831]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[paper.jar:git-Spigot-758abbe-2b00831]
at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:488) ~[paper.jar:git-Spigot-758abbe-2b00831]
at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:402) ~[paper.jar:git-Spigot-758abbe-2b00831]
at net.minecraft.server.v1_16_R1.MinecraftServer.loadWorld(MinecraftServer.java:436) ~[paper.jar:git-Spigot-758abbe-2b00831]
at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:219) ~[paper.jar:git-Spigot-758abbe-2b00831]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:808) ~[paper.jar:git-Spigot-758abbe-2b00831]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[paper.jar:git-Spigot-758abbe-2b00831]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
tbh the restart command sucks
@proper wolf i see it, thanks
What does it mean? xD
while true; do java -jar spigot.jar; sleep 1; done; + /stop is much better
if i wanted to use the hex colors, do i need to shade the bungee api?
[paper.jar:git-Spigot-758abbe-2b00831]
use spigot
no, spigot includes the bungee api
at the end of the day
alright great
not paper
does paper have 1.16.1
I don't think so
not yet
either way, this isnt the place to ask about paper 😉
I don't understand anything what you just said xD, i don't understand coding
i don't see any paper lol
Hi, I use G-portal for my own server, I tried to update it to 1.16 but Spigot has no 1.16 version on G-portal available. Could someone help me because I also want Datapacks installed and the normal Minecraft has no datapack folder. ??
How
while true; do java -jar spigot.jar; sleep 1; done; + /stop is much better
[paper.jar:git-Spigot-758abbe-2b00831]@brave vector
And where? xD
But there's not a 1.16 version of essentials?
starup .bat or .sh
@frigid ember Is not available
Yes there is @torn elk
Thanks again @proper wolf
oh damn
@frigid ember Thx
With the new Spigot version 1.16.1 there are a few problems. The plugin runs on the 1.15. Are there reasons for the bugged chat.
Is this normal
what would be the best way to filter out hex from a string? eg: "this is a hex string #fffffff" regex ig?
hex color has more color than ChatColor has
u dont say
So I need to paste this: -jar spigot.jar; sleep 1; done; + /stop to the run.bat file?
if you use linux
I use windows
if you not use this https://www.spigotmc.org/threads/restart-script.369436/
But after some time we will use Ubunto
Yeah, I spelled it wrong xD
so
java -Xmx5G -Xms5G -jar spigot.jar; sleep 1; done;
And where are the RAM gbs?
@frigid ember yeah it should never take that long
what is your hardware
please dont say raspberry pi
Ok, thx
if all else fails just try again till it works kappa
Is the chat bugged when I use a 1.15 plugin in the 1.16??
it shouldnt be
Try using a vanilla client
java -Xmx5G -Xms5G -jar spigot.jar; sleep 1; done;
didn't work, it didn't do anything actually It didn't even open the CMD
:start
java -Xmx5G -Xms5G -jar spigot.jar nogui;
timeout 10
goto start```
ok, i'll try
Is it allowed to publicly upload Spigot jars?
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
wouldn't trust getbukkit
They are well known for malware.
well i fork Spigot
It worked!!! I Can't thank u enough dude, thx a Lot!
Is there a real problem between md_5 and Paper? Or are you joking?
hi, nms isn't showing up in my spigot project with maven. i found this: https://www.spigotmc.org/threads/net-minecraft-not-present-in-spigot-1-12-2.354048/. but when i replace spigot-api withspigot i just get an error
well i think we shouldn't talk about this inhere
just says dependency not found
spigot repo doesn't have spigot jar (only spigot-api) you muse use buildtools
Paper is for Paper <
so can't use nms with maven?
Spigot is Spigot <
yes you can
but you must build
spigot using buildtools
it will add spigot into your local maven repo
mvn install
--forceUpgrade where do I add this arguement? Into my run.bat file which is what I use to launch the server?
little bit of racism on the play spigot server i see.
before nogui rubus8
.jar --forceUpgrade nogui
So I still don't understand how exactly Chat hex Colours are used.
I use ChatColor.()
I figuredit out!
is the new release safe to use in prod?
should backup first
I meant stable for a large server
dont think NMS is needed
not updated yet
Hi, I'm trying to import the repository but it keeps giving me a 403 error? Anyone else had issues with this
?paste
Import what?
I was using ivy which iirc should work?
You’re using java something on your pc but java 8 on mcph
Would anyone know a rank on kills plugin i have looked for 2 days ??
You need to set your pc to compile to java 8
i have java 8 update 241
set path variable to java 8
Is residence plugin available for 1.16.1?
Wait I fixed it I was being really stupid and did ".../SNAPSHOT/..." instead of "...-SNAPSHOT/..."
Would anyone know a rank on kills plugin i have looked for 2 days ??
set path variable to java 8
how?
I’ve been MIA for a month or so what’s the deal with the 1.16 API, is it out yet to update my plugins? 🙂
Would anyone know a rank on kills plugin i have looked for 2 days ??
is there any event i can rely on to be called for when the server is abruptly stopped
lol no
it just gets killed from the very root
you can detect it tho
by writing a file
yeah i don't know what i'm saying
and deleting it when propely stoped
yeah
so if the server starts and the file data exists you can at least know
oh
Someone pls help, I just updated my server to 1.16.1 when I start It with my worlds and plugins from 1.15.2 it says "stopping server"
You want pic
Ok wait
Just built 1.16.1 fine and 1.15.2 so no issue here
@frigid ember https://pastebin.com/nzDmWJzp
do you want it on md_5;s
do i need do delete them
yes
no i doesnt
Will spigot 1.16.1 automatically update my server
i only downloaded the lastest version of spigot server
software and run it on my folder
I have a spigot server, and I've seen that spigot 1.16.1 is out, but the server is still on 1.15.2 , will it update to 1.16.1 later, or do you have to do it manually
You still need to download the 1.16.1 to update it
yes
https://prnt.sc/t68wh9 Does anyone know, how to fix this? Because the Objective lobby is just in the lobby but it happens if I want to connect to Survival, and this Objective name is different
namespace conventions for plugins. is there a specific namespace i should use or do i just use a random one or what?
i want all player data and buildings @frigid ember
ok
does anyone know how to have a server 1.13 to 1.16.1
Does anybody know how often does https://github.com/SpigotMC/XenforoResourceManagerAPI fetch data from the spigot site?
6 hours iirc
oh :(
I guess I will need to wait for 6 hours to test..
Thanks Choco
@hollow crystal Look up ViaVersion
link?
yo does anyone know how to use unicode emojiis in 1.16? i tried to paste \😄 but it just gives me a box
Does anybody know how often does https://github.com/SpigotMC/XenforoResourceManagerAPI fetch data from the spigot site?
@fossil shoal its cached for 6 hours
@fossil shoal its cached for 6 hours
thanks
https://prnt.sc/t68wh9 Does anyone know, how to fix this? Because the Objective lobby is just in the lobby but it happens if I want to connect to Survival, and this Objective name is different
i know but no one can play
Hey,
I want to get the advancement title and description in my spigot plugin but I don't have see anything like that in advancement class. So how I can get it data ?
when i start my .bat file both the java client and the cmd client show up
how to check if something in an hashmap is broken before?
so a block
enumset*
by an hashmap
The only way I'd know is storing what has been broken then checking when you need.
nope do i just add it at the end or a certain point in the code
someone help me how upgdate minecraft to 1.16.1 ? cause mine is on 1.16 yet how i will play on 1.16.1 server ?
click on installations and on the plus and then select newest
if i update a world from a normal server to spigot will that reset my nether/end
Anybody knows SilkSpawners? I think it has been disabled in one of my servers worlds. How can I get it functioning again?
Tag me if you can!
click on installations and on the plus and then select newest
@hard crane
ty for feedback it not works, i will re-install launcher from mojang website ty ¬¬
reinstalled and works now. its on 1.16.1
Is Citizens out for 1.16
Everytime someone trows an enderpreal trough the end gateway the server crashes
Anybody knows SilkSpawners? I think it has been disabled in one of my servers worlds. How can I get it functioning again?
How would I cancel an event if the blocks in an enumset get broken for a second time
if (player.hasPermission("OreGilde.use")) {
oresMined.put(player.getUniqueId(),oresMined.containsKey(player.getUniqueId()) ? oresMined.get(player.getUniqueId())+1 : 1);
ThreadLocalRandom random = ThreadLocalRandom.current();
final int chance = random.nextInt(101);
if (oresMined.get(player.getUniqueId()) >= 1000) {
if (chance >= 0 && chance <=80) {
//do nothing
} else if (chance >= 81 && chance <=96) {
event.getPlayer().getWorld().dropItemNaturally(event.getBlock().getLocation(), new ItemStack(event.getBlock().getType(), 1, event.getBlock().getData()));
} else if (chance >= 97 && chance <=100) {
event.getPlayer().getWorld().dropItemNaturally(event.getBlock().getLocation(), new ItemStack(event.getBlock().getType(), 2, event.getBlock().getData()));
}
}```
This code should run for the first time breaking the ore
just each ore
but he shouldnt be able to place it again after he might get 1 extra and than break it again so 1 will be added to the hash
private final EnumSet<Material> typesores = EnumSet.of(Material.DIAMOND_ORE, Material.EMERALD_ORE, Material.GOLD_ORE, Material.IRON_ORE, Material.COAL_ORE, Material.REDSTONE_ORE, Material.GLOWING_REDSTONE_ORE, Material.LAPIS_ORE);```
enumset for ores
Ill use e.setCancelled(true);
but what should be in the if statement and should I make a new hashmap to save all broken ores cause that would be a large map
Hello, i am new working with a MC server ... i got a 1.16 server and i could really do with some help on usermanagement. I got no plugins installed yet because i don't know wich one to use or how to use them. The only thing i know is that my friends that join the server can't break blocks .... yes i am noob 👍 .... would realy appreciate it if someome would help me out ... just DM me
spawnprotection
It's in server.properties
first i had 1.15 serve and i tried that but that didn't work the only thing working was Op the players
yes
server.properties
in file manager
can't really be anything else since you have 0 plugins installed
Set it to 0 or -1 as Lazinq says then restart the server
^
so protected spawn size 0 or -1?
Yes
or does it have anything to do with whitelisting players?
Nope
ok
thats giving people access to join the server if whitelist is enabled
ok
restarting now ... can you please check for me? can i give you the serveradress in DM
ok
ok i will do that, thx for the help
would be a large map xd
But you already seem to have a map tho why not use that?
how can you flip a stair upside down? (without using org.bukkit.material.Stairs since it´s deprecated)
but @mellow wave how would I remove the ore out of the hashmap when its broken for the 2nd time?
well I mean
not let it store it for the 2nd time
but how do I flip it?
Can someone help me to set path variable to java 8?
@subtle blade ?
@hardy cedar what ide are you using?
@mellow wave but I would have to check if like if it is in the hashmap event.setCancelled right?
yes
ok ty
@hardy cedar what ide are you using?
@mellow wave eclipse
Build path
on ur project
are there docs for making plugins?
Add libraries
and than uhmmm
If you're talking about javadocs then here they are: https://hub.spigotmc.org/javadocs/spigot/overview-summary.html @frigid ember
JRE System Library @hardy cedar
What's the best way to diff between the javadocs of each api version?
thanks @mellow wave
Hey I have a problem. I have a lobby that is in the air, y= 69. But, when I setworldspawn in there and someone joins or goes to the hub, they spawn at the same coordenates, but in the floor, so in y=11. Does anyone know how to solve this? Thanks
does someone knows where/how to get the 1.16 api?
?1.16
Spigot and BungeeCord 1.16.1 are now available. Please see https://www.spigotmc.org/threads/447405/ for more information.
Reminder that BuildTools is the only supported means of obtaining the Spigot server jar.
Same as it has been since 1.8
Thanks
Ah and the floor is made by barriers, because there isn't anything below it+
Hey I have a problem. I have a lobby that is in the air, y= 69. But, when I setworldspawn in there and someone joins or goes to the hub, they spawn at the same coordenates, but in the floor, so in y=11. Does anyone know how to solve this? Thanks
@lean fiber
multiverse-core?
@frigid ember yeah
mv setspawn per world
oh ok
so in ur lobby do mv setspawn
@frigid ember
Hi there, whenever I'm trying to import a void world or create a void world with Multiverse, my server crashes... Does anyone know what this is about?
ahmed
follow the steps
Build path
on ur project
Add libraries
JRE System Library
than choose what you want
so in ur lobby do mv setspawn
@frigid ember Thank you so much, it works
no problem
Well, I have a small problem too XD
tell me
Hey, someone knows how to use the rgb support in plugins?
Can't find any infos
When I am in the lobby, the kit selector from my kitpvp world (the chest) is in the hotbar too. Any ideas on how to remove it from there?
you shouldnt use mv for kinda bungeecord
unless its a really small server
but you can do it ofc
Which plugin do you use for the selector
it has to support per-world
Well, for the kit selector?
Which plugin do you use for the selector
@frigid ember
I use the kitpvp plugin
ok
no problem
and I shouldn't use mv for this?
Well
you could ofc
but having multiple worlds as servers
won't handle too many players
Oh ok
99% of servers won't get too many players
^
Unless its a hub and kitpvp
doesnt really matter
and some gb
but if you have multiple worlds like 4-5 as gamemodes
on 1 server
it will be very laggy/crash
I have 10 on 1 server
and how many players on?
on a day
with mv?
I have 10 on 1 server
@frigid ember
yes probably
partially mv, but I've made my own world manager for reset purposes
my record is 18 online, I get up to 8 online a day usually
but I've tested it to work well with 30 online bots
at the same time 18 players online at different worlds
wont do very good
xd
how many RAM
only teleportation lag there is xd
2.5gb ram
or how much
so I should find another world manager? or another plugin?
I am pretty new at this
no
Bearchef multiverse is for multiple worlds
it's a network, any laggier gamemode I put on a different server, these 10 are pretty lightweight
if you want to make a big network you should use BungeeCord which allows you to
add servers to each other
like
if you're making minigames only, they can fit in one same server pretty well as long as there aren't too many players / the gamemodes aren't too cpu intensive
but when it comes to creative/survival, better to separate them
You have a bungeecord as server, hub as server, gamemode 1 as server, 2 and so on and you link the servers together
Hi there, whenever I try to load some sort of void world to my server (through Multiverse or just in general) my server crashes and I'm getting bucketloads of Failed to schedule load callback for chunk errors... Does anyone know how to fix this?
You have a bungeecord as server, hub as server, gamemode 1 as server, 2 and so on and you link the servers together
@frigid ember I see
but if you want to do it with friends and a small server with a couple of worlds as gamemodes you dont need bungeecord
cuz it isnt too cheap
Hello! Is there a plugin that can/or is similar to my idea, of being able to reward players after they invited a friend to the server and that person acctually joins? @ me thank you very much in advance!
how would the server know the person invited the other player @unreal jackal :p
just saying those systems aren't very effective in minecraft community ^
but if you want to do it with friends and a small server with a couple of worlds as gamemodes you dont need bungeecord
@frigid ember and if I want to change it, is it very annoying? I mean, if I test my server without bungeecord to see how it goes and if it works, could I add bungeecord after that, or it doesn't work like that?
yes
it is very annoying, took me half year to solve basic problems, then year to solve things properly
a switch from single server to bungee ^
if you get all the plugins to the right server
oh god
you can add bungeecord at any point. It's just something that connects your servers together
if you make everything with bungee in mind, then sure
other way you'll need to rethink your data structure and all
how will players send private messages to each other, how data will be shared between servers, etc.
Well, I didn't think about making everything with bungee in mind, so I have a problem
But, if it is possible, I will try
store as much data as you can in mysql
Its not too difficult
unless it's only useful for that single server
Ok
Download your server using filezilla
mysql is easy for bungeecord support
than upload the plugins to the right servers which were first per world
and it shouldn't mess up any maps or others right?
no problem:D
If you don't use anything from the latest API you should just build for the earliest API that will still build for your plugin right? So say I dont use anything added in the 1.5 or 1.6 API I should build for 1.4 so my plugin maintains compatibility from 1.4
Generally, main plugin updates looking good. Before I start plugin-by-plugin isolation, does anyone know what causes 'No key position_predicate in MapLike' ?
in my 1.16.1 server attribute modifiers on items don't work as they should
opening your inventory will essentially delete the attribute modifier
only happens on the spigot server however
@crimson sandal yes but it's preferred to use separate modules if your gonna support older versions
But if you don't know use the oldest version you intend to support
anyone know how to fix these weird lighting issues? It happened when pasting a schematic with worldedit.
//fixlighting
I get an error when doing that.
But if you don't know use the oldest version you intend to support
@neat oxide If my codebase is exactly the same what would be the point in creating separate modules?
Hi there, whenever I try to load some sort of void world to my server (through Multiverse or just in general) my server crashes and I'm getting bucketloads of Failed to schedule load callback for chunk errors... Does anyone know how to fix this?
@crimson sandal it enables you to make a primary structure and in the modules you can add version depending code it would also allow you to add certain futures 0er version
@river cradle seems the devs screwed up contact them
You mean through creating an issue somewhere?
I get an error when doing //fixlighting
https://paste.helpch.at/ukekuwihiy.apache
Quick question, I'm trying to run essentialsX on a 1.16.1 spigot server and it keeps saying "an internal error occurred while attempting to perform this command". Not sure if this is just that essentials hasn't updated yet (which makes the most sense) or if it is something else. I hope it's something else because I'd love to update my sever for my friends.
hello, does spigot not have a built in anti xray anymore? i cant seem to find it in the spigot.yml
isnt that only paper?
@frigid ember same way voting knows a player voted and checks if the person is online or not
Thats a lot different
It would have to analyse how the player invited the other player
Via WhatsApp?
Via discord?
In real life?
not sure if a plugin exists, however creating one isn't all that hard
submits a invite, server will try to confirm it if the person is online
essentially what you would do is generate some kind of id for every player that can be used for those that are invited
i found a plugin thats relative to my question "INVITE | Referral system to get more players"
in this manner you only have to check the id given to know which player to reward regardless of how they were invited
Does anyone know why bungee cord placeholders to show how many players are on a server don’t work?
Hello!
I'm looking to buy a plugin, but we are using skirll to complete the ranslaction. If I include my name in the translations description, can the plugins owner give my account acess to the plugin?
I've just updated my minecraft server from vanilla 1.16.1 to spigot 1.16.1, and emm, using the end gateway to go to the end city makes my game to crash
crash report:
damm, I cant share the crash report
They can manually give access, but if you're not paying with PayPal through Spigot, that's all down to you talking to the developer.
All right, thanks! Let me send the money!
Make sure you've talked to the developer, not just randomly sending them money.
How do you understand what each method in NMS does?
Trawling over hours of obfuscated code.
;-;
NMS isn't made to be commonly used for plugins, so it might take a while, depends what you're doing.
how do i add extra fonts to spigot 1.16.1 since i want to add emojis
I have published a package to github packages, it shows me what the maven dependency would look like, but what would the repository be?
I tried https://github.com/username/projectname/packages/ but it doesn't seem to work..
(Please ping me if you answer, so I will see it later)
ive heard it was possible to add ttf fonts but how do i do that?
Hello! i can't seem to be able to recursively delete worlds - world folders in 1.16.1, Are all external worlds now counted as vanilla worlds? 🤔
I'm getting a Security exception, which is supposed to happen only when deleting vanilla worlds (yes there are no players in the world)
Is the default zombie health 20.0?
yes
Perfect
looks like YamlConfiguration.saveToString can fail if the config containers ItemStack such as Writable_Book with encoded data.
what is a good sleep plugin that works with 1.16?
I did ☝️
Is there a recommended way to store an ItemStack into a database?
Anyone know why the biome in f3 differs from the biome from world.getBiome(x,z)?
I assume this isnt intended behaviour?
If you are in the nether, biomes are now 3d, so that should need a y as a var now
Thats not it either
because f3 only differs on some blocks from getBiome()
other blocks from the same biome get the correct results
I'm having villager biome problems as well
setBiome isn't working correctly either, but it was thought to be fixed on spigot Jira, so i made a comment telling it isnt
but it wasnt known that getBiome doenst work properly either
Could anyone help me get the biome via NMS for testing purposes?
I want to make sure the problem is getBiome and not the f3
stop that
Have patience
What is it you want to change
You need to be patient, everyone who helps out at spigot does it for free and on their own time
is the 1.16 spigot out for virtual gladiators?
Don't know what that is
oh
If it's a plugin, ask them instead. We do not maintain all plugins on the platform
Then ask them
Soo... it's a fork...
This is Spigot. We have no knowledge of what a fork does. They're separate from us
oh sorry
It's a host
so is spigot 1.16 out then?
Yes
oh awesome
Yes
You can build it with buildtools and upload the jar manually
player.getAttribute(Attribute.GENERIC_ATTACK_SPEED) is... null?
wasnt in 1.15 unless im doing something dumb?
Thread got closed for a very valid problem lol
These mods don't know what they're doing. Some of them, anyway.
https://hub.spigotmc.org/jira/browse/SPIGOT-5815 <- very valid issue.
Well having a crappy code day.
Choco, can you help me with a bug?
@subtle blade just ran buildotols again, no update wait time, and its still not fixed :/
Confirm you're on the latest version because:
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/f42d62fb1801c4253c1b697f30ef613d3e3b3dfd
If you are, likely still a bug
but still 10 versions behind!
oh i see
Did you actually properly update your server? ;P
buildtools built 1.15 not 1.16 :P
That'd do it!
No. I meant to make sure you copied over the jar lol. Some people run BuildTools and think their server magically updated
Gotta cover all levels of stupid, just in case!
im insulted you would assume that of me 🥺
@subtle blade Are you a mod here?
If so, take a look at this post for me - https://hub.spigotmc.org/jira/browse/SPIGOT-5815
this question should not have been closed
ah ok
Well, given you know your stuff regardless, can you take a look at that
Because that should not have been marked as closed. My issue is definitely a bug with spigot/bukkit
(i am a mod lol - just not on the jira)
ah
YamlConfiguration.saveToString() doesn't work in all cases.
This almost seems to me like a logic error somewhere. Commodore doesn't affect villager type
It's specifically failing on ItemStacks that contain books that have a lot of data.
They were not changed between 1.16 and the most recent version
This is occuring on 1.15.2
Just thought someone should know since the API has a function that relys on SnakeYAML that can fail.
In this case, in my plugin, since I'm using, its causing an exploit.
@subtle blade Like I said its not a logic error. It seems like that at the surface level, but I can assure you its not that. I inject Enum types into my constructor (for that same object actually, such as Material) and it works fine. The issue is only with the Type enum.
So, I'd suggest not using YamlConfiguration to convert ItemStacks to be stored in databases.
Perhaps this was an existing issue.
I'm trying to teleport a player on the PlayerRespawnEvent but I can't get it working. The same code works with the PlayerJoinEvent.
@EventHandler
public void onRespawn(PlayerRespawnEvent event) {
if(plugin.getConfig().getBoolean("spawn.tp_on_respawn")) {
Log.info("test");
Player player = event.getPlayer();
player.sendMessage("Test");
SpawnCMD.sendToSpawn(player);
}
}
did you look at that javadocs at all??
I'm gonna go with no because this is a thing that exists
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerRespawnEvent.html#setRespawnLocation-org.bukkit.Location-
@rapid folio look at the javadocs
Else just do it explicitly with teleport?
Okay there is setRespawnLocation but why can't I teleport the player manual
Hmm I mean try delay a task?
I have no idea what SpawnCMD.sendToSpawn is.
^
Sup
Okay there is setRespawnLocation but why can't I teleport the player manual
Because you're teleporting then the event is teleporting it
Use the event
But its not. This is simple object insantiation
There's a reason setRespawnLocation() exists, you should be using it
I have no idea what SpawnCMD.sendToSpawn is.
@inland oxide
public static void sendToSpawn(Player player) {
double posX = plugin.getConfig().getDouble("spawn.x");
double posY = plugin.getConfig().getDouble("spawn.y");
double posZ = plugin.getConfig().getDouble("spawn.z");
Location loc = new Location(player.getWorld(), posX, posY, posZ);
player.teleport(loc);
player.setFallDistance(0F);
}
click on the pastebin
conclure, click on the pastebin
instead of just what I posted in the c ode. It looks like a logic error, but its not
There's a reason setRespawnLocation() exists, you should be using it
@subtle blade alright
so uhh guys i noticed the 1.16 build is missing chat colors on the console log, at least on windows, all except for one message from protocollib... like cyan shows up as ºb
Is there a sure-fire way to check if the current thread is sync or not?
I need to return a Future<Long> in my currency plugin, which checks the player's inventory for money.
OK, I'll ask once again, hopefully someone will know
What is best way to serialize and put an ItemStack into a database?
(and if I were to use BukkitScheduer.callSyncMethod on a sync thread, it'd cause a deadlock)
@inland oxide get the long ass string you would store in a file, but instead paste it into database
as a string
Itemstacks are serializable by default
@inland oxide I have given up on that, even the string deletes a bunch of information
@inland oxide explain more
What specifically do you want in the ItemStack to be stored
Everything?
So uh I ran 1509 and the scoreboard is good now but the Bossbar now displays on other servers its not on
The method that I have been using, is to take the ItemStack and set it into a new YamlConfiguration object, then to use the saveToString() method from that to create a String
Then I would convert the String to a byte[]
afaik that deletes all custom NBT
How can I tp to a cord without z? What command?
and store as a Blob
nah there's an easier way @inland oxide
but its not working in rare cases.
ItemStack.serialize() boom
Right, well, guess I got bad advice when I first implemented this
@neat orbit like /tp 12213 56 ~
@graceful silo that deletes a bunch of information from the ItemStack
...u tell me this now ._.
If you are not working with NBT etc. it should be fine
I am sometimes.
so NBT stuff like book pages & custom head data doesn't store in serialized string?
Same, I am using NBT too and I've just given up on it
yes colin
@graceful silo Custom NBT
does anyone know how to make customEnchanments
@graceful silo It seralises Vanilla NBT (usually) but not any stuff you add yourself.
Nbt stuff should be serialized by the CraftItem
colink
oh damn
NBT Stuff like Book Pages are failing on saveToString() because of the data.
If not that is an oversight
thanks good to know :I
did you want something special with it
does anyone know how to make customEnchanments
does anyone know how to make customEnchanment
Stop spamming
@rotund hemlock Impossible, you have to hack around it.
So, they are using a hacked client to make a writable_book and when I try to save to database, it causes dup exploit.
@tall crystal yes
because I made the assumption that serialization would never fail.
@rotund hemlock Usually what plugins do is they add a custom lore, but it's a bunch of work to make sure it stays etc. in an anvil
using a bukkit method.
@neat orbit oh sorry what did you want I think I missed it because thats the command
for a standard MC object like an ItemStack
@potent creek i want to make a custom recipe what has custom enchant on
Oh okay, I just wanted to teleport to a cord with a command.
hello
pretty sure spigot has enchantment api but ive never used it so idk how expansive it is
oh ok
or how much it lets u change
How can I make a new post on the fourm
@rotund hemlock Go for it then, you can register your own enchants but the client won't see them. You need to add a custom Lore to them, and make sure the item never loses that Lore.
?
I do it
there's a orange button in the forum that says new post or something
i dont want players to see the enchantment
it's big and orange cant miss it
@graceful silo The enchant system in spigot is super incomplete, there is no way to make a true Vanilla-like enchant. There is no way to make an enchant that the client can see either, since the client needs to register the enchant for that to work.
where leo
ohhhh so custom enchants are impossible server-side?
50/50
no 100%
You can register enchants and add listeners to act on them
I have already account
sorry LOL its not orange its blue
but you can't make the enchant table work like vanilla
and you need to use a lore to make the enchant visible
(which also means it doesn't localise)
ohhhhh
and of course stuff like using an anvil will delete the lore, so you need to add it again
I want to make life steal enchantment
@rotund hemlock You have to look around
on&
yo
but it didnt work
can anybody tell me the difference between paper and normal spigot?
@rotund hemlock Help us help you.
@slate dust craftpaper is a fork of craftspigot
Spigot is an API, not a server
oh ty
so what are the downsides of ItemStack.serialize()?
Craftspigot and craftpaper both implement the Spigot API
i am big dumb dumb stoopid
just losing custom nbt?
@inland oxide Custom NBT data gets lost
So I believe I've found a odd bug with the latest Spigot, nether portals don't have the same behaviour as previous :monkahmmm:
and still have to convert from Map to String?
map to string? ;-; why
Serialiastion is a mess
returns Map<String,Object>
@fleet crane Sorry for the @, but this issue needs some review. The issue I raised here: https://hub.spigotmc.org/jira/browse/SPIGOT-5815
is not a code problem. This is simple object instantiation. It looks like its a logic problem, but it is not.
well that description doesn't really cut the mustard if you want some feedback
@frigid ember "I know how to code bruh" LOL
yea, Black Hole closed the thread with a very assumptive statement
"declare an api version" - yeah, because I haven't been doing that?
I realize they are flooded with a bunch of garbage threads every day. I totally get it. With that said, this is a real issue that should be taken seriously.
tbh it looks like a plugin dependent issue tho with nationsatwar
it looks like that
But trust me
Its not. Click in the pastebin & you will see the simple object instantiation where this fails.
Hello, I have problem migrating spigot, is this the right channel?
yes migrating to 1.16.1
@waxen ridge is it a problem with spigot itself or a plugin
I think it's spigot itself
@inland oxide @graceful silo https://paste.md-5.net/utodeqemah.java line 99. I print the value at line 100. The value is null.
shoot
I was using spigot 1.15.2 before -> migrated to vanilla 1.16.1 because players were impatient -> then I migrated back to 1.16.1 today
all I did was keeping the DIM-1 folder when I move 1.15.2 spigot to vanilla
The object is instantiated here: Nation gaul = new Nation("gaul", Color.GREEN, 10, ChatColor.DARK_GREEN, Material.GREEN_WOOL, org.bukkit.ChatColor.DARK_GREEN, Statics.NORTH, Type.SWAMP);
Notice... Type.SWAMP
@waxen ridge Worlds are split in spigot
Just gets set to null during instantiation
when spigot released, I removed the "nether" and "the-end" folder, let spigot regenrate, and move back my original DIM to those folders
try changing it to
System.out.println(biomeType.toString())
not sure it would fix ur problem but it's what i'd try next
it all works except there's no new entities in my nether now
nah that will just throw a null pointer
maklegend - not heard that name for years
no magma cube, no piglin
also is there a reason ur using System.out and not bukkit's logger?
the biomes are still there though
cuz leo, I'm just tracking it temporarily
nah that will just throw a null pointer
@frigid ember ur right actually
I'm trying to make a small and simple vein miner and I'm getting close, when I want to call this method until all the blocks around are air and it to stop I'll get a stackoverflow error is there a way to prevent that or mmake it easier for the server to handle? Here is what I have so far https://pastebin.com/GWPaEBGr
where is the code for the constructor?
Right here Kluge
Nation gaul = new Nation("gaul", Color.GREEN, 10, ChatColor.DARK_GREEN, Material.GREEN_WOOL, org.bukkit.ChatColor.DARK_GREEN, Statics.NORTH, Type.SWAMP);
did I do something wrong when migrating
@inland oxide this is the object's constructor: https://paste.md-5.net/utodeqemah.java l
no, i mean the actual method that constructs in the Nation class
@wheat summit what line is the stackoverflow on?
@waxen ridge hmm thats odd, might be a matter of giving them more time to spawn. I tried 1.16 spigot with a brand new nether and it had new mobs, but idk about an existing nether
yeah when I tried with brand new nether, it works normally
however if I imported vanilla 1.16.1 nether there's no entities
@frigid ember are u absolutely sure it prints null when called from the constructor u posted? could it perhaps be creating a different Nation object elsewhere with a faulty argument?
Statics.NORTH is a string?
@wheat summit Stackoverflow is caused by 2 things:
1.- you never set a base case at which to break
2.- The stack is flooded with more than 'n' entries, (often 10,000?)
strange
Anyway do you guys know whether there is a way to check whether the current thread is a sync thread or an async thread? I need to count the amount of items in a player's inventory, but the function doing that can be invoked async.
@inland oxide its an enum type
Enum passing works fine. Notice Material
in that same constructor
@waxen ridge uhhhh try worldedit's //butcher command on your nether to delete all old entities and see if new mobs spawn
It's when I try to call the method again @radiant pollen
I do have a case to break it I think @frigid ember
Material is an enum
Here:
if (!blocks.isEmpty()) {
for(Block toBreak : blocks) {
if(toBreak == null) {
plugin.getLogger().info(ChatColor.RED + "ALERT IT IS NULL");
} else {
checkToBreak(toBreak);
toBreak.breakNaturally();
}
}
}
You are passig an enum as a string?
nah, I am passing it in as its type
There also shouldn't be more than 10K Entries
so, for type, its getting passed in as org.bukkit.entity.Villager.Type
@wheat summit Which is why the method calls itself forever
not sure what Statics.NORTH is but sounds like an enum.
@graceful silo thanks, I'll need to look for world edit first then will try that command
Though I have an if statement there cancelling it if all the blocks are air
blocks.removeIf(arrayOfBlocks -> arrayOfBlocks.getType() == Material.AIR);
if (!blocks.isEmpty()) {
for(Block toBreak : blocks) {
if(toBreak == null) {
plugin.getLogger().info(ChatColor.RED + "ALERT IT IS NULL");
} else {
checkToBreak(toBreak);
toBreak.breakNaturally();
}
}
}
How have you tested this?
Just mined a block
not talking about Type biomeType
Mainly
Do you have something floating in the air you're testing it on?
No
kluge, what are you referencing?
Well there are blocks aroundf it that are air yes
talking about String ramSwingDirection being passed an Enum
If the block is in the ground, it's going to attempt to break the entire world, that's why it's a stack overflow.
No Kluge, ramswingdirection is a String
Well I have a check to see if the type of block is different
Then what is Statics.NORTH?
Sorry, I misunderstood your question
Your base case is when the block is air, but if you're breaking a grass block on the surface, it's going to break the entire world.
Statics.NORTH is a public static variable in my Statics class. It is a simple String object.
Is the 1.16.1 spigot update a early version or is it a normal release.
Its still not the recommended version hotty
ok thanks 😄
What would be a better way to do it then?
idk recursive is easier to me
Where is Type defined?
Type is passed into the constructor
So you mean while (!blocks.isEmpty()) { instead of if (!blocks.isEmpty()) {?
That didn't work when I tried it earliuer
Nation gaul = new Nation("gaul", Color.GREEN, 10, ChatColor.DARK_GREEN, Material.GREEN_WOOL, org.bukkit.ChatColor.DARK_GREEN, Statics.NORTH, Type.SWAMP);
Earlier*
1.16 drops the Player#spigot() method? Haven't looked too in-depth, but is there a work around to be able to send BaseComponent messages to players?
@wheat summit You should break the block you need to break before you check it. Otherwise, say you break a block, the block NORTH is NOT AIR so you break that one and it checks the blocks around it and the block SOUTH is NOT AIR because you have not broken it yet.
Does that make any sense?
Oh yeah I'll try that
You get stackoverflow from the first two blocks.
Thanks! Got excited and spolke in caps so a bot deleted it though thanks so much!
It works now
Is there any land claiming plugins released for 1.16?
That took way too long for me to find out
Haha! No problem!
Is essentials 1.16 available?
@torn elk In principle all the ones for 1.15.2 should still work, but it might be trial and error.
The point of having a modding API is that it doesn't break between versions
@potent creek I have residence installed, but it shuts down my server, just because the plugin is outdated
@torn elk You need to figure that out with the author, it's a premium plugin after all.
No pickupevent for Piglins ?
API is still being added. You're welcome to PR yourself. I'm in the process of making one for respawn anchors being charged
?stash
Choco, I'm no longer seeing a Player#spigot() method. Trying to send Component messages
Nation gaul = new Nation("gaul", Color.GREEN, 10, ChatColor.DARK_GREEN, Material.GREEN_WOOL, org.bukkit.ChatColor.DARK_GREEN, Statics.NORTH, Type.SWAMP);
Nation rome = new Nation("rome", Color.RED, 70, ChatColor.DARK_RED, Material.RED_WOOL, org.bukkit.ChatColor.DARK_RED, Statics.WEST,
Type.PLAINS);
Nation noNation = new Nation("nationless", Color.NAVY, 0, ChatColor.BLUE, Material.LIGHT_GRAY_WOOL, org.bukkit.ChatColor.BLUE, null,
null);```
Notice the null value in the noNation object....
........................................
and?
well thanks for including that code.
"Its not a logic problem"
famous last words
it was in the pastebin in the question
Sorry
I should have posted it in here
@graceful silo Hi, I want to let you know the worldedit butcher command worked! Thank you!
I've been trying to fix this for 6 hours lol
wow, all the problems seem to be getting solved except mine.
what was your problem?
where to start.
🤷 start where it starts?
just the serialization issue with databases
if using YamlConfiguration.saveToString() after setting an ItemStack, the method will sometimes fail on Writable_Book items.
If using ItemStack.serialize(), apparently I will lose custom nbt data.
not sure what the best way to get an ItemStack to a BLOB and back again.
Seems like the way I'm using works fine unless someone overloads a Writable_Book with a hacked client.
If I change to a different method, well, then have the pain of bunch of users having data stored in another format
I'm wondering if the hacked client is making the book malformed somehow or if it is just a issue of too much data.
To a BLOB copy the code that bukkit uses to serialize itemstacks to base64
Is there new colour formatting code I should be aware about or will ChatColor.translate do the job?
This is what is happening when I use the saveToString() method..
looking at that code where the exception is thrown, leads me to belived that that method is never entirely reliable
Build tools isn't installing 1.16 to my local maven repo?
Does --compile craftbukkit ONLY compile craftbukkit?
whats in BuiltTools.log.txt?
No worries
i re-ran without --compile craftbukkit
and it worked
thanks anyways guys
Hey lads,
Got some issues, console being spammed with the following:
[Server thread/ERROR]: No key position_predicate in MapLike
The string is much longer though, shortened for discord, https://paste.md-5.net/viwupoviwi.cs, quick google didn't give me many clues.
Running CoreProtect, LuckPerms
@formal jacinth hey you there
yah what’s up
Any Ideas why it says that ChatColor.of doesn't exist? I have the dependency in my pom.xml file and reloaded it. I've also ran clean and install but its still returns cannot find symbol
There is
I swear I just checked both ChatColor enums
it is with the bungeecord chat api
Oh, I see.
yeh, forgot I had that in my script file
but useful for later
instead of running it twice
Okay I'm done with PRs for now. I'm gonna eat 😅
thank you.
@tall crystal Is this new in 1.16? I think there was a hex color system introduced
Maybe you havent upgraded your dependency to 1.16
I was wondering, is it possible to make spigot plugins with the Atom Text Editor?
Thats the newest version
Don't think so coz you can't compile.
Java is a language that require compilation.
Even if you could, it's probably not the best thing as you don't receive all the benefits from Java IDEs
Just download IntelliJ IDEA Community Edition
Using an IDE made for the language will nearly always be better.
Yes, and its Java not .NET, so I would go with IntelliJ over VS
can Intellij look just as sexy as vscode?
Yes, can even get those color schemes
I do not scheme though
anyone know how to fix [Server thread/ERROR]: No key position_predicate in MapLike
maybe multiworld because it gets spammed when loading my worlds
upsides/downsides to running my database entry creation in main thread?
@odd knoll hi zak XDDD
trade off of lag in main thread vs. being able to catch this stupid Yaml exception.
yah what’s up
@formal jacinth so uh, I did this and its still giving me a null pointer thingy
your checking the main scoreboard not your scoreboard you made
@inland oxide can't you run with the taskscheduler once it is complete?
wdym
@tall crystal how do I "identify" the scoreboard I made?
and you end up registering it to the other scoreboard
its right now not returning anything because it's async
the scoreboard variable
ooo
so I have to put into main to return false to cancel the listing
@inland oxide you can make your own callbacks
So like this
still not seeing how that helps
Just run the query on another thread, then call taskscheduler
yeah
Unless you need the info on command
it worked! Thanks Colink <3
hmm, lemme look again
Yep
ok if I do only database code async, how would I handle if there is a database error
@inland oxide what do you mean? how would you handle it if it wasnt async?
I'd just catch the error and return it
