#forum-feed

1 messages ยท Page 2 of 1

civic cryptBOT
#

TommyTimbo replied to the thread Server fails to start after switching from vanilla.

1.9.x hasnโ€™t been supported in years, you didnโ€™t install the wrong version of paper, did you?

I am so embarrassed. The control panel my host uses had 1.9 at the top of the version list and my brain saw the 9 and said "yup its that one"

Switched it to 1.19.4 and everything is working.

civic cryptBOT
#

stefvanschie replied to the thread spawnFallingBlock.

You'd first want to remove the blocks in the wall. You can change the block to be airs, to get rid of them with Block#setType. Then you can spawn falling blocks in the same positions with World#spawnFallingBlock(Location, BlockData).

civic cryptBOT
#

bobby29831 replied to the thread Plugin to stop water/lava source blocks from flowing.

If you want to accomplish this with your own plugin, then you would listen to the event BlockFromToEvent, and then you could check if the block had moved was a liquid, and if so, cancel the event.

If you want to just set a world guard flag, select the relevant region, and set the region flags water-flow and lava-flow to false.

Hope that helps.

#

bobby29831 replied to the thread TP Player to another server.

Are you running a paper server with different worlds as different "servers," or are you running some BungeeCord server with multiple different paper servers? (ie. What's your server structure? Your structure changes the answer to this question.)

civic cryptBOT
#

bobooski replied to the thread Error when place IP in my server!!.

I believe enforce-secure-profiles pertains to whether to allow players to join with mods that disables their own chat signing. If enabled, it will prevent players with these mods from joining.

To disable chat signing on the server side, you can install a plugin that does that for you. I haven't found any on Hangar that was intentionally built for Paper, but this one from Spigot ought to do the trick.

Hope this helps.

#

bobooski replied to the thread Timings not cretae paper.

I don't exactly know why regular Timings isn't working, it's some DNS error (domain, IP, or port issue essentially), but the profiler that Paper now recommends is Spark, which should hopefully not cause the same issue. Spark additionally has the capability of saving the data to a file, and the Spark website is capable of using that file-based data to create the profiler panel that you need if you still run into issues trying to use regular Spark.

Hope this helps.

civic cryptBOT
#

LoJoSho replied to the thread Timings not cretae paper.

I would also recommend Spark, but to the main issue, the server your jar is uploading its Timings to was shut down (http://timings.pl3x.net/). You are running PurPur 1.16.5, which is very out of date. You can either move to the Paper jar which uses Aikars site, update your server to the latest version, or patch the 1.16.5 jar yourself to point to another site.

The timings that Aikar runs and that paper uses are still online, https://timings.aikar.co/

civic cryptBOT
#

MeteoraCD2 started a thread called When connecting, the player is not redirected to the "try" path, but to a random server. Why?.

Hello!
log:
[16:02:42 ERROR]: [connected player] Cookie_Herald (/37.21.238.37:61643): unable to connect to server test
io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: ะ’ ัะพะตะดะธะฝะตะฝะธะธ ะพั‚ะบะฐะทะฐะฝะพ: /127.0.0.1:40001
Caused by: java.net.ConnectException: finishConnect(..) failed: ะ’ ัะพะตะดะธะฝะตะฝะธะธ ะพั‚ะบะฐะทะฐะฝะพ
at io.netty.channel.unix.Errors.newConnectException0(Errors.java:164) ~[velocity-3.2.0-SNAPSHOT-256.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)]
at...

civic cryptBOT
#

koshakzzz started a thread called Help, Invalid move player packet received.

Hello, I'd like to ask for help because I'm not sure where else to turn. The problem I'm facing is related to the error messages "Invalid move player packet received" and "Disconnected on accept teleport packet. Was not expecting position data from client at this time." These errors occur when the client or server has an unstable internet connection. When the client sends packets to the server with a value of "N/A" in the player movement variable, the server is unable to process it and kicks...

civic cryptBOT
#

ItsukaHiro started a thread called Does Shift-Click Event of something like this exist ???.

I now using some plugin that disable the ability to move item to most of upper inventory (except all kind of chest). But it's really annoying that instead of going to another available slot in lower inventory, it just return to original slot (mean it's just fully disable Shift-Click - a very convenient and normal thing we all do). So I think it's just setCancelled(true) an event, but I dont know exactly what's the event. I try to make a plugin with Logic:

If ( that event be cancelled)...

civic cryptBOT
civic cryptBOT
#

mEtil started a thread called Minecraft 1.20.

Hey :)
First of all, thanks to all who are working on this project! I run paper on my raspi and its working great and has only improved over the years. I wanted to ask, with 1.20 being out now, when can we expect it working with paper? I saw from the previous versions that it took like a week or smth after release, and thats super fast. WIll that be similar with this update?

#

_11 replied to the thread Minecraft 1.20.

_11

Paper never has any sort of ETA, it's pretty difficult to come up with one. It'll be ready when it's ready.

That being said, yes historically it's usually around 1-2 weeks before builds for a new MC version are released for an average update like this.

#

mEtil replied to the thread Minecraft 1.20.

It'll be ready when its ready, thats for sure, still 1-2 weeks is really quick, props to everyone working on it.

civic cryptBOT
#

xiaomin started a thread called MoreTriggerCommands - Event command | Custom commands.

Introduction:
Event-triggered command
Event triggers: Custom commands available/not available, player health below a certain amount, log in to server, respawn, death, resource pack related, open backpack, close backpack, lie on bed, leave bed, throw an item, switch world, etc. More events are currently under development.
We are planning to include all possible events.

civic cryptBOT
civic cryptBOT
#

Simmo started a thread called Got banned from discord server??.

I posted this today:

If anyone is looking for a chill survival server, I'm reopening my 1.16.4 server at 12pm CST today! I figured i'd invite anyone if interested! https://discord.gg/VWwWD5VY

and instantly got banned... I read the rules and it said nothing about posting discord link. Someone said it was a fishing link, it's literally a discord.gg.

civic cryptBOT
#

sharkdragon37 started a thread called What Happens If I Change My Server Type?.

So right now, I have my server type as a regular 1.20 vanilla server, but once Paper is updated to 1.20, I would like to change it. When that happens, what would happen to my MC world?

civic cryptBOT
#

welsiago replied to the thread What Happens If I Change My Server Type?.

So right now, I have my server type as a regular 1.20 vanilla server, but once Paper is updated to 1.20, I would like to change it. When that happens, what would happen to my MC world?

In my experience, with prior versions, I don't think there should be an issue. You may have to restructure the nether and end world folders for the server environment. Typically in a server they are side by side with the overworld with a name suffix as so:

world
world_nether
world_the_end

#

Machine Maker replied to the thread What Happens If I Change My Server Type?.

The server should automatically handle moving dimensions to the right folder. But always make sure you have a backup. Do note that if you want to go back to vanilla, you will have to do some manual moving of folders.

civic cryptBOT
#

TheAwokens started a thread called PaperMC Discord Ban.

Hello,

I will be straight forward as possible. So, yesterday I attempted to join the PaperMC Discord after not being a member on there for awhile. The join of course failed, so just to confirm if I could join or not, I pasted the invite link into my private servers discord chat to see if it says I am banned from the guild. Well what do you know, I am banned from it, I was puzzled at first and then really confused. What could I possible have done while not being in the Discord server. Was I...

civic cryptBOT
#

electronicboy replied to the thread PaperMC Discord Ban.

there is no "awokens" in the ban list

civic cryptBOT
#

ItsukaHiro replied to the thread Does Shift-Click Event of something like this exist ???.

Could you elaborate on what your issue is? Your idea of the code looks good to me.

Well. I'm now using Weapon Mechanics plugin, and they have an option named: Disable_Use_In_Crafting. When it's true, you will not able to move the item (in my case, the gun) to any upper inventory related to crafting (crafting table, anvil, grindstone,...) but still allow to move to chest inventory (normal, trap, ender, shulker). But it's will also disable the ability to shift-click to fast move item. Like...

civic cryptBOT
#

TheAwokens replied to the thread PaperMC Discord Ban.

there is no "awokens" in the ban list

Well here is my Discord ID just in case: 94265396818890752 and my tag before the Discord update: Awokens#1134

civic cryptBOT
#

exocomp47 started a thread called no xp.

Since upgrading to 1.19.4 I have no xp in the bar, and no xp number. Orbs make sounds but xp never accumulates. Is this a known issue?

civic cryptBOT
#

pearlcz replied to the thread Minecraft 1.20.

Bude pล™ipraven, aลพ bude pล™ipraven, to je jistรฉ, pล™esto 1-2 tรฝdny jsou opravdu rychlรฉ, rekvizity pro kaลพdรฉho, kdo na nฤ›m pracuje.

You Can use spigot for some time and after paper 1.20 hasiฤi been released you switch it to paper.

civic cryptBOT
#

AJ4Y replied to the thread Minecraft 1.20.

=

You Can use spigot for some time and after paper 1.20 hasiฤi been released you switch it to paper.

I use the BuildTools if this is what your referring to? The official spigot release isn't out... Correct me if I'm wrong :)
https://hub.spigotmc.org/jenkins/job/BuildTools/

civic cryptBOT
#

AJ4Y replied to the thread what's this and how do i get rid of this.

Your log contains an IP maybe remove this if your problem is fixed, not much anyone can do with it although it's better to be safe then sorry right?

A couple things you should try...
Re-download your server software.
Check the date/time on your server.
Make sure you allow the server through your firewall. (if your on windows when you first started it should have prompted you)
Check downdetector.com and make sure the the authentication servers are not down.

I could list a thousand things...

civic cryptBOT
#

themrsung started a thread called AsyncChatEvent chat formatting.

Hi. I'm new to making plugins, and want to write some code that formats the chat message when typed. For example,

Before: <abc> hello! &6this is gold text!
After: [rank] abc: hello! this is gold text!

I have made an event handler for AsyncChatEvent, but I'm stuck here.

@EventHandler
public void onPlayerChatEvent(AsyncChatEvent event) {
   event.message().replaceText(new TextReplacementConfig() {
       @Override
       public @NotNull Pattern matchPattern() {...
#

Tennessine started a thread called Why did Paper change to Gradle?.

Just curious, starting in 1.17 the build tool was changed from maven to gradle. I use Maven and haven't tried Gradle yet. Did you guys change it because it's faster?

#

MiniDigger replied to the thread Why did Paper change to Gradle?.

we used gradle because its easier to write our tooling for gradle, we have a custom gradle plugin called paperweight to do all the heavy lifting for us.

civic cryptBOT
#

Tennessine replied to the thread Why did Paper change to Gradle?.

we used gradle because its easier to write our tooling for gradle, we have a custom gradle plugin called paperweight to do all the heavy lifting for us.

That makes sense. Sorry, I meant to put this thread in discussion

civic cryptBOT
#

Tennessine started a thread called Paper for version 1.20.

If anyone doesn't want to wait for Paper for version 1.20 to be finalized, here is the official link to the latest development build. What this does is download the paperclip (the tool that allows people to use paper without it being illegal) for the 1.20 development branch in the GitHub repo. As far as I know, it will automatically use the latest commit (latest version of the development branch). Not exactly sure how Paperclip works, but it's cool

civic cryptBOT
#

stefvanschie replied to the thread PaperMC Discord Ban.

I've checked the logs and the ban list and you were never banned. This seems like an issue with your client or Discord itself, but unfortunately nothing we can help with.

#

stefvanschie replied to the thread Minecraft 1.20.

BuildTools is the only way Spigot dsitributes their server files, the file you get from there is the "official" release.

#

stefvanschie replied to the thread no xp.

Have you tested this without plugins? This doesn't seem like anything Paper would do and I cannot reproduce this myself.

civic cryptBOT
#

AJ4Y replied to the thread Minecraft 1.20.

BuildTools is the only way Spigot dsitributes their server files, the file you get from there is the "official" release.

My bad, I was under the impression that they offered pre-compiled jar files on the "official" release but yes your correct. Thanks for correcting me :)

civic cryptBOT
#

AJ4Y replied to the thread no xp.

Check if you have a texture pack interfering with the XP bar? You could be accumulating XP, just can't see it.

civic cryptBOT
#

iSadCorAnn started a thread called Timed Out problem.

So I just started my server this morning and after it finished starting I tried joining but I keep getting Timed Out before I even got on the server and I can't run any commands in the console either. Does anyone know what might be the problem?

Here are my logs.

[10:31:36 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-79 (MC: 1.17) ---
[10:31:36 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[10:31:36 ERROR]...

civic cryptBOT
#

Tennessine started a thread called Best server programming language?.

Asking the developers: If you could easily convert Paper into any other programming language and make it work with the client. Would you change it and what would you change it to? Kotlin? C++? Just curious because I might try to make my own server software from scratch for another game.

civic cryptBOT
#

MiniDigger replied to the thread Best server programming language?.

It doesn't matter.
Choose what you are most comfortable with. I have seen server implementations for Minecraft in virtually every language.

civic cryptBOT
#

Tennessine replied to the thread Best server programming language?.

It doesn't matter.
Choose what you are most comfortable with. I have seen server implementations for Minecraft in virtually every language.

Awesome. I just didn't know if one was better for whatever reason over another

#

AJ4Y replied to the thread Timed Out problem.

It seems that the server is having trouble processing chunk updates, which could be due to insufficient server resources. I suggest trying the following steps:

Create a new Minecraft server without adding any plugins or making any configuration changes.
Make sure you can join the server after running it and accepting the EULA.
If the issue still persists, it's possible that you have a lack of resources or a problem with your internet connection.

Hope this helps!

civic cryptBOT
civic cryptBOT
#

iSadCorAnn replied to the thread Timed Out problem.

Thank you for your help! I have figured out the problem :)

civic cryptBOT
#

Preon started a thread called Looking for collaborators for a Minecraft MMO..

I'm a pretty experienced programmer looking to create an advanced MMO experience in Minecraft.
This is too big of a task to do alone, but with the right people I know we can bring this idea to life.

I have been programming for years, but Minecraft development is relatively new to me. However, I am a quick learner.

Below is a list of ideas for the project (this is WIP, everything is subject to change and things can be added or removed)

Dynamic Questing System: Quests will be triggered...

civic cryptBOT
#

Tinkuwu replied to the thread Looking for collaborators for a Minecraft MMO..

So the best way to go about this is obviously a quest plugin and a datapack to change world generation. Unfortunately, I'm not experienced in programming for Minecraft, but I have hosted servers with a similar idea. I do recommend using the ProRPGItems plugin to have a more diablo-like looting system. You can also pair that with ProSkillAPI for player leveling and custom skills.

Otherwise making a world from scratch would be a very large undertaking, as you'd have to make a 1:1 scale of a...

civic cryptBOT
#

Tinkuwu replied to the thread vulnerabilities remain?Still replicable.Infinite String Farm in Paper 1.19.4.

In the version 1.19.4, the method of using water to break a Tripwire that is disabled by using Shears to infinitely duplicate String is still valid. This works on the Paper server. I believe this is a serious bug and I hope the developers of the Paper server can take it seriously. I have attached a video link for your reference below.

What is the gain from having infinite string? Infinite bows? Who cares? Bows are extremely underpowered compared to netherite gear.

#

Tinkuwu replied to the thread Mojang chat report.

yes.
however, in the future, the client might reject such messages, there is already a client setting that comes close to this.
fighting mojang is never a good idea, you will loose.
the decided that they want to improve the player safety (and I and many others agree with them), so we will see more work in this area, especially if people circumvent the system.

not that any legitimate player has anything to fear, the only people that are are angry are scared about this because they have been...

#

Tinkuwu replied to the thread Mojang chat report.

what kinda data does this new system collect from you that is worth a penny? lol

You do realize that's not how data collection works, right? It's a mass collection of data that is sold to the highest bidder, where our data alone is not work much, but a giant pool of data is worth literal millions, because advertisers can then see what people are interested in, knowing your IP address, they know the rough location at where you reside. If you have a static IP, that IP could then be used for...

civic cryptBOT
#

Andre_601 replied to the thread Mojang chat report.

I know I'm a year late, but that is completely untrue. I play Minecraft with friends, and we're all adults. Why should we potentially be banned because we decided to have a bit of trolling fun with a sign that had a swear word on it? Also, who is Mojang to tell me what I can and cannot do with my own server? I own the server, therefore, as long as I'm not breaking any laws, I should be able to do whatever I wish to do with it. That includes allowing people to swear.

I feel like you get...

civic cryptBOT
#

exocomp47 replied to the thread no xp.

No texture pack and the only plugin is dynmap. I can't enchant anything so I don't think it's just visually missing.

Very strange. Local single player is fine. Maybe my world is corrupted.

civic cryptBOT
civic cryptBOT
#

kqfflo replied to the thread Looking for collaborators for a Minecraft MMO..

Hi!

This is an very interesting idea, and I do not want to be the killjoy - however all bullet points you shared perfectly describe the features of EliteMobs. Even though the name might be a little misleading.

Dynamic Questing System: โœ…
I am considering implementing AI technology -> โœ… initial work is imlemented
Randomly generated dungeons.
Diablo-like Loot systems, including transmog for customizing the look of equipment. In parts, you might want to see their approach โœ…
Massive raids with...

civic cryptBOT
#

stefvanschie replied to the thread Best server programming language?.

Which one is the best depends on what you want to achieve. Certainly some languages will be able to achieve certain goals better than others, but that depends on what you want.

civic cryptBOT
#

Tennessine replied to the thread Best server programming language?.

Which one is the best depends on what you want to achieve. Certainly some languages will be able to achieve certain goals better than others, but that depends on what you want.

I just want a high-performance server with an API for plugins (kind of like Spigot and Paper, except for another game)

#

electronicboy replied to the thread Best server programming language?.

At the end of the day, Java is close enough to being on par performance wise with other languages, that that is really not a consideration, even js has some runtime environments which can offer close to native performance last I knew.

biggest consideration is accessibility, the community around paper knows Java, and so ditching that would generally be akin to shooting oneself in the foot. Not touched C++ in a few years, looks like rust might be slowly nibbling at the edge of that space, to...

#

EterNity replied to the thread Paper & Velocity 1.20.

LETS GO!!!!!!!!!!!!!!!!

#

mathias replied to the thread Paper & Velocity 1.20.

Awesome! The 1.20 update from PaperMC is here with new features, API changes, and some old stuff being removed. Time to back up and get coding!

civic cryptBOT
civic cryptBOT
#

Chto_Delat started a thread called No other files are created, only the cache folder..

Hello, I hope you can help me.
What is my problem: I am creating a new server, namely: 1 create start.bat ( @java -Xmx2048M -jar server.jar nogui )
2 download paper 1.16.5
3 launch.
Conclusion: I have a cache folder, and there are 2 files in it: mojang_1.16.5 and patched_1.16.5. I open 1 file: an empty server is created without plugins and that's it.

I open file 2: nothing happens.
Also, when creating a server, the console itself closes for me.
Please help me!

civic cryptBOT
#

LoJoSho replied to the thread Paper & Velocity 1.20.

Love to see it <3

civic cryptBOT
#

CarlosDiamon started a thread called How to get the killer of any player if this is an entity [EntityDeathEvent].

I was modifying the death messages when a player is killed in any case (by another player, entity or crash) and I was seeing that the event.getEntity().getKiller(); it only returns if it is a player and null if it is not clearly, seeing in forums some use the EntityDamageByEntityEvent and check if this entity dies with the damage received (it would work for me but if it dies by falling there it does not work for me), I want to know if it can There is a better option.

civic cryptBOT
#

Tennessine replied to the thread Best server programming language?.

At the end of the day, Java is close enough to being on par performance wise with other languages, that that is really not a consideration, even js has some runtime environments which can offer close to native performance last I knew.

biggest consideration is accessibility, the community around paper knows Java, and so ditching that would generally be akin to shooting oneself in the foot. Not touched C++ in a few years, looks like rust might be slowly nibbling at the edge of that space, to...

civic cryptBOT
#

Primeltoaster started a thread called Crops not growing although players are relatively close (and view distance is high).

Hey, not sure whether this is a paper-related issue but I hoped somebody knew something to help me out either way. I googled for a while but only found people complaining that crops don't grow when players are far away. The problem on our server is that they're not growing when we're pretty close actually. So they did grow all the time while we were building the part around the farm (first screenshot, Chunk -5 4 7) and also in another building quite close (Chunk -2 4 -1). Now ever since we...

civic cryptBOT
#

KtheVeg started a thread called Is it possible to force Paper to run with "incompatible" versions of Java?.

I've got openjdk-17 installed on my arm-based linux device. Running java --version reports that java version is openjdk 17-internal 2021-09-14.

Launching the server shows the following text:
Starting org.bukkit.craftbukkit.Main
Unsupported Java detected (17-internal). You are running an outdated, pre-release version. Only general availability versions of java are supported. Please update your java version.

I've tried updating (apt upgrade openjdk-17), and it reported it to be the latest...

civic cryptBOT
civic cryptBOT
#

Entity_616 started a thread called Sculk Sensor Bug?.

When I upgrade to 1.20, all Sculk sensors in the map are reporting similar errors
[Server thread/ERROR]: No key selector in MapLike[{event_delay:0,event_distance:0.0f,range:8,source:{pos:[I;910,-50,-36],type:"minecraft:block"}}]
I don't know if this is a paper issue or a problem with the original Minecraft

civic cryptBOT
#

KtheVeg replied to the thread Is it possible to force Paper to run with "incompatible" versions of Java?.

it does not seem like installing other versions is available as the setup I'm using isโ€ฆ non-standard.

It's a bit of an experiment where I ran it using Termux on my android phone, but it also is very helpful, like having portable servers that I can start up. My phone seems to run vanilla servers really well (no stuttering or lag) but I wanted to still have the ability to start it faster and use certain plugins (like Geyser & Floodgate)

Is there a flag or config that I can use to bypass...

civic cryptBOT
#

pristineslayer started a thread called Error on Linux when installing paper.

I run java -jar paper.1.12.jar command

It starts "Downloading original Jar" and then returns java.io.IOexception server returned HTTP response code 403.

This makes zero sense as I have already installed the file so why is it trying to pull it from a web server?

#

Machine Maker replied to the thread Error on Linux when installing paper.

It has to download the original vanilla jar in order to apply the binary patch. So it has to connect to mojang's servers to download it. It would be illegal to host it elsewhere. The jar you download from the downloads page/api isn't the server, it creates and runs the server.

#

pristineslayer replied to the thread Error on Linux when installing paper.

i put the original vanilla jar in the same file but it didnt work. It still wants to download the jar.

#

Machine Maker replied to the thread Error on Linux when installing paper.

I think it expects the jar to be named mojang_1.12.2.jar inside a cache folder inside the root of your server.

#

_11 replied to the thread Error on Linux when installing paper.

_11

It is a massive security issue to run servers as root, and is almost always unnessecary. Do not run servers as root. Given root permissions solved it, that means you've got your file system permissions misconfigured, a trivial problem to solve.

civic cryptBOT
#

Machine Maker replied to the thread Sculk Sensor Bug?.

It's not a huge issue, but a patch that fixed that was accidentally dropped during the 1.20 update. There's an open pull request to add it back here.

civic cryptBOT
#

pristineslayer started a thread called Error Velocity BungeeGuard Paper 1.12.2.

[21:23:05 ERROR]: Unable to read/load/save your velocity.toml. The server will shut down.
java.lang.IllegalArgumentException: No enum constant com.velocitypowered.proxy.config.PlayerInfoForwarding.BUNGEEGUARD
at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_372]
at com.velocitypowered.proxy.config.PlayerInfoForwarding.valueOf(PlayerInfoForwarding.java:3) ~[velocity.jar:1.0.10]
at com.velocitypowered.proxy.config.VelocityConfiguration.read(VelocityConfiguration.java:426)...

#

pristineslayer started a thread called Velocity BungeeShield Paper 1.12.2.

[21:23:05 ERROR]: Unable to read/load/save your velocity.toml. The server will shut down.
java.lang.IllegalArgumentException: No enum constant com.velocitypowered.proxy.config.PlayerInfoForwarding.BUNGEEGUARD
at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_372]
at com.velocitypowered.proxy.config.PlayerInfoForwarding.valueOf(PlayerInfoForwarding.java:3) ~[velocity.jar:1.0.10]
at com.velocitypowered.proxy.config.VelocityConfiguration.read(VelocityConfiguration.java:426)...

civic cryptBOT
#

tyher228 started a thread called Doesn't redirect to private server.

Logs:

[06:42:42 ERROR]: [connected player] adamcowell14 (/my ip:49893): unable to connect to server private
io.netty.channel.ConnectTimeoutException: connection timed out: d1.belarusnodes.pro/95.216.123.84:25605
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe$2.run(AbstractEpollChannel.java:613) ~[Velocity.jar:3.2.0-SNAPSHOT (git-e0cf2e21-b257)]
at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98) ~[Velocity.jar:3.2.0-SNAPSHOT...

civic cryptBOT
#

Karl007 started a thread called PaperMC 1.20, but missing cherry and sniffer stuff ๐Ÿ™.

Hi.

I updated our PaperMC Server 1.19.4 to the 1.20.1 version and I want to test new stuff:

/give XXX cherry_sapling
/give XXX sniffer_egg

and all I tried (_wood, _log etc) returns Unknonw Item name.

Did I missed something to update?

Also /locate biome minecraft:cherry_grove gives me a place somewhere, but not at a cherry_grove.

Any suggestions?

civic cryptBOT
civic cryptBOT
#

Shift148 started a thread called Trying to update my papermc server running in a docker container.

Hello yall, I followed a tutorial not too long ago for 1.19.4, . this is essentially how my server is setup, I am trying to update to 1.20 and just using the pull command and restarting the server isnt working even though the pull command itself works and says its up to date when i use it again. its still stuck in 1.19.4 and I dont know what I should do. if it is relevant i am running this on a raspberry pi4 8gb.

civic cryptBOT
#

lukanot_mc started a thread called Do it is Possible To Create One Time Command Easily?.

Do it is Possible To Create One Time Command, For Example: "/example" and after any user runs that command, Then Command Will Do Something And Command Will Not Longer Be Usable (for any player in the server)

#

Santimalanti started a thread called How do I enable gravity block duping on my paper server?.

We have recently built a gravity block duper at an end portal frame in our survival world. For some reason, it is not working. We know this is an issue with paper and not the machine through testing other server types. If anyone knows how to enable gravity block duping on a paper server, please help us!

civic cryptBOT
#

RobotMan replied to the thread Malware Announcement.

Has the plugin WorldEdit been infected?

civic cryptBOT
#

Silvigarabis started a thread called How to run Paper with Java 17-internal?.

I'm trying to start the Paper server version 1.20.1 in Termux (an Android program that provides a linux-like environment), but it refuses to start because I'm using an "unsupported version of Java".
I tried downloading version 1.8.8 of Paper and it started successfully. However, 1.20.1 fails to start due to the above reasons.
Is there a way to have Paper continue the startup without checking the Java version?

There is a short log:

Downloading mojang_1.20.1.jar
Applying patches
Starting...

civic cryptBOT
#

uweb started a thread called Can't register command.

I've been trying to register a command for a few hours now. I entered this in the paper-plugin.yml (I also tried it with a plugin.yml):
commands:
xyz:
description: "desc"
usage: "/xyz"

and in the onEnable() method this:
getCommand("xyz").setExecutor(new XYZCommandExecutor());

When I start the server I get the error
"Cannot invoke "org.bukkit.command.PluginCommand.setExecutor(org.bukkit.command.CommandExecutor)" because the return value of...

#

Machine Maker replied to the thread Can't register command.

Commands cannot be registered in the paper-plugin.yml. You have to handle registering them yourselves. If you donโ€™t want to do that, just stick with โ€œplugin.ymlโ€. Support for that isnโ€™t going away anytime soon.

civic cryptBOT
#

uweb replied to the thread Can't register command.

argh, i didn't delete the paper-plugin.yml.
It's working now, thanks!

civic cryptBOT
#

Machine Maker replied to the thread How to run Paper with Java 17-internal?.

No, paper doesn't provide an override for that. This check was added by upstream (spigot) to prevent using the -ea versions of java 17. I'm assuming -internal builds fall into that same category of not guaranteeing that all official Java 17 API will be present, which is why the check was added in the first place. You can patch Paper yourself to remove that check, or find a way to install a non -internal version of Java 17.

#

Machine Maker replied to the thread Do it is Possible To Create One Time Command Easily?.

I'm assuming you are asking from a non-development perspective as this is in the Help forum, not the Plugin Development forum. Something like this could probably be done by a third-party plugin which integrated with a permissions plugin to revoke permission for a command after it was used, but there is nothing natively in Paper which would provide this functionality.

civic cryptBOT
#

Reajox started a thread called I'm having trouble to connect to the server due to plugins?.

This is the message I get when I have my plugins in, and if I remove my plugins I can join perfectly, but my plugins is what I have my saves of coords and different things. Is there any fixto this?

civic cryptBOT
civic cryptBOT
#

stefvanschie replied to the thread PaperMC 1.20, but missing cherry and sniffer stuff ๐Ÿ™.

Try using /minecraft:give XXX minecraft:cherry_sapling. It might be that another plugin has overridden the /give command and doesn't support the new items yet.

civic cryptBOT
#

AdminSonic started a thread called How to run mc server whith Foila?.

Hello and good time, can you share with me information about the installation and run the new paper fork, Foila (on wondows server}? I need it badly

#

_11 replied to the thread How to run mc server whith Foila?.

_11

All pertinent info is contained in Folia's Github readme. Due to Folia still being in early alpha, highly experimental, and requiring any plugin explicitly support Folia, as a way of gatekeeping Folia to only those who know what they're doing, at this time no Folia builds are published, you need to build Folia yourself.

civic cryptBOT
#

AdminSonic replied to the thread How to run mc server whith Foila?.

All pertinent info is contained in Folia's Github readme. Due to Folia still being in early alpha, highly experimental, and requiring any plugin explicitly support Folia, as a way of gatekeeping Folia to only those who know what they're doing, at this time no Folia builds are published, you need to build Folia yourself.

Thank you, I did this, but I failed to run Foila. I am actually a minecraft developer, and my server sometimes suffers from TPS drop due to the number of open chunks and...

#

_11 replied to the thread How to run mc server whith Foila?.

_11

Sounds like you're CPU bottlenecked then, in which case unless you're on a top of the line CPU, Folia won't help much anyways. How are you hosting the server (i.e. home hosting, shared hosting (minecraft specific), dedicated server), what CPU are you on, and what's your average concurrent playercount?

civic cryptBOT
civic cryptBOT
#

Andariel started a thread called PaperMC 1.20.1 #43 - Users are not able to use signs.

Hi everyone,
a normal user is not able to use signs as intended.

The user is able to craft and place the sign, but if he tries to type something on it, it will not appear and the sign will still be empty.

I searched for properties, which will prevent this, but canยดt find.

Please help

civic cryptBOT
civic cryptBOT
#

Andariel replied to the thread PaperMC 1.20.1 #43 - Users are not able to use signs.

Thanks.

Problem is caused by CMI-9.6.0.4. There is a Change in MC-API and it seems to be a known issue.

So I will have to wait for newer Version wir bugfix.

Cheers

civic cryptBOT
#

Kedon started a thread called player unable to join (packet_handler error).

Hello :)

When a player try to connect to my Server my console spamm this error (and does not stop to spamm until i stop connecting)

paste.gg

I just saw at top of the log this could be a viaversion error

#

mja00 replied to the thread player unable to join (packet_handler error).

Please report this on the Via support Discord or open an issue on the relevant GitHub repository

civic cryptBOT
#

xGlorniak started a thread called My server cant load world.

Hi my minecraft server can't load the world, and when it wants to load it automatically restarts because of not enough ram and I have 2gb. If you know the problem then write on my email mrozmateusz111@gmail.com

civic cryptBOT
#

stefvanschie replied to the thread My server cant load world.

It seems like you're trying to load a world from a newer version on an older version. Backporting worlds to older versions is not supported.

civic cryptBOT
#

AGiraffeXD started a thread called Setting Up Velocity.

How do you set up velocity I am having a difficult time understanding it would I just put it in the mods folder for minecraft??

civic cryptBOT
#

stefvanschie replied to the thread Setting Up Velocity.

Velocity is a proxy for minecraft servers: it connects multiple separate servers together and allows players to move between them. Velocity works as standalone software, you can't put it in your Minecraft mods folder. You need to create a server that runs Velocity and set up at least one additional Minecraft server to link to Velocity.

civic cryptBOT
#

Hanprogramer started a thread called How to store data globally?.

I need to store some specific custom items. Items created using commands by admins, they contain some items inside. Imagine custom lootbags.

How would I go about storing it in commands?
Like
/lootbag give <Name>
/lootbag register <Name>

civic cryptBOT
civic cryptBOT
#

Machine Maker replied to the thread How to store data globally?.

Is this a Plugin Development question? If so, I'll move it to the right forum.

If you want to have "names" for a collection of items that is persisted across a server restart, you will need some sort of extra storage, whether that is a database you want to create and query/update or just plain text file that stores itemstacks serialized as bytes. Then store a "name" for the collection of items that can be set when you run /lootbag create <Name>. Then you can use the name elsewhere to get an...

civic cryptBOT
#

Jolunas started a thread called Help, Exception ticking world.

I got this constant crash

java.lang.IllegalStateException: Already retired
at io.papermc.paper.threadedregions.EntityScheduler.retire(EntityScheduler.java:66)
at net.minecraft.world.entity.Entity.retireScheduler(Entity.java:4711)
at net.minecraft.world.entity.Entity.setRemoved(Entity.java:4696)
at net.minecraft.world.entity.Entity.remove(Entity.java:698)
at net.minecraft.world.entity.LivingEntity.remove(LivingEntity.java:760)
at net.minecraft.world.entity.Entity.discard(Entity.java:680)
at...

civic cryptBOT
#

majlitechmp4 started a thread called ShortenGamemode.

ShortenGamemode

spigot
![paper]

Why does this plugin exist?

This plugin exists, because I couldn't find a small and lightweight plugin to do this.

What versions does this plugin support?

  • Paper 1.13 - 1.20
  • Spigot 1.13 - 1.20

What is the functionality of this plugin?

The plugin aims to be simple in use, while being very customizable. It's features include:

Just take a look at the config and messages file...

civic cryptBOT
#

tetratheta started a thread called How to ensure Player loss at least 1 health?.

In EntityDamageEvent, there is getDamage() and getFinalDamage(). But even though there is setDamage(double), there is no setFinalDamage(double) or any similar method.

I want to make damaged entity, in this case Player, loss at least 1 health. I can't do that with setDamage(double) because that damage can be less than 1 after damage reduction calculation, which makes the player don't loss any health at all, just making damage tilt and damage sound only.

Here is current code of modifying...

civic cryptBOT
#

wenzhan replied to the thread vulnerabilities remain?Still replicable.Infinite String Farm in Paper 1.19.4.

What is the gain from having infinite string? Infinite bows? Who cares? Bows are extremely underpowered compared to netherite gear.

That's a bad statement,Synthetic wool can be reproduced without restrictionsd indefinitely

civic cryptBOT
#

Killortree started a thread called Having some lag issues, any recommendation?.

I have a server with 20 plugins and some picks with 20-30 players, in those picks the server lags extremely (2-11tps)
I am not the best in this matter so it could be a silly thing, I will leave timings right there.

https://timings.aikar.co/dev/?id=18c8fa72b1994eb9a4d3121cd4abf421

Plugins:
AnimatedScoreboard, DecentHolograms, Essentials, FastAsyncWorldEdit, LuckPerms, PlaceholderAPI, ProtectionStones, Quests, ServersNPC, ShopGUIPlus, Shopkeepers, TAB, ThrowableFireballs, Vault...

civic cryptBOT
#

Karuho started a thread called Doesn't show block texture of version 1.20.

Today I installed the build #55, and if I go to the blocks section and try to pull out a cherry sapling, for example, it shows me a stone. The same goes for any cherry tree items, Sniffer or the new archeology items etc. It only shows me correctly the bamboo blocks and the camel.

On the other hand, if I try to get a block or item with the give command, the mob or block comes out with a name but with the texture of a generic block.

civic cryptBOT
#

Karuho replied to the thread Doesn't show block texture of version 1.20.

Can you replicate this issue without any plugins and on the vanilla client?

If I create a single world, every block and entity works correctly. The problem is when using paper :/

civic cryptBOT
#

Machine Maker replied to the thread Doesn't show block texture of version 1.20.

If I create a single world, every block and entity works correctly. The problem is when using paper :/

I meant replicate it on a paper server without any plugins and using the vanilla client. Not test it in singleplayer.

#

Karuho replied to the thread Doesn't show block texture of version 1.20.

I meant replicate it on a paper server without any plugins and using the vanilla client. Not test it in singleplayer.

I'll try to see what happens

civic cryptBOT
#

stefvanschie replied to the thread Having some lag issues, any recommendation?.

Some areas have quite a lot of entities, for example the area around 0,0 has over four hundred entities. Try reducing the amount of entities on your server.

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

TheJohan started a thread called Kick with reason "An internal error occurred in your connection.".

Kick with reasons "An internal error occurred in your connection." and "Internal Exception: java.net.SocketException: Connection reset"
in console write "Timed out"
How to solve (fix)? (sorry for my bad english, im not english)

civic cryptBOT
civic cryptBOT
#

Killortree replied to the thread Having some lag issues, any recommendation?.

Some areas have quite a lot of entities, for example the area around 0,0 has over four hundred entities. Try reducing the amount of entities on your server.

Thanks! Do you know how to do that? As I said I am not the most experienced configurator.

civic cryptBOT
#

PsychicFireSong started a thread called Need help with connection issues.

Hi, I'm currently trying to host a 1.20.1 server with paper for my friends. All setup work is done and ports are forwarded, but my friend from the US and Japan are unable to join (I'm in malaysia), but for some reason my friend jn Thailand can join, and so i can while I'm in a different part of the city. I have tried troubleshooting to no avail, and need help.

