#forum-feed

1 messages · Page 3 of 1

civic cryptBOT
#

Observer_on_top started a thread called Paper MC 1.20.6 doesn't work.

Today I changed from Paper 1.20.4 to Paper 1.20.6, and it immediately crashed. I removed all plugins, and it still crashed. I tried looking at the logs, but for some reason they weren't in the logs folder. Can someone help me, please?

#

electronicboy replied to the thread Paper MC 1.20.6 doesn't work.

I mean, with 0 info we can't really say, it's all going to boil down to how you're running the server; Do note that 1.20.5+ require java 21

civic cryptBOT
#

Observer_on_top replied to the thread Paper MC 1.20.6 doesn't work.

I mean, with 0 info we can't really say, it's all going to boil down to how you're running the server; Do note that 1.20.5+ require java 21

Updated to Java 22 and it still crashes :(

civic cryptBOT
#

Irponz started a thread called Redstone bug.

is there a way to fix this, the pist are only can push air. When you put item in hopper, the hopper breaks

civic cryptBOT
#

yap241986 started a thread called How to use Title.

I'm creating a plugin using Paper API 1.20.4. I would like to show a title to a player. If I try to use player.sendTitle(String, String, int, int, int) the IDE tells me that it's deprecated. So I tried to use player.showTitle(Title), but I can't understand how to create a Title().

#

ysl3000 replied to the thread How to use Title.

Just use it like that.

player.showTitle(Title.title(
Component.text("Hellow"), Component.text("sub"),
Title.Times.times(Duration.ofSeconds(10), Duration.ofSeconds(300), Duration.ofSeconds(30)))
);

civic cryptBOT
#

Duplicake started a thread called Unable to load.

Whenever I try and start paper, it just shuts itself down. I'm on an ARM64 Raspberry Pi and I'm trying to migrate from vanilla so I can use Geyser more easily.
Please help me. I can't do /timings or /version because it's completely broken.

#

Duplicake replied to the thread Unable to load.

Pls help, I need to play with my friends

#

electronicboy replied to the thread Unable to load.

[18:55:19 WARN]: java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 3839 > 3700

Downgrading is unsupported

civic cryptBOT
#

Duplicake replied to the thread Unable to load.

Ohhhhhh. So do I download the paper beta?

#

Duplicake replied to the thread Unable to load.

Downgrading is unsupported

Ohhhhhh. So do I download the paper beta?

#

electronicboy replied to the thread Unable to load.

Yes, you'd need to use the experimental builds if you want to load that world safely

civic cryptBOT
#

mbaxter replied to the thread Unexpected lag spikes on server 1.20.4.

I have also been experiencing this issue on my server since updating to 1.20.4

Maybe hop over to our Discord with a spark report from during a lag spike

civic cryptBOT
#

linsyking started a thread called Can I use outdated clients for the new papermc?.

I don't understand how papermc works. I installed papermc 1.20.6 on my server and it only allows minecraft 1.20.6 clients. However, plugins like essentials don't support 1.20.6. Is it correct to use 1.20.1 papermc instead of the latest one to use plugins like essentials?

civic cryptBOT
#

TheFishNextDoor replied to the thread Unexpected lag spikes on server 1.20.4.

Maybe hop over to our Discord with a spark report from during a lag spike

I am on a purpur server with lots of plugins so I'm not sure my reports would be that useful but I am experiencing the same error in my log. So i'll post my information here and maybe me and the original poster share some of the same plugins or something that could be a clue for us. It appears to be on a data tag save that is taking sometimes upwards of 50 seconds.

[14:31:54] [Server thread/WARN]: Can't keep up! Is...

civic cryptBOT
#

mbaxter replied to the thread Can I use outdated clients for the new papermc?.

I don't understand how papermc works. I installed papermc 1.20.6 on my server and it only allows minecraft 1.20.6 clients. However, plugins like essentials don't support 1.20.6. Is it correct to use 1.20.1 papermc instead of the latest one to use plugins like essentials?

You may find a dev build for EssentialsX for 1.20.6, but otherwise it definitely works on 1.20.4 and you should be using that while waiting for stability.

#

mbaxter replied to the thread Unexpected lag spikes on server 1.20.4.

This is the Paper forums. We support Paper.

Locking this as it was already answered and the necropost wasn't even on Paper.

civic cryptBOT
#

Machine Maker replied to the thread Paper MC 1.20.6 doesn't work.

I mean something must be happening that you can post. Even if no log is being created, when you actually run the start script, something happens in your terminal. Post that

civic cryptBOT
#

mms started a thread called I get a bungeecord error when I have velocity.

mms

I'm getting an error : disconnected while connecting to lobby: If you wish to use IP forwarding, please enable it in your BungeeCord config as well!
I have server velocity and j dont know how to fix.
j am on 1.20.4

civic cryptBOT
#

mms replied to the thread I get a bungeecord error when I have velocity.

mms

disable bungee mode on the backend servers if you're going to use modern forwarding

were is backend?

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

RobertGaminPlayz started a thread called When is the release of a stable build for 1.20.6?.

Some plugins are waiting for the stable release of 1.20.6 to update their plugin. The 1.20.6 version of Minecraft has been released for a few days so I am wondering when's the release since many of the plugins doesn't work because they haven't been updated.

civic cryptBOT
civic cryptBOT
#

electronicboy replied to the thread I get a bungeecord error when I have velocity.

Yes, but spigot doesn't support modern forwarding, so you'd need to use one of the legacy forwarding mechanisms, ideally bungeeguard, that way you can mitigate the security hole

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

boarMC started a thread called How to create plugin for chat.

Oink! I want to create a chat plugin so that "%vault_prefix, %vault_suffix" are used in general, PlaceholderAPI, as well as support for writing in color text, but only with permission

civic cryptBOT
#

stefvanschie replied to the thread Redstone bug.

It sounds to me like this is an issue you're encountering. If you have found a bug that you can reproduce on a Paper server with no plugins in use, please file a bug report on the bug tracker https://github.com/PaperMC/Paper/issues.

civic cryptBOT
civic cryptBOT
#

MiningIsMyJob replied to the thread Scoreboard.

You can do that with simplescore i don't remember exactly how though, but i've used it myself in the past.

civic cryptBOT
civic cryptBOT
#

Valditor started a thread called PaperMC 1.20 Corrupted.

I host a server for my friends on a small, low-power computer that runs 24/7. I connect it via cable for stability, and it usually runs without any issues. The only downside is that the power in my house tends to go out relatively frequently. The server has been up for a few months now, and while the power has gone out a few times before, it never caused any problems with the server. However, a couple of days ago, the power went out again, and this time something seems to have gotten...

civic cryptBOT
#

Valditor replied to the thread PaperMC 1.20 Server corrupted :c.

corrupted level.dat, generally; best you can do is restore a backup

I know that is the easy "fix" but as I said I don't want to lose a whole month of my friends playtime and progress... that's why I'm asking for help ;_; .

#

electronicboy replied to the thread PaperMC 1.20 Server corrupted :c.

your only other option is to delete the level.dat
it will create a new one, however, the seed will have changed, and you may have other various issues, there is no other real fix without a backup, however.

civic cryptBOT
civic cryptBOT
#

electronicboy replied to the thread PaperMC 1.20 Server corrupted :c.

All of the worlds have a level.dat, you'd generally need to work out which one is busted, the overworlds one might be fine

civic cryptBOT
#

Valditor replied to the thread PaperMC 1.20 Server corrupted :c.

All of the worlds have a level.dat, you'd generally need to work out which one is busted, the overworlds one might be fine

Oh so the problem might be one of the other worlds? (There are 5 or 6).

civic cryptBOT
#

Raza started a thread called Changine Plugin folder Name and server.properties file name :).

if i run the paper-1.20.4.jar it automatically creates a folder plugins and a file server.properties but i want it to rename them , the plugins to plugouts and the server.properties to notserver.properties how can i do that ,can i do this with JD-GUI ?

civic cryptBOT
#

SPIRITB0X started a thread called [16:25:47 ERROR]: Server 'factions' for forced host 'factions.example.com' does not exist.

[16:25:47 INFO]: Booting up Velocity 3.3.0-SNAPSHOT (git-afd8b55f-b390)...
[16:25:47 INFO]: Loading localizations...
[16:25:47 INFO]: Connections will use epoll channels, libdeflate (Linux x86_64) compression, OpenSSL 1.1.x (Linux x86_64) ciphers
[16:25:47 ERROR]: Server 'factions' for forced host 'factions.example.com' does not exist
[16:25:47 ERROR]: Your configuration is invalid. Velocity will not start up until the errors are resolved.|

However, I deleted the forced host section in...

civic cryptBOT
#

SPIRITB0X replied to the thread [16:25:47 ERROR]: Server 'factions' for forced host 'factions.example.com' does not exist.

If you delete the section then it will just use the default settings for that, which point to an invalid server. You need to remove the entries in that section, not the section itself

Thank you, that helped, however, now it states I need forgeloader because the server contains mods, which it doesnt.

ITs just paper and plugins.

civic cryptBOT
#

SPIRITB0X started a thread called The server has mods that require forge, but we dont use mods..

Server states we have mods, however we do not.

Only plugins we currently have are viaversions and viabackwards because our host doesnt support fabric 1.20.5 yet.

civic cryptBOT
#

SPIRITB0X replied to the thread The server has mods that require forge, but we dont use mods..

[20:34:58] [Netty epoll Worker #7/INFO] [com.velocitypowered.proxy.connection.client.ConnectedPlayer]: [connected player] SPIRITB0X (/75.38.130.153:53000) has disconnected: Unable to connect you to lobby. Please try again later.

This?

Im fairly certain I dont have the wrong server, its just proxy > lobby > smp

#

SPIRITB0X replied to the thread The server has mods that require forge, but we dont use mods..

[20:34:58] [Netty epoll Worker #7/INFO] [com.velocitypowered.proxy.connection.client.ConnectedPlayer]: [connected player] SPIRITB0X (/75.38.130.153:53000) has disconnected: Unable to connect you to lobby. Please try again later.

This?

Im fairly certain I dont have the wrong server, its just proxy > lobby > smp

Sorry, that disconnect message is the wrong one.

[20:42:12] [Netty epoll Worker #4/INFO] [com.velocitypowered.proxy.connection.client.ConnectedPlayer]: [connected player]...

#

mbaxter replied to the thread How to create plugin for chat.

In order for us to help, you need to be more specific. Our docs have great starting points if you're unfamiliar with the API. PlaceholderAPI also has documentation.

civic cryptBOT
#

stefvanschie replied to the thread Changine Plugin folder Name and server.properties file name :).

The server has flags to change the names of these files. The c or config flag changes the name of the server.properties file, which you can then name notserver.properties. For the plugins folder, you can use the P or plugins flag to change the name of the plugins folder to plugouts.

civic cryptBOT
#

Jan started a thread called Material Visability.

Jan

Hello everyone,

I had a problem while programming plugin. One feature of this plugin should be the random distribution of items.
There are a few Items that the player should not the solution of this problem is a simple Blacklist (CommandBlock...)

But there are also items that are not visible for the player like the potatoes, carrotes, all kinds of WALL_HEADS, all kinds of POTTED_ Materials....
I could check the name if the material contains this name but the question is there is a better...

#

Machine Maker replied to the thread Material Visability.

Does Material#isItem do what you want? It returns true of the Material enum is an item type.

#

Jan replied to the thread Material Visability.

Jan

Does Material#isItem do what you want? It returns true of the Material enum is an item type.

Great I did not saw this method thank you for your quick reply

#

Ergo started a thread called Paper loading stuck when i try to open it.

Hi everybody, today i have a problem with paper server. Yesterday was all working fine, but today, when i try to open my server, it stuck at this line: "Enabling ProtocolSupportX v1.0". after some minutes it start to load again (or not), but there are some minutes where the loading is stuck

I tried to load the server without internet and all is working fine, so, i not know where are happening

Thanks.

civic cryptBOT
civic cryptBOT
#

Isuzu_ started a thread called No loot in trail chambers paper mc 1.20.5.

hello after running my hardcore world with a friend on 1.20.5 we recently died and reset the world, how i did this was delete the world overland/end and nether.
before the reset i had perfectly operating trail chambers. now that i reset the world we have Zero* items spawning inside the chamber dispensers or pots, even the barrels and loot vaults arent showing any items. they make noises and proceed with advancements but no items spinning inside the vault, or coming out. is this a Minecraft...

civic cryptBOT
#

Lumine1909 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
#

Jan started a thread called 1.20.6 Update.

Jan

Hello Everyone currently I am working on updateing my Plugins to 1.20.6 and it is a realy big pain.

There are serveral changes that need to be covered...
First of all there are multiple Enchantments that are removed/renamed. This is easy to fix but realy annoying.

An other point reguarding to enchantments is not so easy to fix. In one of my Plugins there is an enchant command, that player could enchant Items with a command.
But there is a problem. The Method "Enchantment.getItemTarget()"...

#

electronicboy replied to the thread 1.20.6 Update.

Both of those concepts no longer exist, and so you're generally going to need to find a better way of identifying what you're after, or you'll have to maintain your own set of groupings, etc

civic cryptBOT
#

stefvanschie replied to the thread Paper loading stuck when i try to open it.

This seems like a problem with ProtocolSupportX. I'd recommend asking the developer of that plugin for assistance.

civic cryptBOT
#

Ergo replied to the thread Paper loading stuck when i try to open it.

This seems like a problem with ProtocolSupportX. I'd recommend asking the developer of that plugin for assistance.

I not have that plugin. Maybe is something related with viaversion or something similar but i not have that plugin or protocollib on my server

civic cryptBOT
#

mbaxter replied to the thread Paper loading stuck when i try to open it.

I not have that plugin.

Well, according to your own log you do have that plugin. You may be surprised by what you find in your plugins folder!

civic cryptBOT
#

Lucktify started a thread called 1.20.4 Sand Duping Not Working.

I recently created an 1000 block by 1000 block server for me and my friends to play, however within these borders we are limited to few sand. My solution was to create a sand duper how ever nothing I try has worked. Here are some things I've tried:

changing "false" to "true" in the allow-unsafe-end-portal-teleportation configuration

Plugins such as Gravity Controller by eimcca.

If you have any suggestions let me know.

civic cryptBOT
#

Ergo replied to the thread Paper loading stuck when i try to open it.

Well, according to your own log you do have that plugin. You may be surprised by what you find in your plugins folder!

Nop, here the plugins that i have:

Essentials
CleanPing
CustomItems
GrimAC
LoginSecurity
LuckPerms
SimpleHelp
Geyser
Viaversion
ViaBackwards
SimpleHelp

Nothing like ProtocolSupport X or something similar

civic cryptBOT
#

mbaxter replied to the thread Paper loading stuck when i try to open it.

Well, one of your plugins must be adding that second plugin, then. Sort that out first, then speak to them for help.

civic cryptBOT
#

ooci 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 for example, 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.

no,I serve survival players, so it’s not okay to do this.

civic cryptBOT
#

Raza replied to the thread Changine Plugin folder Name and server.properties file name :).

The server has startup flags to change the names of these files. The c or config flag changes the name of the server.properties file, which you can then name notserver.properties. For the plugins folder, you can use the P or plugins flag to change the name of the plugins folder to plugouts.

ok so where i can find the startup flags

civic cryptBOT
#

stefvanschie replied to the thread Changine Plugin folder Name and server.properties file name :).

You'd include it in your start script. Where you'd have java -jar paper.jar, you'd append the startup flags. So for example java -jar paper.jar -P plugouts -c notserver.properties.

civic cryptBOT
#

mbaxter replied to the thread create the world async..

The solution was already given in March! :)

civic cryptBOT
civic cryptBOT
#

sarp_03 started a thread called Connection refused to backend Server.

Hello, I have setup a Velocity Server with a Paper Server with the Pterodactyl Panel. I have connected both Servers:
in the velocity server i have added the ip+port of the backend server and in the backend server i have turned only mode to false and edited the paper-global config with my secret token and everything to setup. But when i connect to my Server i get some error messages in my Velocity Server Logs

civic cryptBOT
#

Ergo started a thread called Help with commands.yml.

Hi, i am using PaperMC and I am trying to add the /discord command in the commands.yml. The code would be:

command-block-overrides: []
ignore-vanilla-permissions: false
aliases:
icanhasbukkit:

  • version $1-
    discord:
  • tellraw @p {"text":"Join our Discord. ","color":"gold","extra":[{"text":"Clic
    Here.","color":"blue","underlined":true,"clickEvent":{"action":"open_url","value":"https://discord.gg/XXX"}}]}

The /discord command works fine but only for me as administrator. I don't...

civic cryptBOT
#

electronicboy replied to the thread Help with commands.yml.

The command runs as the player executing it, and so you'd basically need to find an alternative mechanism of doing that, i.e. a plugin

civic cryptBOT
#

Ergo replied to the thread Help with commands.yml.

The command runs as the player executing it, and so you'd basically need to find an alternative mechanism of doing that, i.e. a plugin

Thanks for the answer. So, there is no way to create a /discord command and have it send a message to the user like the one I have indicated above? I don't know if with Essentials that would be possible or not, the thing is that I want to avoid having plugins on my server.

civic cryptBOT
#

mbaxter replied to the thread Help with commands.yml.

Without plugins on your server, you cannot gain additional functionality like you want. There's nothing particularly wrong with finding a simple plugin that does regular announcements. :)

civic cryptBOT
#

Ergo replied to the thread Help with commands.yml.

Without plugins on your server, you cannot gain additional functionality like you want. There's nothing particularly wrong with finding a simple plugin that does regular announcements. :)

Ok, thanks for the clarification and your help!

civic cryptBOT
#

sdfsdfsdfs started a thread called how to use hotswap?.

HOTSWAP AGENT: 14:09:59.712 ERROR (org.hotswap.agent.annotation.handler.PluginClassFileTransformer) - InvocationTargetException in transform method on plugin 'class org.hotswap.agent.plugin.log4j2.Log4j2Plugin' class 'org/apache/logging/log4j/core/LoggerContext'.
java.lang.reflect.InvocationTargetException

civic cryptBOT
#

LewMC started a thread called Kryptonite - The lag killing plugin.

Kryptonite
Kryptonite is a server optimiser and exploit patcher that heavily reduces the amount of time it takes to setup your server, whilst also ensuring that your server configurations are setup correctly. Kryptonite has two modules: KOS and EDB.

Kryptonite does not run automatically, it must be triggered using commands. See below for more information.

Whilst we've tested Kryptonite to the best of our ability to ensure quality and safety, you should backup your server as a precaution...

civic cryptBOT
#

Kaff started a thread called My server isn't runnin in paper 1.19.1.

I saw that it was a world generation problem, but I don't know specifically what.

civic cryptBOT
civic cryptBOT
#

Raza replied to the thread Changine Plugin folder Name and server.properties file name :).

it

You'd include it in your start script. Where you'd have java -jar paper.jar, you'd append the startup flags. So for example java -jar paper.jar -P plugouts -c notserver.properties.

it says this
Unrecognized option: -c
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit . and done

civic cryptBOT
#

stefvanschie replied to the thread Changine Plugin folder Name and server.properties file name :).

Have you perhaps put the -c before the -jar? The -c should come at the very end. So, not like this.
java -c notserver.properties -jar paper.jar
Instead, like this.
java -jar paper.jar -c notserver.properties

civic cryptBOT
#

GodMadaraa started a thread called HEY DEVS ! I Am Here Cuz I Got Banned From Your Discord ?.

i am here cuz i got banned for no reason i jsut asked a general question and support team said offline mode that why no support then after some time i agreed to them and i was replying to message of electronicboy
i was replying to his message ok thanks for you older provided support but i deleted it cuz i wanted to send other but before sending another message a staff kicked me and when i joined again i saw chat and staff said he was pinging and deleting message again and again and i did...

civic cryptBOT
#

Synergy started a thread called Server update.

When will there be a 1.20.5 server for paper so I can have the new dog armor and dog variations in the game?

#

Machine Maker replied to the thread Server update.

There are experimental builds for 1.20.6 on the downloads page already. They are not considered stable yet, so make sure you take backups and understand that you cannot downgrade versions.

civic cryptBOT
civic cryptBOT
#

Arag0ne started a thread called Chunks handling.

Hello,

I would like to configure my new server on PaperMC, but the documentation dealing with global configuration doesn't seem to be as clear as it should be.

First, I would like to configurate all chunks handling stuff. I can handle basics in Java development, so reading documentation is not a problem. I tried first to read the basics on the Minecraft Wiki "Chunk" page, but a few things are not clear. Actually, the "Ticking" subsection in the "Limitations" section is not clear at all...

civic cryptBOT
civic cryptBOT
#

Corrupted started a thread called Sever crashes on startup.

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000069ac29bf, pid=14692, tid=3152

JRE version: Java(TM) SE Runtime Environment (22.0.1+8) (build 22.0.1+8-16)
Java VM: Java HotSpot(TM) 64-Bit Server VM (22.0.1+8-16, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
Problematic frame:
C [jansi-2.4.0-9c328d56d5749588-jansi.dll+0x29bf]

No core dump will be written. Minidumps are...

#

Corrupted replied to the thread Sever crashes on startup.

Yes

Thank you for your help. This has been fixed.

civic cryptBOT
#

bingy started a thread called Beds not exploding in nether, 1.20.6.

As title says beds aren't exploding in the nether, i have no plugins only a datapack that's for changing how villagers work. I've tried disabling the data pack and beds still don't explode.
Server is hosted through Pebblehosting when ever i place one and explode it theres a bunch of stuff in the console that pops up. Any fixes?

civic cryptBOT
#

bingy replied to the thread Beds not exploding in nether, 1.20.6.

Update to latest version

i set the server to vanilla 1.20.6 and beds explode, put it back to paper and they dont blow no mo

#

mbaxter replied to the thread Beds not exploding in nether, 1.20.6.

Likely what happened is that your host pulled a newer version of the server when switching back to Paper. Always double check you're on the latest build of Paper before asking for support! (What you screenshotted did not indicate build, but you can check with the /version command)

#

bingy replied to the thread Beds not exploding in nether, 1.20.6.

Likely what happened is that your host pulled a newer version of the server when switching back to Paper. Always double check you're on the latest build of Paper before asking for support! (What you screenshotted did not indicate build, but you can check with the /version command)

#

bingy replied to the thread Beds not exploding in nether, 1.20.6.

Oof! Make sure to update that!

Do you mean i should make the server to a stable version of paper?

civic cryptBOT
#

mbaxter replied to the thread Beds not exploding in nether, 1.20.6.

No, I mean you are 79 builds of 1.20.6 behind. You should update your Paper server. It looks like your host is already providing a slightly non-standard build, so you should speak to them about updating if you aren't sure how to do it.

civic cryptBOT
civic cryptBOT
#

Slav ebb started a thread called TranslatableComponent from item type in an item's lore.

Helloo, i'd like to know how can i use a translatable component of an item type, in an item's lore (the title speaks for itself)

I've never used translatableComponents before so i dont really know what am i doing XD

TranslatableComponent text = new TranslatableComponent(is.getType().translationKey());
lore.add(ChatColor.WHITE+ text);
/.\ i thought this would of worked, but it does not at all

civic cryptBOT
#

stefvanschie replied to the thread Chunks handling.

The min function takes two values and chooses the minimum value. The 1,63 you're referring to is not a decimal value, but a separation between the two values. It chooses between 2s + 1 and 63, whichever is lower. Why exactly the developers chose to put a min function in the formula, I do not know.

civic cryptBOT
#

Slav ebb replied to the thread TranslatableComponent from item type in an item's lore.

I FFFINALY figured it out
List<Component> lore = new ArrayList<Component>();
final Component message = Component.translatable(is.getType().translationKey());
lore.add(message);

civic cryptBOT
#

Ehmilien started a thread called Login Error in 1.8.

Hey ! I keep getting the following error when i try to log in 1.8, i tought it was from one of my plugin, but when i ran the server without a single plugin, i kept getting the same error

[06:26:08 WARN]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.lang.RuntimeException: Unable to access address of buffer
at io.netty.channel.epoll.Native.read(Native Method)...

civic cryptBOT
#

mbaxter replied to the thread Login Error in 1.8.

1.8 is incredibly outdated and entirely unsupported. You are on your own (and we advise not running something so out of date and unpatched)

civic cryptBOT
#

Ninjaguardian68 started a thread called Custom Enchantments.

I am making a paper plugin and I want to add custom enchantments. I'm a beginner so I don't know much and all tutorials seem outdated.

civic cryptBOT
#

Ole1Tau1 replied to the thread Custom Enchantments.

As far as I'm concerned, the Bukkit functions for registering new Enchantments have been completely removed, so you're on your own.
Visually, you can display enchantments using an item's lore and you can make a data pack which adds the recipes for the tools you want to enchant with an enchanting book with specific NBT data. But you gotta write the code for the enchantment "effects" yourself.

Feel free to get back to me if you need further help with that :)

PS: I would put the update...

#

Andre_601 replied to the thread Paper & Velocity 1.20.6.

Something I want to mention for those that are curious: The name length limit for profiles will also affect the displayed online players on a server list's hover on the player count, given that (for whatever reason) the full profile is sent to the client there, so keep that in mind.
I proposed to have some way of bypassing this limit for this particular case (And maybe other cases), but until something is there, you'll have to work with a workaround here (Making a custom class extending...

civic cryptBOT
#

MrMcyeet replied to the thread Custom Enchantments.

You should probably wait until 1.21 releases to make a custom enchantment plugin. in a recent snapshot, Mojang announced that enchantments are changing in big ways, and I suspect that with this huge change, we'll probably see some form of an official API for handing new/custom enchantments.

civic cryptBOT
#

mbaxter replied to the thread Paper & Velocity 1.20.6.

Very proud of the work you all did!

civic cryptBOT
#

Camm replied to the thread Paper & Velocity 1.20.6.

Cheers everyone involved for the amazing work as always!

civic cryptBOT
#

TMCThomas started a thread called Plugin stopped working on paper 1.20.6 yet still works on spigot 1.20.6.

Hello everyone!

I'm still using a rather old plugin that hasn't had a proper update since 2021. The plugin(s) in question are factions3 and massivecore which can be found here: https://www.spigotmc.org/resources/factions3-for-1-13.63602/

The plugin still worked fine so far including version 1.20.4, unfortunatly it has stopped working on paper 1.20.5/1.20.6 throwing an error on startup. Now the odd thing is that it does still work fine on spigot 1.20.6, no errors on startup, it initilizes...

#

TMCThomas replied to the thread Plugin stopped working on paper 1.20.6 yet still works on spigot 1.20.6.

https://forums.papermc.io/threads/important-dev-psa-future-removal-of-cb-package-relocation.1106/

The plugin will need updating to deal with server internals changing as we move forward away from spigot

Ah ok thanks for the answer! There doesn't happen to be a simple fix that I could peform myself is there? I don't think the plugin will get an update anytime soon unfortunately.

civic cryptBOT
#

TheKeyLimee started a thread called Can't put texts on signs.

Im running paper on 1.20.6 with the following plugins:

AxGraves-1.11.1.jar
BountySeekers-Spigot-1.20.x-1.3.3.jar
Chunky-1.4.10.jar
CoreProtect-22.4.jar
DiscordSRV-Build-1.27.0.jar
Dynmap-3.7-beta-5-spigot.jar
floodgate-spigot (1).jar
Geyser-Spigot (1).jar
LuckPerms-Bukkit-5.4.128.jar
NameColorGUI.jar
NoCensorhipPlugin-1.0.jar
OpenInv.jar
Scythe-5.0.jar
SetHome-2.0.jar
SetSpawn-3.1.jar
SimplePlayerKeepInventory-0.0.2.jar
SimpleSit.jar 19.33kB
tabtps-spigot-1.3.22.jar...

civic cryptBOT
#

Hinterhältiger replied to the thread Can't put texts on signs.

Can you provide a link to NoCensorshipPlugin? I can't find it online but it may be the culprit. Or just try it without this plugin specifically and if it works then, open an issue on the project's github.

Hope this helps

civic cryptBOT
#

DerDim started a thread called Why is my piston bugged?.

Hello, I don't know what's wrong with my pistons but I can't move an observer with a sticky piston when I'm where I recorded the video. No matter where I build it, this setup works except here.
Please can someone help

civic cryptBOT
#

Mr_Alberto_ replied to the thread Beds not exploding in nether, 1.20.6.

i have the same problem, how do i upgrade my paper server exactly? im using pebblehost

civic cryptBOT
#

AgentRick started a thread called can't connect to server.

i updatet my server from 1.20.2 to 1.20.6 and now i get this error when i wanna join

[20:23:12 WARN]: [io.netty.channel.ChannelInitializer] Failed to initialize a channel. Closing: [id: 0x5ef6ae6a, L:/127.0.0.1:25565 - R:/127.0.0.1:57793]
java.util.NoSuchElementException: encoder
at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1073) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
at...

#

mbaxter replied to the thread Beds not exploding in nether, 1.20.6.

i have the same problem, how do i upgrade my paper server exactly? im using pebblehost

Your host likely has documentation on this. Ask them for help if you need it.

#

mbaxter replied to the thread can't connect to server.

Since it's in the log, I'd start with checking if that's a 1.20.6-supporting build of ViaVersion, and then I would report this error to them if it is the right version.

civic cryptBOT
civic cryptBOT
#

Synergy started a thread called Paper jar server for 1.20.6 not working.

When ever I add the new server jar in my folder and rename it to the right name and then press run, it keeps telling me "this version of Java Runtime only recognizes class file versions up to 61.0 and not 65.0? do you know how to fix it?

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

stefvanschie replied to the thread Why is my piston bugged?.

I can't seem to reproduce this on a clean Paper server. If you have any plugins installed, try removing them to see if that fixes the issue.

civic cryptBOT
#

TechyDodo started a thread called Auto-configure Paper server render distance.

Hi all, I just wanted to suggest a possible feature for a future update. I noticed in paper-config that the server can automatically configure chunk send distance, and I think it would be even more efficient if it could also configure render distance for the server automatically. Maybe the user could specify a range, and server render distance would be somehow based off of chunk send distance. This would also negate the need for extra plugins to do the job of unloading extra chunks.

#

electronicboy replied to the thread Auto-configure Paper server render distance.

I don't exactly understand what you're asking, paper send chunks at a range of whatever is lower, the servers VD or the clients VD

#

TechyDodo replied to the thread Auto-configure Paper server render distance.

It seems to me that the server will try to render chunks around each player according to render-distance in server.properties, then it will automatically choose how many of those chunks to send to clients based on their render distance. I'm asking if instead of choosing send distance automatically, it could choose render distance for the whole server automatically, based on client render distance.

#

electronicboy replied to the thread Auto-configure Paper server render distance.

oh, you mean that the server's view distance would cap to the clients view distance or whatever was lower; there are some mechanical concerns over that sort of thing such as the simulation distance, mob spawning, etc.

I'm not sure if this would be a thing, would need to be filed on the github, but, from the looks of it this could be fairly trivially done with a plugin and the API, you just need to b

#

TechyDodo replied to the thread Auto-configure Paper server render distance.

Using the same mechanism as the one used to configure chunk send distance, the server could automatically configure it's render distance based on client render distance. The user could still configure a range for the server so it doesn't get too low or too high, but this would prevent the server from loading more chunks than necessary while still showing more powerful clients to see father. Without this mechanism I either have to set my render distance in server.properties lower, which would...

#

electronicboy replied to the thread Auto-configure Paper server render distance.

paper already supports per player load distances, it would be fairly trivial to just set a load distance based on the clamping that you want

civic cryptBOT
#

TechyDodo replied to the thread Auto-configure Paper server render distance.

Okay, so then how does Paper handle the render-distance option in server.properties? I thought it would simply render that distance around all players and then decide how many of those chunks to send to the clients.

civic cryptBOT
#

Huey started a thread called Connection Error When Hosting on WSL.

I know that it's very strange to host something on WSL, but I want to use Windows' GUI (e.g. for gaming), while hosting a server without using the <s>​ disgusting ​</s> windows commands.

What I'm Doing

First, I had a server computer with windows 11 pro, and installed WSL:

OS: Debian GNU/Linux bookworm 12.5 x86_64,
Kernel: Linux 5.15.146.1-microsoft-standard-WSL2

Then I opened a tmux session and ran Velocity on port 25565

civic cryptBOT
#

bingy started a thread called Chunkloader Plugin.

Is there a plugin that can load chunks and also allow mob spawns without a player in the area?

civic cryptBOT
#

melodev started a thread called Kotlin & Coroutines with Event Propagation.

Firstly,

Hello everyone. I'm creating some plugin to Paper that will care about player metrics.

