Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osipxd/customitems
Simple Sponge plugin for creating items with custom lore and name
https://github.com/osipxd/customitems
custom-items kotlin sponge-plugin
Last synced: 9 days ago
JSON representation
Simple Sponge plugin for creating items with custom lore and name
- Host: GitHub
- URL: https://github.com/osipxd/customitems
- Owner: osipxd
- License: mit
- Created: 2017-12-07T20:26:40.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2017-12-08T22:32:11.000Z (about 7 years ago)
- Last Synced: 2024-11-08T19:52:58.598Z (2 months ago)
- Topics: custom-items, kotlin, sponge-plugin
- Language: Kotlin
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CustomItems
Simple Sponge plugin for creating items with custom lore and name### Details
- Written on Kotlin
- Used Kotlin Build Script
- Used Commands API and Configurations API from Sponge## Usage
Plugin is very simple in usage. You just should configure and add items to
config and reload plugin. Then you free to give these items to any players.Give item to Notch: `/ci give Notch testItem` \
Give item to itself: `/ci give testItem`### Config format
```scala
testItem { // This ID will be used for giving item
// Required
name: "&6&lEpic &m&8Sword&r &4&lSWORD"
// Required. You also can use items from mods in
// format "modid:itemid"
texture: "diamond_sword"
// Optional. By default is `true`
unbreakable: false
// Durability of item or meta for blocks like wool etc.
// Optional. By default -1 (none)
meta: 4
// Optional. By default empty
lore: [
"&7Rarity: &3IMBA"
"&c+2000 Damage"
"&a+1000 Health"
"&b+100% Dodge"
"&2-1 Luck"
""
"&e&o- I've got the POWER!"
]
}```
### Commands
**Aliases:** `customitems`, `ci` \
_`()` - optional, `[]` - required_`/ci reload|r` - Reload plugin \
`/ci give (player) [item_id]` - Give customized item to user_NOTE: You can use 'Tab' to quickly select needed item id or username_
### Permissions
`ru.endlesscode.customitems.admin` - Access to all commands