#custom enchant
1 messages · Page 1 of 1 (latest)
The vanilla max is only applied in anvils
Creative mode commands/skript can just bypass it
command /customenchant :
trigger:
set {_enchanttype} to "%arg-1%" parsed as enchantment
set {_help} to "%arg-1%"
if "%{_help}%" is "sharpness":
set {_enchant} to "%arg-1% %arg-2%" parsed as enchantment type
make console execute command...
i gave the code there.
or u can find it here https://skripthub.net/docs/?id=1125
Enchant or disenchant an existing item. Enchanting at a specific level will act as if an enchanting table was used, and will apply the enchantments randomly chosen at that level. Treasure enchantments, like mending, can optionally be allowed. Note that enchanting a book at a specific level will turn it into an enchanted book, rather than a book ...
!enchant player's tool with effeciency 100
thanks guys
i know how to enchant but im dumb af and i didnt knew how prison enchant works
i just need to hide the enchant its possible with skbee right?
yes
set {_i} to <your item or players item>
#you can add: enchant the item code here
set {_i} to {_i} with item flag hide enchants
This is the only way I know of
sorry for ping. i have a problem again. do you maybe know how i can calculate the server lag in percentage? if thats possible in skript
you can get the TPS i think
then take (current TPS)/20 or the reciprocal or whatever
i got it to work with some basic math
is there a way to have 2 decimal places?
35,3% looks dirty