For that I have a list of metrics, that will have a lot of handlers for each metric. Like: playerDamageToPlayers, playerMinedBlockOres, etc.

This implies that I can many metrics for each spread event, so when player break a block, I can have one or more metrics, like this one above.

The event handler will get the metrics list and do something like that:

The problem:

I'm running this...

civic cryptBOT
#

melodev replied to the thread Kotlin & Coroutines with Event Propagation.

Ok, I found one way to use a coroutine without losing the context.

A friend of mine and me, think that this is related to TLS.

civic cryptBOT
#

lands started a thread called Wandering trader caused server crash?.

Hi! I run a minecraft server for a group of friends (about 10 people) and today i had my server crash because of a wandering trader. I don't know how to analyze coredumps, can someone help me out?

civic cryptBOT
#

stefvanschie replied to the thread Wandering trader caused server crash?.

Core dumps generally indicate that your hardware has issues. I'd recommend running a memory test to see if your RAM is still working correctly.

civic cryptBOT
#

lands replied to the thread Wandering trader caused server crash?.

Core dumps generally indicate that your hardware has issues. I'd recommend running a memory test to see if your RAM is still working correctly.

i don't have physical access to the hardware as i don't own it. i brought this up with the guy that owns the hardware and he said the RAM kit in there is brand new

civic cryptBOT
#

lands replied to the thread Wandering trader caused server crash?.

the server crashed again this morning, also caused by a wandering trader in a completely different part of the map. both crashes say something about pathfinding but i can't analyze further than this.

#

Machine Maker replied to the thread Wandering trader caused server crash?.

I really hope you aren't using 1.20 build 17.... Please update to 1.20.4 or 1.20.6 and use Java 21

civic cryptBOT
#

lands replied to the thread Wandering trader caused server crash?.

i made an issue on github https://github.com/PaperMC/Paper/issues/10853 and unless someone here is willing to help, i will not be using this server software any longer. the general consensus on our discord is that everyone wanted 1.20 release, not 1.20.6 due to changes mojang has made. folks from spigot have also said that paper is unstable on 1.20 and clearly those on git aren't willing to provide support and i will not be taking no as an answer here.

#

lands replied to the thread Wandering trader caused server crash?.

I really hope you aren't using 1.20 build 17 and your jar is just named that.... Please update to 1.20.4 or 1.20.6 and use Java 21

read my previous message, we will not be updating. i either want support, or i will be moving to spigot.

#

Machine Maker replied to the thread Wandering trader caused server crash?.

We do not support old versions. Numerous bugs and exploits are present in 1.20 that we have no intention of fixing. As I said, the currently supported versions on any official Paper system (discord, GitHub, forums) are 1.20.4 and 1.20.6. Feel free to go elsewhere to seek support for your issue.

#

lands replied to the thread Wandering trader caused server crash?.

We do not support old versions. Numerous bugs and exploits are present in 1.20 that we have no intention of fixing. As I said, the currently supported versions on any official Paper system (discord, GitHub, forums) are 1.20.4 and 1.20.6. Feel free to go elsewhere to seek support for your issue.

very well, thank you for killing our minecraft server, i guess i'll have to break the news to 100 or so people. i will be taking my business elsewhere and will not be using this project in the...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

mbaxter replied to the thread Plugin Velocity.toml edit.

This request was responded to on Discord (which tends to have faster responses). They did not need to edit the velocity.toml file at all, and instead were directed to use ProxyServer#registerServer and PlayerChooseInitialServerEvent

civic cryptBOT
#

electronicboy replied to the thread Announcing the end of life of Waterfall.

I've posted warnings about this already on Discord, etc, however, I'm having a corneal transplant on the 6th (tomorrow, as I forgot to finish this post, in lieu of the blog I wanted to start to address this situation) and will likely not be around when 1.21 is released, which generally means that as the sole person who has been dealing with waterfall for the past few years on our side, I am not going to be around to setup the build system to pump out a build, or to be able to merge PRs, etc...

civic cryptBOT
civic cryptBOT
#

mbaxter replied to the thread Server crashing.

1.19 is outdated, exploitable, and unsupported. Use 1.20.4 or 1.20.6 for support. :)

civic cryptBOT
#

TJhost started a thread called Can i get help on this?.

I have not touched the Saver in a month but I tried starting it back up today and I've been getting this error message

Starting org.bukkit.craftbukkit.Main

  • Warning, you've not updated in a while! *
  • Please download a new build as per instructions from https://papermc.io/downloads/paper *
    System Info: Java 21 (OpenJDK 64-Bit Server VM 21.0.2+13-Ubuntu-122.04.1) Host: Linux 6.1.0-21-amd64 (amd64)
    Loading libraries, please wait...
    2024-06-06 00:45:24,517 ServerMain WARN Advanced terminal...
#

mbaxter replied to the thread Can i get help on this?.

Looks like you have some filesystem issues.

However, you're also running an incredibly ancient version of the server. Upgrade to 1.20.4 or 1.20.6 for further help.

#

TJhost replied to the thread Can i get help on this?.

Looks like you have some filesystem issues.

However, you're also running an incredibly ancient version of the server. Upgrade to 1.20.4 or 1.20.6 for further help.

Is on 1.20.6 now and

Downloading mojang_1.20.6.jar
Applying patches
Starting org.bukkit.craftbukkit.Main
System Info: Java 21 (OpenJDK 64-Bit Server VM 21.0.2+13-Ubuntu-122.04.1) Host: Linux 6.1.0-21-amd64 (amd64)
Loading libraries, please wait...
WARN StatusConsoleListener Advanced terminal features are not available in this...

civic cryptBOT
#

Whatsgoingon replied to the thread Server crashing.

Sweet, yep doesn't crash on 1.20.6

civic cryptBOT
civic cryptBOT
#

xiaomin started a thread called Folia plugin development issues.

Code:
List<Entity> allEntities = new ArrayList<>();
for (World world : Bukkit.getServer().getWorlds()) {
allEntities.addAll(world.getEntities());
}

How to solve it?

civic cryptBOT
#

Simonsator replied to the thread Party and Friends For Velocity | Version 1.0.94.

Update 1.0.94 changelog:

Enabled PAFAdmin by default
Added an automatic correction for some config values which were entered wrong by the user
Updated the downloaded MariaDB client. If you want to update your MariaDB client, you need to delete MariaDB-JDBC-Connector.jar from the plugins' config folder
Added /pafadmin info

Require a new version of the MySQL library
Fixed newer versions of Velocity having problems if sending empty lines was disabled

civic cryptBOT
#

timxop started a thread called Client Crashing when entering Server.

when entering my server hosted on paperspigot 1.20.1 keeps on Joining World screen-Saving World screen it suddenly Crashes

#

mbaxter replied to the thread Client Crashing when entering Server.

Paper 1.20.1 is very outdated and is not supported. Upgrade to 1.20.4 or 1.20.6 and share fresh logs with us from that properly updated and secure server.

civic cryptBOT
#

AlexDerProGamer started a thread called InventoryClickEvent firing 3 times when double clicking - How to filter SHIFT_LEFT.

