#help-archived
1 messages ยท Page 150 of 1
the issue only affects players
am submitting an issue on JIRA rn, will link it here so if you find the culprit comment it on the issue.
So I updated a sign with colors & stuff. I can view it via the account that I performed the action with
But when I logged in my alt to view the sign, it looks like a normal sign with no colorized text
I wouldn't expect to use packets to show sign colors, right?
tried to screenshot it and send the pic but it wont send so ill just list the folders in my plugins folder
@blazing aspen if you figure out what the plugin causing it is, leave a comment on this issue: https://hub.spigotmc.org/jira/browse/SPIGOT-5884
bstats, coreprotect, essentials, horsetpwithme, hungergames, multiverse-core, multiverse-inventories, multiverse-portals, permissionsex, pluginmetrics, skinsrestorer, update, updater, vault, worldedit
remove all but horsetpwithme, thats my primary suspect atm
gotcha
Hmm, I'm right clicking on an entity with a lead, then in the onPlayerInteractentity, i'm checking some perms and if no perms doing event.setCancelled(true), but visually, on the client side the PlayerInventory shows the lead count decremeted. The lead is still there if I move stuff around in the inventory.
removed horsetpwithme, no dice
no dice as in no tab completion, or no dice as in its not the plugin
@blazing aspen if its still happening i suspect horsetpwithme, then hungergames, then permissionsex, then potentially multiverse to be possible culprits, in that order. you'll need to do some testing yourself but ping me when you figure it out, im very interested to know whats going on
no tab completion so its something other than horsetpwithme
alr well leave a comment on that issue when you figure it out, and ping me too pls
Have a great idea for my plugin, but requires a lot of physics.
I'm thinking of having it so a lead can pull a player or better yet, move a player if that player is floating
Think of a player floating with some levitation potions, being dragged around by a bee on a lead
or the ornery horse pulling the player with the lead
maybe players in boats being pulled by dolphins?
it was essentials @knotty karma
Essentials or EssentialsX?
X
good to know, thx
dev builds of Ess X work fine on 1.16.1
Hey i need help pls
Suppose i could get the velocity of the entity, and a vector of where it is heading
then look up the angle and distance between the entity and the player with the lead
calculate the stretchiness of the lead
I had like over 15 purchased resources. Now it only shows 1? I demand a refund for all my purchased resources then?
and apply a vector to the player if the player is less in weight than the entity or floating or in a boat
How am I lying?
i have a dude who chargebacked in my buyer list
i doubt someone removed you the access
if you have issues with your resources, spigotmc can't do anything. You'll have to conversate each Developer about it, or worse chargeback
but like fr33styler said, I doubt that too
Like I purchased minions for example...
perhaps wrong account?
๐คท
latest is 2.17.2.133 as of last night
and that works on current spigot release?
yessir
I only see one plugin in my purchased resources.
I bought like 15.
I.e. bosses, death chest, pets, etc.
All gone.
epicdeaths*
๐
๐คท not really sure, it's entirely dependant on the developer
Does anybody know how to use 1.16's new hex code support in chat?
Like are we able to actually say things in chat in any color or do we have to use /textraw
@anyone?
I urgently need to know if there's any way to use the new hex formats in chat.
can i get a refund from dev
@PlasticFood#8498
The only thing that is guranteed when purchasing a premium resource is a single time download.
I honestly don't see a reason for the dev to refund, the product was delivered, there is no guarantee that the resouece will be maintained.
And the resource is from 2015, this is definitely not a scam, 5 years of maintanence for what I assume was a few bucks is reasonable
@devout mural the resource says what versions are and aren't supported. I don't know why you'd purchase it if you wanted 1.16 support and it didn't support 1.16.
When i caste Player to sender am i basically giving Player access to sender or giving sender access to Player?
I understand casting from a basic standpoint but casting objects a bit confusing
This is called wide casting, look it up
@wet bronze I don't think it's a vanilla thing
@fossil shoal Thank you:)
probably will need to wait for some plugin that allows players to change their chat color with it
we're getting reports that the value set by WorldCreator.generateStructures() is not being respected
I confirm it myself in a bit, but a significant amount of players are reporting this
can someone help me? I have been stuck on this for ages https://www.spigotmc.org/threads/getting-commands-from-config.448316/
What happens when you try running commands?
Nothing
check plugins
comes up
i tried spigot 1.16 it worked to me
of cours it show the plugin is running but cant get the command to work
which plugin?
it might be the plugin command system
how you register it?
He doesn't
in plugin.yml you just asign it
also use @Override about the command in first screenshot
@tiny dagger when I change sign text, the player that caused the sign text to change can view the said color/text change
However, other players cannot observe this change
state#update(true);
@tiny dagger thanks dawg
it's kinda bad how one unexisting event on the version disables all the events
Im really confused doing commands the way ive showed in the screenshots worked on 1.15.2 but i cant do it this way on 1.16.1
Overall really confused
it's the same tho
^
So I think I joined the server at a bad time but I think its okay
I didnt know where else to ask this, but is multiverse working okay with the new spigot 1.16 update? they mentioned for users to be careful with servers that have multiple worlds, so i just wanted to ask if anyone has having trouble with it
yup multiverse is working fine
holy shit md is still typing?
lol yup
Am i doing something wrong syntax wise then?
The plugin is working fine its just the simple command that isnt working
there is an issue with generating worlds with/without structures atm, but it's a Spigot bug as far as I can tell
i read it all
me too
lots of issues with vanilla
offhand placement of torches on redstone, switching offhand gets messed up
chill ๐
main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
im so done with life
lmao
i had literally 4 fucking m's in command
Thats why my command wasnt working
literally sat here for an hour trying to figure out wtf i did wring
wrong
oh i thought you were talking about your body pillow
i was able to see my girlfriend during all this bullshit i feel bad for you
Nice one
I just have the solution for you guys!
donโt get a girlfriend
so that means you're still a virgin
Uh, may I mini-mod for a moment and suggest that chat unrelated to #help-archived maybe happens elsewhere? >.>
Like #spigotcraft. Just in case someone does need help.
what if instead people i dunno, take meassures to protect themself?
i can't even get near my brother and sister ๐
we all have like mask
and wtf when we eat we're so far away to each others.
i wish md would give me even 1/100 of the attention he's giving all of us in #general
worth
@frigid ember has a point, don't chat here, this channel is for support/ #help-archived , please be patient and wait for the #general channel to reopen, or even use #text for temporary use ๐
yeah, better that way
๐ค
#text - this is for support / #help-archived only
Worldborder works for 1.16.1 or thereโs any other pregenerator?
ChunkMaster
Thx
Is it preferable to make a signleton for the main javaplugin instance or pass the instance into each class constructor where we need it?
Okay thanks
The singleton approach will fall short if/when you want to run automated tests.
Yeah but in a simple plugin case this is something lighter
Is there a workaround for https://bugs.mojang.com/browse/MC-191388 ?
Is the PlayerDropItemEvent cancelled after the item drops now or something? Back in 1.8 you wouldn't see the player drop out of the players hand when cancelling the event
Im not sure the issues has any effect aside from console spam
That's my worry as well ๐
There's a related issue with villages though, where there are sideeffects
Also, I only seem to encounter this with villages. Any other chunk of the map seems completely fine
https://gyazo.com/71cd68de3bca567c7a17b7a925f1962c
On higher ping you actually see the item fall towards the ground and then reappear in your hand when cancelling the event
How can i get all childs via a FileConfiguration?
Theres a #getParent, but i didnt find a #getChilds
#getKeys could give you all child keys
Ah ok. Thanks. And i think #getConfigurationSection should help me too.
I checked the MapLike error on 1.15.2 map with a chunk that was never loaded yet and this is what happens with villages
So apart from console spam, theres blocks missing. Happens on 1.16.1 fresh map too.
Hello, first time I'm using a config.yml, I would like to send a message over there, how can I get a String from config.yml?
@old barn Its easy with the FileConfiguration: ```java
FileConfiguration config = YamlConfiguration.load(file);
String message = config.getString("yourpath");
@brisk barn can you please mention the missing blocks on the mojang ticket
[09:57] Disgruntled Scratch Coder: Anyone getting a chunk thing error which causes the server to crash?
(from #text)
@untold knoll Would the log happen to have a stacktrace complaining about portals?
Such as:
net.minecraft.server.v1_16_R1.PortalTravelAgent.findPortal(PortalTravelAgent.java:66)
net.minecraft.server.v1_16_R1.Entity.teleportTo(Entity.java:2658)
net.minecraft.server.v1_16_R1.Entity.a(Entity.java:2575)
net.minecraft.server.v1_16_R1.Entity.doPortalTick(Entity.java:2201)
If so, I've been told this is a vanilla bug.
Like this?
no. let me pull it out.
@brisk barn can you please mention the missing blocks on the mojang ticket
@fleet crane yes sir
Hello all!
i have a small question,
i am making a http request in async thread, still it reduces my tps to as low as 3!!
can ayone tell me what am i doing wrong :/
here's the fetch function, just a http request
strakerak has come on campus
29.06 06:05:17 [Server] Worker-Main-20/FATAL Failed to schedule load callback for chunk [-7, 46]
29.06 06:05:17 [Server] INFO java.util.concurrent.CompletionException: net.minecraft.server.v1_16_R1.ReportedException: Exception generating new chunk
29.06 06:05:17 [Server] INFO at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_242]
29.06 06:05:17 [Server] INFO at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_242]
29.06 06:05:17 [Server] INFO at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:975) ~[?:1.8.0_242]
29.06 06:05:17 [Server] INFO at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:940) ~[?:1.8.0_242]
29.06 06:05:17 [Server] INFO at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) ~[?:1.8.0_242]
@frigid ember
29.06 06:05:17 [Server] INFO at net.minecraft.server.v1_16_R1.ChunkTaskQueueSorter.b(SourceFile:58) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]
29.06 06:05:17 [Server] INFO at net.minecraft.server.v1_16_R1.ThreadedMailbox.e(SourceFile:94) [spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]
29.06 06:05:17 [Server] INFO at net.minecraft.server.v1_16_R1.ThreadedMailbox.a(SourceFile:137) [spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]
29.06 06:05:17 [Server] INFO at net.minecraft.server.v1_16_R1.ThreadedMailbox.run(SourceFile:105) [spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]
29.06 06:05:17 [Server] INFO at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402) [?:1.8.0_242]
29.06 06:05:17 [Server] INFO at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_242]
29.06 06:05:17 [Server] INFO at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_242]
That
Not pasting the rest that is spam
i have a small question,
i am making a http request in async thread, still it reduces my tps to as low as 3!!
this is registered inOnEnablefunc
Does the HTTP request really need to run every 10 ticks, indefinitely?
i am polling from telegram bot api , uh even 20 ticks is fine
i just don't get why async would affect my main thread
20-> 3 tps wow
i tried many ways to run it async and even increased the delays (max 1.5secs / http req)
it always causes tps lag
@untold knoll report that on the Jira, please. It's something md_5 was trying to track, by the looks of this: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/7f61a2526eab7818682ea0761e54f35f80cd2d6a
One little question: Whats the name of the shift + mouseclick InventoryAction?
Uhm, asynchronous shouldn't effect the main game loop
yea, that's what confusing me
can you show us more of the code
why would it affect my tps so bad
like what's above the request?
okay sure
How would I do that?
Yeha it seems weird that it worked in 1.15.2, beginning of 1.16.1 and now its kerplunk
Here, @untold knoll: https://hub.spigotmc.org/jira
this is where i register it
and the fetch function (makes http req)
@steady cedar
open source xP
added the relevant files to the ticket. hope it helps
when i remove that http req, it works great
issue is, when i load that task, its all good for first few mins, then progressively.. 20->19->14->7->2 tps
that's extremely odd
@steady cedar
let me get logs sec
Check if you call fetch anywhere else?
na..
idk tbh
when server starts fully:
TPS from last 5s, 10s, 1m, 5m, 15m:
*20.0, *20.0, *20.0, 19.7, 19.9
then later
see how it progressively increases, weird
that's being called on the main thread
idk why
is that the only plugin
on the server
no there are a few more
when i remove this plugin (http request), all seems good!
something is wrong i need to figure it out
i guess that answers my question, i was just trying that and there are no issues on the test server with just my plugin
interestingly, on my main server there are again NO issues when this plugin is not there
So i think the answer is that another plugin is conflicting somehow with my plugin. well i can trial and error that, thanks for the help ๐
tldr,
test server - just this plugin - no issues
main server - without this plugin - no issues
so plugin conflict on main server im guessing
yeah
@blazing aspen can you upload your exact build of essentialsx? im unable to replicate.
1.16 is still considered in-development
"In order to get 1.16.1, simply run the latest BuildTools with the required arguments. 1.16.1 will become the default version in the coming weeks."
yeah I know how to get it
"will become the default version in the coming weeks."
Anyone know a plugin like SkinsRestorer? Cant use that one since its breaking some stuff on the server, thank you
There is an event to check if player invisible? (when the player drink invisibility potion)?
Hey Guys, does the bungeecord build-in permissions works with plugins in the other linked to servers ?
Hey Guys, does the bungeecord build-in permissions works with plugins in the other linked to servers ?
@frigid ember You need a plugin, which syncs the permissions with the other servers. Like LuckPerms
Hi everyone, I am looking for someone who can code bukkit(make plugins) on my java AND bedrock server, thats right, both java AND bedrock players can join the same server, I am just looking for an experienced plugin dev! Dm me if interested!
@ripe ledge https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerItemConsumeEvent.html
@frigid ember Ok and How I can check if this a invisibility potion?
@ripe ledge Get the ItemStack.
Thats it.
What setting in the bukkit/spigot yml files would prevent my players from building chunkloaders using netherportals and item dispencers?
#getItem
#getItem
@frigid ember Yeah but I need to compare it to something
So how I create a potion
to compare
I did this:
if (event.getItem().getType() == Material.POTION) {
But I want to check if it's invisibility potion
Is what holds the effects
So create an item?
no. It wouldnt be the same item. You need to check if they have the same meta
So create a invisibility potion item
And then compare?
So What I need to doooo
i need builder for little PVP arena
ItemStack#getMeta() and cast it to potion meta and compare effects or something
@frigid ember You need a plugin, which syncs the permissions with the other servers. Like LuckPerms
@frigid ember This is what i receive when launching Bungee with LuckPerms !
when you have the ItemMeta you cast it to to PotionMeta then do getBasePotionData then getType
@ripe ledge
yes because you used the spigot version
And not the Bungee Version
I didn't understand i downloaded the official version from jenkins right ?
What is the link for the Bungee Version ?
no download from the website: https://luckperms.net/download
0h allrighty my bad ๐ Thanks
np
lol theres a uncraftable potion.
when you have the ItemMeta you cast it to to PotionMeta then do getBasePotionData then getType
@forest plaza So something like that:?
if (event.getItem().getType() == Material.POTION) {
ItemStack item = event.getItem();
PotionMeta meta = (PotionMeta) item.getItemMeta();
if (meta.getBasePotionData().getType() == PotionType.INVISIBILITY) {
}
}
yes
Ok but I want to hide the player, but how I can check if the potion is over?
wdym hide?
player.hidePlayer(player);
[Mon, 29. Jun 2020 11:01:08 UTC ERROR] No key position_predicate in MapLike[{input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:dirt"},output_state:{Name:"minecraft:water",Properties:{level:"0"}},location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"}}]; No key position_predicate in MapLike[{input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:grass_block"},output_state:{Name:"minecraft:water",Properties:{level:"0"}},location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"}}]; No key position_predicate in MapLike[{input_predicate:{predicate_type:"minecraft:random_block_match",block:"minecraft:grass_path",probability:0.1f},output_state:{Name:"minecraft:grass_block",Properties:{snowy:"false"}},location_predicate:{predicate_type:"minecraft:always_true"}}]; No key position_predicate in MapLike[{input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:grass_path"},output_state:{Name:"minecraft:oak_planks"},location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"}}]
What's this error?
Should I just ignore it?
And I am need to put in the hidePlayer? the player I want to hide or the player I want to not see the player that drink the potion
@frigid ember https://bugs.mojang.com/browse/MC-191388
@ripe ledge never used that method, but im guessing you would need to hide the player you want invisible. why exactly do you need the potion code then?
@ripe ledge never used that method, but im guessing you would need to hide the player you want invisible. why exactly do you need the potion code then?
@forest plaza I want to do that when the player is invisible, the other players could not see the player armor (Like on Hypixel)
yeah
and show him again, when the player consumes milk, honey. you would also have to start a runnable to catch when the effect expires
Believe there is an event for when potion effects are applied and removed
Forget what itโs called
EntityPotionEffectEvent
^ thatโs it
oh well then nvm about the runnable, i thought you checked the events
hi
username: bukkit
isolation: SERIALIZABLE
driver: org.sqlite.JDBC
password: walrus
url: jdbc:sqlite:{DIR}{NAME}.db```
what is saved here?
hello, i am coding a plugin. So do i write the api version as 1.14 in plugin.yml?
If you need features added in 1.14, you write that
nope
i just want a plugin for 1.15
wdym
You can write 1.14
or 1.13
the lasted version that the plugin use
I mean
if the plugin need something that added on 1.14, write 1.14
if your plugin not using things from 1.15 you dont have reason to write 1.15
no 1.15 it is
ok thanks
Now i'm not able to export to plugin to .jar
sorry but i just got the solution to my doubt no need to solve it
heyo
the plugin bedwars
he for 1.16
bcf i set 2 maps to bedwars with its plugin
but they not work
You can clearly see it has not been updated to 1.16 by simply reading the page.
There are however, development builds - which again, you would know by reading the page. >.>
yea but i used minehut
so i think is 1.16
but isn't worked
so i look on internt
and found its page
How would I go about displaying a user's name in color when typing in a command?
I know I would have to get the player
@proper cairn You mean in the ingame chat?
Here is a plugin which makes that: https://github.com/Leeeunderscore/LeeesNC
๐ Uh
Well, I was told this is a vanilla bug, related to upgraded chunks.
hmmm
so your server freezes aswell
Spigot doesn't have it
might be due to the chunk stuff paper does
^
according to that it says the chunk is full
Spigot is working better than paper right now?
Yes
which makes me think it is related to papers patch for handling full chunks
so, it is up to paper to fix their stuff ๐
so go ahead and report it to them ๐
I mean, they tell people off for reporting stack traces which have that all caps message.
Soo... >.>
because most of the time it is obvious
this isn't so much a stack trace
but a server crash or thread dump
Well, if you're interested at all, this was the full thing: [redacted]
We just don't want our issue tracker flooded with those things, one of those "come to the discord"
Oh, hello Cat
99% of the time it's plugins being dumb on the main thread
I ranted a bit in mcmmo about this crash, lol
in that case, portal chunk loading, maybe an optimization went somewhere...
electronic!
mcMMO is a pita and really needs a major cleanout of crud
Stuff like saving player data on the main thread is beautiful
I don't deal with that stuff, tbqh, better off going to kash or z
That ubuntu paste has the full error if you want to give it a poke, cat
This is what he was talking about
oh
I see what's going on, a portal spun off a chunk load request
maybe a priority issue
Or, wait, that could just be coz it's nested af
With vanilla, to gen a chunk fully, you need to have neighbours to load up for generation to work, so, loading one chunk basically fans out several dozen other requests
(I'm Quavelen, if that wasn't obvious yet. >.>)
I know ;P
Well it freezes the server
when it's happening
and it says
DO NOT REPORT TO PAPER
Yes, portals blow
what do I do?
Hey, if I can't upload BungeeCord in my minecraft hosting page because it is "too large" could I do it in FileZilla and it will be the same???
I'd suggest throwing a report on the issue tracker
package com.wyvern.listeners;
import org.bukkit.entity.Creeper;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.CreatureSpawnEvent
public class Listeners implements Listener {
@EventHandler
public void creatureSpawn(CreatureSpawnEvent event) {
if (event.getEntityType() == EntityType.CREEPER) {
Creeper creeper = (Creeper) event.getEntity();
creeper.setPowered(true);
creeper.setExplosionRadius(5);
}
}
}
I have an error that is 400 CSFR not found, and I have read that it is if a file is too big
That "Do not report" is just a "don't pester us", because 99% of the time it's dumb plugins and they jsut flood the tracker
What event should i put here?
I don't touch that stuff
I don't know how to get it removed
My heads killing and that's just far more headache inducing than I care to deal with
Honestly Agonia, they are quite particular about tags.
package com.wyvern.listeners;
import org.bukkit.entity.Creeper;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.CreatureSpawnEventpublic class Listeners implements Listener {
@EventHandler public void creatureSpawn(CreatureSpawnEvent event) { if (event.getEntityType() == EntityType.CREEPER) { Creeper creeper = (Creeper) event.getEntity(); creeper.setPowered(true); creeper.setExplosionRadius(5); } }}
@karmic stone Can you help me please?
smh
im getting an error
you need to actually clarify what you're asking
Well what error?
We shouldn't have to drag out the basics from you
public void creatureSpawn.... is showing me an error
maybe i dunno the event for this version
You're missing a ; on the import
Hey, if I can't upload BungeeCord in my minecraft hosting page because it is "too large" could I do it in FileZilla and it will be the same???
@lean fiber ?
I have an error that is 400 CSFR not found, and I have read that it is if a file is too big
@lean fiber So, do I upload it in FileZilla?
Try it.
ok
Is it normal to get a null material while making Material.getMaterial("BRAIN_CORAL")?
Upload through filezilla. It skips the hostingsites upload limits @lean fiber
Rolyn - perhaps you forgot to specify your api version in plugin.yml?
What api-version should I put if my plugin both work on 1.8 and 1.16.1 ?
Versions below 1.13 don't care for it, so just put 1.13
Cool thanks
Omg, I am stupid or something, but I have another question. When I am trying to put all my server info into FileZilla, and then I click quickconnect, it says that "this server is not safe on TLS" and that if I do this action I will pass my info throgugh the internet (?) or something like that. I don't know if that is normal Xd
Shouldnt be there a api version error? I had this issue today too.
Hello! I am an admin for a large skyblock server (around 170 people on release)
We recently ran into issues where the server will "stop responding"
https://hastebin.com/pajajulaze.shell (I know this is paper, but their discord was kinda useless )
Server info: ~100 plugins, 1/3 are custom. Running on a dedicated server (i7 7700k overclocked to 4.7/5ghz) 20GB ram dedicated to Skyblock.
Can someone help me out?
Upload through filezilla. It skips the hostingsites upload limits @lean fiber
@hardy forge Teah I am trying to
Omg, I am stupid or something, but I have another question. When I am trying to put all my server info into FileZilla, and then I click quickconnect, it says that "this server is not safe on TLS" and that if I do this action I will pass my info throgugh the internet (?) or something like that. I don't know if that is normal Xd
@lean fiber Is it a problem with the host? or is it normal?
@carmine salmon are you using 1.16 paper?
@lean fiber do they use Pterodactyl or something else (e.g Multicraft)?
I miss tacospigot lol
is someone able to help?
@lean fiber So, do I upload it in FileZilla?
@lean fiber 400 csfr does not refer to file size. It refers to invalid tokens or a valid token could not be found IE its missing entirely. Not the message I wanted to quote, but whatever lol
that often just means that the web server was "nope" with the entire content iirc
e.g. hit the upload limit
Hi I have some doubts regarding a plugin. Can I get permissions to post images
Verify your account, and you can upload images.
From where? Channel?
That's what the verification channel is for.
@lean fiber do they use Pterodactyl or something else (e.g Multicraft)?
@odd knoll Well, yeah it is multicraft
Ohhk
I'd recommend contacting them.
ok, but is it a problem that they use Pterodactyl or others with FileZilla?
I mean, that the use of Pterodactyl and Filezilla could be related in one way or another?
yea, it is multicraft
so, it's not ptero...
The thing is that most hosts don't care to setup ssl certs for their ftp servers, so, that's perfectly normal to see
I see
how to check if a players uuid is in an hashmap
containsKey
uh...containsKey or containsValue() one of the two depending how the UUID is stored
if (UUID != newClass.containsKey(UUID)) {
newClass is my hash
should I replace first UUID with player?
containsKey() returns a boolean fyi
And the message that pops me when I quickconnect in FileZilla is normal? It says "server not safe, it doesn't support FTP on TLS
sounds like you want to use get
making your check there redundant
UUID.equals(map.get(k))
k?
key
Well, I tried to translate it the best that I could xd
aka, the uuid you're tryna check is in the map or not
Can someone explain upcasting and downcasting for an idiot like me im trying to drill it and understand but im really confused
srry but what do I change k with xd
the uuid you're tryna check is in the map or not
Unless both UUIDs are literally what your tryna check is in the map, in which case, literally just remove the UUID != part
if (!uuidisinmap){
}
What exactly is TLS?
thats what ur method does but without ! right
Transport Layer Security
Oh ok
open the plugin's jar and see if it's actually in there.
How can I open .jar
invalid plugin.yml
Oops
@karmic stone obviously it isn't where you think it is
you can open it using winrar/7zip.
or even windows zip
yeah even that
Ok I'll check
if you don't want to recompile the plugin
you can just dump a plugin.yml straight into the jar
Could someone explain me a bit, how does Linux box work?
Linux is an OS
comes in two flavors
desktop and server
server variants generally are managed from the command line
and it is really easy
or to have a server like that
yes it is recommended to use linux for server hosting
and one that is of server variant
Desktop environments are resource heavy
and since it is not needed just wasted resources at that
@karmic stone your plugin.yml has to be directly within the jar.
So, do I need Linux as my OS?
not in any folders.
you don't need it as your OS, but it will be the most recommended
are you renting a box or do you own one?
Not gonna lie, I thought it was going to be easier, but then I discovered a knew whole world
are you renting a box or do you own one?
@keen compass
I am renting one
Or were you talking to Ohmyphoking? xd
recommend renting a Dedicated box where you have more freedom. You can also run a virtual machine on your desktop too using something like virtualbox and install various OS's and linux distros to mess around with
VPS's are good, but many of them restrict you. Recommend if you want a VPS stay away from the ones that market exclusively to minecraft
those that market exclusively for MC charge more, less optimal and restrict what you can do
there is a whole lot of providers for VPS's that do not market exclusively to MC btw and they give you a lot of freedom such as SSH access ๐
DigitalOcean, Google cloud, OVH, Hetzner(located over in Germany or near there) and many more.
I must check out a few of those
Ohh I get it, I need to right click src folder and then add plugin.yml ??
OVH provides both VPS and dedicated server boxes
It is a pitty that I am wasting money with my servers and I can't do nothing cause every day a new problem occurs
soyoustart is a subsidiary of OVH and provides dedicated boxes on the cheaper side
@karmic stone it has to be in the source folder.
I pay $71 for my dedicated box from soyoustart, I get a quad core Xeon @ 3.7 Ghz, 64GB of ram, 4x2TB HDD's, gigabit connection, DDoS protection included, 13 IPV4's an entire subnet for ipv6
I also get to choose the OS I want as well
and can change the OS at any time
Ok, so you are not limited at all
I don't even need to select an OS from their list
I can upload an OS image as well to install on the box
But, I am scared of spending money in one of those and then, because I don't know how to use them
and then" nothing xd
you will only get better by using it
like I said get virtualbox
download ubuntu server
install it on virtualbox and play around with it
@frigid ember
yes
ill look into your issus
virtualbox lets you run Virtual machines on your desktop ๐
whats your real issus
install it on virtualbox and play around with it
@keen compass The only reason I have multicraft is because a friend of mine got my a discound xd
so you can mess with OS's without affecting your desktop ๐
discount
nvm i see
ok
Once you play around with linux from the command line
I need to have a virtual box XD
you will realize how limiting multicraft is
anything multicraft can do, I can easily do from the command line with either a simple script that I execute, a service script, or couple commands lol
@frigid ember whats your plugins list
anything multicraft can do, I can easily do from the command line with either a simple script that I execute, a service script, or couple commands lol
@keen compass oof
That is really nice
seem to be an issus when you teleported to a unloaded chunk
need to test it
update your spigot and essentials
and command line isn't all that scary
you do get some contextual representations
for instance you have access to a process viewer
most distros have it, its called top
or if you want a better variant you install htop
The problem here is that I am bad at these things, well I could learn with virual box right, but there aren't a lot of tutorials that teach how to have a server without a VPS and I am slow at these things XD
I can edit text files and while its in the terminal, I can see all the contents of a file, I can scroll etc
there is many tutorials that exist for running servers
htop even has mouse input, so it's basically windows task manager
Yeah, definetly it brings you more much freedom
command line is only scary so as long as you keep being afraid of it
just need to try it out and learn it
only then will you not be so scared ๐
I can't advise on that. Just that the current setup you have currently limits what you can do that other providers give at the same or cheaper cost
Will I lose everything? If I decide to do the change?
Only if you don't make backups
could download your server stuff, get a different provider
Alright
upload your stuff
On my dedicated box I can run anything I want
doesn't have to be MC
I want to run a webserver, I can do that, oh I want to run a different kind of game server, can do that too XD
I sometimes use my dedicated box to run a virtual machine that has a desktop
for development purposes when I am on the go
this way, no matter the computer I use, I always have my stuff to do work ๐
You are professionals here xd
Virtualbox is a great way to learn different OS's if you don't want to change anything yet
it allows you to run virtual machines from your desktop, and when you are done with it shut it down or delete it if you really don't need to keep it anymore
oh you want to run a different OS, shut that one down create a new one
So, its great for learning without making any permanent changes to anything ๐
Virtualbox isn't the only software btw that you can use to create virtual machines. I only recommended it because it is the easiest to use and setup and its free and open source
Anything I should know before downloading/using it?
just that you need to setup the configuration of new virtual machines before you can launch it
and you need OS images
which are easy to download from their respective sites ๐
ok, perfect! "
Ubuntu is the one of the easiest linux distros to learn on
I will talk about my experience, thanks for everything really, I didn't know all of this things existed
I will check it out too
but there is literally hundreds of distro's out there
common ones are Ubuntu, CentOS, RedHat(generally not free), Debian(Ubuntu is a debian derivative), freeBSD. And then the majority are derivatives of those.
I could be missing some, but you get the point ๐
yeah ๐
I don't recommend CentOS as your starting distro. It is very restrictive out of the box
and you have to enable stuff you want to use as you need them
Ubuntu is the opposite. It is the least restrictive with user friendliness as its goal
But you just might come to like linux
that you might want to use it as a desktop too ๐
Ubuntu has a desktop variant as well
nice thing with linux is updates are far easier then in windows
most updates in linux don't require restarting unless something changed with the kernel
And i think Ubuntu has Livepatch, which gives you security updates without restarting.
use buildtools
any idea what event gets called when a villager interacts with a composter? its neither EntityChangeBlockEvent nor EntityInteractEvent
could be a bug
should i report it?
worse case is it ends up being a feature request ๐
29.06 22:55:56 [Server] Server thread/ERROR Block at 463, 37, -1,623 is Block{minecraft:water} but has net.minecraft.server.v1_16_R1.TileEntityChest@6202de0d. Bukkit will attempt to fix this, but there may be additional damage that we cannot recover. is this a known issue? Anything I can do to fix?
This server is running CraftBukkit version git-Spigot-758abbe-2b00831 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
hymm.. i have -jar paper-22_1.16.jar --world-dir worlds after all the akir's flags stuff but it's not understanding the folder flag.. it just spits out all the flags to console and terminates.
what am i missing? >_>
just means the data was misplaced or you have world corruption
or the seed for whatever changed
ask paper @willow topaz as you are using their stuff
i did
they said ask spigot
hymm.. i'll check ma files though
hymm.. even with an empty worlds folder it does it
i was told to use the flag instead of the bukkit.yml setting 'cuz that doesn't work in 1.16 anymore
updateing spigot jar, and retying to verify
spigot does it too... checking log files, it looks like there's been a flag error that's been truncated in console printout... what is-D.. this isn't used or listed in startup args... (investigating)
any idea what event gets called when a villager interacts with a composter? its neither EntityChangeBlockEvent nor EntityInteractEvent
@forest plaza sounds to me like we havenโt yet made an event call for it
I can do it when I get home if you want
Just be sure youโve made a bug report on the JIRA
is there a way to go from nbt data ("minecraft:quartz_stairs[facing=north,half=top,shape=straight,waterlogged=false]") to blockdata? or any existing library's that will map this?
Bukkit.createBlockData(String)
Or something along those lines
I use it for VeinMiner
If I want creepers to explode as soon as they see the player what should I add
I.e. like creeper.xyz
don't know if it's exposed in bukkit
Wdym
you need to set the fuse time to 0 i guess
my server shuts down when i try to go to than citry after i have ready dragon in down i use spigot to run my server over
Just be sure youโve made a bug report on the JIRA
@subtle blade i did, thanks!
how to make skeleton hold a item in his hand
skeleton.swingMainHand(punchBow); with this?
?
it's definetly for hands as well
nope
ohh its there
i have made this custom kinda bow
so how can i make skeleton hold it in its main hand
for how long you know java?
learning
well
yeah
lol
i just got a bit confused
@karmic stone what Fr33styler means is .setItemInMainHand(punchBow)
where can I get the most recent version of spigot? Im having attributes issues and apparently it was fixed
and I put it in a .bat file right?
no?
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
bet Ill learn how to use them
it's very simple you just need java and Git
The wiki article has instructions
indeed thanks
@opal bay I copy and pasted your thing and it still doesnt work
๐ข
something must be overriding it
Hi my server keeps crashing whenever a player joins. There's no crash report, console output, anything. Help!
Do you have any plugins installed?
Yes, all are up to date and not putting out any errors on startup
Maybe try it without Plugins then?
MC-191388 is the new meme
Someone here can explain me How I can get the player message using Bukkit Conversation API?
Someone..?
How do I make creepers explode directly as they see the player
you can send here your current code
i was broadcasting a message on line 10, the message was being broadcast, so i know my code was trying to cancel.
lol, 1 min can't paste pics here
@EventHandler
public void onEntityDismount(EntityDismountEvent evt)
{
EntityDismountEvent evt = (EntityDismountEvent) event;
if (evt.getDismounted() instanceof ArmorStand)
{
ArmorStand AS = (ArmorStand) evt.getDismounted();
if (AS.getCustomName().equals("Spectate"))
{
evt.setCancelled(true);
}
}
else if(evt.getDismounted().hasMetadata("NoDismount"))
{
evt.setCancelled(true);
}
}
the player riding the armorstand is in spectator mode, not sure if that matters
Are you sure this check if (AS.getCustomName().equals("Spectate")) is surely equal to the Spectate?
no creepers just explode as they spawn
i had a broadcastMessage right above the cancel and the message was indeed broadcasting
how can i make creepers explode as soon as they see players
Like, before they get close to them?
i tried setmaxfuseticks but it kills them just as they spaw
pro tip, after the first three backticks, put java there so it's highlighted according the syntax.
@zealous lynx Are you using any other plugin that maybe handles EntityDismountEvent?
ohh k
im only using my own plugins and i checked. i just wanted to know if anyone knew if it was a known bug, if not i plan on making a minimal example plugin and submitting a ticket
@winged sparrow i tried that and it just said "java" on the first line, maybe i put a space inbetween the ``` and the "java" on accident, idk but i removed it
public void
ye, i had a space
There ya go :P
see?
Yeah no space after the 3 backticks
Also Gizmo, what version are you working with?
I'd be willing to take a look at it.
1.16.1, it's working in 1.15.2 last time i checked but i haven't checked in a while.
ran buildtools at 12am est.
You know, I can think of a workaround
so can i
Mount the armorstand back into the minecart on a dismount event.
just remount them, but i don't wanna
What causes the armor stand to even dismount, anyways?
Because I was under the impression that entities will stay in minecarts until they break.
it's a player in spectator mode mounted on an invisible baby armorstand
the player is the thing trying to dismount
Why was I assuming there was a minecart involved jesus christ.
Hey, I have an issue with my Minecraft server. On my spigot 1.16.1 server, weeping vines (of all things) grow improperly when bonemealed. does anyone know what could be causing this? It occurs regardless of the plugins I have installed; I even tried making a fresh server file and it still happens. I can't reproduce it in normal minecraft, only in my spigot server.
i didn't even think about making the player spectate the armorstand
oh i know why
because i want them to be able to look around still
just not move in x, y, or z
Canโt you just cancel movement event
That would probably be better.
i don't want glitchy spasms
Might be kinda jittery though
Because players cannot move their position
I mean
Put the players in a barrier box lol
If you don't want them to be able to move at all
It's a clean and simple solution.
other players need to be able to walk where they are
this is for a respawn timer mechanism in a minigame
ya
but so they can't walk around.
so they can look around but not move, until the timer expires then they respawn
What value should i give to this
Around the dead player
I did the whole buildtools thing and it gave me a 1.15.2 spigot server... is there any way to find a 1.16.1 version?
and make sure they're centered inside the point there.
A potionEffect
Make sure to clear those out after they respawn.
new PotionEffect(type duration amplifier)
Just make sure when they die they're on an actual solid block
ok
ill just see if i can prove this is a bug, and if so then i'll submit a ticket, no point trying to work around it, it would be better for everyone if a bug gets squashed
brb
duration in seconds?
Ticks
Yeah that'd be a nice bug to fix, but I mean, it won't exactly translate to what you want.
Because when a player is locked to an armorstand in spectator mode
all i want is the dismount to cancel when i tell it to
Wait, I just got an idea.
@zealous lynx Is the player in spectator when they die?
lol how much are 5 seconds in ticks
and it puts them in the spectator's view of the armor stand?
Just so I understand.
5 seconds in ticks
ohh
Actually nevermind that wouldn't work. Good luck Gizmo lol
lol i didnt knew
For those that uses the latest Dynmap, did you also have issues with web tiles?
thanks fellow gizmo
(with an external web engine)*
Use 0 of you want a level 1 effect
ok
It complains on me using a wrong version but Iโm not sure how to deal with it.
anyone knows a plugin that could edit attributes, lores and add custom effect to armors and weapons?
umm its showing me error, coll please gimme an example
i mean code with example
im getting dumb :!
addPotionEffect(new PotionEffect(PotionEffectType.POISON, 100, 0))
@opal heron my minigame plugin does it, but it's not currently public, needs a lot of refactoring.
[18:16:35 INFO]: 0% completed (0 / 4223782 chunks)...
[18:16:36 INFO]: 0% completed (0 / 4223782 chunks)...
[18:16:37 INFO]: 0% completed (0 / 4223782 chunks)...
is this normal behaviour ? for forceUpgrade
ya unless it stays at zero forever
Is it still at 0? xd
I was impatient
Oh no
I've just confirmed this (https://github.com/Multiverse/Multiverse-Core/issues/2310) on CraftBukkit version git-Spigot-ad703da-e2403a3 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT) (latest)
for me the issue is that structures always generate, and for others, the issue is that they never generate
thats on a new world ?
@rich olive That's interesting. Does this occur only for additional worlds beyond the original 3 (overworld, nether, end)
I haven't tested that yet, that's a good idea. let me check
On a unrelated note, I really hope Multiverse implements the new custom dimension options.
I assume those are implemented under the World interface though
Update
I downloaded the most recent version
ok so it seems the server is only using what's set for generate-structures in server.properties
So you didnโt use Buildtools is what youโre saying
I did
@rich olive it's applying it globally?
yup
Whatโs your /version output?
interesting
1.16.1
Thatโs not your /version output
output?
What's written
I did -jar .... --rev 1.16.1
anyone know what might be causing water to go insanely slow?
It happened randomly, afk, when I got a message from a player saying water is broken
https://cdn.discordapp.com/attachments/576731635807027230/727198321256431636/Badlion_Client_2020.06.29_-_12.24.41.06_Trim.mp4
TPS is 20
Do /version and tell us what's said
bet
What is the version of Spigot you are running? Should be something like git-Spigot-123456-123456
@carmine salmon do you have any plugins that deal with liquid flowing?
I don't think so
is there a better way to get a "safe" location in the nether? I'm trying to make rtp work in the nether but it will always put you on the nether roof since thats the highest y location thats safe. Preferably without having to loop over every block
There's a lot of things that could stick their fingers in this. Try looking in the spigot.yml and see if there are any modifiers for liquid flow.
It happened randomly, while the server was still online
the method highestY does loop through the blocks
pretty sure it uses the heightmap
I don't think the spigot.yml updates when server is running
You can do /spigot reload
-ad702da - e2403a3
Did a restart fix it or does it persist?
We scheduled a restart, so hopefully it does fix it. But I still want to find the root cause, since I don't want it happening again
Thatโs not valid Bruh
well ig the heightmap doesnt matter in the nether anyway
Well I donโt know what to tell you because git-Spigot-ad702da-e2403a3 is an invalid version.
Our version hashes are 6 characters each, not 7
yeah fair enough
@winged sparrow so far it works as intended in 1.15.2, doesn't cancel in my current 1.16.1 build. im going to buildtools now and if it's still bust, then im subitting a ticket.
it doesn't cancel regardless of gamemode btw, also i tested with a minecart and you can't reenter the minecart after
Give it another compile with โrev 1.16.1
ill try
That's really weird Gizmo
Because null attributes were fixed earlier last week
yeah I saw on the forums