Command:
=========Swapper=========
[/swapper] -> Base command.
/swapper reload -> Reload config.
=========Set Items========= [/si|/set|/setitems] -> Base command
Default permission swapper .setitems.player: /si create <SetItemName> -> Create new set items.
/si save <SetItemName> -> Move equipped items to a set created, if set isn't found, it'll auto create a new set and save your items.
/si use <SetItemName> -> Use the set that you've created if you have equipped another set item before, the current set item will return to its set items.
/si open <SetItemName> -> Show specific set.
/si remove <SetItemName> -> Remove specific set, items that stored in the set will transfer to your inventory.
=========Auto Tool========= [Idea reference https://www.spigotmc.org/resources/auto-tool.71879/ ] [/at|/autotool] -> Base command
Default permission swapper.autotool.use: /at toggle -> Auto tool on, off
Default permission swapper.autotool.elytra :
In the air press
Shift (Sneaking) will auto equip the elytra and fly
if you have elytra xD, swap back chestplate after landing.
Coming: -Auto weapon -Player GUI -Admin GUI -Player custom settings -Vault suport -PlaceholderAPI suport
Code (YAML):
ConfigVersion
:
"1.2.0"
#############SET ITEMS############
drop_items_on_death
: false
SwapSetItemCoolDown
: 2000
#millisecond
#if set -1 unlimited
max_set_items
: 5
#############Auto Tool############
DefaultEnabled
: true
#1.1.9
OnlyCheckToolBar
: true
OnlySwitchWithToolInHand
: false
DontUseItemWithOneDurability
: false
##################################
#language #coming soon PlaceholderAPI support
Lang
:
#---Set Items
LeftHand
: §l§dLeft Hand
MainHand
: §l§dMain Hand
Helmet
: §l§9Helmet
Chestplate
: §l§9Chestplate
Leggings
: §l§9Leggings
Boots
: §l§9Boots
TakeAll
: §l§7Take
All
PrePage
: §l§cPre Page
NextPage
: §l§aNext Page
CoolDownMessage
: Ability will be ready in
{ cooldown
} millisecond
#---Message
ReloadConfig
: Reload config
Fail
: fail
Complete
: complete
ReachedLimitSetItems
: §l§cYou have reached the limit of creating set items
NotEnoughSpaceForItems
: §l§cNot enough space for item!!
SetItemsNotFound
: §l§cSet items not found!!
AutoCreateSetItems
: §aAuto create set items
Enabled
: §aenabled
Disabled
: §cdisabled
AutomaticToolSelectionIs
: AutoTool tool selection is
Spoiler: plugin.yml
Code (YAML):
name
: Swapper
main
: com.rot4tion.Swapper
version
: 1.2.0
author
: Rot4tion
api-version
: 1.16
commands :
swapper :
aliases
:
[
]
setitem :
aliases
:
[ set, si
]
autotool :
aliases
:
[ at
]
permissions
:
##Set items
swapper.setitems.player :
default
: true
swapper.setitems.admin :
default
: op
##Auto tool
swapper.autotool.use :
default
: true
##Auto Elytra
swapper.autotool.elytra :
default
: true
This is my first plugin, If you like my plugin please support me by leaving a good Review <3
If you have any bugs or ideas regarding Swapper, please contact me via Discord for fastest support xD
Discord: https://discord.gg/H2vQnKUeab