@EventHandler
public void onClick(InventoryClickEvent e){
Bukkit.broadcastMessage(String.valueOf(e.getSlot()));
Bukkit.broadcastMessage(e.getClick().toString());
Bukkit.broadcastMessage(e.getAction().toString());
Bukkit.broadcastMessage(e.getCurrentItem().toString());
Bukkit.broadcastMessage(e.getCursor().toString());

    if(e.getClickedInventory().getType() == InventoryType.CHEST && e.getCurrentItem().getType() == Material.CHEST){...
civic cryptBOT
#

joshy started a thread called Material enum doesnt work.

Hey there,

after a long time, i started developing plugins again today. Embarrassingly i already got defeated by the second class im trying to write:

If i try to import org.bukkit.Material; it doesnt work, bc it doesnt find the Class / Enum...

other classes of bukkit, like org.bukkit.inventory.ItemStack; work perfectly fine.

I tried finding other issues like this on Stackoverflow, this website and google generally, but didnt find anything.

My information:
IDE: IntelliJ IDEA
Java: 17...

civic cryptBOT
#

Machine Maker replied to the thread Material enum doesnt work.

You probably have to update IntelliJ and also use Java 21

civic cryptBOT
#

DiabolicalKush started a thread called Ip forwarding message persists.

I need help! the IP Forwarding message keeps showing up despite everything i have tried. Yes I can connect in-game via. my BungeeCord proxy and I can load to backend servers whilest in-game. I am trying to change the message (when players try connect from incorrect port). I have tried using plugins like onlyproxyjoin, ipwhitelist etc etc. Still persists to keep showing the "if you wish to use bungee please setup ip forwarding".

In my BungeeCord config:
online_mode is set to true
ip_forward...

civic cryptBOT
#

joshy replied to the thread Material enum doesnt work.

You probably have to update IntelliJ and also use Java 21

Worked perfectly, thank you!

I originally used Java 17, because Gradle complained, that it is not compatible and i didnt get it to work.
Any idea, why thats the case? (I used the latest gradle version...)

In the paper docs Java version 21 and gradle are recommended...

Do you think this was because of the outdated intellij version?

civic cryptBOT
#

Machine Maker replied to the thread Material enum doesnt work.

Well the 1.20.6 API requires java 21, but I think your issue was caused by the outdated intellij version specifically

civic cryptBOT
#

SomewhatUnknown started a thread called TNT going upwards.

I'm building a nuke in my survival paper world (see #1 in )

The issue is that the TNT keeps flying upwards into the sky when it's not supposed to. I tried it in my normal creative world and it worked as shown in the video.

The TNT will have its normal trajectory and then suddenly fly up into the sky. Any fix for this?

civic cryptBOT
#

stariy started a thread called Is it worth adding dupe tnt to a vanilla public server?.

Всем привет, меня интересует тема дупа ТНТ. У меня есть ванильный сервер без приватов, и игроки просят меня включить разрешение-поршневого дублирования ( dupe tnt ), но у меня есть опасения, что игроки смогут разрушить все здания сервера или довести сервер до низкого TPS.

Что вы можете порекомендовать?

Я знаю о плагине coreprotect, но справится ли он с tnt?

Вы используете дурацкий ТНТ?

civic cryptBOT
#

noping420 started a thread called Every player gets infinite mining fatigue.

I made a paper server and after setting some plugins up i realized i had 30k hours of mining fatigue and so i asked my friend if he did and he had years worth I can't figure out what's doing it. I've also tried relogging death and milk.

civic cryptBOT
#

Machine Maker replied to the thread Every player gets infinite mining fatigue.

I mean it's going to be one of your plugins and/or datapacks. I would recommend doing a binary search of plugins to try and find the culprit. It's unlikely that someone is going to know all the functionality of all the plugins you've got listed.

civic cryptBOT
#

stefvanschie replied to the thread Is it worth adding dupe tnt to a vanilla public server?.

TNT duplication only affects the ease of spawning TNT, not any of its behaviour. So players will be able to destroy the same buildings as they can do now and the performance implications would be similar to igniting a pile of TNT. It is just easier for players to do this with TNT duplication enabled. I'd always recommend using a plugin to protect buildings that you don't want destroyed, regardless of whether you have TNT duplication enabled.

As for if you should enable it, this is mostly up...

civic cryptBOT
#

jmejmes started a thread called I am excited to join the PaperMC community!.

Hi Everyone, :)

I am new:p to Papermc Community and excited:D to join this community. I thing this forum is the perfect place to learn and connect with many intelligent members. I am particulary searching for guidance on how to ask any questions and where I can ask different types of questions.

Is there anyone:unsure: who can guide me on this. Also If there any specific guidelines that I should keep in my mind while posting some content here.

Looking forward:rolleyes: to exploring the...

civic cryptBOT
#

briangx92 started a thread called Blocks Disappear When Joining Server.

Hey everyone,
I need some help with my Server! I'm seeing missing blocks in some of my builds when I log in. It's quite frustrating, especially since I'm playing vanilla with a small group of friends (max 4 players). I've already removed all plugins to see if that was the culprit, but no luck. Has anyone else encountered missing blocks with vanilla Minecraft? Are there any known fixes or workarounds to avoid starting a new world?

civic cryptBOT
#

Black_Eyes started a thread called Weird java bug only with 1.20.6.

So, I have a particle API in my plugin that uses some reflections. Don't worry, that's not the main topic, even I don't understand reflection totally.
I have an 1.20.4 test server using jdk 22, and an 1.20.6 test server using the same JDK.

My plugin works from 1.8 to 1.20.4.
On 1.20.6, I have this issue:
[21:26:49 ERROR]: Error occurred while enabling LootChest v2.4.0 (Is it up to date?)
java.lang.ExceptionInInitializerError: null
at...

civic cryptBOT
#

mbaxter replied to the thread Blocks Disappear When Joining Server.

Are you experiencing this on Java or on Bedrock? I see even this log shows geyser

civic cryptBOT
#

briangx92 replied to the thread Blocks Disappear When Joining Server.

my server is ran on Java and I connect to it locally on my network via my ps4. I have geyser set up so my other family can connect to it via bedrock outside the network

civic cryptBOT
#

mbaxter replied to the thread Blocks Disappear When Joining Server.

my server is ran on Java and I connect to it locally on my network via my ps4. I have geyser set up so my other family can connect to it via bedrock outside the network

Remove geyser temporarily and test using the vanilla java client. I suspect it works fine. If so, bring this to the attention of the geyser team. We don't support geyser here.

#

Reizi started a thread called Error with the ProtocolLib plugin on PaperMC-1.20.6.

When starting a local server on PaperMS, this error occurs and I can’t figure out how to solve it.
[22:31:24 INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.2.0-SNAPSHOT-679
[22:31:24 WARN]: [ProtocolLib] Version (MC: 1.20.6) has not yet been tested! Proceed with caution.
[22:31:26 ERROR]: [ProtocolLib] Assuming package version: v1_20_R1
[22:31:26 ERROR]: [ProtocolLib] INTERNAL ERROR: Cannot load ProtocolLib.
If this problem hasn't already been reported, please open a ticket...

#

briangx92 replied to the thread Blocks Disappear When Joining Server.

Remove geyser temporarily and test using the vanilla java client. I suspect it works fine. If so, bring this to the attention of the geyser team. We don't support geyser here.

edit: Just realized you're the same person I spoke with two days ago in the Discord support channel. If you are going to repost a question please don't remove very important details from the post such as the use of geyser and a ps4 to see this issue.

small world lol. I figured I'd ask here since there is a lot of...

civic cryptBOT
#

mbaxter replied to the thread Blocks Disappear When Joining Server.

small world lol. I figured I'd ask here since there is a lot of back and forth with different members and I can get a clear and concise answer. I did message the team in geyser and never got anything back. My last resort is to make a script that backs up the world after a player leaves and if time progresses and blocks are gone, I'll revert to that backed up world. I'll try removing geyser and see what happens though. lastly, assuming it's not geyser, what's the next approach?

EDIT: sorry...

civic cryptBOT
#

briangx92 replied to the thread Blocks Disappear When Joining Server.

I have a new ssd and a rasberry pi that I recently bought. the ram usage on it is enough to hold it without any lag

#

mbaxter replied to the thread Blocks Disappear When Joining Server.

Sort out testing with literally zero plugins first, with java vanilla client. Then we can worry about hardware stability.

civic cryptBOT
#

mbaxter replied to the thread TNT going upwards.

Are you testing this with zero plugins? What is the exact output of the /version command?

civic cryptBOT
#

mcnishe started a thread called server giving a bunch of red text then closing.

I recently transfered a world over from minehut and tried to load it on my dedicated server running paper, ive done everything line for line as it was in minehut and would really like this server to run because it has a lot of progresstion on it.

This is the long lines of error messages:

[15:06:03 ERROR]: Encountered an unexpected exception
org.spongepowered.configurate.serialize.SerializationException: [anticheat, anti-xray, hidden-blocks, 21] of type...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

ecauff started a thread called 1.21 Server Update.

Hello, I recently started a server through Shockbyte and am using paper. As of right now the most reecnt version is in 1.20, but with 1.21 now released, I was wondering when a 1.21 server will be available through paper. Thanks!

civic cryptBOT
civic cryptBOT
#

Skillz replied to the thread 1.21 Server Update.

Came here to ask the same thing. My client updated and I can't seem to get my server updated so I'm not able to connect at the moment. :(

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Haraky replied to the thread When 1.21 Paper will realse?.

Why can't i get a normal replay?

some time before the heat death of the universe

civic cryptBOT
#

Haraky replied to the thread When 1.21 Paper will realse?.

because there is no ETA

How long does it ussualy take?

#

mbaxter replied to the thread When 1.21 Paper will realse?.

How long does it ussualy take?

I estimate there will be an update between now and August. Be patient, and wait for updates. We track some smaller status reports on our Discord server, if you want to watch, and even have streaming of the update process sometimes.

civic cryptBOT
#

itzMiney started a thread called Can't start multiple Paper servers with default paper flags.

I tried to use the paper flags from the startup script generator to start multiple screens on my Debian 12 server but it doesn't work, only when I remove all flags from the startup command can I run more than one server at once but it uses up all of my cpu and ram capacity that way for 2 servers + velocity proxy running

civic cryptBOT
#

Haraky replied to the thread When 1.21 Paper will realse?.

I estimate there will be an update between now and August. Be patient, and wait for updates. We track some smaller status reports on our Discord server, if you want to watch, and even have streaming of the update process sometimes.

Oh betwen August haha okay.

civic cryptBOT
civic cryptBOT
#

Natalwho replied to the thread 1.21 Server Update.

paper probably wont update for a few weeks from what I hear, to get around the issue you can install the viaversion plugin on the server

civic cryptBOT
#

sinisterdeadman replied to the thread 1.21 Server Update.

paper probably wont update for a few weeks from what I hear, to get around the issue you can install the viaversion plugin on the server

this doesn't help servers with Geyser crossover capability. I have a server that is mostly bedrock players who can't connect since paper hasn't released a new update yet. Spigot released their 1.21 same day as Mojang released 1.21. Since they are similar, why the major difference in release?

civic cryptBOT
#

mbaxter replied to the thread 1.21 Server Update.

Came here to ask the same thing. My client updated and I can't seem to get my server updated so I'm not able to connect at the moment. :(

You can use the launcher to downgrade your client.

#

mbaxter replied to the thread Can't start multiple Paper servers with default paper flags.

I tried to use the paper flags from the startup script generator to start multiple screens on my Debian 12 server but it doesn't work, only when I remove all flags from the startup command can I run more than one server at once but it uses up all of my cpu and ram capacity that way for 2 servers + velocity proxy running

The timings you have shared show a limit of 2GB. How much RAM do you have to share among your multiple servers?

civic cryptBOT
#

itzMiney replied to the thread Can't start multiple Paper servers with default paper flags.

The timings you have shared show a limit of 2GB. How much RAM do you have to share among your multiple servers?

I have a max of 8 GB and 512M on the proxy so it should work for 2 servers + proxy at least right

civic cryptBOT
#

Mr_Kittle started a thread called TPS loss, server crashes since approximately version 1.13+.

Hi,
I try to post on this forum since I encounter many issues for several years with my Minecraft server.
I used to run Spigot until version 1.13 has been released. With Spigot the servers were suddenly unable to load chunks and they quickly crashed...
I decided to move my servers to PaperMC.

PaperMC has resolved the issue significantly ! But only for a certain time...
Progressively red messages appeared in the console ("thread dump..."), TPS loss spikes every 5 10 or 20 minutes... And...

civic cryptBOT
#

SirPoppyThFatCat replied to the thread TPS loss, server crashes since approximately version 1.13+.

It's your PC. Your CPU is from 2009, your ram is gonna be slow DDR3 and your HDD is absolutely holding you back. The reason your monitoring is recording low usages is because your PC is constantly waiting for your HDD to supply it with data. I'm assuming that the HDD is as old as the PC or server, so it's probably on its last legs, and generally needs an upgrade.
1.13+ absolutely tanks performance, and with a pc as old as this, minecraft server performance suffers. If you need a quick fix...

civic cryptBOT
#

mbaxter replied to the thread Can't start multiple Paper servers with default paper flags.

With a total of 8GB, you should be running maybe one server. What are your startup flags you're using for each that "doesn't work", and what does "doesn't work" look like? What error do you get when trying to start them all using our startup?

civic cryptBOT
#

stefvanschie replied to the thread Error with the ProtocolLib plugin on PaperMC-1.20.6.

I'd recommend updating ProtocolLib. Their build page states that version 5.2.0 only works up to Minecraft 1.20.4. Version 5.3.0 works for 1.20.5 and later, which is what you are using.

civic cryptBOT
#

blueeyestar started a thread called .paper-remapped Problem!!.

Hello, we have been using the AdvancedAchievements plugin for many years. Unfortunately, since version 1.20.6 the plugin is no longer usable due to the .paper-remapped method!

https://pastebin.com/67MJP4yT

In spigot 1.20.6 and 1.21 the plugin continues to work without any problems or error messages!

So my question is, can you deactivate .paper-remapped?

It would be a real shame if plugins now became dependent on paper even though it still works with Spigot

civic cryptBOT
#

ysl3000 replied to the thread .paper-remapped Problem!!.

The plugin author expects that the package still includes the arbitrary version. He should depend on API that is present for that.

civic cryptBOT
#

FREULIGG_ started a thread called how do I use the transfer method of the Player class?.

I have such a problem: in the documentation for PaperMC, the class (or interface, I don't quite understand) has a transfer method that accepts the ip and port of the server, and should transfer the player to another server. But he can't stand it. Who knows, please tell me how to fix it? Maybe there is another option to transfer the player to another server?

org.bukkit.entity.Player.transfer

civic cryptBOT
#

ravarg started a thread called The Lag On The Weaker Connection.

Hi! My name is Ravarg.
Im new on the papermc community but was a big fan since the beginning! so my problem is, i play with paper mc for more than 1-3 year now, and i use aternos server with Tlauncher and its never been this lag before. so the problem is with my friend that has a slower connection making them keep rejoin and disconnected, but i also feel the problem because i oftenly lagging and only get 3 Bar on the game. we try experimenting with vanilla and its fine without lag at...

civic cryptBOT
#

metori started a thread called velocity error, proxy server crash.

ERROR:disabled: You were kicked from the server: On the internal error side error:

I created a server, and then after reloading the plugin, I got an error that appeared sometimes on velocity plugins - limboauth, limboapi, Ultimate antibot-velocity, help!!!

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Machine Maker replied to the thread Paper Ver 1.20.6 Build#147 Error..

We need more information than "not working". Are you trying without plugins? Is there an error in the log? Can you post the log? What happens when you do run it?

civic cryptBOT
#

nochit started a thread called 1.20.4 server console typing spazzing out, any help?.

basically if I use a normal server jar, the console is ok, but when I run a paper 1.20.4 (tried on 1.20.6 too) jar, with or without Aikar's flags, it doesn't let me type certain letters, doesn't let me use Uppercase/lowercase, doesn't let me do almost anything, tested it with 6GB RAM allocated so its not a ram issue
I have to use multiple letters just for one to appear, it's a really odd problem that I have looked for but never found anyone else with the same problem

#

nochit replied to the thread 1.20.4 server console typing spazzing out, any help?.

basically, use java 21 or use windows terminal (might need to use PS7), some java change is creating issues on windows

Oh my God all it needed was to downgrade from JDK 22 to 21 as you said and now it's actually okay
tysm!

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

ConnerCrafts started a thread called 1.20.4/.6 sand duping.

Hello, recently i built a gravity block duper on a server I play on, I have been regularly in contact with an admin of this server and he is ok with what I am doing. But the sand isnt duping. I know it's not a problem with the machine, because I copy and pasted it into a creative world and it worked fine in that.
Stuff that I have:
allow-piston-duplication: true
allow-perm-block-break-exploits: true
allow-tripwire-disarming-exploits: true

I don't know where to go from here
pls help

civic cryptBOT
#

shrp replied to the thread Paper loading stuck when i try to open it.

Your server is infected with malware. I had the same issue recently. Some plugin is dropping a jar(most likely bStats.jar) file in the plugins directory, and when you start your server, it loads the malicious ProtocolSupportX plugin. Check all of the plugins you have installed and try to remove those which were downloaded from questionable sources. Be more careful with installing plugins and stay safe :)

civic cryptBOT
#

CaptainCalcetines started a thread called Detecting vibrations/sculk sensors.

Hi there!

I'm super new to Minecraft development so be patient, please.

I have an idea for a plugin but I need to be able to detect when a player triggers a sculk sensor. Specifically, I need to know which player triggers it, not just that it's been triggered. I see there's a class, org.bukkit.Vibration, but I'm not sure how to use it, nor if it's even what I'm looking for.

It makes sense to me that the capability exists somewhere, since the game itself counts how many times a player has...

civic cryptBOT
#

PaperTigger started a thread called Static URL.

Hi

I was wondering if there could be a way to have a static address for the download of the latest version of PaperMC as it would making updating of a remote server easier

Thanks

#

RADAR_PRE_LEAK_64 replied to the thread Static URL.

Probably won't happen as to not encourage the use of auto-updaters, as said in https://docs.papermc.io/misc/downloads-api
But you could probably slap together a one-liner with the code found in there, that just wont be something you can remember

civic cryptBOT
#

AggerTV started a thread called Peer review of my code.

Hello, I was wondering if someone could peer review one of the methods of my gang plugin

public CompletableFuture<DataResult<Gang>> getGang(String playerUUID) {
CompletableFuture<DataResult<Integer>> gangIdFuture = CompletableFuture.supplyAsync(() -> memberDAO.getGangID(playerUUID))
.exceptionally(e -> {
LoggerUtil.log(Level.SEVERE, "error getting the gang id");
return DataResult.failure();
})...

civic cryptBOT
#

Kanye-_East started a thread called Breaking bedrock in 1.21.

In previous versions of paper servers, I've been able to change the property to allow breaking bedrock but It doesn't seem that I can change it in 1.21, any help would be great.

civic cryptBOT
#

KrystalBlake started a thread called Which sports game has been highly rated over the years?.

Several sports games have been highly rated over the years across different gaming platforms and genres. Some of the most notable and consistently highly rated sports games include:

FIFA Series (by EA Sports)

The FIFA series has been a dominant force in football (soccer) video games. Titles like "FIFA 17," "FIFA 18," and "FIFA 21" have received critical acclaim for their realism, gameplay mechanics, and extensive licensing of real teams and players.

NBA 2K Series (by 2K Sports)

The NBA...

#

zanzhou started a thread called Complain.

Hello, i wont ask for an unban but rather just a complain to a staff member. My name is Zanzhou and today 06/25/2024 i approx 12pm GMT+8 I asked for a support regarding velocity since im having trouble connecting my servers to the proxy. A staff member was diligently helping me until suddenly i mentioned a "offline mode" thing which was limboauth which i didnt know is an offline cuz its just a plugin and i just mentioned it but i was warned for "offline support" which in reality i didnt ask...

civic cryptBOT
#

NinrTail started a thread called Server Crashing Unknown Reason.

The server crashed for no reason, without any action being taken, and I was asked to report it to you. No, this is not just once, this problem has been happening for this week.

civic cryptBOT
#

mbaxter replied to the thread Server Crashing Unknown Reason.

We no longer support 1.8.8 as it is incredibly outdated. Please upgrade to 1.20.6 or higher.

civic cryptBOT
#

Blutkrone started a thread called Sourcecode for a monolithic RPG plugin.

Hello, I am Blutkrone.

I developed RPGCore and ended up cancelling the project. But I feel it would be such a waste to let it die. So I hope to share some of my knowledge (in the form of source code) and hopefully encourage the development of decent free and open source plugins.

I have spent an ungodly number of hours on RPGCore, many thousands of hours over several years. Development, research, iterations - much of the work on rpgcore was done at a time when we didn't have proper tools to...

civic cryptBOT
#

ardacarofficial started a thread called Clearing the Arena without Lag (//set 0).

I have a PVP server and there is an area where people can break blocks and put blocks.

When there are too many transactions in this area, I wrote a Script code to turn this area back to the old one.

Field size: ( 100 x 100 )

The script code is as follows:

command /cleararena:
trigger:
# Hava
make player execute command "//pos1 67,6,-479"
wait 1 tick
make player execute command "//pos2 -80,101,-332"
wait 1 tick
make player execute...

#

ardacarofficial started a thread called /timings analyse the server with.

I want to analyse the server with timings but I don't have much knowledge.

Are there friends who understand this subject who can help me in a paid way?

I don't know if this is a suitable place to open the subject, but it was not written in the rules that such a thing was forbidden.

Server Timing for those who are curious:

https://timings.aikar.co/dev/?id=694c4c56e7b34bf196c3a627e5a1537a#plugins

civic cryptBOT
#

Fernal2010D started a thread called How can you update the server to new versions?.

I want to update my server to the new versions, in my case from 1.19 to 1.20 but I don't know how I can do it without losing everything.
Do you know how to do it?

civic cryptBOT
#

Nacio replied to the thread How can you update the server to new versions?.

Stop your server first, take a backup by copying the entire folder (or just the world and plugins if that's all you really care about), replace the .jar you're currently using with the one you want and start your server.
Feel free to ask on our Discord for quick support.

civic cryptBOT
#

DarthCookie started a thread called Console commands only working in-game!.

Hi there, I am a bit lost why I have this issue (and googling it; maybe you guys can help me.

Background:
I run a Crafty-4 docker container on my Unraid Server. The server was first set up a Fabric, but then migrated to Paper due to the better performance.
I run the most recent experimental build paper-1.21-38 and do . The issue I'm experiencing persisted since my migration to Paper and was not present in Fabric.

The issue:
I can't run commands in my Crafty WebUI console. I am able to do...

civic cryptBOT
#

iChr1sz replied to the thread Console commands only working in-game!.

Hello!
I'm not sure if this is the right spot for your question, because as long as the command works in the paper console directly (which it does), the issue could be with the Crafty WebUI.
But guessing from your description of the problem, have you tried to input the command without the "/" (e.g. "difficulty hard" instead of "/difficulty hard")?
the "/" is for the client to differentate between chatmessages and server commands
Hope this helps.

civic cryptBOT
#

_1ms started a thread called PlayTime Velocity.

Playtime Tracker is a velocity plugin, allowing you to easily log and view player playtime across all of your servers without needing to spend time setting up databases and whatever else. With Playtime Tracker, you can:

Log Player Playtime: Automatically track and record the playtime of every player on your server.
View Playtime: Easily check your own or other players' playtime with simple commands.
Playtime Toplist: Display a leaderboard of players with the most playtime. The length of the...

#

_1ms started a thread called PlaytimeLink.

PlaceholderAPI extension for my velocity playtime plugin.

Simply add PlaytimeLink to your bukkit servers, download the new update for my velocity plugin, and the placeholders will start working immediately —no configuration required.

Available Placeholders:

Individual Playtime:

%VPTlink_playtime_hours% - Total playtime in hours
%VPTlink_playtime_minutes% - Total playtime in minutes
%VPTlink_playtime_seconds% - Total playtime in seconds

Top Player Playtime:

%VPTlink_playtime_topname1% -...

civic cryptBOT
#

mbaxter replied to the thread /timings analyse the server with.

Your timings are outdated. Visit our discord for faster support. Free.

#

Me4502 replied to the thread Clearing the Arena without Lag (//set 0).

The best way to solve this is to just do it via the API. That way you can do all of those edits as a single operation, as well as disable history tracking as it's unnecessary in this situation. And then also edit side effects to disable anything you don't need such as neighbour updates and block updates.

Otherwise if you absolutely must do it via commands (which you generally should never do for scripting), you can disable side effects via the //perf command. Disabling everything you don't...

civic cryptBOT
#

StrxmyDev started a thread called Major Lag/TPS-Loss Issues (PaperMC for Version 1.21).

Before I start, I am unsure of the Server Specs as I am a cheapskate and running it via Aternos, however, have never had this issue before.

Recently, I have made a new server on Aternos running PaperMC 1.21, as a small SMP-Style Server for me and about 6 friends, we have the same plugins as we did on our old one (we like to delete the old server and make a new one every year, this is the 3rd year the SMP has been running) but since installing a new server running PaperMC for Version 1.21 me...

#

electronicboy replied to the thread Major Lag/TPS-Loss Issues (PaperMC for Version 1.21).

timings is not going to perform a clear picture of what is going on, the only real thing of note is that you're using 2 cores of a AMD EPYC 7401P which is basically on-par with 10 year old xeons

Outside of that, 1.21 is still an early release which is missing some performance patches. your log shows that at the time it did a 10 second dump, some player had induced a sync chunk load, you can potentially mitigate this with the prevent-moving-into-unloaded-chunks in the paper worlds settings

civic cryptBOT
#

HAVS0MG0AT started a thread called When do you think paper for 1.21 will release?.

im gonna play on a server called mythic smp (which i named actually) anyway, i talked to the owner and lead dev and he says he cant release until paper for 1.21 fully releases,
when can i expect for it to come out? mainly because i want to correctly guess the release of mythic smp but i also want to be the first to tell the lead dev that he can do the finishing touches, no rush though.

#

EterNity replied to the thread When do you think paper for 1.21 will release?.

Paper 1.21 is still experimental due to following reasons:

  1. Several unapplied performance patches
  2. Waiting on anticipated experimental changes from Spigot

The 2nd point is totally out of our control and we have no hear anything yet from the upstream maintainer...so there is no estimated time.

You are welcome to join the Discord and subscribe to the announcement channel to get timely update.

civic cryptBOT
#

propan-2-ol started a thread called Can't connect to server.

Hello everyone, I have a problem with my PaperMC server, after I settuped it worked fine for a week but today no one could join it and it says connection time out: getsockopt. When I checked the logs it said Failed to request yggdrasil what should I do to fix this?
btw restarting the server multiple times, disabling the firewall and restarting the router did not work

civic cryptBOT
#

LucasGeitgey started a thread called Send pictures in chat?.

I have seen these mods before, but they have pictures of squares that make emojis. anyone have a plugin that can show a picture in chat like a ordinary JPEG picture? or to upload pictures to essential mod without using a screenshot?

#

LucasGeitgey replied to the thread Can't connect to server.

Mabye you do not have port forwarding turend on. try with loopback ip: 127.0.0.1 / localhost.

civic cryptBOT
#

ethangarey started a thread called Random tick speed | Bad preformance.

Hi, I'm Ethan and I recently found out that my server's TPS is at 15. The reason for this is the random tick speed. You might be asking "Why not lower it?", well the idea of my server is large plots with farms upon farms. What I need is a paper jar file that edits the randomtickspeed patch file or the ServerLevel.java file. I have a budget of 5-10$ for this project, my discord is "jpwc".

civic cryptBOT
#

BaaHow started a thread called Xenprota Setup.

Sorry, this is not a discussion about paper or anything else, but I'm talking about this xenforo forum, I tried very hard to install EWRporta like this forum is not telling, can you take a screenshot of the configs for me here?

example.com/admin.php?options/groups/EWRporta/ (Portal) PRO ,
and options at
example.com/admin.php?styles/IO.6/style-properties/group&group=EWRporta ,
example.com /admin.php?styles/IO.6/style-properties/group&group=EWRporta_article_view ...

civic cryptBOT
civic cryptBOT
#

Aszab123 replied to the thread Announcing the end of life of Waterfall.

I know I'm kinda late with this, but is there any other alternative than Velocity? There are plugins I use (and paid for) without Velocity support. With Waterfall being gone, FlameCord not being free anymore, there aren't as many bungee forks I could use with security fixes, and support for modern forwarding.

civic cryptBOT
#

MiniDigger replied to the thread Announcing the end of life of Waterfall.

please keep this thread ontopic. advertising paid resources isnt really compatible with our rules.

I know I'm kinda late with this, but is there any other alternative than Velocity? There are plugins I use (and paid for) without Velocity support. With Waterfall being gone, FlameCord not being free anymore, there aren't as many bungee forks I could use with security fixes, and support for modern forwarding.

the paper team is recommending everybody to switch to velocity, we cant guarantee...

#

Yarlopopik started a thread called I can't find the plugin.

I need Plugin for minecraft server,
Version: 1.20.6
Core: Paper

I need plugin for Moderation, but I have search and too gived question for ChatGPT.
Can any one help me please? (And sorry for my English)

civic cryptBOT
#

MrPrigozhin started a thread called Paper 1.8.8 repositories.

I'm making 1.8.8 paper server, I know spigot repositories for 1.8.8 but what are for paper

civic cryptBOT
#

ysl3000 replied to the thread Paper 1.8.8 repositories.

The repo is the same just the group id changed over time.

civic cryptBOT
#

ysl3000 replied to the thread Paper 1.8.8 repositories.

and what is new group id

You mean the old group id.

com.destroystokio.paper

civic cryptBOT
civic cryptBOT
#

ysl3000 replied to the thread Paper 1.8.8 repositories.

it says "Could not find artifact com.destroystokyo.paper:paper-api:jar:1.8.8-R0.1-SNAPSHOT in papermc-repo (https://repo.papermc.io/repository/maven-public/)"

Oh yeah seems like only 1.9.4+ is present their. :D So you need to build 1.8 yourself and install it into maven local.

civic cryptBOT
civic cryptBOT
#

lzx284567 started a thread called bug(server deleted my world file).

i am using a paper server with no plugins. the jar file is paper-1.21-1.jar.

The thing happened is that i stopped my server, turned of the anti-xray in paper-world-defaults.yml, and reopened my server.

And the old world was gone. It changed to a new seed.

I am wondering that how can I get my old world back.

sorry for my poor english.

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Rexley started a thread called Minecraft Server failing to download paper.

I'm hosting a Minecraft server with server.pro, and everything was working fine for days and then I restarted the server like I have many times, and this time it gave me this error. I don't understand any of this stuff, but the server won't turn back on. Any ideas?

civic cryptBOT
#

LeonMT1 started a thread called Server crash on Auto Save.

My Server keeps crashing on every autosave.
It is because Experimental 1.21 builds or is it my fault?

civic cryptBOT
#

LeonMT1 replied to the thread Server crash on Auto Save.

I remove some plugins now the server isnt crashing but has a huge lag every 5 minutes.

civic cryptBOT
#

ysl3000 replied to the thread Server crash on Auto Save.

Update to build 148 or later. You are running a very early version of 1.21 with a lot of bugs that got fixed in later versions.

civic cryptBOT
civic cryptBOT
#

Chohwan_ started a thread called After several minutes of opening the server, an error message appears and the server cannot be connected..

I'm using the playit.gg plug-in to open the server. I haven't had any problems with the server for a month or so, but I've started getting errors in recent days. About 10 minutes after opening the server, the following error message occurs and the playit.gg server goes offline.

civic cryptBOT
#

electronicboy replied to the thread After several minutes of opening the server, an error message appears and the server cannot be connected..

your tunel lost connection, either theres something wrong with your network setup, i.e. janky router/ISP killing connections, or, the other end of the tunnel closed the connection. You'd need to speak to your tunnel provider for support.

civic cryptBOT
civic cryptBOT
#

xuanxue started a thread called please update Folia to 1.21!.

I tried building manually Folia 1.21 , I built a weird version it still use minecraft 1.20.6 but its api is 1.21. I don`t konw what lead to this.

#

xuanxue replied to the thread please update Folia to 1.21!.

by the way the docs about folias Development is emtpy i couldnt find any infomation.

civic cryptBOT
#

electronicboy replied to the thread please update Folia to 1.21!.

Beause this is pre-release software, documentation is still far behind. There is a whole bunch of infos and readmes scattered around for the project right now.

civic cryptBOT
#

stefvanschie replied to the thread My string farm doesn't work.

In the config folder, in the paper-global.yml file. There you have the option unsupported-settings -> allow-tripwire-disarming-exploits.

civic cryptBOT
#

yeying-xingchen replied to the thread Once the server is shut down, it cannot be started again.

We can only help you with Paper. Since you're running Purpur, please ask them for assistance.

Edit:
I noticed your issue on the Paper GitHub as well, in which you're using Paper. If you have both Paper and Purpur downloaded in the same folder, note that you cannot run both simultaneously. A server can only run in its own dedicated folder, you cannot have two servers share the same folder.

Sorry,I uploaded it wrong, please re-check the page, thanks!

civic cryptBOT
#

stefvanschie replied to the thread Once the server is shut down, it cannot be started again.

In general it means that something on your machine is already using these files. Make sure you haven't accidentally started the server multiple times.

civic cryptBOT
#

Crioxide started a thread called Mob farm, interesting water logged trapdoor bug.

Building a mob farm on my 1.21 paper server and getting this weird bug. The clock that powers the redstone for the doors is like a totem pole and on layers that are powered by the redstone block and sticky piston have this issue. Not all trapdoors on these layers have this issue. For example on this layer the three adjacent trapdoors do not create this weird half height standing water that has the texture of source blocks. They don't act as source blocks as I cannot bucket them and when some...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

omegalke started a thread called Error.

[14:17:12 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-790 (MC: 1.16.5) ---
[14:17:12 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[14:17:12 ERROR]: ------------------------------
[14:17:12 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[14:17:12 ERROR]: Chunk wait task info below:
[14:17:12 ERROR]: 41,-51 in 'world:
[14:17:12 ERROR]: Load Task - none
[14:17:12 ERROR]: Save Task - none...

#

electronicboy replied to the thread Error.

you have something causing sync chunk generation on the main thread, you're missing the info which indicates what did that, but, you're using such an old version of paper you are generally on your own.

#

omegalke replied to the thread Error.

Could it be because of some plugin?

civic cryptBOT
#

Stinchik started a thread called Searching for one function.

Hi. I was rewriting one plugin(Villager balanced trades) and stucked on the most hard place, of course for me. I need to make librarian sell enchanted books depending his level. Like on novice he is selling books under 5 lvl of enchantment, on apprentice under 10lvl, on master 30lvl. Idk how to make it, i tried result.enchant result.enchantment and result.type.enchant.
link for this plugin, my code in recipes.yml. Version is 1.20.4, core - paper

civic cryptBOT
civic cryptBOT
#

DevSnx started a thread called Paper 1.21 Custom Skulls.

Hey guys, my method dont set the Skin from URL
My Try

SkinURL
ItemSkulls.getSkull2("https://textures.minecraft.net/texture/22ee929e64107ffb5fb94500fc6402dafd17f3b4b18f1f9b2c8c01ed9adadccb", 1, "§8» §aVote-Belohnung");

public static ItemStack getSkull1(String skinURL, int amount, String name) {
    ItemStack skull = new ItemStack(Material.PLAYER_HEAD, 1);
    skull.editMeta(itemMeta -> {
        SkullMeta skullMeta = (SkullMeta) skull.getItemMeta()...
civic cryptBOT
#

Stormyz started a thread called Cannot spawn NPC with NMS 1.21.

Hi, I really need help with NMS to spawn an NPC in 1.21.
Here's my code:

private static void spawnNPC(Player p) { // there's no problem with the player
CraftPlayer craftP = (CraftPlayer) p;
ServerPlayer sp = craftP.getHandle();

    MinecraftServer server = sp.getServer();
    ServerLevel level = sp.serverLevel();
    GameProfile gameProfile = new GameProfile(UUID.randomUUID(), "Billy Bob");

    ServerPlayer npc = new ServerPlayer(server, level, gameProfile...
civic cryptBOT
#

Stormyz started a thread called NMS NPC spawning issue [1.21].

Hi, I really need help with NMS to spawn an NPC in 1.21.
Here's my code:

private static void spawnNPC(Player p) { // there's no problem with the player
CraftPlayer craftP = (CraftPlayer) p;
ServerPlayer sp = craftP.getHandle();

    MinecraftServer server = sp.getServer();
    ServerLevel level = sp.serverLevel();
    GameProfile gameProfile = new GameProfile(UUID.randomUUID(), "Billy Bob");

    ServerPlayer npc = new ServerPlayer(server, level, gameProfile...
civic cryptBOT
#

ikonodim started a thread called Replacement for ChatColor.translateAlternateColorCodes.

I'm looking for a suitable replacement for this snippet of my code as it is deprecated:
private String translateColorCodes(String text) {
return ChatColor.translateAlternateColorCodes('&', text);
}
I am using 1.20.6

#

mbaxter replied to the thread Replacement for ChatColor.translateAlternateColorCodes.

It's 2024, so you should be using components instead of the legacy color code stuff (which Mojang replaced for chat in 2013).

If this is based on configuration, migrate to use MiniMessage, which allows proper component creation (including all the fun stuff like fonts, translation, clickable, hoverable. If this is in-plugin stuff, either use MiniMessage still or just build Components properly.

civic cryptBOT
#

Flamango started a thread called Internal Exception: io.netty.handler.codec.DecoderException: Badly compressed packet.

I'm hosting a server through the FeatherMC client, everything was working well for a couple days then my friends started getting this error when joining. The only solution is to lower their render distance all the way, join, then raise it to 1 notch lower than what it was before or they get kicked again, then after like 30 minutes of playing they can raise it again. I kind of know why it's happening from other posts I think? but I wanna know if there's a good fix without making the server...

civic cryptBOT
#

stariy replied to the thread 1.21.

Thank you for your hard work! :)

#

halfblood_drag0n replied to the thread 1.21.

yooooo, hopefully my smp can update now

#

OxygenLover started a thread called Casting error - deserialization at custom PersistentDataContainer.

I'm having a casting error and I have no clue why this happens.

This is occurring at the deserialization of a custom persistent data storage container.

The class that is being deserialized is a child of the class that I'm trying to cast from - except I have no clue why my deserialization is returning the parent class instead of the child class, and why the cast from parent to child is not working.

VASCraftEntityStat extends LivingEntityStat

[13:02:32 ERROR]: Could not pass event...

civic cryptBOT
civic cryptBOT
#

OxygenLover replied to the thread Casting error - deserialization at custom PersistentDataContainer.

you use SerializationUtils for serialization, why not also use that for deserialization?

I don't know why, but it doesn't work. Perhaps because I need to explicitly cast ?

civic cryptBOT
#

Andre_601 replied to the thread Paper 1.21 Custom Skulls.

From the Javadoc of editMeta:

Calling this method or any other meta-related method of the ItemStack class (such as getItemMeta(), addItemFlags(ItemFlag...), lore(), etc.) from inside the consumer is disallowed and will produce undefined results or exceptions.

So it may be the fact that you are using the getItemMeta method from within the editMeta method itself, which if I understand the docs right is not supported and in your case probs fails silently.

Looking further at the docs can I...

civic cryptBOT
civic cryptBOT
#

cleversheep2011 started a thread called Paper1.18.1 net.minecraft.nbt.TagParser.

This is the error log:
at net.minecraft.nbt.TagParser.readValue(TagParser.java:132) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:189) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:143) ~[?:?]
.......(for about 1k lines)

i find a lot of

civic cryptBOT
civic cryptBOT
#

electronicboy replied to the thread Internal Exception: io.netty.handler.codec.DecoderException: Badly compressed packet.

This is not a packet size limit issue, this is a "you have something mangling packets" issue, generally going to be down to reproducing without plugins and maybe rebooting associated network equipment, i.e. some routers have been known to cause such issues here and there

#

electronicboy replied to the thread Casting error - deserialization at custom PersistentDataContainer.

An illegal cast is an illegal cast, not familiar with the object serialisation API much given it's been quasi deprecated for like 2 decades now, but, the big question would generally be down to your utilisation of that API, however, probably unlikely to be the concern here, but, you've not shown how that stuff is setup; But, also, it is an explicit cast issue, so, you are sure that you're not just trying to read the wrong data expecting it to be of a different type? i.e. accidently sharing...

#

ikonodim started a thread called Maven reload download warnings.

Hello! Everytime I reload my maven dependencies using InteliJ I get these warnings:
Is it safe to ignore them or is there anything I can do about this?

[WARNING] Failed to download maven-metadata-sonatype.xml [https://oss.sonatype.org/content/groups/public/]
[WARNING] Could not transfer metadata io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT/maven-metadata.xml from/to sonatype (https://oss.sonatype.org/content/groups/public/): status code: 502, reason phrase: Bad Gateway (502)
[WARNING]...

civic cryptBOT
#

egg82 replied to the thread NMS NPC spawning issue [1.21].

Mostly like you're missing the player list / tab menu packet, and/or the entity data packet to be sent.
(thanks kenny and EC)

#

electronicboy replied to the thread Maven failed to download sonatype metadata.

as from the previous thread you created, that repo is currently down (https://status.maven.org/)
All you can do is use offline mode so that it doesn't try to hit the repos, or wait it out, or remove that repo from your build if you don't need it

#

ikonodim replied to the thread Maven failed to download sonatype metadata.

as from the previous thread you created, that repo is currently down (https://status.maven.org/)
All you can do is use offline mode so that it doesn't try to hit the repos, or wait it out, or remove that repo from your build if you don't need it

But the website mentions that "All Systems are Operational."

#

electronicboy replied to the thread Maven failed to download sonatype metadata.

not too sure then, it is only a warning, you can try to use whatever command your build management tool offers to try to refresh data (-U for maven, --refresh-dependencies for gradle), it will probably just clear out on its own or something

civic cryptBOT
#

fox_not started a thread called Проблема с Unable to connect you to lobby. Please try again later..

[20:13:45 ОШИБКА]: [подключенный игрок] fox_not (/): не удается подключиться к лобби сервера
java.net.UnknownHostException: lobby: имя или служба неизвестны
на java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Родной метод) ~[?:?]
at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:934) ~[?:?]
на java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) ~[?:?]
на...

civic cryptBOT
#

OxygenLover replied to the thread Casting error - deserialization at custom PersistentDataContainer.

An illegal cast is an illegal cast, not familiar with the object serialisation API much given it's been quasi deprecated for like 2 decades now, but, the big question would generally be down to your utilisation of that API, however, probably unlikely to be the concern here, but, you've not shown how that stuff is setup; But, also, it is an explicit cast issue, so, you are sure that you're not just trying to read the wrong data expecting it to be of a different type? i.e. accidently sharing...

civic cryptBOT
#

ivisssof started a thread called tnt on unload chunks.

There is a drill that explodes in unloaded chunks, but at the same time the items that should fall out in the explosion - do not fall out, how fix it?

civic cryptBOT
#

cleversheep2011 started a thread called OOM cause paper was killed.

i have a 4c4g server and i create a minecraft server,but i always see out of memory cause paper was killed like this:
"start.sh 114514: killed java -jar -Xms2g -Xmx2g paper.jar"
and i try to decrease the memory i use but it still happened =<
(if someone can solve this problem, please email me cleversheep2011@outlook.com, thanku)
(my english is not very good)

civic cryptBOT
#

Erdbeerbaum started a thread called session.lock error.

Hi, i set up a minecraft server yesterday (i run CasaOS and in Casa the Crafty "app") now i tried using our old world fiels from the previous server, i got the fiel through SCP with the host provided log-in data. after starting the server i hab a weird Session.lock error. i tried deleting the Session.lock file but it didn't work. anything else i could try?

Log:

[06:12:32] [ServerMain/INFO]: [bootstrap] Running Java 21 (OpenJDK 64-Bit Server VM 21.0.2+13-Ubuntu-122.04.1; Private Build null)...

civic cryptBOT
#

elena199x replied to the thread please update Folia to 1.21!.

Beause this is pre-release software, documentation is still far behind. There is a whole bunch of infos and readmes scattered around for the Slope Game project right now.

So when is the official release date?

#

elena199x replied to the thread what stacking raid farms work on papermc?.

please tell me i cant find any Retro Bowl College

Stacking raid farms have historically been problematic on PaperMC. While there have been various designs and attempts to make them work, consistent success has been elusive.

civic cryptBOT
#

Rukang10 started a thread called How create a command in Paper using Kotlin with Gradle?.

Hi everyone,

I'm a new in Paper and I want create a plugin using Paper but instead of Java I want use Kotlin. Can someone provide some documentation or examples? 😅

civic cryptBOT
#

Leopold95 started a thread called How to use MobGoals API.

Hello all. I want to develop some custom AI behaviour with using default behaviours to. I know, I can remove all AI and set cusom, but i dont need only cuson behaviours, i want use some default.

So question is: how to add default AI Mob goals to the Paper MobGoals API. Thak you all.

If u give me an example ill be happy.

civic cryptBOT
#

_bennie started a thread called Minimessage click action behavior.

Hi all, I'm currently trying to give a link with formatted search parameters to a player that joins the server. To give the player the link I want them to click on a piece of text in the chat, and for this I'm using the minimessage click function. This formatting works fine but for some reason it will cut-off the link somewhere arbitrarily, which is really annoying behavior and I don't understand why. Can someone point out to me what I'm missing?

@EventHandler
public void...

civic cryptBOT
#

broccoli replied to the thread Minimessage click action behavior.

you'll need to surround the url in single quotes. this site is good for testing minimessage

civic cryptBOT
#

Serkons started a thread called Looking for a specific PaperMC version..

I'm looking for a specific PaperMC 1.21 version, namely PaperMC 1.21-rc1.

For the Minecraft client there is version 1.21 and also 1.21-rc1.
But why not for PaperMC?

Google doesn't give me any good results either.
Have you found what you are looking for?

Ps Sorry for bad englisch i'm from Germany.

#

Serkons replied to the thread Looking for a specific PaperMC version..

This is bad because there is only Optifine for 1.21-rc1 for the Minecraft client. That's why I was also looking for this specific PaperMC 1.21-rc1. Unfortunately there is no official Optifine for 1.21, only for 1.21-rc1

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

BlackDiamond started a thread called Is ServerPreConnectEvent and ServerPostConnect broken?.

Hey there! I'm working on a plugin that makes use of the ServerPreConnectEvent (I also tried re-implimenting with ServerPostConnectEvent), and the .getPlayer() method is always returning null, it seems like this shouldn't really be possible, anyone have any ideas?

#

BlackDiamond replied to the thread Is ServerPreConnectEvent and ServerPostConnect broken?.

I just looked at the Velocity source code, there is a precondition in the constructor of both classes that should prevent this, now I'm even more confused.

civic cryptBOT
civic cryptBOT
#

Doggo252 started a thread called Paper Config resetting every time I start my server.

I'm trying to allow the unsupported settings, and it works, then after I restart the server, it resets. I'm using minefort, running the latest version of Paper 1.20.4

civic cryptBOT
#

Chara_SS started a thread called argument.

Hi everyone.
I am trying to register a command with paper-plugin's command api in folia, and got cast Exception.

public void createCommand(String name) {
cmd = literal(name)
.then(
literal("install")
.then(
argument("player", ArgumentTypes.player())
.executes(context -> installPlayer(context.getArgument("player", Player.class)))...

civic cryptBOT
civic cryptBOT
#

leket608 replied to the thread How to create a ClickEvent on TextComponent?.

Thank you, you're my hero!
msgc = msgc.clickEvent(ClickEvent.clickEvent(ClickEvent.Action.OPEN_URL,url));
player.sendMessage(msgc);
I'm used to spigot. 😅

wow

civic cryptBOT
#

katanya04 started a thread called Paper 1.8.8 crash.

Hi. First of all sorry if this is not the correct place to post a Paper crash, I'm didn't see any place specifically for that. I hope is it ok here.
Anyways, my server is crashing on startup. It starts, stays "alive" for a few seconds, and then paper crashes. There's no previous plugin crash whatsoever or any such errors. I do not see any plugin name in the stack trace, so I suppose this is a Paper issue. The crash stack trace is attached to this message as a txt file.

civic cryptBOT
#

electronicboy replied to the thread Paper 1.8.8 crash.

1.8 hasn't been supported in years. Your server took too long to tick, newer versions of the software print out more info when this happens to make it possible to diagnose what occurred. That looks like an issue we patched years ago relating to spigot parsing stuff sent by the client too early, allowing malicious actors to crash servers by sending complex books to them or something.

#

katanya04 replied to the thread Paper 1.8.8 crash.

1.8 hasn't been supported in years. Your server took too long to tick, newer versions of the software print out more info when this happens to make it possible to diagnose what occurred. That looks like an issue we patched years ago relating to spigot parsing stuff sent by the client too early, allowing malicious actors to crash servers by sending complex books to them or something.

Yes it seems there was a bad guy trying to send weird packets, so it is probably that.
I didn't know paper...

#

electronicboy replied to the thread Paper 1.8.8 crash.

No, we do not accept PRs to 1.8, we do not have the capacity or desire to maintain a running on 10 year old codebase, especially after investing as much time as we have into our modern tooling which makes the codebase so much nicer to deal with.

#

katanya04 replied to the thread Paper 1.8.8 crash.

No, we do not accept PRs to 1.8, we do not have the capacity or desire to maintain a running on 10 year old codebase, especially after investing as much time as we have into our modern tooling which makes the codebase so much nicer to deal with.

I understand.
Supposing the crash was because of malicious packets using complex book as you said on the first comment, would you know in which version/commit was it fixed? How could I search for this specific bugfix?

#

mbaxter replied to the thread Paper 1.8.8 crash.

I understand.
Supposing the crash was because of malicious packets using complex book as you said on the first comment, would you know in which version/commit was it fixed? How could I search for this specific bugfix?

The version to run is 1.21 - doesn't have this issue and is currently supported by us.

#

katanya04 replied to the thread Paper 1.8.8 crash.

The version to run is 1.21 - doesn't have this issue and is currently supported by us.

Yes I understand the best solution is to run on currently supported software instead of a decade old one. I would like to know how feasible would it be for me to fix this specific bug on 1.8.8 Paper. And with that knowledge, ponder which decision to make

#

mbaxter replied to the thread Paper 1.8.8 crash.

We don't really give out specifics on exploits. You'll need to work backwards from your crashes.

civic cryptBOT
#

katanya04 replied to the thread Paper 1.8.8 crash.

We don't really give out specifics on exploits. You'll need to work backwards from your crashes.

Wouldn't it there be a specific commit for this bug? Is commit history private?

civic cryptBOT
#

mbaxter replied to the thread Paper 1.8.8 crash.

Commit history is public. Have fun!

civic cryptBOT
civic cryptBOT
#

jgeekw started a thread called missing give item?.

We are running a PaperMC 1.21 server and I've created a datapack that lets me craft the sherds. Upon testing, I found that flow armor trim could not be given to the player: /give <player> minecraft:flow_armor_trim_smithing_template. In the chat it says Error: Unknown item name: minecraft:flow_armor_trim_smiting_template. I can disconnect from the server and enter a vanilla MC world and issue the same command and I get the smithing template.

civic cryptBOT
#

electronicboy replied to the thread missing give item?.

you probably want to watch out for plugins like Essentials which replaces the vanilla give command, try using /minecraft:give instead

civic cryptBOT
#

ILikeBananas started a thread called How to use hex color in TextComponent.

Hello i'm currently coding a plugin that shod be as much customizable as possible so i'm make a command that returns a message that has some text and on part of it you can click to run a command now the problem is i have a config in that config you can change the message that you receive, and you can use hex colors like this &x&f&f&0&0&f&f you can also change what the color character is default is & now i have a function that replaces the color character for example & width § in the message...

civic cryptBOT
#

stefvanschie replied to the thread How to use hex color in TextComponent.

Components don't work with legacy color codes. If you want to turn text with legacy color codes into a Component, you should use the LegacyComponentSerializer.

civic cryptBOT
#

ILikeBananas replied to the thread How to use hex color in TextComponent.

Components don't work with legacy color codes. If you want to turn text with legacy color codes into a Component, you should use the LegacyComponentSerializer.

okay il try it

civic cryptBOT
#

jgeekw replied to the thread missing give item?.

ok, thanks! I'll give that a go!

civic cryptBOT
civic cryptBOT
#

justjefry replied to the thread Overrides method that is deprecated and marked for removal in 'org.bukkit.Translatable'.

this is the error i am getting, Overrides method that is deprecated and marked for removal in 'org.bukkit.Translatable'.

This is my code,
package jefry.viiper.signme;

import io.papermc.paper.enchantments.EnchantmentRarity;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.enchantments.EnchantmentTarget;
import org.bukkit.entity.EntityCategory;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.ItemStack;
import org.bukkit.NamespacedKey;
import...

#

electronicboy replied to the thread Overrides method that is deprecated and marked for removal in 'org.bukkit.Translatable'.

  1. implementing random classes inside of the API is not supported
  2. yes, the method is deprecated, there is little you can do when extending/implementing random classes which have such deprecations, all you can do is carry over the deprecation and note that you'll need to remove it at some point
civic cryptBOT
#

squadfx started a thread called -Dpaper.IgnoreJavaVersion=true dont work.

Hi,

i have a problem. because i want to run my minecraft server with argument -Dpaper.IgnoreJavaVersion=true and dont work, i tryed on arch linux and windows 11 and same result

[squadzior@archlinux minecraft-server]$ java -Dpaper.IgnoreJavaVersion=true -jar paper-1.16.5-794.jar

Unsupported Java detected (61.0). Only up to Java 16 is supported.

D:\Nowy folder>java -Dpaper.IgnoreJavaVersion=true -jar paper-1.16.5-794.jar
Unsupported Java detected (66.0). Only up to Java 16 is supported...

civic cryptBOT
#

mbaxter replied to the thread -Dpaper.IgnoreJavaVersion=true dont work.

Well, the code is definitely there.

We only support 1.21 (and will continue moving forward in what we support) and suggest your focus be on upgrading to that version ASAP to get the benefit of bug and exploit fixes.

civic cryptBOT
#

1234qaz started a thread called Some Minecraft redstone feature could not work correcrly in paper server.

Detail:tnt copy、silk copy
I’ve learnt that these can enable again in configuration but I didn’t find out how to enable it in documents
I’m glad that there are someone could help me

civic cryptBOT
civic cryptBOT
#

MinecraftJoe09 replied to the thread argument.

You need to use PlayerSelectorArgumentResolver.class instead of Player.class. You can then get the player with context.getArgument("player", PlayerSelectorArgumentResolver.class).resolve(context.getSource()).getFirst().

civic cryptBOT
#

Chara_SS replied to the thread argument.

Thanks a lot

civic cryptBOT
#

Machine Maker replied to the thread argument.

In the future, look at the generic parameter for the ArgumentType you are using from the ArgumentTypes class. That will show you the type you have to use in the getArgument() method.

civic cryptBOT
#

BaR1Bo:D started a thread called Try the plugin.

When I want to try the plugin, I run the server and then I have to connect to that server with a client, isn't there a way to not need a client?
Because I used Spigot a long time ago, and I remember that when you started the server, the game itself also started (or maybe I'm wrong).

#

mbaxter replied to the thread Try the plugin.

Paper, like Spigot, is a server. It doesn't do anything about the client. You still need to launch a client to join it and play on it.

#

BaR1Bo:D started a thread called Creating a command using PluginBootstrap.

I have just started learning the paper, sorry for asking stupid questions
When we create the command with PluginBootstrap, do we need to register the command somewhere?

civic cryptBOT
civic cryptBOT
#

sniperax98 replied to the thread My string farm doesn't work.

In the config folder, in the paper-global.yml file. There you have the option unsupported-settings -> allow-tripwire-disarming-exploits.

i tried but in the config folder there's nothing

civic cryptBOT
#

danikika94 started a thread called Velocity server with DDNS.

Hi,

I'm having a strange problem where I can't use DDNS as a solution for a non static IP address.
I've set up my Velocity proxy server with many different "member" servers but when I check from my Minecraft client, I can't see them online when I want to use my dynamic DNS address.

This is my server settings.:

What port should the proxy be bound to? By default, we'll bind to all addresses on port 25565.

bind = "0.0.0.0:25565"
player-info-forwarding-mode = "modern"
ping-passthrough =...

civic cryptBOT
#

jeffry1829 started a thread called When changing server, the player location won't change.

When I use /server server_name to change server, the player location are transfered to another server as well.

For example, I'm in lobby server, location 0,0,0.
When I do /server server_1, the location of player in server_1 server is moved to 0,0,0. No matter what location the player previously is in server_1.

Thanks for help!

civic cryptBOT
#

Sauron started a thread called Newb question (jre version for debian bookworm).

Hi there,

I'm new to minecraft. I am trying to setup a server for my elementary school children to learn how to play minecraft and then how to modify it. I've got a vanilla Raspberry Pi4 (with 8GB RAM and running on a 512 m.2 SSD) running Debian bookworm and am a decent linux admin, but no experience with java programming. I've got the default jre installed:

root@plex:/tmp# java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment (build 17.0.12+7-Debian-2deb12u1)...

civic cryptBOT
#

Sauron replied to the thread Newb question (jre version for debian bookworm).

OK....figured it out on my own. :) I'm now using JDK-22 (which I had to manually install) and everything ran, edited the eula file, etc.

Looking forward to learning more about Paper.

Best,

civic cryptBOT
civic cryptBOT
#

yann1n started a thread called How to Adjust Text Size on a Display?.

I’m trying to change the text size on my display, aiming to achieve the same result as shown in the attached photo. Could anyone guide me through the steps or settings I need to adjust to get the text size just right? Any tips or advice would be greatly appreciated!

civic cryptBOT
#

BadDolphin started a thread called Invalid advancements folder name.

Look at this code:
Bukkit.getUnsafe().loadAdvancement(namespacedKey,"...");
Bukkit.getAdvancement(namespacedKey);

1.20.6
Bukkit.getUnsafe().loadAdvancement() method creates json file for advancement in the "server\world\datapacks\bukkit\data\namespace\advancements".
Bukkit.getAdvancement() also finds the file in the "...\advancements" folder.

1.21 and earlier
Bukkit.getUnsafe().loadAdvancement() method creates json file for advancement in the "...\advancements".
But Bukkit.getAdvancement()...

civic cryptBOT
#

Machine Maker replied to the thread Custom Enchantments.

Take a look at this newly added API (still Experimental) for mutating registries.

#

Machine Maker replied to the thread How to Adjust Text Size on a Display?.

I think you can just use the scale attribute to make it bigger. I haven't tested it to be sure, but the "scale" attribute is for changing the size of any entity, small or bigger.

civic cryptBOT
#

HECODE started a thread called Slime chunk is very slow to spawn slimes.

Here, I built an empty block in the slime block (which I have already confirmed) to obtain slime balls, but it seems that the server is slow to spawn any slimes (about one every half hour).

I am playing on a PaperMC 1.20.1 server with 9 players online at the same time.

Here's my paper_world_defaults.yml: https://paste.gg/p/anonymous/249a5c4bf70a4398b4160ac7bb48224c

Could anyone help me fix the problem? Thanks!

civic cryptBOT
#

yann1n replied to the thread How to Adjust Text Size on a Display?.

I think you can just use the scale attribute to make it bigger. I haven't tested it to be sure, but the "scale" attribute is for changing the size of any entity, small or bigger.

And how to show individual holograms to different players. For example, if there will be a table of rating with scrolling function?

civic cryptBOT
#

Machine Maker replied to the thread How to Adjust Text Size on a Display?.

If you want the text entity to show something different to different players, you are going to have to do that with packets, listen for specific synched entity data packets from the entities and adjust the text display based on which client is getting the packet.

civic cryptBOT
#

torment started a thread called Item Enchanted Glow 1.21.1.

i need help i want to get Item Enchanted Glow on an item without actually enchanting it
im at 1.21.1
thanks in advance

civic cryptBOT
#

torment started a thread called Item Enchanted Glow 1.21.1.

i need help i want to get Item Enchanted Glow on an item without actually enchanting it
im at aternos server 1.21.1 papermc if that helps
thanks in advance

#

Machine Maker replied to the thread Item Enchanted Glow 1.21.1.

You can set the enchantment glint override datacomponent on an itemstack via a command or via the API on ItemMeta

#

torment replied to the thread Item Enchanted Glow 1.21.1.

You can set the enchantment glint override datacomponent on an itemstack via a command or via the API on ItemMeta

look what i get when i tried it on command also i forgot to mention but i have essentialsX on the server too so i think he's the reason

#

electronicboy replied to the thread Item Enchanted Glow 1.21.1.

Use minecraft:give, your give command is being overridden by essentials

#

torment replied to the thread Item Enchanted Glow 1.21.1.

Use minecraft:give, your give command is being overridden by essentials

ohh thats the problem thank you so much

civic cryptBOT
#

torment started a thread called A cube of blocks respawn after time or after being 50% broken.

so sorry if the title was confusion but my point was to make on my server a mining cube of ores for example 9x9x9 cube of diamond ore and players have to mine it i want to make that if the cube is broken more than half it will resets or it will reset after a given amount of time
if this helps i use aternos 1.21.1 papermc and i have these plugins

AutoPickup
Chunky
Citizens
DeluxeMenus
Essentials
EssentialsXSpawn
LuckPerms
PlaceholderAPI
Shopkeepers
SimpleTpa
SkinsRestorer
spark
WorldEdit...

civic cryptBOT
#

torment started a thread called A cube of blocks respawn after time or after being 50% broken 1.21.1.

to make on my server a mining cube of ores for example 9x9x9 cube of diamond ore and players have to mine it i want to make that if the cube is broken more than half it will resets or it will reset after a given amount of time
if this helps i use aternos 1.21.1 papermc and i have these plugins
AutoPickup
Chunky
Citizens
DeluxeMenus
Essentials
EssentialsXSpawn
LuckPerms
PlaceholderAPI
Shopkeepers
SimpleTpa
SkinsRestorer
spark
WorldEdit
WorldGuard
thanks in advance

civic cryptBOT
#

user_uncommon started a thread called Greetings to all who stumbled upon the post! PLEASE DON'T CLOSE THE POST PLEASE DON'T IGNORE.

I have such a problem, that I want to server from 1.8 to 1.21.0, and I have such a problem that I can not do so in velocity and this is an appeal to the developers or plugin developers, you could make a plugin that will do the same as viaversion only for velocity, and I do not want to move from the new best engine velocity to the outdated version of BungeeCord with a lot of bugs and flaws, I would like to make velocity more functional, this post is personally for velocity developers or...

#

lemon4k1712 started a thread called How fix reconnect ?.

Hello everyone! I have a problem:
[13:03:10 INFO]: [connected player] lemon4k1712 (/62.122.69.32:54886) has connected
[13:03:11 INFO]: [server connection] lemon4k1712 -> main has connected
[13:03:46 INFO]: [server connection] lemon4k1712 -> lobby1 has connected
[13:03:46 INFO]: [connected player] lemon4k1712 (/62.122.69.32:54886) has disconnected: Please reconnect
[13:03:46 INFO]: [server connection] lemon4k1712 -> lobby1 has disconnected
[13:03:46 INFO]: [server connection] lemon4k1712 ->...

civic cryptBOT
civic cryptBOT
#

user_uncommon replied to the thread Greetings to all who stumbled upon the post! PLEASE DON'T CLOSE THE POST PLEASE DON'T IGNORE.

Velocity natively supports 1.7 to 1.21.1, so support for players is solely dependent on what your backends accept.
If you install viaversion + the add-ons onto your backends, then velocity will handle it fine.

I don't understand what you wrote, so if I put the usual viaversion on velocity it will work I understand correctly?

#

user_uncommon replied to the thread Greetings to all who stumbled upon the post! PLEASE DON'T CLOSE THE POST PLEASE DON'T IGNORE.

No, velocity will handle 1.8 traffic itself, forwarding it to the backend server if that also supports 1.8

So the solution is to install viaversion+friends on all your backend servers that velocity connects to.

That is, let's say I have servers on version 1.18.2 I will put on the server plugin ViaBackwards, connect the server to velocity, in the config velocity put modern (well, closing ports) and it will work on 1.8?

civic cryptBOT
#

rn2rg2 started a thread called Playerdata missing while transfering.

Hi, everyone!

I've been playing Minecraft with a friend on a Paper Bukkit server. Since I'm not always online, I share the world file with him so he can play while I'm offline.

Here's the issue: when I shut down the server and share the world file with him, all of his player data—like experience, inventory, and ender chest contents—disappears. The world itself is fine—chests, villagers, and everything else are still there. The strange thing is that when he tries to play the world in...

civic cryptBOT
#

rn2rg2 replied to the thread Playerdata missing while transfering.

what was the online-mode setting of the server?

idk, I haven’t changed it, so it’s probably set to the default (true).

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

VeniceTheMenance replied to the thread Material enum doesnt work.

same build spigot, 1.21 updated java 21 and intelij up to date

civic cryptBOT
#

Machine Maker replied to the thread Material enum doesnt work.

You seem to be missing some fundamentals in the java programming language, as well as understanding of syntax highlighting. The first image is invalid java, the second image is missing a semicolon, the 3rd image just shows that the Material import isn't being used.

civic cryptBOT
#

VeniceTheMenance replied to the thread Material enum doesnt work.

You seem to be missing some fundamentals in the java programming language, as well as understanding of syntax highlighting. The first image is invalid java, the second image is missing a semicolon, the 3rd image just shows that the Material import isn't being used.

yeah when i try to add a semicolon it just grays out and doesn’t use

civic cryptBOT
#

rechords25 started a thread called Villager restocking differences to Vanilla.

Hey there!
I've been speedrunning a little in the last couple of days and noticed something: When I played in a regular Vanilla world on my PC, villager trading for pearls was beautiful. It took a few restocks before the trades got really expensive (57 sticks hell yeah). But now, where I am running a paper server to be able to use plugins, every restock automatically drives the prices up by a lot. I wasn't able to find anything about how Minecraft calculates demand and how paper might do...

civic cryptBOT
#

stefvanschie replied to the thread Material enum doesnt work.

That is because the code in which you try to use Material is invalid. You can't take materials from RecipeChoice. Simply use Material.DIAMOND.

civic cryptBOT
#

OwOchlé started a thread called Using NMS on version 1.19.4.

Hi, i'm trying to use NMS in a plugin in 1.19.4 but I wrap my head around how to get deobfuscated result in my IDE. I'm just trying to spawn a fake player but i could not find a way to setup nms and all. Thanks for further help

civic cryptBOT
civic cryptBOT
#

OwOchlé replied to the thread Using NMS on version 1.19.4.

Yes, i've installed the paperweight plugin but i don't have any remapped sources and a lot of classes are missing.

civic cryptBOT
#

BraveOcean64 started a thread called Paper issue with WorldEdit.

I have been experiencing an issue with WorldEdit after updating from Spigot to Paper. I was unsatisfied with the performance of Spigot so I changed the jar to Paper. Everything seems to run better, except for WorldEdit. When placing or deleting blocks, outside of the immediate chunks area it will have/leave ghost blocks. So lets say I am building a super long road; about 180 blocks away from where I stand will visibly place and anything beyond that radius will be invisible until I right...

civic cryptBOT
#

Zatarix started a thread called Ask for discord unban.

Hello I got a ban after discord hacking that send "free nitro" in all channels and all DM where I can write and I was banned. BUT I get back the account but Im banned from the discord server. My username is zatarix_. If you want I can send you the discord mail when I changed the password to change the token. Have a nice day.

civic cryptBOT
#

jbhkgkug started a thread called an error was happened when im trying use coreprotect.

I installed CoreProtect for my server to prevent it from being destroyed. But when I use the command "/co rollback <a player's name here> time:5m" (meaning restore everything the player has destroyed in the last 5 minutes) for 4 times, the destroyed thing is restored successfully, but the server's control table gives these error messages:

[01:09:52 WARN]: java.io.NotSerializableException: org.bukkit.craftbukkit.entity.CraftVillager$CraftProfession
[01:09:52 WARN]: at...

civic cryptBOT
#

tranducminh started a thread called Hello, can someone help me how to fake green ping bar on Tab?.

I want to make this feature for Tab plugin that I am developing because I am new so I don't know, can someone help me.

Find this section in your config.yml

ping-spoof:
enabled: false
Ping value Displayed icon
Negative
0 - 149
150 - 299
300 - 599
600 - 999
1000+

civic cryptBOT
#

pigeonnuggetz started a thread called Trying to get /<command> to populate external files.

I'm pretty new to development but I managed to get a command registered. /restore is supposed to populate any existing server backups in the specific directory on the pi that hosts the server. Instead it just populates my MC username.

In my case, I am already using eBackups to get a head start and I'm sure that there is some nifty restore plugin out there already but I'm using this as a chance to learn java. Anyway, I see all the .zip files when I ssh into my pi and the plugin so far seems...

civic cryptBOT
civic cryptBOT
#

FerrumSi started a thread called Minimessage in the menu header.

who knows what needs to be done to make minimessage work in the plugin tait? I use deluxemenus and it looks like this.

civic cryptBOT
#

jbhkgkug replied to the thread an error was happened when im trying use coreprotect.

This appears to be an issue with CoreProtect. I'd recommend speaking to them about this isthey

they said the v23 of coreprotect will out free in a couple weeks. but you can compiling it by yourself nowdays. i tried, but i didn't succeed.

civic cryptBOT
#

Reizi started a thread called How to teleport from a lobby server to another server?.

I don't understand.

I configured the key binding both on the lobby server and on the example server. (I inserted the secret key from forwarding.secret into paper-global.yml)

Proxy-server (Velocity-3.3.0 latest build)
"Lobby" Server (PaperMC 1.20.6 latest build)
"Example" Server (PaperMC 1.20.6 latest build)

On the "Lobby" server I enter the command: /server "example-server" and I get the message:
[20:17:08] Unable to connect to server example-server: Your server did not send a...

civic cryptBOT
#

Zaksen started a thread called Custom GUI (Negative space into components in title).

How to use negative spaces to offset the inventory texture in the title to the left? I'm using a custom font for the texture. Maybe there are special <tag> for this?
Also i use InvUI lib for menus.

civic cryptBOT
#

Reizi started a thread called How to teleport from a lobby server to another server?.

I don't understand.

I configured the key binding both on the lobby server and on the example server. (I inserted the secret key from forwarding.secret into paper-global.yml)

Proxy-server (Velocity-3.3.0 latest build)
"Lobby" Server (PaperMC 1.20.6 latest build)
"Example" Server (PaperMC 1.20.6 latest build)

On the "Lobby" server I enter the command: /server "example-server" and I get the message:
[20:17:08] Unable to connect to server example-server: Your server did not send a...

civic cryptBOT
#

Cliffordbigreddog started a thread called Help.

So I use paper MC for a home server and Ive been having a issue where random a chunk will be reset or a tree will be cut in half or a building will also be cut in half and I don't know what this is or have to stop it. The version I have is 1.21

civic cryptBOT
civic cryptBOT
#

catslicer41 started a thread called Storing a custom Java object.

I'm writing a plugin that runs a minigame. In this plugin, I have a class (I'll call it MinigamePlayer) that stores information about the Player. This class then stores other custom objects that store more information about the player.

How would it be best to store the connections between actual players and the MinigamePlayer that stores their data? I don't want to do this through Metadata or Persistent Data Containers, as that would require converting my custom objects to Strings and then...

civic cryptBOT
#

Ergo started a thread called A way to disable nether roof?.

Greetings, I would like to disable the nether roof and no person could use it, either by disabling the end pearls bug to go to the nether roof or something similar. I wanted to know if it is possible with some paper configuration without using a plugin, thanks.

civic cryptBOT
#

anlear started a thread called Error in the description of custom enchants.

Hello, I'm trying to write the plugin, that will add some custom enchantments.
Here is my code: https://github.com/AnleaR/CustomEnchants

I'm catching one mistake that I haven't been able to fix for 3 days. The error is that when adding custom enchantment to item, an empty line is created in the item lore. The more custom enchantments I have on an item, the more empty lines there are.
Example:

I've tried 2 ways of solving this problem:

  1. Setting lore
  2. Using resource pack to fill...
civic cryptBOT
civic cryptBOT
#

stefvanschie replied to the thread Storing a custom Java object.

Do you need this data to persist across server sessions? If not, there isn't really a reason to use PDC. You can simply store a reference to the Player object in your MinigamePlayer class. Be sure to remove the reference to the player when they leave the server, however, or use a WeakReference so it doesn't prevent garbage collection. If you need this information to persist across player sessions, then you can also store the UUID of the player and look the player up with it.

civic cryptBOT
#

catslicer41 replied to the thread Storing a custom Java object.

Do you need this data to persist across server sessions? If not, there isn't really a reason to use PDC. You can simply store a reference to the Player object in your MinigamePlayer class. Be sure to remove the reference to the player when they leave the server, however, or use a WeakReference so it doesn't prevent garbage collection. If you need this information to persist across player sessions, then you can also store the UUID of the player and look the player up with it.

Thanks for the...

civic cryptBOT
#

stefvanschie replied to the thread Storing a custom Java object.

If you have some kind of Minigame object, then I'd store them in there. Otherwise, you can use or create some kind of MinigameManager object to store them.

civic cryptBOT
#

catslicer41 replied to the thread Storing a custom Java object.

If you have some kind of Minigame object, then I'd store them in there. Otherwise, you can use or create some kind of MinigameManager object to store them.

I do have a Minigame object, but now I need to store that somewhere. Could it just be stored as a variable in my Plugin class (the one that extends JavaPlugin) that I can retrieve later with JavaPlugin.getPlugin(MyMinigamePlugin.class)?

civic cryptBOT
#

Rooyal started a thread called Celerity - Alpha.

Celerity: Geo-Based Server Redirection
This plugin allows players to connect to the closest server based on their geographic location. By simply entering myserver.com, players are automatically redirected to the nearest server without the need for proxying their connection.
Example Scenario:

Server A (east.myserver.com) located in New York.
Server B (west.myserver.com) located in Los Angeles.

Players who connect through myserver.com will be redirected to either Server A or Server B...

civic cryptBOT
civic cryptBOT
#

Error340GTL replied to the thread Hey my server isn't running.

Assuming you are running Windows, typically, you use a batch to launch a Minecraft server, you don't just click it.

Create a text file and name it "start.bat", then open it up in notepad, put the following in the bat files:
@ECHO OFF
java -Xms1024M -Xmx2048M -jar minecraft_server.jar --nogui
pause

When you launch the file, it will attempt to launch a jar file with the name "minecraft_server.jar" (Feel free to change this to whatever your jar name is). During its startup, the Xms is the...

civic cryptBOT
civic cryptBOT
#

GoldenLeaves started a thread called Raid stops when I try to kill the pillagers.

I’m playing on a Paper 1.21 / Geyser server on Bedrock / PE (latest version).

I built the raid farm by wattles:

When I try to hit the pillagers with my sword, nothing happens (they don’t take any damage). This causes the raid bar to disappear for some reason, and the raid stopped / got canceled after the first wave.

I tried replacing the workstation and the bed, but that didn’t have any effect (the villager is still there).

The raid farm was still working only one or two weeks ago, so...

civic cryptBOT
#

bedrock3359 replied to the thread Help.

This sounds like player activity with the lack of information you've given
By the way, update to latest 1.21.1

#

bedrock3359 replied to the thread Paper issue with WorldEdit.

I have been experiencing an issue with WorldEdit after updating from Spigot to Paper. I was unsatisfied with the performance of Spigot so I changed the jar to Paper. Everything seems to run better, except for WorldEdit. When placing or deleting blocks, outside of the immediate chunks area it will have/leave ghost blocks. So lets say I am building a super long road; about 180 blocks away from where I stand will visibly place and anything beyond that radius will be invisible until I right...

civic cryptBOT
#

mateusgcoelho started a thread called Change Nickname for all in server.

Hello guys I'm creating a 1.20 plugin and I want to change the character nick over my head for everyone on the server, I managed to change the nickname through GameProfile but it is necessary for it to relog, I don't have much knowledge with packet events to destroy the entity and rebuild again, especially in 1.20

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

BrightYellow started a thread called Stuck on joining world.

I'm running a velocity proxy connecting to a paper server. Whenever I try to join the screen is stuck on joining world and then it eventually times out. The server logs don't display any change whatsoever and the proxy logs only say I connect and disconnect. Does anyone have any advice?

civic cryptBOT
#

catslicer41 started a thread called Making an entity lie down.

I'm writing a minigame plugin, and I need players who die to spawn a corpse at their place of death. I can spawn an entity for the corpse just fine, but I want to make this corpse lie down where it died. How would I do that?

civic cryptBOT
#

Noah replied to the thread Making an entity lie down.

Assuming you spawn the entity entirely with packets, you should send an entity metadata packet with the pose field set to SLEEPING (2).

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Jesse replied to the thread Getting Error: java.lang.IllegalStateException: Backend server is online-mode! no matter what I do.

Bonjour, vérifiez vos ip/ips dans la configuration de votre serveur proxy qui redirige chacun au bon endroit, car j'ai le même probleme il y'a même 30min avant ce message et j'ai trouvé ! :)

I just translated that to: Hello, check your ip/ips in the configuration of your proxy server which redirects each to the right place, because I have the same problem even 30 minutes ago before this message and I found it!

ill go check

#

Jesse replied to the thread Getting Error: java.lang.IllegalStateException: Backend server is online-mode! no matter what I do.

Bonjour, vérifiez vos ip/ips dans la configuration de votre serveur proxy qui redirige chacun au bon endroit, car j'ai le même probleme il y'a même 30min avant ce message et j'ai trouvé ! :)

If you could clarify wich server needs to be in offline mode then that would be great becuase rn EVERY server has online-mode=false and still cant join the one server i want to join

#

Jesse replied to the thread Getting Error: java.lang.IllegalStateException: Backend server is online-mode! no matter what I do.

for more information here is the cosole log
java.lang.IllegalStateException: Backend server is online-mode!
at com.velocitypowered.proxy.connection.backend.LoginSessionHandler.handle(LoginSessionHandler.java:79) ~[Velocity3.3.0.jar:3.3.0-SNAPSHOT (git-78f6cfc2-b433)]
at com.velocitypowered.proxy.protocol.packet.EncryptionRequestPacket.handle(EncryptionRequestPacket.java:94) ~[Velocity3.3.0.jar:3.3.0-SNAPSHOT (git-78f6cfc2-b433)]
at...

#

mbaxter replied to the thread Getting Error: java.lang.IllegalStateException: Backend server is online-mode! no matter what I do.

If you could clarify wich server needs to be in offline mode then that would be great becuase rn EVERY server has online-mode=false and still cant join the one server i want to join

The Paper server. Follow the instructions here https://docs.papermc.io/velocity/player-information-forwarding#configuring-modern-forwarding-for-paper

civic cryptBOT
#

VoidableMoon started a thread called Server switch sign.

I am looking for a plugin or a way to put a sign in my lobby and as soon as you click on the sign, you are pushed to a certain subserver.
Does anyone know a plugin for this?

Thanks in advance

civic cryptBOT
#

bar_of_water started a thread called Error in PaperMC after it was shutdown midway turning on..

I have been running the latest version of PaperMC available for Minecraft version 1.20.1. Just today, when turning the server on, the computer running the server shutdown midway through the process of turning on (because it accidently got unplugged).

After plugging it back and trying to turn the server on, it just showed a bunch of errors (before it had any chance of loading any plugins) and then just shut down. Tried to download and replace papermc to a more recent version, deleted the...

civic cryptBOT
civic cryptBOT
#

xiaoliuprogramer started a thread called Cannot resolve symbol 'ItemGroupEvents'.

I was trying to adding an item to Item Groups, here is code:
package name.myfirstmod;

import name.myfirstmod.registry.ModItems;
import net.fabricmc.api.ModInitializer;

import net.fabricmc.fabric.impl.item.group.ItemGroupExtensions;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.Items;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static name.myfirstmod.registry.ModItems.SUSPICIOUS_SUBSTANCE;

@Override
public void onInitialize() {...

civic cryptBOT
#

BrOJa started a thread called Connection to Server suddenly failed.

Hey all,

I have been using paper to run a MC Server for me and my friends since April. It runs on an ("old") windows machine and never made problems. Now out of nowhere everyone outside of my Home network cant connect anymore.
Whenever someone from outside wants to connect he gets "connection refused: getsockopt"
And I cant seem to find the problem.
Server is completly fine.

I had set up portforwarding and everything was working fine the last 5 months.
Any Idea what the problem can be?

civic cryptBOT
#

stefvanschie replied to the thread Cannot resolve symbol 'ItemGroupEvents'.

This forum is for questions regarding Paper, not for development questions about Fabric. For Fabric questions, you should consult the Fabric Discord guild.

civic cryptBOT
#

RubixxCube started a thread called PaperMC setup process like Vanilla.

Hi,
I'm currently implementing an Ansible role for my PaperMC instance.

The Vanilla Minecraft server has an option:
java -jar server.jar --nogui --initSettings
This basically just starts the server, generates all necessary configuration files and then exits.

For my purposes I would need something like that in Paper but for the configuration files that paper needs.
So the files inside the config directory (all the yml files).

Passing the option --initSettings to Paper only creates the...

#

electronicboy replied to the thread PaperMC setup process like Vanilla.

We never approached this in the past because the place in which a bunch of the config stuff is handled is pretty deep in the server, in past versions, we've moved this up, but it's never really been something worth throwing the effort into

civic cryptBOT
#

Adzel_Firestar started a thread called VelocityBroadcast Version 0.6.

Velocity Broadcast
The new proxy broadcasting plugin

Hello everyone! So today I made my first actually functional and practical Minecraft plugin and I wanted to share it with you all, for free of course! I am just riding the high of making a plugin that actually works. I have been developing Minecraft plugins for a while. Or really more studying the concept and ways to create plugins I myself want to use. The only difference? If I make one that works, I want to share it with others! So I...

civic cryptBOT
#

Adzel_Firestar replied to the thread VelocityBroadcast Version 0.8.

New update published that adds color and format code support! Enjoy!

civic cryptBOT
#

_1ms replied to the thread MySQL JDBC driver not found using mysql driver dependency.

Thanks, I've found a solution.

I'm having the same issue now, I shade the com.mysql:mysql-connector-j:9.0.0 in the jar with gradle, but it still gives the same java.sql.SQLException: No suitable driver found for jdbc:mysql://127.0.0.1:3306/mydb error as yours. Do you think you can say how you've solved it?

civic cryptBOT
#

Adzel_Firestar replied to the thread VelocityBroadcast Version 0.8.

New update posted that adds/removes the following:

Removed:

Changed the plugin structure to remove the long-winded plugin command. Now all commands use the /vb command (Instead of /velocitybroadcast)

Added:

Added new command (/vbprefix) for ops to be able to change the plugin prefix from in game
Added config folder for the plugin located at /plugins/velocitybroadcast to change the prefix by hand if you prefer.

civic cryptBOT
#

electronicboy replied to the thread Server crashes every day.

Your terminal died, errors like that killing the server usually mean that the environment your server is running in was killed, i.e. SSH connection died, host issues, etc

#

electronicboy replied to the thread Server crashes every day.

if you're using a host, that is going to be your best option, yes

civic cryptBOT
civic cryptBOT
#

getsmod0 replied to the thread 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.
bisp payment check
Java version: 20

Thank you for the help...

civic cryptBOT
#

kylian01 replied to the thread Chunks handling.

Hello,

I would like to configure my new server on PaperMC, but the documentation dealing with global configuration doesn't seem to be as clear as it should be.

First, I would like to configurate all chunks handling stuff. I can handle basics in Java development, so reading documentation is not a problem. I tried first to read the basics on the Minecraft Wiki "Chunk" page, but a few things are not clear. Actually, the "Ticking" subsection in the "Limitations" section is not clear at all...

civic cryptBOT
#

ThatBananaGuy started a thread called Error while setting up server.

Im trying to set up my server hosted on my pc but this error keeps popping up i have installed java 21 but still no deference

civic cryptBOT
#

mbaxter replied to the thread Error while setting up server.

Try running latest Paper 1.21.1 (the only supported version) and let us know how that goes.

civic cryptBOT
#

bopontop started a thread called Paper doesn't seem to be following generator-settings.

I'm using Paper together with the Chunky plugin to pre-generate world data, but I've run into a snag when trying to do this with custom generator-settings. The world data doesn't seem to actually be fully generated. It's entirely possible that I'm misunderstanding how to use generator-settings. Do you see what I might be doing wrong? Or do you know of a way I could debug this situation?

I created a server.properties file that I hope is creating a flat world where the first 6 levels are...

civic cryptBOT
#

Kent_HD started a thread called Server Problem.

Hello. Can someone help me understand what this problem is about... I'm always running into it. Since the beginning of the server. I don't understand what causes this problem or where I can find a solution. If anyone has experienced it before or has a suggestion, I would be grateful.

[03:16:11 WARN]: [spark] Timed out waiting for world statistics
[03:16:16 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - 1.21.1-119-7cd4f2c (MC: 1.21.1) ---
[03:16:16 ERROR]: The...

civic cryptBOT
#

jwpwns started a thread called Error That I cant Figure Out..

I have this error message spamming my console does anyone know what it might be?

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.97.Final.jar:4.1.97.Final]
at ProtocolLib...

civic cryptBOT
civic cryptBOT
#

mbaxter replied to the thread Error That I cant Figure Out..

An incomplete log is tough to follow, and the forums have significantly less eyes looking at them compared to the Discord. Share the full log, or consider sharing the log to Discord.

civic cryptBOT
#

Abelpro678 started a thread called How will the removal of .io websites impact PaperMC?.

Hi,
If you didn't know, .io domains will cease to exist in the future. You can find more on that and why here.
How will this impact PaperMC in the future and what will the new domain be in the future?
This is also a kind of heads up for people who didn't know this.

Anyways, have a great rest of your day!

civic cryptBOT
#

MiniDigger replied to the thread How will the removal of .io websites impact PaperMC?.

We are aware of that post. There has been no public report by IANA yet, so we don't know if and what will change. Removal of existing domains is pure speculation, there is no real precedent.
Paper owns additional domains that could be used, for example PaperMC.dev which we use for staging purposes right now, but we don't have anything to announce at this time since we haven't made any plans since there isn't any problem right now. If IANA really makes the (dumb) decision to remove existing...

civic cryptBOT
#

YeetDabMcFapDab started a thread called tried running a 1.16.5 paper server got "Unsupported Java detected (61.0). Only up to Java 16 is supported." while having java 8 and java 17 installed.

tried running a 1.16.5 paper server and got the "Unsupported Java detected (61.0). Only up to Java 16 is supported." error when trying to run the jar file with a bat command and the 'pause' arguement to see the error
I have both java 8 (C:\Program Files (x86)\Java\jre1.8.0_421\bin) and java 17 (C:\Program Files\Java\jdk-17) installed

I downloaded the server jar file off of https://papermc.io/downloads/all

I added C:\Program Files (x86)\Java\jre1.8.0_421\bin to the both system and user PATH

civic cryptBOT
#

mbaxter replied to the thread tried running a 1.16.5 paper server got "Unsupported Java detected (61.0). Only up to Java 16 is supported." while having java 8 and java 17 installed.

Please don't run such outdated versions with likely exploits and other less exciting bugs. Please run the latest 1.21.1 which is the currently supported version.

civic cryptBOT
#

jeongjo1 started a thread called Continuous lag, warnings, and errors on paper server.

I ran a Minecraft paper server on a laptop (but not a low spec), not a high spec, and was enjoying Minecraft with 2 users, myself included.

One day, when I was on the server, I was in the y-coordinate below -64, and it was falling down more and more. I think this is because I entered the server before the chunk I was standing on was rendered.

So eventually I ran the command /kill @s and got back to my Sponge. But there was a bigger problem. It was lagging too much. It was five times more...

civic cryptBOT
#

stefvanschie replied to the thread Server Problem.

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
#

stefvanschie replied to the thread Continuous lag, warnings, and errors on paper server.

A laptop is not going to be a great solution for running a Minecraft server because of the low performance. If you have a bit more RAM to spare, I'd suggest increasing the -Xmx and -Xms of the server, since a maximum of two gigabytes is quite low. However, if possible, I'd still suggest getting an actual server from a server provider, since it's far better equipped to running servers.

civic cryptBOT
#

ZeoredByte replied to the thread Server Problem.

Hello. Can someone help me understand what this problem is about... I'm always running into it. Since the beginning of the server. I don't understand what causes this problem or where I can find a solution. If anyone has experienced it before or has a suggestion, I would be grateful.

[03:16:11 WARN]: [spark] Timed out waiting for world statistics
[03:16:16 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - 1.21.1-119-7cd4f2c (MC: 1.21.1) ---
[03:16:16 ERROR]: The...

civic cryptBOT
#

Kent_HD replied to the thread Server Problem.

My configuration is: Intel 9900k 8vcore x 4.2 ghz
storage SSD 16 GB RAM - ultimate verios of debian

it's a smaller server, not with very high turnover... I started having the problem when I switched to version 1.21.1
I tried different ones, but I can't identify the problem

the problem occurs even when there is no one on the server. out of the blue it doesn't respond for a few seconds and gives an error.

civic cryptBOT
#

LaumTop started a thread called getInstance() why get null.

Hello. I tried to use getLogger(), but I got this error - 17:54:21 ERROR]: Error occurred while enabling Test1 v1.0 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "LT.test2.Test2.getLogger()" because "this.test" is null. How I can fix it

Code here -

package LT.test1;

import LT.test2.Test2;
import org.bukkit.plugin.java.JavaPlugin;

public final class Test1 extends JavaPlugin {

Test2 test;

@Override
public void onEnable() {
test = Test2.getInstance()...

#

electronicboy replied to the thread getInstance() why get null.

make sure that you're not shading plugin 2 into plugin 1

civic cryptBOT
#

LaumTop replied to the thread getInstance() why get null.

make sure that you're not shading plugin 2 into plugin 1

This is 2 different projects, with diffirent pom.xml and plguin.yml. Here I add project files

civic cryptBOT
#

gamer grh started a thread called Starting up then crashing....

Hello, I have am trying to start my first server for me and some friends yet PaperMC keeps crashing after opening. It reaches the threads part then a bunch of exceptions are thrown. I don't know why this happens. If anyone could help that would be great. My specs for the laptop I am using are, Intel i5 5200U, 16gb ddr3 1600mhz ram, and a slow hard drive I don't know the speed on. Using the vanilla minecraft server files work and allocating 10gbs of rams yet PaperMC doesn't even when only...

civic cryptBOT
#

gamer grh replied to the thread Starting up then crashing....

How can I input the log, I don't know where to find it?

#

mbaxter replied to the thread Starting up then crashing....

Logs can be found in the logs folder. The one you want is named latest.log

For faster support than the forum, our discord tends to be easier for back and forth of smaller questions like this.

#

gamer grh replied to the thread Starting up then crashing....

Thanks, i'll be sure to join but i'll also add the logs here.

civic cryptBOT
#

LaumTop replied to the thread getInstance() why get null.

Some more info. If I in getInstance() return for example int and number 1. I get this value, and I dont get Null exception

civic cryptBOT
#

gamer grh replied to the thread Starting up then crashing....

I have added the log file as an attachment to this reply

civic cryptBOT
#

stefvanschie replied to the thread Starting up then crashing....

It doesn't seem like you have, could try posting your log file again?

civic cryptBOT
#

mbaxter replied to the thread Starting up then crashing....

User received support on Discord. Solution involved downgrading Java from 23 to 21 :)

civic cryptBOT
#

maggotnap started a thread called Server getting spammed with every animal/monster name and / commands no longer working.

Hi. Needs some advise here.
I have installed papermc 1.21 on my ubuntu server with docker. Process:

  1. Installed with no issues from (marctv/minecraft-papermc-server:latest)
  2. Installed plugins (Muliverse core & portals, luckperms, world edit)
  3. Brought over some worlds from my existing Paper 1.19 server (locally installed not docker)
  4. Everything is running fine and works.

I have replicated my issue on two launchers. (Official Launcher and SKLauncher)
I have deleted the container...

civic cryptBOT
#

Antike Biene started a thread called Disabling Villager Panicking.

Hello dear PaperMC-Community!

I am trying to stop a villager from panicking (when a hostile mob is nearby).
Bukkit.getMobGoals().removeGoal((Villager) memberEntity, VanillaGoal.PANIC);

This code did nothing. It is in a method that is executed during an EntitySpawnEvent with a delay of one tick (tried 3 ticks too). I checked if memberEntity isn't right but the variable refers to the entity I target. I also tried doing it via a scheduled task every 5 ticks or so but they still panicked the...

civic cryptBOT
#

electronicboy replied to the thread Disabling Villager Panicking.

Villagers don't use the older goals system, they use the newer brain system which is not exposed in the API yet

civic cryptBOT
#

maggotnap replied to the thread Server getting spammed with every animal/monster name and / commands no longer working.

Looking into this more and here is some more of the server log that seems odd.

....[10:34:14 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
....[10:34:14 ERROR]: ------------------------------
....[10:34:15 WARN]: [spark] Timed out waiting for world statistics
....[10:34:15 WARN]: Can't keep up! Is the server overloaded? Running 15784ms or 315 ticks behind
....[10:34:25 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - 1.21.1-122-4430e96...

#

electronicboy replied to the thread Server getting spammed with every animal/monster name and / commands no longer working.

Your server is taking too long to tick; you would need to provide the full log and, ideally a spark report

spark is a profile bundled in Paper for troubleshooting performance-related issues. Please run /spark profiler start --only-ticks-over 500 --timeout 300 while the performance issue persists.

civic cryptBOT
#

Buasas started a thread called Problem with proxy.

Hey. I had a really strange situation on my Minecraft server network. I’m using a Velocity proxy with two Paper servers. I'm using the "modern" mode on Velocity.

Description of the issue: Suddenly, I noticed that a member of my staff gave the default rank (LuckPerms) * permissions, which was completely impossible because that person was physically sitting next to me with their computer, and I could see what they were doing. Moreover, in the Paper server logs, they were executing a...

civic cryptBOT
#

bm380 started a thread called Paper Server has crashed: fatal error in Java Runtime Envoirement.

I have set up and started a Minecraft server with Paper on my Raspberry Pi 5 (8GB RAM). Whenever I start the server, after some time or when a player joins, an error appears (see end). This was the only place I could possibly find help on the error, so I posted this here. I have attached the log file mentioned in the error message here.
If there are any grammar mistakes, sorry. I use a translator.

Error:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at...

civic cryptBOT
civic cryptBOT
#

maggotnap replied to the thread Server getting spammed with every animal/monster name and / commands no longer working.

Thanks.

I have run the command in my lobby world and nothing is show as the server never lags. However when I teleport to the issue world and run the command (before the server dumps), I get a timeout message and never get a message of the URL for Spark.

I have deleted the world as it is the only one that causes these issues.

Thanks for your help anyway

civic cryptBOT
#

Rinuuri started a thread called Paperweight NMS Multiversioning.

I am trying to make my plugin support multiple versions with NMS and paperweight-userdev, as I understand I need to copy all NMS using classes and implement them for each supported version, but I don't know how to import all that versions at the same time for compiling, I can compile and use my 1.20 and my 1.17 implementations by their own and they are working fine but paperweight doesn't allow to use 2 dev bundles at the same time so i can't compile 1.20 and 1.17 implementations into the...

civic cryptBOT
civic cryptBOT
#

xyndex started a thread called NoSuchMethodError: Bukkit.getServer().getCommandMap() (1.21).

So I'm trying to get CommandMap on 1.21 server with different APIs includes 1.21 but I'm getting error...

java.lang.NoSuchMethodError: 'org.bukkit.command.CommandMap org.bukkit.Bukkit.getCommandMap()'
at test.test.Test.onEnable(Main.java:11) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342)...

civic cryptBOT
civic cryptBOT
#

electronicboy replied to the thread NoSuchMethodError: Bukkit.getServer().getCommandMap() (1.21).

use methods that exist on both paper and spigot; The only alternative to this thing on spigot would be to utilise internals to access the command map, i.e. using reflection to get access to it

civic cryptBOT
#

JustEnotik started a thread called My LuckyPerms on velocity bad working.

I have velocity and paper server hub

Plugins on velocity:
LuckPerms-Velocity-5.4.142

Plugins on hub:
ChatEx
PlaceholderAPI-2.11.6
TAB.v5.0.0
Vault

I writing in chat "!hello" or "hello"
ChatEx writing "I don`t have permission"

Velocity logs:

Active code page: 65001
[13:48:40 INFO]: Booting up Velocity 3.3.0-SNAPSHOT (git-2016d148-b436)...
[13:48:41 INFO]: Loading localizations...
[13:48:41 INFO]: Connections will use NIO channels, Java compression, Java ciphers
[13:48:41 WARN]: The proxy...

civic cryptBOT
#

stefvanschie replied to the thread My LuckyPerms on velocity bad working.

You're probably better off asking LuckPerms developers for support, as this is about their plugin and not about Velocity itself.

civic cryptBOT
#

JustEnotik replied to the thread My LuckyPerms on velocity bad working.

You're probably better off asking LuckPerms developers for support, as this is about their plugin and not about Velocity itself.

Okay, thanks

#

electronicboy replied to the thread My LuckyPerms on velocity bad working.

LP only applies to the piece of software it is on; The backend server cannot see what LP on the proxy is doing. Install it on ALL your servers (and the proxy), and then if desired, see their network setup guide

civic cryptBOT
#

xyndex replied to the thread NoSuchMethodError: Bukkit.getServer().getCommandMap() (1.21).

use methods that exist on both paper and spigot; The only alternative to this thing on spigot would be to utilise internals to access the command map, i.e. using reflection to get access to it

so.. reflection?

civic cryptBOT
#

brettdesilets replied to the thread 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 for years, they also mean that there is...

civic cryptBOT
#

Pepf started a thread called Why do my commands not work?.

this is in the paper-plugin.yml
commands:
food:
description: Gives a stack of food!
usage: /<command>
freehealth:
description: Gives free health!
usage: /<command>

This is the code in the main class:

if (command.getName().equalsIgnoreCase("food"))
{
if (sender instanceof Player) {
Player p = (Player)sender;
p.getInventory().addItem(new ItemStack(Material.COOKED_BEEF, 64))...

civic cryptBOT
#

User670 replied to the thread Villager restocking differences to Vanilla.

Have the same issue.

To reproduce, perform the following action on both vanilla 1.21.1 and Paper 1.21.1:

give a villager the toolsmith trade
buy from this villager until their first level up (this unlocks the iron ingot trade)
sell iron ingots until out of stock
wait for the villager to restock
observe the iron ingot trade price

Vanilla has the price stay at 4, while Paper has this increased to 6.

#

electronicboy replied to the thread Why do my commands not work?.

paper-plugin.yml does not let you define commands, if you're not using any paper plugin specific features, rename the file to plugin.yml, otherwise, you would need to register commands dynamically

civic cryptBOT
civic cryptBOT
#

stefvanschie replied to the thread the problem with the time of despawn of discarded items.

Try testing this without plugins if you haven't already. Plugins like ClearLagg and similar will often remove items from the ground at different intervals than vanilla.

civic cryptBOT
#

Mixter213 started a thread called Paper - Velocity command aliases.

Hello, does anyone know of a plugin or could provide some information on how to allow players to trigger an aliased command on the server, and still be functional on the proxy backend.

for example, let's say I have a store, and to get to said store the default command is /donation, and I change it to /store, but the /store command only exists on paper and not the proxy(what was waterfall), so it doesn't trigger.

this was done through a few plugins like. . .

BungeeCommands : Custom...

civic cryptBOT
#

harttman started a thread called command error.

[07:37:54 ERROR]: Error occurred while enabling SkyPlugin v1.0-SNAPSHOT (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "org.bukkit.command.PluginCommand.setExecutor(org.bukkit.command.CommandExecutor)" because the return value of "org.bukkit.Server.getPluginCommand(String)" is null
at org.harttman.skyPlugin.SkyPlugin.onEnable(SkyPlugin.java:12) ~[skyplugin-1.0-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281)...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

creamgod45 started a thread called try createBlockData got java.lang.NullPointerException: null.

Server Version: paper-1.21.1-130.jar , paper-1.21.1-128.jar
JDK: 21

I have tried three ways to create it but none of them worked and the error message shown in the picture appeared. Does anyone have a better way?
error log
World world = player.getWorld();
Location location = player.getLocation();
BlockDisplay display = world.spawn(location, BlockDisplay.class);
// 1
display.setBlock(Material.END_CRYSTAL.createBlockData());
// 2
display.setBlock(Bukkit.createBlockData(Material.END_CRYSTAL))...

civic cryptBOT
#

creamgod45 replied to the thread try createBlockData got java.lang.NullPointerException: null.

ItemDisplay itemDisplay = world.spawn(location, ItemDisplay.class, entity -> {
entity.setItemStack(new ItemStack(Material.END_CRYSTAL));
});

int duration = 5 * 20; // duration of half a revolution (5 * 20 ticks = 5 seconds)

Matrix4f mat = new Matrix4f().scale(0.5F); // scale to 0.5x - smaller item
Bukkit.getScheduler().runTaskTimer(plugin, task -> {
if (!itemDisplay.isValid()) { // display was removed from the world, abort task
task.cancel();
return;
}...

civic cryptBOT
civic cryptBOT
#

Mixter213 replied to the thread Paper - Velocity command aliases.

I'm curious if either of you are able to use it. as the plugin was last updated in 2015 and broke 2 or 3 Bungee versions ago. and this was used with paper / waterfall before. i don't know how it would work with velocity.

civic cryptBOT
civic cryptBOT
#

Maplef_snow replied to the thread TNT behaiving wierdly on papermc.

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 figure out what caused the difference between the falling TNT on the papermc server and vanilla as I the build in papermc and vanilla is exactly the same and if there is anything I...

civic cryptBOT
#

electronicboy replied to the thread TNT behaiving wierdly on papermc.

from what I recall of somebody commenting on this kind of build, one issue was spigots config option to limit how much TNT can explode in a tick

civic cryptBOT
#

Maplef_snow replied to the thread TNT behaiving wierdly on papermc.

from what I recall of somebody commenting on this kind of build, one issue was spigots config option to limit how much TNT can explode in a tick

Yeah, that works. Thanks.

By the way, I found a setting fix-entity-position-desync in paper-global.yml. Does this influence TNT behaviour in server?

civic cryptBOT
#

Tayshawn started a thread called Item despawning upon death.

On the paper server I'm on, 1.21.1. There seems to be a really weird edge case where your spawn resets and your items despawn upon death.

It's only happen 3 times that I know of but they all go something like, we die, spawn at world spawn with the "Bed was missing or obstructed" message, go back to items only a few minutes (or seconds in one of the cases) and the items are all gone.

I've died hundreds of times and it's only happened once to me personally, and I know that I at the very...

civic cryptBOT
#

alexaali replied to the thread Starting up then crashing....

Hello, I have am trying to start my first server for me and some friends yet PaperMC keeps crashing after opening. It reaches the threads part then a bunch of exceptions are thrown. I don't know why this happens. If anyone could help that would be great. My specs for the laptop I am using are, Intel i5 5200U, 16gb ddr3 1600mhz ram, and a slow hard drive I don't know the speed on. Using the vanilla minecraft server files work and allocating 10gbs of rams yet PaperMC doesn't even when only...

#

electronicboy replied to the thread TNT behaiving wierdly on papermc.

Yeah, that works. Thanks.

By the way, I found a setting fix-entity-position-desync in paper-global.yml. Does this influence TNT behaviour in server?

No, this only impacts item entities by limiting their ability to move in a manner that is supported by the protocol

civic cryptBOT
civic cryptBOT
#

muxira started a thread called How do I set up groups so that I can't make changes to a higher ranked group? Paper 1.21.1 LuckPerms.

I use the LuckPerms plugin for my server.
The idea is that a player with the group “sheriff” could change the groups of those players with group = [“police”, “bandit”, “default”], but players with group = [admin,moderator] can not.
How can this be realized?
List of plugins:

civic cryptBOT
civic cryptBOT
#

medveed started a thread called Disallowing player to move minecart.

I am trying to create a some kind of train system. A train is basically just a minecart with some additional NBT.

I want to make player unable to control the minecart or push it, so the player just sits in it, but the minecart should be able to move as it usually does.

I think that onVehicleMove event is what I need, but I don't know how to check if a minecart movement was made by player.

civic cryptBOT
#

thelooter started a thread called MockBukkit: A Testing Framework for Minecraft Plugins.

Introduction

Hey people of Paper! We just released version 4.0 of MockBukkit, a testing framework that makes unit testing Paper/Spigot plugins straightforward and efficient. If you've been thinking about adding tests to your plugins, now might be a great time to start!

What is MockBukkit?

MockBukkit provides mock implementations of the Bukkit API, allowing you to write unit tests for your plugins without running a server. This means you can verify your plugin's behavior quickly and...

civic cryptBOT
#

Zor1s started a thread called Cannot invoke "net.minecraft.server.network.ServerGamePacketListenerImpl.latency()" because "player.connection" is null.

I'm trying to port my 1.21 plugin to 1.21.3 and trying to port NPC spawning. Before, I used to spawn them with NMS like this:
connection.send(ClientboundPlayerInfoUpdatePacket(ClientboundPlayerInfoUpdatePacket.Action.ADD_PLAYER, npc))
connection.send(ClientboundAddPlayerPacket(npc))

But now I'm trying to do it with
connection.send(ClientboundPlayerInfoUpdatePacket.createSinglePlayerInitializing(npc, false))

and getting this error:
Caused by: java.lang.NullPointerException: Cannot invoke...

civic cryptBOT
#

Tanya started a thread called Crash paperspigot 1.12.2 idk.

From time to time when a player disconnects, the server stops responding and then displays this.
I don't think this message is related to the crash, but I wonder if anyone has already had the problem? having no error message during the crash, this message is displayed for 15 seconds without a paper response.

#

mbaxter replied to the thread Crash paperspigot 1.12.2 idk.

1.12 is incredibly outdated and entirely unsupported. Run 1.21.1 or newer! :)

civic cryptBOT
#

xBengie replied to the thread Server Problem.

Also got the same issue.

I hope there will be a fix in the foreseable future.

civic cryptBOT
#

ZeoredByte replied to the thread Server Problem.

Also got the same issue.

I hope there will be a fix in the foreseable future.

Mine ended up being because I was using HDDs. Minecraft makes a bunch of little writes every so often. My HDDs were trying to save lifespan and not be spinning all of the time. Switched to a solid state for my instance and the issue went away entirely.

civic cryptBOT
#

thomerow started a thread called Cannot place torch on wall.

Hello everyone! I cannot for the life of me figure out how to place a torch on a wall programmatically. What I tried so far is the following, but in both cases the torches just hover in mid air inan upright position one block before the wall I want to place them on:

The first idea was doing the following (for simplicity just assume that I determined the correct block face beforehand):

Block blk = world.getBlockAt(x, y, z);
Block wallTorchBlock = blk.getRelative(BlockFace.WEST)...

civic cryptBOT
#

mariahcarey replied to the thread Cannot place torch on wall.

Depending on the programming environment or game engine you're using, you may need to specify the orientation of the torch. This often involves setting a metadata value that indicates which face the torch is attached to.
function placeTorchOnWall(wallBlock, wallFace): fnaf
if isValidWallFace(wallBlock, wallFace):
torchPosition = calculateTorchPosition(wallBlock, wallFace)
setTorchOrientation(torchPosition, wallFace)
placeTorchAt(torchPosition)

civic cryptBOT
#

thomerow replied to the thread Cannot place torch on wall.

I figured it out myself! First of all I didn'tknow that there also is a WALL_TORCH material which you have to use instead of WALL. 🤦🏻‍♂️ Secondly there seems to be an odd quirk with the correct "facing" values for wall torches. For example, if the block the torch should appear on faces WEST, the torch has to face NORTH, when the block faces EAST, the torch has to face SOUTH etc.

My code ended up looking like this:

Block blkWall = world.getBlockAt(x, y, z);
Block blkTorch =...

civic cryptBOT
#

bettyking replied to the thread How do I set up groups so that I can't make changes to a higher ranked group? Paper 1.21.1 LuckPerms.

I use the LuckPerms plugin for my server.
The idea is that a player with the group “sheriff” could change the groups of those players with group = [“police”, “bandit”, “default”], but players with group = [admin,moderator] can not.
How can this be realized? io games

List of plugins:

For the sheriff group, you will need to give them permission to manage the other groups. You can use the following command:
/lp group sheriff permission set luckperms.group.police true
/lp group sheriff...

civic cryptBOT
#

rqiiz_ started a thread called Error when connection to MongoDB database.

Hello, I have this error when i want to connect me to a mongoDB database.
This code worked fine with a simple java class but not when i implement it into a plugin.

public void connectBdd() {
System.out.println("Connecting to BDD");
String connectionString = "mongodb+srv://<user><pwd>@throughthetimeless.5e0sk.mongodb.net/?retryWrites=true&w=majority&appName=ThroughTheTimeless";
MongoClient mongoClient = MongoClients.create(connectionString);

}

civic cryptBOT
#

VexTV started a thread called Error when trying to start papermc jar.

Hi, I wanted to self host a paper server for dev.
My dev server is on linux ubuntu, when I start the .jar I get this error:

Failed to download mojang_1.20.6.jar
java.net.NoRouteToHostException: No route to host

I searched on the internet why and found that my server was infected by viruses but I didn't install any plugin. I even reinstalled Ubuntu Server but it didn't solve my problem.

My server is running Ubuntu Server
Have a static IP (could be this)

#

electronicboy replied to the thread Error when trying to start papermc jar.

That's not a virus, that's a network configuration issue, stale DNS servers, etc. really depends on your setup, but, not something I can advise on

civic cryptBOT
#

LinuxCat started a thread called Generate a dimension with a set list of biomes?.

Hello,
I am looking to generate a dimension/world with a list of biomes.
Specifically, I want my plugin to generate during runtime and to remove oceans from the dimension.
Is that possible with the current API? Are custom dimensions supported or only worlds?
Thanks

civic cryptBOT
#

Sefonn replied to the thread My string farm doesn't work.

In the config folder, in the paper-global.yml file. There you have the option unsupported-settings -> allow-tripwire-disarming-exploits.

yeah i dont see this file either

civic cryptBOT
#

TehBrian replied to the thread 1.21.3.

epic, i’m super excited to rework iteminator with the new item api

civic cryptBOT
#

outsmile started a thread called Issue regarding joining server.

Hey, currently am attempting to log into my server but each time I receive this error from Velocity. Please help if possible. Thanks!

civic cryptBOT
#

ElShala replied to the thread Chunk loading not working (1.18.1)- Wither Mob Switch.

I got my mob switch to work on paper by changing

188 "per-player-mob-spawns" to false

146 "count-all-mobs-for-spawning" to true

Sorry for the delay of almost 3 years xD

civic cryptBOT
#

hmr started a thread called Banned on Discord server.

hmr

Hello,
I would like to appeal from a Discord ban, I can't join the appeal server, because when I try to do it, it reloads the app and doesn't let me in. I strongly believe that my Discord account was banned without a proper reason, I could discuss and explain. How can I contact the staff to appeal?
Thanks for understanding.
BTW. every "contact us" in the Help tab doesn't work.

civic cryptBOT
#

Camm replied to the thread Banned on Discord server.

I can't join the appeal server, because when I try to do it, it reloads the app and doesn't let me in.

Could you please elaborate what you mean by "reloads the app"?
Can you also provide your Discord username so we can have a look into it?

#

MiniDigger replied to the thread Banned on Discord server.

To provide some context, you get kicked from the appeal guild when we have no record of your ban. That can either be because it was years ago and not properly imported into our new system or because your user isn't banned but you are affected by a ban of another user, discord sometimes bans the IP.
In any case, we need the discord name to provide more help.
The contact us page seems to be disabled for spam reasons, we will look into enabling that again, but you can always reach us via mail...

civic cryptBOT
#

SpektrSoyuz started a thread called Invalid Plugin Exception: Did not find a valid velocity-plugin.json.

Hi, When I start a Velocity server with my plugin, it gives the following error:

[17:20:47 ERROR]: Unable to load plugin plugins\dataplugin-1.0.0.jar
com.velocitypowered.api.plugin.InvalidPluginException: Did not find a valid velocity-plugin.json.
at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.loadCandidate(JavaPluginLoader.java:65) ~[velocity.jar:3.4.0-SNAPSHOT (git-9cfcfcf2-b451)]
at...

civic cryptBOT
civic cryptBOT
#

RANEMUNA started a thread called Shulker dupe.

-open Shulker
-Break the shulker while in its inventory
-inventory will stay open and if you take loot out it will still be in the shulker and in your inventory.

Please Help me quickly because I want to activate shulkers again fast

Thanks :)

civic cryptBOT
#

hmr replied to the thread Banned on Discord server.

hmr

To provide some context, you get kicked from the appeal guild when we have no record of your ban. That can either be because it was years ago and not properly imported into our new system or because your user isn't banned but you are affected by a ban of another user, discord sometimes bans the IP.
In any case, we need the discord name to provide more help.
The contact us page seems to be disabled for spam reasons, we will look into enabling that again, but you can always reach us via mail...

civic cryptBOT
#

odissweatt started a thread called Paper Mc not working.

Hello,
I tried to use Paper mc 1.21 and Playit to run a minecraft server, but when i try to start the paper mc jar file it doesn't work, im on java 21 and here's the error:

[WARN] Install JVM debug symbols to improve profile accuracy

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0000000000000000, pid=22854, tid=23101

JRE version: OpenJDK Runtime Environment (21.0.4+7) (build 21.0.4+7-Ubuntu-1ubuntu222.04)

Java VM: OpenJDK 64-Bit Server...

civic cryptBOT
#

Mowits started a thread called My server doesnt open.

[17:37:42 ERROR]: Encountered an unexpected exception
org.spongepowered.configurate.loader.ParsingException: []: Unknown error occurred while loading
at org.spongepowered.configurate.loader.AbstractConfigurationLoader.load(AbstractConfigurationLoader.java:165) ~[configurate-core-4.2.0-SNAPSHOT.jar:?]
at org.spongepowered.configurate.loader.AbstractConfigurationLoader.load(AbstractConfigurationLoader.java:63) ~[configurate-core-4.2.0-SNAPSHOT.jar:?]
at...

civic cryptBOT
#

Fabs_gb started a thread called PaperMC does not start linux.

I have downloaded the Server.jar file but when I try to start it via the terminal I just get the error "Error: Unable to access jarfile server.jar" and I don't know how to fix the error. I use RaspberryPi OS and the following command: "java -Xms5120M -Xmx5120M -jar server.jar"

civic cryptBOT
#

electronicboy replied to the thread PaperMC does not start linux.

your jar is not called servar.jar, you need to make sure that the paper jar is in whatever folder you're running that command in, and is called whatever name your script is expecting

#

electronicboy replied to the thread My server doesnt open.

1.21.1 is basically no longer supported, but, you have a bad world defaults yaml file (inside of the config folder)

civic cryptBOT
#

FDxMinh started a thread called crafting guide issue.

version 1.21.3 ver 81 I currently see a crafting guide error. In the crafting table, when there are enough materials, there will be crafting suggestions, but version 1.21.3 has some bug that causes some crafting suggestions to still appear even when there are not enough materials, clicking on them also does not suggest crafting instructions in the crafting table. I don't know if anyone else has this problem, I also tried 1.21.1 before and it was normal

civic cryptBOT
#

FDxMinh replied to the thread crafting guide issue.

Maybe because client version 1.21.1 when connecting to server 1.21.3 will be.

civic cryptBOT
#

Fabs_gb replied to the thread PaperMC does not start linux.

your jar is not called servar.jar, you need to make sure that the paper jar is in whatever folder you're running that command in, and is called whatever name your script is expecting

Thank you now evrything is working fine.

civic cryptBOT
#

Fabs_gb started a thread called Problem starting PaperMC RaspberryPi..

Iḿ using the Folowing command to start the server: "java -Xms5120M -Xmx5120M -jar /home/fabsgb/CraftsOfTheForgotten/paper-1.21.3-81.jar" but im only getting
"Downloading mojang_1.21.3.jar
Applying patches
Starting org.bukkit.craftbukkit.Main
Exception in thread "ServerMain" java.lang.UnsupportedClassVersionError: org/bukkit/craftbukkit/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file...

civic cryptBOT
#

palladium started a thread called turtle die under water.

spawn turtle under water
a few seconds turlte will die

civic cryptBOT
#

stefvanschie replied to the thread crafting guide issue.

Looking at the image, you seem to be running some mods. I'd recommend reproducing this without mods to see if this still occurs.

#

stefvanschie replied to the thread Problem starting PaperMC RaspberryPi..

You are running Java 17, but you need at least Java 21 to run the server. You should update your Java installation.

civic cryptBOT
#

Fabs_gb replied to the thread Problem starting PaperMC RaspberryPi..

You are running Java 17, but you need at least Java 21 to run the server. You should update your Java installation.

How can i update Javaß

civic cryptBOT
#

Fabs_gb started a thread called File Generation.

Is there any way to change how the files on the server, such as the world, are generated?

civic cryptBOT
#

MakotoPD started a thread called Velocity + Paper error. Player can't connect.

Hi.
I've been setting up a survival server for a few weeks and recently decided to add a server with a lobby and proxy.
At the moment I have 3 servers: suvival (paper), lobby (paper), proxy (velocity)

After configuring everything on the proxy. When I add the limboauth plugin on the proxy then I cannot connect to the survival server after the proxy.
When trying to connect to the survival server, these errors are displayed:
https://pastes.dev/PMPjBP9XgQ

velocity logs:

[23:31:00 INFO]...

#

MakotoPD replied to the thread Velocity + Paper error. Player can't connect.

Sometimes logs look like this:

[22:49:48 INFO]: UUID of player MakotoPD is 5c564705-bce0-3d19-ba73-77c809fae16a
[22:49:53 WARN]: [ItemsAdder] 'MakotoPD' is using a different protocol version of the game (-1) than the server (767).
[22:49:53 WARN]: [ItemsAdder] This may cause issues. Do not report bugs if you are using a different version of the game than the server.
[22:49:53 INFO]: + MakotoPD
[22:49:53 INFO]: MakotoPD lost connection: Disconnected
[22:49:53 INFO]: - MakotoPD
[22:49:54...

civic cryptBOT
#

stefvanschie replied to the thread File Generation.

You can specify startup parameters to change the plugins directory with the -P parameter and the world directory with -W. For example:
java -jar paper.jar -P custom_plugins -W custom_worlds

civic cryptBOT
#

Fabs_gb replied to the thread File Generation.

You can specify startup parameters to change the plugins directory with the -P parameter and the world directory with -W. For example:
java -jar paper.jar -P custom_plugins -W custom_worlds

Could you modify my command: "java -Xms5120M -Xmx5120M -jar /home/fabsgb/Desktop/Server/CraftsOfTheForgotten/paper-1.21.3-81.jar " so that all files in "/home/fabsgb/Desktop/Server/CraftsOfTheForgotten" are generated?

civic cryptBOT
civic cryptBOT
#

ringpolice started a thread called Integer based arguemnts.

Hello everyone, this is my first post on the papermc forums, and my second papermc plugin.

I am using LiteralArgumentBuilder to create a countdown command with an optional timer mode, how do I check if an argument is strictly an integer using the .then(Commands.literal("/argumenthere/") builder?

My code is as follows, I am utilizing a buddies framework shown below as popcorn, I'd ask him but he's away on vacation :ROFLMAO:

@SuppressWarnings("UnstableApiUsage")
public class...

civic cryptBOT
#

HoneyBerries replied to the thread My string farm doesn't work.

when i set allow-tripwire-disarming-exploits to true, I still can't abuse the glitch. When I try to resetup the duper, in the part where I shear the string, that part just fails and breaks the string

#

EterNity replied to the thread My string farm doesn't work.

Your version of Paper is no longer supported, anything that's not working will not be fixed especially one marked as unsupported setting.

civic cryptBOT
#

EterNity replied to the thread My string farm doesn't work.

That will be one solution if you do choose to do so yes, just know that Mojang also officially removed the dupe in the later version.

#

HoneyBerries replied to the thread My string farm doesn't work.

are there any other solutions so I don't have to go through the dreaded process of making the plugin for this?

civic cryptBOT
#

NotAHackusator started a thread called Some inventory events just don't work. At all..

Even on the highest priority and with ignoreCancelled = true, some inventory events just don't work.
The one I've tested that don't work: InventoryOpenEvent, InventoryEvent, InventoryPickupItemEvent
The one I've tested that DO work: InventoryClickEvent, InventoryDragEvent, InventoryCloseEvent

I've implemented handlers for all of these events in the same class (which ofc implements Listener). That class is registered to listen to events.
Code:

private void inventoryEvent(Inventory...

civic cryptBOT
#

Nacio replied to the thread Some inventory events just don't work. At all..

InventoryOpenEvent doesn't work on opening the player's own inventory, as far as the server is concerned the player always has their own inventory open; make sure you haven't tested if it works using that.
InventoryEvent just as many other events that have subclasses can't be listened to.
InventoryPickupItemEvent (click to see Javadoc) isn't for players.

If you have any other questions feel free to ask on our Discord, you'll likely get answers there quicker.

civic cryptBOT
#

motomoto54 started a thread called : Unable to read/load/save your velocity.toml. The server will shut down. ??.

[20:09:33 ERROR]: Unable to read/load/save your velocity.toml. The server will shut down.
com.electronwill.nightconfig.core.io.ParsingException: Invalid TOML data: entry "[try]" defined twice in its table.
at com.electronwill.nightconfig.toml.TableParser.checkDuplicateKey(TableParser.java:89) ~[server.jar:3.3.0-SNAPSHOT (git-00ef92bc-b312)]
at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:60) ~[server.jar:3.3.0-SNAPSHOT (git-00ef92bc-b312)]...

civic cryptBOT
#

Xuho started a thread called Too many packets issue with creative..

Xuho lost connection: Kicked for exceeding packet rate limit
Basically when I am in creative mode, with a sword in my hand, and I leave the left-click pressed, after some seconds I get kicked for sending too many packets.

civic cryptBOT
#

builtdoor started a thread called Help with TAB, different scoreboards for different worlds.

Hello, I want to know how I can set up different scoreboards with stats for different worlds. here is my config:

scoreboards:
scoreboard-1.20.3+:
title: §l§4WestPvP
display-condition: '%player-version-id%>=765'
lines:
- '&4Stats:'
- ' &bKills&7: &f%wip%'
- ' &bDeaths&7: &f%wip%'
- ' &bKDR&7: &f%wip%'
- ' &bStreak&7: &f%wip%'
- §4westpvp.us
- '&7%date%'
scoreboard:
disable-condition: '%world%=world'
title...

civic cryptBOT
civic cryptBOT
civic cryptBOT
civic cryptBOT
#

dannyx replied to the thread The future of Paper - Hard fork.

Nice. So exited to see the new api changes 👀

civic cryptBOT
#

MrPowerGamerBR replied to the thread The future of Paper - Hard fork.

The hard fork is real! can we get much higher plays in the background

Congrats to the Paper team!

civic cryptBOT
civic cryptBOT
#

Geri replied to the thread The future of Paper - Hard fork.

Wow, we got Paper Soft Spoon before GTA VI! Super exciting 😍

civic cryptBOT
#

LoJoSho replied to the thread The future of Paper - Hard fork.

What a great Christmas gift the Paper team has given us ❤️

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Camm replied to the thread Help with TAB, different scoreboards for different worlds.

Hey @builtdoor, this subforum is for help with Paper itself, so you're better off asking the TAB support this kind of question - given it's their plugin you're much more likely to find an answer. They have a support Discord linked on their resource page.

civic cryptBOT
#

bambolumba started a thread called Ping spikes after teleportation/joining the server.

My players and I, among others, experience ping spikes when they log on to the server or teleport. At the same time, with any other actions, the ping is normal, for me it always stays around ~ 20.

I think this is not a performance problem, the CPU load is kept at a minimum, the RAM is not full. I note that when teleporting, the player immediately downloads the world around him, but because of the huge ping in the first couple of seconds, he cannot do anything.

And so, is this a Paper...

civic cryptBOT
#

bambolumba replied to the thread Ping spikes after teleportation/joining the server.

Okay, I probably have found the reason. Seems like it was built-in anti-xray. After disabling me and others doesnt have problems with ping. At least for now

I used the standard configuration with engine-mod 2. Are there any ways to optimize it? Maybe someone can share a ready-made setup?

theres config that i used (just default, i have only enabled it and change engine-mod to 2)

anti-xray:
enabled: false
engine-mode: 2
hidden-blocks:
- copper_ore
- deepslate_copper_ore...

#

electronicboy replied to the thread Ping spikes after teleportation/joining the server.

login and teleporting are two points in which a client is going to be flooded with chunk packets, and anti x-ray only reduces the compressibility of those packets. You can use mode 3 to improve packet compressibility which should aid here, or reduce the sending rates inside of the paper config

#

bambolumba replied to the thread Ping spikes after teleportation/joining the server.

login and teleporting are two points in which a client is going to be flooded with chunk packets, and anti x-ray only reduces the compressibility of those packets. You can use mode 3 to improve packet compressibility which should aid here, or reduce the sending rates inside of the paper config

previously i tried reduce "player-max-chunk-send-rate" from 75 to 45 (just a random number from my head lol) but it doesnt help. Ok i`ll try mode 3, thanks

civic cryptBOT
#

ringpolice started a thread called Integer based arguments.

Hello everyone, this is my first post on the papermc forums, and my second papermc plugin.

I am using LiteralArgumentBuilder to create a countdown command with an optional timer mode, how do I check if an argument is strictly an integer using the .then(Commands.literal("/argumenthere/") builder?

My code is as follows, I am utilizing a buddies framework shown below as popcorn.

@SuppressWarnings("UnstableApiUsage")
public class CountdownCommand implements...

civic cryptBOT
#

foary replied to the thread The future of Paper - Hard fork.

This is huge news for the project and its future! :cool:

civic cryptBOT
#

davidcook started a thread called Could Someone Give me Advice on Optimizing Paper Server for Large Player Base?.

Hello there,

I am running a PaperMC server with a fairly large player base; and I am encountering some performance issues that I would like to optimize. The server hosts around 50–80 players during peak hours, and while it runs relatively smoothly most of the time, we’re experiencing occasional lag spikes and TPS drops; especially when players are engaging in activities like large scale redstone contraptions or mob farming.

Dedicated machine with 32GB RAM, Ryzen 7 5800X, and NVMe SSD. 40...

civic cryptBOT
#

Renay started a thread called Error with MySQL.

Hello everyone,

I've recently started working with the Velocity API and encountered an issue when trying to connect my plugin to a MySQL database. I've added the mysql-connector-j Maven dependency, but I keep running into an SQLException with the message "No suitable JDBC driver found."

The strange part is that connecting to MySQL works perfectly fine in other programs and plugins, but for some reason, this error only occurs when using the Velocity API.

Does anyone have an idea what might...

civic cryptBOT
#

Warrior replied to the thread Error with MySQL.

The common causes for this issue that I've seen are forgetting to register your driver with the DriverManager, or not having the shade plugin present.

To register your shaded driver:
try {
DriverManager.registerDriver((Driver) Class.forName("com.mysql.cj.jdbc.Driver").getDeclaredConstructor().newInstance());
catch (ReflectiveOperationException | SQLException e) {
// handle exception
}

If you're already registering the driver and have confirmed that the driver is included in your...

civic cryptBOT
#

Renay replied to the thread Error with MySQL.

The common causes for this issue that I've seen are forgetting to register your driver with the DriverManager, or not having the shade plugin present.

To register your shaded driver:
try {
DriverManager.registerDriver((Driver) Class.forName("com.mysql.cj.jdbc.Driver").getDeclaredConstructor().newInstance());
catch (ReflectiveOperationException | SQLException e) {
// handle exception
}

If you're already registering the driver and have confirmed that the driver is included in your...

civic cryptBOT
#

bambolumba started a thread called Does paper has fixes which blocks entry on nether roof?.

I can do it in single world, but cant do on my server. Im trying with boat, minecart and ender pearl, but its impossible to set boat on roof, because ender pearl doesnt teleport me upper then roof

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

MA78L started a thread called flying machine with tnt-duper problems.

Has anyone figured out how to bypass this problem? Maybe config changes?
Flying machine is already gone but tnt seems to dupe out of nowhere. Not just a visible bug... this tnt still doing damage and destroying blocks

https://t.ly/yDmYC

civic cryptBOT
#

MA78L replied to the thread flying machine with tnt-duper problems.

spigots max-tnt-per-tick config option?

Its on 100 (i guess standard). will inscrease it make the tnt work better? saw a yt video about something similar

#

electronicboy replied to the thread flying machine with tnt-duper problems.

that means that it will only tick 100 TNT entities a tick, if you're using stuff which uses a lot of TNT, you may want to consider disabling the limit entirely as it will often only hurt more in that case anyways

#

MA78L replied to the thread flying machine with tnt-duper problems.

that means that it will only tick 100 TNT entities a tick, if you're using stuff which uses a lot of TNT, you may want to consider disabling the limit entirely as it will often only hurt more in that case anyways

unfortunately im not the owner of the server but itsa friend. hes insecure bcs he think that increasing the limit will "break the server"... "paper is made to prevent this so the settings make sense and should not be changed".

civic cryptBOT
#

MA78L replied to the thread flying machine with tnt-duper problems.

that means that it will only tick 100 TNT entities a tick, if you're using stuff which uses a lot of TNT, you may want to consider disabling the limit entirely as it will often only hurt more in that case anyways

How can we disable the limit? With a zero? Or do we have to exchange a "true" with a "false" or the other way around?

civic cryptBOT
#

Slav ebb started a thread called My paper plugin has remapping issues when doing /reload confirm.

Hello everyone, i was wondering if anyone had this issue before, and if there is something i can do about it. Basicaly, if i re-compile my plugin with any changes in the code (if i dont change anything, this doesn't happen) in Inteliji Idea, and reload the server it outputs the same two errors every time, but after that, if i reload again, it fixes itself. Any ideas on what could be going on?
I know i shouldn't be doing /reload , but at the end of the day, im not sure if the plugin is...

civic cryptBOT
#

electronicboy replied to the thread My paper plugin has remapping issues when doing /reload confirm.

first error is not a mapping issue, second error is a "windows is a PITA" issue; You already have something accessing the file which is preventing it from being messed with

civic cryptBOT
civic cryptBOT
#

frankie started a thread called *** Warning, you've not updated in a while! ***.

Upgraded to 1.21.4 and started seeing this -

minecraft@ubuntu:~$ java -Xmx6144M -Xms6144M -Djava.net.preferIPv4Stack=true -jar paper-1.21.4-15.jar --nogui
Starting org.bukkit.craftbukkit.Main

  • Warning, you've not updated in a while! *
  • Please download a new build as per instructions from https://papermc.io/downloads/paper *
    [17:56:19 INFO]: [bootstrap] Running Java 21 (OpenJDK 64-Bit Server VM 21.0.5+11-Ubuntu-1ubuntu120.04; Ubuntu null) on Linux 5.4.0-1119-raspi (aarch64)
    [17:56:19...
#

electronicboy replied to the thread *** Warning, you've not updated in a while! ***.

ignore it, the things based on a timer, and due to master being frozen due to ongoing work, there hasn't been a build to reset the timer in a while

civic cryptBOT
civic cryptBOT
#

C0MAE started a thread called Creating custom heads.

I want to create custom heads but I can't get any further. I have created the custom skull and so on but it does not set the new skin. Does anyone know what to do?

private ItemStack getSkull(String url) throws MalformedURLException {
    UUID uuid = UUID.randomUUID();
    PlayerProfile profile = Bukkit.createProfile(uuid);
    PlayerTextures textures = profile.getTextures();
    textures.setSkin(URI.create(url).toURL());
    profile.setTextures(textures)...
civic cryptBOT
#

spiyu started a thread called Enderpearl, fishing rods, cats and chunks.

Guys, in minecraft we can build a variety of "wireless teleports" but no none of them work in the server. Like, a cat teleport that based on that the sitting cat disables redstone signal from a chest, or a fishing rod and pressure plates, that is connected with unloadin chunks and nether. So, I wonder if there is a chance to "fix" that problems? Version 1.21

civic cryptBOT
#

Milchschnide started a thread called Force ResourcesPack with Player having Server Resource Packs set to Prompt.

Hi,

im having the issue that when i send the player my ResourcePackRequest with him having the Server Resource Pack set to Prompt, it doesnt load. i know that ther is a sendResourcePackOffer methode but with that i can just send a single Resource Pack. My aim is to send the player multiple Resource Packs whether he has the server resource packs set to enabled or prompt.

Is there a way I can force this via the plugin or do I have to work around it?

thanks in advance ^^

have a nice weekend

civic cryptBOT
#

Noy started a thread called Run commands as op.

Noy

I've already googled. Use try ... finally to give op temporarily is a bad idea, and use the console sender will misperform the target selector (like @s).

If I use execute as Name run kill @s in console, it works well. But when it comes to our custom command, we can only use the following codes to select the targets
Bukkit.getServer().selectEntities(sender, args[i]);

but even if it executes as player, the command sender is still console (otherwise the permisson check will fail).

Is there...

civic cryptBOT
#

Noy replied to the thread Creating custom heads.

Noy

You need to set the meta back to enable your modifications. Or just simply use ItemStack.editMeta.

civic cryptBOT
#

Vertex101 started a thread called Enchantments.

I got a friend that is wanting me to make up some custom enchants for there server but it seems anything i find on it is all outdated

i have seen the stuff that is experimental like the mutating registries for making custom enchantments but i dont understand how to set it up the right way for it to work

so i was wondering if anyone had like an example of how it setup up the mutating registries and it work

civic cryptBOT
#

Domnom09 started a thread called Server network suddenly stopped working (won't let players join).

Hi everyone, so I just have a question about Waterfall networks. I have a server network that uses Waterfall as the proxy server software. I am aware of the current Waterfall situation and that it is no longer maintained but I figured it will not be a problem for the next few months. I recently went on a vacation and before I left, everything was working perfectly. After I came back, I wanted to continue with it and I noticed it won't let me join. I thought you guys could maybe help me...

civic cryptBOT
#

MenschenToaster replied to the thread Server network suddenly stopped working (won't let players join).

Sorry, but what did you expect? The waterfall discontinuation was announced before 1.21 was even released, iirc. They seem to be still syncing waterfall with somewhat recent upstream commits, but the project is dead.

but I figured it will not be a problem for the next few months.
Why delay switching? You know you need to anyway, and you even realized it yourself by saying that you thought it would maybe work for the next few months. Just use velocity or switch to Bungee(if you really need...

civic cryptBOT
#

hmr replied to the thread Banned on Discord server.

hmr

I didn't receive anything on the e-mail yet.

#

electronicboy replied to the thread Banned on Discord server.

You provided no information on who you are, and the only account we could surmise from what you did provide is not banned

civic cryptBOT
#

gerolndnr started a thread called Connection Guard - vpn and geo-blocker for Spigot, BungeeCord and Velocity.

Connection Guard
A feature-rich vpn and geo-blocker for Spigot, BungeeCord and Velocity

Key Features

Detect VPNs - react to them how you like!

Kick: Prevent players with VPNs to join your server.
Notify: Notify admins or moderators that a VPN user joined.
Command: Execute a command when a VPN user joins.

Multiple Detection Provider - Minimize false flags, maximize detection!

ProxyCheck (100 queries per day for free without api key, 1.000 queries per day for free with api key)
IP-Hub...

civic cryptBOT
#

Huey replied to the thread How do you set a villager's profession and job_block?.

This part of the API is kinda broken, I don't know. I wish there is something like like:
villager.setJobSiteAndUpdateProfession(blockPos);

Also, there should be a way to keep a villager's job without a job site (just like when a player have traded with them)

Anyway, so the approach using NMS + commands is the only way working? That's kinda sad!

civic cryptBOT
#

Forbidden started a thread called My server tries to start and comes up with an error and gives up..

I dont really know how to describe this issue, but i start the server, then it just throws an error and gives up. I run the server through feathermc on a vm with radmin vpn for extra security, its on 1.21.3. Heres my latest.log file's content

[04:22:11] [ServerMain/INFO]: [bootstrap] Running Java 21 (OpenJDK 64-Bit Server VM 21.0.3+9-LTS; Eclipse Adoptium Temurin-21.0.3+9) on Windows Server 2022 10.0 (amd64)

[04:22:11] [ServerMain/INFO]: [bootstrap] Loading Paper 1.21.3-60-master@cf956ac...

civic cryptBOT
civic cryptBOT
#

Sup3m4 started a thread called TNT duplication doesn't work despite allow-piston-duplication TRUE.

The title basically explains itself. Im playing on 1.20.4 and I have already changed the alow-piston-duplication to TRUE and it still doesn't dupe the TNTs. Any fix?

civic cryptBOT
#

AstroMe started a thread called Server won't fully start (Arch Linux).

here's the error i get:
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007b5d75806ecf, pid=4017, tid=4111

JRE version: OpenJDK Runtime Environment (23.0) (build 23)

Java VM: OpenJDK 64-Bit Server VM (23, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)

Problematic frame:

C [spark-43dc8909673-libasyncProfiler.so.tmp+0x6ecf] NMethod::isNMethod()+0x1f

thanks :)

civic cryptBOT
#

RekoSK started a thread called Can I use more CPU cores with paper?.

Hey!

I just got a raspberry pi 5 for christmas, and I wanted to make a server for me and my friends. However I know my friends very well and because they don't all have buyed minecraft, they would log in in eachothers acc to get better stuff and grief (etc.). So I wanted to add a simple auth plugin, only to realise that the server doesn't run as smooth as with vanilla server. After looking at HTOP (something like system manager in linux) I realized that one CPU core is 100%, others are on...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Momentum started a thread called Dimension Datapack [1.21.3].

Im currently working at an dimension datapack that should be a minecraft::cherry_grove biome but I dont really understand how to do it because there are noo tutorials for the 1.21.3. Ive tried my best with the minecraft wiki but I just dont get it (https://minecraft.fandom.com/wiki/Minecraft_Wiki) . does anybody know how to do it?

#

Momentum replied to the thread turtle die under water.

I think you need to place them in air to let them breathe properly before sending them into the ocean. did you already try that?

civic cryptBOT
#

stompnhonk started a thread called all gear lost on log in?.

My son and his friend a playing on a paper server I have running. They logged in to no armor (was diamond and at spawn). I dont see anything in logs. I logged in and my inventory is empty and at spawn also. I am running it on hardcore. Any ideas ?
Thank you in advance

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Bleed started a thread called /setworldspawn not spawn the exact coordinate.

Help, I tried do /setworldspawn and everytime we died, it spawn not at the exact coordinate we set and got spawn within 10 blocks away

These are the plugin I use:

Announcer
Essentials (Essentialx)
Geyser
GriefPrevention
Floodgate
grim anti cheat
LoginSecurity
LuckPerms
SkinRestorer
Vault
ViaVersion

civic cryptBOT
#

Machine Maker replied to the thread /setworldspawn not spawn the exact coordinate.

You probably need to set the spawnRadius gamerule to 0. By default, vanilla respawns you in a radius around the world spawn, not the exact spot.

civic cryptBOT
#

Bleed replied to the thread /setworldspawn not spawn the exact coordinate.

You probably need to set the spawnRadius gamerule to 0. By default, vanilla respawns you in a radius around the world spawn, not the exact spot.

Doesn't work oof

civic cryptBOT
civic cryptBOT
#

Noy replied to the thread Run commands as op.

Noy

solved

civic cryptBOT
#

Noy started a thread called What does DestroysTokyo mean.

Noy

This might be offensive, but I'd really like to know if it's literal

#

MiniDigger replied to the thread What does DestroysTokyo mean.

It's an old inside joke. Mostly for a nice email address: godzilla@destroystokyo.com
When paper was funded, it was just used instead of buying a new domain.
We don't actively use that domain anymore.

civic cryptBOT
#

Noy replied to the thread What does DestroysTokyo mean.

Noy

It's an old inside joke. Mostly for a nice email address: godzilla@destroystokyo.com
When paper was funded, it was just used instead of buying a new domain.
We don't actively use that domain anymore.

Wow! Thank you for the detailed explanation! It's interesting to learn about the history behind it.

civic cryptBOT
#

JohnMNguyen replied to the thread Disallowing player to move minecart.

I am trying to create a some kind of train system. A train is basically just a minecart with some additional NBT.

I want to make player unable to control the minecart or push it, so the player just sits in it, but the minecart should be able to move as it usually does.

I think that onVehicleMove event is what I need, but I don't know how to check if a minecart movement was made by player.

Preventing players from controlling or pushing carts in custom train systems is all about allowing...

civic cryptBOT
civic cryptBOT
#

Glowberry started a thread called How to get the particle names of Minecraft firework explosion effects?.

I am working on a plugin related to firework effects in Minecraft, and I need to get the particle names generated after a firework explosion. Specifically, I am trying to understand how the explosion particles are defined and how they are represented in the game.

In the native Minecraft code, how are firework explosion particles managed? I know that the Fireworks class controls the flight of the firework, but I’m unsure how to precisely retrieve the particles generated during the explosion...

civic cryptBOT
#

Killin started a thread called Is it possible to defeat cheats?.

Without creating custom game clients, but only with server tools, what is the probability of getting rid of cheats?
Or should we ignore them and, on the contrary, allow them?
What do you think?:)

civic cryptBOT
#

isaacwallace123 started a thread called Help with scoreboards.

I am currently making my own plugin with paper / spigot. My goal is to make an all-in-one economy plugin that allows users to connect to various database languages and to have full customization for their economy. I am currently in the process of making scoreboards that use placeholderapi to display certain characteristics pertaining to the player. I've made a scoreboard system using a dependency called "fastboard" to help me make the scoreboards. I would like to render unicode emojis as...

civic cryptBOT
#

IndaQ replied to the thread How to get the particle names of Minecraft firework explosion effects?.

They are sent to the client via packets, but they have no existence on the server itself.
The only way to detect them, is by listening for clientbound packets using ProtocolLib or using NMS.

civic cryptBOT
#

IndaQ replied to the thread Disallowing player to move minecart.

Have a look at VehicleEntityCollisionEvent and VehicleMoveEvent since Minecart extend Vehicle.

civic cryptBOT
#

v0rtex started a thread called PersistentDataContainer can't keep data from items being dropped and picked up?.

Hello, I am trying the following:

API version 1.21.1-R0.1-SNAPSHOT (tried originally with 1.20.4)

@EventHandler
public void onItemPickup(EntityPickupItemEvent e) {
PersistentDataContainer container = e.getItem().getPersistentDataContainer();
UUID id = container.get(ns_key, uuid_t);
if(id == null) {
id = UUID.randomUUID();
container.set(ns_key, new UUIDDataType(), id);
}
}

@EventHandler
public void onItemDrop(PlayerDropItemEvent e) {...

#

Noy started a thread called How can I add a tooltip for Commands.literal().

Noy

Since that argument types can have tooltips, a single literal argument should also own it. How can I set a tooltip for that?

civic cryptBOT
#

v0rtex replied to the thread PersistentDataContainer can't keep data from items being dropped and picked up?.

You use the PDC held by item, which is an ENTITY! Every time you drop an ItemStack, it will spawn a new Item entity.

So why not use the PDC inside ItemMeta?

Hi Noy, thank you for the answer.

I am still familiarizing myself with the inner workings of items, stacks and inventories.
I just tried the following code snippet, and now the data found is always null, which generates a new ID.

Now that I access the item stacks and their metas, shouldn't the data inside the PDCs be stored as I...

civic cryptBOT
#

Noy replied to the thread PersistentDataContainer can't keep data from items being dropped and picked up?.

Noy

Hi Noy, thank you for the answer.

I am still familiarizing myself with the inner workings of items, stacks and inventories.
I just tried the following code snippet, and now the data found is always null, which generates a new ID.

Now that I access the item stacks and their metas, shouldn't the data inside the PDCs be stored as I intended?

@EventHandler
public void onItemPickup(EntityPickupItemEvent e) {
Item i = e.getItem();
ItemMeta itemMeta = i.getItemStack().getItemMeta()...

civic cryptBOT
#

v0rtex replied to the thread PersistentDataContainer can't keep data from items being dropped and picked up?.

When you use itemStack.getItemMeta(), you will get a COPY of the ItemMeta. So if you want your modification be persistent, use itemStack.editMeta() instead.

Hope it would help.

Thank you Noy, it did help. Now I can't merge items however, but the issue of this thread has been solved haha

For any lurkers from search engines, here's what worked:
@EventHandler
public void onItemPickup(EntityPickupItemEvent e) {
Item i = e.getItem();
i.getItemStack().editMeta(itemMeta -> {...

civic cryptBOT
#

stefvanschie replied to the thread Is it possible to defeat cheats?.

Anti-cheat plugins can go a long way in detecting people cheating and banning them. Next to that, staff can look out for people cheating and get rid of the people who manage to get past the anti-cheat.
I don't see how allowing cheats on a server would work, it seems to me it would completely ruin the game for other players. You can of course decide to allow some mods that don't significantly impact gameplay and mostly serve a utility purpose.

civic cryptBOT
#

Noy started a thread called [BUG] GENERIC_MAX_HEALTH disappear after using bootstrapper.

Noy

After I used the bootstrapper to create my custom enchantment Glow, an unexpected error occurred.

It shows that GENERIC_MAX_HEALTH is not one of the member field in org.bukkit.attribute.Attribute. This seems to be an mapping error, I guess.

If I change it to the deprecated method Player.getMaxHealth() (or remove the bootstrapper), the error disappeared.

civic cryptBOT
civic cryptBOT
#

Mr_Killer01 started a thread called Just a curious question.

I have the honor of maintaining 1 HUB and 4 Paper servers which I keep as much up to date as possible. Sometimes days go by, sometimes weeks before I take a look or do the total backup of them all, Januari 1st I did the backup and renewed the latste needed plugins an Paper, 1.21.3-83.jar and on the HUB it worked fine, on Amigos it worked fine as on Fairall but not on NH. Going into the game all error-hell broke loose.
Now I have tried to keep this last one very much up to date from 1.5 to...

civic cryptBOT
#

Noy replied to the thread [BUG] GENERIC_MAX_HEALTH disappear after using bootstrapper.

Noy

GENERIC_MAX_HEALTH was renamed in some recent update. Make sure your api dependency is up to date. There is no backwards compatibility promised yet for paper plugins as they are still experimental. So they don't go through the bytecode rewrites required to update plugin bytecode to the new names for renames.

You are right! It was renamed to MAX_HEALTH after changing the API version to 1.21.4. But I'm still confused:

  1. When I use 1.21.3 server jar, with a 1.21.1 API, this bug didn't occur...
#

Machine Maker replied to the thread [BUG] GENERIC_MAX_HEALTH disappear after using bootstrapper.

bug didn't occur until I added a bootstrapper

No, it is relevant. If you use paper-plugin.yml, your plugin's bytecode is not rewritten to handle the renaming because all of paper plugins are experimental. If you used a plugin.yml, then it was handled correctly.

No, no such compatibility will be added. Only for changes made after paper plugins leave experimental status, not changes from before.

civic cryptBOT
#

cadafinn started a thread called update version 1.21.1 > 1.21.3 The message appears saying: Error validating the chat.

Tengo un problema con mi servidor, al actualizar la versión 1.21.1 a la 1.21.3 al enviar un mensaje de chat aparece diciendo error validando el chat. Al principio era el plugin znpcsPlus, lo cual resultaba extraño ya que en la versión anterior no aparecía ese mensaje de error, pero al actualizar a la 1.21.3 aparece el error al validar el chat. Pobrecita con otro servidor que esta vez no tiene znpcs o algo relacionado con el npc y me sigue dando el mismo error, no se por qué me pasa esto, he...

civic cryptBOT
#

bambolumba started a thread called How to change item name of result item in anvil?.

I don't really understand how to do this correctly. DisplayName seems to be changing, but the name of item in result slot remains the same. Here is my code. Sorry if it`s dumb, this is the first time I've encountered this
AnvilInventory anvilInventory = event.getInventory();
if (anvilInventory.getSecondItem() == null) {
if (anvilInventory.getResult() != null) {
ItemStack resultItem = anvilInventory.getResult();
ItemMeta resultItemMeta =...

civic cryptBOT
civic cryptBOT
#

karapuzz started a thread called ConfigurationSection.getValues() always returns an empty map.

If i have the following config.yml:
map:
some_key: value
some_other_key: value
And i execute config.getConfigurationSection("map")?.getValues(false), it returns an empty map.
Just as getKeys(false) also returns an empty set.

However, if i run config.getConfigurationSection("map")?.get("some_key"), i get "value" back.
^^ This is obviously not okay, since the "some_key" value is defined by the user (the server admin)
Why is this happening? Is it a bug in Paper or am I doing something...

civic cryptBOT
#

confused_alex started a thread called Compile Paper 1.21.4 against java 17.

Is it possible to use java 21 and the newest PaperAPI, but compile to java 17 to achieve backwards compatibility?

compileJava {
options.encoding = "UTF-8"
options.compilerArgs.add("-parameters")
sourceCompatibility = "17"
targetCompatibility = "17"
}

compileKotlin {
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
}

This works when using the newest SpigotAPI, but I want to migrate to the PaperAPI.

#

MiniDigger replied to the thread Compile Paper 1.21.4 against java 17.

No, paper API makes use of modern java features and thus requires java 21, in line with vanilla requiring java 21.
I don't understand the need to support java 17 on paper 1.21.4 considering you need 21 to run 1.21.4.
If you want to support older paper versions that did allow running with java 17 then you should depend on the lowest paper API you wanna support (and then you can compile against java 17)

civic cryptBOT
#

electronicboy replied to the thread Compile Paper 1.21.4 against java 17.

Paper uses Gradle and publishes metadata, which lets Gradle know that the target should support Java 21, etc. You can disable this configuration by disabling the JVM auto target inside of gradle, not sure what section that was in

civic cryptBOT
#

HoY started a thread called Limit the speed players can transfer from one backend server to another?.

HoY

I'm running a small network of forge servers behind a velocity proxy, and they are quite heavily modded. I have a mod written to sync player stats to a database when they transfer from one server to another, then from that database to the new server. we're finding that if too many people try to transfer too quickly,, ie simultaneously or near enough, that some players data doesn't get sent to the database. Then when they arrive at the new server they have old data from the last time they...

civic cryptBOT
#

HayFlay_01 started a thread called I don't know what to do.

Please tell me what this error is related to and how to fix it?

civic cryptBOT
#

HayFlay_01 started a thread called error.

Unable to load plugin plugins\LimboAPI-master.jar
plugins: LimboAPI , LimboAuth , LimmboFilter

civic cryptBOT
#

nikkulchitsky started a thread called Chunks do lag spikes.

Hello everyone. I recently encountered this problem: when a player teleports, for some reason the server's processor starts beating at 100% for some time, which is very sad for me. This started when I switched to version 1.21.1 from 1.20.1. There were no such lags on the previous version. Plugins have nothing to do with it, the tests were conducted without them.

civic cryptBOT
#

Slav ebb started a thread called How to have two separate colors in the same text component?.

Hi, i'd like to have two separate colors in the same text component, i tried to do it in the code below, but it doesn't seem to work.
StrTex =Component.text("ОСТЕРЕГАЙТЕСЬ МОЛНИЙ!") .color(TextColor.fromHexString("FFFFFF")); nameTex=Component.text("⚡ ГРОЗА!") .color(TextColor.fromHexString("#ffd700")); Bukkit.getServer().sendMessage(nameTex.append(StrTex));

#

electronicboy replied to the thread How to have two separate colors in the same text component?.

a text component has an color, and an contents; if you want a component with 2 different colors and 2 bits of text; then you want 2 different components, and a parent to hold them together;
i.e. Component.text().append(Component.text("a", NTC.RED)).append(Component.text("b",NTC.BLUE))

civic cryptBOT
#

anlear started a thread called The problem with Components in paper 1.21.4.

Greetings to all. Yesterday I started the process of transferring my plugins from Paper 1.20.4 to Paper 1.21.4.
I encountered the following problem. Many methods have ceased to exist trivially.
For example: ItemMeta.name (component); Audience.SendMessage(component).
If I figured out with Audience that the SendMessage() method now accepts a TextComponent, then with ItemMeta it's not clear at all what to use for Component usage.
Also, the Player class is no longer suitable for the Audience for...

#

MCmitNoah replied to the thread The problem with Components in paper 1.21.4.

Have you checked if your IDE has updates. If yes install them and see if you still have issues.

civic cryptBOT
#

anlear replied to the thread The problem with Components in paper 1.21.4.

Have you checked if your IDE has updates. If yes install them and see if you still have issues.

Wow, it really helped. Thanks! Solved.

civic cryptBOT
#

Dinu started a thread called Paper Server default configurations kick some people out because of timeouts, but with a Vanilla Server everything works without problems.

Some players cannot join my server; I will refer to them as timeout players

As mentioned, I am hosting a Paper with the default configuration and a few plugins. Many players can join the server normally, including me, but some cannot join the server without a timeout after a few seconds. At first these timeout players connect to the server and successfully send packets to the server in real time, which allows other players to see the timeout players' inputs in real time, but the timeout...

civic cryptBOT
#

dlldotusha replied to the thread The future of Paper - Hard fork.

Congratulations on the split! I'm waiting for the global API update!

civic cryptBOT
#

Xuho started a thread called Change the chunk ticking range..

I saw in a post that with paper is possible to have separate view distance and chunk tick rate radius. So I can set for example 12 view distance chunks for the players, but only 4 chunks radius for them to tick. Basically making from the chunk 5 to 12 only just visual, not ticking.

civic cryptBOT
#

zeddy_zesty_man started a thread called Paper with Fabric mod, or a similar plugin (read desc).

Tom's Simple Storage Mod is a mod I really like, allowing one view for the whole storage network system. You can also access the system from far away.

However, this is a Forge and Fabric exclusive mod, and my server is currently running Paper.

Is there any way to install the mod alongside Paper, or are there any other plugin that has similar functionality?

#

stefvanschie replied to the thread Change the chunk ticking range..

In the server.properties file, you can find the simulation-distance and view-distance settings. These determine the chunk tick radius and the view distance respectively.

#

zeddy_zesty_man replied to the thread Paper with Fabric mod, or a similar plugin (read desc).

Paper only supports plugins, Forge/Fabric mods are not supported.

Are there any fork of Paper that also support mods, or do I have to sacrifise one for another?

civic cryptBOT
#

Warrior replied to the thread Paper with Fabric mod, or a similar plugin (read desc).

There are quite a few projects out there that attempt to support running both plugins and mods (known as hybrid servers), but it's highly recommended that you don't use these as you'll often have incompatibilities and other problems. Mods and plugins were unfortunately not designed to work well together, see this old PSA from essentials for an example.

civic cryptBOT
civic cryptBOT
#

zipbyte started a thread called Entity Stuck / Loop issues.

So I've ran into a quite the tedious thing on my server, entities seems to get stuck a lot and they go into a loop if it's a projectile as shown in the video attached. Mobs for some reason sometimes gets frozen mid air after getting killed or they remain stuck in place, there is also signs of this in the video I recorded.

Things I've tried so far:

Rebooted my dedicated server completely.
Took out plugins 1 by 1 to see if any of them was causing the issue.
Adjusted entity limits in the...

#

electronicboy replied to the thread Entity Stuck / Loop issues.

Your simulation distance is set to 0, I'd suggest changing it to a value that allows stuff to actually tick properly

#

zipbyte replied to the thread Entity Stuck / Loop issues.

Your simulation distance is set to 0, I'd suggest changing it to a value that allows stuff to actually tick properly

Dang that was a mistake on my end, I think while I was setting up the server I accidentally changed that one to 0 instead of spawn-protection, now I feel very dumb haha but thank you so much for pointing that out! It worked.

civic cryptBOT
#

jufyjug started a thread called I lost all my items on a server [PLUGINS HELP].

i was on a reletively small server with plugins, the ones mentioned are graves and AuthMeReloaded. What happened was, the owner restarted the server and when i rejoined i died. when i put in my password i got it wrong and i rejoined and put in my password. when i got in, the server said i had no graves and when the owner tped me to the spot where i died, the graves were there but the were just normal player heads with the grave texture, when i right clicked them nothing happened and i could...

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

this is a bad idea. now how am i going to run plugins now?

#

EterNity replied to the thread The future of Paper - Hard fork.

this is a bad idea. now how am i going to run plugins like slimefun and geyser now?

They will continue to work like normal. Please actually read the post.

civic cryptBOT
#

LoJoSho replied to the thread I lost all my items on a server [PLUGINS HELP].

It would be up to the server owner to figure this out for you. Unless they have a plugin that is saving inventories in the background (which it sounds like they don't), there wouldn't be any trace of your original inventory as it would be written over by your new inventory data.

#

LoJoSho replied to the thread Salut, Papermc me crée que le cache mais pas le serveur problème et j'ai toute les versions possible de java installer.

Just because you have all different versions installed doesn't mean that Java will use all of them. You have to specify within your system what Java you want to use (defined within your environmental variables when on Windows). There are many tutorials online about changing your Java version through modifying your environmental variables, just search up how and take your pick of choices.

civic cryptBOT
#

tartur started a thread called (De)serializing ItemStack as byte arrays goes wrong with MongoDB connection.

Hi,

I'm currently working on a Folia 1.21.4 project in which I work with a MongoDB connection that I use to store player's serialized inventories.
Here are the methods I'm using to convert ItemStack to MongoDB Document instances and vice-versa:

@Override
public Document save() {
final Inventory inventory = this.player.getInventory();

return new Document()
        .append("_id", this.player.getUniqueId().toString())
        .append("contents"...
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

i actually read the post, i know what's going on. i know you guys want to not depend on Spigot/CraftBukkit Updates to make the update faster.
i still oppose this. looks terrible idea to me. if paper go independent on spigot, and if you unable to go back to spigot, and the plugins using paper-api cannot run on spigot, it's not counted as fork anymore. it's scary.

#

electronicboy replied to the thread The future of Paper - Hard fork.

We are still a fork of spigot in terms of what a fork actually is, we are, however, not intending to keep aligned with our quasi closed upstream project, and have decided that we would much rather place ourselves in a position where we can work on stuff without having to worry about conflicts arising when they add features we have half a decade later.

the plugins using paper-api cannot run on spigot

If you use API specific to paper API, it will not work on spigot; That has literally...

civic cryptBOT
#

tartur replied to the thread (De)serializing ItemStack as byte arrays goes wrong with MongoDB connection.

I saved this problem using Base64 encoding as follows:

@Override
public Document save() {
final Inventory inventory = this.player.getInventory();

return new Document()
        .append("_id", this.player.getUniqueId().toString())
        .append("contents", Arrays.stream(inventory.getContents())
                .filter(Objects::nonNull)
                .map(item -> new Document("value", Base64.getEncoder().encodeToString(item.serializeAsBytes())))...
civic cryptBOT
#

Luther Pope replied to the thread MockBukkit: A Testing Framework for Minecraft Plugins.

You may create unit tests for your plugins without having to run a server by using MockBukkit, which offers mock implementations of the Bukkit API. This implies that, like any other Java application, you can quickly and reliably check how your plugin is acting.

Introduction

Hey people of Paper! We just released version 4.0 of MockBukkit, a testing framework that makes unit testing Paper/Spigot plugins straightforward and efficient. If you've been thinking about adding tests to your...

civic cryptBOT
#

Deepexe started a thread called Problèmes de "timed out" Random (avec logs).

Bonjour depuis un moment sur mon serveurs SMP nous avons un problème. Le serveur timeout a des moment random sans aucune raison, le problème ne vient pas d'un plugins quelconque.

Voici les logs :

[22:51:28] [Server thread/INFO]: pseudonyme issued server command: /tpa pseudonyme
[22:51:30] [Server thread/INFO]: pseudonyme issued server command: /tpaccept
[22:51:32] [User Authenticator #136/INFO]: UUID of player pseudonyme is uuid
[22:51:33] [Server thread/INFO]: pseudonyme issued server...

#

mbaxter replied to the thread Problèmes de "timed out" Random (avec logs).

You are nearly 100 builds behind. Start with updating.

If it continues, get us a full and unedited server log uploaded to https://mclo.gs and share that here. Also, take a spark report by running this command and share that here as well:
spark profiler start --timeout 300

#

mbaxter replied to the thread The future of Paper - Hard fork.

i actually read the post, i know what's going on. i know you guys want to not depend on Spigot/CraftBukkit Updates to make the update faster.
i still oppose this. looks terrible idea to me. if paper go independent on spigot, and if you unable to go back to spigot, and the plugins using paper-api cannot run on spigot, it's not counted as fork anymore. it's scary.

Considering 90 to 95 percent of modern servers run Paper or derivatives, it's not scary at all! It's liberating.

I'm aware of...

civic cryptBOT
#

Deepexe replied to the thread Problèmes de "timed out" Random (avec logs).

You are nearly 100 builds behind. Start with updating.

If it continues, get us a full and unedited server log uploaded to https://mclo.gs and share that here. Also, take a spark report by running this command and share that here as well:
spark profiler start --timeout 300

Merci je viens juste d'update la version, j'attend une heure de pointe pour voir si le serveur recrash, dans ce cas j'enverrais les logs

You are running the latest version
Previous version: 1.21.4-23-a0b3326 (MC: 1.21.4)

civic cryptBOT
civic cryptBOT
#

mbaxter replied to the thread Paper server wont start.

This may be an issue from downgrading your server. Your priority is upgrading to run on 1.21.4, and then seeing if you still have issues.

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

no, it's scary to me. it's not liberating to me. what if Citizens 2 Uses New API/Methods/Enums Introduced By Spigot on their update? besides that, Citizens use Relocation.

Considering 90 to 95 percent of modern servers run Paper or derivatives, it's not scary at all! It's liberating.

I'm aware of dozens and dozens of plugins planning to just use paper-api, and one plugin that wants to stay on spigot.

civic cryptBOT
#

Tamion replied to the thread The future of Paper - Hard fork.

no, it's scary to me. it's not liberating to me. what if Citizens 2 Uses New API/Methods/Enums Introduced By Spigot on their update? besides that, Citizens use Relocation.

Most plugins will probably aim for working on paper considering how many servers run it. And if a dev for some reason would rather have their plugin work on a minority of servers instead of the majority and the plugin is somewhat popular there will probably be some fork made to target paper-api. I don't know about...

civic cryptBOT
#

Noy started a thread called How to make a world have its independent inventory?.

Noy

Hi! I am making a plugin that generates a custom world, and I want the players to have an indenpendent inventory in this world (which means, when a player enters this world, they will have a new inventory, and will switch back as long as they leave).

The problem is that if I implement this feature by myself, there may be some special cases which will make a mess:

The player lose their connection in the custom world (this may be solved by using PDC)
The server shutdown when there're still...

civic cryptBOT
#

stefvanschie replied to the thread How to make players have an independent inventory in specified world?.

I think these issues can be resolved if you reset the player's inventory to their original one when they leave the server or the server stops. Additionally, when a player joins the server, you can check if they're about to join in the custom world and set their inventory to the independent one.

If a player loses their connection or the server shuts down, the players will have their old inventory restored. If the custom world is deleted, then they'll join with their old inventory as...

civic cryptBOT
#

Noy replied to the thread How to make players have an independent inventory in specified world?.

Noy

I think these issues can be resolved if you reset the player's inventory to their original one when they leave the server or the server stops. Additionally, when a player joins the server, you can check if they're about to join in the custom world and set their inventory to the independent one.

If a player loses their connection or the server shuts down, the players will have their old inventory restored. If the custom world is deleted, then they'll join with their old inventory as...

civic cryptBOT
#

CrazyCranberry started a thread called Conflicting jackson-databind versions starting in 1.21.3.

Hello!

My mini-golf plugin serializing and deserializes yaml for course information. I'm using the com.fasterxml.jackson.dataformat.jackson-dataformat-yaml dependency to do so. My plugin stopped working with the release of paper 1.21.3 and I'm understanding it to be a result of conflicting jackson-databind versions (jackson-databind is a dependency of jackson-dataformat-yaml). My plugin is currently using jackson-dataformat-yaml version 2.16.1 but it looks like paper is using a version of...

civic cryptBOT
#

TsingYayin replied to the thread The future of Paper - Hard fork.

I am a bit inclined to oppose this decision.
I don't know what content was included in the bstats data that the developers reviewed when making this decision, so it seems that they may have some misunderstandings about the current situation of Paper.

For many server owners, the greatest significance of using Paper is "high performance" and compatibility with Spigot, allowing them to enjoy Spigot's long-standing plugin community while also having a modern performance server software. Even...

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

I am a bit inclined to oppose this decision.
I don't know what content was included in the bstats data that the developers reviewed when making this decision, so it seems that they may have some misunderstandings about the current situation of Paper.

For many server owners, the greatest significance of using Paper is "high performance" and compatibility with Spigot, allowing them to enjoy Spigot's long-standing plugin community while also having a modern performance server software. Even...

civic cryptBOT
#

kennytv replied to the thread The future of Paper - Hard fork.

"Paper plugin" is sort of bad branding on our side, it does not mean those plugins are not using Paper API, it's simply a separate (optional!) plugin loader with more features. Most of your plugins already use some form of Paper API or even strongly recommend using Paper.
why do I have to migrate downstream and manually narrow down the compatibility range of my plugins if there is no need for me to use the PaperAPI?
Hence this is a bit of a misnomer; not using Paper already limits your...

civic cryptBOT
#

Tamion replied to the thread The future of Paper - Hard fork.

Afaik paper plugins are also currently in the process of being rebranded to Lifecycle plugins which is a more accurate term. Your plugin does not need to be a paper/Lifecycle plugin to work on paper infact we recommend people do not use this plugin loader unless you need the Features it provides

civic cryptBOT
#

electronicboy replied to the thread The future of Paper - Hard fork.

For many server owners, the greatest significance of using Paper is "high performance" and compatibility with Spigot, allowing them to enjoy Spigot's long-standing plugin community while also having a modern performance server software. Even for many developers, why do I have to migrate downstream and manually narrow down the compatibility range of my plugins if there is no need for me to use the PaperAPI?

We're not going to break existing APIs for some sizable period of time; the only...

civic cryptBOT
#

unbeable1 replied to the thread Paper 1.8.8 repositories.

thank you, it's working

hi bro, could you share the repository of the papers maven 1.8.8?

civic cryptBOT
#

mbaxter replied to the thread Paper 1.8.8 repositories.

hi bro, could you share the repository of the papers maven 1.8.8?

Look one message higher than the one you replied to.

civic cryptBOT
#

TsingYayin replied to the thread The future of Paper - Hard fork.

We're not going to break existing APIs for some sizable period of time; the only immediate difference is us not merging new APIs, but most of the side effects of this have been navigated by plugin developers for years, given that they're often expected or desire to support multiple versions of the software. We trust that the developers who are willing are smart enough to figure out how they'd want to support two platforms should they desire. This is especially true when plugins are...

civic cryptBOT
#

LoJoSho replied to the thread Conflicting jackson-databind versions starting in 1.21.3.

You should just be able to shade the dependency, and then relocate it within your jar. That way, your plugin will not get confused with other dependencies that are there.

civic cryptBOT
civic cryptBOT
#

stefvanschie replied to the thread How to make players have an independent inventory in specified world?.

I think for this you could keep track of the inventory state for each player. Let's assume that you have for each player a state I, which indicates the state of the inventory for each player. This should be written to some kind of permanent storage, otherwise this data is completely gone when the server crashes, I'll just assume a file here for now, but something like a database works as well. By default, for every player p, I(p) is set to none (you can save some space by not saving the none...

#

Noy replied to the thread How to make players have an independent inventory in specified world?.

Noy

I think for this you could keep track of the inventory state for each player. Let's assume that you have for each player a state I, which indicates the state of the inventory for each player. This should be written to some kind of permanent storage, otherwise this data is completely gone when the server crashes, I'll just assume a file here for now, but something like a database works as well. By default, for every player p, I(p) is set to none (you can save some space by not saving the none...

civic cryptBOT
#

voixys started a thread called Server crashing when started the server..

Hey there,

i'm having an issue where my server crashes as soon as i tried to start it. i’ve been troubleshooting but... i can’t figure out what’s causing the problem. below is the server log output just before the crash happens:

[11:54:30] [Server thread/INFO]: Waiting for I/O tasks to complete...
[11:54:30] [Server thread/INFO]: All I/O tasks completed
[11:54:30] [Server thread/INFO]: [MoonriseCommon] Awaiting termination of worker pool for up to 60s...
[11:54:30] [Server...

civic cryptBOT
#

rimaki replied to the thread Announcing the end of life of Waterfall.

it's eol long ago but i still want that for my server and i hate velocity as it's failed to run on paper fork (i did try and broke everytime from issue of geyser)

civic cryptBOT
#

LoJoSho replied to the thread Announcing the end of life of Waterfall.

it's eol long ago but i still want that for my server and i hate velocity as it's failed to run on paper fork (i did try and broke everytime from issue of geyser)

Have you tried reporting the problem? Velocity works just fine on many servers, including for servers running Geyser and those that run on forks of paper.

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

atomgameraga started a thread called Unable connect you to loby....

velocity gives me this error when I try to join, the logs are below versions: paper 1.18.2 , velocity latest

[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@nookure~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes...

civic cryptBOT
#

harry0198 started a thread called Folia: Conversation API replacement.

I'm looking to add support for Folia in one of my plugins, and the last roadblock I have is taking input from players. The input will typically be long.
In my spigot version, I use the conversation API but this is not supported / will not be supported in folia.

Is the only option here to intercept chat messages manually?

(Folia issue: https://github.com/PaperMC/Folia/issues/216)

#

harry0198 replied to the thread Folia: Conversation API replacement.

Why can't you use a command or even better, a config for it?

For context, the plugin allows assigning commands, messages etc to blocks. So, to know what the player wants to put on it I need to take their input. Making them type a command or make this entirely config based ruins the existing UI flow
(https://hangar.papermc.io/harry0198/InfoHead for ref)

#

harry0198 replied to the thread Folia: Conversation API replacement.

Ah, then I would just cancel the chat message, ye

Ah okay, thank you :)

civic cryptBOT
#

qizza156 replied to the thread I need some help! My paper.yml doesn't show up..

The paper config file was split up and moved inside the config directory. Check that for the paper configuration files.

where is the config directory? thanks in advance

civic cryptBOT
#

wildwanderervr started a thread called Everyone spawns half in the ground.

This is an odd issue that just started. So I setup a server last week using crafty controller and paper mc, only a couple of plugins are loaded, installed using PluginPortal

  • ChestSort (14.2.0), DatapackLoader (1.4.1), Images (2.5.3), PluginPortal (2.2.0), TreeFella (1.2), Veinminer (2.2.2)

To start with everything worked just fine no issues at all. Suddenly, everyone that joins how joins half in a block, like if you dug out 1 square and stood in the bottom of it. The real issue is that...

civic cryptBOT
#

Gnirekcip started a thread called World Edit API not pasting.

I am using WE API to paste a .schem file in a world, and when the code is run, nothing happens. No errors are thrown, the blocks just don't get pasted.

The schematic file exists and the location exists.
Version 1.21.4, worldedit api 7.3.9

public static void paste(Location location, File schematicFile) {
if (!schematicFile.exists()) {
DebugUtil.severe("Schematic File " + schematicFile.getName() + " doesn't exist.");
return;
}
try {
EditSession session =...

civic cryptBOT
#

Gnirekcip replied to the thread World Edit API not pasting.

Solved it!

Not sure why, but this code worked:

public static void paste(Location location, File schematicFile) {
Clipboard clipboard = null;
ClipboardFormat format = ClipboardFormats.findByFile(schematicFile);
if (format == null) {
DebugUtil.severe("World Edit format = null");
return;
}
try (ClipboardReader reader = format.getReader(new FileInputStream(schematicFile))) {
clipboard = reader.read();
} catch...

civic cryptBOT
#

itYedgk started a thread called MySQL driver error.

Any ideas how to fix that? I have tried everything tbh and still no positive output

plugins {
id("java")
id("com.gradleup.shadow") version "9.0.0-beta6"
}

group = "pl.warriormc"
version = "1.0-dev"

repositories {
mavenCentral()
gradlePluginPortal()

maven("https://repo.papermc.io/repository/maven-public/")

}

dependencies {
compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")...

civic cryptBOT
#

Nouma started a thread called 1.20 player input packet.

Hello !

I'm making a car dealer plugin, wich needs to play with NMS and packets.
Basically I want the player to be spectating an entity (to move and freeze the camera everywhere I want), in order to have him look a preview car I spawn.

The tricky part is I want the car to rotate when the player is pressing A and D.

To do that I'm listening to the player input packet and everything was fine until, I decided to switch from 1.21.3 to 1.20.4 (big mistake).
Cause basically prior to 1.21 this...

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

electronicboy replied to the thread Everyone spawns half in the ground.

The only guess is going to be that you need to reset your spawn position using the command, or, see if when it rains water falls into the room, if it does, that would indicate that your worlds heightmaps are busted and that you'll need to look into rebuilding that information

civic cryptBOT
#

wildwanderervr replied to the thread Everyone spawns half in the ground.

The only guess is going to be that you need to reset your spawn position using the command, or, see if when it rains water falls into the room, if it does, that would indicate that your worlds heightmaps are busted and that you'll need to look into rebuilding that information

I've reset the spawn point a couple of times. I've even built a couple of blocks up and set the spawn up up on 2 blocks. Same thing.

I didn't find much about fixing "worlds heightmaps" mostly it was corrupt and...

civic cryptBOT
#

Cxom replied to the thread 1.20 player input packet.

In the clip, it looks like the camera is not moving. You can make the client ride a display or armor stand which won’t move and still detect their input, but they’ll be able to (try to) look around (best you can do is cancel that movement, but it’ll jitter if they try as the client fights the incoming packets). Unfortunately, there’s no way to freeze their look direction perfectly without that jitter for exactly the reason you said.

civic cryptBOT
#

zaralx started a thread called Create NPC with paperweight 1.21.1.

after working with npc on spigot 1.20.1 nms I decided to try to write npcManager on 1.21.1 paperweight, but already 2 hours I sit and can not do something working, after a bunch of promt chat gpt I came to the forum.
The current npc class looks like this:
package ru.zaralx.evoSurvival.utils.npc;

import com.mojang.authlib.GameProfile;
import com.mojang.authlib.properties.Property;
import lombok.Getter;
import lombok.Setter;
import net.minecraft.network.Connection;
import...

civic cryptBOT
#

vanaedynak started a thread called How to make versions GeyserMC 1.20.80 - 1.21.50?.

I’ve seen servers with Geyser running on these versions, but I don’t understand how to do it. I really want my server to work the same way. Please help.

civic cryptBOT
#

Fendi started a thread called Trident Rotation.

I have a trident as an item display entity.
I want it to always be turned to me in the same position.
How can I do this? I managed to do it a bit with a custom offset, but when I look at the other side of the world, its rotation changes completely.
float playerYaw = player.getLocation().getYaw();
float playerPitch = player.getLocation().getPitch();

float customYawOffset = (float) customConfig.getDouble("trident.customYawOffset");
float customPitchOffset = (float)...

civic cryptBOT
#

Slav ebb started a thread called How to get started on NMS?.

Hii, so i was wondering on how to set up NMS? I'm at this stage where i can't really post-pone getting started with NMS (as some things are just impossible without it. I am using MAVEN, 1.21 build 130
Please explain how it's done, im too braindead to understand what the documentations say.

civic cryptBOT
#

rodolfo started a thread called Erro no Paper.

DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - 1.21.4-136-e0711af (MC: 1.21.4) ---
[20:43:12 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[20:43:12 ERROR]: ------------------------------
[20:43:12 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[20:43:12 ERROR]: ------------------------------
[20:43:12 ERROR]: Current Thread: Server thread
[20:43:12 ERROR]: PID: 44 | Suspended: false | Native: true | State...

civic cryptBOT
civic cryptBOT
#

NonSwag started a thread called Worlds.

🌍 Worlds – The Ultimate World Management Plugin for Paper & Folia

Worlds is a modern, lightweight world management plugin designed for Paper and Folia servers.
It brings seamless world handling with customization presets, eliminating the need for extra plugins just to create void worlds or custom flat maps.
Simply pick a predefined preset—or define your own!

🔹 Why Choose Worlds?
✅ Vanilla Flat World Preset – No more extra plugins for void or flat maps
✅ No Extra Data Files – Worlds doesn't...

civic cryptBOT
civic cryptBOT
#

garrettcarrot69 started a thread called Maps not visible in items frames.

Im trying to put a map inside of an item frame to display for my server but instead of showing the image on the map, it just shows the map itself.

Example:

Ive experimented on a fresh server without plugins and it seems to be paper itself. Is there any fix to this?

civic cryptBOT
civic cryptBOT
civic cryptBOT
civic cryptBOT
#

romeoz started a thread called specs for velocity.

I want to see what others recommend for a velocity server. currently I have 4 servers, server 1 i9-14700k with 128gb ddr5, server 2-4 amd 5 ryzen 5900gt with 64gb ddr4. all these servers seem overkill for a proxy server, so wanted to see what others are using. thanks

#

Viques started a thread called player.setPose() doesn't work.

I'm trying to make a method to change the pose of a player when interacting with an item but using the method provided by paper does not seem to work.
I'm sure that the code is executed because I tried to debug by sending messages, also in the console there are no errors.
I also tried to run it repeatedly with a task but it still does not work.

Can you help me?

@EventHandler
public void interact(PlayerInteractEvent event) {
if (event.getHand() != EquipmentSlot.HAND)
return...

#

romeoz started a thread called velocity specs.

I want to see what others recommend for a velocity server. currently I have 4 servers, server 1 i9-14700k with 128gb ddr5, server 2-4 amd 5 ryzen 5900gt with 64gb ddr4. all these servers seem overkill for a proxy server, so wanted to see what others are using. thanks

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

But i still dont like that! It's still scary...😣
I use the Spigot API Based Plugins more often.
for that, i would like to still stay in the spigot-api Plugins. I dont want to use alternatives of my favorite plugins.
Geyser-Spigot also uses Spigot For Some reason, i dont want to use Geyser-Standalone. 😥
Slimefun has Paper Support Through PaperLib, But it has Spigot Support. The chances that Slimefun will be Using Paper-API is so low. So i am still scared about it. 😱

civic cryptBOT
#

mbaxter replied to the thread The future of Paper - Hard fork.

But i still dont like that! It's still scary...😣
I use the Spigot API Based Plugins more often.
for that, i would like to still stay in the spigot-api Plugins. I dont want to use alternatives of my favorite plugins.
Geyser-Spigot also uses Spigot For Some reason, i dont want to use Geyser-Standalone. 😥
Slimefun has Paper Support Through PaperLib, But it has Spigot Support. The chances that Slimefun will be Using Paper-API is so low. So i am still scared about it. 😱

It really feels like...

civic cryptBOT
#

hector01 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 . ehsaas program cnic check online 25000 2024

Velocity does not include JDBC drivers by default, so you'll need to manually add them by shading or providing them separately to ensure proper database connectivity in your application.

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

If some well-liked plugins choose to support only a tiny fraction of their users, I'm sure alternatives (or, even, just forks) will appear to have paper support.

alternatives designed for paper dont work like original ones. Slimefun alternatives Such as itemedit doesn't have Industry related things.

i am super scared about paper's future, what if bukkit/spigot compatblity breaks?

#

mbaxter replied to the thread The future of Paper - Hard fork.

alternatives designed for paper dont work like original ones. Slimefun alternatives Such as itemedit doesn't have Industry related things.

I did also say fork in the message you quoted. That's also a possibility, for if a plugin chooses to only support a couple percent of their users, abandoning 95% of them.

i am super scared about paper's future, what if bukkit/spigot compatblity breaks?

I do not know what to tell you, as you appear unwilling to accept any possibility but catastrophe.

civic cryptBOT
#

Ojiie started a thread called Tripwirehook dupe.

Hello, today i changed my 1.21.4 vanilla server to papermc still 1.21.4 but i came across a problem, i have a tripwire hook dupe farm to get like emeralds when trading with villagers but now with papermc its not working anymore. On vanilla it was working fine and i was wondering how can i fix it? I already tried to enable option in paper global config in unsupported setting but nothing changed at all. help me fix please !!! (and btw this is not string dupe, tripwire dupe yes)

civic cryptBOT
#

electronicboy replied to the thread Tripwirehook dupe.

I fixed this years ago without a config option, if you create an issue on the tracker, one may get around to adding a config option

civic cryptBOT
#

Noy replied to the thread How to use MobGoals API.

Noy

Hello all. I want to develop some custom AI behaviour with using default behaviours to. I know, I can remove all AI and set cusom, but i dont need only cuson behaviours, i want use some default.

So question is: how to add default AI Mob goals to the Paper MobGoals API. Thak you all.

If u give me an example ill be happy.

I can't find any method to create a vanilla goal, so I'm sorry but maybe you should dig into NMS:

Bukkit.getMobGoals().addGoal(mob, 1, new PaperVanillaGoal<>(
new...

#

Noy replied to the thread player.setPose() doesn't work.

Noy

Pose is a client-side action and can only be seen by other players. Worse still, some poses can be only performed under certain circumstances.

civic cryptBOT
#

Deepexe started a thread called Why minecraft lag when player open chest in boat ?.

Boat structure spawn randomly in the map and when a player open a chest inside that make server lagging for like 1 secondes
And that not from paper only all version with boat make that

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

of course i am unwilling to accept any possibility but catastrophe. there is no better alternatives for slimefun. No One will try to rewrite Slimefun IV and some of the alternatives use commands or configs(which are vulnerable) instead of Java Code. of course i'm scared of it.

civic cryptBOT
#

EterNity replied to the thread The future of Paper - Hard fork.

I don’t know why your personal choice of software to use becomes a responsibility of PaperMC. Seems to be a very self-centered viewpoint. Hard fork is generally a good thing for Paper itself. Either embrace it or be left in forgotten history. The world moves on without you or me - that's just how things are.

#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

maybe i will consider embracing it, but to do that, i have no choice but to acquire more plugins.

#

EterNity replied to the thread The future of Paper - Hard fork.

I mean, the maintainer of Slimefun also indicated that from 1.21 onward, they will drop Spigot support in favor of Paper, so I honestly am not sure where all the fear comes from. Did you perhaps missed their announcement?

#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

oh, thank god it's dropping now. ok, now i understand. i have to accept the hardfork. and maybe, adapt to new modern API.

civic cryptBOT
#

Jacketylon started a thread called I can't place signs on top of eachother in paper 1.21.4 build 144.

I'm not sure if this is a plugin that's doing this (which I doubt, since all the plugins are the same as a previous version of paper where this wasn't an issue), but I can't place signs on top of eachother. When I try, it just disappears, and it takes breaking the first sign to get the ones back that disappeared.
My plugins are:

AFKPlus
BooksWithoutBorders
DiscordSRV
LogBlock
MoreMobHeads
Passky
SkinsRestorer
WorldEdit

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

is there a chance that Spigot API get replaced with new api and Dropped in the future when Paper Plugin API is complete?

civic cryptBOT
#

Sexy Fat Man started a thread called Plugins that allow for creation of menu items?.

Was wondering if there is a plugin people could recommend that allows for easy/easier creation of menus or any kind of menu creation.
Command, Item, entity etc doesn't exactly matter to me.

#

Sexy Fat Man started a thread called Is there a standard for data saving and if so using what?.

For example is it a standard to use a local db in the form of sqlite or externals like mongoDB etc? If there is, could you point me towards any useful resources and also any plugins/packages that could be used to interaction between the mod and the database?

civic cryptBOT
#

piotrbednarski started a thread called LogicGates | Redstone logic gates in one block!.

Logic Gates for Spigot servers
Forget about giant Redstone logic gates!

Extensive Gate Selection: Build one of the 7 basic logic gates (NOT, OR, AND, XOR, NOR, NAND, XNOR) and additional gates such as implication, TIMER (oscillator), or RS-Latch (memory gate).
Intuitive Interface: Choose gates using a graphical interface (GUI).
High Performance: The plugin runs efficiently thanks to a system of synchronization with server ticks, task queuing, batch processing, and many optimization...

civic cryptBOT
#

Sexy Fat Man started a thread called Simple Trashcan | A command based gui trashcan.

Simple Trashcan is a very basic trashcan system that allows users to delete their unwanted items.

All this really does is create a new inventory, display the inventory to the player and that is it after they execute the command and/or one of its aliases.

Open source: https://github.com/SexyFatMan221/SimpleTrashCan/releases
Comes with a pre-compiled release too.

civic cryptBOT
#

stefvanschie replied to the thread Is there a standard for data saving and if so using what?.

I don't think there's much of a standard here. For local file storage, JSON is pretty common, some people use HOCON and a lot of people (ab)use YAML. For databases it's pretty much standad to use something SQL, like MySQL or PostgreSQL, with SQLite for local databases.

civic cryptBOT
#

Sexy Fat Man replied to the thread Is there a standard for data saving and if so using what?.

I don't think there's much of a standard here. For local file storage, JSON is pretty common, some people use HOCON and a lot of people (ab)use YAML. For databases it's pretty much standad to use something SQL, like MySQL or PostgreSQL, with SQLite for local databases.

Fair enough. Looked at other plugins they utilize sql/jdbc for databases and/or local sql dbs. I also dont recommend suggesting JSON as it is prone to corruption in big operations. But thanks.

civic cryptBOT
#

Outfit8TSB started a thread called how to use paperweight-patcher II to make git patches?.

the hunk patch is better but i prefer git patches. how can i do that with paperweight? i mean, you have git style patch class called features.

i just dont use hunk patch because when i used it, it has too many works to generate only 1 PATCH. i just go simple and apply bunch of large patches at once.

civic cryptBOT
#

tmpod started a thread called How to properly use libraries based on netty?.

Hello!

I'm developing a plugin that needs to use a library based on netty (redisson to be specific), but I'm unsure how to make it work properly. Simply relocating the entire library (and netty) doesn't quite seem to work. I've seen people saying that Paper already provides netty, so it's unnecessary to shade and relocate everything, but I'm also unsure which parts are provided and which aren't. I've also seen people use mergeServiceFiles and transform to fix something related to netty...

civic cryptBOT
#

swlm started a thread called Events in Velocity..

Can I listen to events that go directly from the server to the Proxy?

Or do something like this.
For example, listen to OnPlayerMoveEvent (Event when a player moves)

civic cryptBOT
#

electronicboy replied to the thread Events in Velocity..

it's a standalone piece of software, it doesn't know about events firing on the backend server

civic cryptBOT
#

Outfit8TSB started a thread called i now understand why Paper is hardforking..

it's not only a strict policy to stay up-to-date with Spigot, most noticeably with slower version updates since its updates to snapshots, pre-releases and release candidates are worked on behind closed doors, but also because of md_5's offensive behavior. am i right?

civic cryptBOT
#

BouncyBonBon started a thread called How to hide /kill death messages.

Even with game rule showDeathMessages set to false, anything relating to /kill will still spit out a '<player> died' death message. People on the Minecraft Discord say it's something in paper's config, but after checking both paper-global.yml and paper-world-defaults.yml I can't find any setting to change that.

Anyone know how to change this? (On MC 1.20.4, Paper 1.20.4 (496))

civic cryptBOT
#

StudentALleg started a thread called Correct Way To Do Async Brigadier.

Hello,
I am working on porting our Command system over to Brigadier, and have run into a snag.
You cannot throw CommandSyntaxExceptions from a CompletableFuture or Consumer.

My understanding is that CommandSyntaxExceptions are how you communicate that a command has an improper input. I assume this is also how arguments know to check the next argument type.

We store information about players that have connected to our server in an Object called the client (this would be name, id, rank)...

civic cryptBOT
#

kennytv replied to the thread The future of Paper - Hard fork.

No API that isn't already marked as deprecated for removal will be removed

civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

well, seems that no matter what, we must Stray and Exodus from SpigotMC, And adapt to New Modern API. This Is Not an Temporary Moving from Spigot to hangar, it's an exodus from Spigot.

civic cryptBOT
#

CuppaJ03 started a thread called Fix for Mob Farms.

Me and my buddies are currently running a server with Paper and are having some issues with the mobs spawn rates for the farms we have built. After some research I have seen that this is a common issue in the past but I have not seen anything about this recently. Is there any changes that I can make that I might have overlooked, that will improve the farms we run?

civic cryptBOT
#

EterNity replied to the thread Fix for Mob Farms.

First of all, could you provide a spark report by running /spark profiler start --timeout 11 and reply with the URL here?

Secondly, try to mirror you’d config with this page, it will make your server as close to Vanilla as possible. https://docs.papermc.io/paper/vanilla

Thirdly, try to time your game yield with only one player online and around the farm, your farm yield will be lowered if there are other players online. This is the same behavior with Vanilla.

civic cryptBOT
#

CuppaJ03 replied to the thread Fix for Mob Farms.

It truly may be just a effect of having multiple people on but I figured it wouldn't hurt to see if there is anything that I can change.

  1. https://spark.lucko.me/tgF4paB9Po
  2. Done
  3. Will do

I appreciate the help!

civic cryptBOT
#

Rukang10 replied to the thread Should I use Folia on a server with 100-300 players?.

If a plugin is completely written without any Thread Unsafe APIs (Most Spigot's and Bukkit's APIs aren't compatible with Folia) then it won't be an issue at all.

For now just use Paper for compatibility until PaperMc's team fixes all issues with Folia.

#

Rukang10 replied to the thread Correct Way To Do Async Brigadier.

That depends on what are you actually doing.
Not everything is safe from multitasking.

civic cryptBOT
#

hmr replied to the thread Banned on Discord server.

hmr

You provided no information on who you are, and the only account we could surmise from what you did provide is not banned

I am still banned, can we fix that?

civic cryptBOT
#

electronicboy replied to the thread Banned on Discord server.

as I've previously said elsewhere, we have zero bans on record for the information you have provided

civic cryptBOT
#

NormalChell started a thread called Leaf decay for custom trees issue.

I have my custom trees that's leaves are decaying over time. This happens because some of leaves are not connected to wood with other leaves. Answer to this question would be is to replace these leaves with property persistent=true, but my goal is to make these trees suitable for chopping down in survival and then leaves decaying. I want to know, is there such plugin or server settings maybe that can prevent leaves from decaying if they are not connected to wood but are at a certain distance...

civic cryptBOT
#

consler started a thread called isDecaying() for newer versions?.

I was wondering how to check if a leaf is currently in the process of decaying? isDecaying existed, but was deprecated some time ago. I'm aware isPersistant exists, but that's more of a replacement for isDecayable.

Is writing a script to check for logs properly the most efficient option, or is there something easier?

civic cryptBOT
#

Alex9303 started a thread called Local Difficulty and Day Count missing.

On Paper servers, the Local Difficulty and Day Count just shows '??'. Is there any way I can fix this? I've looked for other threads and Google and haven't really found much info about it. It would be nice to see the day count on my server.
Below is a vanilla server vs a paper server on the same seed:

civic cryptBOT
#

Warrior replied to the thread Local Difficulty and Day Count missing.

Was the picture from vanilla made on an actual vanilla server or in singleplayer? I have a vanilla server where I'm also not able to see the day count, the first post I could fine online about it mention that loading the same world in singleplayer does still show it.

#

Alex9303 replied to the thread Local Difficulty and Day Count missing.

You're right. The vanilla screenshot was taken in a singleplayer world. I didn't think that would change anything but it actually does. I downloaded the official server jar from Mojang's site and the Local Difficulty and Day Count doesn't show up there either. Meaning that this is not a Paper issue. My bad.
Here is a screenshot from the actual vanilla server:

civic cryptBOT
#

electronicboy replied to the thread Local Difficulty and Day Count missing.

That calculation relies on information that isn't sent to the client. It was wrong for years, and Mojang just opted to remove it in a past update

civic cryptBOT
#

slayworldspite started a thread called No mobs spawning in Trial Chambers.

Hi,
My friends have looked for trial chambers but told me that they spawn no mobs. I checked the logs and saw this. (not everything, sometimes it shows other mobs or other attacks etc.)

[17:36:50 ERROR]: Not a map: "minecraft:trial_chamber/melee/husk/normal"
[17:36:50 ERROR]: Not a map: "minecraft:trial_chamber/small_melee/silverfish/normal"
[17:36:50 ERROR]: Not a map: "minecraft:trial_chamber/small_melee/silverfish/normal"
[17:36:50 ERROR]: Not a map...

#

slayworldspite replied to the thread No mobs spawning in Trial Chambers.

In case it's important here are my plugins:

KeepChunks
Chunky
Dynmap
ViaVersion
Floodgate
AutoBackup
Geyser
EssentialsX

I also once did /killall hostile but I don't think it should've killed the ones in the spawner, especially ones in unloaded chunks.

civic cryptBOT
#

phantomyy started a thread called Iron farm in a loaded chunk won't spawn any golem unless players are near.

Exactly as the title says, I've got an iron farm in a loaded chunk (the chunk is loaded with an enderpearl and I've made sure that redstone and command blocks work in that chunk even if no players are near) but no iron golem spawn unless players are near. Switching to spigot made the farm work (but breaks some other farms, so I'd prefer to keep on using paper)

civic cryptBOT
#

Xcap replied to the thread Entity Stuck / Loop issues.

I'm a bit late to this, but Id just like to say that somehow I made the same exact mistake when changing the spawn-protection. I appreciate this post though for helping me realize my mistake. Ive spent days talking to server host support trying to figure out what the issue was. WHOOPS

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

joshua1316 started a thread called Protecting My Home IP with Velocity Proxy – Am I Safe?.

Hey everyone,

I’m planning to run a Minecraft server from my home computer, but I’m concerned about my IP being exposed and the risk of DDoS attacks. I’ve been looking into using Velocity as a proxy and wanted to see if this setup would effectively protect my home network. I want to launch a Minecraft server and how a powerful spare pc to run the server 24/7.

My Plan:

Host a Velocity proxy on a paid server host (either a small VPS or a dedicated game host).
Route all player connections...

civic cryptBOT
#

BenDoesAThing started a thread called Unable to read/load/save your velocity.toml.

When trying to start velocity, I get en error and the server shuts down immediately. Any ideas on what could be going wrong?

civic cryptBOT
#

Notnightsky started a thread called Older build of the plugin works but the new build with the same code does not work..

As the title states, in the older Build(https://github.com/XMODERLIVE/ViperX/releases/download/V0.2/ViperX.V0.2.jar) the event listener works, but the newer build(https://github.com/XMODERLIVE/ViperX/releases/download/dnd/viperx-0.1.jar) with the same code listeners do not work.

civic cryptBOT
#

SkytAsul replied to the thread Protecting My Home IP with Velocity Proxy – Am I Safe?.

Unless there is a security flaw in the Velocity software, your home IP address would be safe. Your home network will also be protected from DDoS attacks (but your proxy will not!)

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

Belzebuth started a thread called /recipe give.

Hello, I'm having a problem with a command.

Version papermc : 1.21.4
Serveur : Windows data center 2022
Api : Fabric

The command in question is /recipe give @p *

I'm getting an error message: Error: Unknown object name: give.

As shown in the image.

#

electronicboy replied to the thread /recipe give.

You more than likely have a plugin overriding the command, you can use Minecraft:recipe to force using the vanilla one

#

Belzebuth replied to the thread /recipe give.

Thanks, it works ^^.

But how can I make the following command /recipe give @p * work?

In terms of plugins, I think it's in EssentialsX, but I don't know if I can tell it to let the command go through?

civic cryptBOT
#

yatharthg started a thread called server not working.

server not working
12:37:01 ERROR: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - 1.21.4-4-d4630f1 (MC: 1.21.4) ---

12:37:01 ERROR: The server has not responded for 10 seconds! Creating thread dump

12:37:01 ERROR: Server thread dump (Look for plugins here before reporting to Paper!):

12:37:01 ERROR: Current Thread: Server thread

12:37:01 ERROR: PID: 35 |...

#

electronicboy replied to the thread server not working.

  1. update, you're well over 200 builds out of date
  2. probably want to check your gamerules, you may need to use a tool to modify the level.dat manually
civic cryptBOT
#

tommysanchez replied to the thread Create NPC with paperweight 1.21.1.

Block Blast is a hard puzzle game that blends classic Tetris features and current gameplay, delivering an immensely interesting entertainment experience. With basic but interesting gameplay, block blast is an excellent pick for individuals who love intellectual games and want to exercise logical thinking.

civic cryptBOT
civic cryptBOT
civic cryptBOT
#

RapidCubers started a thread called Cannot join server, it shows disconnected and some logs..

I have a paper mc server it shows check plugins before reporting to Paper. I cannot join the server and the console shows some logs again and again.
Below are the logs attached Please help me I have tried almost every fix.

civic cryptBOT
#

hugopcgamer124 started a thread called Chat validation error.

For some reason my 1.21.4 paper mc server randomly says chat validation error when someone types in the chat. However what they said is perfectly readable in the server console. I do have online mode off but chat worked when it was off.

#

mbaxter replied to the thread Chat validation error.

I do have online mode off

We don't support piracy.

#

Factice started a thread called CommandAPI causes error.

Im kinda new to plugin development and i got a problem with CommandAPI. I got my code with events and commands and all. But when i try to register the commandapi in my main and then start my server in intellij, this error is shown: "Caused by: java.lang.ClassNotFoundException: net.minecraft.core.HolderLookup$a"
I still can join the server but the plugin just doesnt work. Does anyone know why?

civic cryptBOT
#

ItzLoghotXD replied to the thread CommandAPI causes error.

can you share your code? or you can use my command api to make commands.

#

Player81 started a thread called kicked from proxy server due to multiplayer.disconnect.out_of_order_chat.

I have a problem - I get kicked out of the proxy server because of multiplayer.disconnect.out_of_order_chat when I enter any command. proxy server version: git-Paper-196 (MC: 1.20.1) velocity version: 3.4.0-SNAPSHOT

civic cryptBOT
#

ItzLoghotXD started a thread called Custom Enchants in 1.16.5.

I am kind of new to plugin development and i want to make/add custom enchants can anyone tell me how can i do that?
i have seen this but i cannot understand it well. and can i automatically add the enchantment name to the items lore?

#

Factice replied to the thread CommandAPI causes error.

can you share your code? or you can use my command api to make commands.

It just appeard when i put that line "CommandAPI.onLoad(CommandAPIBukkitConfig(this).silentLogs(true))" there.
Here is my main:
class Main : KPaper() {

override fun load() {
    CommandAPI.onLoad(CommandAPIBukkitConfig(this).silentLogs(true))
    server.consoleSender.sendMessage(Component.text("Hallo Server"))

    FirstCommand()
}



override fun startup() {
    CommandAPI.onEnable()...
civic cryptBOT
#

victorbrown started a thread called Villagers disappearing on PaperMC.

We've been running PaperMC for quite a while without any major issues. However, since starting a new world on version 1.18.1, we've noticed some strange behavior with villagers.

The most significant problem is that villagers are disappearing randomly, even those that are tagged. This has happened in several locations, including a few in an iron farm and several in player-created villages.

Additionally, villagers often have their trades blocked, even after sleeping.

This doesn't seem to be...

civic cryptBOT
#

Jackoboy_official started a thread called 1.21.5??.

Guys, does anyone know when PaperMC will be releasing their 1.21.5? My server has been down for bedrock players because I cannot update it. Does anyone know a temp

#

mbaxter replied to the thread 1.21.5??.

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

civic cryptBOT
#

Danin started a thread called Set personal server.

hi, i recently bought a small pc to host a minecraft server to play with few friends. searching for a tutorial i found this video on youtube: "" so i've proceded installing ubuntu server, set everything, created my profile etc... Since i wanted to use paperMC instead of AMP i downloaded Paper 1.21.4-221 on my main pc thinking to upload it on the other server/pc with ubuntu using the command prompt from my main pc and the "SSH-SCP" method. Doing so it says "No such file or directory" even if...

civic cryptBOT
#

PizzaForLivet started a thread called String Duper.

Hello, so after the new minecraft updates, string dupers doesnt work anymore. I was wondering if there is anyway to make them work again inside the paper config?

#

renvins started a thread called Introducing ServerPulse.

Hey folks,

I’ve been tinkering with an open-source project called ServerPulse, and thought I’d share it here on the Spigot/Paper forums. The idea is pretty straightforward: gather up all those important performance metrics (TPS, CPU usage, memory, entity counts, etc.) and feed them into a time-series database (like InfluxDB). Then, we can throw together some Grafana dashboards to see how the server does over time so, not just a snapshot of performance, but a way to track its history and...

civic cryptBOT
#

mbaxter replied to the thread String Duper.

Mojang fixed that bug. We have some other things available for re-enabling but that isn't one. If you want your players to have unlimited string, consider finding a plugin that offers it.

civic cryptBOT
#

hopebhau started a thread called PaperSpigot 1.21.5.

When will the latest version PaperSpigot 1.21.5 be released any ideas???

#

mbaxter replied to the thread PaperSpigot 1.21.5.

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

civic cryptBOT
#

alextech01 replied to the thread 1.21.5??.

Your server should work fine for Bedrock 1.21.70 players if the server's on 1.21.4 and is using the latest build of Geyser. There's no solution yet for Java players on 1.21.5.

civic cryptBOT
#

Gizmotron3000 replied to the thread 1.21.5??.

Your server should work fine for Bedrock 1.21.70 players if the server's on 1.21.4 and is using the latest build of Geyser. There's no solution yet for Java players on 1.21.5.

No I'm having the same issue. I tried viaversion and it didn't work. I know there's a spigot 1.21.5 out but I don't know how to replace my server with that one.

#

mbaxter replied to the thread 1.21.5??.

We don't recommend running Spigot, especially this early in release cycle. Lots of potential bugs to iron out.

If you need help with geyser, see geyser's support. For viaversion, see viaversion's support. I know via has an update for 1.21.5, but can't speak for geyser.

#

Gizmotron3000 replied to the thread 1.21.5??.

We don't recommend running Spigot, especially this early in release cycle. Lots of potential bugs to iron out.

If you need help with geyser, see geyser's support. For viaversion, see viaversion's support. I know via has an update for 1.21.5, but can't speak for geyser.

Don't they work hand in hand?

#

mbaxter replied to the thread 1.21.5??.

ViaVersion and Geyser are separate plugins. Paper produces neither, but both run great on it.

#

Gizmotron3000 replied to the thread 1.21.5??.

ViaVersion and Geyser are separate plugins. Paper produces neither, but both run great on

So I'll just have to wait till paper 1.21.5 comes out? or do you know how to change it to spigot cause I'm already running it on there for performance.

#

mbaxter replied to the thread 1.21.5??.

ViaVersion would enable 1.21.5 players to play on your server. Geyser would enable bedrock players. I would not recommend running Spigot instead of those things, but if you wish to run it that is not something we provide support for.

#

electronicboy replied to the thread 1.21.5??.

ViaVersion has jars to add protocol support for 1.21.5, however, you might need to pay for the early releases; Geyser apparently works for 1.21.4, however. We do not provide support for server software that isn't ours, noting that running your server on Spigot might cause damage to existing data on your server and used by plugins, you would really be better off waiting until Paper has releases, rather than running early experimental spigot builds.

#

Gizmotron3000 replied to the thread 1.21.5??.

Thank you, I just messaged bedrock players of my server and apologized for the inconvenience. While you're hear, does hydraulic work? If you don't know it's a plugin that allows bedrock players to use mods.

#

mbaxter replied to the thread 1.21.5??.

We do not produce geyser or hydraulic. You should ask them for help with their stuff.

#

Gizmotron3000 replied to the thread 1.21.5??.

We do not produce geyser or hydraulic. You should ask them for help with their stuff.

OK, just wondering. Thank you for the support.

#

alextech01 replied to the thread 1.21.5??.

Paper 1.21.4 + ViaVersion + the latest build of Geyser works fine for me for 1.21.70 players, but I don't think ViaVersion is making any difference since it doesn't support 1.21.5 yet.

#

Gizmotron3000 replied to the thread 1.21.5??.

Paper 1.21.4 + ViaVersion + the latest build of Geyser works fine for me for 1.21.70 players, but I don't think ViaVersion is making any difference since it doesn't support 1.21.5 yet. Not sure what's going on for you.

Do you have aditional plugins?

#

mbaxter replied to the thread 1.21.5??.

ViaVersion has early releases for 1.21.5, as already said.

#

Gizmotron3000 replied to the thread 1.21.5??.

ViaVersion has early releases for 1.21.5, as already said.

What? I was asking if the person with a working server had additional plugins.

#

Gizmotron3000 replied to the thread 1.21.5??.

Paper 1.21.4 + ViaVersion + the latest build of Geyser works fine for me for 1.21.70 players, but I don't think ViaVersion is making any difference since it doesn't support 1.21.5 yet. Not sure what's going on for you.

Are you also talking about bedrock players on console?

#

mbaxter replied to the thread 1.21.5??.

What? I was asking if the person with a working server had additional plugins.

And that person claimed ViaVersion doesn't have an update. Remember, this place isn't the place for support with bedrock clients or with viaversion. You can get better support directly from those folks! :)

#

Gizmotron3000 replied to the thread 1.21.5??.

And that person claimed ViaVersion doesn't have an update. Remember, this place isn't the place for support with bedrock clients or with viaversion. You can get better support directly from those folks! :)

Oh, i'm just confused I guess.

#

alextech01 replied to the thread 1.21.5??.

My plugin list:
BedWars-0.2.36.1.jar
CommandBlocks-v1.4.0.jar
CoreProtect-22.4.jar
EconomyShopGUI-6.11.1.jar
EssentialsX-2.21.0.jar
EssentialsXChat-2.21.0.jar
EssentialsXSpawn-2.21.0.jar
Geyser-Spigot.jar
LuckPerms-Bukkit-5.4.157.jar
PlaceholderAPI-2.11.6.jar
ProtocolLib.jar
PurpurExtras-1.34.5.jar
SkinsRestorer.jar
TAB v5.0.7.jar
VaultUnlocked-2.9.0.jar
ViaBackwards-5.2.1.jar
ViaVersion-5.2.1.jar
VoidWorldGenerator-1.3.2.jar
floodgate-spigot.jar
multiverse-core-4.3.14.jar...

civic cryptBOT
#

NickCloudAT started a thread called Get structure a player is in.

Hey,

I'm currently making a plugin in where I need to check in which structure a player is in.. Currently I have smth like this:

            for(final Player p : Bukkit.getOnlinePlayers()){
                final ArrayList<String> foundStructures = new ArrayList<>();

                for(final GeneratedStructure generatedStructure : p.getChunk().getStructures()){
                    if(!generatedStructure.getBoundingBox().contains(p.getLocation().toVector()) ||...
#

Coldiron0889 started a thread called MC Shuts down at 6 min with no Error.

My paper server shuts down with no errors after running for 6 mins. The run time is the only common denominator I've been able to establish. Any ideas?

civic cryptBOT
#

NickCloudAT replied to the thread Get structure a player is in.

Well, found a way:

String structureString = Objects.requireNonNull(RegistryAccess.registryAccess().getRegistry(RegistryKey.STRUCTURE).getKey(generatedStructure.getStructure())).asMinimalString();

civic cryptBOT
#

rodolfaisunett started a thread called I can't see villagers discounts while my friend can..

I was making a villager trading hall underground so I lured a zombie to my villagers. I infected two of them, then my friend cured them. As a result my friend got to see the discounts while couln't.
Do you know any way i can fix this ?

civic cryptBOT
#

ddim.avo replied to the thread MC Shuts down at 6 min with no Error.

What plugins are installed?
Are there any crash logs?
Have you accepted the EULA?

#

ddim.avo replied to the thread Set personal server.

Download paper***.jar to the server itself via wget or curl to the folder where you will place the server. After that, create a launch script on the server (I recommend https://flags.sh), and run it.
In general, since you have chosen Linux as your OS, I advise you to study the basics of working in the console.

civic cryptBOT
#

serflain started a thread called Issues w/ Linux.

I'm trying to run a papermc server via a Linux Ubuntu virtual machine on port 25565, I've already port forwarded and everything and the server appears to be offline even though its up and running in the terminal, not really sure if I'm missing anything as I haven't used Linux before. Was able to get a server running online fine on windows.

civic cryptBOT
#

Chevels replied to the thread The future of Paper - Hard fork.

Hello :)
I've been following this closely and have read the entire thread, including the responses from the Paper developers. I understand the purpose of this hardfork, but I agree with some other admins who are concerned because my server relies on numerous plugins to deliver its content.
So I submitted the question to a few developers to anticipate the impact this will have on my server and to see which plugins won't follow Paper when it decouples from Spigot. A large number of them...

civic cryptBOT
#

stefvanschie replied to the thread The future of Paper - Hard fork.

We understand your concerns that some of the plugins you're currently using might no longer work on Paper in the future because the developers will only support Spigot. However, we know of many plugins that will either keep supporting both Spigot and Paper or outright only support Paper in the future, such as WorldEdit, WorldGuard, and EssentialsX. Furthermore, for modern versions, there is an even larger divide between Spigot and Paper. For example, for 1.21.4, the amount of servers using...

civic cryptBOT
#

Bochardi started a thread called [Tag Plugin] Feedback.

Hello everyone,

This is my first time ever making a plugin and first time ever really touching Java. With that being said I was wondering if any one could give any recommendations on my plugin, It is a simple tag plugin, this is not a release but rather me requesting constructive criticism to help me in my journey of writing good code, I know some areas may be sloppy, But i am still learning the overall Java and Minecraft plugin development as I was coding this. Anyways here is a link to...

#

mbaxter replied to the thread [Tag Plugin] Feedback.

It looks like you have the plugin set to private! Cannot view.

#

Bochardi replied to the thread [Tag Plugin] Feedback.

It looks like you have the plugin set to private! Cannot view.

Ack! That’s Embarrassing should be all set now

civic cryptBOT
#

panos_milo started a thread called PaperMc 1.21.5.

I would like to ask if and when a new version of the PaperMc software will be released based on the latest update of Minecraft 1.21.5 so I can play with my friends connected to PS5?

civic cryptBOT
#

mbaxter replied to the thread PaperMc 1.21.5.

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

#

panos_milo replied to the thread PaperMc 1.21.5.

Thanks a lot for the answer, I would like to ask if it is certain that such an update will be released?

#

mbaxter replied to the thread PaperMc 1.21.5.

It is being actively worked on. You can view progress on our github, or see some update notes on our discord.

#

mbaxter replied to the thread [Tag Plugin] Feedback.

Some feedback:

Don't commit the target directory to your git repo.
You're building against 1.21.4 but have only 1.21 in plugin.yml's api-version. You can set it to '1.21.4'
Commands typically are lowercase. "Tag" is jarring, in that way. I don't think it really impacts anything, though.
Command class:

I think you mean to test for arg length being 0, not >1, for displaying help.
The established "Component message;" is strange. Just create the variable, when necessary, in the code and...

civic cryptBOT
#

Bochardi replied to the thread [Tag Plugin] Feedback.

Some feedback:

Don't commit the target directory to your git repo.
You're building against 1.21.4 but have only 1.21 in plugin.yml's api-version. You can set it to '1.21.4'
Commands typically are lowercase. "Tag" is jarring, in that way. I don't think it really impacts anything, though.
Command class:

I think you mean to test for arg length being 0, not >1, for displaying help.
The established "Component message;" is strange. Just create the variable, when necessary, in the code and...

civic cryptBOT
#

matsyui started a thread called Server Stuck on Startup, No Crash Logs Generated - Need Help Troubleshooting.

Issue:
Every time I restart/start my server, it gets stuck and no crash log files are generated in the directory. This makes it difficult to identify the issues. The server fails to start and gets stuck at the following log:

[23:35:05] [Server thread/INFO]: Waiting for I/O tasks to complete.
[23:35:05] [Server thread/INFO]: All I/O tasks to comple
[23:35:05] [Server thread/INFO]: [MoonriseCommon] Awaiting termination of worker pool for up to 60s.
[23:35:05] [Server thread/INFO]...

civic cryptBOT
#

Going replied to the thread The future of Paper - Hard fork.

A bigger concern I think is not plugins that are still being supported, but those that aren’t. Like if something in the paper api breaks vault for example even though that’s unlikely. Although thankfully normal Minecraft updates tend to break plugins that rely on NMS anyway if they aren’t updated.

When it comes to places where plugins can be downloaded, I doubt Hanger is going to become that popular at least not for a while. I find that more and more new plugins are being posted on...

civic cryptBOT
#

adminoid started a thread called Is there way to get user balance externally?.

Firstly, I want to add game balance to the server, I find the way to do it with example plugins, it's one question.

Secondly, I need to create web site monitoring with user balance, to do that I need to get users balance externally, balance must to be actual in moment...

Third thing it is possibility to change user balance externally too.

May be exist ready-made solutions? Or better examples of this solutions.

Thank you in advance!

civic cryptBOT
#

Leander replied to the thread [Tag Plugin] Feedback.

You're using inconsistent formatting styles with your curly braces, sometimes on a newline, sometime on the same line. Just a nitpick tho :)

civic cryptBOT
#

Bochardi replied to the thread [Tag Plugin] Feedback.

You're using inconsistent formatting styles with your curly braces, sometimes on a newline, sometime on the same line. Just a nitpick tho :)

I see what you mean, I am still debating if i should use same line or new line? What do you prefer?

Just wanna make it so everyone can read it and understand it with no confusion, if there is a modern format style i should aim for let me know!

civic cryptBOT
#

stefvanschie replied to the thread [Tag Plugin] Feedback.

With Java, K&R style (opening brace on the same line) is generally the most commonly used. If you don't care which style you use, I'd recommend sticking with that one, since other Java programmers will be more familiar with it.

civic cryptBOT
#

Leander replied to the thread [Tag Plugin] Feedback.

Most IDEs also have a formatting button that I would hit every so often or configure it to format on save :)

civic cryptBOT
civic cryptBOT
#

Outfit8TSB replied to the thread The future of Paper - Hard fork.

besides compatibility, paperweight no longer use 1.7.7, they skip 1.8, 1.9, and it reached 2.0.0, how am i going to fork paper along with keeping git patches in api folder?
You know, applying normal diff patches has too many works for me, even drinking too many coffees wont help. o_O

civic cryptBOT
#

electronicboy replied to the thread how to use paperweight-patcher II to make git patches?.

We no longer have a git repo for the API and the -Server module, and so it's generally not possible to just have an large patch for either of those folders anymore; you could maybe use feature patches for inside of the Minecraft tree and then use per file outside of that, but, that is probably as best as you're going to get in terms of trying to retain one large patch

civic cryptBOT
#

Outfit8TSB replied to the thread how to use paperweight-patcher II to make git patches?.

Yeah, i can smell that, but applying the codes 1 by 1 file is a horrible idea by that, if i followed that it would take 100 years to apply for me.

civic cryptBOT
#

senneb started a thread called Chat Input API.

I just released a small plugin for getting text input from chat. I made it for a larger plugin I'm working on, and I thought it might also be useful for others.

An example usage (and one of the things I use it for): You want to give players a command to add a line of lore to an item. Getting the text can be done with this plugin through chat.

civic cryptBOT
#

DerexXD replied to the thread PaperMc 1.21.5.

I would like to ask if and when a new version of the PaperMc software will be released based on the latest update of Minecraft 1.21.5 so I can play with my friends connected to PS5?

See the ongoing draft PR for 1.21.5 https://github.com/PaperMC/Paper/pull/12290

This post was brought to you by derex_, derec4, derexXD, dereXD, DereC_, CORRUPT_Greninja, lordnexus123, or whatever iteration of my username we are on at this point.

#

DerexXD started a thread called Forward packets from Velocity (using forced hosts) to BungeeCord to avoid issues related to premium players?.

How can we forward packets, players, and connections from Velocity (using forced hosts) to BungeeCord to avoid issues related to premium players and the console bug associated with Online-Mode?

We have already tried using all the IP and UID Forward modes, but the issue persists where premium players cannot join, while non-premium players can join without any problem. The error displayed is: "BungeeCord Error (Server is Online Mode)."

This question was brought to you by derex_, derec4...

civic cryptBOT
#

mbaxter replied to the thread Forward packets from Velocity (using forced hosts) to BungeeCord to avoid issues related to premium players?.

The "Configuring modern forwarding for Paper" section of our docs covers what settings to enable and disable to ensure that your authenticated users can join the server, and "non-premium" players are properly blocked.
https://docs.papermc.io/velocity/player-information-forwarding#configuring-modern-forwarding-for-paper

civic cryptBOT
#

Outfit8TSB replied to the thread Announcing the end of life of Waterfall.

aw man, i wanted to use Waterfall with BungeeViaProxy so i can make gigantic hosting provider. :(

civic cryptBOT
#

oyo started a thread called how to fix found loot table element validation problem.

oyo

Even I delete the datapack the problem is still there so my server is f and i cant let my friends play on this server for now until the problem is fix.

civic cryptBOT
#

test123 started a thread called 1.21.5 release date.

I have an aternos server on paper mc and i have some bedrock users that wish they could play with us. I was wondering if there was any relase date and how much time it usually takes before a new paper udpate comes out

civic cryptBOT
#

mbaxter replied to the thread 1.21.5 release date.

Please read other threads in the forum you choose to post in, prior to making a post.

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

civic cryptBOT
#

Cabbage started a thread called Why cant i use advancedCommandRoot.

when i try to use the exmaple that the paper docs give it gives me an error that
C:\Users\Cabbage\IdeaProjects\untitled1\src\main\java\com\cabbage\testplugin\coolcommand.java:9: error: <identifier> expected
advancedCommandRoot.then(killall);
^
C:\Users\Cabbage\IdeaProjects\untitled1\src\main\java\com\cabbage\testplugin\coolcommand.java:9: error: <identifier> expected
advancedCommandRoot.then(killall);
^

#

electronicboy replied to the thread Why cant i use advancedCommandRoot.

You can’t have actual code inside of the class body, you’d want to place that inside of a method, generally a static method called register is the canonical way to separate that stuff up into classes

#

Cabbage replied to the thread Why cant i use advancedCommandRoot.

You can’t have actual code inside of the class body, you’d want to place that inside of a method, generally a static method called register is the canonical way to separate that stuff up into classes

Thank you for telling me this

#

EverPilgrim replied to the thread 1.21.5??.

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

It seems you are a "staff member"? Isn't kindness free to use? A new user asked about timing of release without being demanding, and this is how you respond? Saltiness is not required. I realize the buzz and demands made around version releases can be rude and taxing, however, this...

civic cryptBOT
#

mbaxter replied to the thread 1.21.5??.

It seems you are a "staff member"? Isn't kindness free to use? A new user asked about timing of release without being demanding, and this is how you respond? Saltiness is not required. I realize the buzz and demands made around version releases can be rude and taxing, however, this isn't the case in this instance. I'm a new user to Paper and your forum, and I wouldn't expect to be responded to like this. How 'bout make mention of a reasonable expectation of time for release but that it isn't...

#

MiniDigger replied to the thread 1.21.5??.

that is just a prewritten bot rely we have used for ages and not ones has somebody complained in the thousands of times it was used.
we will never give any indication of time, ever, since a) every update is different, so its impossible to predict based on last updates and b) people would complain even more if that estimate wasn't accurate. just wait patiently like everybody else. an announcement will be made when it is available.

civic cryptBOT
civic cryptBOT
#

mbaxter replied to the thread 1.21.5??.

Hello! You can find a snapshot of an unstable build here https://github.com/PaperMC/Paper/tree/update/1.21.5 you could use it at your own risk. DO NOT USE if you do not know what damage this unstable build may cause.

I would imagine anyone who could be using this is already aware. And anyone else shouldn't be using something so early, pre-experimental build. ;)