0
This repository has been archived on 2022-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
slf4bukkit/src/site/markdown/devs.md
2016-03-28 23:40:53 -04:00

1.6 KiB

This program is free software: you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation, either version 3 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program. If not, see http://www.gnu.org/licenses/.

#set($h1 = '#') #set($h2 = '##') #set($h3 = '###') #set($h4 = '####') #set($h5 = '#####') #set($h6 = '######') ${project.name} for Plugin Developers

If you wish to use SLF4J in your Bukkit plugin, or if your plugin has a dependency on a library that uses SLF4J:

  • Shade SLF4Bukkit into your plugin project:
<dependency>
  <groupId>${project.groupId}</groupId>
  <artifactId>${project.artifactId}</artifactId>
  <version>${project.version}</version>
</dependency>
  • (Optional) Add your desired default configuration values to your plugin's built-in config.yml file. For more details, see the Javadocs for the BukkitPluginLoggerAdapter class.
  • (Optional) Use the SLF4J API in your code. Note that SLF4Bukkit does not support markers.