Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mc-osoc/myitemlibrary
My library ready-to-use commands in a MySQL repository for Minecraft Server
https://github.com/mc-osoc/myitemlibrary
bukkit minecraft minecraft-plugin plugin spigot spigot-plugin sql
Last synced: 7 days ago
JSON representation
My library ready-to-use commands in a MySQL repository for Minecraft Server
- Host: GitHub
- URL: https://github.com/mc-osoc/myitemlibrary
- Owner: MC-OSOC
- License: mit
- Created: 2024-07-08T06:24:22.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T03:49:07.000Z (2 months ago)
- Last Synced: 2024-11-08T09:03:47.344Z (7 days ago)
- Topics: bukkit, minecraft, minecraft-plugin, plugin, spigot, spigot-plugin, sql
- Language: Java
- Homepage:
- Size: 220 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![img-background-1.png](img-background-1.png)
[Thai Version](README_TH.md)
# MyItemLibrary
My library ready-to-use commands in a MySQL repository for Minecraft Server## Features
- Custom item libraries for each player
- GUI-based item management system
- Multi-language support (currently English and Thai)
- MySQL and SQLite database support
- RESTful API for external integrations
- DoS protection for API endpoints## Installation
1. Download the latest release of MyItemLibrary from the releases page.
2. Place the JAR file in your server's `plugins` folder.## Configuration
After the first run, the plugin will generate a `config.yml` file in the `plugins/MyItemLibrary` folder. You can customize various settings:
- Database mode (MySQL or Local SQLite)
- MySQL connection details (if using MySQL mode)
- API settings (enable/disable, host, port, API key)
- DoS protection settings
- Default language## Commands
- `/my-library` - Opens the item library GUI for the player
- `/my-library-reload` - Reloads the plugin configuration (requires `my_item_library.admin.reload` permission)## API
MyItemLibrary provides a RESTful API for external integrations. The API endpoints include:
- GET `/items/{playerName}` - Retrieve items for a specific player
- POST `/add-item` - Add an item to a player's library
- POST `/add-item-all` - Add an item to all players' libraries
- POST `/add-item-online` - Add an item to all online players' libraries
- GET `/items` - Retrieve all items in the database
- GET `/item/{itemId}` - Retrieve a specific item by ID
- DELETE `/item/{itemId}` - Delete a specific item by IDAPI requests require an API key for authentication.
For detailed information on request parameters, response formats, and examples, please refer to our [API documentation](https://github.com/MC-OSOC/Myitemlibrary/wiki/API-documentation).
## Permissions
- `my_item_library.admin.reload` - Allows use of the `/my-library-reload` command
## Support
For support, feature requests, or bug reports, please open an issue on the GitHub repository.