Recent content by stefvanschie

  1. S

    Question Why do i get this

    You can't access variables in a method from outside that method. What you can do is make the command method return a LiteralCommandNode<CommandSourceStack> and then call coolcommand.command() in your onEnable method.
  2. S

    Question [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.
  3. S

    Announcement 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...
  4. S

    Question 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.
  5. S

    Solved 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...
  6. S

    Solved 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...
  7. S

    Question Paper with Fabric mod, or a similar plugin (read desc)

    Paper only supports plugins, Forge/Fabric mods are not supported.
  8. S

    Question 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.
  9. S

    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...
  10. S

    Question Server won't fully start (Arch Linux)

    Java 23 is currently not supported. It's recommended to use Java 21 instead.
  11. S

    Question 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
  12. S

    Solved 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.
  13. S

    Question 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.
  14. S

    Question try createBlockData got java.lang.NullPointerException: null

    The end crystal in the bottom image isn't a material, it's an entity.