civic cryptBOT
#

BucketOfJames started a thread called Unload Chunks on Death Screen.

I've tried to google for a solutions for a while, but with no results. So I wan to ask if somebody knows a plugin that would unload chunks after you die (but before clicking on "Respawn". On death screen you still see your death spot on the background and all the chunks that were loaded are still loaded. And because the chunks are loaded... items will despawn. I really want to get rid of this problem. I dislike it because even if you have maxed armor and endgame loot at an AFK farm, and for...

civic cryptBOT
#

Entity_616 started a thread called Chunk error during version update?.

When I upgraded the server version from 1.19.4 to 1.20, there were serious chunk errors in the neather and the end
This issue seems to only appear on paper, and the old and new chunks in the vanilla server can naturally transition๏ผˆWorld of the same backup๏ผ‰

civic cryptBOT
#

stefvanschie replied to the thread Having some lag issues, any recommendation?.

There's not really one way to do this, you probably want to figure out why there are so many entities to begin with. Try going to the area and seeing if there maybe are large mob farms, many entities that can't despawn due to wearing armor or holding items, etc. Depending on the cause, you can decide how to get rid of them. If there are a lot of entities holding items, then you can probably just kill them right away. If there is a large mob farm, then you'd probably want to scale it down (or...

civic cryptBOT
#

Killortree replied to the thread Having some lag issues, any recommendation?.

I have a survival server so I guess it would be reducing the amount of farms and how large they are. I also tried changing things in bukkit and spigot yml.

Are the entities the only major cause of lag?
How can I know where the majority of the mobs are looking at the timings?

Thanks!

civic cryptBOT
#

MkdirGit started a thread called i'm trying to create config.yml to my plugin.

i had a bit of issue with trying to put my config.yml in the plugin folder,
wait, how to create for the plugin folder?
i would like to get basic help / template to look on.

civic cryptBOT
#

MkdirGit replied to the thread i'm trying to create config.yml to my plugin.

Thanks for a quite response!
i found a way, just place in /resources
file called config.yml
and then add this piece of code:
if (!getDataFolder().exists()){
getDataFolder().mkdir();
saveDefaultConfig();
}

