High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
Pokechu22 f068c5e843 MC-100524: Fix log files getting overwritten
https://bugs.mojang.com/browse/MC-100524

Log files were previously overwritten when more than 7 were created on the same day.  This is caused by Log4J's default behavior with DefaultRolloverStrategy, which defaults to a max of 7.

While a max of 1000 doesn't fully stop this problem from happening, for 1000 log files in a single day to be reached the server would have to restart faster than once every 1.5 minutes, which is unlikely to happen.  So 1000 seems like a good limit.  A higher max isn't used because when it gets higher, there are performance hits due to the way Log4J checks for the next file.
2016-06-25 20:44:50 +10:00
nms-patches MC-80966 / SPIGOT-957: Send additional lighting data 2016-06-25 20:44:12 +10:00
src MC-100524: Fix log files getting overwritten 2016-06-25 20:44:50 +10:00
.gitignore Update to Minecraft 1.8 2014-11-28 17:16:30 +11:00
applyPatches.sh Update to Minecraft 1.8.6 2015-05-25 22:04:32 +10:00
deprecation-mappings.csrg Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
LGPL.txt We're LGPL. 2011-01-02 10:58:11 +01:00
LICENCE.txt We're LGPL. 2011-01-02 10:58:11 +01:00
makePatches.sh Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
pom.xml Bump MC version 2016-06-25 14:50:20 +10:00
README.md Fix typo in README.md 2016-03-05 22:35:39 +11:00

CraftBukkit

An implementation of the Bukkit plugin API for Minecraft servers, currently maintained by SpigotMC.

Bug Reporting

The development team is very open to both bug and feature requests / suggestions. You can submit these on the JIRA Issue Tracker.

Compilation

CraftBukkit is a Java program which uses Maven 3 for compilation. To compile fresh from Git, simply perform the following steps:

  • Install Git using your preferred installation methods.
  • Download and run BuildTools

Some IDEs such as NetBeans can perform these steps for you. Any Maven capable Java IDE can be used to develop with CraftBukkit, however the current team's personal preference is to use NetBeans.

Contributing

Contributions of all sorts are welcome. To manage community contributions, we use the pull request functionality of Stash. In to gain access to Stash and create a pull request, you will first need to perform the following steps:

  • Create an account on JIRA.
  • Fill in the SpigotMC CLA and wait up to 24 hours for your Stash account to be activated. Please ensure that your username and email addresses match.
  • Log into Stash using your JIRA credentials.

Once you have performed these steps you can create a fork, push your code changes, and then submit it for review.

If you submit a PR involving both Bukkit and CraftBukkit, it's appreciated if each PR links the other. Additionally, every reference to an obfuscated field/method in NMS should be marked with // PAIL: Rename and optionally a suggested name, to make mapping creation easier. E.g.:

    entity.k.get(i).f(); // PAIL Rename pathfinders, navigateToHome 

Also, make sure to include // Craftbukkit comments to indicate modified NMS sources.