Search results

  1. S

    registering events

    There is no material that is named "zorrosword", so that check will never succeed.
  2. S

    Question Unexpected lag spikes on server 1.20.4

    Your server probably took too long to save the data. Some reasons this can happen are: Editing too many blocks at once (e.g., via WorldEdit) Having a slow disk (e.g., a HDD instead of an SSD) Using a slow file system
  3. S

    Solved Add ntb tags only to items from kit

    I'd recommend iterating over the items in the kit, adding the appropriate data to those items and then giving them to the player.
  4. S

    Question My paper Server Crash More than 2 - 3 times per day

    Saving the data was taking very long. If someone was using WorldEdit or a similar plugin, they might have edited too many blocks at once. Otherwise, you might have a slow disk, or are using a slow file system.
  5. S

    Question Installing PaperMC

    I'd recommend running a start script to see why your server can't be started. Something simple like this start.bat file should do the trick for testing. java -jar <file-name>.jar PAUSE You can then look at the output to see what is going on.
  6. S

    Advice on mapping CraftBukkit to Paper / Bukkit classes

    Your suggested workflow sounds good, yes. As for scanning the JAR, that's just an option, you can indeed also read the source code directly. As long as you can somehow find the CraftBukkit class and figure out which interface it implements, you'll be fine.
  7. S

    Advice on mapping CraftBukkit to Paper / Bukkit classes

    In general, the types you access from the API are interfaces, which are implemented by the types in CraftBukkit. Taking your example of CraftRotatable to Orientable, CraftRotatable looks as follows: public final class CraftRotatable extends org.bukkit.craftbukkit.block.data.CraftBlockData...
  8. S

    Solved (instance issues) Unable to verify if a players open inventory is custom

    You are using different instances of TestGui across your code. When registering the events you create a new TestGui instance. This will have the TestGui field as null as it was not initialized. When executing the command, you create another instance of TestGui. This second instance will have its...
  9. S

    Question AsyncPlayerChatEvent and Essentials Chat Console Spam

    This seems to be an issue with EssentialsChat. I'd recommend asking them for help.
  10. S

    Question Reoccurring 'Exception ticking world' Crash

    My best guess would be that one of your plugins is performing operations from a different thread which are not supported to be. I'd recommend testing to see which plugin is the culprit. If you still get this issue without any plugins, then this is probably a Paper issue and I'd recommend...
  11. S

    Solved Server lag and rollback every 5 min

    You seem to have quite a bit of entities, specifically in world SK in region (-2048, 0) there are over 1 800 chickens. I'd recommend reducing the amount of these.
  12. S

    Question help with blocks

    It sounds to me like your son wants to play in creative mode. In creative mode, you have unlimited resources, along with other features such as being able to fly. To set your son's gamemode to creative, you can use the following command from the console: gamemode <minecraft_name> creative, where...
  13. S

    Question Very high avg tick

    Could you provide a Timings or Spark log? That will show what is taking up the most time on your server.
  14. S

    Question plugin throwing could not pass event error

    ChatManager is throwing errors. It's probably best to contact the author of the plugin to ask for assistance.
  15. S

    Question TNT behaiving wierdly on papermc

    Since the design you mentioned relies on TNT duplication, make sure you have set allow-piston-duplication in the unsupported-settings section of the paper-global.yml file to true.
  16. S

    Question Minecraft 1.20

    Please do not post links to unofficial Minecraft APKs. Besides, the message was about Paper/Spigot, not Minecraft itself.
  17. S

    Question Understanding Tick Updates

    The amount of chunks that are random ticked around the player depends on the horizontal distance between the center of the chunk and the player's position, which must be within 128 blocks. Because it depends on the player's position, some chunks that you might expect to be ticked, might not be...
  18. S

    Question pls help, i can't connect to server.

    The image in the zip you shared is an empty file.
  19. S

    Question Velocity to Velocity

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

    Question Choose the right CPU for your survival minecraft paper server

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

    Solved Alternative to ChatColor.translateAlternateColorCodes

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

    Question World#setGameRule

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

    Question Server Crash when always on

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

    Question Server will not summon mobs and gives an error

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

    Question Censorship of words: replacing bad words with *

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

    Question Velocity spamming crazy error

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

    Question [00:35:35] [Server thread/INFO]: TEST: 0 (occurs when someone try to mine some diamonds)

    I'd recommend removing the plugins and seeing if the issue still persists. If not, then it is an issue with one of your plugins.
  28. S

    static wait

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

    Question Unable to create new world

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

    Question I'm having lots of TPS drops.

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