Explained
if The data folder of the plugin in /plugins folder not exists,
just create the folder { mkdir (-: }
and save the config from /resources at the folder.

civic cryptBOT
#

tetratheta replied to the thread How to ensure Player loss at least 1 health?.

https://www.spigotmc.org/threads/cant-set-an-entities-health.233686/
^- based on this spigot forum, try:
p.setDamage(DamageAmount)
and try one method at the time to not crash your server.

I read the spigot forum article. Unfortunately, I think it doesn't provide useful information to me.

Like I said, The whole purpose of doing these, including use of ensureDamage() method, is Making sure the player takes at least 1 damage.

//Get the entity's GENERIC_ATTACK_DAMAGE attribute...

civic cryptBOT
#

or1k started a thread called HardCore-Beta-1.8 Plugin.

This plugin adds new mechanics to the game.
When you die, one heart is taken away from you forever. You can restore the heart with a "magic" potato. But to get this magic potato is very difficult.

  1. Reduced chance to drop potatoes from one bed. You have grown potatoes on a bed and you collect them. The chance of one potato being dropped is 30%. The chance of two potatoes falling out is 70%. You never get 3+ potatoes.
  2. The chance of getting a "magic" potato is 1%. This makes the game much...
civic cryptBOT
#

MkdirGit replied to the thread vulnerabilities remain?Still replicable.Infinite String Farm in Paper 1.19.4.

What is the gain from having infinite string? Infinite bows? Who cares? Bows are extremely underpowered compared to netherite gear.

That's should be fixed, if not there is a trade with the Journeyman-level fletcher villagers buy 14 string for 1 emerald.
from emerald there is a lot of staff to go,
and any type of item dupe bug should be fixed,
no care what.

civic cryptBOT
#

MkdirGit started a thread called how to display title to player?.

Hello visitor,
i'm trying to create login system, so as a start i'm trying to display in the title "welcome to the server!"
(after a subtitle "run /register <password> <password>")
this is my code:
@EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event) {

     org.bukkit.Bukkit.getLogger().info("Player info:");
     Player JoinedPlayer = event.getPlayer();

     String IP =...
civic cryptBOT
civic cryptBOT
#

Peng1104 started a thread called Adventure Component.

Adventure Component

Can any one explain for me why does paper even use this components?

I need help to transform this components into spigot components, as they are for some reason present in the new chat packets 1.19+, breaking the manipulation of this packets so that you can have multiple versions support. As for example the SystemChatPacket that is consistent between Mojang and Spigot and in every version since its introduction is broken in Paper. It has the internal serialized chat...

#

electronicboy replied to the thread Adventure Component.

Paper uses adventures components as we needed a more maintained library for handling stuff, and given people where already using it, it made sense;
with spigot, you need to check 2 different fields for components, with paper, you need to check 3 in some of the packets, that's due to the stuff using field lookups rather than actual packet contents, and is on par with the same oddity that spigot made in terms of just adding an extra field; in retrospect, we can probably revert some aspects of...

#

Peng1104 replied to the thread Adventure Component.

About the "dealing with internals is not something that is ever supported and is 100% on you to deal with the caveats of" I totally agree but I am asking help to transform this Paper chat component version into a Spigot / Mojang version I know how to made a IChatBaseComponent into a TextComponent or a TextComponent into a IChatBaseComponent, but I don't know how to make a "Adventure Component" into a TextComponent or a IChatBaseComponent or the opposite, without making a Paper Only Plugin

#

electronicboy replied to the thread Adventure Component.

for paper, PaperAdventure class has methods on it, otherwise, use the gson serialiser and parse that; if you wish to mess with internals and retain compat across platforms, you just need to ensure that you only touch paper specific stuff when on Paper

civic cryptBOT
#

24_Ghostvero started a thread called Server Crashes ,,jline" ,,terminalconsole".

Hello everyone,
i got a Problem with my Minecraft Server. I crashed 2 times now... Here i sent the log from the 3rd July, cause now im using ,,purpur.jar" and not ,,paper.jar". But: Back then, when i was using Paper, i got the 100% Identical error. Have a look at it, and probably someone can help me... I already took a look for that error in the internet, i only found out, that it may be a problem with paperยดs code. I host that MC Server on a Linux Server with Debian 11.
Would be very happy...

civic cryptBOT
#

electronicboy replied to the thread Server Crashes ,,jline" ,,terminalconsole".

your terminal died, i.e. if using ssh to run the server, your ssh session died; you'd wanna run it under something like a terminal multiplexor or something; outside of that, for further support, please contact the applicable parties for the software you're using

civic cryptBOT
#

24_Ghostvero replied to the thread Server Crashes ,,jline" ,,terminalconsole".

your terminal died, i.e. if using ssh to run the server, your ssh session died; you'd wanna run it under something like a terminal multiplexor or something; outside of that, for further support, please contact the applicable parties for the software you're using

Thank you! I looked for some logs of my vServer. I now know, that any ,,cloud-init.log" says, that exactly at these times, where the mcserver crashes, the Server did anything... I immediatly wrote a ticket to the Server hoster...

civic cryptBOT
#

Learting started a thread called Unusual high network usage.

Hello everyone, I encountered some annoying problems that I could not solve for days so Im here.

So here it is: as the player's amounts increase, the network usage becomes more intensive, which is understandable for sure. However, I realized that even when a player is afk, the connection to him/her is using about 2Mbps. Each player has at least 1.5Mbps usage of the network.

Then I tried to be in a void world, with no mobs/entities around me, but surprisingly, '/iftop' network monitoring...

civic cryptBOT
#

Learting replied to the thread Unusual high network usage.

Problem solved, it was the problem of tablist. But I cannot delete this thread.:cry:

civic cryptBOT
civic cryptBOT
#

TerrorByte replied to the thread Can't register command.

Commands cannot be registered in the paper-plugin.yml. You have to handle registering them yourselves. If you donโ€™t want to do that, just stick with โ€œplugin.ymlโ€. Support for that isnโ€™t going away anytime soon.

So then, what is the proper way to register commands? Your docs say that paper-plugin.yml can act as a drop-in replacement:

Similarly to Bukkit plugins, you have to introduce a paper-plugin.yml file into your jar resources folder. This can act as a drop in replacement for...

civic cryptBOT
#

Machine Maker replied to the thread Can't register command.

I think the term "drop in" is a little ambiguous. It probably means that you can have plugins on your server with either (or both).

If you are using a paper-plugin.yml, you have to manually add your commands to the CommandMap (available via Server#getCommandMap). You have to extend Command to create your custom commands. The "paper plugin" system isn't finished (which is why types are still annotated with Experimental), and there is an open PR to better handle command creation.

But if you...

civic cryptBOT
#

K5 YT started a thread called How Can I Give My PaperMC Server an IP.

so I created a minecraft server with paper MC, i didnt use aternos or anything, I did it from sctatch (very hard), but I want to give it an IP, because the person that helped me do it said the IP was localhost or something and thats how im playing on it now, so how can I give it an IP to make it public?

civic cryptBOT
#

PLPLUGIN replied to the thread Zombified villager trades not stacking Like Vanilla.

I went into the the paper-world-defaults.yml file and set the rule to false but it had no effect on villager trades. is there something I'm missing?

In paper.yml under game-mehcanics there is fix-curing-zombie-villager-discount-exploit and it is set to true on default, you can set it to false then restart your server and that should work

civic cryptBOT
#

stefvanschie replied to the thread How Can I Give My PaperMC Server an IP.

You can find your public IP by typing on Google "what is my ip". This is the number that you'd connect to. Note that you should discuss with your ISP if you are allowed to host a server in the first place, many ISP providers do not allow individuals to setup a server. Note that you should also check if you have a static IP address or a dynamic IP address. If the IP address is dynamic, it might change, so people will need to use a different IP address each time. If you don't have a static IP...

civic cryptBOT
#

Honey_Alloy replied to the thread Unable to verify player details.

Please go to your velocity folder to copy the key in the file forwarding.secret and paste it into the paper-global.yml file in the config folder of your sub-server, find the following content in the file paper-global.ymlโ†“
proxies:
bungee-cord:
online-mode: false
proxy-protocol: false
velocity:
enabled: true
online-mode: true
secret: xxxxxxxxxxxx
Paste the key on the secret, and do the same for other sub-servers.:):p:p:p:p

civic cryptBOT
#

alifezithu started a thread called What do I use for colors?.

I'm developing a Paper plugin for 1.19.4, but it seems that both ChatColor classes are deprecated for some reason, so what does paper want me to use?

civic cryptBOT
#

Machine Maker replied to the thread What do I use for colors?.

This is a general introduction to the Component API and links to the full adventure library documentation. This, and minimessage if you really prefer strings, are the supported ways of coloring and styling text throughout minecraft.

civic cryptBOT
#

nuggets started a thread called Maps not working in item frames..

Whenever I place a map into an item frame on my server, it doesn't show, as well as permanently unloading the map I'm holding, how do I fix this?

civic cryptBOT
#

alex_5678 started a thread called Chat verification error.

I have a Network setup with waterfall and paper servers. After upgrading the paper servers from 1.19.2 to 1.20.1, I have a problem that players get kicked with the messages multiplayer.disconnect.unsigned_chat or multiplayer.disconnect.chat_validation_failed.
This is the Kick message from a paper server. They are just send to a fallback server. After that everything works again.

I have no way to reproduce this error because it happens without any context when players chat or use commands...

#

electronicboy replied to the thread Chat verification error.

cancelling packets on the proxy basically messes up the chat chain, pretty much all you can do is move that stuff over to the backend servers to that they retain the chain

#

alex_5678 replied to the thread Chat verification error.

Yes, that is what I have found out reading everything I could find.

But in my case it is not about canceling chat events but using commands without even chatting once.
Normal Chat Events are only canceled in paper on my server.

#

electronicboy replied to the thread Chat verification error.

my understanding is that bungeecord is also broken there too, theres no fix for it atm afaik

#

alex_5678 replied to the thread Chat verification error.

But it is not about just canceling it.
Sometimes when I write something, it works. Then some time later I get kicked.

I already tried deactivating the plugins one by one but maybe there are multiple ones causing this issue.
I just have no idea how I could continue debugging.
Especially because I don't even know what (packages?) exactly cause the problem. Sometimes a /backpack causes kicks.

#

electronicboy replied to the thread Chat verification error.

Yes, because bungee screws up the chat chain whenever you run a bungee comman;

best you can really do atm is use velocity instead of bungee/waterfall

civic cryptBOT
#

alex_5678 replied to the thread Chat verification error.

Oh, thanks!
Now I can reproduce.

Then I have to think about that.
It probably will not be compatible with bungee/waterfall plugins, am I right?

And although I know that many of you work a lot for paper and waterfall, there is nothing you can estimate on when this might be fixed?
(I think this is clearly the worst bug right now when you can not use bungee commands)

#

electronicboy replied to the thread Chat verification error.

velocity is not compatible with bungee/waterfall plugins, no

I have a general theory on why this is happening based on some other discussions, but, don't have a computer able to do the stuff I'd need to diagnose and test and resolve it, so, no real ETA at the moment; freedomchat on the backend servers I think will mitigate the issue, but, not 100% sure

#

alex_5678 replied to the thread Chat verification error.

Thanks. I will just tell my players not to use waterfall commands if not needed.
(Although this will not prevent all of the problems because sometimes you get kicked even when just chatting and not using commands at all)

civic cryptBOT
#

alex_5678 replied to the thread Chat verification error.

Could disabling the encryption until fixed be a good (temporary) solution?
For example using NoEncryption...

civic cryptBOT
#

Sky started a thread called Questions about plugins and JAVA.

Sky
  1. Can the GeyserMC plugin support the current paper server 1.20.1
  2. Is the Java used for paper server 1.20.1 Java17 (link: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ๏ผ‰
  3. Which version of the paper server is the most stable, 1.20 or 1.20.1 or another version
  4. Is there a recommendation for offline version registration and login plugins
  5. Are there any commonly used essential plugins recommended for server startup

Can anyone help answer these questions...

civic cryptBOT
#

Sky started a thread called Questions about plugins and JAVA.

Sky
  1. Can the GeyserMC plugin support the current paper server 1.20.1
  2. With the release of Minecraft 1.18, Paper now needs to run Java 17. Do all subsequent versions such as paper server version 1.20.1 or other servers higher than 1.18 require Java 17 to run(link: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html ๏ผ‰
  3. Which version of the paper server is the most stable, 1.20 or 1.20.1 or another version
  4. Is there a recommendation for offline version registration...
civic cryptBOT
#

uxb replied to the thread Vanilla Commands don't work.

uxb

Is there a way to put back the commands to work with a "/" again?

civic cryptBOT
#

stefvanschie replied to the thread Questions about plugins and JAVA.

Yes, Geyser supports Paper 1.20.1.
All Minecraft versions since Minecraft 1.18 require at least Java 17 to run. So 1.20.1 will also require at least Java 17.
We generally recommend people to run the latest version, so 1.20.1 currently. 1.20.1 includes bug fixes for 1.20 and Paper no longer provide bug fixes for 1.20, so 1.20.1 will be more stable.
Generally, we recommend people to only allow players with a copy of Minecraft on their server. By doing this, players are automatically...

#

stefvanschie replied to the thread Vanilla Commands don't work.

If you're exeucting a command from the console, they should not be prefixed with a '/'. If you're exeucting a command in-game, they should be prefixed with a '/'. For example, in-game you'd type '/version', whereas in the console you'd type 'version'.

civic cryptBOT
#

Govno111 started a thread called Fork CoreProtect.

We have plugin CoreProtect, but it's owner don't want to publish already maked update for 1.20, forcing us to buy subscription on his patreon to get this version.

Do we need to fork CoreProtect?

civic cryptBOT
#

z4x replied to the thread Fork CoreProtect.

z4x

We have plugin CoreProtect, but it's owner don't want to publish already maked update for 1.20, forcing us to buy subscription on his patreon to get this version.

Do we need to fork CoreProtect?

I mean, can you...? People are starving over here bro if you got a fork, give it

#

z4x replied to the thread Hello I'm new to Actually Learning about Server's And wanted to know what is paperMc?.

z4x

I been playing java edition since 3 years And Now IM finally starting to start a Server With IRL Friends and I been told by people to use paperMC but I have no Idea What even is that IS that like a mod loader like fabric btw I use Fabric for my server. Can someone tell me What are the benefits of using PaperMC? is it good? will it make the server run better overall? Can I use my Fabric mods in paper?

Is it good? Yes. Will it make your server run better over all? Abso fudging lutely. Can...

#

z4x replied to the thread Mojang chat report.

z4x

I know I'm a year late, but that is completely untrue. I play Minecraft with friends, and we're all adults. Why should we potentially be banned because we decided to have a bit of trolling fun with a sign that had a swear word on it? Also, who is Mojang to tell me what I can and cannot do with my own server? I own the server, therefore, as long as I'm not breaking any laws, I should be able to do whatever I wish to do with it. That includes allowing people to swear.

On top of that, you're...

#

electronicboy replied to the thread Mojang chat report.

maybe it's the money talking?

What money? am I missing out on something here? how do I get my check?


around the world, governments are telling platforms to deal with the hate speech and crap on their services and if they don't, they'll be regulated to do so. given that they've accepted reports for years, I'm glad that at the very least now there is a method to validate the authenticity of those reports rather than the odd false ban against people who didn't deserve it, and the lack of...

#

z4x replied to the thread Mojang chat report.

z4x

What money? am I missing out on something here? how do I get my check?

Well, I wouldn't know. I'm not part of the inner circle. You tell me.

civic cryptBOT
#

z4x replied to the thread How to use MySQL.

z4x

How would i go about using MySQL because currently im using the MySQL fix plugin but i want to load the connector from my Plugin but dont know how. If i add it with maven it wont compile into the jar.

I don't know what library you're trying to use, but I use jOOQ for all of my SQL stuff in Java. Might want to give that one a shot - it's very easy to use once you get the hang of how it works.

civic cryptBOT
#

Lightburg started a thread called online-mode=false doesn't work.

It's been a whole week since I started a SMP. One of my friends doesn't own Minecraft and since there is online-mode that I can set to false I should be fine but no. It doesn't work. I tried using every server.jar I could possibly find but it hasn't worked yet. I had to delete everything and start a new server which I still haven't joined. Please help me make my SMP cracked once and for all.

civic cryptBOT
#

Andre_601 replied to the thread Mojang chat report.

It's up to us, the users, to take them down a notch by refusing to play along. There's a plugin called NoChatReports that does the trick pretty well in this instance. With that said, brace yourself for their next crippling move, because chat reporting wasn't the first and will not be the last. I, for one, plan to stand beside you then. Long live liberty, and long live Minecraft.

Last time I checked, a server admin (or someone with access to the server) had to add NoChatReports... So good...

civic cryptBOT
#

Andre_601 replied to the thread Mojang chat report.

(Yes, I spent a lot of time to write this wall of text people may not read. I have too much time so...)

If that's the case, then big tech needs to take a stand and protect the freedom of the internet, not cave in and capitulate. The free and open internet is the greatest treasure of our generation, and it must be protected at all costs. Ain't like they don't have the funds and infrastructure to figure something out. I'm getting SOPA/PIPA flashbacks now... ugh my knees

So, you effectively...

civic cryptBOT
#

z4x replied to the thread Mojang chat report.

z4x

So, you effectively want the internet - and by some extension Minecraft - to be what Twitter is right now? A place where hate speech, targeted harassment, death threads, racism, etc ran absolutely crazy?

Like you ask for free speech, but you ignore the extreme downsides that would come with a "No rule" free speech.

The internet has traditionally been like that. It's supposed to be like that. It's not supposed to be an extension of the rigid real world - it's supposed to be an escape from...

#

Machine Maker replied to the thread Maps not working in item frames..

Do you have any plugins on your server? see if you can replicate this issue without plugins.

civic cryptBOT
#

NBSPaste started a thread called Help finding wither skeleton farm.

I want help finding a wither skeleton farm. I looked for a while but just couldnโ€™t find a game that would work decently on a multiplayer server.

civic cryptBOT
#

Sky started a thread called Questions about plugins.

Sky
  1. Do you have any recommended territorial plugins
  2. Do you have any recommended land plugins
  3. Do you have any recommended chat plugins
  4. Do you have any recommended anti cheating plugins
  5. Are there any recommended optimization plugins

Can someone help answer these questions? Thank you.

civic cryptBOT
civic cryptBOT
#

FriedWingis started a thread called How to concatenate Component in a single message.

Hello all. I am relatively new to the Adventure API and would like to know if anyone knows how to concatenate multiple components together to send to the player using Player#sendMessage. Basically I want to send some text in the form of a Component + the displayname of an ItemStack all in one line. I might be overlooking the fix, but if anyone knows anything I don't I'd much appreciate it.

civic cryptBOT
#

Sophed started a thread called Clearing crafting slots/item on cursor to prevent inventory exploit.

How can I clear the player's crafting slots and item on cursor to prevent them from having specific items in places they shouldn't?

In the example below I use a common hack called 'Inventory Tweaks' (sometimes known as extra carry or inventory) which allows you to store items in your crafting slots/cursor and have them persist through closing your inventory. This is a huge issue as it is simple to create a mod with this feature and it would allow players to use items from multiple kits...

civic cryptBOT
#

Nacio replied to the thread Clearing crafting slots/item on cursor to prevent inventory exploit.

As far as the server is concerned the player always has their inventory open.
I guess try clearing those slots after the PlayerMoveEvent (not sure if that wouldn't also clear them when the player is moved by e.g. water).

civic cryptBOT
#

qscbm187531 started a thread called Why can't I execute plugin commands on the spigot side.

The plugin commands I wrote can only be used in the console, the player cannot execute them, and the commands of other plugins are all fine.

CommandMeta meta = server.getCommandManager().metaBuilder("mycommand").aliases("mycmd").plugin(this).build();
server.getCommandManager().register(meta,new MyCommand());

public class MyCommandimplements SimpleCommand {
@Override
public void execute(Invocation invocation) {
String[] args = invocation.arguments();
if (args.length == 0 ||...

civic cryptBOT
civic cryptBOT
#

AdamJae started a thread called TPS issues on my paper server.

Hello!

So I've recently started up a MC server and I have been trying to tackle TPS issues for ages now. I have tried to eliminate as much issues as possible with performance guides and so on, but I still haven't got to the bottom to why my server's TPS gets melted when 15+ players are online at once. I know spawners are a big issue but I have hammered down on the mob spawn and max mobs per chunk now. However, I am still getting TPS issues... I will link below a spark report and a timings...

civic cryptBOT
#

VyHub started a thread called Free web based or self-hosted community management and Game store!.

VyHub, the comprehensive solution to build, manage and monetize Minecraft stores and communities. Easy integration of your Minecraft server and store. Itโ€™s the all-in-one management platform designed for your gaming community. VyHub offers a webshop, wesbite, a donation store and bans and warnings.
Design and manage your Minecraft community through VyHub. We acknowledge that community management is hard work and takes a lot of time. With VyHub we automate your donation webstore fully...

#

VyHub started a thread called Free web based or self-hosted community management and Game store!.

VyHub, the comprehensive solution to build, manage and monetize Minecraft stores and communities. Easy integration of your Minecraft server and store. Itโ€™s the all-in-one management platform designed for your gaming community. VyHub offers a webshop, wesbite, a donation store and bans and warnings.
Design and manage your Minecraft community through VyHub. We acknowledge that community management is hard work and takes a lot of time. With VyHub we automate your donation webstore fully...

#

VyHub started a thread called Free web based or self-hosted community management and Game store!.

VyHub, the comprehensive solution to build, manage and monetize Minecraft stores and communities. Easy integration of your Minecraft server and store. Itโ€™s the all-in-one management platform designed for your gaming community. VyHub offers a webshop, wesbite, a donation store and bans and warnings.
Design and manage your Minecraft community through VyHub. We acknowledge that community management is hard work and takes a lot of time. With VyHub we automate your donation webstore fully...

civic cryptBOT
#

stefvanschie replied to the thread TPS Issues On My Paper Server [URGENT].

There still seems to be quite a few regions with high amounts of mobs, some regions have over 2 000. I'd inspect these regions and see where all these mobs are. It might be that someone has a large mob farm, or that a bunch of mobs are unable to despawn due to holding items. If you reduce the amount of mobs in these areas, I'd expect your TPS to improve.

civic cryptBOT
#

oyot replied to the thread HubPlugin.

Works perfectly. Exactly the plugin I was looking for. Dev is responsive and happy to help. Highly recommend.

civic cryptBOT
#

yap241986 started a thread called How can I register a command in plugin that use paper-plugin.yml.

How can i register a command if i use paper-plugin.yml instead of plugin.yml?
I Searched i've found only person that say "you have to register them yourself"

#

electronicboy replied to the thread How can I register a command in plugin that use paper-plugin.yml.

Basically, either you get the CommandMap (From the Bukkit/Server class) and use the register methods there, or, enjoy it being 2023 and use a command framework such as the cloud command framework

civic cryptBOT
civic cryptBOT
#

ethangarey started a thread called Paper bug.

Whenever I start the server I get this error message but the server just continues as normal. I want the error message to go away.

#

ethangarey replied to the thread Paper bug.

and yes it happend when I switched from java 8 to java 17 but Idk what to do now, I've also tried removing the cache folder too. Didnt work.

#

electronicboy replied to the thread Paper bug.

It's because you're running a prehistoric version of paper on a modern version of java. That's pretty much the cause here, paper was doing some horrible things back then which modern java broke.

civic cryptBOT
civic cryptBOT
#

Sandbag started a thread called Invisible Armor Stand.

Hi folks,

I'm having trouble removing an invisible armour stand. It's left over from a chest shop that was closed.

/minecraft:kill @e[type=minecraft:armor_stand, distance=..3] results in the error "Selector not allowed"

Paper Spigot
MC version 1.19.4

Can anyone point me in the right direction?

#

Machine Maker replied to the thread Invisible Armor Stand.

You probably don't have the craftbukkit-added permission to use selectors which is minecraft.command.selector.

#

Sandbag replied to the thread Invisible Armor Stand.

It's always something obvious. TY, MM!

civic cryptBOT
#

DiceMa started a thread called Why does the name of the arguments in the method not match when inheriting the CommandExecutor interface?.

Good afternoon, now I'm teaching how to make plugins on Paper for minecraft. I ran into this problem(?): when inheriting the CommandExecutor interface, I automatically create a method using Shift+Alt+Enter, but the name of the arguments is different in my video tutorial.
The development version of JDK 17, as recommended by IDEA itself. Plugins for IDEA are installed.

Fig.1 - my option.
Fig.2 Option from the lesson

civic cryptBOT
#

electronicboy replied to the thread Why does the name of the arguments in the method not match when inheriting the CommandExecutor interface?.

Because unless you pull the sources/javadocs jar, the param name information does not exist; hence when your IDE generates the method, the only thing it has to derive params from is the types in the param

#

DiceMa replied to the thread Why does the name of the arguments in the method not match when inheriting the CommandExecutor interface?.

Because unless you pull the sources/javadocs jar, the param name information does not exist; hence when your IDE generates the method, the only thing it has to derive params from is the types in the param

Thank you for the answer. Is it possible to do this when creating a project? Or how is it added at all?

civic cryptBOT
civic cryptBOT
#

giopera started a thread called Unable to send an action bar to a player with the player.sendActionBar() method.

Hi, I'm currently in a stressful situation, i was writing a plugin when i noticed that the old sendActionBar method of the Player class was not working anymore, so i searched on the internet and i noticed that the method was deprecated in the paper api and that i needed to use the Audience interface from the adventure api, but how i can use it to send an action bar to a player if i can't use the sendActionBar method even if apparently Player inherits the method from...

civic cryptBOT
civic cryptBOT
#

NiceHyperion started a thread called Velocity with forge modpacks.

Hi,

I'm setting up a Server Network using velocity, it has 4 servers altogether, three of the servers work fine. but the one I'm having an issue with is the modded one. the modpack is pixelmon and its on 1.16.5 I've been trying to get it to work for a few hours and I just cant get my head around it, so I'm hoping someone on here can help. when I'm in the lobby server I'll do /server pixelmon to attempt to join it but I'm am prompted with this message. if anyone can help that would be...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

MkdirGit started a thread called How to use getConfig() not from the main class? (event listeners classes).

I'm stuck with getConfig() on listeners class.
how to fix this?

package example.example_for_u.JoinEvent;

import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.Plugin;

public class JoinEvent implements Listener {

Plugin MyPlugin = Bukkit.getPluginManager().getPlugin("example_for_u")...

civic cryptBOT
#

Frameworks started a thread called Server crashes.

Server crashes after breaking a block or dropping a item.
Error Code:
"[Playername] lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because "trackedValues" is null"

civic cryptBOT
#

giopera replied to the thread Unable to send an action bar to a player with the player.sendActionBar() method.

The method takes a Component, if you want to learn how to create those see the Adventure documentation and/or Paper documentation.

For some reason it doesn't work even if i use a Component, also you can see from the IntelliJ Idea screenshot that there are no candidates for p.sendActionBar() and that it's not a matter of arguments.

civic cryptBOT
#

Drache started a thread called Clearlagg.

Hey everyone,

I do have a simple question that nobody seems to be able to answer - at least not at the Spigot forum:

Why do we all get rid off clearlagg? (WAIT please continue to read):

In my server, we use clearlagg to simply delete all entties that are arrows or boats (cause they are cheap to create / build). So clearlagg does simply delete these entities to prevent someone from trying to slow down / crash the server.

A lot of people say we do not need clearlagg anymore now cause paper...

#

Tenir started a thread called How to set "default/lobby/hub" server..

Hello! I set my 3 servers in velocity.toml, but I want players to connect only to the hub and others using the SlashServer plugin. I am Currently players are connecting to server1. How to set players to connect only to the hub server, and when hub is unavailable, they cannot join?

[servers]

Configure your servers here. Each key represents the server's name, and the value

represents the IP address of the server to connect to.

hub = "localhost:26667"
server1 = "localhost:26668"
server2 =...

civic cryptBOT
#

giopera replied to the thread Unable to send an action bar to a player with the player.sendActionBar() method.

Resolved on discord thanks to @lynxplay, I'll leave here the solution in case someone should have the same problem.

In my case the VaultAPI was screwing with the project and with bukkit, so i had to exclude the transitive bukkit dependency from vault, it's quite simple to do but I'll leave here how to modify the pom.xml in case you need it.
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>...

civic cryptBOT
#

Machine Maker replied to the thread Clearlagg.

Well, that specific issue about spawning a large number of entities can be somewhat mitgated by using paper's chunk entity save limits. Basically it prevents more than a configured number of a specific entity from being saved in a chunk. So like if you set it to 4 for boats, then only 4 boats can be saved in a chunk. More can exist, but the moment that chunk is unloaded, and therefore saved, only 4 of them are saved.

You can also configure the despawn rate for each item individually or...

#

Machine Maker replied to the thread How to use getConfig() not from the main class? (event listeners classes).

You create a constructor in JoinEvent that takes an instance of your main plugin and then assign it to a field in JoinEvent. Then when you register the event in your main class' onEnable method, you can pass this to the constructor for JoinEvent.

civic cryptBOT
#

xD_ItsTej started a thread called I'm having lots of TPS drops..

Hello, on my server, with about 3 people online, the TPS drops to about 13. I have a sort-of old computer, but I have 3.5GB of ram? into the server.

civic cryptBOT
#

Drache replied to the thread Clearlagg.

Well, that specific issue about spawning a large number of entities can be somewhat mitigated by using paper's chunk entity save limits. Basically it prevents more than a configured number of a specific entity from being saved in a chunk. So like if you set it to 4 for boats, then only 4 boats can be saved in a chunk. More can exist, but the moment that chunk is unloaded, and therefore saved, only 4 of them are saved.

You can also configure the despawn rate for each item individually or...

civic cryptBOT
#

bobel started a thread called I cant get the tnt dupe to work with 1.20.

Ive tried to change the "allow-piston-duplication: true" in the paper-global.yml file , and i still cant the tnt dupers to work. something that i forgot?

civic cryptBOT
#

Drache replied to the thread Clearlagg.

yea we spawned 300 minecarts now which made the server lag =/ so how can we fix that without clearlagg?

civic cryptBOT
#

tiancuo started a thread called How Xray was added to the Nether.

anticheat:
anti-xray:
enabled: true
engine-mode: 1
hidden-blocks:
- copper_ore
- deepslate_copper_ore
- gold_ore
- deepslate_gold_ore
- iron_ore
- deepslate_iron_ore
- coal_ore
- deepslate_coal_ore
- lapis_ore
- deepslate_lapis_ore
- mossy_cobblestone
- obsidian
- chest
- diamond_ore
- deepslate_diamond_ore
- redstone_ore
- deepslate_redstone_ore
- clay
- emerald_ore
- deepslate_emerald_ore
-...

civic cryptBOT
#

MkdirGit replied to the thread How to use getConfig() not from the main class? (event listeners classes).

I found this more usefull :)

public class PluginName extends JavaPlugin {

public static PluginName instance;

@Override
public void onEnable() {
// Plugin shutdown logic
instance = this;
}

@Override
public void onDisable() {
// Plugin shutdown logic

}

Source:
https://bukkit.org/threads/getting-the-instance-of-a-plugin.253856/

Thanks for the help anyway!

civic cryptBOT
#

Machine Maker replied to the thread How to use getConfig() not from the main class? (event listeners classes).

While that does work, it really violates a core concept about object-oriented programming. Using static to store state like that can lead to issues if someone uses the unsupported reload command. It's highly recommended to stick to use objects as the language intended and pass state around through constructors (or more complicatedly, with dependency injection).

civic cryptBOT
#

Hyside started a thread called How to customize the tablist on Paper api 1.21 ?.

Hello, I am a spigot developer and I'm switching to paper.

Can someone tell me how to customize the tablist please ?
Because with spigot we've got some classes that paper doesn't have...

Thank you for your help,
Hyside.

#

Machine Maker replied to the thread How to customize the tablist on Paper api 1.21 ?.

Paper has all of the Spigot/Bukkit API. There should be no types on spigot that also aren't present in Paper. Can you give an example of what you are talking about?

#

Machine Maker replied to the thread How Xray was added to the Nether.

Take a look at the documentation for how to configure anti-xray. It describes how to enable it for multiple worlds.

#

Hyside replied to the thread How to customize the tablist on Paper api 1.21 ?.

I'm talking about the NMS packages, like:
import net.minecraft.server.v1_16_R3.ChatComponentText;
import net.minecraft.server.v1_16_R3.PacketPlayOutPlayerListHeaderFooter;

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

just_l0fe started a thread called CraftWorldInfo.vanillaBiomeProvider();.

I need to use code of CraftWorldInfo.vanillaBiomeProvider(); in my plugin, but I don't understand how to initialize it.
I found this code in 0760 patch - "0760-Expose-vanilla-BiomeProvider-from-WorldInfo.patch"
@Override
public org.bukkit.generator.BiomeProvider vanillaBiomeProvider() {
final net.minecraft.world.level.levelgen.RandomState randomState;
if (vanillaChunkGenerator instanceof net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator...

civic cryptBOT
#

GreenbanditMZrider started a thread called Unable to create new world.

When I try to create a world on a Raspberry Pi4B server using Paper 1.20.1 build 100, when I join the world from a PC, I'm standing on something, the sky is visible above and below but there are no visible blocks. No server error messages are given.

This happens when I tried on two different Raspberry Pi units, and the same happened when I used Paper 1.20.1 build 69.

Help. Is this a bug? Or am I doing something wrong?

A workaround is to create a new world using the vanilla 1.20.1 server...

civic cryptBOT
#

Loong715 started a thread called LMessageManage | Message Management | Reject Violation and Regex Messages | Blacklist Commands | Anti-Spam.

LMessageManage | Message Management | Reject Violation and Regex Messages | Blacklist Commands | Anti-Spam

#/lmmr - Reload configuration
#"op" - Reload command permissions | Receive violation message permissions | Bypass detection permissions

#

Loong715 started a thread called LMessageManage | Message Management | Reject Violation and Regex Messages | Blacklist Commands | Anti-Spam.

LMessageManage | Message Management | Reject Violation and Regex Messages | Blacklist Commands | Anti-Spam

#/lmmr - Reload configuration
#"op" - Reload command permissions | Receive violation message permissions | Bypass detection permissions

civic cryptBOT
civic cryptBOT
#

marlester__ started a thread called (World) Get Entity by ID (integer one).

I see you implemented get entity by UUID already, good job, however I need to get entity by ID because I do not have UUID,
there is already a getEntity(int id) in ServerLevel class so it won't be hard.
Would be good to get the official method, thanks in advance.

civic cryptBOT
#

Machine Maker replied to the thread (World) Get Entity by ID (integer one).

If this is some packet-related thing, protocol lib has helper methods for doing that.

Not sure if we want to add more API surrounding the numerical entity ID. It really isn't a good way of identifying an entity.

#

marlester__ replied to the thread (World) Get Entity by ID (integer one).

If this is some packet-related thing, protocol lib has helper methods for doing that.

Not sure if we want to add more API surrounding the numerical entity ID. It really isn't a good way of identifying an entity.

Hello, I am trying to get entity only knowing entity id due to the limitations of my code case, I tried to get entity uuid or other methods of achieving my goal, but hopeless, I do not think you need more details.
Currently I am getting it with an NMS-reflection way, but I would...

civic cryptBOT
civic cryptBOT
#

BlueishMage started a thread called ignore-vanilla-permissions in commands.yml.

In the commands.yml file, there's a setting called ignore-vanilla-permissions, which by default is false. I'm now wondering what the **** this setting does? Tried a couple things that seemed might be affected by this, but it had no effect on any of them, and google search results were profoundly unhelpful.

I'm not sure if this is the correct place to ask this question, perhaps it's better in some other place, feel free to redirect me.

civic cryptBOT
#

Machine Maker replied to the thread ignore-vanilla-permissions in commands.yml.

So vanilla doesnโ€™t have the same permission system that Bukkit does. Vanilla has op levels, 0-4. What this setting does is ignore those op level requirements for any command that has them, basically making the Bukkit permission system the sole arbiter of who has what permission.

civic cryptBOT
#

BlueishMage replied to the thread ignore-vanilla-permissions in commands.yml.

So vanilla doesnโ€™t have the same permission system that Bukkit does. Vanilla has op levels, 0-4. What this setting does is ignore those op level requirements for any command that has them, basically making the Bukkit permission system the sole arbiter of who has what permission.

Except, it doesn't. I tested that. It's one of those more obvious things I thought it might be.

If you don't have op, you can do any vanilla command that doesn't need op, regardless of this setting.

If you do have...

civic cryptBOT
#

Machine Maker replied to the thread ignore-vanilla-permissions in commands.yml.

Thatโ€™s because the default permissions in Bukkit also have defaults. The correct ones default to true on players that are opped. So changing that setting shouldnโ€™t have any difference.

Here is a scenario that shows its use. Op a player (with level 4). Remove the Bukkit permission for the stop command (via luckperms or something). With that setting at its default, the opped player can still run the command because it first checks if the op level of the player matches the op level required...

civic cryptBOT
#

ThatOneGuyJP replied to the thread Sand duper not working, how to fix?.

paper changes a lot of things. it isn't vanilla and aims to fix bugs. other similar things you might run into is that you will no longer be able to cure a villager multiple times for further discount. Mojang has confirmed this as a bug. you can enable this by setting fix-curing-zombie-villager-discount-exploit to false in paper.yml. Another thing is unloaded ender pearls remembering their owner allowing instant teleportation across the map. This has also bee marked as a bug by Mojang, and...

civic cryptBOT
#

BlueishMage replied to the thread ignore-vanilla-permissions in commands.yml.

Right!

So by all defaults, an opped player has permissions for op-level vanilla commands twice. Once through vanilla permissions which take into account the op level and can be disabled by this ignore-vanilla-permissions setting. And another time through the ordinary permissions system, which doesn't take into account the op level, and can be disabled by explicit negatived permissions in whichever permissions plugin you're using.

That clears it up, thanks a lot!

civic cryptBOT
#

Drache replied to the thread Clearlagg.

So I think we still have to use clearlagg then =/.

civic cryptBOT
#

marlester__ started a thread called Is this created for fakeplayer plugins?.

Title, in ServerPlayer class there is a
public boolean isRealPlayer; // Paper

civic cryptBOT
#

Lego12 started a thread called config cant be found.

|||error|||
[17:23:49 INFO]: [Spawn] Enabling Spawn v1.0-SNAPSHOT
[17:23:49 ERROR]: Error occurred while enabling Spawn v1.0-SNAPSHOT (Is it up to date?)
java.lang.IllegalArgumentException: The embedded resource 'config.yml' cannot be found in plugins\Spawn-1.0-SNAPSHOT.jar
at org.bukkit.plugin.java.JavaPlugin.saveResource(JavaPlugin.java:209) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPlugin.saveDefaultConfig(JavaPlugin.java:196)...

#

Machine Maker replied to the thread config cant be found.

Check to make sure the config.yml file is in the jar file. You can just unzip the jar and see for yourself. If it isn't, you probably need to configure maven to copy it over.

civic cryptBOT
#

Lego12 replied to the thread config cant be found.

config.yml file is in the jar

civic cryptBOT
#

Lego12 replied to the thread config cant be found.

Check to make sure the config.yml file is in the jar file. You can just unzip the jar and see for yourself. If it isn't, you probably need to configure maven to copy it over.

config.yml is in the jar,

civic cryptBOT
#

MkdirGit replied to the thread config cant be found.

if i'm not wrong you havn't created the folder of the plugin.
make sure to execute this before the config file creation in the code:

    if (!getDataFolder().exists()){
        getLogger().info("Creating "+ getDataFolder() +" main directory ");
        getDataFolder().mkdir();
        //creating directory if not exists
        saveDefaultConfig();
        // then saving the config
    }

Happy to help :)

#

Lego12 replied to the thread config cant be found.

if i'm not wrong you havn't created the folder of the plugin.
make sure to execute this before the config file creation in the code:

    if (!getDataFolder().exists()){
        getLogger().info("Creating "+ getDataFolder() +" main directory ");
        getDataFolder().mkdir();
        //creating main plugin directory if not exists
        saveDefaultConfig();
        // then saving the config
    }

Happy to help :)

ill try it out

#

Lego12 replied to the thread config cant be found.

if i'm not wrong you havn't created the folder of the plugin.
make sure to execute this before the config file creation in the code:

    if (!getDataFolder().exists()){
        getLogger().info("Creating "+ getDataFolder() +" main directory ");
        getDataFolder().mkdir();
        //creating main plugin directory if not exists
        saveDefaultConfig();
        // then saving the config
    }

Happy to help :)

tried it out:

#

electronicboy replied to the thread config cant be found.

That error is purely a "this file does not exist in the jar"; stop your server, do mvn clean package and then copy the plugin jar over, heck, open it with winrar or 7zip or whatever and see that the "config.yml" is in there

#

Lego12 replied to the thread config cant be found.

second time running it started working!

civic cryptBOT
#

Lego12 replied to the thread config cant be found.

if i'm not wrong you havn't created the folder of the plugin.
make sure to execute this before the config file creation in the code:

    if (!getDataFolder().exists()){
        getLogger().info("Creating "+ getDataFolder() +" main directory ");
        getDataFolder().mkdir();
        //creating main plugin directory if not exists
        saveDefaultConfig();
        // then saving the config
    }

Happy to help :)

I think I see what you meen, after running it...

civic cryptBOT
#

LavaLoon started a thread called Chunks loading slowly.

I was testing my server and specifically the paper server jar has issues when generating new chunks. The issues are the chunks generating slowly and the terrain disappeared when entering the unloaded chunks. When I tried searching for solution there is not a single helpful solution to my problem. I think it is the biggest flaw in paper.

civic cryptBOT
#

Ryxe2 replied to the thread Need help registering command with Velocity API.

I have tried asking chatgpt, other people but they dont know and when I change the .createBrigadierCommand the BrigadierCommand just before it goes red aswell so if someone can please help me I would really appreciate it.

civic cryptBOT
#

Lego12 started a thread called static wait.

the plugin works find but there is spam in the console:

15:09:06 ERROR...

civic cryptBOT
civic cryptBOT
#

adddria started a thread called Fly machines don`t work..

  • I wanted to make this sugar cane farm that uses fly machines, but the fly machine doesnt work in a Paper server. I tried to remake it several times, but nothing. In a singleplayer world it works, but in multiplayer it doesnt.
    Is there a reason why this was removed and how can I enable fly machines?
    There`s some pictures with the fly machine in singleplayer. The textures are buggy, but the fly machine works.
civic cryptBOT
#

onelaimer started a thread called How create file.yml in velocity API?.

I have searched all over the Internet, but I have not found an answer to this question

civic cryptBOT
#

4drian3d replied to the thread How create file.yml in velocity API?.

@Plugin(id = "someid")
public class VelocityPlugin {
@Inject
@DataDirectory
private Path dataDirectory;

@Subscribe
public void onProxyInitialization(final ProxyInitializationEvent event) {
if (Files.notExists(dataDirectory)) {
Files.createDirectory(dataDirectory);
}
final Path config = dataDirectory.resolve("config.yml");
if (Files.notExists(config)) {
try (InputStream stream = this.getClass().getClassLoader().getResourceAsStream("config.yml")) {...

civic cryptBOT
#

magcsaucrer started a thread called commands dont show up but still work, even when opped.

So when typing out a command, it will say 'unknown' before i enter and it will highlight it in red, however, upon running the command, it still works ( as long as i have the permission level ).
this happens to all users on my server and its really annoying having to type out the whole command. anyone have a fix? heres what it shows in game : https://paste.pics/P269A

civic cryptBOT
civic cryptBOT
#

Archer2336 replied to the thread Velocity Command Blocker - fully block commands using regex and permissions.

hey, can you please add support for multi servers? for example I would like to block specific commands on the "hub" server but still allow them on the Prison server. the bypass permission does not work by blocking it on one and allow it on the other because im assuming youre caching the bypass permission

civic cryptBOT
#

Archer2336 replied to the thread Velocity Command Blocker - fully block commands using regex and permissions.

also could you please add a placeholder for the command that the played typed? for example: Unknown command. Please check luckperms is correct.

if the player typed /luckperms ^ in the above example

civic cryptBOT
#

yap241986 started a thread called Why TextComponent So Strange?.

My Code:
class PlayerJoinListener: Listener {
@EventHandler
fun playerJoinEvent(event: PlayerJoinEvent) {
val player = event.player
val joinMsg = Component.text("ยงf[ยงa+ยงf] ยงf ${player.name()}")
event.joinMessage(joinMsg)

    val config = Bukkit.getPluginManager().getPlugin("AlpineMC")?.config!!
    if (config.getBoolean("serverSpawn.enabled")) {
        val worldName = config.getString("serverSpawn.world")
        val world =...
civic cryptBOT
#

peachypeace started a thread called network bandwidth usage.

im running this 1.20.1 survival server for my friend but i have to restart it every hour cause when people are on the server the network inbound and outbound go up tremendously with just one
player on this started happening after someone loaded in some newer chunks not a ton but some newer ones sometimes it will get up to 500MiB outbound how can i fix this?

civic cryptBOT
#

Noah replied to the thread Why TextComponent So Strange?.

You canโ€™t append components like that, itโ€™s currently being cast to a string and then added into your component plain text. You have to add them with Component#append:

Component.text("ยงf[ยงa+ยงf] ยงf ").append(player.name())

Also, youโ€™re currently mixing legacy color codes (ยง) in components. You should properly set the colors via the component instead, see the adventure docs for more info.

civic cryptBOT
#

Noah replied to the thread network bandwidth usage.

Just to confirm, are you talking about the network outbound icon on the right (see screenshot)?
This is pterodactyl's total network out since start statistic, not outbound / second.

civic cryptBOT
#

peachypeace replied to the thread network bandwidth usage.

Just to confirm, are you talking about the network outbound icon on the right (see screenshot)?
This is pterodactyl's total network out since start statistic, not outbound / second.

noted very sorry for wasting time i was just very confused im still kind of new to hosting

civic cryptBOT
#

Jolunas started a thread called [00:35:35] [Server thread/INFO]: TEST: 0 (occurs when someone try to mine some diamonds).

Hey, im getting this bug when some player is trying to mine some diamonds, it is very random, sometimes it occurs and sometimes not, but if it occurs they cant mine the diamonds... I dont know what is the cause... I have plugins installed:

civic cryptBOT
#

stefvanschie replied to the thread I'm having lots of TPS drops..

Most of your performance drops come from the datapacks you have installed, particularly Deeper Dark. Datapacks are known for being slow and, if possible, it is recommended to replace them with plugins. Otherwise, you can also speak with the author of the datapack and inform them about the performance issues to see if they can mediate them.

#

stefvanschie replied to the thread Unable to create new world.

It sounds to me like world generation is very slow. I can't provide much more details, try generating a spark report and checking the logs to see what the cause is. Do note that a Raspberry Pi is generally not performant enough to run a Minecraft server, so that might be the cause of the slow world generation.

#

stefvanschie replied to the thread static wait.

This is probably because you're loading chunks and the server can't keep up. I'd recommend loading the chunks asynchronously, so they do not halt the main server thread.

civic cryptBOT
#

renvins started a thread called Logging statically.

that's definitely the worst way to get a static Logger (maybe)
but the only one I've figured out (just don't want to take JavaPlugin with me)

LOGGERs are static everywhere except for spigot xD

public final class AresLibrarySpigotPlugin extends JavaPlugin {

private static Logger logger;

@Override
public void onEnable() {
    logger = PaperPluginLogger.getLogger(getDescription());
}

@Override
public void onDisable() {
}

}

civic cryptBOT
#

MCmitNoah replied to the thread Logging statically.

Totally fine if you ask me.

civic cryptBOT
#

electronicboy replied to the thread Logging statically.

If youโ€™re going to do it like that, just stop the component logger exposed from JavaPlugin

civic cryptBOT
#

FinTaFix started a thread called chunks are not loading | 1.19.3.

I have on the server is paper 1.19.3 but chunks when you lite on Elitrah not load you get into an unloaded chunk

civic cryptBOT
#

trin11 started a thread called I can't see the Ender Dragon further than 3 chunks..

As you can see in the video, I don't know which part of the file to edit this, I've tried to figure it out and do it myself, but I don't see any change. I want to know how to fix it.

civic cryptBOT
#

meexreay started a thread called Redirect player to another server from Paper plugin.

Here's how I have everything set up:

velocity:
server_1: (paper)
paper_plugin.jar
velocity_2:
server_2 (spigot)

And I want to redirect the player from server_1 to velocity_2 when the player presses the sign

How do I register plugin messaging:

public void onEnable() {
me = this;

getPluginManager().registerEvents(this,this);

getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
getMessenger().registerIncomingPluginChannel(this, "BungeeCord"...
civic cryptBOT
#

arseniyGG started a thread called Problem has 2 servers (velocity, survival) in 1 vds.

Hello! I have a problem with velocity. When I put 2 servers on VDS, the velocity refuses to connect to that server, please tell me what the problem could be?

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

Bl_ckBuster replied to the thread VLobby | Lobby commands with multilobby support.

For example, send to the emptiest lobby available, or to a random lobby.

It's bad practise. Good practise will be to make it as below:

By default 1-2 lobbies (configurable) are available
All players are shipping to first of them which has available slots for it. When first lobby is full, then ship next players to next one lobby
If all lobbies are occupied (or better if only one non-full of players lobby is left), create new one lobby (there is needed to specify max lobby-servers amount...

civic cryptBOT
#

senneb started a thread called Custom Item API.

download:

https://modrinth.com/plugin/custom-item-api
https://hangar.papermc.io/Senne/Custom_Item_API
https://github.com/Senne98/Custom-Item-Api

I made a custom item and block plugin. The blocks use cmd in a rescource pack and can have any block as base. The block is displayed using an itemDisplay, which makes it not glich as much as a note block based system, and less laggy than an armorstand based system. The plugin alone doesn't do anything, it's just meant to make it easy for other...

civic cryptBOT
#

Kanye-_East started a thread called Item Sorter not working.

I am using an item sorter on my paper server and it doesn't seem to be working and form what Ive seen paper doesnt support this.

civic cryptBOT
#

Machine Maker replied to the thread Item Sorter not working.

You are going to have to be more specific. The item sorting method with hoppers+comparators works just fine.

civic cryptBOT
#

huwwarm started a thread called Velocity spamming crazy error.

Hi, recently i was schoked , bec after the new vipe (season) started on my minecraft server, i setted up the older version on the server for better optimization (from 1.19 to 1.16.5) the Velocity gone mad and started spamming in console this error:

java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at xyz.gamlin.clans.listeners.PlayerMessageEvent.onChatPlayer(PlayerMessageEvent.java:29) ~[?:?]
at...

civic cryptBOT
#

stefvanschie replied to the thread Velocity spamming crazy error.

Seems to be an issue with ClansLite, I'd recommend contacting the author.

civic cryptBOT
#

DaveedP started a thread called Mojang Authlib not found (1.20.1).

Hello there, I want to create NPCs using NMS (in Paper 1.20.1).
So I have successfully imported NMS (net.minecraft.server) but in order to create an NPC I need to use GameProfile and other classes that can be found in com.mojang.authlib and I have no clue how to add them...
I'm using maven and when I tried to add the authlib as a dependency it didn't work.
I have added the spigot dependency but still nothing.
Does someone have a solution for this?

civic cryptBOT
#

DiceMa started a thread called Censorship of words: replacing bad words with *.

I'm censoring the chat. Censorship works, but the plugin replaces the word, even if this word does not need to be blocked.

For example:
Blocking the word "port"
The plugin blocks as follows: Tele****ing

What check should I add to this method to make it work?

private String returnCorrected(String str) {
JsonObject jsonObject = (new JsonParser()).parse(str).getAsJsonObject();
JsonArray element = jsonObject.get("extra").getAsJsonArray();
for (JsonElement objects : element) {...

civic cryptBOT
#

renvins started a thread called Handle Redis' message on player join.

I have a plugin that when a player accepts a request from another player (maybe on another server) the proxy (with redis request) sends both players to another server. When they join they have to be given some stuff and they have to be teleported to an arena (the server is used also for other things). I was thinking to do that by sending another redis message to advise the server that these "operations" should be done to these players. But I don't know how to handle this multi-threading...

civic cryptBOT
#

stefvanschie replied to the thread Censorship of words: replacing bad words with *.

What you probably want is to only block those when they are the entire word, not part of the word. If so, the easiest way to do that is probably to only replace the word if there's a word boundary before and after it. You can do this with regex, by looking for the pattern \b<word>\b where <word> is the word you want to replace.

civic cryptBOT
civic cryptBOT
#

hello replied to the thread Setting Up Velocity.

How do you set up velocity I am having a difficult time understanding it would I just put it in the mods folder for minecraft??

Hi, stefvanschie!
I might not be able to help you understand how to set up the Velocity server using plain text, Here's a detailed video from SoulStriker

#

hello replied to the thread player unable to join (packet_handler error).

Hello :)

When a player try to connect to my Server my console spamm this error (and does not stop to spamm until i stop connecting)

paste.gg

I just saw at top of the log this could be a viaversion error

It looks like that this error is from ViaVersions not from Velocity.

#

hello replied to the thread Doesn't redirect to private server.

Velocity and private server on the same vds

Fixing connection timeout issues in Minecraft servers can involve troubleshooting both on the server side and the client side. Here's a step-by-step guide to help you address the problem:

Server-Side Troubleshooting:

  1. Server Status: Ensure that your Minecraft server is running and accessible. Check if other players are able to connect without any issues.

  2. Firewall and Router Settings: Make sure that the necessary ports (in this case, port...

#

hello replied to the thread When connecting, the player is not redirected to the "try" path, but to a random server. Why?.

Hello!
log:
[16:02:42 ERROR]: [connected player] Cookie_Herald (/37.21.238.37:61643): unable to connect to server test
io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: ะ’ ัะพะตะดะธะฝะตะฝะธะธ ะพั‚ะบะฐะทะฐะฝะพ: /127.0.0.1:40001
Caused by: java.net.ConnectException: finishConnect(..) failed: ะ’ ัะพะตะดะธะฝะตะฝะธะธ ะพั‚ะบะฐะทะฐะฝะพ
at io.netty.channel.unix.Errors.newConnectException0(Errors.java:164) ~[velocity-3.2.0-SNAPSHOT-256.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)]
at...

#

hello replied to the thread Cannot use /send.

Hello there!
I am trying to run /send, all I am getting is "Unknown Command".

Here is my Velocity plugins list:

Note: I've given myself permissions using Luckperms & I don't even know if Luckperms works.

Try /server <servername>

#

hello replied to the thread Velocity Issure (This server has mods that require Forge to be installed on the client.).

Well i dont know why
but this happens if i try to join on my server.

I have every mod on my client, which starts over curseforge
would be nice if someone can help me with it or tell me how i can avoid this
TY! :D

This commonly happens when you messed up in configuration,
I recommend setting up your server again according to this video:
(From SoulStriker)

#

hello replied to the thread Server order.

When my lobby server is offline, velocity should redirect playerd to the next server, but this option is not working ;x In which way I should add more servers in try section
try = [
"lobby"
]

I tried

try = [
"lobby",
"server"
]
try = [
"lobby,
server"
]
try = [
"lobby
server"
]

etc.. and still with no effects ;x

As @4drian3d said try:

try = [
"lobby",
"server"
]

Alternatively you can try this:

try = ["lobby","factions","survival"]

#

hello replied to the thread select a random server instead of following the order of the "try" servers.

I'd like to know how can I make Velocity to connect randomly to the user to any "try" server instead of following the order of the list

You can make an order list in the way you want your players to connect.

#

hello replied to the thread veloticy as a proxy.

Hello. Faced with a problem: when restarting velocity players who connected to the server through veloticy kicks, and they can not come in until veloticy will not restart. Yes, I understand that the restart time is not great, but if velocity will fall, and all players will be out, then what is the point of the proxy server?

How do I disable players from exiting? Thanks. 1.19.4. [translated from Russian by DeepL]

  1. Schedule Restarts: Plan server restarts when fewer players are online to...
#

hello replied to the thread DiscordSRV !list in Channel?.

Is there a placeholder with which you can see all players on the whole proxy with certain servers etc?

Hi @SpeastTV

You need to have PlaceholderAPI installed then type this command (in-game)

/papi ecloud download bungee
Then type: /papi reload

Check if it is working by typing: (in-game)
[icode]/papi parse me %bungee_total%

Then use this placeholder:
[icode]%bungee_total%[icode]

#

hello replied to the thread Player disconnect with multiplayer.disconnect.invalid_public_key_signature.

Hello have last Velocity and Paper versions (1.19.2)
In velocity.toml have set:
force-key-authentication = false
In server.properties:
enforce-secure-profile=false
Also
online-mode=false on both sides.

Looks like you didn't setup Velocity currently.

Try again according to this:

civic cryptBOT
#

XCoolBeatX started a thread called java.lang.RuntimeException: Could not create world config for world.

Hi all,

Previously I was running my server on True Charts Minecraft-Java. Recently I moved to True Charts Crafty 4 but for some reason I keep getting this error when I migrated my world. Can anyone assist as I'm going insane? I tried everything.

Attached there is the last 3 crash reports

civic cryptBOT
#

matthewbolds started a thread called Custom World Generator Plugin - Help.

Hi Everyone,

I would like to create a Custom World Generator Paper plugin.
The plugin will be able to create a void world where a certain schematic is placed every N chunks (sort of like a SkyBlock world).

I already know some Java but I really don't know where to start with world generation with Paper, can someone help me to ge started on this?

Thanks in advance!

civic cryptBOT
#

FlameyosFlow started a thread called Woody - No BS High-performance Menus Library.

Woody
No BS High-performance, Minimal and Safe Menus Library

If you need support, Check out the official discord server for help using my plugin/libraries right here: https://discord.gg/Zj6KBS7UwX
If you need source code, check out the github right here: https://github.com/coderFlameyosFlow/WoodyMenus

Why use menu libraries?
Menu libraries have stuck around our community for a long time.
When making menus yourself you need to adjust it properly to these key features:

Performance
Safety...

civic cryptBOT
#

kjlb24 started a thread called Server will not summon mobs and gives an error.

Server will not summon mobs and gives an error. when i am on the tikfinity website making actions for my chat so they can summon mobs and stuff. it gives me an error saying that it wont work and cant summon the mob. ive tried deleting it and downloading it again but nothing seems to work. i was wondering how i could fix it.

civic cryptBOT
#

KastenKlicker started a thread called Maven Guava dependency problem.

I use the Google Cloud Compute dependency in my plugin and Guava is a transitive dependency of Google Cloud Compute.
Velocity uses Guava too, but another version which doesn't include a class required by the Google Cloud Compute.

I force the version needed by Google Cloud Compute in my pom.xml and the build log reports the right version of Guava is compiled into the shaded jar, but when I start the proxy, my plugin uses the outdated Guava library provided by the velocity jar, throwing a...

#

electronicboy replied to the thread Maven Guava dependency problem.

You'd need to relocate it

We intend to maintain our guava version to being the same version as is inside of MC for community alignment reasons

civic cryptBOT
#

stefvanschie replied to the thread Server will not summon mobs and gives an error.

You should probably ask this to the developers of Tikfinity. From the part of the error that's visible, I'm guessing it's an issue with their integration in the server.

#

KastenKlicker replied to the thread Maven Guava dependency problem.

Thank you for your advise, now it works. I already relocated the dependency in a prior attempt, but it seems I made a mistake before.

civic cryptBOT
#

Archer2336 replied to the thread Velocity Command Blocker - fully block commands using regex and permissions.

The plugin has a major packet leak, which happens after a player has stayed logged into the server for a few hours, then the plugin randomly starts sending 1k+ packets every few minutes

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

The_Imagineer started a thread called Velocity forwarding not working?.

I'm trying to setup a Velocity proxy and I've got it working so i can join the lobby server, but It's not loading skins. How do I fix this?

civic cryptBOT
civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

MkdirGit started a thread called register CommandExecutor class to my main class in paper-plugin.yml.

Hello visitor,
today i tried to register class that implements CommandExecutor ( aka command class )
to my main class,
but because i'm developing in 1.20 paper plugin with paper-plugin.yml .
Iv'e been stuck for a LOT of time.
Please help.

Command Class:
package my.not.working.command;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;

public class MyNotWorkingCommand implements CommandExecutor {

public boolean...
civic cryptBOT
#

MkdirGit replied to the thread register CommandExecutor class to my main class in paper-plugin.yml.

general advice is to use a command framework, otherwise, get the command map and use the register methods on that

please give me a code example not only leaveing me googling to find what you had mean

civic cryptBOT
#

GhastCraftHD started a thread called Relative positioning of custom unicodes in a BossBar with Paper.

Hi everyone,

I want to create a BossBar with custom unicodes for which I have already created the resource pack.

Currently I am facing the problem, that some of the parts get out of bounds of the viewport, when the client windows is rescaled or uses another resolution.
Saying it short, it currently only works on my machine, because i am using absolute spacing with negative space that is configured for my setup(I have unicodes assigned to that).

Now I am wondering, if there is a way to...

civic cryptBOT
#

Evening started a thread called Mobs aren't spawning in the nether.

While trying to get wither skulls I noticed there wasn't anything spawning (even blazes) so I checked and there were only 25 entities in total. I thought it might be something to do with the mob cap, but it was fine in the overworld (I was the only player on the server). I checked the all the config files, but couldn't find anything about nether mob cap. I tried restarting and going back and forth between overworld and nether, but then there were only 9 entities in total and it slowly...

civic cryptBOT
civic cryptBOT
#

Evening replied to the thread Mobs aren't spawning in the nether.

double check the difficulty in Nether it may not be set to Hard.

It wasn't (didn't even know the worlds had separate difficulties) and after setting it to hard nothing really changed, even after restarting.

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

atsushifx started a thread called how to fix settings? velocity and paper use same host (as localhost).

Hi,
I set up paper 1.20.1 as minecraft server and velocity as proxy on crafty controller 4.
I set server.propertie's online-mode is false, server-port is 30061. config/paper-globals set to proxies.velocity.enabled = true.

but from minecraft client to connect proxy, error message "Connection refused: no further information" is displayed,

What are my settings wrong?

civic cryptBOT
#

atsushifx replied to the thread how to fix settings? velocity and paper use same host (as localhost).

here are my settings.

findy:
paper-1.20.1, no plugins.
set to offline.
server-port changes to 30061

mineproxy:
velocity-3.2.0, no plugins:
ip-forwarding; modern
server list has only findy.

civic cryptBOT
#

atsushifx started a thread called can't connect minecraft server through velocity, when they are using same host (localhost).

Hi, I use velocity-3.2.0 and paper-1.20.1 on crafty controller 4.
these settings are

mineproxy: velocity-3.2.0, no plugins.
player-info-forwarding: modern
server.findy = "127.0.0.1:30061"
try = [ "findy" ]

findy: paper-1.20.1, no plugins:
config/paper-global.yml
proxies:
bungee-cord:
online-mode: false
proxy-protocol: false
velocity:
enabled: true

server,properties
online-mode=false
server-port=30061

and I attached files for details.

When I play minecraft above these...

civic cryptBOT
civic cryptBOT
#

Meiallu started a thread called Get player.

Hi!
I'm new to Velocity and i'm having trouble getting the player object on the command execute() method

civic cryptBOT
#

yap241986 started a thread called Server Crash when always on.

I have a server that I keep running all the time, but after a while of it being on, the RAM fills up, and the server crashes.

Plug-in in screenshots

civic cryptBOT
#

dominikremes started a thread called EntityDeathEvent not being fired.

I'm working on a minigame, where the game throws in hoards of mobs (mostly zombies) for the players to fight off. I would like to have a counter, which counts down how many of the mobs are still alive, however I find the "check it on every x tick method" very unoptimized and for some reason counting down with the EntityDeathEvent is unreliable. I've found, that after fighting with tens or hundreds of mobs in a short time, sometimes, for some unknown reason the EntityDeathEvent is not...

#

ruskiiiFTP started a thread called Simple Voice Chat Plugin problem.

Paper 1.20.1 build #194
Latest Simple voice chat (client (fabric mod) and server (plugin) side installed)

Got this problem where in the console its says that the plugin is running in offline mode because voice encryption is not secured??. Tried everything (turned off firewall, same port ,different port, udp/tcp or udp port forward, playit.gg. etc etc). Can someone help me? Thanks.

civic cryptBOT
#

dominikremes replied to the thread EntityDeathEvent not being fired.

Nevermind, found a solution. If anyone would have a similar problem in the future, try using the setRemoveWhenFarAway function and set it to false. If this is not set to false, it seems like the setPersistant is just ignored.

civic cryptBOT
#

T0xicTyler started a thread called Best way to ensure my plugin commands take priority? (FAWE + WG Issue).

Hi guys, I have a seemingly simplistic question that I can't seem to work out with the documentation of Spigot and Paper at hand.

My plugin registers its own /heal and /remove commands which are being overridden by WorldGuard and FastAsyncWorldEdit respectively. I dove into the documentation for these two plugins and found no ability to disable these commands within their respective plugins.

I need to either A) Fully disable unnecessary commonly named command implementations from a third...

civic cryptBOT
#

Machine Maker replied to the thread EntityDeathEvent not being fired.

set/isPersistent do not do what you think they do. It is about saving the entity to disk, not whether they despawn. The other method you found, setRemoveWhenFarAway is the correct way to control that.

#

Machine Maker replied to the thread Best way to ensure my plugin commands take priority? (FAWE + WG Issue).

I think that's the impropper way to define an empty list in YAML. that looks like a list of size 1 with the contents []. You probably just want to put the [] after the key directly. The "unknown" command is probably it trying to run the command /[] which would be unknown.

civic cryptBOT
#

Vulture started a thread called Redstone not passing through glass.

I tried to make redstone pass through glass but it doesn't pass.... it breaks a lot of my farms..... can I edit this is the config file? If yes then what setting do I change?

civic cryptBOT
#

NewGenesis started a thread called disable-sprint-interruption-on-attack does not work..

I decided to create a Minecraft PvP server. But I don't like the sprint to break every time I attack, so I set disable-sprint-interruption-on-attack to true. I'm using GeyserMC, and in Bedrock Edition, the sprint will no longer be canceled even if you attack. However, despite setting it to true, nothing changed in JavaEdition. Only JavaEdition will be released from sprint.

civic cryptBOT
#

Folas1337 replied to the thread Redstone not passing through glass.

It'd be really helpful to share what was wrong initially so people who stumble across this later know and they could also look if they have made the same mistake.

Appreciated if you do :)

#

Folas1337 started a thread called Error with possibly abandoned plugin (CustomAttributes).

Hi y'all, I recently discovered this plugin called CustomAttributes and I like it cause it lets me prevent players from placing blocks so I thought I'd give it a go. If you know an alternative plugin that prevents placing items if they have data attached, feel free to let me know but after some searching this is the only super small one that did what I needed :)
Unfortunately it seems that if you open an anvil and click anywhere, it throws an error (see error below). I don't even need that...

civic cryptBOT
#

stefvanschie replied to the thread Server Crash when always on.

That sounds like a plugin has a memory leak. Try eliminating plugins until you find the one which causes your server to not realese the memory.

civic cryptBOT
#

mxkkel started a thread called Armor Desynchronization Issue on My Server.

Server Details:

Server Version: Paper 1.12.2-1620 (git-paper-1620)
Server Host: Self-hosted
Active Plugins: LuckPerms, ViaVersion, WorldGuard, Essentials, vault

The Issue: When I equip armor on my server, there's an occasional visual discrepancy. On my end, the armor appears as if it's been taken off, yet it seems the server recognizes it as still being worn. Other players also see my armor as equipped, suggesting it's a client-server desynchronization issue.

Restarting the client or...

civic cryptBOT
#

Samsim started a thread called It says my version is unavailable.

In the console it says
Using the latest paper version because the selected version is unsupported or unavailable.
Using the latest paper build for version 1.20.2

civic cryptBOT
#

Samsim started a thread called It says my version is unavailable.

In the console it says
Using the latest paper version because the selected version is unsupported or unavailable.
Using the latest paper build for version 1.20.2
Pls help me

#

electronicboy replied to the thread It says my version is unavailable.

That message sounds like it has nothing to do with us, best guess is that you're using a host and should speak to them for support

civic cryptBOT
civic cryptBOT
#

trailhopper27 started a thread called Light Temp Ban Mod.

Hey all!

I know that EssentialX has a Tempban feature, but does anyone have a lightweight mod for paper that has just the tempban command?

civic cryptBOT
#

xWil started a thread called Paper 1.20.2 NoSuchMethodError, same code works fine on spigot.

Hiya,

The code below shows a 1.20.1 and 1.20.2 version of the same spigot code. The 1.20.1 works with both spigot and paper, the 1.20.2 code only works with spigot.

//1.20.1
ClientboundSystemChatPacket packet = new ClientboundSystemChatPacket(IChatBaseComponent.ChatSerializer.a(line), false);
(((CraftPlayer) player).getHandle()).c.a(packet);
//1.20.2
ClientboundSystemChatPacket packet = new ClientboundSystemChatPacket(IChatBaseComponent.ChatSerializer.fromJson(line), false)...

civic cryptBOT
civic cryptBOT
#

xWil replied to the thread Paper 1.20.2 NoSuchMethodError, same code works fine on spigot.

They closed and marked it as invalid. Owen says "NMS compatibility is never promised, we make changes here". Is there any other options? Is there a way to check if the server is running spigot or paper and do something accordingly?

#

xWil replied to the thread Paper 1.20.2 NoSuchMethodError, same code works fine on spigot.

Please file an issue on the tracker, this generally screams another headache around spigots borked tooling causing oddities elsewhere

They closed and marked it as invalid. Owen says "NMS compatibility is never promised, we make changes here". Is there any other options? Is there a way to check if the server is running spigot or paper and do something accordingly?

civic cryptBOT
#

electronicboy replied to the thread Paper 1.20.2 NoSuchMethodError, same code works fine on spigot.

If that's an area that we make changes to then you'll generally have to handle it another way, NMS is not API, and this looks like an area where stuff has generally changed for various reasons ranging from adding in library support, side-effects of spigots environment being mitigated, etc, etc

NMS is not supported, and so you're generally going to have to find another way to resolve it, I have no idea why you're using internals for something that already has well-supported API, but...

civic cryptBOT
#

xWil replied to the thread Paper 1.20.2 NoSuchMethodError, same code works fine on spigot.

Okay I'll admit I didn't do much research into the API, I only knew about the TextComponent stuff and that was a bit long winded for what I liked, the first solution I found was the NMS one. It's up to you if you fix it or not, but i did find a solution that works, I didn't know where was a json parser but I left the code here if anyone ever sees this and wants it. I still feel like for compatibility reasons this should be fixed but that's ofc your decision and not mine.

BaseComponent[] bc...

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

TNTChina started a thread called Is there any way to create a fakeplayer without using too much ram?.

My plugin created a fakeplayer that extends ServerPlayer to the world, but as the players went up, the ram increased highly so that the server couldn't afford it.Is there any way to improve the ram using?

civic cryptBOT
#

richie started a thread called Save an entity as a string and create a new one from it.

Hi,
I want to cache an entity as a string to be able to create a copy of it later.

I have already searched a bit with Google and now I have the following code.

to get the string(works)
net.minecraft.world.entity.Entity nmsEntity = ((CraftEntity) entity).getHandle();
CompoundTag compound = new CompoundTag();
nmsEntity.serializeEntity(compound);
CompoundTag compoundCopy = compound.copy();

    forbiddenKeys.forEach(tag -> {
        compoundCopy.remove(tag)...
civic cryptBOT
#

Machine Maker replied to the thread Save an entity as a string and create a new one from it.

There is API to serialize an entity to a byte[] which is then not human-readable. If you don't care about that, you can use that API in UnsafeValues. I don't recall exactly what it serializes, so if it includes passengers or not.

civic cryptBOT
#

Xmark started a thread called World#setGameRule.

Goal: set given world's gamerule from a gamerule string (e.g. "doInsomnia")

Problem: return type of GameRule#getByName()

World#setGameRule() requires GameRule<T> as its rule parameter, but GameRule#getByName() provides GameRule<?>

the following code works, but the compiler complains:

String myGameRule = "doInsomnia";
boolean newValue = false;

GameRule gr = GameRule.getByName(myGameRule);
boolean success = getWorld().setGameRule(gr, newValue);

I can't use GameRule.DO_INSOMNIA because...

civic cryptBOT
#

mackaroni started a thread called Null Exception on getCommand.

getting this error:

'''
java.lang.NullPointerException: Cannot invoke "org.bukkit.command.PluginCommand.setExecutor(org.bukkit.command.CommandExecutor)" because the return value of "me.mackaroni.testplugin.TestPlugin.getCommand(String)" is null
'''

my onEnable:

'''
public void onEnable() {
// Plugin startup logic
Bukkit.getConsoleSender().sendMessage("[TEST PLUGIN]This Plugin Works!");
//Bukkit.getPluginManager().registerEvents(new JoinMessage(), this)...

#

mackaroni replied to the thread Null Exception on getCommand.

nvm found answer, can close thread now

civic cryptBOT
#

stefvanschie replied to the thread World#setGameRule.

There's not really an elegant way to go about this. Check that the game rule you load from the config actually has a boolean as type and then cast it to GameRule<Boolean>.

civic cryptBOT
#

richie replied to the thread Save an entity as a string and create a new one from it.

Thank you for the quick reply.

I found a working solution that works with the json string.

public String getJsonEntity(Entity entity) {
net.minecraft.world.entity.Entity nmsEntity = ((CraftEntity) entity).getHandle();
CompoundTag compound = new CompoundTag();
nmsEntity.serializeEntity(compound);
CompoundTag compoundCopy = compound.copy();
forbiddenKeys.forEach(compoundCopy::remove);

return compoundCopy.toString();

}

public @Nullable Entity spawnEntity(Location...

civic cryptBOT
#

LABSTORM started a thread called Alternative to ChatColor.translateAlternateColorCodes.

I have a config file wich looks something like this:

colour codes start with &

variables are enclosed by %

Messages:
NoPermission: '&4Denied access! You are not allowed to do this.'
Join: '&a>>&7 %Player%'
...

In my old code I just used ChatColor.translateAlternateColorCodes('&', config.getString("Messages.Join")) to give me a String with colour information on which I later used String#replace to change the '%Player%' to the actual player name...
Now I want to use components.
I...

#

electronicboy replied to the thread Alternative to ChatColor.translateAlternateColorCodes.

We recommend using minimessage for config files, in part because it supports modern features in a way which is cross platform, but also the fact that it's generally seeing more adoption over the past year or two, so people are becoming familiar with it as-is, and it supports stuff like placeholders, etc

https://docs.advntr.dev/minimessage/dynamic-replacements.html

civic cryptBOT
#

Tennessine started a thread called Best way to make newer client connect to proxy.

My server network has a bunch of backend servers that run Paper 1.20.2. The problem is Velocity was never officially made to run 1.20.2. The latest version it's aware of is 1.20.1. So when a client that is running 1.20.2 tries to join (even though the backend servers are running 1.20.2) it gives the client an error "Incompatible client! Please use 1.7.2-1.20.1."

What makes this more complicated is each backend server has ViaVersion, ViaBackwards, and ViaRewind to allow clients running 1.8...

civic cryptBOT
#

stefvanschie replied to the thread Alternative to ChatColor.translateAlternateColorCodes.

I have a config file wich looks something like this:

colour codes start with &

variables are enclosed by %

Messages:
NoPermission: '&4Denied access! You are not allowed to do this.'
Join: '&a>>&7 %Player%'
...

In my old code I just used ChatColor.translateAlternateColorCodes('&', config.getString("Messages.Join")) to give me a String with colour information on which I later used String#replace to change the '%Player%' to the actual player name...
Now I want to use components.
I...

civic cryptBOT
civic cryptBOT
#

loranger started a thread called Best way to make awesome lobby.

Hi,

I use Velocity and a bunch of paper servers behind.
One of them is the default one, the lobby.

I made it friendly and welcoming. I would like to add some buttons and command blocks in order to send my users on the corresponding server, but I can't figure out how to achieve this.

Do you know how I can make it work?

In a wider way, do you have good practice for building a first class lobby?

civic cryptBOT
#

Tennessine replied to the thread Best way to make newer client connect to proxy.

Velocity 3.2.0-SNAPSHOT build 266 was just released and support 1.20.2 (y)

Yeah, thatโ€™s good, but Iโ€™m talking about the time period before Velocity with the latest version is released.

Also, if the network is always running, I donโ€™t even know how you would switch out the proxy to run the newer version. I suppose you could run the newer proxy and when the players log on they instead go to the new one that might have to have its own set of servers. The players that logged on to the old...

#

TehBrian replied to the thread Paper & Velocity 1.20.2.

Awesome! Looking forward to future API for sending resource packs before world load. :-)

civic cryptBOT
#

Mogwai started a thread called Are there settings I can use to increase the performance of ThreadedWorldUpgrader ?.

Two worlds, semi large by my standards. Upgrading at the moment to 1.20..2-233

forceUpgrade in progress

But it runs insanely slow and isn't really using the available resources.

This is a dedicated machine with 24GB ram and running on (albeit older) Xeon processor with 8 cores.

What can I do to improve this?

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

electronicboy replied to the thread Are there settings I can use to increase the performance of ThreadedWorldUpgrader ?.

The thing just determines the # of threads in use by the number of CPU threads you have, so, no control there; but, being frank, the entire process is get a chunk, load its NBT, run it through (trivial) data conversions, and save it back to the disk. There is generally little reason to bother running forceUpgrade given how trivial the process is, otherwise the thing is pretty much just strung by the amount of IO you can do.

civic cryptBOT
#

SnowCutieOwO started a thread called Cannot disable spawnpoint mob-spawning on 1.20.1.

Using the 1.20.1 and the latest build of paper, tried delete all plugins, doesn't work; tried worldguard and Residence to prevent, doesn't work; even change server brand to Purpur, doesn't work,too. Nothing changes in any core config file like server.properties/bukkit.yml/spigot.yml/paper.yml
May someone help me? Any additional information could be provided if needed.

civic cryptBOT
civic cryptBOT
#

LABSTORM replied to the thread Alternative to ChatColor.translateAlternateColorCodes.

We recommend using minimessage for config files

This looks very cool, I will definitely use it in future plugins!

Take a look at the LegacyComponentSerializer. This can turn your text into a component.

But I think I will use this for this plugin.

Thanks a lot both of you :)

civic cryptBOT
#

stefvanschie replied to the thread Choose the right CPU for your survival minecraft paper server.

You don't need a modern CPU to run a server, a simple server can run on a relatively weak CPU. Of course, with a weak CPU you'll more easily find yourself with performance issues, so it's recommended to have a modern CPU that can better support a Minecraft server.

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

Morpheustrue started a thread called fix-curing-zombie-villager-discount-exploit has no effect.

Iโ€™m playing on my 1.20.2 Paper server and set fix-curing-zombie-villager-discount-exploit to false so I can get Villager trades down to 1, I donโ€™t know why, but it has no effect... Does someone know why this doesnโ€™t work?

civic cryptBOT
civic cryptBOT
#

Morpheustrue replied to the thread fix-curing-zombie-villager-discount-exploit has no effect.

Mojang fixed that bug in 1.20.2. That setting no longer has any effect. You can only get a discount from 1 zombie conversion.

Really? I thaught this is an experimental Snapshot for 1.20.3 or something like that.... Thanks for your answer.. ;)

civic cryptBOT
#

TheXiaoma started a thread called Make Compatible with Folia.

How do I make a plugin that works fine under Paper work under Folia? I didn't find any documentation on this.

civic cryptBOT
#

Tamion replied to the thread Make Compatible with Folia.

To make your plugins โ€œworkโ€œ on Folia you need to append โ€œfolia-supported: trueโ€œ to the plugin.yml. To then actually make your plugin work you will probably have to make some changes. Most information available is in the folia repo. I would just recommend reading through the readme. And follow the links it provides. There isnโ€˜t really a straight forward guide you will just have to try it and see.

civic cryptBOT
#

Morpheustrue started a thread called Change Version or Plugin?.

Iโ€™ve read that you cannot change from 1.20.2 back to 1.20.1 or other previous versions... But maybe there is another way, maybe just change the world folder and update the permissions file or something like that...? If not, I would like to have a Plugin that allows villager discounts go back down to 1 emerald per item or revert, because as you now this isnt possible anymore in 1.20.2.... The problem is I havenโ€™t found one.... Thanks in advance ;)

civic cryptBOT
#

Morpheustrue replied to the thread Trying to update my papermc server running in a docker container.

Hello yall, I followed a tutorial not too long ago for 1.19.4, . this is essentially how my server is setup, I am trying to update to 1.20 and just using the pull command and restarting the server isnt working even though the pull command itself works and says its up to date when i use it again. its still stuck in 1.19.4 and I dont know what I should do. if it is relevant i am running this on a raspberry pi4 8gb.

Edit: this is what comes up when I try the pull command again,
latest...

civic cryptBOT
#

Morpheustrue replied to the thread Questions about plugins.

FastChunkGenerator works well for the performance in my case... Anti Cheating works well in default Paper in my opinion...

civic cryptBOT
#

MootComb9620292 started a thread called Velocity to Velocity.

Is it possible to connect from velocity to another velocity, I want to make a server where the mini-games will be on a separate server. Is it possible?
Is there still a plugin that allows you to do this?

civic cryptBOT
#

wenzhan started a thread called Plug-in requests.

Is there any plugin that prohibits drop items, ships, and minecarts from entering the nether portal loading chunks, and only allow players and other entities to use the nether portal?
The main purpose of seeking this plugin is to disable the nether portal chunk loader

civic cryptBOT
#

Mogwai replied to the thread Are there settings I can use to increase the performance of ThreadedWorldUpgrader ?.

The thing just determines the # of threads in use by the number of CPU threads you have, so, no control there; but, being frank, the entire process is get a chunk, load its NBT, run it through (trivial) data conversions, and save it back to the disk. There is generally little reason to bother running forceUpgrade given how trivial the process is, otherwise the thing is pretty much just strung by the amount of IO you can do.

Then I'm confused.
the forceUpgrade option enables the new...

civic cryptBOT
#

electronicboy replied to the thread Are there settings I can use to increase the performance of ThreadedWorldUpgrader ?.

the forceUpgrade option enables the new features in unrendered/ungenerated parts of the world does it not?

No, it just runs the serialized chunk data through the schema updater, i.e. DFU, and saves the data back to the disk. That process is basically what mojang uses to manipulate the serialised data of a chunk to upgrade it, i.e. renaming item types, converting old data, etc; for chunks, they'll also potentially add blocks to the chunk

loading a chunk (to a full "ticking status") in...

civic cryptBOT
civic cryptBOT
#

Notro replied to the thread AsyncChatEvent chat formatting.

Hey, if you are trying to color fix a message you could do:

Please note that I'm using a LegacyComponentSerializer, and not TextReplacementConfig, make sure to learn this.
Glad to help! :)

civic cryptBOT
#

Al_Hadi_Habib started a thread called Seeking plugin to customize join/quite message in specific world.

Hey everyone! I'm looking for a plugin that can help me customize the join and leave messages. Specifically, I want to set these messages in one world only and include the player's name and prefix with color codes.

I run a Bedwars server. However, when I customize these messages, they also appear in the running match world, which is not what I want. I'd like these custom messages to show up only in the hub or lobby world.

Is there a plugin out there that can help me achieve this?

civic cryptBOT
civic cryptBOT
#

Notro replied to the thread Null Exception on getCommand.

YAML file is sensitive for Indentation, make sure everything is indented correctly.
more than that I would suggest a recode for this command,

public class HealCommand implements CommandExecutor {

@Override
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command cmd, @NotNull String label, String[] args) {
    if (!(sender instanceof Player player)) {
        sender.sendMessage(
                Component.text("[HEAL] Only players can Use this command")...
#

Notro replied to the thread Null Exception on getCommand.

YAML file is sensitive for Indentation, make sure everything is indented correctly.
more than that I would suggest a recode for this command,

public class HealCommand implements CommandExecutor {

@Override
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command cmd, @NotNull String label, String[] args) {
    if (!(sender instanceof Player player)) {
        sender.sendMessage(
                Component.text("[HEAL] Only players can Use this command")...
civic cryptBOT
#

Al_Hadi_Habib replied to the thread Seeking plugin to customize join/quite message in specific world.

What you want shouldn't be that complicated, I mean it's that simple that I would suggest you to build this on your own.

I don't know Java, which is why I'm searching for a plugin if there is one already available.

civic cryptBOT
civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

civic cryptBOT
#

Substantial_Milk started a thread called How to enable Update Suppression.

I'm playing on a private server with just me and my friends, and I'm trying to make a sliced portal for a farm because of it's high efficiency, and when i tried to use an update suppression it didn't work, i tested the model on a single player world and it worked but It didn't on the server. Now I can't find any settings related to update suppression so I don't know what to do

civic cryptBOT
#

stefvanschie replied to the thread Velocity to Velocity.

No, you cannot connect multiple velocity proxies to one another.

civic cryptBOT
civic cryptBOT
#

zeronerve started a thread called Players not seeing other player's armor/items.

I'm running and developing a minigame server that's on 1.8 (build 445). Occasionally, a player respawns with armor/items that are not visible to other players. Anyone solved this before? It happens about one time for every 8-10 spawns.

We're on using the latest build of protocolLib. I've ruled out interference by other plugins. Mine seems to cause the trouble!

thanks!

#

ProKoksPL1 started a thread called How fixing Invalid player data?.

Witam, mam problem z poล‚ฤ…czeniem graczy z serwerem, wyล›wietla mi siฤ™ komunikat "Nieprawidล‚owe dane gracza". Wspomnฤ™, ลผe nowy problem dotyczy silnika Paper, a na Spigocie wczeล›niej nie byล‚o problemu, tylko uลผycie silnika Paper. Czy masz jakieล› rozwiฤ…zanie tego problemu? Co moglibyล›my zrobiฤ‡, aby temu zaradziฤ‡?

civic cryptBOT
#

Nacio replied to the thread How fixing Invalid player data?.

Wyล›lij logi i zobaczymy co da siฤ™ zrobiฤ‡.

civic cryptBOT
#

Dustin replied to the thread How fixing Invalid player data?.

I am encountering this "invalid player data" as well on Minecraft Java client 1.20.2 when connecting to the latest Paper 1.20.2 Build 249.

I created a new VM (2core 8gb RAM), installed and ran Vanilla Minecraft 1.20.2, and tested I could connect via my Minecraft client successfully. Then...

  1. I stopped the Minecraft "server.java" process.
  2. Replaced the (vanilla) server.jar with "paper-1.20.2-249.jar"
  3. Started Paper - logs show it migrated world data, etc.

However, when I try to...

civic cryptBOT
#

Zelphium replied to the thread How fixing Invalid player data?.

I also am having this issue, with Paper 1.20.2 r259. I'm trying to convert a 1.20.2 vanilla world:

[16:26:39 ERROR]: Couldn't place player in world
java.lang.NullPointerException: Cannot invoke "net.minecraft.server.level.WorldServer.ac()" because the return value of "net.minecraft.server.level.EntityPlayer.x()" is null
at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:224) ~[paper-1.20.2.jar:git-Paper-259]
at...

#

Zelphium replied to the thread How fixing Invalid player data?.

I fixed this by downgrading the server to version paper-1.20.2-214.jar, logging in as the player (which then worked) then upgrading the server again. I suspect this is because of:

#215

431e641Fixup player profile getters and constructor to expected nullability (#9770)

#

Zelphium replied to the thread How fixing Invalid player data?.

Correction: build 246 is the highest that currently works for converting characters. 247 does not work:

Correction: build 246 is the highest that currently works for converting characters. 247 does not work:

#247

acc6d01Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9861)

Thank you, Electronicboy. Really appreciate it! :) I can confirm the new build doesn't have this error!

civic cryptBOT
#

Dustin replied to the thread How fixing Invalid player data?.

Thank you Electronicboy!... I can also confirm the issue is resolved with build 260!

civic cryptBOT
civic cryptBOT
civic cryptBOT
civic cryptBOT
#

kitoutou999 started a thread called Try to post my first plugin.

hello, I want to upgrade my paper 1.20 plugin that I am running on a 1.20.1 server. When I select the version of my plugins on the paper site for upload it tells me that "Invalid MC version for a platform specified". Do you have an idea of the problem. Is there an error I made in the pom.xml or something?

civic cryptBOT
#

KMatias started a thread called Method for setting time?.

In org.bukkit.World should I use setTime() or setFullTime() to get the same functionality that minecraft's time command provides?

civic cryptBOT
#

Abubblegam started a thread called I want to make a scoreboard for my factions server.

im using simplescore for the scoreboard and medieval factions for the factions, with placeholder api
i want the scoreboard to look like this:
Olympus SMP

Faction:

Power:

Ping:

TPS:

civic cryptBOT
#

Machine Maker replied to the thread Method for setting time?.

The time command sets or mutates the fulltime which is the "day" time or the time used to calculate the sky progress/moon, etc. It is also the time that is frozen if the daylight cycle gamerule is set to false.

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

hkcu replied to the thread How to run Paper with Java 17-internal?.

You can bypass this check by setting the property "Paper.IgnoreJavaVersion" to true.

For example: java -DPaper.IgnoreJavaVersion=true paper-jar.jar

civic cryptBOT
#

kitoutou999 started a thread called Custom Item GUI [ADMIN Tools].

As a novice developer, my plugin concept revolves around crafting custom items with unique attributes and original aesthetics. I'm seeking feedback from experienced individuals who can provide insights and opinions on my plugin's functionality and design.

Link : https://modrinth.com/plugin/customitemgui
Discord : https://discord.gg/VDBrau7z
Thx

civic cryptBOT
#

Hardy started a thread called How to Run Vanilla Server Cheats on a Paper Server?.

Hi, I'm hosting a vanilla server on my own computer under Linux. Switched to papermc yesterday. It's running but I cannot enter the usual cheats e.g. gamemode I'm used from vanilla. Who can help? Thanks!

civic cryptBOT
civic cryptBOT
#

Kaelinator started a thread called block.getDestroySpeed always returns 1.0.

I'm trying to call the following method:

float destroySpeed = block.getDestroySpeed(player.getActiveItem())

but I always get 1.0, despite it being bedrock/wood/etc.

I also tried using spigot nms, but I also only ever get 1.0:

Block nmsBlock = CraftMagicNumbers.getBlock(block.getType());
ItemStack item = CraftItemStack.asNMSCopy(player.getActiveItem());
float destroySpeed = item.a(nmsBlock.n());

Anybody else have this issue?

civic cryptBOT
#

Machine Maker replied to the thread block.getDestroySpeed always returns 1.0.

The player's active item is not the item currently in their main hand. You want player.getInventory().getItemInMainHand(). Also, that will only return > 1.0 if the item is a tool of some sort, shovel, axe, hoe, sword, shears, or pickaxe as those are the only items that affect the breaking speed of blocks.

civic cryptBOT
#

Kaelinator replied to the thread block.getDestroySpeed always returns 1.0.

The player's active item is not the item currently in their main hand. You want player.getInventory().getItemInMainHand(). Also, that will only return > 1.0 if the item is a tool of some sort, shovel, axe, hoe, sword, shears, or pickaxe as those are the only items that affect the breaking speed of blocks.

thank you very much :)

civic cryptBOT
#

semrehocin started a thread called how do i auto restart my server when it crashes or stops?.

pretty much the title.
i want to make sure the server runs 24/7
i have no clue about servers so a noob friendly answer would be apreciated

civic cryptBOT
#

CodemanXD started a thread called Understanding Tick Updates.

I shared the following on the TechnicalMinecraft subreddit, but wanted to share it here since this could be something with Paper:

I have two sugarcane farms set up near my Creeper farm, and I noticed that one of them has several lanes of sugarcane that do not grow nearly as much as the rest do.

I've found that the lanes are outside a chunk border. This chunk is 7 east and 4 south (Chunk -20 ~ 15) of where I have my Creeper farm AFK spot (Chunk -27 ~ 11). If I move one chunk south (Chunk...

civic cryptBOT
#

stefvanschie replied to the thread Understanding Tick Updates.

The amount of chunks that are random ticked around the player depends on the horizontal distance between the center of the chunk and the player's position, which must be within 128 blocks. Because it depends on the player's position, some chunks that you might expect to be ticked, might not be because the player's position with regards to the center of the chunk is more than 128 blocks away. Hence, it might be that your position is still too far away for the chunk to be random ticked. See...

civic cryptBOT
civic cryptBOT
#

NightWorks started a thread called AdventureWorld [0.1] - Easily play Adventure Maps with your crew.

https://hangar.papermc.io/NightWorks/AdventureWorld

All important information can be found on the resources. Please check out the credits, most of the work is done by them. I was looking at a plugin for myself which did exactly this, sadly the original and the revival attempt fork both were abandoned and in a non-working state.

I never developed a Minecraft plugin before, and rarely write code in Java. Any suggestions, PR's, feedback, ideas or anything else is very much appreciated. I like...

civic cryptBOT
#

CodemanXD replied to the thread Understanding Tick Updates.

The amount of chunks that are random ticked around the player depends on the horizontal distance between the center of the chunk and the player's position, which must be within 128 blocks. Because it depends on the player's position, some chunks that you might expect to be ticked, might not be because the player's position with regards to the center of the chunk is more than 128 blocks away. Hence, it might be that your position is still too far away for the chunk to be random ticked. See...

civic cryptBOT
#

hentia.mp4 started a thread called server crashes.

it start normaly the red text appers and crash

civic cryptBOT
#

llllll0zym started a thread called EntityPotionEffectEvent doesn't get cancelled.

public class EffectRemover implements Listener {
@EventHandler(priority = EventPriority.HIGHEST)
public void onEffect(EntityPotionEffectEvent event) {
if (event.getAction() != EntityPotionEffectEvent.Action.ADDED) return;
if (!(event.getEntity() instanceof Player player)) return;

    Bukkit.getConsoleSender().sendMessage("NewEffect: " + Objects.requireNonNull(event.getNewEffect()));
    Bukkit.getConsoleSender().sendMessage("NewEffect().getType():  " +...
civic cryptBOT
#

Gameoholic started a thread called Partigon - Particle Animation Library.

Partigon is a library which makes it easier for plugin developers to create complex particle animations. It's written in Kotlin, for use in Paper plugins.

Note: This is a plugin intended for plugin developers, it will not do anything on its own. It is intended for use with Kotlin, but there might be Java support in the future.

civic cryptBOT
#

comingflex started a thread called Couldn't pass ProxyInitializeEvent to limbofilter.

ะŸะพะผะพั‰ัŒ!! ะšะพะณะดะฐ ั ะทะฐะฟัƒัะบะฐัŽ Windows 10 ะฝะฐ ัะฒะพะตะผ ะบะพะผะฟัŒัŽั‚ะตั€ะต, ะฒัะต ั€ะฐะฑะพั‚ะฐะตั‚, ะฝะพ ะบะฐะบ ะผะฝะต ะทะฐะฟัƒัั‚ะธั‚ัŒ ะตะต ะฝะฐ Ubuntu VPS (ัะตั€ะฒะตั€), ั‚ะพ ะฟะพัะฒะปัะตั‚ัั ะพัˆะธะฑะบะฐ ยซะะต ัƒะดะฐะปะพััŒ ะฟะตั€ะตะดะฐั‚ัŒ ProxyInitializeEvent ะฒ ะปะธะผะฑะพั„ะธะปัŒั‚ั€ยป

[18:20:48] [Velocity Async Event Executor - #0/INFO] [limbofilter]: Current captcha generator settings will consume 0.08GB RAM normally and 0.15GB RAM on reloads
[18:20:48] [Velocity Async Event Executor - #0/INFO] [limbofilter]: Modify the config to decrease RAM consumption
[18:20:48] [Velocity...

civic cryptBOT
civic cryptBOT
#

kingsushi001 started a thread called Server attempted to load chunk saved with newer version of minecraft! 3578 > 3465.

Hi

I'm getting this error. As I understand, it's from trying to go back to a previous version of a Minecraft from a newer version generated/updated world.

This world was created in single player v1.20.1 and Paper converted it to a multiplayer world for 1.20.1. Any way to fix this? As there was no upgrading or downgrading versions...

civic cryptBOT
#

Tamion replied to the thread server crashes.

could you please provide the logs. my current guess is that you might already have a server running on the same port

civic cryptBOT
civic cryptBOT
#

diam started a thread called Text decoration question.

I want to make only a portion of a message bold but when I set one component as bold every component appended to it is also bold, unless I explicitly flag that other component as not bold. This probably has an incredibly obvious answer but the adventure api docs provided me with zero explanation. Thanks in advance.

#

ALMikey started a thread called java.lang.NullPointerException: Cannot invoke "org.bukkit.command.PluginCommand.setExecutor(org.bukkit.command.CommandExecutor)" because the return va.

java.lang.NullPointerException๏ผšๆ— ๆณ•่ฐƒ็”จโ€œorg.bukkit.command.PluginCommand.setExecutor๏ผˆorg.bukkit.command.CommandExecutor๏ผ‰โ€๏ผŒๅ› ไธบโ€œorg.bukkit.Server.getPluginCommand๏ผˆString๏ผ‰โ€็š„่ฟ”ๅ›žๅ€ผไธบ็ฉบ

ๅฆ‚ไฝ•่งฃๅ†ณ๏ผŸ

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

MarvinWest replied to the thread Minecraft 1.20.

yes currently their latest version is 1.20.41 I think you should update to the latest version to have great experiences

civic cryptBOT
#

stefvanschie replied to the thread Minecraft 1.20.

yes currently their latest version is 1.20.1 at [link removed by moderator] I think you should update to the latest version to have great experiences

Please do not post links to unofficial Minecraft APKs. Besides, the message was about Paper/Spigot, not Minecraft itself.

civic cryptBOT
#

Bruce2W started a thread called Help with "The server has not responded for 10 seconds! Creating thread dump".

I have had a private MC Paper server running for my son for years. Unfortunately last weekend it started repeatedly crashing.

The error "[Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds!" is repeated several time before the server eventually stops.

The error began when running paper-1.20.1-68.jar I updated to paper-1.20.2-307.jar but unfortunately the error continues.

I have looked for plugins in the log output but am not seeing any listed.

Would be very...

civic cryptBOT
#

Bruce2W replied to the thread Help with "The server has not responded for 10 seconds! Creating thread dump".

I downloaded the paper binary and world data to my Mac Pro (Trashcan) desktop and found the same error.

According to my son only local areas of the map are loading.

Initially I started with the command

java -Xmx1024M -Xms512M -jar paper-1.20.2-307.jar --nogui --world GavsWorldPartyTime

Then I switched to
java -jar paper-1.20.2-307.jar --world GavsWorldPartyTime

Then finally
java -jar paper-1.20.2-307.jar

This is the entire console output for the first session...

#

Bruce2W replied to the thread Help with "The server has not responded for 10 seconds! Creating thread dump".

I downloaded the paper binary and world data to my Mac Pro (Trashcan) desktop and found the same error.

According to my son only local areas of the map are loading.

Initially I started with the command

java -Xmx1024M -Xms512M -jar paper-1.20.2-307.jar --nogui --world GavsWorldPartyTime

Then I switched to
java -jar paper-1.20.2-307.jar --world GavsWorldPartyTime

Then finally
java -jar paper-1.20.2-307.jar

This is the entire console output for the first session...

civic cryptBOT
#

Kaelinator started a thread called Could not find org.spigotmc:minecraft-server:1.20.2-R0.1-SNAPSHOT:txt:maps-mojang.

Hi y'all I'm trying to use the mappings for paper. I've used the guide here https://forums.papermc.io/threads/how-to-use-nms-with-paper.89/post-276

I am using maven. I don't want to switch to Gradle right now. Perhaps in the future, just not right now.

I am getting the following output when I try running: mvn net.md-5:specialsource-maven-plugin:2.0.2:remap:

[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.me:backflip >------------------------
[INFO] Building...

#

Machine Maker replied to the thread java.lang.NullPointerException: Cannot invoke "org.bukkit.command.PluginCommand.setExecutor(org.bukkit.command.CommandExecutor)" because the return va.

You do not register commands in the paper-plugin.yml. You must handle command registration yourself by adding a class that extends command and adding it to the command map. Future API will be added to better handle command registration for plugins using the Paper Plugin system.

Feel free to continue to use plugin.yml. paper-plugin.yml is still experimental and being worked on, and support for plugin.yml isn't going away even when it isn't experimental.

civic cryptBOT
civic cryptBOT
#

Bruce2W started a thread called How do I repair a damaged level / world.

My current version Paper server began crashing with "The server has not responded for 10 seconds! Creating thread dump" errors.

It does not do this with a new world only with the one my son has been playing for years.

Any suggestions on how to repair a damaged set of world files?

civic cryptBOT
civic cryptBOT
#

ItzDavi started a thread called Simulation distance seems bugged.

Hello,

Trying asking here since nothing seems to work.

I recently opened a server for me and my friends. Everything's fine except that the simulation distance has some problems.
If I'm more distant than 3 chunks radius, crops farms and mobs won't render / work. Nothing. I tried increasing the simulation-distance and the view-distance from both server.properties and spigot.yml. What am I missing ? Why can't I see mobs if they are 3 chunks away from me ?

civic cryptBOT
#

Smudge replied to the thread Leaf โ˜… ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐˜€ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—–๐—ต๐—ฎ๐˜ | ๐—ฆ๐˜๐—ฎ๐—ณ๐—ณ๐—Ÿ๐—ถ๐˜€๐˜ | ๐—”๐—ป๐—ฑ ๐— ๐—ผ๐—ฟ๐—ฒ!.

Added argument options for info command type.
Added option to use legacy hex in messages.
Hardcoded inventory items to not be italic (Could not figure out how to do it by default).
Mini Placeholders support added by @CoolDCB.
Discord commands are now removed on reload and restarts.
Server restarts should now trigger the switch event instead of the join event.
Added discord option for webhooks and commands to delete the message after a specified time.
Added option to check arguments for...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

zimb3l started a thread called Scoreboard 'registerNewObjective' deprecated?.

Hey!

I'm currently trying to write a plugin, one of which's features is supposed to be showing a scoreboard every 30minutes with a score based on mob kills.
Most of this is not implemented yet but the update function, but I receive a Warning from IntelliJ in one of the lines for creating the scoreboard

public class TimerHandler {
final String name_string = "mobBattle";
static final Criteria criteria = Criteria.DUMMY;
final String display_name_string = "Mob Battle";

void...
civic cryptBOT
#

Kaelinator started a thread called Make player do a backflip.

Hi y'all, I've been working on a plugin that allows the player to do a backflip.

Everything works except for this little animation detail that I just can't get over. This detail is less of a problem for a front flip animation, so I've changed the plugin to be "frontflip" for the time being.

I'm using a ClientboundMoveEntityPacket.PosRot in order to move a ServerPlayer that I've created. I've setGliding(true) on the ServerPlayer so that I can simply rotate the pitch of the player in order...

civic cryptBOT
#

IINFINITY started a thread called "When clicking on a player head, the menu doesn't open..

Hi, I'm a beginner developer, and I'm working on my own plugin. I've encountered an issue that I haven't been able to solve for around 1 day. When I click on a player head in Minecraft, specifically in the code BanGuiCommand.kt, nothing happens. The script BanGuiListener doesn't open the BanConfirm menu. Does anyone know how to fix it? Here are the scripts.
I'm using PAPER 1.20.2, Kotlin, and Maven.

BanGuiCommand.kt
package me.infinity.banplugin.commands

import org.bukkit.Bukkit
import...

civic cryptBOT
civic cryptBOT
#

LittlePotato started a thread called MultiProxy Tab Plugin.

Hello, I've been looking for a tab plugin that has velocity and multiproxy support

civic cryptBOT
#

JugH3ad replied to the thread How do I repair a damaged level / world.

Try removing the region files and adding them back one by one to see if you can identify the bad file.
As long as you are not using custom blocks you can try loading the world up to a single player world and see if the vanilla client will load it. It may be able to correct errant data in the files.
There are also programs like AmuletMC that will allow for editing the mca region files.

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

TozyDev replied to the thread "When clicking on a player head, the menu doesn't open..

strippedTitle.equals(ChatColor.DARK_RED.toString() + "Choose Player to ban", ignoreCase = true) always returns false.
Because when you strip color from the title, you don't need to add color when checking it.
Ref: https://jd.papermc.io/paper/1.20/org/bukkit/ChatColor.html#stripColor(java.lang.String)

civic cryptBOT
#

SONGO KOMETA started a thread called Similar mod to HT tree chop for paper?.

So im looking for a mod for a tree chopping, but i dont want it to easy. I feel like downing a tree after one block is a bit of an overkill and imersion breaker. Is there a similar mod aviable for Paper currently? Or at all for that matter.

civic cryptBOT
civic cryptBOT
#

1234567s started a thread called TNT behaiving wierdly on papermc.

I have built a design of a cannon that makes use of tnt duplicators to accelerate an arrow and kill the ender dragon, however, the TNT behavior seems to be different from vanilla.
this is a video on how the TNTs behave in papermc
and this is a video on how the TNTs behave in vanilla
I have removed all the plugins to check if the plugins have been causing issues but it did not make any difference. The version is 1.20.4 because the tick function was helpful for debugging and making the video...

civic cryptBOT
#

Mountain_Goat1 started a thread called Why can't anyone connect to my server outside my LAN?.

Help!
For the past two weeks I've been trying to get a Minecraft server running with PaperMC and Velocity.
Sadly, none of my friends have been able to join. This is not an uncommon problem to have;
usually the culprit is the NAT in one's router. However, I have tried everything under the sun, and
no matter what I try (also my ISP, the technicians there can't figure it out either), I just can't join my
server from outside my LAN.
Please help.

civic cryptBOT
#

Mulakulu started a thread called Can't change owner of ender pearls with commands.

Apparently this is a bug that has existed in Minecraft for a while, and only recently fixed in 1.20 prerelease 2 MC-226344. Follow the same steps as the bug report, and it works in singleplayer but not in Paper multiplayer build #318. I need this for a minigame to work, so having it fixed or finding a workaround would be very appreciated

#

Mulakulu replied to the thread Can't change owner of ender pearls with commands.

Nevermind. I found disable-unloaded-chunk-enderpearl-exploit in paper-world-defaults.yml and set it to false. It works now

civic cryptBOT
#

WildPenguin replied to the thread Why can't anyone connect to my server outside my LAN?.

You need to tell your exact network configuration here. I.e. without the following pieces of information:

Your OS
Java or Bedrock? Do your friends understand the difference?!
Your subnet (where the server is);
Your netmask
Your router and/or modem model
Your router network configuration (firewall settings, zones, IP forwarding).
Your server.properties file contents copy+pasted here (remove any passwords, if any).

it is impossible to give any kind of guidance. There is no how-to which...

civic cryptBOT
#

Xuho started a thread called NoSuchMethodError with world.spawn() Paper 1.20.1.

Hello, I'm using latest 1.20.1 paper build, and I'm getting the NoSuchMethodError when trying to spawn an entity using the method org.bukkit.World.spawn(org.bukkit.Location, java.lang.Class, java.util.function.Consumer)

I have this version of paper in the pom (I dont have any other spigot / paper dependency):
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

And...

#

Mountain_Goat1 replied to the thread Why can't anyone connect to my server outside my LAN?.

You need to tell your exact network configuration here. I.e. without the following pieces of information:

Your OS
Java or Bedrock? Do your friends understand the difference?!
The server subnet (and the server LOCAL address);
and the relevant netmask
Your router and/or modem model
Your router network configuration (firewall settings, zones, IP forwarding)
Your server.properties file contents copy+pasted here (remove any passwords, if any).

it is impossible to give any kind of guidance...

#

Machine Maker replied to the thread NoSuchMethodError with world.spawn() Paper 1.20.1.

The best way to fix this is to just update. 1.20.1 is not supported.

Are you using a plugin.yml or paper-plugin.yml?

The cause of this issue is probably that you are using paper-plugin.yml which does not include any bytecode remap fixes (on purpose). Upstream changed the type from org.bukkit.util.Consumer to java.util.function.Consumer. You are compiling against a version of the API which expects java.util.function.Consumer but the server you are running it on only has...

civic cryptBOT
#

Xuho replied to the thread NoSuchMethodError with world.spawn() Paper 1.20.1.

The best way to fix this is to just update. 1.20.1 is not supported.

Are you using a plugin.yml or paper-plugin.yml?

The cause of this issue is probably that you are using paper-plugin.yml which does not include any bytecode remap fixes (on purpose). Upstream changed the type from org.bukkit.util.Consumer to java.util.function.Consumer. You are compiling against a version of the API which expects java.util.function.Consumer but the server you are running it on only has...

civic cryptBOT
#

stefvanschie replied to the thread TNT behaiving wierdly on papermc.

Since the design you mentioned relies on TNT duplication, make sure you have set allow-piston-duplication in the unsupported-settings section of the paper-global.yml file to true.

civic cryptBOT
#

soparanoed started a thread called Issue with end gateway portal and transportation vehicles.

I'm encountering an issue on my server where players and mobs aren't teleporting through end gateway portal when they're in boats or minecarts. The teleportation works perfectly fine when they're not in any form of transport. I'm using Paper 1.20.2.

Has anyone else experienced this problem or found a solution for it? Any insights or suggestions would be greatly appreciated!

civic cryptBOT
#

WildPenguin replied to the thread Why can't anyone connect to my server outside my LAN?.

Alright, just so it is clear: I have a much more than basic knowledge of networking, this is a PaperMC Java server with Velocity, and I'm running this server on Gentoo Linux (AMD64), with an AMD Ryzen 7900X and 64 GiB of DDR5-5600. I neglected to write about this in my original post since I was exhausted from trying to get the server to work correctly, and wasn't sufficiently caffeinated. The server works fine, as long as I connect to it through either my LAN IPv4 address or any of my IPv6...

civic cryptBOT
#

1234567s replied to the thread TNT behaiving wierdly on papermc.

Since the design you mentioned relies on TNT duplication, make sure you have set allow-piston-duplication in the unsupported-settings section of the paper-global.yml file to true.

The config allow-piston-duplication was already set to true. As can be seen in the video the TNT has been duplicated successfully, the issue that I am having here is that the falling TNT seems to be moving differently compared to vanilla minecraft which causes the whole setup to just blow up and I was unable to...

civic cryptBOT
#

yangood started a thread called I want to customize a Creeper.

I hope to customize the explosion effect of Creepers, but I wonder if my implementation method is too clumsy. Is there any way to customize a Creeper and replace the original Creeper spawn?
Sorry, my English is not very good!

public class CreeperListen implements Listener {

private static final Logger logger = LoggerFactory.getLogger(CreeperListen.class);

@EventHandler(priority = EventPriority.LOWEST)
public void onBoom(@NotNull ExplosionPrimeEvent event) {
    Entity...
#

yangood replied to the thread I want to customize a Creeper.

I tried to change CREEPER("creeper", Creeper.class, 50) to my own version CREEPER("creeper", CustomCreeper.class, 50) by using reflection on org.bukkit.entity.EntityType, but it didn't work.

civic cryptBOT
#

Mountain_Goat1 replied to the thread Why can't anyone connect to my server outside my LAN?.

My router settings:
Port forwarding for TCP on 25565 to 10.0.0.25,
firewall is currently inactive.

My IPv4 LAN address:
10.0.0.25 (static) all other addresses are dynamic.

Router/modem model:
Something from Bezeq Telecom, Broadcom-based.

server.properties:
#Minecraft server properties
#Thu Dec 14 19:52:19 IST 2023
allow-flight=false
allow-nether=true
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true
debug=false
difficulty=normal
enable-command-block=false...

#

electronicboy replied to the thread Why can't anyone connect to my server outside my LAN?.

server-ip=localhost

You set the thing to only listen on the loopback interface, this means that it will not bind to any externally accessible interfaces

civic cryptBOT
#

turbothewolfhog started a thread called plugin throwing could not pass event error.

I just installed a plugin called ChatManager, which I'm using alongside DiscordSRV and EssentialsX, so I could use an Auction House plugin with Vault. But every time someone joins or leaves my server, the following happens. First, joining:

  • [Thu 18:25:43 ERROR Minecraft] Could not pass event PlayerJoinEvent to ChatManager v3.10.1
    java.lang.NullPointerException: Cannot invoke "net.milkbowl.vault.chat.Chat.getPlayerPrefix(org.bukkit.entity.Player)" because "this.chat" is null
    at...
civic cryptBOT
civic cryptBOT
#

ZZplayz replied to the thread Vanilla Commands don't work.

hey, none of my commands are working, i cant even give myself op in the run.bat file, it says do /help, but NOT EVEN /help WORKS. LIKE WHAT THE FU-
someone plz help

civic cryptBOT
#

stefvanschie replied to the thread plugin throwing could not pass event error.

ChatManager is throwing errors. It's probably best to contact the author of the plugin to ask for assistance.

civic cryptBOT
#

problox started a thread called Cannot invoke "net.minecraft.server.v1_8_R3.NBTBase.load(java.io.DataInput, int, net.minecraft.server.v1_8_R3.NBTReadLimiter).

Encountered an unexpected exception
java.lang.NullPointerException: Cannot invoke "net.minecraft.server.v1_8_R3.NBTBase.load(java.io.DataInput, int, net.minecraft.server.v1_8_R3.NBTReadLimiter)" because "<local5>" is null
at net.minecraft.server.v1_8_R3.NBTTagCompound.a(SourceFile:406) ~[patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.NBTTagCompound.load(SourceFile:70) ~[patched_1.8.8.jar:git-PaperSpigot-445]
at...

civic cryptBOT
#

MacheteT started a thread called My friends can't get on my server because "connection timed out".

I have poured countless hours into making my server function but no one can connect to it. i passed the server port through the firewall, port forwarded the port to my router, made sure my VPN was off and it STILL DOESN'T WORK. the thing is that i changed to a new router around a month ago, which might be the source of the problem but i don't know how to fix it. the server version's 1.20.2 if that helps

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

lollolcheese123 started a thread called Importing NMS in a Maven project using IntelliJ Idea.

As the title states, I want to import net.minecraft.server into my plugin, which uses Maven to build.
I use the IntelliJ Idea IDE by JetBrains, and I just can't figure out how to do so.

I've tried to use BuildTools, but that only gave me CraftBukkit.
I've tried to use PaperWeight-UserDev, nothing happened.
I've litterally scoured the internet for a solution; NOTHING.

So, now I've decided to ask this question over here.

civic cryptBOT
civic cryptBOT
#

lollolcheese123 replied to the thread Importing NMS in a Maven project using IntelliJ Idea.

Hey! I was in the same situation as you until I joined the PaperMC discord and searched for NMS and Maven. I found this repo: https://github.com/Alvinn8/paper-nms-maven-plugin It contains a detailed guide to use the mojang mappings in your project. Happy coding!

I used it, but IntelliJ Idea can't find classes like EntityPlayer

civic cryptBOT
#

lollolcheese123 replied to the thread Importing NMS in a Maven project using IntelliJ Idea.

The link in the previous post shows you mappings so you can translate the type/method/field names.

It's slightly annoying, it goes in the wrong direction

civic cryptBOT
#

wenzhan started a thread called Whether there is a user running Paper on Windows๏ผŸI'm having a lag issue.

https://github.com/PaperMC/Paper/issues/9680
An overview of the issue is on the link above.
Even on paper1.20.4, the lag is still reproducible, even if I reinstall the computer system, everything remains the default.
I can't reproduce the lag on linux, only on Windows, but I don't have enough experience to provide effective information to developers.
I've found that this problem seems to be avoided as long as the server command window is not minimized.
(Avoid the server command window being...

civic cryptBOT
#

Wernekinho started a thread called How do I disable fix-curing-zombie-villager-discount-exploit?.

I'm running a private server with some friends but the villager curing stacking it's not working and I can't find the parameter on paper-world-defaults.yml or paper-global.yml

#

Wernekinho replied to the thread How do I disable fix-curing-zombie-villager-discount-exploit?.

Mojang fixed that bug in 1.20.2. We removed the option.

I thought they would only have fixed it on 1.20.5. Thanks for answering.

Is there any plugin to roll back this fix?

civic cryptBOT
#

baba43 started a thread called Let entity move while player riding it.

Hello everyone, I would like to control a horse on which a player is sitting. The player should not control the horse, but simply remain seated on it while the horse moves independently. Is this somehow possible?

civic cryptBOT
#

WhiteRabbit1719 started a thread called Bungeecord, cant join!.

Hello,

I can't enter the server although I have done it many times but always get this error (picture attached) can someone help me?

I have checked IP/Port/Firewall, everything is correct

civic cryptBOT
civic cryptBOT
civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Nidnhu started a thread called Cannot join paper server.

I am hosting a Minecraft server for my friends and me to play on but I am unable to connect, I am using the Fork UI but that shouldn't have anything to do with this, I am unable to join my server from my home wifi, and am unsure about whether others can join it as of yet but am getting someone to try. the server is port forwarded at the router and I have my firewall set up to accept incoming traffic, what am I doing wrong. I have port forwarded my laptop's IP (the device the server is hosted...

civic cryptBOT
#

lollolcheese123 started a thread called How to spawn NPCs?.

How do I spawn a fake player (aka NPC) like the ones you have in Hypixel?
I am fine with using NMS, CraftBukkit and ProtocolLib.

I've tried a buncha stuff already, but nothing seems to work.
I'd also like to be able to set a custom skin, not just a skin a player is using.

civic cryptBOT
#

kqido started a thread called SimpleXpOrbs | Easy Exp withdrawal.

Easy to use exp withdrawal plugin. Allows players to withdraw their exp levels into a redeemable item.

Commands:
/xporb [amount] -> withdraws specified amount of xp from player
/xporb xp -> displays current xp of player
/xporb all -> withdraws all of players exp
/xporb reload -> reloads plugin

Permissions:
xporb.withdraw -> access to /xporb [amount]
xporb.withdraw_all -> access to /xporb all
xporb.reload -> access to /xporb reload
xporb.xp -> access to /xporb xp
xporb.* -> all permissions...

civic cryptBOT
#

onix started a thread called Server looses ip address when someone outside LAN joins.

Hello guys. Any help will be appreceated. Basically I have a server (physical), which has esxi 6.5. I run there ubuntu vm with static ip outside of DHCP range, forwarded ports. As long as I connect from my local network, it works fine, but if somebody connects from outside then vm looses ip and needs to be rebooted to gain it back. Nothing in Paper logs as server does not crash (i can see that by RAM usage in vmware software). Also nothing in journalctl.
Any hints for me?

#

onix replied to the thread Server looses ip address when someone outside LAN joins.

Do not know, as i cannot ssh into it as it has no ip. I presume it has only the local one
In esxi I have nothing in front of host name and IP addresses

#

Simon replied to the thread Server looses ip address when someone outside LAN joins.

Hm, interesting. I'm not too familiar with esxi, after a quick search I was able to find the following Reddit post here. Can you verify that it is neither of these?

#

onix replied to the thread Server looses ip address when someone outside LAN joins.

Hello!

After someone connects from "outside", what is the output of ip a?

Do not know, as i cannot ssh into it as it has no ip. I presume it has only...

#

onix replied to the thread Server looses ip address when someone outside LAN joins.

Hm, interesting. I'm not too familiar with esxi, after a quick search I was able to find the following Reddit post here. Can you verify that it is neither of these?

Not sure as I set static IP through netpan, which is ubuntu utility. Also there are no such issues with any other process, except minecraft server. And that bothers me the most

civic cryptBOT
#

Simon replied to the thread Server looses ip address when someone outside LAN joins.

Hm, I see. I know what netplan is, but I'm afraid I won't be much help here. With that being said, as long as you bind the Minecraft serbur to the correct address in the server.properties file, it shouldn't matter. Out of curiosity, if you start any other application that uses TCP on the same VM, and try to connect, does the same thing happen?

#

onix replied to the thread Server looses ip address when someone outside LAN joins.

Hm, I see. I know what netplan is, but I'm afraid I won't be much help here. With that being said, as long as you bind the Minecraft serbur to the correct address in the server.properties file, it shouldn't matter. Out of curiosity, if you start any other application that uses TCP on the same VM, and try to connect, does the same thing happen?

Not sure it is tcp, but if I run nginx, then no problems there.

#

onix replied to the thread Server looses ip address when someone outside LAN joins.

With that being said, as long as you bind the Minecraft serbur
Yeah, I tries blank, 0.0.0.0 and local ip, but no luck. I guess i will never find out where is the problem.
Thank you for your time and help.

#

Simon replied to the thread Server looses ip address when someone outside LAN joins.

No worries, sorry I couldn't help with much. My last tip would be to try with an address that is in the DHCP address range, or just let DHCP assign something and update stuff dynamically.

civic cryptBOT
#

ysl3000 replied to the thread How to spawn NPCs?.

With underlying ai or just still standing?

civic cryptBOT
#

lollolcheese123 replied to the thread How to spawn NPCs?.

Just still standing, underlying AI is a bit much for now.

civic cryptBOT
#

ZioBasi started a thread called [Server thread/ERROR]: Failed to read chunk.

It's been a while since I got to work on an MC server, so obviously I decided to upgrade the entire server: I switched from spigot to papermc and I was using version 1.18.2 and I wanted to upgrade to 1.20.4 before backing up the world. When I first started the server, I ran into this error:

[Server thread/ERROR]: Failed to read chunk

Here's the log:

[18:25:05] [Worker-Main-2/INFO]: Preparing spawn area: 5%
[18:25:05] [IO-Worker-1/WARN]: Failed to read chunk [0, 1]...

civic cryptBOT
#

RADAR_PRE_LEAK_64 replied to the thread [Server thread/ERROR]: Failed to read chunk.

My guess is that if youre sure the permissions are correct (or at least set to 0777/rwxrwxrwx) and you see no other error, either there is another instance of the server running which blocks the file, or that the file is damaged

civic cryptBOT
#

ZioBasi replied to the thread [Server thread/ERROR]: Failed to read chunk.

My guess is that if youre sure the permissions are correct (or at least set to 0777/rwxrwxrwx) and you see no other error, either there is another instance of the server running which blocks the file, or that the file is damaged

I gave permission to the entire folder, you can check from the previous answer if I did something wrong, but I don't think so.
There aren't other istance of the server running.
The file could be damage, I tried to stop the server, delete it and run the server again...

#

ZioBasi replied to the thread Bungeecord, cant join!.

Solved!

You can change topic title to "solved" and explain how you did it.
Why people ask for help, but then don't want to give it lol?!

civic cryptBOT
civic cryptBOT
#

ZioBasi replied to the thread [Server thread/ERROR]: Failed to read chunk.

Funny thing: I was sure to have the new paper.jar file while I was still using the spigot.jar. That's what was causing the issue.

civic cryptBOT
#

JunglTemple started a thread called Can't roll back server version.

I was trying to make Geyser work, which meant updating to 1.20.4. I thought this would work, but it caused some other plugins, including my world generation plugin, to break because of incompatibility with 1.20.4. I stupidly forgot to make a backup because I thought it would work, and now I'm stuck with a server that will crash on every start. Is there a way to make it work?

civic cryptBOT
#

EterNity replied to the thread Can't roll back server version.

Downgrading is not supported.

Either use 1.20.4 and find non-abandoned plugins or restore from a backup you made before you upgraded the server.

civic cryptBOT
#

JunglTemple replied to the thread Can't roll back server version.

Downgrading is not supported.

Either use 1.20.4 and find non-abandoned plugins or restore from a backup you made before you upgraded the server.

So if I wanted to keep the plugins, I would have to wait until they get updated? Is there seriously no way to roll back unless there's a backup?

#

Machine Maker replied to the thread Can't roll back server version.

Neither vanilla nor paper support downgrading. There is a whole process for converting chunks, entities, player data, everything to newer versions that is only written in one direction. Which is why you can't just go back to an older version, the game could be expecting data to be structured one way, only to find it different because it has been updated.

#

JunglTemple replied to the thread Can't roll back server version.

Neither vanilla nor paper support downgrading. There is a whole process for converting chunks, entities, player data, everything to newer versions that is only written in one direction. Which is why you can't just go back to an older version, the game could be expecting data to be structured one way, only to find it different because it has been updated.

That makes a lot more sense. Thank you for letting me know.

civic cryptBOT
#

nonameprior started a thread called Very high avg tick.

Hi. I have a strange problem. Everything was always fine, no problems for several years, but a couple of days ago something changed, my avg tick grows up to 10-40 thousand milliseconds, both on paper kernel and purpur kernel.
Tried to create a server from scratch, completely bare server without plugins and other changes - same problem, completely reinstalled windows - the problem remains. Changed the startup file, run directly (without a startup file) - no result. Absolutely do not know what...

civic cryptBOT
#

stefvanschie replied to the thread Very high avg tick.

Could you provide a Timings or Spark log? That will show what is taking up the most time on your server.

civic cryptBOT
#

Camm replied to the thread New Years post.

Happy New Year everyone! Cheers to the Paper team for all their hard work in 2023, excited to see what 2024 brings (hopefully some cutlery)!

#

EterNity replied to the thread New Years post.

Love you!

civic cryptBOT
#

ysl3000 replied to the thread New Years post.

Wonderfull to hear that news.

#

MCmitNoah replied to the thread New Years post.

Thanks to the members of the paper team for their hard work to make plugin development more enjoyable!

#

pop4959 replied to the thread New Years post.

Great year for Paper, looking forward to everything coming in 2024 as well. Happy new year!

civic cryptBOT
#

torvalds started a thread called Creative+ 1.4 - Let your players create worlds.

Creative+ is plugin that allows players to create their own worlds.
Let your players bring their fantasy into worlds.

Languages
This plugin supports English and Russian languages, just change the locale in config.yml.

locale: en #You can set ru
All messages you can translate and edit in localization file.

Explore the worlds
When player joins server he will get items that allows him explore the worlds list. He can just click the icon and teleport to selected world.

Create the worlds...

civic cryptBOT
#

david replied to the thread New Years post.

Looks great.

civic cryptBOT
#

lollolcheese123 replied to the thread How to spawn NPCs?.

Don't mind me, just bumping this

civic cryptBOT
#

Simon replied to the thread How to spawn NPCs?.

Use a plugin like Citizens. There are also other, simpler alternatives, consider looking thru them.

civic cryptBOT
#

lollolcheese123 replied to the thread How to spawn NPCs?.

So, I'm trying to use FancyNpcs, but I get an error that FancyNpcsPlugin.getNpcAdapter() can't be used in a static context, when the context isn't static at all

civic cryptBOT
#

Fahrenheit451 started a thread called Anyone know why mcping is returning Anonymous Player and zero uuid?.

Hi. Has anyone seen this issue before with mcping where player uuid's are all zeros and all names are "Anonymous Player". It started happening recently, probably in the last month or so. It's a standard mcping using php which hasn't changed for a long time.

Here's a snippet of the json data coming back from the server (with the favicon stripped out):

Code (Text):
{"version":{"name":"Paper...

civic cryptBOT
civic cryptBOT
#

Fahrenheit451 replied to the thread Anyone know why mcping is returning Anonymous Player and zero uuid?.

That is indeed the issue. I did notice some players were showing up fine, but others not, so I thought it was a code issue. I tested it with my ID and that's the setting! Thanks a lot for the quick response. Very much appreciated.

civic cryptBOT
#

KianFakheriAghdam started a thread called Questions regarding custom item creation..

I've added a knife item to my plugin but I have a couple of issues.

I needed an unstackable item with durability. I've seen a lot of people use a carrot on a stick, but that attracts pigs; So I went with a wooden sword. Was there a better item I could've used?

A wooden sword's durability is 60, but I need mine to be only 16. I've damaged the item to 16, but I wouldn't like the tool to look broken & it can be repaired with planks. Is there anyway to modify the max durability of an item?

I...

civic cryptBOT
#

ishatmetrousers started a thread called Average tick reads out in thousands of ms but no lag.

I asked my friend on the server to see if there was any lag because of the high tick speed but neither them or I have had any.
Does the number just read out differently with paper, or could I just be misunderstanding? When I was running a vanilla server previously the average tick never got nearly that high. If there is no lag anyway maybe it doesn't matter but I was concerned that there might be.

Thanks

civic cryptBOT
#

Simon replied to the thread Average tick reads out in thousands of ms but no lag.

Hello!

May I ask, is there a chance you are running this on Windows? I've ran a test instance with nothing a couple days ago, and I was also getting a high value, so this is possibly a bug in the GUI. - Can you please install Spark, and verify that it is shows a different value when executing spark tps?

#

Simon replied to the thread How to spawn NPCs?.

Can you show you code? You can put it into a code block, by using 3 ``` marks.

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

lollolcheese123 replied to the thread How to spawn NPCs?.

Yeah, I know the trick. Here's the code:
package lollolcheese123.cybrspace.cmds.adminCmds;

import de.oliver.fancynpcs.api.FancyNpcsPlugin;
import de.oliver.fancynpcs.api.Npc;
import de.oliver.fancynpcs.api.NpcData;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabCompleter;
import org.bukkit.entity.Player;

import java.util.Collections;
import java.util.List;
import java.util.UUID;

public...

civic cryptBOT
#

Astral started a thread called Whitelisting issue.

I tried to whitelist players onto my smp, but even when i copy and paste (yes i know its /whitelist add) it always says "player does not exist" this is happening on another server that has paper as well. What's happening?

civic cryptBOT
civic cryptBOT
#

localhostov replied to the thread Hello everyone, I'm trying to use Hibernate for my paper server. I'm getting the error..

can you tell me exactly how to use it?
I use these flags to start a build: build shadowJar --offline -x test --continuous.

and I still get the same error as before.

here is my new configuration:

You need to use the Gradle shadow plugin to include hibernate in your plugin jar.

plugins {
id 'java'
id("com.github.johnrengelman.shadow") version "8.1.1"

}

group = 'org.andrewkydev'
version = '1.0'

repositories {
mavenCentral()
maven {
name = "papermc-repo"...

civic cryptBOT
#

ByWexx started a thread called " tick-next-tick-list-cap " paper option removed ?.

Hi, i just wanted to know if the option " tick-next-tick-list-cap " is still here in 1.20.4 , if yes where is it ?

and in case not , there is an alternative to this option ?

like i want to prevent some big redstone farm/machine to operate to keep my MSPT under 50.

without any shitty plugins of course.

thx a lot ( sorry for my eng i'm french ).

civic cryptBOT
#

ItsRainingHP replied to the thread Hello everyone, I'm trying to use Hibernate for my paper server. I'm getting the error..

Hello! I use hibernate for my plugins as well. Very useful tool. I use maven but this should work. Do note, you need drivers to connect to the database. The drivers help make queries based on database type.

dependencies {
implementation "org.hibernate.orm:hibernate-core:6.2.3.Final" //Hibernate
implementation "com.h2database:h2:2.1.214" //H2 driver
implementation "com.mysql:mysql-connector-j:8.0.33"...

civic cryptBOT
#

shorinami started a thread called AtomShulkers โ€“ open shulkers in hands (vanilla-friendly).

AtomShulkers

Plugin that allows you to open shulker boxes in your hands. This plugin is meant to be as simple as possible, it is fully vanilla-friendly, has no configuration, commands, or permissions.

Metrics

This plugin collects anonymous server statistics through bStats, an open-source statistics service for Minecraft software. You can opt out in plugins/bStats/config.yml.

Support

Join the AtomBuilt's Discord Server for community support.

Report Issue

Please, report all related...

civic cryptBOT
#

localhostov replied to the thread Hello everyone, I'm trying to use Hibernate for my paper server. I'm getting the error..

Hello! I use hibernate for my plugins as well. Very useful tool. I use maven but this should work. Do note, you need drivers to connect to the database. The drivers help make queries based on database type.

dependencies {
implementation "org.hibernate.orm:hibernate-core:6.2.3.Final" //Hibernate
implementation "com.h2database:h2:2.1.214" //H2 driver
implementation "com.mysql:mysql-connector-j:8.0.33"...

civic cryptBOT
#

0kcaldonut started a thread called unable to start my server.

When I try to start my server it makes an error
org.spongepowered.configurate.ConfigurateException: []: java.nio.file.FileSystemException: /sdcard/main-20220910T012940Z-001/main/config/.1431006512942-1728425916paper-global.yml.tmp: Operation not permitted

Please, can you give me some advice to solve this problem?

civic cryptBOT
#

KianFakheriAghdam started a thread called How to get the appropriate tool for mining a block?.

There are both Block.isValidTool() & Block.isPreferredTool() but they tell you if the block will drop something if you mine it with that tool. I want to know which tool can be used to mine the block faster. For example for dirt, a shovel. For oak logs, an axe & for wool, shears.

I can use paperweight (NMS) but I would prefer not to. I've seen the following relating posts but they aren't what I want & Item.canDestroySpecialBlock() seems to no longer be a thing for 1.20.4...

civic cryptBOT
#

Bloodmort replied to the thread Item Sorter not working.

I have an Allay Sorter 25 Allays, They are in minecarts and one notebook per 5 allays.

I have read you have to release the Allay and assign the notebook before putting them back in the minecart for PaperMC. This works BUT, another allay stops working. I cannot get more than 12 allays at a time to be attached to a noteblock. Is there a setting in PaperMC that is only allowing 12 allays to be attached to a noteblock at a time.

Below you can see one of 5 groups of allays, this was...

civic cryptBOT
#

civious started a thread called ConcurrentModificationException on ChunkGenerator.

Hey, I'm currently working on a world generator and today I randomly got this error generating a world :
https://pastebin.com/KSxP3uDa

This is the first time I've gotten it in over 300 generations with the same class, it happened completely randomly. In my opinion this seems to come from the (paper) spigot api.

I'm not sure if it comes from either PaperSpigot, Spigot or my version of PaperSpigot.
The version I'm currently using that received the error is is git-Paper-241 (MC: 1.20.2)...

civic cryptBOT
#

Machine Maker replied to the thread ConcurrentModificationException on ChunkGenerator.

Yeah, looks like a legit bug to me. The map that is used to convert between API enums (like PointedDripstone$Thickness) and their nms counterparts was just a regular HashMap so it's conceivable that this could happen. I've opened a PR that should resolve it.

civic cryptBOT
#

SkytAsul replied to the thread How to get the appropriate tool for mining a block?.

I just checked the server code to understand how is it done, and internally it is checking the tags of the block for "mineable/pickaxe" or "mineable/shovel" etc.
You can find a list of block tags here: https://minecraft.wiki/w/Tag#Blocks
And the interesting classes were those: net.minecraft.world.item.DiggerItem (method isCorrectToolForDrops) and the constructor of net.minecraft.world.item.PickaxeItem.

civic cryptBOT
#

civious started a thread called BlockPopulator async ?.

Hey I have another issue with my world generator, when using BlockPopulators. When I'm reading or modifying blocks from a BlockPopulator I have either an infinite loop (for reading) or AsyncException (for modifying). The workarround I found is using a BukkitRunnable inside the BlockPopulator to get ride of the problem but it slows down significantly the process :
@Override
public void populate(WorldInfo worldInfo, Random random, int chunkX, int chunkZ, LimitedRegion limitedRegion) {
...

#

civious replied to the thread ConcurrentModificationException on ChunkGenerator.

Yeah, looks like a legit bug to me. The map that is used to convert between API enums (like PointedDripstone$Thickness) and their nms counterparts was just a regular HashMap so it's conceivable that this could happen. I've opened a PR that should resolve it.

Thanks! This is basically because Paper is doing the job async right ? So it's related to Paper and would not happen on Spigot ?

civic cryptBOT
civic cryptBOT
#

Machine Maker replied to the thread ConcurrentModificationException on ChunkGenerator.

Yeah, I'm not sure. I think the documentation on spigot does talk about logic in chunk gen needing to be thread-safe. But I'm not sure if it actually uses multiple threads. Either way, should be fixed as of build 383 for 1.20.4

civic cryptBOT
#

km7dev started a thread called Can't use ItemMeta.displayName(component) with TranslatableComponent.

I tried running meta.displayName(new TranslatableComponent("item.minecraftplus.copper_sword")); but it gave me the error The method displayName(Component) in the type ItemMeta is not applicable for the arguments (TranslatableComponent), can anyone tell me how to make it work? The javadocs say under setLocalizedName to "Use displayName(Component) with a TranslatableComponent." and that caused the error.
Here's the surrounding code if needed:
copperSword = new ItemStack(Material.STONE_SWORD)...

#

Machine Maker replied to the thread Can't use ItemMeta.displayName(component) with TranslatableComponent.

You are using the wrong TranslatableComponent, probably the deprecated one (which is a good clue it's not what you want). Use adventure's components via Component#translatable which returns and adventure TranslatableComponent.

#

km7dev replied to the thread Can't use ItemMeta.displayName(component) with TranslatableComponent.

You are using the wrong TranslatableComponent, probably the deprecated one (which is a good clue it's not what you want). Use adventure's components via Component#translatable which returns and adventure TranslatableComponent.

Note that server-side translations will not work with ItemMeta (display name, lore, etc.). Those do not support the server-side translation system so any non-vanilla translation keys will have to be present on the client via a resource pack.

I'd already found my...

civic cryptBOT
#

Glasfaser14 started a thread called Best Way to combine multiplie MC-Servers in one Server.

Hello Guys,

I have three seperate MC-Servers running with Paper 1.20.4 on one Linux Rootserver. However, if there are several players on all three MC-Servers, the MC-Servers have performace problems an the TPS drop to 12 to 15 for each MC-Server.

So is there a better an more performance saving way to run Multiplie Servers (Worlds) in one MC-Server instllation.

I also heard about plugins like Multiverse-Core, where you cann add several world to your MC-Server, but it is possible to connect...

civic cryptBOT
#

EterNity replied to the thread Best Way to combine multiplie MC-Servers in one Server.

Multivers-core only creates additional worlds on top of the original 3 from Vanilla Minecraft. It is unlikely to help you with performance issue.

It's important to get a proper diagnosis first since you mentioned you are having performance issue.

Try to download this plugin and make a profile while you are having lags. https://spark.lucko.me/download

You can reply with the report URL here or join the PaperMC discord #paper-help channel for additional support.

civic cryptBOT
#

not7142 started a thread called Friend cant connect.

My firend cant seem to be able to connectr to my Paper server. Its infinte connceting to server or my server does not exist. I gave him ip, my port (which is default). Nothing's work.
Perhaps ive done port fowarding wrong (which is called port mapping in my case)

civic cryptBOT
#

Kamisenin started a thread called Trying to interfere with Water bottle filling.

Hi ! Its my first time on the platform so if i did something wrong don't hesistate to tell me. And also sorry if i'm not clear, english is not my mother tongue (first language)

So i'm working on a realistic thirst plugin and as of right know i'm trying to do so that when a player tries to fill a glass bottle, if the block he is aiming at (or the player) is in a Ocean Type biome, it will fill the water bottle as an Awkward potion instead. I've got some clues on how to do it but all of them...

civic cryptBOT
#

Rain_Blueberry started a thread called I can't put armor trim smithing template into smithing table.

I use version paper 1.20.4 389
In singleplayer mode๏ผŒI can put armor trim smithing template into smithing table

But in paper server๏ผŒI can't put armor trim smithing template into smithing table

civic cryptBOT
#

electrikkat started a thread called ban appeal.

I got banned from papermc discord for being an "alt" of someone. Not sure why, as I am not an alt
my punishment id is 65a65eee42b7936e54a59feb

civic cryptBOT
#

Machine Maker replied to the thread ban appeal.

Please go through the proper ban appeal process found here.

civic cryptBOT
#

lemohiada started a thread called How can I make my own waterfall fork?.

Hello, i have a question. I want to make my own fork of waterfall in which I would like to edit some messages and functions for myself, could someone write/help me, how can I get the source for editing?

#

electronicboy replied to the thread How can I make my own waterfall fork?.

you would generally fork the travrtine repo and use that as it patches over waterfall, at least, that's the easiest way to get setup, some other forks of travertine might have more updated scripts, idk; Outside of that, generally apply that repo and remove all the patches bar patch 1, and redo that patch in order to rebrand, etc

civic cryptBOT
#

luismayme started a thread called Getting the Pathfinder of a mob with the paper API.

Hello there, I'm new to the paper API and I'm trying to use the Pathfinder utility. The problem is that my IDE is unable to find the method getPathfinder() when I'm trying to get it from a bukkit Mob.

My dependencies on maven:
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.20.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>...

#

luismayme replied to the thread Getting the Pathfinder of a mob with the paper API.

I've tried removing spigot and it didn't work, also I'm using NMS, which paper repo has it? Thank you for the quick reply!

#

electronicboy replied to the thread Getting the Pathfinder of a mob with the paper API.

if you can't see papers API methods, you would generally want to check your classpath as it would surmise that something is bundling spigot/bukkit API classes
nms is not inside of a repo, anybody with that in a repo is generally violating mojangs EULA, we do not support using maven for accessing internals, there is however a 3rd party community provided maven plugin for doing so out in the public

civic cryptBOT
#

luismayme replied to the thread Getting the Pathfinder of a mob with the paper API.

I've explained myself poorly. I don't want the javadocs of mojang, I know it's not legal. I just want the NMS classes to be recognized on the project. Also, I've checked the classpath and I think there is no other thing than the maven dependencies working...

#

electronicboy replied to the thread Getting the Pathfinder of a mob with the paper API.

I never said anything about the javadocs of mojang.
You are bundling spigot, bundling spigot will implictly bundle spigot-api, spigot-api will mask paper-api's classes, and thus, you will need to add an exclusion to spigot in order to not include spigot-api

civic cryptBOT
#

luismayme replied to the thread Getting the Pathfinder of a mob with the paper API.

Using NMS is against EULA? Damn, I've seen so many posts and plugins using it that I didn't know. Also, I'm having a hard time doing what you told me. I've tried cleaning maven, looking into the project dependencies and still not finding getPathfinder

#

electronicboy replied to the thread Getting the Pathfinder of a mob with the paper API.

Using NMS is against EULA?

That's not what I've said in the slightest. using NMS is fine, mojang explictly allows that as per their licensing agreements. Putting spigots jar inside of a maven repo would be a violation of the EULA, as shipping modified versions of mojangs software is a violation of their agreement, hence why spigot has buildtools, and we have paperweight.

EDIT: So if I'm using NMS I can't use Paper differing from using spigot which includes de NMS classes, right?

There...

civic cryptBOT
#

luismayme replied to the thread Getting the Pathfinder of a mob with the paper API.

I've managed to make paper work as the only dependency with the plugin you spoke about since I've never used gradle nor I know how to refactor the project into using gradle. I'm still unable to use paper Pathfinder but at least I've got NMS mapped...

civic cryptBOT
civic cryptBOT
#

tobiasbms started a thread called How to register plugin without plugin.yml.

Hello community.

I hope you all are well!

I am trying to register a command without the plugin.yml file, and do as the documentation on papermc says - use the CommandMap.

This seems quite complex and I am in a beginner level state currently.

I have the following code currently:

https://paste.gg/p/anonymous/5e9083312e13437cb7e14564704b30bd

I dont understand the commandmap - how should this be registered ? Because currently I dont have a instance of a commandMap!??
I hope somebody can...

civic cryptBOT
#

ac124 started a thread called "Unsupported Java detected (61.0). Only up to Java 16 is supported" error in a java 17 server.

So, i updated the java version of my server from java 16 to 17, but it says unsupported java version
Server marked as starting...
Pulling Docker container image, this could take a few minutes to complete...
Finished pulling Docker container image
java -version
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment Temurin-17.0.9+9 (build 17.0.9+9)
OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (build 17.0.9+9, mixed mode, sharing)
java -XX:+UseContainerSupport...

civic cryptBOT
civic cryptBOT
#

LINCKODE replied to the thread Getting the Pathfinder of a mob with the paper API.

I've managed to make paper work as the only dependency with the plugin you spoke about since I've never used gradle nor I know how to refactor the project into using gradle. I'm still unable to use paper Pathfinder but at least I've got NMS mapped...

I think Gradle can automatically convert your maven project: https://www.baeldung.com/maven-convert-to-gradle

Also i think you can get a hold of the pathfinder like this:

import com.destroystokyo.paper.entity.Pathfinder;
import...

civic cryptBOT
#

ibagami started a thread called help with blocks.

Hello
I am new to Minecraft, my son used blockcraft where blocks are always available to build, now he wants to do it with Minecraft but I can't find a way for him to have unlimited resources to build.
Is there a plugin or modpack for this?
He has ASD and sometimes he doesn't understand that it is played differently
Thank you

civic cryptBOT
#

luismayme replied to the thread Getting the Pathfinder of a mob with the paper API.

I think Gradle can automatically convert your maven project: https://www.baeldung.com/maven-convert-to-gradle

Also i think you can get a hold of the pathfinder like this:

import com.destroystokyo.paper.entity.Pathfinder;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Mob;

...

Entity bukkitEntity = //Your entity
Pathfinder pathfinder = ((Mob) bukkitEntity).getPathfinder();

Thank you for your reply! I also tried that and it didn't work. I ended up understanding that the order...

civic cryptBOT
#

Codixer replied to the thread Velocity BungeeShield Paper 1.12.2.

Bungeeguard is a feature of 1.1.0 if I recall correctly.

civic cryptBOT
civic cryptBOT
#

stefvanschie replied to the thread help with blocks.

It sounds to me like your son wants to play in creative mode. In creative mode, you have unlimited resources, along with other features such as being able to fly. To set your son's gamemode to creative, you can use the following command from the console: gamemode <minecraft_name> creative, where <minecraft_name> ahould be the Minecraft name of your son. See also these pages:

Creative mode
gamemode command

civic cryptBOT
#

LinuxSquare started a thread called Plugin loading problem on server start.

I have two self-written plugins. NovEcon2 and RealBanks2.

NovEcon2 is my economy-plugin, which depends on Vault and RealBanks2 as softdepend.
RealBanks2 is my banking-plugin, which also depends on Vault.

Source-code is available here (important, stay in branch kotlin-rewrite):
NovEcon2: https://codeberg.org/Noveria/NovEcon2/src/branch/kotlin-rewrite
RealBanks2: https://codeberg.org/Noveria/RealBanks2/src/branch/kotlin-rewrite

I have implemented an api inside RealBanks2, to access some...

civic cryptBOT
#

dawsome8519 started a thread called Paper 1.20.4 Cannot connect to Tikfinity.

Hi , i have problem with this version. I dont know what kind of Java I need, all fix tuts I tried , but it still doesnt work. Please somebody help me :')

civic cryptBOT
#

_Iuri replied to the thread I18n Translation System.

I love it, thanks for update it to 1.20.4.

It should be added to PaperMC by default

civic cryptBOT
#

leonrobi replied to the thread Finding out when a pathfinding goal is reached.

Solved using NMS but this can be done without NMS
private var movingLock = false
override fun tick() {
super.tick()
if (this.deltaMovement.x == 0.0 && this.deltaMovement.z == 0.0) {
if (movingLock) {
Bukkit.broadcastMessage("Stopped moving.")
movingLock = false
}
} else {
movingLock = true
}
}

civic cryptBOT
#

BlazeCMD started a thread called Players attack monsters make server crash.

My server have crashed for 12 days. I tried deleting plugins and only installing few plugins (EssentialsX, EssentialsChatX, EssentialsSpawnX, MMOItems Legacy, MMOItems Mana, MyItems, MythicMobs) but it still crashed. After, I installed only 1 plugin MythicMobs, I can't see any crashes. Then I re-installed other plugins as an official server and it crashed after about 3 hours (I thought that the server didn't crash, but it did).

The server crashes when 2 players in my server attack monsters...

civic cryptBOT
#

Mogwai started a thread called Entity congregations.

This is something that has perplexed me for some time.
I have a survival server that I have maintained for quite some time. It was established first under 1.17. I don't remember if I was using Spigot at the conception, but it did become Spigot. By 1.19 I moved to Paper.

The npc entities all seem to congregate to one area. While foxes and sheep may go to one place, and cattle to another, I have yet to figure out why they are driven to one specific point.

Tonight kind of blew my mind...

civic cryptBOT
#

dorenfeld0 replied to the thread Text decoration question.

I want to make only a portion of a message bold but when I set one component as bold every component appended to it is also bold, unless I explicitly flag that other component as not bold. This probably has an incredibly obvious answer but the adventure api docs provided me with zero explanation. Thanks in advance.

EditNo longer need any help, was a nesting issue (ofc).
It's like deciphering a code that unlocks the chronological magic of academic progress...

civic cryptBOT
#

GLMidnight started a thread called Autorestart script won't work.

(My post got deleted on Spigot Forums, so posting here. Sorry if I posted on the wrong forum or anything, I haven't used this before)

I'm having trouble getting auto-restart to work. This is my "ServerRestartScript.sh":
#!/bin/sh
java -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20...

civic cryptBOT
#

Nono40 started a thread called Server lag and rollback every 5 min.

Hi,

We run a server since a long time without any issue. The latest stable version running during months is paper-1.20.1-76.jar
I upgrade to paper-1.20.4-397.jar a few days ago and today to the last one paper-1.20.4-399.jar
Since I upgrade to 20.4 i start to get some lags.

Today I staty connected to the server and notice a warning every 5 minutes corresponding to the lag and rollback on the game :
[22:13:59 WARN]: Can't keep up! Is the server overloaded? Running 3283ms or 65 ticks behind...

civic cryptBOT
#

stefvanschie replied to the thread Server lag and rollback every 5 min.

You seem to have quite a bit of entities, specifically in world SK in region (-2048, 0) there are over 1 800 chickens. I'd recommend reducing the amount of these.

civic cryptBOT
#

electronicboy replied to the thread Server tps is very low.

from a quick glance it looks like you've got too much going on in the world, however, we don't support software that isn't ours, and so you'll need to go to the software vender for further support

civic cryptBOT
#

Nono40 replied to the thread Server lag and rollback every 5 min.

Thank you very much for the answer. This points us on the right direction.

I spoke with the admin who install the server and we were not thinking that the chunks remain active when the players leave a world.
We were thinking it just uses disk space (we have a lot free) but not server CPU ressources.
Half of the worlds will never be used again.

As I am the only one now to connect with Minecraft, I have removed all worlds except the one I use. This includes the SK world with the big colony...

civic cryptBOT
#

slimofthejimz started a thread called Reoccurring 'Exception ticking world' Crash.

Hello,

I've had a reoccurring crash on my 1.20.4 Paper server over the past couple of weeks. Server was originally running Paper version 389 and I had updated to 399 to see if that would help and it hasn't. Crash only seems to happen when someone is logged into the server. The crash has also happened within 5 minutes of someone joining, or up to an hour after someone joined. Googling some of the errors in the crash report always comes back with crashes on modded servers, but this is a...

civic cryptBOT
#

PC1up started a thread called Plugin doesn't initialize.

Hey, I currently have the problem that the constructor of my main class is executed but the ProxyInitializaEvent isn't fired.
This is my main class:
private final ProxyServer server;
private final Logger logger;
private static PlayerlistManager playerManager;
private static BanManager banManager;
private static MuteManager muteManager;

public static PlayerlistManager getPlayerManager(){
    return playerManager;
}

public static BanManager getBanManager()...
#

PC1up replied to the thread Plugin doesn't initialize.

Alright so turns out I imported the wrong "Subscribe". I imported the one from Google instead of the Velocity one.

#

GLMidnight replied to the thread Autorestart script won't work.

Found the solution. It turns out that some hosts (like server.pro) do not support SH scripts; which in itself is very annoying (and for some reason the directory keeps changing), so that explains why I couldnโ€™t do other ways (loading up start.sh directly when the server's not on). I contacted support about this before I posted here, and they just told me to use their built-in scheduler (which defeats my point of it restarting when it crashes as thatโ€™s literally what I want). I wouldโ€™ve been...

civic cryptBOT
#

stefvanschie replied to the thread Reoccurring 'Exception ticking world' Crash.

My best guess would be that one of your plugins is performing operations from a different thread which are not supported to be. I'd recommend testing to see which plugin is the culprit. If you still get this issue without any plugins, then this is probably a Paper issue and I'd recommend reporting it on the issues page.

civic cryptBOT
#

slimofthejimz replied to the thread Reoccurring 'Exception ticking world' Crash.

Thanks for the tip! I disabled all plugins and the crash still happens. I updated to the latest version of Paper as well to cover all bases and it still crashes. Will make a thread on the issues page.

Thanks!

civic cryptBOT
#

SrGabriel33 started a thread called How do you make a velocity server allow a player to join using mods?.

I'm making a network server and one of the "minigames" and a modpack with mods.-.
And I can't log into my velocity server with this modpack. How can I do this?

I know it may sound like a silly question. But I honestly don't know how to do that. I've already looked at the velocity wiki and didn't find anything about it.

civic cryptBOT
#

YeahAkis_ started a thread called Low TPS problems.

We've been having a low TPS problems for the past 2 or so months. We have about 5 players actively playing every day and the tps drops go as low as 8.0
The plugins we have:

This is my timings report:
https://timings.aikar.co/dev/?id=afc621cc65b840ae919c74c950a06134
The server has 10GB of ram
this is the launch command:

java -Xms10240M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions...

#

YeahAkis_ replied to the thread Low TPS problems.

i should mention its running behind a proxy - velocity 3.2.0-SNAPSHOT (git-4b765065-b279)

civic cryptBOT
#

UnOwly started a thread called Crops dont load.

Hey everyone,
Im currently working on a simple chunkloader plugin, but running into an error kind of thing.
The chunks keep loaded while no one is on the server (tested this by a simple hopper furnace system), but crops wont grow at all. I checked the properties in case something went wrong there but no solution at all.

I provide you my event handler method and my main class, but with docs it should be working that way or do i miss something out?

@EventHandler
public void...
civic cryptBOT
#

UnOwly replied to the thread Players attack monsters make server crash.

Have you ever tried installing MythicMobs by itselft with dependecies?
Upgrading doesnt solve the problem in this case (or have you updated the plugins aswell?).

It would help providing another crash_log with only MythicMobs and dependencies active.

#

UnOwly replied to the thread Players attack monsters make server crash.

My server have crashed for 12 days. I tried deleting plugins and only installing few plugins (EssentialsX, EssentialsChatX, EssentialsSpawnX, MMOItems Legacy, MMOItems Mana, MyItems, MythicMobs) but it still crashed. After, I installed only 1 plugin MythicMobs, I can't see any crashes. Then I re-installed other plugins as an official server and it crashed after about 3 hours (I thought that the server didn't crash, but it did).

The server crashes when 2 players in my server attack monsters...

civic cryptBOT
#

Jonts started a thread called Zip file closed.

Hello
I updated my server from 1.20.1 to 1.20.4 and right after that i started to get "zip file closed" errors in multiple plugins but most often in world guard, so i went to EngineHub and asked for support and they kindly told me that its not theyre problem and told me it must be a problem with paper so now after 5 hours of failed atempts of fixing it im here and i hope i can get some help.

civic cryptBOT
#

soyraro111 started a thread called AsyncPlayerChatEvent and Essentials Chat Console Spam.

Heyy, i have this error giving me spam on my server please helpp, this is the complete error
30.01 09:23:43 [Server] [ERROR] Could not pass event AsyncPlayerChatEvent to EssentialsChat v2.21.0-dev+25-fbfd7e9
30.01 09:23:43 [Server] [INFO] java.util.UnknownFormatConversionException: Conversion = 'l'
30.01 09:23:43 [Server] [INFO] at org.bukkit.event.player.AsyncPlayerChatEvent.setFormat(AsyncPlayerChatEvent.java:105) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?]
30.01 09:23:43 [Server] [INFO] at...

civic cryptBOT
civic cryptBOT
#

BlazeCMD replied to the thread Players attack monsters make server crash.

  1. I Installed a compatible version of MythicMobs. It is the last version support for 1.10.2. I also tried other lower version but they are not active.
  2. I don't understand correct world. How can it occur? Where are "Both locations" while mobs only despawn in 1 specific world?
civic cryptBOT
#

basti149 started a thread called Low performance on server.

Hi, I've had some lags on my Minecraft server for a few days. The server is hosted at gportal and currently has 8 GB RAM.

Can someone maybe tell me what this could be? Unfortunately, I don't know much about it.

#

electronicboy replied to the thread Low performance on server.

You lost 10 ticks over the space of 30 minutes, that is not a performance issue

#

basti149 replied to the thread Low performance on server.

So is the network or the connection to the server the problem? And not the server itself?

#

electronicboy replied to the thread Low performance on server.

Can't really say as I have no idea what you're seeing, etc; timings is saying that your server is performing fine, but timings only sees so much but, outside of hardware, nothing really stands out as being an issue

civic cryptBOT
#

Simonsator replied to the thread Party and Friends For Velocity | Version 1.0.91.

Update 1.0.92 changelog:

Faster execution of SQL commands due to using indexes
Added /pafadmin version command
Fixed various smaller bugs

Fixed compatibility with Pterodactyl

You have to activate "MySQL.UseMariaDBConnector" if you are using Pterodactyl
This also fixes problems with certain MariaDB server configurations

Fixed a problem which could cause the wrong message to be displayed

Fixed problems with colors on line breaks

civic cryptBOT
#

poptart started a thread called Unable to verify if a players open inventory is custom.

Hello, first off I'm sorry if the title doesn't make sense. I'm very new to Java so feel free to help me rename it.

I'm currently trying to make a Gui/inventory that opens and allows me to handle player clicks. In it's current state the Gui opens and the event handler works fine. The part where I'm getting stuck is when trying to verify if a player has my custom Gui/inventory open vs their own inventory or a chest.

I've used https://www.spigotmc.org/wiki/creating-a-gui-inventory/ as a...

civic cryptBOT
#

stefvanschie replied to the thread Unable to verify if a players open inventory is custom.

You are using different instances of TestGui across your code. When registering the events you create a new TestGui instance. This will have the TestGui field as null as it was not initialized. When executing the command, you create another instance of TestGui. This second instance will have its TestGui field set, but this is a different instance from the first one. Hence, the listeners, who are registered on the first instance, will still be looking at the uninitialized TestGui field. You...

civic cryptBOT
#

Grinhecker started a thread called Multiverse world generator generates an empty world without any errors in console.

So basically I have a SkyGrid generator and I can't understand why it just generates nothing without any blocks.
(duplicate from the spigot forums https://www.spigotmc.org/threads/multiverse-world-generator-generates-an-empty-world-without-any-errors-in-console.635161/)

civic cryptBOT
#

poptart replied to the thread Unable to verify if a players open inventory is custom.

You are using different instances of TestGui across your code. When registering the events you create a new TestGui instance. This will have the TestGui field as null as it was not initialized. When executing the command, you create another instance of TestGui. This second instance will have its TestGui field set, but this is a different instance from the first one. Hence, the listeners, who are registered on the first instance, will still be looking at the uninitialized TestGui field. You...

civic cryptBOT
#

oldm4n started a thread called When I download Server version 1.19.4 and I run it, it still says its 1.20.4.

Hi,

i downloaded Paper Version 1.19.4 from your website.

But when I run it, the Server clearly states that its running 1.20.4.
So, am I just missing something anyone else knows, or is there something going wrong ?
Technically the file for 1.19.4 would be called 1.19.4-550.jar , so why is it then running as 1.20.4 ?
Any help is appreciated. Thank you very much.

Cheers

civic cryptBOT
#

oldm4n started a thread called 1.19.4 Server crash after start.

Hi,

after the other issue was not one that had to do with the wrong server version, i tried starting the Server as 1.19.4. However it crashes immediately after Start. The logfile is linked. Anyone know what this means ? I have another Server with an even older version, 1.18.2, with the same configuration. That works fine. Why does 1.19.4 not work, or what is wrong here ? Any help is appreciated.

Thanks in advance.

civic cryptBOT
#

koro started a thread called How to Achieve Bidirectional Bypass of Classloading Isolation.

I am currently developing several library-type plugins that are designed to work together, utilizing an additional serialization library and numerous utility methods. However, due to the classloading isolation mechanism, they are unable to function as intended. I have noticed that the bypass of classloading isolation (with the setting "join-classpath: true") is unidirectional, allowing child projects to access parent dependency plugins. However, parent dependency plugins cannot access child...

civic cryptBOT
#

v2i0 replied to the thread 1.19.4 Server crash after start.

i think you messed up something in your config

civic cryptBOT
civic cryptBOT
#

electronicboy replied to the thread How to Achieve Bidirectional Bypass of Classloading Isolation.

I want to say that the open-classloader directive is what was intended to open up to other plugins in a manner of stuff like what a plugin needing to look into other classloaders needs, there is no "bypass" to how classloaders work, but, we have some ways to offer some control over how the "grouping" works

civic cryptBOT
#

Thice started a thread called MySQL JDBC driver not found using mysql driver dependency.

Dear

I was working on a plugin, that connects to the MySQL database.
When connecting to MySQL the way I did in paper would not work and results in the error: No suitable driver found for <database_url>
I've fixed this by adding: Class.forName("com.mysql.cj.jdbc.Driver");
And adding the MySQL connector dependency. Now I still got the error.
I've also tried to add it via the jar, in the modules, also resulting in the same error.

Java version: 20

See images.

Thank you for the help! :D

civic cryptBOT
#

Thice replied to the thread MySQL JDBC driver not found using mysql driver dependency.

velocity does not bundle jdbc drivers, you would need to shade or otherwise provide them yourself

Thank you for your reply! Is it possible to give me a slight push to get me started?

civic cryptBOT
#

Bletch started a thread called Advice on mapping CraftBukkit to Paper / Bukkit classes.

tl;dr Is there a simple way (I know, I know!) to map the underlying CraftBukkit classes to those documented in the Paper API?

I'm running against 1.20.4 so I think I might be falling victim of the issues discussed here:

https://forums.papermc.io/threads/paper-velocity-1-20-4.998/#post-2955

I feel that this might be a holy grail type question, so please forgive my ignorance if this is either obvious or impossible - or both!

Also I'm not sure of the correct terminology when describing the...

civic cryptBOT
#

stefvanschie replied to the thread Advice on mapping CraftBukkit to Paper / Bukkit classes.

In general, the types you access from the API are interfaces, which are implemented by the types in CraftBukkit. Taking your example of CraftRotatable to Orientable, CraftRotatable looks as follows:
public final class CraftRotatable extends org.bukkit.craftbukkit.block.data.CraftBlockData implements org.bukkit.block.data.Orientable { /* code */ }
Note that the relevant API class here is the interface that is being implemented. Hence, if you get a CraftBukkit type such as CraftRotatable the...

civic cryptBOT
civic cryptBOT
#

Bletch replied to the thread Advice on mapping CraftBukkit to Paper / Bukkit classes.

Thanks for taking the time to reply, stefvanschie.

Note that the relevant API class here is the interface that is being implemented. Hence, if you get a CraftBukkit type such as CraftRotatable the "only" thing you need to do is scan the JAR, or something else that contains the code, for CraftRotatable and then find the interface it is implementing, which in this case would give you Orientable.

Yeah, I think the problem here is that I am coming at the problem from the Paper API and not...

civic cryptBOT
#

stefvanschie replied to the thread Advice on mapping CraftBukkit to Paper / Bukkit classes.

Your suggested workflow sounds good, yes. As for scanning the JAR, that's just an option, you can indeed also read the source code directly. As long as you can somehow find the CraftBukkit class and figure out which interface it implements, you'll be fine.

civic cryptBOT
#

LinuxSquare replied to the thread Plugin loading problem on server start.

After a long search, the following procedure solved my problem:

There is an event, called ServiceRegisterEvent. It can be used to get services, when they are registered on server start.

I listened for the service Economy and if that occured, I loaded the Economy-Plugin.

I also had to edit the plugin.yml of the Banking-Plugin, to load before the Economy-Plugin.

ServiceRegisterEvent:
internal class ServiceRegisterListener(private val realBanks2: RealBanks) : Listener {
@EventHandler...

civic cryptBOT
#

OstharzRC started a thread called Server Crash while stopping.

The server is hosted on a Linux VServer, has about 40 plugins and 20GB of RAM. If you stop the server with "stop", it hangs during this time and no crash report is created. The only way to fix this is to close the screen with "screen -XS Server quit". If you want to start the server again after that, the attached crash report appears. You can only start the server again after a reboot of the Linux server.

This is the Crash Report:
---- Minecraft Crash Report ----
// Oh - I know what I did...

#

electronicboy replied to the thread Server Crash while stopping.

it failed to start because the old server is still running, you'd need to work out why; look at jstack, etc

#

OstharzRC replied to the thread Server Crash while stopping.

The main Problem is that is doesnt stop properly.

#

OstharzRC replied to the thread Server Crash while stopping.

it failed to start because the old server is still running, you'd need to work out why; look at jstack, etc

How do i do that? Youtube link?

#

electronicboy replied to the thread Server Crash while stopping.

Yes, which is why I suggested grabbing jstack reports. I don't have any tutorials, it's a program which takes the PID of java and spits out info about the JVM, there is probably a few guides on google

#

OstharzRC replied to the thread Server Crash while stopping.

it failed to start because the old server is still running, you'd need to work out why; look at jstack, etc

How do i do that? Youtube link?

Yes, which is why I suggested grabbing jstack reports. I don't have any tutorials, it's a program which takes the PID of java and spits out info about the JVM, there is probably a few guides on google

Ok, thanks.

civic cryptBOT
#

lenny started a thread called Why is my server crashing on startup?.

I have bought a server template and wanted to start up the server but it kept crashing, why?
Thank you!

kind regards
-Lenny :D

civic cryptBOT
#

Digital'Inc replied to the thread MySQL JDBC driver not found using mysql driver dependency.

The maven-shade-plugin didn't work for me. What helped me was adding (-cp "velocity.jar;C:\Users\Digital.m2\repository\org\mariadb\jdbc\mariadb-java-client\3.3.0\mariadb-java-client-3.3.0.jar") to the startup file. But I would like to do without it. Could you show a minimal working plugin using mysql built through maven?

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Guth_ started a thread called Hibernate equivalent for 1.21.X.

I am currently hosting a server for just a few friends which means that most of the time, there is no one online. I have looked around a decent bit and have found the hibernate plugin. That plugin would be absolutely perfect for my server but it seems that it does not work for Paper 1.20.X. Is there a way to make it work or an alternative?

Thank you in advance.

civic cryptBOT
#

Dadda started a thread called Can u help me?.

So, the issue is that i downloaded a few mods on my minecraft server (version number 1.20.2 forge and even the mod pack that i created is for the forge version).
In my server i can see loaded my all my mods but for example: if i want to place a block from one of the mods it desappears istantly.

#

electronicboy replied to the thread Can u help me?.

This is paper, we can't help with issues relating to software that has nothing to do with us

civic cryptBOT
civic cryptBOT
#

Silal replied to the thread AsyncChatEvent chat formatting.

Hey, you can also do this:

@EventHandler
public void onPlayerChat(AsyncPlayerChatEvent e) {
String message = e.getMessage().replace("&", "ยง");
e.setMessage(message);
}

if its easyer.

#

Silal replied to the thread Alternative to ChatColor.translateAlternateColorCodes.

If the Problem isn`t solved, i would solfe it like this:

Component comp = Component.text(config.getString("Messages.Join").replace("&", "ยง"));

If you also want to replace %player% with the playername:

String playername = "lol";
Component comp = Component.text(config.getString("Messages.Join").replace("&", "ยง").replace("%player%"), playername);

I hope this solves your Problem :D

civic cryptBOT
#

4drian3d replied to the thread AsyncChatEvent chat formatting.

Hey, you can also do this:

@EventHandler
public void onPlayerChat(AsyncPlayerChatEvent e) {
String message = e.getMessage().replace("&", "ยง");
e.setMessage(message);
}

if its easyer.

That event is deprecated and its use is not recommended

#

4drian3d replied to the thread Alternative to ChatColor.translateAlternateColorCodes.

If the Problem isn`t solved, i would solfe it like this:

Component comp = Component.text(config.getString("Messages.Join").replace("&", "ยง"));

If you also want to replace %player% with the playername:

String playername = "lol";
Component comp = Component.text(config.getString("Messages.Join").replace("&", "ยง").replace("%player%"), playername);

I hope this solves your Problem :D

That is a terrible use of components, you must use the LegacyComponentSerializer if you want to use that...

civic cryptBOT
#

Silal replied to the thread AsyncChatEvent chat formatting.

That event is deprecated and its use is not recommended, there is a possibility that in the future it will be removed.

Yes, i know. But at the moment ist working.

civic cryptBOT
#

Sophed replied to the thread Clearing crafting slots/item on cursor to prevent inventory exploit.

Updating this because I had to solve this same issue again recently

public static void clearCraftingGrid(Player player) {
if (player.getOpenInventory().getTopInventory().getType() != InventoryType.CRAFTING) return;
if (player.getOpenInventory().getTopInventory().getSize() > 5) return;
player.getOpenInventory().getTopInventory().clear();
}

civic cryptBOT
#

alexmens_ started a thread called send plugin messages.

Hello, I'm creating a Velocity plugin that sends repeating a message to every plugged server. But I've checked that if in the backend server there aren't any players the message isn't sended. Any solutions?

#

4drian3d replied to the thread send plugin messages.

This is exactly how plugin messages work, they require at least one player to be connected. You can use other alternatives like Redis

#

alexmens_ replied to the thread send plugin messages.

Okay and Can you please explain to me what is Redis?

civic cryptBOT
#

cosmicnoob7576 started a thread called cant add more than one server to the fallback servers.

cant add more than one server to the fallback servers or i get this here is the error:
[14:15:02 ERROR]: Unable to reload configuration
com.electronwill.nightconfig.core.io.ParsingException: Invalid separator '"' in array.
at com.electronwill.nightconfig.toml.ArrayParser.parse(ArrayParser.java:38) ~[server.jar:3.3.0-SNAPSHOT (git-53923ed8-b351)]
at com.electronwill.nightconfig.toml.ValueParser.parse(ValueParser.java:32) ~[server.jar:3.3.0-SNAPSHOT (git-53923ed8-b351)]...

civic cryptBOT
#

unknowghsot started a thread called error message when trying to join my other servers.

this is the error message im getting i wasn wondering if this as a fix to it or not
Exception Connecting: NativeIoException : recvAddress(...) failed: Connection reset by peer waterfall

civic cryptBOT
#

Ehmilien started a thread called Custom config files..

How do i create custom .yml files like "config.yml" on paper.

civic cryptBOT
#

Pare06 started a thread called How can a Player be "not valid?".

When a player disconnects and then reconnects to my server, calling player.isValid() returns false, and it makes some things not work, like player.setScoreboard() (not showing any scoreboard) and player.teleport() (which returns false). How can isValid() return false? The documentation says that it "returns false if the entity has died, been despawned for some other reason, or has not been added to the world" - but it can't be dead or despawned, as the player can still move around and...

#

electronicboy replied to the thread How can a Player be "not valid?".

are you still holding onto the old player reference? if so, that is why. Your reference is holding onto an entity which is dead and no longer valid, you would need to get the new player instance.

civic cryptBOT
civic cryptBOT
#

hhgod22 started a thread called Error downloading original jar.

i've been trying to download 1.8.8 #443 or 1.12.2 #1618. is there a way i could get them now ?

Error downloading original jar
java.io.FileNotFoundException: https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at...

civic cryptBOT
#

happy704 started a thread called Can I specify the CPU cores to use for each paper server?.

I am running multiple paper servers using Waterfall. I am using Windows 11 OS, and I've heard that it's recommended to register the CPU cores to be used for each bucket. Is there a way to register the cores to be used in the bucket?

civic cryptBOT
civic cryptBOT
#

thomas09555 started a thread called Update configuration files post-update.

I've noticed significant variations between configuration files on a fresh server (1.18) and an older one (1.8 -> ...->1.18), which has only been updated. Would it be beneficial to remove the server.properties, spigot.yml, and paper.yml files, or would it potentially disrupt my server's functionality?

#

4drian3d replied to the thread Update configuration files post-update.

It is recommended that you do nothing as the paper.yml file will be automatically migrated to the config/paper-global.yml file

civic cryptBOT
#

Dafydd replied to the thread Crops dont load.

Use chunk#setForceLoaded, as it will not unload due to player inactivity.

civic cryptBOT
#

PLGC_AK47 started a thread called Installing PaperMC.

The PaperMC jar file is downloaded and moved to a new folder.

When doubling clicking to execute the beginning process (to actually make the new server files), nothing happens.
---No Errors---No files being made---No processes in the background---nothing

I've tried this on two separate computers. Nothing happens on each. Am I being an idiot or something?

Windows 10 Pro; i7-6700; GTX 1660ti; 32GB RAM

civic cryptBOT
#

meluwudy started a thread called How would I go about updating a Paper fork?.

Hi all!

Not entirely sure if this is the right place to ask but I made a Paper fork using Paperweight and I'm not entirely sure how to go about updating the version. I made some modifications to the server (mainly with hitboxes) and so I'm not sure if I have to just clone it again and re-do everything or not. If so, it's not that big of a deal but if there's an easier way for future updates I'd like to know.

Again if this isn't the right place then if I could be redirected to the correct...

civic cryptBOT
#

thomas09555 replied to the thread Update configuration files post-update.

Wow, thanks for the heads up! It sounds like I don't need to stress about those files. It's a relief to know that the paper.yml file will just do its thing and migrate itself to the config/paper-global.yml file. Saves me a ton of hassle! And hey, speaking of college papers, I recently stumbled upon papertyper.net. They're awesome for quick paper help. Might just check them out soon. Thanks again for the smooth advice!

civic cryptBOT
#

joycebyerstr replied to the thread Update configuration files post-update.

It's interesting the insight, but I'm not fully sold. I think it's important to double-check and maybe even back up those files just in case. It's better to be safe than sorry, right?

Wow, thanks for the heads up! It sounds like I don't need to stress about those files. It's a relief to know that the paper.yml file will just do its thing and migrate itself to the config/paper-global.yml file. Saves me a ton of hassle! And hey, speaking of college papers, I recently stumbled upon...

civic cryptBOT
#

stefvanschie replied to the thread Installing PaperMC.

I'd recommend running a start script to see why your server can't be started. Something simple like this start.bat file should do the trick for testing.
java -jar <file-name>.jar
PAUSE
You can then look at the output to see what is going on.

civic cryptBOT
#

PLGC_AK47 replied to the thread Installing PaperMC.

Thanks for the tip.

Ran the script and came up with Java Version outdated.

For some reason Java 17 still didn't work on it but I downloaded Java 21 and it worked.

Thanks!

civic cryptBOT
#

DeeChael started a thread called Custom world height problem.

I wanne change the world height by reflecting to modify the DimensionType(reobf: DimensionManager) under Level(reobf: World)
But the tutorials I found are too old, DimensionType is a just a field in the Level class and can easily be modified.
But on higher versions, there is no DimensionType but Holder<DimensionType> in Level class, I tried to modify it with this:
Holder<DimensionType> oldHolder = serverLevel.dimensionTypeRegistration();
Holder.Reference<DimensionType> oldReference =...

civic cryptBOT
#

nathanfranke replied to the thread AsyncChatEvent chat formatting.

This works for legacy components

@EventHandler
public void onAsyncChat(AsyncChatEvent event) {
    if (event.getPlayer().hasPermission("chat_colors")) {
        String rawMessage = LegacyComponentSerializer.legacyAmpersand().serialize(event.message());
        event.message(LegacyComponentSerializer.legacyAmpersand().deserialize(rawMessage));
    }
}
civic cryptBOT
#

Indivn started a thread called Velocity.

/server command does not work permission issued what to do

civic cryptBOT
#

4drian3d replied to the thread Velocity.

What?

#

Indivn replied to the thread Velocity.

WhatThe /server command does not work on my proxy server, it says that the command does not exist.

#

4drian3d replied to the thread Velocity.

If you deny permission to execute the command, it will not be displayed in the autocomplete and cannot be executed. Also check that you do not have a plugin like CommandWhitelist that removes commands that you do not have permission to execute

#

Indivn replied to the thread Velocity.

ะ•ัะปะธ ะฒั‹ ะพั‚ะบะฐะถะตั‚ะต ะฒ ั€ะฐะทั€ะตัˆะตะฝะธะธ ะฝะฐ ะฒั‹ะฟะพะปะฝะตะฝะธะต ะบะพะผะฐะฝะดั‹, ะพะฝะฐ ะฝะต ะฑัƒะดะตั‚ ะพั‚ะพะฑั€ะฐะถะฐั‚ัŒัั ะฒ ะฐะฒั‚ะพะทะฐะฟะพะปะฝะตะฝะธะธ ะธ ะฝะต ัะผะพะถะตั‚ ะฑั‹ั‚ัŒ ะฒั‹ะฟะพะปะฝะตะฝะฐ. ะขะฐะบะถะต ัƒะฑะตะดะธั‚ะตััŒ, ั‡ั‚ะพ ัƒ ะฒะฐั ะฝะตั‚ ะฟะปะฐะณะธะฝะฐ, ั‚ะฐะบะพะณะพ ะบะฐะบ CommandWhitelist, ะบะพั‚ะพั€ั‹ะน ัƒะดะฐะปัะตั‚ ะบะพะผะฐะฝะดั‹, ะฝะฐ ะฒั‹ะฟะพะปะฝะตะฝะธะต ะบะพั‚ะพั€ั‹ั… ัƒ ะฒะฐั ะฝะตั‚ ั€ะฐะทั€ะตัˆะตะฝะธThere are permissions, it seems they were issued through Luckperms, there is a CommandWhitelist plugin

#

Indivn replied to the thread Velocity.

what kind of permit needs to be issued?

If you deny permission to execute the command, it will not be displayed in the autocomplete and cannot be executed. Also check that you do not have a plugin like CommandWhitelist that removes commands that you do not have permission to execute

civic cryptBOT
#

Indivn started a thread called endless connection with the world, speed, bungee guard.

Config version. Do not change this

config-version = "2.6"

What port should the proxy be bound to? By default, we'll bind to all addresses on port 25577.

bind = "0.0.0.0:25656"

What should be the MOTD? This gets displayed when the player adds your server to

their server list. Only MiniMessage format is accepted.

motd = "<#09add3>A Velocity Server"

What should we display for the maximum number of players? (Velocity does not support a cap

on the number of players online.)...

civic cryptBOT
#

KimiD2007 started a thread called Low TPS after updating to 1.19.2 / 1.19.4.

Hello there!
Recently, I have updated my (paper) server from 1.19 to 1.19.2 and shortly after that 1.19.4.
Ever since I have updated to 1.19.2, my server reaches a tps amount of as low as 9, with the average being around 10-13.
I have absolutely no clue why the TPS went down, and I also don't know much about server configs.
Only thing I do know is that the server ran just fine when I had 1.19 installed.
I do know that 1.19 Paper is an unsupported version, though I would still like to ask, as...

#

4drian3d replied to the thread Low TPS after updating to 1.19.2 / 1.19.4.

The only suggestion I can give you is to upgrade to 1.20.4 which is the only supported version

#

KimiD2007 replied to the thread Low TPS after updating to 1.19.2 / 1.19.4.

The only suggestion I can give you is to upgrade to 1.20.4 which is the only supported version

but what does me changing the version again change? I already changed the version once and the lag was still as bad

#

electronicboy replied to the thread Low TPS after updating to 1.19.2 / 1.19.4.

for 1.19.x? it gives you a years worth of performance improvements made to the server software by us and mojang, outdated versions are also generally a pita to support as stuff changes and so most of us generally do not care to provide support for outdated versions

#

KimiD2007 replied to the thread Low TPS after updating to 1.19.2 / 1.19.4.

for 1.19.x? it gives you a years worth of performance improvements made to the server software by us and mojang, outdated versions are also generally a pita to support as stuff changes and so most of us generally do not care to provide support for outdated versions

If you say so I guess I'll try it
Let's hope it fixes that

#

electronicboy replied to the thread Low TPS after updating to 1.19.2 / 1.19.4.

I mean, it's not a magical fix, you'd need to look into providing diagnostics information such as spark reports, but people are generally not inclined to bother digging into them on unsupported versions

#

KimiD2007 replied to the thread Low TPS after updating to 1.19.2 / 1.19.4.

I mean, it's not a magical fix, you'd need to look into providing diagnostics information such as spark reports, but people are generally not inclined to bother digging into them on unsupported versions

Would 1.20.2 also be fine? My host doesn't provide 1.20.4 in the panel for some reason

civic cryptBOT
#

electronicboy replied to the thread Canยดt use Paper instead of Spigot. Why?.

You have a configuration file from a newer version of paper, downgrading is not supported. The easiest option is to delete the config folder or delete the setting it is complaining about.

civic cryptBOT
#

Afonso started a thread called Runway - MiniMessage formatting anywhere!.

Runway allows you to support MiniMessage formatting in messages, menus, titles, items and Tablist from any plugin. The plugin works at the protocol-level and modifies incoming packets sent by plugins.

If enabled, PlaceholderAPI/MiniPlaceholders is also supported in messages parsed by Runway. You also have the option to add your own static custom placeholders in MiniMessage.

Installation
Requirements
Server:

Paper 1.20+ (latest recommended)
Java 17

Plugins:

PlaceholderAPI (Optional)...

civic cryptBOT
#

Afonso replied to the thread Error downloading original jar.

Legacy versions are not supported anymore, would recommend to update to 1.20.4 to receive any type of support.

civic cryptBOT
#

Codixer replied to the thread PaperMC Discord Ban.

Well here is my Discord ID just in case: 94265396818890752 and my tag before the Discord update: Awokens#1134

Discord bans are also IP based, if there was ever an account on your IP adress. And that was banned previously, you could have been banned on an alt and that could have caused your IP ban.

civic cryptBOT
#

_Iuri started a thread called Is there a way to translate command completions?.

How can i translate this?

I tried using AsyncTabCompleteEvent but the completions method just receive a List<String>, the best that i can do is add a tooltip to the completion. I need to translate it to spanish and portuguese

Thanks for your help! :devilish:

civic cryptBOT
#

Machine Maker replied to the thread Is there a way to translate command completions?.

The completions are just strings... I'm not sure if I've seen a plugin that tries to handled commands in multiple languages. You would have to add those translations based on the player's locale and then automatically handle that in the logic for handling your commands.

civic cryptBOT
#

_Iuri replied to the thread Is there a way to translate command completions?.

Ok, knowing that the AsyncTabCompleteEvent contains all the client information needed to translate each completion suggestion seems weird be unable to translate it via TranslatableComponent, but ok, i'm going to handle it by myself

#

_Iuri replied to the thread Is there a way to translate command completions?.

It doesn't return components, however, sending commands/chat to the server is 100% raw strings;

The only thing that can be a component is the tooltips

Yeah i know, it does not need to handle al components, just the TranslatableComponent. I will get the player locate language and return him the correct completion language

civic cryptBOT
#

Falkys replied to the thread Redirect player to another server from Paper plugin.

Here's how I have everything set up:

velocity:
server_1: (paper)
paper_plugin.jar
velocity_2:
server_2 (spigot)

And I want to redirect the player from server_1 to velocity_2 when the player presses the sign

How do I register plugin messaging:

public void onEnable() {
me = this;

getPluginManager().registerEvents(this,this);

getMessenger().registerOutgoingPluginChannel(this, "BungeeCord");
getMessenger().registerIncomingPluginChannel(this, "BungeeCord"...
civic cryptBOT
#

Fupperen started a thread called Friends can't join before i am online.

My friends can't join my server before i am online. When i am online they can join and the connections is fine i can leave too withoput any problems but they can't join agian before i am online. I know that this isn't a portforwarding problem.

civic cryptBOT
civic cryptBOT
#

CMarco Development started a thread called Ban Appeal Join Crash.

Greetings, this is discord user mario1414 and I am seeking help in the process of appealing for a PaperMC Ban, which is of utmost importance to me right now.

I have already read the rules at https://papermc.io/community/guidelines, and simply when clicking join server, I get asked a Captcha verification, which I seem to pass successfully, and right after it the icon quickly appears and disappears from my Discord tab. The issue persists both on App and Web Browser.

I am using Pop!_OS 22.04...

civic cryptBOT
civic cryptBOT
#

Fupperen replied to the thread Friends can't join before i am online.

Is the server running on a different computer than your Minecraft client?

Yes

civic cryptBOT
#

Petar_mc started a thread called Ban appeal.

I haven't said anything in the PaperMC discord server and i got banned. Can i please be told what is the reason. My name in discord is Petar_mc

#

Petar_mc started a thread called Ban appeal.

I haven't said anything in the PaperMC discord server and i got banned. Can i please be told what is the reason. My name in discord is Petar_mc

#

Petar_mc replied to the thread Ban appeal.

Got unbanned

civic cryptBOT
#

RokyEZ started a thread called ะะต ะฟะพัะฒะปัะตั‚ัั ะบะพะผะฐะฝะดะฐ /server.

ะŸั€ะธ ะฟะตั€ะฒะพะผ ะทะฐะฟัƒัะบะต ะฝะต ะฟะพัะฒะธะปะฐััŒ ะบะพะผะฐะฝะดะฐ /server ะฟะพัะปะต ะฟะตั€ะตัƒัั‚ะพะฝะพะฒะบะธ ั‚ะพะถะต ะฝะตั‡ะตะณะต ะฝะต ะธะทะผะตะฝะธะปะพััŒ, ะฟะพะผะพะณะธั‚ะต ะฟะพะถะฐะปัƒะนัั‚ะฐ

civic cryptBOT
#

gamingmantel started a thread called My paper Server Crash More than 2 - 3 times per day.

This issue coming from many days I try my best but can't solve that issue. I Remove many plugins but still facing that issue.
The logs .txt file given beloy please see it and tell me the solution.

#

gamingmantel replied to the thread Friends can't join before i am online.

Make sure You did not off the computer or the server. And the internet connection also be fine and working so server run properly.

civic cryptBOT
#

stefvanschie replied to the thread My paper Server Crash More than 2 - 3 times per day.

Saving the data was taking very long. If someone was using WorldEdit or a similar plugin, they might have edited too many blocks at once. Otherwise, you might have a slow disk, or are using a slow file system.

civic cryptBOT
#

Erfinderlabyrinth started a thread called Rotation(yaw,pitch) to Quaternion for TextDisplay.

Hi,

I want to create a Textdisplay where the Text shown in a specific direction(yaw,pitch)(z.B. 45,45).
How can I easily transform this to a Quaternion? Had Paper a Library or a method, which can it translated?

I had seen, that I can use a
AxisAngle4f, but i dont understand what this do.

civic cryptBOT
#

gamingmantel replied to the thread My paper Server Crash More than 2 - 3 times per day.

Saving the data was taking very long. If someone was using WorldEdit or a similar plugin, they might have edited too many blocks at once. Otherwise, you might have a slow disk, or are using a slow file system.

I am Using world edit and Don't know who mush block i reset

civic cryptBOT
#

Erfinderlabyrinth replied to the thread Rotation(yaw,pitch) to Quaternion for TextDisplay.

Asking the AI, I got following code:

public static Quaternionf yawPitchToQuaternion(float yaw, float pitch) {
// Convert yaw and pitch to radians
double yawRad = Math.toRadians(yaw);
double pitchRad = Math.toRadians(pitch);

    // Create a new Quaternionf object
    Quaternionf quaternion = new Quaternionf();

    // Set the quaternion using yaw and pitch
    quaternion.rotationYXZ(yawRad, pitchRad, 0.0f);

    // Return the quaternion...
civic cryptBOT
civic cryptBOT
#

Liparakis started a thread called enablePlugin(plugin) gives error..

As the title suggests, Bukkit.getPluginManager().enablePlugin(plugin); returns an error that i am trying to overlap plugin identifiers. Is there any way to bypass this?

@Override
public void load(Plugin plugin) {

File file = Utilities.getPluginJarFile(plugin.getName());
Plugin target = null;

try {
target = Bukkit.getPluginManager().loadPlugin(file);
} catch (InvalidDescriptionException | InvalidPluginException e) {
instance.getLogger().log(Level.WARNING, e.getMessage());
}...

civic cryptBOT
#

azzztec started a thread called Latest Minimessage with 1.17.1.

I want to use latest net.kyori.Minimessage (4.16.0), but after shading net.kyory.adventure i have an error

civic cryptBOT
#

electronicboy replied to the thread Latest Minimessage with 1.17.1.

well, yes, if you relocate adventure then you can't call the native paper methods as it breaks the ABI for those methods

civic cryptBOT
#

AggerTV started a thread called Add ntb tags only to items from kit.

Hello! I am making a guard plugin for my server, and I need a way for when a guard obtains a kit, they are linked to the items from the kit, so that they cannot abuse by giving away their items. So, this is what I've come up with

@Override
public void giveGuardKit(Player player, String kitName) {
try {
User user = essentials.getUser(player);

        Kit kit = new Kit(kitName, essentials);
        kit.expandItems(user);

        Inventory inventory =...
civic cryptBOT
#

Kamisenin started a thread called Need help to translate from spigot to paper, i'm trying to create a fake sleeping player using NMS.

Hi, firstly thank you for reading this even if you don't help

So juste like said in the title i'm trying to create a fake sleeping plyaer using NMS and packets but since there is not much tutorial on how to use Packets and NMS i only managed to found one but on spigot
Tutorial in Spigot
And I managed to translate some of the functions in Paper but when it comes to using DataWatcher and Packets I didnt find what where the Paper function, i sincerely hope someone will be able to help me...

civic cryptBOT
#

stefvanschie replied to the thread Add ntb tags only to items from kit.

I'd recommend iterating over the items in the kit, adding the appropriate data to those items and then giving them to the player.

civic cryptBOT
#

electronicboy replied to the thread Need help to translate from spigot to paper, i'm trying to create a fake sleeping player using NMS.

Paper uses Mojangs mappings, and so if you're missing classes, it's likely because you're trying to use spigot names for stuff; https://mappings.cephx.dev/1.20.4/ will let you look up mappings to convert your code over

civic cryptBOT
#

Kamisenin replied to the thread Need help to translate from spigot to paper, i'm trying to create a fake sleeping player using NMS.

Papers tooling uses Mojangs mappings, and so if you're missing classes, it's likely because you're trying to use spigot names for stuff; https://mappings.cephx.dev/1.20.4/ will let you look up mappings to convert your code over

OK ok thx, i managed to find how to convert Datawatcher but there is no such thing as PacketPlayOutEntity even with spigot in the site, do you have any idea on how it could be translated in paper as it is used to manage the packet of an entity ?

civic cryptBOT
#

AggerTV replied to the thread Add ntb tags only to items from kit.

I'd recommend iterating over the items in the kit, adding the appropriate data to those items and then giving them to the player.

Yeah that makes sense, but I just can't figure out how to get the items from the kit.

The javadocs doesn't really say that much, all I could find was a getItems method which doesn't return any items, rarther a map containing strings with the items information (javadocs), see this example of what it looks like when I print it picture
and I can't really figure out...

civic cryptBOT
civic cryptBOT
#

pureshame started a thread called i didn't know where to ask this.

so bedrock minecraft version 1.20.71 is released for bedrock and i java so why isn't papermc on this version yet

#

electronicboy replied to the thread i didn't know where to ask this.

Paper is a modification of the java server software, we have nothing to do with bedrock at all. You're probably looking towards projects like geyser, which have nothing to do with us.

#

Kamisenin replied to the thread Need help to translate from spigot to paper, i'm trying to create a fake sleeping player using NMS.

https://mappings.cephx.dev/1.20.4/net/minecraft/network/protocol/game/ClientboundAddEntityPacket.html

Ty ! But I still got lots of problem , especially with PacketPlayOutEntityMetadata and PacketPlayOutPlayerinfo + EnumPlayerInfoAction.e, i can't seem to find anything about that, i tried replacing PacketPlayOutPlayerinfo with ClientboundPlayerInfoUpdatePacket but i dont think it is that, do you have any idea ?

#

electronicboy replied to the thread Need help to translate from spigot to paper, i'm trying to create a fake sleeping player using NMS.

tried replacing PacketPlayOutPlayerinfo with ClientboundPlayerInfoUpdatePacket but i dont think it is that, do you have any idea

Yes, the PlayerInfo packet was essentially rewritten/replaced, so it is that

PacketPlayOutEntityMetadata

https://mappings.cephx.dev/1.20.4/net/minecraft/network/protocol/game/ClientboundSetEntityDataPacket.html

I would generally suggest trying to learn what the code is actually doing and then aiming to understand the modern codebase if you're messing with...

civic cryptBOT
#

Kamisenin replied to the thread Need help to translate from spigot to paper, i'm trying to create a fake sleeping player using NMS.

Yes, the PlayerInfo packet was essentially rewritten/replaced, so it is that

https://mappings.cephx.dev/1.20.4/net/minecraft/network/protocol/game/ClientboundSetEntityDataPacket.html

I would generally suggest trying to learn what the code is actually doing and then aiming to understand the modern codebase if you're messing with internals, doing so is generally not supported and, as you can see here, stuff changes

YEah thats what i'll do but its honestly very difficult to find tutorial on...

civic cryptBOT
#

Kamisenin replied to the thread Need help to translate from spigot to paper, i'm trying to create a fake sleeping player using NMS.

OK got some news, to train myself i tried to simply create a random npc by using a command and everything was working well until this error showed up :

3:59:35 WARN]: Nag author(s): '[]' of 'LVEPLugin v1.0.1' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[23:59:35 ERROR]: Error occurred while enabling LVEPLugin v1.0.1 (Is it up to date?)
java.lang.NoClassDefFoundError: net/minecraft/server/level/ServerPlayer
at...

civic cryptBOT
#

AggerTV started a thread called on sign click.

Hello, I am making a guard plugin, and I want to open a gui if a guard clicks on a designated guard sign.

The current way I am doing it
public class SignClickListener implements Listener {

private final IGuardMainMenu guardMainMenu;

@Inject
public SignClickListener(IGuardMainMenu guardMainMenu) {
    this.guardMainMenu = guardMainMenu;
}

@EventHandler(ignoreCancelled = true)
public void onSignClick(PlayerInteractEvent event) {
    if...
civic cryptBOT
civic cryptBOT
#

Harryyy started a thread called Not a bug.

Server has 8GB of ram, Ryzen 7 3800x 1tb storage.

civic cryptBOT
#

Orbitaalex started a thread called Lootcontext.builder missing parameters.

Hello everyone,

I am struggling in populating an inventory view with lootables using lootcontext.
I really want to use the lootable system, i have some projects with them.
This error is so horrible to manage. I ve tried to give some parameters but nothing.
It demotivate me so much on my creation process.
I really need help on that ...

@EventHandler
public void onPlayerClick(PlayerInteractEvent event) {
Player player = event.getPlayer();
if (event.getAction() ==...

civic cryptBOT
#

jsemolik started a thread called Server error and world corrupted.

Me and my friends were playing on our server and everything was fine but then i logged back on like an hour later and the world was entirely under water, chunks werent loading, the console was flooded with errors, and executing commands didnt work. I tried moving the world to a different server but that didnt fix anything. Ive never gotten this error. Below ive included screenshots of the error and what the world looks like. Is there any ay to save our world?

civic cryptBOT
civic cryptBOT
#

MiniDigger replied to the thread Important dev PSA: Future removal of CB package relocation.

the hardness, obviously! personally I perfer the term softspoon

(the result is the same, we are just not calling it hard fork anymore to avoid scaring people that think we are gonna instantly break compatibility)

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Richart3855 started a thread called Right Click Event.

Hi, I'm a datapack developer and need a simple and not laggy way to recognize a right click on certain items and (if detected) give the player a tag for example "used". Can someone please write me a script that does exactly that

Version is 1.20.4

Thanks in advance

civic cryptBOT
#

Takeouts started a thread called Skins not showing on server.

Our server is up, none of our skins are rendering, just stuck as alex. Not happening on any servers except ours. Any ideas?

civic cryptBOT
#

EterNity replied to the thread Skins not showing on server.

Make sure your server is running in online mode that uses Mojang's auth server.

#

Takeouts replied to the thread Skins not showing on server.

Make sure your server is running in online mode that uses Mojang's auth server.

How would I go about doing that? Thanks!

civic cryptBOT
#

ysl3000 replied to the thread Skins not showing on server.

How would I go about doing that? Thanks!

In server.properties search for online-mode

civic cryptBOT
#

Lenbot7 replied to the thread Important dev PSA: Future removal of CB package relocation.

the hardness, obviously! personally I perfer the term softspoon

(the result is the same, we are just not calling it hard fork anymore to avoid scaring people that think we are gonna instantly break compatibility)

is paper going to break compatibility ever? if so will it be soon?

#

MiniDigger replied to the thread Important dev PSA: Future removal of CB package relocation.

we will not promise to never break anything, that would be stupid (and is the reason the api is so meh right now)
we will promise to be careful with what we do, putting out test builds like this one, talking to the community, listening to feedback etc
and there will never be a big bang kinda thing where every plugin suddenly breaks (unless mojang does big changes that require that, but that is unlikely)

#

Lenbot7 replied to the thread Important dev PSA: Future removal of CB package relocation.

we will not promise to never break anything, that would be stupid (and is the reason the api is so meh right now)
we will promise to be careful with what we do, putting out test builds like this one, talking to the community, listening to feedback etc
and there will never be a big bang kinda thing where every plugin suddenly breaks (unless mojang does big changes that require that, but that is unlikely)

i meant break away from spigot

#

MiniDigger replied to the thread Important dev PSA: Future removal of CB package relocation.

plugins are already not compatible with spigot if they use our api, that gap will only widen in the future. and yes, there will be a time when we will no longer consider spigot to be a direct upstream and work on vanilla directly. however, that will not have much impact on plugins. if spigot adds api we deem good, we can still merge it in, plus it will allow us to get paper updates out way quicker, like for pre releasing, so plugin devs (and to an extend, sevrer owners) will have a much...

#

MiniDigger replied to the thread Important dev PSA: Future removal of CB package relocation.

just like they do now. far down the road (talking about many years here) the apis might have diverged so far that that is not viable anymore, but I doubt spigot will last that long :)

civic cryptBOT
civic cryptBOT
#

ShnitzelZ started a thread called Unexpected lag spikes on server 1.20.4.

Hey sorry for posting but today my server got unexpected lags i updated all plugins but they suddenly keep coming back here's the messege i get in the logs:

[22:34:54 ERROR]: Current Thread: Server thread
[22:34:54 ERROR]: PID: 98 | Suspended: false | Native: true | State: RUNNABLE
[22:34:54 ERROR]: Stack:
[22:34:54 ERROR]: java.base@18.0.2/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
[22:34:54 ERROR]: java.base@18.0.2/sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:62)...

civic cryptBOT
#

RichyRichGold started a thread called Is it possible to set up server chat notifications during autosaves?.

How would I set up notifications in game chat when the game autosaves every 5 mins?

Also I have the autosave set to 6000 ticks set in bukket.yml file, and I set the autosave setting in paper-world-defaults.yml to -1 per a forum I read, it was on default before, should I change it back to that?

civic cryptBOT
#

stefvanschie replied to the thread Unexpected lag spikes on server 1.20.4.

Your server probably took too long to save the data. Some reasons this can happen are:

Editing too many blocks at once (e.g., via WorldEdit)
Having a slow disk (e.g., a HDD instead of an SSD)
Using a slow file system

civic cryptBOT
#

Coffee replied to the thread Unexpected lag spikes on server 1.20.4.

Your server probably took too long to save the data. Some reasons this can happen are:

Editing too many blocks at once (e.g., via WorldEdit)
Having a slow disk (e.g., a HDD instead of an SSD)
Using a slow file system

Can confirm this happening on our server too (Paper 1.20.4, git-paper-459).

And to answer stefvanschie's question:

  1. WorldEdit or anything similar was not used during the lag spikes
  2. We are using a NVMe SSD (128kb Sequential Write : 5000 Mb/s)
  3. Filesystem: ext4
#

electronicboy replied to the thread Unexpected lag spikes on server 1.20.4.

our only real understanding of this is that mojang might be causing IO to be overloaded with map files, otherwise all we can see is that the thing stalled writing to the disk

#

Coffee replied to the thread Unexpected lag spikes on server 1.20.4.

our only real understanding of this is that mojang might be causing IO to be overloaded with map files, otherwise all we can see is that the thing stalled writing to the disk

Hmm okay. Is it possible to disable automatic world saves for the time being? They're making the server unplayable at this point.

#

MekaDoge27 started a thread called Command blocks not working.

I can't place a command block nor when I use set block to set a command block I can't access it. I have enabled command blocks set to true in my server config please help!

#

electronicboy replied to the thread Command blocks not working.

You need to be op'd and in creative mode to place them from what I recall?

#

MekaDoge27 replied to the thread Command blocks not working.

You need to be op'd and in creative mode to place them from what I recall?

Oh, I forgot to make operator. Thanks!

civic cryptBOT
#

Suamere started a thread called How do you set a villager's profession and job_block?.

In a villager's NBT, they have Brain > memories > "minecraft:job_site"

They also have VillagerData > profession

I have attempted to call the Bukkit Villager setProfession(Profession.FARMER), as well as the NMS Villager to getVillagerData(), setProfession(VillagerProfession.FARMER), and then put it back with setVillagerData(villagerData).

Additionally, I also call brain.setMemory(JOB_SITE, BlockPos(...)) for the block position. Part of my code also has them walk to the block.

var...

civic cryptBOT
#

AggerTV started a thread called Chaining completablefutures together.

Hello, I am making a guard plugin, and I need to know if I am using completablefutures in the most efficient way / the correct way.

The following code is from a command which fires guards, it handles both online and offline players. The tricky bit is when the player is offline, because it involves multiple heavy tasks that needs to be performed asynchronously away from the main thread. I've tested the code, and it does work, I am just interested in knowing if it is the best way to chain...

civic cryptBOT
#

Suamere replied to the thread How do you set a villager's profession and job_block?.

Well, one "fix" is that I have added nmsVillager.setVillagerXp(1);. Turns out they WERE changing their profession, but for one cpu cycle (maybe tick?).

But as for setting the memory (job_site), I still have an issue.

Bukkit's Villager object has setMemory(MemoryKey.JOB_SITE, blockLocation). But the tooltip says Note that the value will not be persisted when the specific entity does not have that value by default.

And similarly, the NMS VillagerData has...

civic cryptBOT
#

Suamere replied to the thread How do you set a villager's profession and job_block?.

After a couple days of trying, it seems that something internal is being cached. I either don't know how to fix it, or don't know how to trigger NMS to recognize a change.

In addition to my last two posts, I have also found that there is a MemoryKey called POTENTIAL_JOB_SITE. When you place a job block and see a villager suddenly start running toward it, that is the POI memory that is set, until they reach it and call dibs on it. Then it switches to JOB_SITE of course.

Within my server...

civic cryptBOT
#

TheCalypso started a thread called Banned Discord due to hacking.

Hello, I am sending you this message to ask if it would be possible to unban me from your Discord.

Indeed, a few months ago, I was hacked (my authentication token leaked), and a hacker used my account to purchase 3 Nitro subscriptions and posted malicious links in all the Discords I was part of.

I am at your disposal if you have any questions.

My discord account is thecalypso.

Thank you for your understanding

TheCalypso.

civic cryptBOT
#

TheSasha started a thread called A plugin can't execute /server command.

I am using velocity and have a server with AdvancedGUI installed. In the web editor I added an action to click on the command "/send %player% survival" - it writes that it is an unknown command (in the console). I also tried "/server survival" from the player execution - writes that it is an unknown command.

I sent this problem to support and they replied to me:

(use something like HopeCommander for velocity).

I can't find anything like HopeCommander for velocity.....

civic cryptBOT
#

TheSasha replied to the thread Best way to make awesome lobby.

As for the lobby, to make it better I use the DeluxeHub 3 plugin (it supports velocity).

#

TheSasha replied to the thread Cannot use /send.

You can't use velocity commands in spigot console

#

TheSasha replied to the thread Velocity spamming crazy error.

Seems to be an issue with ClansLite, I'd recommend contacting the author.

stefvanschie is right.
Contact the authors and if they don't respond, use another plugin.

civic cryptBOT
#

Suamere replied to the thread How do you set a villager's profession and job_block?.

Okay, here is what I have, cleaned up a bit. Essentially I just called the nms setProfession and setVillagerData. But then I issued a dispatchCommand to set the job_site, which I hear is a bad idea, but seems to be the only thing that works right now. I'm open to any ideas of cleanup or changes:

public static void TrySetProfession(Villager villager, Block block) {
    setProfession(((CraftVillager)villager).getHandle(), block);
}

public  static void...
civic cryptBOT
civic cryptBOT
#

Brasil150 replied to the thread Announcing the end of life of Waterfall.

Announcing the end of life of Waterfall
As many of you might have noticed, Waterfall hasn't received much love from our team and the great contributor community in the past years. We have also seen less and less traffic in the support channels on Discord. Additionally, Mojang is making huge investments into the core engine of the game which results in big and complicated changes to the inner workings of the game. While these changes are very welcome and we have been pushing for some of them...

civic cryptBOT
#

Agreengenie started a thread called registering events.

someone please help me im trying to make a custom sword that shoots fireballs,i have the item down, its just registering the event for the fireballs to shoot

civic cryptBOT
#

Hyrancood started a thread called MiniMessage error.

I wanted to try to use MiniMessage from Adventure, as it looks quite handy for some situations, but I ran into a problem - paper claims that MiniMessage classes do not exist in it:
java.lang.NoClassDefFoundError: net/kyory/adventury/text/minimessage/MiniMessage
I am using paper-1.16.5-794 snapshot (latest). At the same time paper claims to have native MiniMessage support since build 473.
Besides, the standard dependency package paper-api 1.16.5-R0.1-SNAPSHOT doesn't contain minimessage...

#

electronicboy replied to the thread MiniMessage error.

adventure was added in 473, minimessage was not bundled until 1.18.x, you'd need to shade it yourself, but MM is not compatible with much older versions of adventure, and so you'd be unable to use the built-in stuff if you wanted a nicely working setup.

#

Hyrancood replied to the thread MiniMessage error.

adventure was added in 473, minimessage was not bundled until 1.18.x, you'd need to shade it yourself, but MM is not compatible with much older versions of adventure, and so you'd be unable to use the built-in stuff if you wanted a nicely working setup.

Ugh, that hurts. Thanks for the information.

civic cryptBOT
#

stefvanschie replied to the thread registering events.

There is no material that is named "zorrosword", so that check will never succeed.

civic cryptBOT
civic cryptBOT
#

8ortiz4 started a thread called about hangar.

compressing plugin code by removing indentations and replacing variable names with letters to make it as compressed as possible is considered code obfuscation? is it allowed in the hangar submission guideline? thanks.

civic cryptBOT
#

MiniDigger replied to the thread about hangar.

That seems like a weird question, why would you care? Whitespace doesn't matter, it's removed by the compiler. Replacing variables with single letters is obfuscation.

#

8ortiz4 replied to the thread about hangar.

That seems like a weird question, why would you care? Whitespace doesn't matter, it's removed by the compiler. Replacing variables with single letters is obfuscation.

i say this because i tried to compile by removing indents and the file size is smaller than the compiled one without removing the indents. do not replace variables, 10-4.

civic cryptBOT
#

ooci started a thread called create the world async..

I'm using papermc1.20.4 and I want to create the world async.
Or is there another way to create a world without affecting server performance

civic cryptBOT
#

electronicboy replied to the thread Can I use 1.21 experiments on paper 1.20.4?.

The server software works the exact same as the vanilla software in this regard in that you can enable the experimental packs inside of server.properties before the world is created, otherwise, the only (unsupported) mechanism of enabling that stuff is to modify level.dat; as for how that will work with stuff like geyser, no idea

civic cryptBOT
#

evokerking2 replied to the thread Can I use 1.21 experiments on paper 1.20.4?.

The server software works the exact same as the vanilla software in this regard in that you can enable the experimental packs inside of server.properties before the world is created, otherwise, the only (unsupported) mechanism of enabling that stuff is to modify level.dat; as for how that will work with stuff like geyser, no idea

Thanks that answered my question.

civic cryptBOT
#

8ortiz4 started a thread called about hangar submission guideline.

are we allowed to post plugins related to features that are only applied for unofficial minecraft clients, you know, the under-the-radar kind?

civic cryptBOT
#

MiniDigger replied to the thread about hangar submission guideline.

Plugins on hangar must comply with the Minecraft usage guidelines and the paper community guidelines.

civic cryptBOT
civic cryptBOT
#

Bukr3j started a thread called How can I use PaperMC without any performance improvements?.

when I mean performance boosting I just want to use the plugin part. some of my farms are not working as a result of server performance boosts and I can't make my farm designs that I really want. i tried spigot etc. but all with the same result...

civic cryptBOT
#

LoJoSho replied to the thread How can I use PaperMC without any performance improvements?.

You may be better off using Fabric (and server mods from that ecosystem), as it separates performance improvements from its API. The Bukkit Ecosystem wasn't made to separate performance improvements from the API. Hypothetically, it's possible (you can always fork Paper and add in your patches to reverse Bukkit/Spigot/Paper performance patches), but not very practical to do.

civic cryptBOT
#

electronicboy replied to the thread How can I use PaperMC without any performance improvements?.

The issue isn't generally the performance patches, most of what exists in terms of performance that breaks stuff is things like entity activation range, which is configurable. What often breaks more edge case farms is the changes craftbukkit/spigot made to support plugins, you can't really separate the API from those changes easily without breaking the API.

civic cryptBOT
#

Bukr3j replied to the thread How can I use PaperMC without any performance improvements?.

You may be better off using Fabric (and server mods from that ecosystem), as it separates performance improvements from its API. The Bukkit Ecosystem wasn't made to separate performance improvements from the API. Hypothetically, it's possible (you can always fork Paper and add in your patches to reverse Bukkit/Spigot/Paper performance patches), but not very practical to do.

What do I need to do to turn off Fabric's performance optimizations?

civic cryptBOT
#

electronicboy replied to the thread How can I use PaperMC without any performance improvements?.

fabric doesn't come with performance optimisations, but you can get mods which improve performance which aren't as behaviorally invasive as a full plugin API

civic cryptBOT
#

Notro replied to the thread Trying to connect paper server to bungee.

Hello, may I ask on which version do you run your server?
And most important do you run your server on Vanilla/Spigot/Paper?

#

Notro replied to the thread create the world async..

Well you would want to handle the world creation asynchronously.

If you meant that you want to create a world as an arena for mini-game, what you would want to do is to copy the "source" files (your main world) .
Here is an old post that will teach you how to do it.

Important thing to note is: If you are running Asynchronous task, some of the Bukkit Api won't work and could potentially cause errors.

civic cryptBOT
#

Notro replied to the thread How to register plugin without plugin.yml.

Hello, this Resource might help you.
But I really don't understand, why you are trying to achieve that...?

You can get the instance of CommandMap by doing Bukkit#getCommandMap();

#

Notro replied to the thread How do i get nbt tags.

Hello, you could make NBT tags with tr7zw's item NBT api as already mentioned above, or you could use PersistentDataContainer which is built in by Paper in their api.
Both ways are great anyways.

civic cryptBOT
#

Notro replied to the thread Changing a message for a specific player AsyncChatEvent.

Hello, you can do the following:
public class AsyncChatListener implements Listener {

@EventHandler
public void onAsyncPlayerChat(AsyncPlayerChatEvent event) {
    event.getRecipients().stream()
            .filter(player -> player.getUniqueId() == /* insert your wanted player's uniqueId here */)
            .forEach(player -> event.setMessage(/* insert your wanted message here */));
}

}

civic cryptBOT
civic cryptBOT
#

Bukr3j replied to the thread How can I use PaperMC without any performance improvements?.

fabric doesn't come with performance optimisations, but you can get mods which improve performance which aren't as behaviorally invasive as a full plugin API

Farms are not working on the Fabric server either. I don't understand anything about this. It's best to use Hamachi...

civic cryptBOT
#

ksqeib started a thread called MultiLogin - Coexisting Minecraft Authentication and Multiple BlessingSkin Authentication.

What is MultiLogin?
MultiLogin is a plugin designed primarily for Minecraft proxy,aimed at supporting the coexistence of Minecraft authentication and multiple BlessingSkin authentication.
It is used to connect players under two or more external authentication servers,allowing them to play together on the same server.

Where can I use MultiLogin?
Currently, you can use SkinsRestorer on these platforms:

Servers:

CraftBukkit and forks (e.g. Spigot, Paper, Purpur, TacoSpigot)

Proxies...

civic cryptBOT
#

Bukr3j replied to the thread How can I use PaperMC without any performance improvements?.

well, fabric is vanilla + some bootstrap/API stuff, if your farm isn't working, then it's probably something wrong with the farm/your setup of it

I downloaded farm's own world and put it on my server, I also opened it on my computer and it working on my computer, but when I enter my server world, it stops after one or two golems are spawned.

civic cryptBOT
#

fabian started a thread called Paper server for bedrock not working.

i want to let my friends join on bedrock. i installed geyser and floodgate. i tried using my own ip from my computer but that did'nt work how do i fix that

civic cryptBOT
civic cryptBOT
#

ungsan started a thread called can import skulix library to plugin?.

I added dependeny, install library but I still get this error

java.lang.NoClassDefFoundError: org/sikuli/script/Screen

on this code
@Override
public void onEnable() {
Screen screen= new Screen();
}

added dependency

<dependencies>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sikulix</groupId>...

civic cryptBOT
civic cryptBOT
#

Tamion replied to the thread How can I use PaperMC without any performance improvements?.

it working on vanilla server but not fabric servers is very weird since fabric is basically vanilla. could you tell us about the design you are using for the farm? Best would be if you could provide a video of the farm

civic cryptBOT
#

stefvanschie replied to the thread Paper server for bedrock not working.

You probably should ask this question to the Geyser developers. Assuming you can connect to your Paper server directly, this has to do with Geyser.

#

stefvanschie replied to the thread can import skulix library to plugin?.

You will have to shade (and relocate) the API into your plugin, for example by using the maven shade plugin.

civic cryptBOT
civic cryptBOT
#

ungsan replied to the thread can import skulix library to plugin?.

You will have to shade (and relocate) the API into your plugin, for example by using the maven shade plugin.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>user.woongsan</groupId>
<artifactId>tempplugin</artifactId>...
civic cryptBOT
civic cryptBOT
#

GordonHim replied to the thread Announcing the end of life of Waterfall.

Please, can you revive it? This is very important for my server! My server has been keen to use Waterfall, it is really very useful and convenient, the contribution to everyone is not small!why๏ผ:cry:

civic cryptBOT
#

stefvanschie replied to the thread Announcing the end of life of Waterfall.

Waterfall won't be revived as there is no interest by developers to actively work on it. It is recommended to migrate to Velocity, which is more actively developed.

civic cryptBOT
#

Johannes started a thread called Custom Blocks.

Hey guys,
I wanted to ask how you can program your own blocks on your server without using a mod. I think I have to create a Tp which is no problem but I heard you have to overwrite existing textures but I want that you can still use the blocks from which I have overwritten the texture with normal texture.
thanks in advance
best regards
John

civic cryptBOT
#

fallenscriptkiddie@gmail. started a thread called My string farm doesn't work.

Hi,
I play on a Paper server host on my own PC (file : paper-1.20.4-365.jar) with some friends and we wanted to create an infinite string farm.
But he simply doesn't work, idk if it's because of my plugins or Paper but except EssentialsX which can change some gameplay configurations, but I check the whole config file and I don't find anything interesting.

I reproduce the same farm on a solo world and it works so I rely on your knowledge.

Here all my plugins :

  • BetterNav 1.0.9
    -...
civic cryptBOT
#

MCmitNoah replied to the thread My string farm doesn't work.

Strong duping has been fixed by paper but they recently added a config option to re enable it. You seem to have a version that is too outdated so I suggest you to update and try again.

civic cryptBOT
#

Arian replied to the thread Custom Blocks.

You can use chorus block states wich aren't obtainable in survival or creative. You could also use mushroom block states which don't generate naturally but these can be obtained in survival. Then use a resourcepack to change the textures. With this method you can add as many custom blocks as you want. Another way is using display blocks but I only can recommend it if the custom blocks are something like workstations which don't spawn naturally. There are also some more ways but that are the...

civic cryptBOT
#

IzaacB started a thread called Adventure/MiniMessage: Translatable with dynamic placeholders?.

Hello!
I'm migrating from acf to Adventure/MiniMessage, but I'm hitting roadblock after roadblock.
I really can't figure out how to use Translatable components together with dynamic placeholders...

My plugin has a wide range of placeholders, from static ones like the plugin version, to the player in an event.
The goal is to contain it in a class that handles everything related to Adventure/MiniMessage and the translations, and just provides a function to return a translated component that...

civic cryptBOT
#

Spiivak started a thread called Skyblock Plugins.

Which is the most recommended SkyBlock plugin out there?

civic cryptBOT
#

Melio started a thread called Is there any examples on the new implementation of commands in PaperMC ? (paper-plugin.yml).

Hello folks !

I know the paper-plugin.yml is under development, but I was wondering if anyone has an example of the new Commands implementation. I'm having trouble getting my head around it, as it doesn't use the onCommand override.

Here's my code so far, I wonder is it's "good" : https://paste.gg/p/anonymous/68262e66881341b089d6aaf25e4832fa

#

electronicboy replied to the thread Is there any examples on the new implementation of commands in PaperMC ? (paper-plugin.yml).

There is no new commands implementation that has been released, that just looks like you're trying to use the old bukkit command system manually, which was a bit of a "at least there's something of fall back to". if you want good commands, you'd be better off looking towards a command framework like cloud.

at least until we get the commodore API in, but, even then, command frameworks will often offer a level of abstractions around various things, i.e. argument mapping, which will not exist...

civic cryptBOT
#

TheMaydayMan started a thread called Most keypresses are not picked up over time in console.

I have a paper server running on the latest 1.20.4 server download. I set it up normally, but in the server console (nogui) most of my keypresses are not picked up, the problem getting worse over time. They are picked up normally in any other program, or a terminal that has no processes running in it. This is the run.bat file I used to launch the server:
java -Xmx4G -jar server.jar nogui
PAUSE
Does anyone know why this might be happening, or if any additional details would be helpful...

civic cryptBOT
#

Melio replied to the thread Is there any examples on the new implementation of commands in PaperMC ? (paper-plugin.yml).

Oh okay, I thought it was "new" because of this part in the documentation : https://docs.papermc.io/paper/dev/getting-started/paper-plugins#commands
Thanks for the link to cloud but I don't like to use frameworks :/

To be compliant with future Paper releases, should I implements "CommandExecutor" instead of extending my class with "Command" ?

civic cryptBOT
#

Oxibaros started a thread called Phantom (bug) Fire.

Hello. I'm building a server with my friends and noticed a strange error. Sometimes the fire stays where it was, but it can't set you on fire. Also, such a fire cannot be broken, and it can hang in the air and not disappear.

How to fix that?

civic cryptBOT
#

Lama06 started a thread called Hypixel Zombies Plugin.

Hello!

I created a plugin that implements the Hypixel game mode Zombies. I am happy for everyone who tries this plugin since it is the first I ever released and it took weeks of development.

You can find it on Hangar: https://hangar.papermc.io/Lama06/Zombies.

Features

A lot of different zombie types and attacks (melee, laser, fireball, explosion)
Very easy to get started: Dead End map and configuration provided (see below)
Perks (speed, extra health, quick fire, frozen bullets, extra...

civic cryptBOT
#

huwwarm started a thread called Timings report/paste problem..

Always when i try to type /timings report or /timings paste i have this error:

[11:51:19 ERROR]: Could not paste timings javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching timings.pl3x.net found. at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?] at sun.security.ssl.TransportContext.fatal(TransportContext.java:369) ~[?:?] at sun.security.ssl.TransportContext.fatal(TransportContext.java:312) ~[?:?] at...

#

electronicboy replied to the thread Timings report/paste problem..

you're using an unsupported version of a fork which isn't ours, looks like something is wrong with their timings server, you'd need to speak to them for support (assuming they'll give you any)

#

huwwarm replied to the thread Timings report/paste problem..

you're using an unsupported version of a fork which isn't ours, looks like something is wrong with their timings server, you'd need to speak to them for support (assuming they'll give you any)

thanks you so much. but what is "fork"?

#

electronicboy replied to the thread Timings report/paste problem..

You're using purpur, that is a modifcation, or a fork, of our software.

civic cryptBOT
#

ItsAlex started a thread called Should I use Folia on a server with 100-300 players?.

I'm used to using Paper, but I don't know if I should start using Folia. I have 32 GB ram & 16 cores. Is it worth it or should I use maybe Purpur or Pufferfish? Also, does Folia work with plugins like Towny & LuckPerms, or any other mainstream plugins often used? Will it be able to run an average plugin or only plugins with direct Folia support?

civic cryptBOT
#

Jan replied to the thread Custom config files..

Jan

You could use an external libary. I personaly use Boosted-Yaml. Great and easy to use libary.
https://github.com/dejvokep/boosted-yaml

To create a document you need a few more lines but to reload update and save one line of code is nessesary (Except the try/catch)

#

Jan started a thread called Async Methods.

Jan

I want to create async database requests at the proxy that I can transfer my ban system from my paper server to the velocity proxy. In paper it is realy easy to work with schedulers and make something async like that:

@Override
public void executeAsyncUpdate(final @NonNull String statement, final @Nullable SqlUpdateCallback callback,
final Object... arguments) {
Bukkit.getScheduler().runTaskAsynchronously(plugin, () -> {
try (Connection connection...

#

electronicboy replied to the thread Async Methods.

the scheduler in velocity is always "async", I generally suggest using your own thread pool for this sorta stuff, however

civic cryptBOT
#

stefvanschie replied to the thread Should I use Folia on a server with 100-300 players?.

Folia can only run plugins that are made for Folia. Plugins that were designed for Paper will not work and will require modifications by the author. Towny supports Folia, but to my knowledge LuckPerms does not.

16 cores seems fine for Folia, but how much of a performance boosts you get depends on your server type. If your players are mostly spread out, far away from each other, then you'll probably see a performance benefit. If all players are clumped together, then you'll probably not see...

civic cryptBOT
#

TheAlastor started a thread called Chat message validation failure.

Hello! I'm slowly getting desperate.
When I write an MSG on my server via the Party and Friends plugin (BungeeCord).
(It's not due to PAF, I have the same problem with e.g. Staff Chat) and
then I write to the "local" server chat again,
I get kicked from the sever. I have the following message in the console:

[WARN]: Failed to validate message acknowledgements from user
[INFO]: user lost connection: Chat message validation failure

I reinstalled the operating system, reinstalled spigot and...

civic cryptBOT
#

electronicboy replied to the thread Chat message validation failure.

This is an issue with bungeecord, or proxies in general, and how they handle commands/chat. I have a patch or two in Waterfall that improves the situation for commands, Velocity has the Signed Velocity plugin which also further improves the situation a whole lot more until we get a more native solution. But, until that arrives, handling this stuff on the proxy is generally not advisable, the only solution would be to strip command/chat signing from the backend server, but, most of the...

civic cryptBOT
#

Davy replied to the thread Announcing the end of life of Waterfall.

Please, can you revive it? This is very important for my server! My server has been keen to use Waterfall, it is really very useful and convenient, the contribution to everyone is not small!why๏ผ:cry:

I switched very easily from Waterfall to Velocity almost a year ago and I can say that it is 100% worth it. There are no downsides to switching. Yes, you can argue that there are a few plugins that you have currently that might not work on Velocity, but there are many alternatives that do work...

civic cryptBOT
#

Arian replied to the thread Phantom (bug) Fire.

Please send a Timings report or your plugins and server version.

These are ghost blocks. Have you tried resetting the chunk?

civic cryptBOT
#

Oxibaros replied to the thread Phantom (bug) Fire.

Plugin list: AntiPopup, Armorstandeditor, Brewery, Chunky, CoreProtect, Dynmap, EssentialsX, Gsit, And libraries

"These are ghost blocks. Have you tried resetting the chunk?" - Yep, it`s ghost blocks

Please send a Timings report or your plugins and server version.

These are ghost blocks. Have you tried resetting the chunk?

civic cryptBOT
#

fieryy started a thread called Paper server just stopped working one day.

My 1.20.4 server just stopped working a few days ago. It would open the console for about a second before closing, and then give a .log file titled "hs_err_pidxxxxx" (bunch of random numbers). For the past 3 days, I've been looking all over the internet for a solution, but none of them worked. I can still log onto my vanilla server, and all of my MC clients still work. I have also tried to download paper on my laptop, but it wouldn't even create the files.
Things I have done to attempt to...

#

electronicboy replied to the thread Paper server just stopped working one day.

There is some weird bug when running with java 22 on windows, in the meantime, starting the server with a bat file should work around that

civic cryptBOT
#

WildCarz started a thread called Issue with Applying DevBundle Patches in Plugin Development.

Hello, I have an issue when trying to use a fork of Paper in one of my plugins. I made the fork using this repository https://github.com/PaperMC/paperweight-examples, updated all necessary versions (gradle, etc), and published the devBundle to my local maven using "./gradlew publishDevBundlePublicationToMavenLocal -PpublishDevBundle". The problem is that when I try to use this devBundle in my other plugin, it gives an error while applying the patches (Failed to apply dev bundle patches. See...

civic cryptBOT
#

imFel started a thread called intellij projects not being created correctly.

this happens consistently whenever I make a new project. I'm new to java development and spigot/paper so i dont know how to fix.

how do i fix this? I don't have this issue in projects created previously.

civic cryptBOT
#

zetareal started a thread called I cannot place the light unit.

If I take a block of light and want to place it. It immediately disappears. Who knows what the problem might be?

civic cryptBOT
civic cryptBOT
#

MnkyArts started a thread called World Generation - Custom Spawn Structure.

So i have a quick question. I would like to create a little plugin which changes the way the world generates by a little bit, it should stay almost the same i only would like the world spawn to spawn at a specific biome (plains) with alot of space around it, as well as spawning at the position a specific structure / schematic which should then be used as the spawning point for the player which joins the server.

The Idea gonna be used for our Farmworld Server which resets once in a while.

civic cryptBOT
#

imFel replied to the thread intellij projects not being created correctly.

Could you share the build file of the build tool you're using?

using Maven
<dependencies>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>

assuming this is what you mean

civic cryptBOT
#

fallenscriptkiddie@gmail. replied to the thread My string farm doesn't work.

Thank you so much, indeed it the build #464 "Add config option for tripwire disarming fix" (2024-04-02).

civic cryptBOT
#

BigProof started a thread called Logs and Planks not following Custom Burning Times.

I am encountering a problem with a plugin I'm creating, right now just called FuelEfficiency. The plugin is designed to adjust the burning time of various fuel sources in furnaces. However some custom burning times specified in the plugin configuration are not being applied correctly to logs and planks, while other fuel sources work as intended (coal, charcoal, lava_bucket, stick).

Specifics:
Problematic Fuel Types: Logs and planks (acacia, birch, dark oak, jungle, spruce).
Expected...

civic cryptBOT
#

MassonNn started a thread called Component colors doesn't work.

I have this code:
public Component prepareName(Player p, String hex) {
String hint = this.config.getString("name-hint");
return miniMessage.deserialize(p.getName())
.hoverEvent(HoverEvent.showText(miniMessage.deserialize(hint)))
.color(TextColor.fromHexString(hex))
.clickEvent(ClickEvent.runCommand("/playerinfo " + p.getName())
);
}
Where hex is a string from config (staff.1.color):
staff:
1:
prefix: ''
color...

civic cryptBOT
#

dinhero21 started a thread called Unable to access papermc.io.

Unsure where to post this, lmk if off-topic is not the right category.

I have been unable to access many papermc.io subdomains, aside from that, my internet seems completely normal.
List: (โœ… = reachable, โŒ = unreachable)
โŒ papermc.io (main domain)
โŒ repo.papermc.io
โŒ api.papermc.io
โœ… docs.papermc.io
โŒ forums.papermc.io
โŒ hangarstatus.papermc.io
โœ… status.papermc.io
โœ… translate.papermc.io

All the unreachable domains have the following ips in common:
$ host ...
... has address 172.67.72.198...

#

mbaxter replied to the thread Unable to access papermc.io.

These are Cloudflare IPs you're unable to reach. Definitely a bigger problem than Paper, on your end.

civic cryptBOT
#

wenzhan replied to the thread Announcing the end of life of Waterfall.

Please, can you revive it? This is very important for my server! My server has been keen to use Waterfall, it is really very useful and convenient, the contribution to everyone is not small!why๏ผ:cry:

About half a year ago, I switched from Waterfall to Velocity, and the whole process took less than 10 minutes.
It's really too easy
Most of the plugins I use, such as LuckPerms, miniMOTD, TAB, etc., have versions adapted to Velocity.

civic cryptBOT
#

Nepp started a thread called How to allow players to connect to the same server but with different render distances?.

Hello everyone,

I hope this is the right place to askโ€”Iโ€™ve noticed that some servers using Velocity allow supporters to enjoy an increased render distance. Additionally, these servers offer faster connections and the ability to skip login queues by connecting to a premium supporter IP.

Iโ€™m interested in implementing a similar feature on my server. Could someone kindly guide me in the right direction? I appreciate any advice or resources you can share.

Thank you for your time!

Best...

civic cryptBOT
#

Alxe started a thread called Dispensers Not Igniting Nether Portals.

Dispensers with Flint And Steel Aren't Igniting Nether Portals, This affects specific farms which require Ignitable Portals,

  • Running PaperMC 1.20.4 build #484

Plugins :
AuthMe 5.6.0 Beta-2
Chunky 1.3.136
DiscordSRV-Build-1.27.0.jar
EasyWarp
FastLogin
floodgate
FredashaySpigotChunkProtect.jar (1.20 port)
Geyser
grimac-2.3.62.jar
Invsee++ and Invsee++ give and clear
PlayerStats-2.2.jar
PvpManager
RAMCleanerULTRA-2.0.8.jar
SetHome-6.2.3.jar
Shopkeepers-2.19.0.jar
SimpleTPA 6.6...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

mbaxter replied to the thread Can i add my own datapacks to a paper bukkit server and make it so that it works for both java and bedrock?.

Paper is a Java Edition server. As such, you won't find success with Bedrock players connecting.

There are plugins that provide functionality to allow Bedrock to connect, but you would want to ask them about pack support.

civic cryptBOT
#

ormesome started a thread called movement attribute permanently changed for player?.

While testing some new plugins (specifically the Spirits side plugin for ProjectKorra), one player used an ability on another which set the targets movement speed to 0. The plugin crashed, and the code to restore the movement speed was not run. This attribute change appears to be permanent, and it only affects the player in this server.

We can "fix" the problem by running

attribute SufferingPlayer minecraft:generic.movement_speed base set 0.1

at the console, however the attribute is reset...

civic cryptBOT
#

ormesome replied to the thread movement attribute permanently changed for player?.

I want to reply and close this. Thank you for your patience.

Attributes settings are not persistent, but there is a file located in

world\playerdata<uuid>.dat

for each player that persists data. Just find their UUID when they next connect.

The dat files are in a binary format called NBT (https://minecraft.fandom.com/wiki/Player.dat_format) and I used a web based editor (https://irath96.github.io/webNBT/) to reset the players base movement speed.

I have learned another niche piece of...

civic cryptBOT
#

3ric replied to the thread Important dev PSA: Future removal of CB package relocation.

I was recently made aware of this, when an update I made for a primarily Spigot plugin broke because of this inconsistency between Spigot and PaperMC. I am kind of surprised that this was done, especially with the listed 'solution' being to use the Minecraft version instead. The remapping version and the minecraft version are very much not the same however. There have been a couple cases in the past where a small Mojang bugfix bumped the Minecraft version, without changing the internals at...

#

MiniDigger replied to the thread Important dev PSA: Future removal of CB package relocation.

The remapping version and the minecraft version are very much not the same however.

Yes, absolutely. That's the point. Its completely arbitrary. It's meaningless, impossible to predict why that number has been increased.

What plugins should do is detect the presence of the methods they use, not some arbitrary numbers.

And no, there is no way to get that info, it doesn't exist anymore.

#

electronicboy replied to the thread Important dev PSA: Future removal of CB package relocation.

There have been a couple cases in the past where a small Mojang bugfix bumped the Minecraft version, without changing the internals at all.

And there have been many cases where mojang have changed a bunch of the internals which caused a few methods to be renamed and spigot didn't change the

number, causing plugins to break in unexpected manners.

There is no "remapping version", because it's just a dice rolled incremented number by spigot. This information still exists in the manifest...

civic cryptBOT
#

jbhkgkug started a thread called Critical Errors Encountered During Minecraft Server Startup.

Dear Paper Team,

I have encountered several critical errors during the startup of my Minecraft server. I am reporting these issues for your immediate attention. At the same time that I am reporting to you, I have uploaded the logs of the server for you to reference. These are the errors:

PerfmonDisabled Warning: The server encountered an invalid registry value type, which may affect the performance counter functionality.
Administrative/Root User Runtime: The server is running as an...

#

MCmitNoah replied to the thread Critical Errors Encountered During Minecraft Server Startup.

3-6 are plugin issues and you would generally have to contact them. About 2: you should not run your server with sudo (root privileges). Create a separate user for it and run the server with that user. For 1 I donโ€™t know.

  1. Suggest you are using offline mode/cracked server which is unsupported.
civic cryptBOT
#

Irponz started a thread called Redstone bug.

The Redstone pist are only pushing air, hoppers break when stuff goes inside of it.

civic cryptBOT