LordLib
LordLib
This Plugin is a Library and is required for the most Plugins by lordsill. Also every Developer can use this Library for their own Plugins.
Plugins that used LordLib
PlayerVIP (v3.0.0+)
ExtendSuite (v1.0.0+)
ActiveCode (v1.2.0+)
Features
- Easy Database Connections (MySQL and SQLite currently) and handling
- Hook into Permission and Economy Systems (also supports Vault)
- Some other Features (for example: extract Files from Jar, use Language/String YAMLs and more)
Development Builds
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Commands
/lordlib - Information about the Plugin
/lordlib enable <Plugin> - Enables a Plugin
/lordlib disable <Plugin> - Disables a Plugin
/lordlib import <data> - Import <data> to LordLibs Database.
Supported for <data>: uuid
Permissions
lordlib.use - For all Commands by LordLib
Configuration
# This MySQL Data will be used, if useGlobalData in Plugins mysql.yml is true MySQL: Host: localhost Port: 3306 Username: root Password: '' ErrorLogging: # Allows the Plugins to use the Error Logger to create error.log if there is an error thrown EnableErrorLogger: true # Allows the Plugins to auto-upload the error.log File to the Admin-Error-Page to see all error.logs (Remote Host: lordsill.de) AutoErrorReportUpload: false
ErrorLogger
LordLib supports an own ErrorLogger for Plugins. This can save some informations about activities from the Plugin, which uses this ErrorLogger.
Also it can upload the created error.log File to my website (lordsill.de). This will allows Developer to see all Errors that come with their Plugins to fix these. The AutoUpload Feature for the ErrorLogger is disabled in default. You can enable it in plugins/LordLib/config.yml and set AutoErrorReportUpload to true.
It will only upload the error.log file and no other Files. The Developer of the Plugins can only decide: what is the content of the error.log and when it will be uploaded. For these informations ask the Developer of the Plugin.
For Developers: Its recommend to upload the error.log File with every Exception/Error
JavaDoc
Maven Repository
<repository> <id>lordsill-repo</id> <url>http://lordsill.de:8081/artifactory/BukkitPlugins</url> </repository>
@zhangyishu
You can use LordLib v1.1.1 (v1.2 is for newer Minecraft Versions (1.7.8 and newer))
may I use this on 1.6.4?